Commit 9717ef5ff512d2d9148b65ebb6f7d00558ece4d5
1 parent
eec4f5a4
Fix DefaultTenantProfileConfiguration model
Showing
1 changed file
with
5 additions
and
1 deletions
... | ... | @@ -49,8 +49,10 @@ export interface DefaultTenantProfileConfiguration { |
49 | 49 | maxRuleNodeExecutionsPerMessage: number; |
50 | 50 | maxEmails: number; |
51 | 51 | maxSms: number; |
52 | + maxCreatedAlarms: number; | |
52 | 53 | |
53 | 54 | defaultStorageTtlDays: number; |
55 | + alarmsTtlDays: number; | |
54 | 56 | } |
55 | 57 | |
56 | 58 | export type TenantProfileConfigurations = DefaultTenantProfileConfiguration; |
... | ... | @@ -81,7 +83,9 @@ export function createTenantProfileConfiguration(type: TenantProfileType): Tenan |
81 | 83 | maxRuleNodeExecutionsPerMessage: 0, |
82 | 84 | maxEmails: 0, |
83 | 85 | maxSms: 0, |
84 | - defaultStorageTtlDays: 0 | |
86 | + maxCreatedAlarms: 0, | |
87 | + defaultStorageTtlDays: 0, | |
88 | + alarmsTtlDays: 0 | |
85 | 89 | }; |
86 | 90 | configuration = {...defaultConfiguration, type: TenantProfileType.DEFAULT}; |
87 | 91 | break; | ... | ... |