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,8 +49,10 @@ export interface DefaultTenantProfileConfiguration { | ||
49 | maxRuleNodeExecutionsPerMessage: number; | 49 | maxRuleNodeExecutionsPerMessage: number; |
50 | maxEmails: number; | 50 | maxEmails: number; |
51 | maxSms: number; | 51 | maxSms: number; |
52 | + maxCreatedAlarms: number; | ||
52 | 53 | ||
53 | defaultStorageTtlDays: number; | 54 | defaultStorageTtlDays: number; |
55 | + alarmsTtlDays: number; | ||
54 | } | 56 | } |
55 | 57 | ||
56 | export type TenantProfileConfigurations = DefaultTenantProfileConfiguration; | 58 | export type TenantProfileConfigurations = DefaultTenantProfileConfiguration; |
@@ -81,7 +83,9 @@ export function createTenantProfileConfiguration(type: TenantProfileType): Tenan | @@ -81,7 +83,9 @@ export function createTenantProfileConfiguration(type: TenantProfileType): Tenan | ||
81 | maxRuleNodeExecutionsPerMessage: 0, | 83 | maxRuleNodeExecutionsPerMessage: 0, |
82 | maxEmails: 0, | 84 | maxEmails: 0, |
83 | maxSms: 0, | 85 | maxSms: 0, |
84 | - defaultStorageTtlDays: 0 | 86 | + maxCreatedAlarms: 0, |
87 | + defaultStorageTtlDays: 0, | ||
88 | + alarmsTtlDays: 0 | ||
85 | }; | 89 | }; |
86 | configuration = {...defaultConfiguration, type: TenantProfileType.DEFAULT}; | 90 | configuration = {...defaultConfiguration, type: TenantProfileType.DEFAULT}; |
87 | break; | 91 | break; |