@apollo-deploy/schemas 1.1.0 → 1.2.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/definitions/api-keys/domain.schema.d.ts +62 -0
- package/dist/definitions/api-keys/domain.schema.d.ts.map +1 -0
- package/dist/definitions/api-keys/domain.schema.js +24 -0
- package/dist/definitions/api-keys/domain.schema.js.map +1 -0
- package/dist/definitions/api-keys/index.d.ts +9 -0
- package/dist/definitions/api-keys/index.d.ts.map +1 -0
- package/dist/definitions/api-keys/index.js +9 -0
- package/dist/definitions/api-keys/index.js.map +1 -0
- package/dist/definitions/api-keys/request.schema.d.ts +100 -0
- package/dist/definitions/api-keys/request.schema.d.ts.map +1 -0
- package/dist/definitions/api-keys/request.schema.js +27 -0
- package/dist/definitions/api-keys/request.schema.js.map +1 -0
- package/dist/definitions/api-keys/response.schema.d.ts +188 -0
- package/dist/definitions/api-keys/response.schema.d.ts.map +1 -0
- package/dist/definitions/api-keys/response.schema.js +31 -0
- package/dist/definitions/api-keys/response.schema.js.map +1 -0
- package/dist/definitions/index.d.ts +7 -1
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/index.js +7 -3
- package/dist/definitions/index.js.map +1 -1
- package/dist/definitions/integrations/domain.schema.d.ts +14 -11
- package/dist/definitions/integrations/domain.schema.d.ts.map +1 -1
- package/dist/definitions/integrations/domain.schema.js +7 -6
- package/dist/definitions/integrations/domain.schema.js.map +1 -1
- package/dist/definitions/integrations/index.d.ts +1 -1
- package/dist/definitions/integrations/index.d.ts.map +1 -1
- package/dist/definitions/integrations/index.js +1 -1
- package/dist/definitions/integrations/index.js.map +1 -1
- package/dist/definitions/integrations/response.schema.d.ts +9 -5
- package/dist/definitions/integrations/response.schema.d.ts.map +1 -1
- package/dist/definitions/releases/domain.schema.d.ts +6 -5
- package/dist/definitions/releases/domain.schema.d.ts.map +1 -1
- package/dist/definitions/releases/domain.schema.js +1 -0
- package/dist/definitions/releases/domain.schema.js.map +1 -1
- package/dist/definitions/releases/request.schema.d.ts +1 -1
- package/dist/definitions/releases/response.schema.d.ts +6 -4
- package/dist/definitions/releases/response.schema.d.ts.map +1 -1
- package/dist/definitions/signals/domain.schema.d.ts +42 -33
- package/dist/definitions/signals/domain.schema.d.ts.map +1 -1
- package/dist/definitions/signals/domain.schema.js +13 -2
- package/dist/definitions/signals/domain.schema.js.map +1 -1
- package/dist/definitions/signals/request.schema.d.ts +17 -17
- package/dist/definitions/signals/response.schema.d.ts +84 -44
- package/dist/definitions/signals/response.schema.d.ts.map +1 -1
- package/dist/definitions/signals/response.schema.js +2 -0
- package/dist/definitions/signals/response.schema.js.map +1 -1
- package/package.json +5 -5
- package/dist/definitions/deployments/domain.schema.d.ts +0 -231
- package/dist/definitions/deployments/domain.schema.d.ts.map +0 -1
- package/dist/definitions/deployments/domain.schema.js +0 -118
- package/dist/definitions/deployments/domain.schema.js.map +0 -1
- package/dist/definitions/deployments/index.d.ts +0 -7
- package/dist/definitions/deployments/index.d.ts.map +0 -1
- package/dist/definitions/deployments/index.js +0 -7
- package/dist/definitions/deployments/index.js.map +0 -1
- package/dist/definitions/deployments/request.schema.d.ts +0 -238
- package/dist/definitions/deployments/request.schema.d.ts.map +0 -1
- package/dist/definitions/deployments/request.schema.js +0 -142
- package/dist/definitions/deployments/request.schema.js.map +0 -1
- package/dist/definitions/deployments/response.schema.d.ts +0 -193
- package/dist/definitions/deployments/response.schema.d.ts.map +0 -1
- package/dist/definitions/deployments/response.schema.js +0 -50
- package/dist/definitions/deployments/response.schema.js.map +0 -1
|
@@ -19,11 +19,11 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
19
19
|
end: z.ZodString;
|
|
20
20
|
granularity: z.ZodEnum<{
|
|
21
21
|
"1m": "1m";
|
|
22
|
-
"1h": "1h";
|
|
23
|
-
"1d": "1d";
|
|
24
22
|
"5m": "5m";
|
|
25
23
|
"15m": "15m";
|
|
24
|
+
"1h": "1h";
|
|
26
25
|
"6h": "6h";
|
|
26
|
+
"1d": "1d";
|
|
27
27
|
}>;
|
|
28
28
|
}, z.core.$strip>;
|
|
29
29
|
healthScore: z.ZodNumber;
|
|
@@ -35,16 +35,16 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
35
35
|
signals: z.ZodArray<z.ZodObject<{
|
|
36
36
|
type: z.ZodEnum<{
|
|
37
37
|
errors: "errors";
|
|
38
|
-
usage: "usage";
|
|
39
38
|
logs: "logs";
|
|
40
39
|
stability: "stability";
|
|
41
40
|
performance: "performance";
|
|
41
|
+
usage: "usage";
|
|
42
42
|
infra: "infra";
|
|
43
43
|
}>;
|
|
44
44
|
status: z.ZodEnum<{
|
|
45
|
-
warning: "warning";
|
|
46
45
|
critical: "critical";
|
|
47
46
|
healthy: "healthy";
|
|
47
|
+
warning: "warning";
|
|
48
48
|
}>;
|
|
49
49
|
score: z.ZodNumber;
|
|
50
50
|
metrics: z.ZodArray<z.ZodObject<{
|
|
@@ -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
|
-
|
|
55
|
+
"%": "%";
|
|
56
56
|
ms: "ms";
|
|
57
57
|
count: "count";
|
|
58
|
-
"%": "%";
|
|
59
58
|
rps: "rps";
|
|
59
|
+
score: "score";
|
|
60
60
|
}>;
|
|
61
61
|
baseline: z.ZodObject<{
|
|
62
62
|
value: z.ZodNumber;
|
|
@@ -64,9 +64,9 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
64
64
|
}, z.core.$strip>;
|
|
65
65
|
trend: z.ZodObject<{
|
|
66
66
|
direction: z.ZodEnum<{
|
|
67
|
-
flat: "flat";
|
|
68
67
|
up: "up";
|
|
69
68
|
down: "down";
|
|
69
|
+
flat: "flat";
|
|
70
70
|
}>;
|
|
71
71
|
changePercent: z.ZodNumber;
|
|
72
72
|
confidence: 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";
|
|
90
89
|
sentry: "sentry";
|
|
91
90
|
datadog: "datadog";
|
|
92
91
|
newrelic: "newrelic";
|
|
92
|
+
logs: "logs";
|
|
93
93
|
}>;
|
|
94
94
|
}, z.core.$strip>>;
|
|
95
95
|
}, z.core.$strip>>;
|
|
@@ -151,8 +151,8 @@ export declare const SignalsResponseSchema: z.ZodObject<{
|
|
|
151
151
|
resolved: "resolved";
|
|
152
152
|
}>;
|
|
153
153
|
severity: z.ZodEnum<{
|
|
154
|
-
warning: "warning";
|
|
155
154
|
critical: "critical";
|
|
155
|
+
warning: "warning";
|
|
156
156
|
}>;
|
|
157
157
|
title: z.ZodString;
|
|
158
158
|
startedAt: z.ZodString;
|
|
@@ -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";
|
|
169
168
|
sentry: "sentry";
|
|
170
169
|
datadog: "datadog";
|
|
171
170
|
newrelic: "newrelic";
|
|
171
|
+
logs: "logs";
|
|
172
172
|
}>;
|
|
173
173
|
}, z.core.$strip>>;
|
|
174
174
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -215,13 +215,22 @@ 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";
|
|
219
218
|
sentry: "sentry";
|
|
220
219
|
datadog: "datadog";
|
|
221
220
|
newrelic: "newrelic";
|
|
221
|
+
logs: "logs";
|
|
222
222
|
}>>;
|
|
223
223
|
computedAt: z.ZodString;
|
|
224
224
|
staleAfter: z.ZodString;
|
|
225
|
+
activeInstalls: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
rolloutPhase: z.ZodOptional<z.ZodEnum<{
|
|
227
|
+
canary: "canary";
|
|
228
|
+
scaling: "scaling";
|
|
229
|
+
full: "full";
|
|
230
|
+
}>>;
|
|
231
|
+
providerDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
thresholdScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
providerErrors: z.ZodOptional<z.ZodNumber>;
|
|
225
234
|
}, z.core.$strip>;
|
|
226
235
|
}, z.core.$strip>;
|
|
227
236
|
export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
@@ -236,11 +245,11 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
236
245
|
end: z.ZodString;
|
|
237
246
|
granularity: z.ZodEnum<{
|
|
238
247
|
"1m": "1m";
|
|
239
|
-
"1h": "1h";
|
|
240
|
-
"1d": "1d";
|
|
241
248
|
"5m": "5m";
|
|
242
249
|
"15m": "15m";
|
|
250
|
+
"1h": "1h";
|
|
243
251
|
"6h": "6h";
|
|
252
|
+
"1d": "1d";
|
|
244
253
|
}>;
|
|
245
254
|
}, z.core.$strip>;
|
|
246
255
|
healthScore: z.ZodNumber;
|
|
@@ -252,16 +261,16 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
252
261
|
signals: z.ZodArray<z.ZodObject<{
|
|
253
262
|
type: z.ZodEnum<{
|
|
254
263
|
errors: "errors";
|
|
255
|
-
usage: "usage";
|
|
256
264
|
logs: "logs";
|
|
257
265
|
stability: "stability";
|
|
258
266
|
performance: "performance";
|
|
267
|
+
usage: "usage";
|
|
259
268
|
infra: "infra";
|
|
260
269
|
}>;
|
|
261
270
|
status: z.ZodEnum<{
|
|
262
|
-
warning: "warning";
|
|
263
271
|
critical: "critical";
|
|
264
272
|
healthy: "healthy";
|
|
273
|
+
warning: "warning";
|
|
265
274
|
}>;
|
|
266
275
|
score: z.ZodNumber;
|
|
267
276
|
metrics: z.ZodArray<z.ZodObject<{
|
|
@@ -269,11 +278,11 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
269
278
|
label: z.ZodString;
|
|
270
279
|
value: z.ZodNumber;
|
|
271
280
|
unit: z.ZodEnum<{
|
|
272
|
-
|
|
281
|
+
"%": "%";
|
|
273
282
|
ms: "ms";
|
|
274
283
|
count: "count";
|
|
275
|
-
"%": "%";
|
|
276
284
|
rps: "rps";
|
|
285
|
+
score: "score";
|
|
277
286
|
}>;
|
|
278
287
|
baseline: z.ZodObject<{
|
|
279
288
|
value: z.ZodNumber;
|
|
@@ -281,9 +290,9 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
281
290
|
}, z.core.$strip>;
|
|
282
291
|
trend: z.ZodObject<{
|
|
283
292
|
direction: z.ZodEnum<{
|
|
284
|
-
flat: "flat";
|
|
285
293
|
up: "up";
|
|
286
294
|
down: "down";
|
|
295
|
+
flat: "flat";
|
|
287
296
|
}>;
|
|
288
297
|
changePercent: z.ZodNumber;
|
|
289
298
|
confidence: z.ZodNumber;
|
|
@@ -303,10 +312,10 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
303
312
|
}, z.core.$strip>>>;
|
|
304
313
|
source: z.ZodEnum<{
|
|
305
314
|
custom: "custom";
|
|
306
|
-
logs: "logs";
|
|
307
315
|
sentry: "sentry";
|
|
308
316
|
datadog: "datadog";
|
|
309
317
|
newrelic: "newrelic";
|
|
318
|
+
logs: "logs";
|
|
310
319
|
}>;
|
|
311
320
|
}, z.core.$strip>>;
|
|
312
321
|
}, z.core.$strip>>;
|
|
@@ -368,8 +377,8 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
368
377
|
resolved: "resolved";
|
|
369
378
|
}>;
|
|
370
379
|
severity: z.ZodEnum<{
|
|
371
|
-
warning: "warning";
|
|
372
380
|
critical: "critical";
|
|
381
|
+
warning: "warning";
|
|
373
382
|
}>;
|
|
374
383
|
title: z.ZodString;
|
|
375
384
|
startedAt: z.ZodString;
|
|
@@ -382,10 +391,10 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
382
391
|
}, z.core.$strip>>>;
|
|
383
392
|
source: z.ZodEnum<{
|
|
384
393
|
custom: "custom";
|
|
385
|
-
logs: "logs";
|
|
386
394
|
sentry: "sentry";
|
|
387
395
|
datadog: "datadog";
|
|
388
396
|
newrelic: "newrelic";
|
|
397
|
+
logs: "logs";
|
|
389
398
|
}>;
|
|
390
399
|
}, z.core.$strip>>;
|
|
391
400
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -432,13 +441,22 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
|
|
|
432
441
|
sampleSize: z.ZodNumber;
|
|
433
442
|
dataSources: z.ZodArray<z.ZodEnum<{
|
|
434
443
|
custom: "custom";
|
|
435
|
-
logs: "logs";
|
|
436
444
|
sentry: "sentry";
|
|
437
445
|
datadog: "datadog";
|
|
438
446
|
newrelic: "newrelic";
|
|
447
|
+
logs: "logs";
|
|
439
448
|
}>>;
|
|
440
449
|
computedAt: z.ZodString;
|
|
441
450
|
staleAfter: z.ZodString;
|
|
451
|
+
activeInstalls: z.ZodOptional<z.ZodNumber>;
|
|
452
|
+
rolloutPhase: z.ZodOptional<z.ZodEnum<{
|
|
453
|
+
canary: "canary";
|
|
454
|
+
scaling: "scaling";
|
|
455
|
+
full: "full";
|
|
456
|
+
}>>;
|
|
457
|
+
providerDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
458
|
+
thresholdScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
459
|
+
providerErrors: z.ZodOptional<z.ZodNumber>;
|
|
442
460
|
}, z.core.$strip>;
|
|
443
461
|
}, z.core.$strip>>;
|
|
444
462
|
}, z.core.$strip>;
|
|
@@ -460,11 +478,11 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
460
478
|
end: z.ZodString;
|
|
461
479
|
granularity: z.ZodEnum<{
|
|
462
480
|
"1m": "1m";
|
|
463
|
-
"1h": "1h";
|
|
464
|
-
"1d": "1d";
|
|
465
481
|
"5m": "5m";
|
|
466
482
|
"15m": "15m";
|
|
483
|
+
"1h": "1h";
|
|
467
484
|
"6h": "6h";
|
|
485
|
+
"1d": "1d";
|
|
468
486
|
}>;
|
|
469
487
|
}, z.core.$strip>;
|
|
470
488
|
healthScore: z.ZodNumber;
|
|
@@ -476,16 +494,16 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
476
494
|
signals: z.ZodArray<z.ZodObject<{
|
|
477
495
|
type: z.ZodEnum<{
|
|
478
496
|
errors: "errors";
|
|
479
|
-
usage: "usage";
|
|
480
497
|
logs: "logs";
|
|
481
498
|
stability: "stability";
|
|
482
499
|
performance: "performance";
|
|
500
|
+
usage: "usage";
|
|
483
501
|
infra: "infra";
|
|
484
502
|
}>;
|
|
485
503
|
status: z.ZodEnum<{
|
|
486
|
-
warning: "warning";
|
|
487
504
|
critical: "critical";
|
|
488
505
|
healthy: "healthy";
|
|
506
|
+
warning: "warning";
|
|
489
507
|
}>;
|
|
490
508
|
score: z.ZodNumber;
|
|
491
509
|
metrics: z.ZodArray<z.ZodObject<{
|
|
@@ -493,11 +511,11 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
493
511
|
label: z.ZodString;
|
|
494
512
|
value: z.ZodNumber;
|
|
495
513
|
unit: z.ZodEnum<{
|
|
496
|
-
|
|
514
|
+
"%": "%";
|
|
497
515
|
ms: "ms";
|
|
498
516
|
count: "count";
|
|
499
|
-
"%": "%";
|
|
500
517
|
rps: "rps";
|
|
518
|
+
score: "score";
|
|
501
519
|
}>;
|
|
502
520
|
baseline: z.ZodObject<{
|
|
503
521
|
value: z.ZodNumber;
|
|
@@ -505,9 +523,9 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
505
523
|
}, z.core.$strip>;
|
|
506
524
|
trend: z.ZodObject<{
|
|
507
525
|
direction: z.ZodEnum<{
|
|
508
|
-
flat: "flat";
|
|
509
526
|
up: "up";
|
|
510
527
|
down: "down";
|
|
528
|
+
flat: "flat";
|
|
511
529
|
}>;
|
|
512
530
|
changePercent: z.ZodNumber;
|
|
513
531
|
confidence: z.ZodNumber;
|
|
@@ -527,10 +545,10 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
527
545
|
}, z.core.$strip>>>;
|
|
528
546
|
source: z.ZodEnum<{
|
|
529
547
|
custom: "custom";
|
|
530
|
-
logs: "logs";
|
|
531
548
|
sentry: "sentry";
|
|
532
549
|
datadog: "datadog";
|
|
533
550
|
newrelic: "newrelic";
|
|
551
|
+
logs: "logs";
|
|
534
552
|
}>;
|
|
535
553
|
}, z.core.$strip>>;
|
|
536
554
|
}, z.core.$strip>>;
|
|
@@ -592,8 +610,8 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
592
610
|
resolved: "resolved";
|
|
593
611
|
}>;
|
|
594
612
|
severity: z.ZodEnum<{
|
|
595
|
-
warning: "warning";
|
|
596
613
|
critical: "critical";
|
|
614
|
+
warning: "warning";
|
|
597
615
|
}>;
|
|
598
616
|
title: z.ZodString;
|
|
599
617
|
startedAt: z.ZodString;
|
|
@@ -606,10 +624,10 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
606
624
|
}, z.core.$strip>>>;
|
|
607
625
|
source: z.ZodEnum<{
|
|
608
626
|
custom: "custom";
|
|
609
|
-
logs: "logs";
|
|
610
627
|
sentry: "sentry";
|
|
611
628
|
datadog: "datadog";
|
|
612
629
|
newrelic: "newrelic";
|
|
630
|
+
logs: "logs";
|
|
613
631
|
}>;
|
|
614
632
|
}, z.core.$strip>>;
|
|
615
633
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -656,13 +674,22 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
656
674
|
sampleSize: z.ZodNumber;
|
|
657
675
|
dataSources: z.ZodArray<z.ZodEnum<{
|
|
658
676
|
custom: "custom";
|
|
659
|
-
logs: "logs";
|
|
660
677
|
sentry: "sentry";
|
|
661
678
|
datadog: "datadog";
|
|
662
679
|
newrelic: "newrelic";
|
|
680
|
+
logs: "logs";
|
|
663
681
|
}>>;
|
|
664
682
|
computedAt: z.ZodString;
|
|
665
683
|
staleAfter: z.ZodString;
|
|
684
|
+
activeInstalls: z.ZodOptional<z.ZodNumber>;
|
|
685
|
+
rolloutPhase: z.ZodOptional<z.ZodEnum<{
|
|
686
|
+
canary: "canary";
|
|
687
|
+
scaling: "scaling";
|
|
688
|
+
full: "full";
|
|
689
|
+
}>>;
|
|
690
|
+
providerDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
691
|
+
thresholdScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
692
|
+
providerErrors: z.ZodOptional<z.ZodNumber>;
|
|
666
693
|
}, z.core.$strip>;
|
|
667
694
|
}, z.core.$strip>;
|
|
668
695
|
target: z.ZodObject<{
|
|
@@ -676,11 +703,11 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
676
703
|
end: z.ZodString;
|
|
677
704
|
granularity: z.ZodEnum<{
|
|
678
705
|
"1m": "1m";
|
|
679
|
-
"1h": "1h";
|
|
680
|
-
"1d": "1d";
|
|
681
706
|
"5m": "5m";
|
|
682
707
|
"15m": "15m";
|
|
708
|
+
"1h": "1h";
|
|
683
709
|
"6h": "6h";
|
|
710
|
+
"1d": "1d";
|
|
684
711
|
}>;
|
|
685
712
|
}, z.core.$strip>;
|
|
686
713
|
healthScore: z.ZodNumber;
|
|
@@ -692,16 +719,16 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
692
719
|
signals: z.ZodArray<z.ZodObject<{
|
|
693
720
|
type: z.ZodEnum<{
|
|
694
721
|
errors: "errors";
|
|
695
|
-
usage: "usage";
|
|
696
722
|
logs: "logs";
|
|
697
723
|
stability: "stability";
|
|
698
724
|
performance: "performance";
|
|
725
|
+
usage: "usage";
|
|
699
726
|
infra: "infra";
|
|
700
727
|
}>;
|
|
701
728
|
status: z.ZodEnum<{
|
|
702
|
-
warning: "warning";
|
|
703
729
|
critical: "critical";
|
|
704
730
|
healthy: "healthy";
|
|
731
|
+
warning: "warning";
|
|
705
732
|
}>;
|
|
706
733
|
score: z.ZodNumber;
|
|
707
734
|
metrics: z.ZodArray<z.ZodObject<{
|
|
@@ -709,11 +736,11 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
709
736
|
label: z.ZodString;
|
|
710
737
|
value: z.ZodNumber;
|
|
711
738
|
unit: z.ZodEnum<{
|
|
712
|
-
|
|
739
|
+
"%": "%";
|
|
713
740
|
ms: "ms";
|
|
714
741
|
count: "count";
|
|
715
|
-
"%": "%";
|
|
716
742
|
rps: "rps";
|
|
743
|
+
score: "score";
|
|
717
744
|
}>;
|
|
718
745
|
baseline: z.ZodObject<{
|
|
719
746
|
value: z.ZodNumber;
|
|
@@ -721,9 +748,9 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
721
748
|
}, z.core.$strip>;
|
|
722
749
|
trend: z.ZodObject<{
|
|
723
750
|
direction: z.ZodEnum<{
|
|
724
|
-
flat: "flat";
|
|
725
751
|
up: "up";
|
|
726
752
|
down: "down";
|
|
753
|
+
flat: "flat";
|
|
727
754
|
}>;
|
|
728
755
|
changePercent: z.ZodNumber;
|
|
729
756
|
confidence: z.ZodNumber;
|
|
@@ -743,10 +770,10 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
743
770
|
}, z.core.$strip>>>;
|
|
744
771
|
source: z.ZodEnum<{
|
|
745
772
|
custom: "custom";
|
|
746
|
-
logs: "logs";
|
|
747
773
|
sentry: "sentry";
|
|
748
774
|
datadog: "datadog";
|
|
749
775
|
newrelic: "newrelic";
|
|
776
|
+
logs: "logs";
|
|
750
777
|
}>;
|
|
751
778
|
}, z.core.$strip>>;
|
|
752
779
|
}, z.core.$strip>>;
|
|
@@ -808,8 +835,8 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
808
835
|
resolved: "resolved";
|
|
809
836
|
}>;
|
|
810
837
|
severity: z.ZodEnum<{
|
|
811
|
-
warning: "warning";
|
|
812
838
|
critical: "critical";
|
|
839
|
+
warning: "warning";
|
|
813
840
|
}>;
|
|
814
841
|
title: z.ZodString;
|
|
815
842
|
startedAt: z.ZodString;
|
|
@@ -822,10 +849,10 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
822
849
|
}, z.core.$strip>>>;
|
|
823
850
|
source: z.ZodEnum<{
|
|
824
851
|
custom: "custom";
|
|
825
|
-
logs: "logs";
|
|
826
852
|
sentry: "sentry";
|
|
827
853
|
datadog: "datadog";
|
|
828
854
|
newrelic: "newrelic";
|
|
855
|
+
logs: "logs";
|
|
829
856
|
}>;
|
|
830
857
|
}, z.core.$strip>>;
|
|
831
858
|
recommendations: z.ZodArray<z.ZodObject<{
|
|
@@ -872,13 +899,22 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
|
|
|
872
899
|
sampleSize: z.ZodNumber;
|
|
873
900
|
dataSources: z.ZodArray<z.ZodEnum<{
|
|
874
901
|
custom: "custom";
|
|
875
|
-
logs: "logs";
|
|
876
902
|
sentry: "sentry";
|
|
877
903
|
datadog: "datadog";
|
|
878
904
|
newrelic: "newrelic";
|
|
905
|
+
logs: "logs";
|
|
879
906
|
}>>;
|
|
880
907
|
computedAt: z.ZodString;
|
|
881
908
|
staleAfter: z.ZodString;
|
|
909
|
+
activeInstalls: z.ZodOptional<z.ZodNumber>;
|
|
910
|
+
rolloutPhase: z.ZodOptional<z.ZodEnum<{
|
|
911
|
+
canary: "canary";
|
|
912
|
+
scaling: "scaling";
|
|
913
|
+
full: "full";
|
|
914
|
+
}>>;
|
|
915
|
+
providerDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
916
|
+
thresholdScaleFactor: z.ZodOptional<z.ZodNumber>;
|
|
917
|
+
providerErrors: z.ZodOptional<z.ZodNumber>;
|
|
882
918
|
}, z.core.$strip>;
|
|
883
919
|
}, z.core.$strip>;
|
|
884
920
|
diff: z.ZodObject<{
|
|
@@ -953,6 +989,8 @@ export declare const GateConditionResultSchema: z.ZodObject<{
|
|
|
953
989
|
baselineValue: z.ZodNumber;
|
|
954
990
|
deviation: z.ZodNumber;
|
|
955
991
|
conditionMet: z.ZodBoolean;
|
|
992
|
+
reason: z.ZodString;
|
|
993
|
+
reasonKey: z.ZodString;
|
|
956
994
|
}, z.core.$strip>;
|
|
957
995
|
export declare const GateEvaluationResponseSchema: z.ZodObject<{
|
|
958
996
|
passed: z.ZodBoolean;
|
|
@@ -962,6 +1000,8 @@ export declare const GateEvaluationResponseSchema: z.ZodObject<{
|
|
|
962
1000
|
baselineValue: z.ZodNumber;
|
|
963
1001
|
deviation: z.ZodNumber;
|
|
964
1002
|
conditionMet: z.ZodBoolean;
|
|
1003
|
+
reason: z.ZodString;
|
|
1004
|
+
reasonKey: z.ZodString;
|
|
965
1005
|
}, z.core.$strip>>;
|
|
966
1006
|
healthScore: z.ZodNumber;
|
|
967
1007
|
activeAnomalies: z.ZodArray<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/signals/response.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB;;;GAGG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"response.schema.d.ts","sourceRoot":"","sources":["../../../src/definitions/signals/response.schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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47,6 +47,8 @@ export const GateConditionResultSchema = z.object({
|
|
|
47
47
|
baselineValue: z.number(),
|
|
48
48
|
deviation: z.number(),
|
|
49
49
|
conditionMet: z.boolean(),
|
|
50
|
+
reason: z.string(),
|
|
51
|
+
reasonKey: z.string(),
|
|
50
52
|
});
|
|
51
53
|
export const GateEvaluationResponseSchema = z.object({
|
|
52
54
|
passed: z.boolean(),
|
|
@@ -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,8CAA8C;AAC9C,8EAA8E;AAE9E;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAE3D,8EAA8E;AAC9E,kCAAkC;AAClC,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,8EAA8E;AAE9E,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,qBAAqB;IAC3B,MAAM,EAAE,qBAAqB;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;QACb,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;QAC5B,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;QACxC,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC;QACpC,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC;KAC1C,CAAC;CACH,CAAC,CAAC;AAEH,8EAA8E;AAC9E,oCAAoC;AACpC,8EAA8E;AAE9E,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;
|
|
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,8CAA8C;AAC9C,8EAA8E;AAE9E;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAE3D,8EAA8E;AAC9E,kCAAkC;AAClC,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,8EAA8E;AAE9E,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,GAAG,EAAE,CA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MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC5B,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC;IAC5B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;CAC9C,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apollo-deploy/schemas",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Cross-language type definitions using JSON Schema for Apollo Deploy monorepo",
|
|
6
6
|
"type": "module",
|
|
@@ -91,6 +91,10 @@
|
|
|
91
91
|
"import": "./dist/definitions/auth/index.js",
|
|
92
92
|
"types": "./dist/definitions/auth/index.d.ts"
|
|
93
93
|
},
|
|
94
|
+
"./api-keys": {
|
|
95
|
+
"import": "./dist/definitions/api-keys/index.js",
|
|
96
|
+
"types": "./dist/definitions/api-keys/index.d.ts"
|
|
97
|
+
},
|
|
94
98
|
"./admin-users": {
|
|
95
99
|
"import": "./dist/definitions/admin-users/index.js",
|
|
96
100
|
"types": "./dist/definitions/admin-users/index.d.ts"
|
|
@@ -103,10 +107,6 @@
|
|
|
103
107
|
"import": "./dist/definitions/approvals/index.js",
|
|
104
108
|
"types": "./dist/definitions/approvals/index.d.ts"
|
|
105
109
|
},
|
|
106
|
-
"./deployments": {
|
|
107
|
-
"import": "./dist/definitions/deployments/index.js",
|
|
108
|
-
"types": "./dist/definitions/deployments/index.d.ts"
|
|
109
|
-
},
|
|
110
110
|
"./workflows": {
|
|
111
111
|
"import": "./dist/definitions/workflows/index.js",
|
|
112
112
|
"types": "./dist/definitions/workflows/index.d.ts"
|