@tolinax/ayoune-interfaces 2024.4.36 → 2024.4.37
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/interfaces/IBusinessEvent.d.ts +2 -1
- package/interfaces/IEnvironment.d.ts +2 -2
- package/interfaces/IEvent.d.ts +6 -0
- package/interfaces/IFlag.d.ts +2 -2
- package/interfaces/IK8Deployment.d.ts +2 -1
- package/interfaces/ILabels.d.ts +3 -0
- package/interfaces/ILabels.js +2 -0
- package/interfaces/IProject.d.ts +2 -1
- package/interfaces/IPrometheusConfig.d.ts +2 -2
- package/interfaces/IState.d.ts +5 -1
- package/interfaces/IaYOUneMeta.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
import { ILabels } from "./ILabels";
|
|
2
3
|
export interface IBusinessEvent extends IDefaultFields {
|
|
3
4
|
_customerID: ObjectId;
|
|
4
5
|
_clientID?: ObjectId[];
|
|
@@ -20,5 +21,5 @@ export interface IBusinessEvent extends IDefaultFields {
|
|
|
20
21
|
to?: Date;
|
|
21
22
|
group?: string;
|
|
22
23
|
prefix?: string;
|
|
23
|
-
labels?:
|
|
24
|
+
labels?: ILabels;
|
|
24
25
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
-
import {
|
|
2
|
+
import { ILabels } from "./ILabels";
|
|
3
3
|
export interface IEnvironment extends IDefaultFields {
|
|
4
4
|
_customerID: ObjectId;
|
|
5
5
|
name: string;
|
|
6
6
|
type: "production" | "stage" | "development";
|
|
7
|
-
labels
|
|
7
|
+
labels?: ILabels;
|
|
8
8
|
}
|
package/interfaces/IEvent.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
import { ILabels } from "./ILabels";
|
|
2
3
|
export interface IEvent extends IDefaultFields {
|
|
3
4
|
_customerID: ObjectId;
|
|
4
5
|
_state?: ObjectId;
|
|
@@ -16,6 +17,10 @@ export interface IEvent extends IDefaultFields {
|
|
|
16
17
|
modelName?: string;
|
|
17
18
|
domain?: string;
|
|
18
19
|
origin?: string;
|
|
20
|
+
prefix: string;
|
|
21
|
+
postfix: string;
|
|
22
|
+
key: string;
|
|
23
|
+
group: string;
|
|
19
24
|
category?: string;
|
|
20
25
|
action?: string;
|
|
21
26
|
label?: string;
|
|
@@ -23,4 +28,5 @@ export interface IEvent extends IDefaultFields {
|
|
|
23
28
|
evt_data?: any;
|
|
24
29
|
body?: any;
|
|
25
30
|
ts?: Date;
|
|
31
|
+
labels?: ILabels;
|
|
26
32
|
}
|
package/interfaces/IFlag.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
-
import { ILabel } from "./ILabel";
|
|
3
2
|
import { IVariant } from "./IVariant";
|
|
4
3
|
import { IRolloutEnvironment } from "./IRolloutEnvironment";
|
|
4
|
+
import { ILabels } from "./ILabels";
|
|
5
5
|
export interface IFlag extends IDefaultFields {
|
|
6
6
|
_customerID: ObjectId;
|
|
7
7
|
name: string;
|
|
@@ -12,7 +12,7 @@ export interface IFlag extends IDefaultFields {
|
|
|
12
12
|
impressionData: boolean;
|
|
13
13
|
stale: boolean;
|
|
14
14
|
archived: boolean;
|
|
15
|
-
labels
|
|
15
|
+
labels?: ILabels;
|
|
16
16
|
value: string;
|
|
17
17
|
lastSeenAt: Date;
|
|
18
18
|
children: IFlag[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
import { ILabels } from "./ILabels";
|
|
2
3
|
export interface AgendaConfig {
|
|
3
4
|
name?: string;
|
|
4
5
|
processEvery?: string;
|
|
@@ -63,7 +64,7 @@ export interface IK8Deployment extends IDefaultFields {
|
|
|
63
64
|
name?: string;
|
|
64
65
|
namespace?: string;
|
|
65
66
|
resourceVersion?: string;
|
|
66
|
-
labels?:
|
|
67
|
+
labels?: ILabels;
|
|
67
68
|
minReplicas?: number;
|
|
68
69
|
maxReplicas?: number;
|
|
69
70
|
uid?: string;
|
package/interfaces/IProject.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { IComment } from "./IComment";
|
|
|
4
4
|
import { IaYOUneContract } from "./IaYOUneContract";
|
|
5
5
|
import { IShare } from "./IShare";
|
|
6
6
|
import { IRepository } from "./IRepository";
|
|
7
|
+
import { ILabels } from "./ILabels";
|
|
7
8
|
export interface IProject extends IDefaultFields {
|
|
8
9
|
_customerID: ObjectId;
|
|
9
10
|
_clientID: ObjectId[];
|
|
@@ -180,5 +181,5 @@ export interface IProject extends IDefaultFields {
|
|
|
180
181
|
comments: IComment[];
|
|
181
182
|
group?: string;
|
|
182
183
|
prefix?: string;
|
|
183
|
-
labels?:
|
|
184
|
+
labels?: ILabels;
|
|
184
185
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
-
import {
|
|
2
|
+
import { ILabels } from "./ILabels";
|
|
3
3
|
interface ScrapeConfig {
|
|
4
4
|
job_name: string;
|
|
5
5
|
metrics_path?: string;
|
|
@@ -200,6 +200,6 @@ export interface IPrometheusConfig extends IDefaultFields {
|
|
|
200
200
|
k8Deployments: K8DeploymentsOptions;
|
|
201
201
|
};
|
|
202
202
|
prom: PromConfig;
|
|
203
|
-
labels
|
|
203
|
+
labels?: ILabels;
|
|
204
204
|
}
|
|
205
205
|
export {};
|
package/interfaces/IState.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
import { ILabels } from "./ILabels";
|
|
2
3
|
export interface IState extends IDefaultFields {
|
|
3
4
|
_customerID: ObjectId;
|
|
4
5
|
_lastEvent?: ObjectId;
|
|
@@ -9,6 +10,7 @@ export interface IState extends IDefaultFields {
|
|
|
9
10
|
isSensor: boolean;
|
|
10
11
|
isSwitch: boolean;
|
|
11
12
|
isLight: boolean;
|
|
13
|
+
isOverTime: boolean;
|
|
12
14
|
availableForWallboard: boolean;
|
|
13
15
|
showOnWallboard: boolean;
|
|
14
16
|
appName?: string;
|
|
@@ -16,8 +18,10 @@ export interface IState extends IDefaultFields {
|
|
|
16
18
|
environment: string;
|
|
17
19
|
domain: string;
|
|
18
20
|
prefix: string;
|
|
21
|
+
postfix: string;
|
|
19
22
|
key: string;
|
|
20
23
|
group: string;
|
|
24
|
+
timeUnit: string;
|
|
21
25
|
entityId?: string;
|
|
22
26
|
friendlyName?: string;
|
|
23
27
|
additionalData?: string;
|
|
@@ -30,5 +34,5 @@ export interface IState extends IDefaultFields {
|
|
|
30
34
|
lastChanged?: Date;
|
|
31
35
|
attributes?: any;
|
|
32
36
|
context?: any;
|
|
33
|
-
labels?:
|
|
37
|
+
labels?: ILabels;
|
|
34
38
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
import { ILabels } from "./ILabels";
|
|
2
3
|
export interface IaYOUneMeta extends IDefaultFields {
|
|
3
|
-
labels?:
|
|
4
|
+
labels?: ILabels;
|
|
4
5
|
prefix?: string;
|
|
6
|
+
postfix?: string;
|
|
5
7
|
key?: string;
|
|
6
8
|
group?: string;
|
|
7
9
|
note?: string;
|