@harnessio/react-notification-service-client 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/notification-service/src/services/index.d.ts +1 -0
- package/dist/notification-service/src/services/schemas/ResourceTypeEnum.d.ts +1 -1
- package/dist/notification-service/src/services/schemas/SloEventNotificationParamsDto.d.ts +22 -0
- package/dist/notification-service/src/services/schemas/SloEventNotificationParamsDto.js +1 -0
- package/package.json +1 -1
|
@@ -59,6 +59,7 @@ export type { NotificationResourceDto } from './schemas/NotificationResourceDto'
|
|
|
59
59
|
export type { NotificationRuleDto } from './schemas/NotificationRuleDto';
|
|
60
60
|
export type { PipelineEventNotificationParamsDto } from './schemas/PipelineEventNotificationParamsDto';
|
|
61
61
|
export type { ResourceTypeEnum } from './schemas/ResourceTypeEnum';
|
|
62
|
+
export type { SloEventNotificationParamsDto } from './schemas/SloEventNotificationParamsDto';
|
|
62
63
|
export type { Status } from './schemas/Status';
|
|
63
64
|
export type { UserGroupDto } from './schemas/UserGroupDto';
|
|
64
65
|
export type { ValidateIdentifierDto } from './schemas/ValidateIdentifierDto';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ResourceTypeEnum = 'CHAOS_EXPERIMENT' | 'DELEGATE' | 'PIPELINE';
|
|
1
|
+
export type ResourceTypeEnum = 'CHAOS_EXPERIMENT' | 'DELEGATE' | 'PIPELINE' | 'SERVICE_LEVEL_OBJECTIVE';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { NotificationEventParamsDto } from '../schemas/NotificationEventParamsDto';
|
|
2
|
+
export interface SloEventNotificationParamsDto extends NotificationEventParamsDto {
|
|
3
|
+
error_budget_burn_rate_lookback_duration?: number;
|
|
4
|
+
/**
|
|
5
|
+
* @format float
|
|
6
|
+
*/
|
|
7
|
+
error_budget_burn_rate_percentage?: number;
|
|
8
|
+
/**
|
|
9
|
+
* The remaining error budget in minutes for the SLO.
|
|
10
|
+
*/
|
|
11
|
+
error_budget_remaining_minutes?: number;
|
|
12
|
+
/**
|
|
13
|
+
* The percentage of error budget remaining for the SLO.
|
|
14
|
+
* @format float
|
|
15
|
+
*/
|
|
16
|
+
error_budget_remaining_percentage?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Deprecated, Use notificationEventConfig.entity_identifiers instead
|
|
19
|
+
* @deprecated
|
|
20
|
+
*/
|
|
21
|
+
slo_identifiers?: string[];
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED