Fix DefaultTenantProfileConfiguration model
This commit is contained in:
parent
eec4f5a403
commit
9717ef5ff5
@ -49,8 +49,10 @@ export interface DefaultTenantProfileConfiguration {
|
|||||||
maxRuleNodeExecutionsPerMessage: number;
|
maxRuleNodeExecutionsPerMessage: number;
|
||||||
maxEmails: number;
|
maxEmails: number;
|
||||||
maxSms: number;
|
maxSms: number;
|
||||||
|
maxCreatedAlarms: number;
|
||||||
|
|
||||||
defaultStorageTtlDays: number;
|
defaultStorageTtlDays: number;
|
||||||
|
alarmsTtlDays: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type TenantProfileConfigurations = DefaultTenantProfileConfiguration;
|
export type TenantProfileConfigurations = DefaultTenantProfileConfiguration;
|
||||||
@ -81,7 +83,9 @@ export function createTenantProfileConfiguration(type: TenantProfileType): Tenan
|
|||||||
maxRuleNodeExecutionsPerMessage: 0,
|
maxRuleNodeExecutionsPerMessage: 0,
|
||||||
maxEmails: 0,
|
maxEmails: 0,
|
||||||
maxSms: 0,
|
maxSms: 0,
|
||||||
defaultStorageTtlDays: 0
|
maxCreatedAlarms: 0,
|
||||||
|
defaultStorageTtlDays: 0,
|
||||||
|
alarmsTtlDays: 0
|
||||||
};
|
};
|
||||||
configuration = {...defaultConfiguration, type: TenantProfileType.DEFAULT};
|
configuration = {...defaultConfiguration, type: TenantProfileType.DEFAULT};
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user