@apollo-deploy/schemas 1.2.0 → 1.3.1

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.
Files changed (34) hide show
  1. package/dist/definitions/audit-log/domain.schema.d.ts +3 -3
  2. package/dist/definitions/audit-log/request.schema.d.ts +6 -6
  3. package/dist/definitions/billing/request.schema.d.ts +1 -0
  4. package/dist/definitions/billing/request.schema.d.ts.map +1 -1
  5. package/dist/definitions/billing/request.schema.js +1 -3
  6. package/dist/definitions/billing/request.schema.js.map +1 -1
  7. package/dist/definitions/common.d.ts +12 -0
  8. package/dist/definitions/common.d.ts.map +1 -1
  9. package/dist/definitions/common.js +10 -0
  10. package/dist/definitions/common.js.map +1 -1
  11. package/dist/definitions/index.d.ts +2 -2
  12. package/dist/definitions/index.d.ts.map +1 -1
  13. package/dist/definitions/index.js +2 -2
  14. package/dist/definitions/index.js.map +1 -1
  15. package/dist/definitions/integrations/response.schema.d.ts +3 -3
  16. package/dist/definitions/releases/domain.schema.d.ts +5 -5
  17. package/dist/definitions/releases/request.schema.d.ts +1 -1
  18. package/dist/definitions/releases/response.schema.d.ts +4 -4
  19. package/dist/definitions/settings/index.d.ts +1 -1
  20. package/dist/definitions/settings/index.d.ts.map +1 -1
  21. package/dist/definitions/settings/index.js +1 -1
  22. package/dist/definitions/settings/index.js.map +1 -1
  23. package/dist/definitions/settings/response.schema.d.ts +67 -8
  24. package/dist/definitions/settings/response.schema.d.ts.map +1 -1
  25. package/dist/definitions/settings/response.schema.js +27 -1
  26. package/dist/definitions/settings/response.schema.js.map +1 -1
  27. package/dist/definitions/signals/domain.schema.d.ts +27 -27
  28. package/dist/definitions/signals/request.schema.d.ts +9 -9
  29. package/dist/definitions/signals/response.schema.d.ts +36 -36
  30. package/dist/index.d.ts +2 -5
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +2 -3
  33. package/dist/index.js.map +1 -1
  34. package/package.json +1 -1
@@ -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";
38
39
  logs: "logs";
39
40
  stability: "stability";
40
41
  performance: "performance";
41
- usage: "usage";
42
42
  infra: "infra";
43
43
  }>;
44
44
  status: z.ZodEnum<{
45
+ warning: "warning";
45
46
  critical: "critical";
46
47
  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
+ score: "score";
56
56
  ms: "ms";
57
57
  count: "count";
58
+ "%": "%";
58
59
  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";
67
68
  up: "up";
68
69
  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";
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>>;
@@ -151,8 +151,8 @@ export declare const SignalsResponseSchema: z.ZodObject<{
151
151
  resolved: "resolved";
152
152
  }>;
153
153
  severity: z.ZodEnum<{
154
- critical: "critical";
155
154
  warning: "warning";
155
+ critical: "critical";
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";
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<{
@@ -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;
@@ -261,16 +261,16 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
261
261
  signals: z.ZodArray<z.ZodObject<{
262
262
  type: z.ZodEnum<{
263
263
  errors: "errors";
264
+ usage: "usage";
264
265
  logs: "logs";
265
266
  stability: "stability";
266
267
  performance: "performance";
267
- usage: "usage";
268
268
  infra: "infra";
269
269
  }>;
270
270
  status: z.ZodEnum<{
271
+ warning: "warning";
271
272
  critical: "critical";
272
273
  healthy: "healthy";
273
- warning: "warning";
274
274
  }>;
275
275
  score: z.ZodNumber;
276
276
  metrics: z.ZodArray<z.ZodObject<{
@@ -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
- "%": "%";
281
+ score: "score";
282
282
  ms: "ms";
283
283
  count: "count";
284
+ "%": "%";
284
285
  rps: "rps";
285
- score: "score";
286
286
  }>;
287
287
  baseline: z.ZodObject<{
288
288
  value: z.ZodNumber;
@@ -290,9 +290,9 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
290
290
  }, z.core.$strip>;
291
291
  trend: z.ZodObject<{
292
292
  direction: z.ZodEnum<{
293
+ flat: "flat";
293
294
  up: "up";
294
295
  down: "down";
295
- flat: "flat";
296
296
  }>;
297
297
  changePercent: z.ZodNumber;
298
298
  confidence: 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>>;
@@ -377,8 +377,8 @@ export declare const SignalsHistoryResponseSchema: z.ZodObject<{
377
377
  resolved: "resolved";
378
378
  }>;
379
379
  severity: z.ZodEnum<{
380
- critical: "critical";
381
380
  warning: "warning";
381
+ critical: "critical";
382
382
  }>;
383
383
  title: z.ZodString;
384
384
  startedAt: z.ZodString;
@@ -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<{
@@ -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;
@@ -494,16 +494,16 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
494
494
  signals: z.ZodArray<z.ZodObject<{
495
495
  type: z.ZodEnum<{
496
496
  errors: "errors";
497
+ usage: "usage";
497
498
  logs: "logs";
498
499
  stability: "stability";
499
500
  performance: "performance";
500
- usage: "usage";
501
501
  infra: "infra";
502
502
  }>;
503
503
  status: z.ZodEnum<{
504
+ warning: "warning";
504
505
  critical: "critical";
505
506
  healthy: "healthy";
506
- warning: "warning";
507
507
  }>;
508
508
  score: z.ZodNumber;
509
509
  metrics: z.ZodArray<z.ZodObject<{
@@ -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
- "%": "%";
514
+ score: "score";
515
515
  ms: "ms";
516
516
  count: "count";
517
+ "%": "%";
517
518
  rps: "rps";
518
- score: "score";
519
519
  }>;
520
520
  baseline: z.ZodObject<{
521
521
  value: z.ZodNumber;
@@ -523,9 +523,9 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
523
523
  }, z.core.$strip>;
524
524
  trend: z.ZodObject<{
525
525
  direction: z.ZodEnum<{
526
+ flat: "flat";
526
527
  up: "up";
527
528
  down: "down";
528
- flat: "flat";
529
529
  }>;
530
530
  changePercent: z.ZodNumber;
531
531
  confidence: 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>>;
@@ -610,8 +610,8 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
610
610
  resolved: "resolved";
611
611
  }>;
612
612
  severity: z.ZodEnum<{
613
- critical: "critical";
614
613
  warning: "warning";
614
+ critical: "critical";
615
615
  }>;
616
616
  title: z.ZodString;
617
617
  startedAt: z.ZodString;
@@ -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<{
@@ -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;
@@ -719,16 +719,16 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
719
719
  signals: z.ZodArray<z.ZodObject<{
720
720
  type: z.ZodEnum<{
721
721
  errors: "errors";
722
+ usage: "usage";
722
723
  logs: "logs";
723
724
  stability: "stability";
724
725
  performance: "performance";
725
- usage: "usage";
726
726
  infra: "infra";
727
727
  }>;
728
728
  status: z.ZodEnum<{
729
+ warning: "warning";
729
730
  critical: "critical";
730
731
  healthy: "healthy";
731
- warning: "warning";
732
732
  }>;
733
733
  score: z.ZodNumber;
734
734
  metrics: z.ZodArray<z.ZodObject<{
@@ -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
- "%": "%";
739
+ score: "score";
740
740
  ms: "ms";
741
741
  count: "count";
742
+ "%": "%";
742
743
  rps: "rps";
743
- score: "score";
744
744
  }>;
745
745
  baseline: z.ZodObject<{
746
746
  value: z.ZodNumber;
@@ -748,9 +748,9 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
748
748
  }, z.core.$strip>;
749
749
  trend: z.ZodObject<{
750
750
  direction: z.ZodEnum<{
751
+ flat: "flat";
751
752
  up: "up";
752
753
  down: "down";
753
- flat: "flat";
754
754
  }>;
755
755
  changePercent: z.ZodNumber;
756
756
  confidence: 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>>;
@@ -835,8 +835,8 @@ export declare const SignalsCompareResponseSchema: z.ZodObject<{
835
835
  resolved: "resolved";
836
836
  }>;
837
837
  severity: z.ZodEnum<{
838
- critical: "critical";
839
838
  warning: "warning";
839
+ critical: "critical";
840
840
  }>;
841
841
  title: z.ZodString;
842
842
  startedAt: z.ZodString;
@@ -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<{
@@ -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;
package/dist/index.d.ts CHANGED
@@ -7,9 +7,6 @@
7
7
  * - JSON Schema generation for non-TypeScript services (Zig, Rust, Go)
8
8
  * - Common schema definitions for pagination, errors, and auth
9
9
  */
10
- export * from './definitions/index';
11
- export * from './settings/index';
12
- export type { OrganizationResponse, OrganizationListResponse } from './definitions/orgs/index';
13
- export type { GdprExportInput, GdprDeleteInput, GdprRectifyInput } from './definitions/share-links/index';
14
- export * from './generators/index';
10
+ export * from './definitions/index.js';
11
+ export * from './generators/index.js';
15
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AAGjC,YAAY,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAC/F,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAG1G,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,wBAAwB,CAAC;AAIvC,cAAc,uBAAuB,CAAC"}
package/dist/index.js CHANGED
@@ -8,8 +8,7 @@
8
8
  * - Common schema definitions for pagination, errors, and auth
9
9
  */
10
10
  // Re-export all definitions
11
- export * from './definitions/index';
12
- export * from './settings/index';
11
+ export * from './definitions/index.js';
13
12
  // Re-export generators
14
- export * from './generators/index';
13
+ export * from './generators/index.js';
15
14
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,4BAA4B;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AAMjC,uBAAuB;AACvB,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,4BAA4B;AAC5B,cAAc,wBAAwB,CAAC;AAGvC,uBAAuB;AACvB,cAAc,uBAAuB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollo-deploy/schemas",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "private": false,
5
5
  "description": "Cross-language type definitions using JSON Schema for Apollo Deploy monorepo",
6
6
  "type": "module",