@apollo-deploy/schemas 1.3.0 → 1.3.2
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/definitions/audit-log/domain.schema.d.ts +3 -3
- package/dist/definitions/audit-log/request.schema.d.ts +6 -6
- package/dist/definitions/billing/request.schema.d.ts +1 -0
- package/dist/definitions/billing/request.schema.d.ts.map +1 -1
- package/dist/definitions/billing/request.schema.js +1 -3
- package/dist/definitions/billing/request.schema.js.map +1 -1
- package/dist/definitions/common.d.ts +12 -0
- package/dist/definitions/common.d.ts.map +1 -1
- package/dist/definitions/common.js +10 -0
- package/dist/definitions/common.js.map +1 -1
- package/dist/definitions/index.d.ts +2 -2
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/index.js +2 -2
- package/dist/definitions/index.js.map +1 -1
- package/dist/definitions/integrations/response.schema.d.ts +3 -3
- package/dist/definitions/releases/domain.schema.d.ts +5 -5
- package/dist/definitions/releases/request.schema.d.ts +1 -1
- package/dist/definitions/releases/response.schema.d.ts +4 -4
- package/dist/definitions/signals/domain.schema.d.ts +27 -27
- package/dist/definitions/signals/index.d.ts +1 -1
- package/dist/definitions/signals/index.d.ts.map +1 -1
- package/dist/definitions/signals/index.js +1 -1
- package/dist/definitions/signals/index.js.map +1 -1
- package/dist/definitions/signals/request.schema.d.ts +11 -7
- package/dist/definitions/signals/request.schema.d.ts.map +1 -1
- package/dist/definitions/signals/request.schema.js +14 -6
- package/dist/definitions/signals/request.schema.js.map +1 -1
- package/dist/definitions/signals/response.schema.d.ts +49 -49
- package/dist/definitions/signals/response.schema.js +4 -4
- package/dist/definitions/signals/response.schema.js.map +1 -1
- package/package.json +1 -1
|
@@ -18,32 +18,32 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
18
18
|
start: z.ZodString;
|
|
19
19
|
end: z.ZodString;
|
|
20
20
|
granularity: z.ZodEnum<{
|
|
21
|
-
"1m": "1m";
|
|
22
21
|
"5m": "5m";
|
|
23
22
|
"15m": "15m";
|
|
24
23
|
"1h": "1h";
|
|
25
24
|
"6h": "6h";
|
|
26
25
|
"1d": "1d";
|
|
26
|
+
"1m": "1m";
|
|
27
27
|
}>;
|
|
28
28
|
}, z.core.$strip>;
|
|
29
29
|
healthScore: z.ZodNumber;
|
|
30
30
|
status: z.ZodEnum<{
|
|
31
|
-
critical: "critical";
|
|
32
31
|
healthy: "healthy";
|
|
33
32
|
degraded: "degraded";
|
|
33
|
+
critical: "critical";
|
|
34
34
|
}>;
|
|
35
35
|
signals: z.ZodArray<z.ZodObject<{
|
|
36
36
|
type: z.ZodEnum<{
|
|
37
|
-
errors: "errors";
|
|
38
|
-
logs: "logs";
|
|
39
37
|
stability: "stability";
|
|
40
38
|
performance: "performance";
|
|
39
|
+
errors: "errors";
|
|
41
40
|
usage: "usage";
|
|
42
41
|
infra: "infra";
|
|
42
|
+
logs: "logs";
|
|
43
43
|
}>;
|
|
44
44
|
status: z.ZodEnum<{
|
|
45
|
-
critical: "critical";
|
|
46
45
|
healthy: "healthy";
|
|
46
|
+
critical: "critical";
|
|
47
47
|
warning: "warning";
|
|
48
48
|
}>;
|
|
49
49
|
score: z.ZodNumber;
|
|
@@ -52,11 +52,11 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
52
52
|
label: z.ZodString;
|
|
53
53
|
value: z.ZodNumber;
|
|
54
54
|
unit: z.ZodEnum<{
|
|
55
|
+
score: "score";
|
|
55
56
|
"%": "%";
|
|
56
57
|
ms: "ms";
|
|
57
58
|
count: "count";
|
|
58
59
|
rps: "rps";
|
|
59
|
-
score: "score";
|
|
60
60
|
}>;
|
|
61
61
|
baseline: z.ZodObject<{
|
|
62
62
|
value: z.ZodNumber;
|
|
@@ -86,10 +86,10 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
86
86
|
}, z.core.$strip>>>;
|
|
87
87
|
source: z.ZodEnum<{
|
|
88
88
|
custom: "custom";
|
|
89
|
+
logs: "logs";
|
|
89
90
|
sentry: "sentry";
|
|
90
91
|
datadog: "datadog";
|
|
91
92
|
newrelic: "newrelic";
|
|
92
|
-
logs: "logs";
|
|
93
93
|
}>;
|
|
94
94
|
}, z.core.$strip>>;
|
|
95
95
|
}, z.core.$strip>>;
|
|
@@ -165,10 +165,10 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
165
165
|
}, z.core.$strip>>>;
|
|
166
166
|
source: z.ZodEnum<{
|
|
167
167
|
custom: "custom";
|
|
168
|
+
logs: "logs";
|
|
168
169
|
sentry: "sentry";
|
|
169
170
|
datadog: "datadog";
|
|
170
171
|
newrelic: "newrelic";
|
|
171
|
-
logs: "logs";
|
|
172
172
|
}>;
|
|
173
173
|
}, z.core.$strip>>;
|
|
174
174
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -189,17 +189,17 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
189
189
|
rolloutContext: z.ZodObject<{
|
|
190
190
|
currentPercentage: z.ZodNumber;
|
|
191
191
|
strategy: z.ZodEnum<{
|
|
192
|
-
blue_green: "blue_green";
|
|
193
|
-
rolling: "rolling";
|
|
194
192
|
canary: "canary";
|
|
193
|
+
rolling: "rolling";
|
|
194
|
+
blue_green: "blue_green";
|
|
195
195
|
}>;
|
|
196
196
|
events: z.ZodArray<z.ZodObject<{
|
|
197
197
|
id: z.ZodString;
|
|
198
198
|
type: z.ZodEnum<{
|
|
199
|
-
rollback: "rollback";
|
|
200
199
|
percentage_change: "percentage_change";
|
|
201
200
|
stage_transition: "stage_transition";
|
|
202
201
|
pause: "pause";
|
|
202
|
+
rollback: "rollback";
|
|
203
203
|
}>;
|
|
204
204
|
timestamp: z.ZodString;
|
|
205
205
|
details: z.ZodObject<{
|
|
@@ -215,10 +215,10 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
215
215
|
sampleSize: z.ZodNumber;
|
|
216
216
|
dataSources: z.ZodArray<z.ZodEnum<{
|
|
217
217
|
custom: "custom";
|
|
218
|
+
logs: "logs";
|
|
218
219
|
sentry: "sentry";
|
|
219
220
|
datadog: "datadog";
|
|
220
221
|
newrelic: "newrelic";
|
|
221
|
-
logs: "logs";
|
|
222
222
|
}>>;
|
|
223
223
|
computedAt: z.ZodString;
|
|
224
224
|
staleAfter: z.ZodString;
|
|
@@ -244,32 +244,32 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
244
244
|
start: z.ZodString;
|
|
245
245
|
end: z.ZodString;
|
|
246
246
|
granularity: z.ZodEnum<{
|
|
247
|
-
"1m": "1m";
|
|
248
247
|
"5m": "5m";
|
|
249
248
|
"15m": "15m";
|
|
250
249
|
"1h": "1h";
|
|
251
250
|
"6h": "6h";
|
|
252
251
|
"1d": "1d";
|
|
252
|
+
"1m": "1m";
|
|
253
253
|
}>;
|
|
254
254
|
}, z.core.$strip>;
|
|
255
255
|
healthScore: z.ZodNumber;
|
|
256
256
|
status: z.ZodEnum<{
|
|
257
|
-
critical: "critical";
|
|
258
257
|
healthy: "healthy";
|
|
259
258
|
degraded: "degraded";
|
|
259
|
+
critical: "critical";
|
|
260
260
|
}>;
|
|
261
261
|
signals: z.ZodArray<z.ZodObject<{
|
|
262
262
|
type: z.ZodEnum<{
|
|
263
|
-
errors: "errors";
|
|
264
|
-
logs: "logs";
|
|
265
263
|
stability: "stability";
|
|
266
264
|
performance: "performance";
|
|
265
|
+
errors: "errors";
|
|
267
266
|
usage: "usage";
|
|
268
267
|
infra: "infra";
|
|
268
|
+
logs: "logs";
|
|
269
269
|
}>;
|
|
270
270
|
status: z.ZodEnum<{
|
|
271
|
-
critical: "critical";
|
|
272
271
|
healthy: "healthy";
|
|
272
|
+
critical: "critical";
|
|
273
273
|
warning: "warning";
|
|
274
274
|
}>;
|
|
275
275
|
score: z.ZodNumber;
|
|
@@ -278,11 +278,11 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
278
278
|
label: z.ZodString;
|
|
279
279
|
value: z.ZodNumber;
|
|
280
280
|
unit: z.ZodEnum<{
|
|
281
|
+
score: "score";
|
|
281
282
|
"%": "%";
|
|
282
283
|
ms: "ms";
|
|
283
284
|
count: "count";
|
|
284
285
|
rps: "rps";
|
|
285
|
-
score: "score";
|
|
286
286
|
}>;
|
|
287
287
|
baseline: z.ZodObject<{
|
|
288
288
|
value: z.ZodNumber;
|
|
@@ -312,10 +312,10 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
312
312
|
}, z.core.$strip>>>;
|
|
313
313
|
source: z.ZodEnum<{
|
|
314
314
|
custom: "custom";
|
|
315
|
+
logs: "logs";
|
|
315
316
|
sentry: "sentry";
|
|
316
317
|
datadog: "datadog";
|
|
317
318
|
newrelic: "newrelic";
|
|
318
|
-
logs: "logs";
|
|
319
319
|
}>;
|
|
320
320
|
}, z.core.$strip>>;
|
|
321
321
|
}, z.core.$strip>>;
|
|
@@ -391,10 +391,10 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
391
391
|
}, z.core.$strip>>>;
|
|
392
392
|
source: z.ZodEnum<{
|
|
393
393
|
custom: "custom";
|
|
394
|
+
logs: "logs";
|
|
394
395
|
sentry: "sentry";
|
|
395
396
|
datadog: "datadog";
|
|
396
397
|
newrelic: "newrelic";
|
|
397
|
-
logs: "logs";
|
|
398
398
|
}>;
|
|
399
399
|
}, z.core.$strip>>;
|
|
400
400
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -415,17 +415,17 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
415
415
|
rolloutContext: z.ZodObject<{
|
|
416
416
|
currentPercentage: z.ZodNumber;
|
|
417
417
|
strategy: z.ZodEnum<{
|
|
418
|
-
blue_green: "blue_green";
|
|
419
|
-
rolling: "rolling";
|
|
420
418
|
canary: "canary";
|
|
419
|
+
rolling: "rolling";
|
|
420
|
+
blue_green: "blue_green";
|
|
421
421
|
}>;
|
|
422
422
|
events: z.ZodArray<z.ZodObject<{
|
|
423
423
|
id: z.ZodString;
|
|
424
424
|
type: z.ZodEnum<{
|
|
425
|
-
rollback: "rollback";
|
|
426
425
|
percentage_change: "percentage_change";
|
|
427
426
|
stage_transition: "stage_transition";
|
|
428
427
|
pause: "pause";
|
|
428
|
+
rollback: "rollback";
|
|
429
429
|
}>;
|
|
430
430
|
timestamp: z.ZodString;
|
|
431
431
|
details: z.ZodObject<{
|
|
@@ -441,10 +441,10 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
441
441
|
sampleSize: z.ZodNumber;
|
|
442
442
|
dataSources: z.ZodArray<z.ZodEnum<{
|
|
443
443
|
custom: "custom";
|
|
444
|
+
logs: "logs";
|
|
444
445
|
sentry: "sentry";
|
|
445
446
|
datadog: "datadog";
|
|
446
447
|
newrelic: "newrelic";
|
|
447
|
-
logs: "logs";
|
|
448
448
|
}>>;
|
|
449
449
|
computedAt: z.ZodString;
|
|
450
450
|
staleAfter: z.ZodString;
|
|
@@ -477,32 +477,32 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
477
477
|
start: z.ZodString;
|
|
478
478
|
end: z.ZodString;
|
|
479
479
|
granularity: z.ZodEnum<{
|
|
480
|
-
"1m": "1m";
|
|
481
480
|
"5m": "5m";
|
|
482
481
|
"15m": "15m";
|
|
483
482
|
"1h": "1h";
|
|
484
483
|
"6h": "6h";
|
|
485
484
|
"1d": "1d";
|
|
485
|
+
"1m": "1m";
|
|
486
486
|
}>;
|
|
487
487
|
}, z.core.$strip>;
|
|
488
488
|
healthScore: z.ZodNumber;
|
|
489
489
|
status: z.ZodEnum<{
|
|
490
|
-
critical: "critical";
|
|
491
490
|
healthy: "healthy";
|
|
492
491
|
degraded: "degraded";
|
|
492
|
+
critical: "critical";
|
|
493
493
|
}>;
|
|
494
494
|
signals: z.ZodArray<z.ZodObject<{
|
|
495
495
|
type: z.ZodEnum<{
|
|
496
|
-
errors: "errors";
|
|
497
|
-
logs: "logs";
|
|
498
496
|
stability: "stability";
|
|
499
497
|
performance: "performance";
|
|
498
|
+
errors: "errors";
|
|
500
499
|
usage: "usage";
|
|
501
500
|
infra: "infra";
|
|
501
|
+
logs: "logs";
|
|
502
502
|
}>;
|
|
503
503
|
status: z.ZodEnum<{
|
|
504
|
-
critical: "critical";
|
|
505
504
|
healthy: "healthy";
|
|
505
|
+
critical: "critical";
|
|
506
506
|
warning: "warning";
|
|
507
507
|
}>;
|
|
508
508
|
score: z.ZodNumber;
|
|
@@ -511,11 +511,11 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
511
511
|
label: z.ZodString;
|
|
512
512
|
value: z.ZodNumber;
|
|
513
513
|
unit: z.ZodEnum<{
|
|
514
|
+
score: "score";
|
|
514
515
|
"%": "%";
|
|
515
516
|
ms: "ms";
|
|
516
517
|
count: "count";
|
|
517
518
|
rps: "rps";
|
|
518
|
-
score: "score";
|
|
519
519
|
}>;
|
|
520
520
|
baseline: z.ZodObject<{
|
|
521
521
|
value: z.ZodNumber;
|
|
@@ -545,10 +545,10 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
545
545
|
}, z.core.$strip>>>;
|
|
546
546
|
source: z.ZodEnum<{
|
|
547
547
|
custom: "custom";
|
|
548
|
+
logs: "logs";
|
|
548
549
|
sentry: "sentry";
|
|
549
550
|
datadog: "datadog";
|
|
550
551
|
newrelic: "newrelic";
|
|
551
|
-
logs: "logs";
|
|
552
552
|
}>;
|
|
553
553
|
}, z.core.$strip>>;
|
|
554
554
|
}, z.core.$strip>>;
|
|
@@ -624,10 +624,10 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
624
624
|
}, z.core.$strip>>>;
|
|
625
625
|
source: z.ZodEnum<{
|
|
626
626
|
custom: "custom";
|
|
627
|
+
logs: "logs";
|
|
627
628
|
sentry: "sentry";
|
|
628
629
|
datadog: "datadog";
|
|
629
630
|
newrelic: "newrelic";
|
|
630
|
-
logs: "logs";
|
|
631
631
|
}>;
|
|
632
632
|
}, z.core.$strip>>;
|
|
633
633
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -648,17 +648,17 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
648
648
|
rolloutContext: z.ZodObject<{
|
|
649
649
|
currentPercentage: z.ZodNumber;
|
|
650
650
|
strategy: z.ZodEnum<{
|
|
651
|
-
blue_green: "blue_green";
|
|
652
|
-
rolling: "rolling";
|
|
653
651
|
canary: "canary";
|
|
652
|
+
rolling: "rolling";
|
|
653
|
+
blue_green: "blue_green";
|
|
654
654
|
}>;
|
|
655
655
|
events: z.ZodArray<z.ZodObject<{
|
|
656
656
|
id: z.ZodString;
|
|
657
657
|
type: z.ZodEnum<{
|
|
658
|
-
rollback: "rollback";
|
|
659
658
|
percentage_change: "percentage_change";
|
|
660
659
|
stage_transition: "stage_transition";
|
|
661
660
|
pause: "pause";
|
|
661
|
+
rollback: "rollback";
|
|
662
662
|
}>;
|
|
663
663
|
timestamp: z.ZodString;
|
|
664
664
|
details: z.ZodObject<{
|
|
@@ -674,10 +674,10 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
674
674
|
sampleSize: z.ZodNumber;
|
|
675
675
|
dataSources: z.ZodArray<z.ZodEnum<{
|
|
676
676
|
custom: "custom";
|
|
677
|
+
logs: "logs";
|
|
677
678
|
sentry: "sentry";
|
|
678
679
|
datadog: "datadog";
|
|
679
680
|
newrelic: "newrelic";
|
|
680
|
-
logs: "logs";
|
|
681
681
|
}>>;
|
|
682
682
|
computedAt: z.ZodString;
|
|
683
683
|
staleAfter: z.ZodString;
|
|
@@ -702,32 +702,32 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
702
702
|
start: z.ZodString;
|
|
703
703
|
end: z.ZodString;
|
|
704
704
|
granularity: z.ZodEnum<{
|
|
705
|
-
"1m": "1m";
|
|
706
705
|
"5m": "5m";
|
|
707
706
|
"15m": "15m";
|
|
708
707
|
"1h": "1h";
|
|
709
708
|
"6h": "6h";
|
|
710
709
|
"1d": "1d";
|
|
710
|
+
"1m": "1m";
|
|
711
711
|
}>;
|
|
712
712
|
}, z.core.$strip>;
|
|
713
713
|
healthScore: z.ZodNumber;
|
|
714
714
|
status: z.ZodEnum<{
|
|
715
|
-
critical: "critical";
|
|
716
715
|
healthy: "healthy";
|
|
717
716
|
degraded: "degraded";
|
|
717
|
+
critical: "critical";
|
|
718
718
|
}>;
|
|
719
719
|
signals: z.ZodArray<z.ZodObject<{
|
|
720
720
|
type: z.ZodEnum<{
|
|
721
|
-
errors: "errors";
|
|
722
|
-
logs: "logs";
|
|
723
721
|
stability: "stability";
|
|
724
722
|
performance: "performance";
|
|
723
|
+
errors: "errors";
|
|
725
724
|
usage: "usage";
|
|
726
725
|
infra: "infra";
|
|
726
|
+
logs: "logs";
|
|
727
727
|
}>;
|
|
728
728
|
status: z.ZodEnum<{
|
|
729
|
-
critical: "critical";
|
|
730
729
|
healthy: "healthy";
|
|
730
|
+
critical: "critical";
|
|
731
731
|
warning: "warning";
|
|
732
732
|
}>;
|
|
733
733
|
score: z.ZodNumber;
|
|
@@ -736,11 +736,11 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
736
736
|
label: z.ZodString;
|
|
737
737
|
value: z.ZodNumber;
|
|
738
738
|
unit: z.ZodEnum<{
|
|
739
|
+
score: "score";
|
|
739
740
|
"%": "%";
|
|
740
741
|
ms: "ms";
|
|
741
742
|
count: "count";
|
|
742
743
|
rps: "rps";
|
|
743
|
-
score: "score";
|
|
744
744
|
}>;
|
|
745
745
|
baseline: z.ZodObject<{
|
|
746
746
|
value: z.ZodNumber;
|
|
@@ -770,10 +770,10 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
770
770
|
}, z.core.$strip>>>;
|
|
771
771
|
source: z.ZodEnum<{
|
|
772
772
|
custom: "custom";
|
|
773
|
+
logs: "logs";
|
|
773
774
|
sentry: "sentry";
|
|
774
775
|
datadog: "datadog";
|
|
775
776
|
newrelic: "newrelic";
|
|
776
|
-
logs: "logs";
|
|
777
777
|
}>;
|
|
778
778
|
}, z.core.$strip>>;
|
|
779
779
|
}, z.core.$strip>>;
|
|
@@ -849,10 +849,10 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
849
849
|
}, z.core.$strip>>>;
|
|
850
850
|
source: z.ZodEnum<{
|
|
851
851
|
custom: "custom";
|
|
852
|
+
logs: "logs";
|
|
852
853
|
sentry: "sentry";
|
|
853
854
|
datadog: "datadog";
|
|
854
855
|
newrelic: "newrelic";
|
|
855
|
-
logs: "logs";
|
|
856
856
|
}>;
|
|
857
857
|
}, z.core.$strip>>;
|
|
858
858
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -873,17 +873,17 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
873
873
|
rolloutContext: z.ZodObject<{
|
|
874
874
|
currentPercentage: z.ZodNumber;
|
|
875
875
|
strategy: z.ZodEnum<{
|
|
876
|
-
blue_green: "blue_green";
|
|
877
|
-
rolling: "rolling";
|
|
878
876
|
canary: "canary";
|
|
877
|
+
rolling: "rolling";
|
|
878
|
+
blue_green: "blue_green";
|
|
879
879
|
}>;
|
|
880
880
|
events: z.ZodArray<z.ZodObject<{
|
|
881
881
|
id: z.ZodString;
|
|
882
882
|
type: z.ZodEnum<{
|
|
883
|
-
rollback: "rollback";
|
|
884
883
|
percentage_change: "percentage_change";
|
|
885
884
|
stage_transition: "stage_transition";
|
|
886
885
|
pause: "pause";
|
|
886
|
+
rollback: "rollback";
|
|
887
887
|
}>;
|
|
888
888
|
timestamp: z.ZodString;
|
|
889
889
|
details: z.ZodObject<{
|
|
@@ -899,10 +899,10 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
899
899
|
sampleSize: z.ZodNumber;
|
|
900
900
|
dataSources: z.ZodArray<z.ZodEnum<{
|
|
901
901
|
custom: "custom";
|
|
902
|
+
logs: "logs";
|
|
902
903
|
sentry: "sentry";
|
|
903
904
|
datadog: "datadog";
|
|
904
905
|
newrelic: "newrelic";
|
|
905
|
-
logs: "logs";
|
|
906
906
|
}>>;
|
|
907
907
|
computedAt: z.ZodString;
|
|
908
908
|
staleAfter: z.ZodString;
|
|
@@ -1056,9 +1056,9 @@ export declare const SignalUpdateEventSchema: z.ZodObject<{
|
|
|
1056
1056
|
releaseId: z.ZodString;
|
|
1057
1057
|
healthScore: z.ZodNumber;
|
|
1058
1058
|
status: z.ZodEnum<{
|
|
1059
|
-
critical: "critical";
|
|
1060
1059
|
healthy: "healthy";
|
|
1061
1060
|
degraded: "degraded";
|
|
1061
|
+
critical: "critical";
|
|
1062
1062
|
}>;
|
|
1063
1063
|
trigger: z.ZodOptional<z.ZodString>;
|
|
1064
1064
|
}, z.core.$strip>;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import { AnomalySchema, RecommendationSchema, SignalsSnapshotSchema, } from './domain.schema.js';
|
|
8
8
|
// ---------------------------------------------------------------------------
|
|
9
|
-
// GET /signals/:
|
|
9
|
+
// GET /signals/:appId → SignalsResponse
|
|
10
10
|
// ---------------------------------------------------------------------------
|
|
11
11
|
/**
|
|
12
12
|
* The primary top-level response for signal health snapshots.
|
|
@@ -14,7 +14,7 @@ import { AnomalySchema, RecommendationSchema, SignalsSnapshotSchema, } from './d
|
|
|
14
14
|
*/
|
|
15
15
|
export const SignalsResponseSchema = SignalsSnapshotSchema;
|
|
16
16
|
// ---------------------------------------------------------------------------
|
|
17
|
-
// GET /signals/:
|
|
17
|
+
// GET /signals/:appId/history
|
|
18
18
|
// ---------------------------------------------------------------------------
|
|
19
19
|
export const SignalsHistoryResponseSchema = z.object({
|
|
20
20
|
snapshots: z.array(SignalsResponseSchema),
|
|
@@ -39,7 +39,7 @@ export const SignalsCompareResponseSchema = z.object({
|
|
|
39
39
|
}),
|
|
40
40
|
});
|
|
41
41
|
// ---------------------------------------------------------------------------
|
|
42
|
-
// POST /signals/:
|
|
42
|
+
// POST /signals/:appId/evaluate
|
|
43
43
|
// ---------------------------------------------------------------------------
|
|
44
44
|
export const GateConditionResultSchema = z.object({
|
|
45
45
|
metric: z.string(),
|
|
@@ -58,7 +58,7 @@ export const GateEvaluationResponseSchema = z.object({
|
|
|
58
58
|
recommendation: RecommendationSchema.optional(),
|
|
59
59
|
});
|
|
60
60
|
// ---------------------------------------------------------------------------
|
|
61
|
-
// POST /signals/:
|
|
61
|
+
// POST /signals/:appId/annotate
|
|
62
62
|
// ---------------------------------------------------------------------------
|
|
63
63
|
export const AnnotateEventResponseSchema = z.object({
|
|
64
64
|
eventId: z.string().uuid(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.schema.js","sourceRoot":"","sources":["../../../src/definitions/signals/response.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAE5B,8EAA8E;AAC9E,
|
|
1
|
+
{"version":3,"file":"response.schema.js","sourceRoot":"","sources":["../../../src/definitions/signals/response.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAE5B,8EAA8E;AAC9E,0CAA0C;AAC1C,8EAA8E;AAE9E;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAE3D,8EAA8E;AAC9E,8BAA8B;AAC9B,8EAA8E;AAE9E,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC;CAC1C,CAAC,CAAC;AAEH,8EAA8E;AAC9E,uBAAuB;AACvB,8EAA8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