@roborean/spec 0.1.2 → 0.1.3

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 (2) hide show
  1. package/dist/zod/index.d.ts +54 -54
  2. package/package.json +1 -1
@@ -52,12 +52,12 @@ export declare const workspaceValueSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
52
52
  bucket: z.ZodString;
53
53
  bounds: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
54
54
  }, "strip", z.ZodTypeAny, {
55
- bucket: string;
56
55
  kind: "bucket";
56
+ bucket: string;
57
57
  bounds?: [number, number] | undefined;
58
58
  }, {
59
- bucket: string;
60
59
  kind: "bucket";
60
+ bucket: string;
61
61
  bounds?: [number, number] | undefined;
62
62
  }>, z.ZodObject<{
63
63
  kind: z.ZodLiteral<"redacted">;
@@ -83,8 +83,8 @@ export declare const bitSchema: z.ZodObject<{
83
83
  onError: z.ZodEnum<["abort", "skip", "continue"]>;
84
84
  capabilities: z.ZodArray<z.ZodString, "many">;
85
85
  }, "strict", z.ZodTypeAny, {
86
- id: string;
87
86
  type: string;
87
+ id: string;
88
88
  config: Record<string, unknown>;
89
89
  reads: string[];
90
90
  writes: string[];
@@ -92,11 +92,11 @@ export declare const bitSchema: z.ZodObject<{
92
92
  effectClass: string;
93
93
  onError: "abort" | "skip" | "continue";
94
94
  capabilities: string[];
95
- label?: string | undefined;
96
95
  when?: unknown;
96
+ label?: string | undefined;
97
97
  }, {
98
- id: string;
99
98
  type: string;
99
+ id: string;
100
100
  config: Record<string, unknown>;
101
101
  reads: string[];
102
102
  writes: string[];
@@ -104,8 +104,8 @@ export declare const bitSchema: z.ZodObject<{
104
104
  effectClass: string;
105
105
  onError: "abort" | "skip" | "continue";
106
106
  capabilities: string[];
107
- label?: string | undefined;
108
107
  when?: unknown;
108
+ label?: string | undefined;
109
109
  }>;
110
110
  export declare const projectSchema: z.ZodObject<{
111
111
  schemaVersion: z.ZodEnum<["1.0.0", "1.1.0"]>;
@@ -179,12 +179,12 @@ export declare const projectSchema: z.ZodObject<{
179
179
  bucket: z.ZodString;
180
180
  bounds: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
181
181
  }, "strip", z.ZodTypeAny, {
182
- bucket: string;
183
182
  kind: "bucket";
183
+ bucket: string;
184
184
  bounds?: [number, number] | undefined;
185
185
  }, {
186
- bucket: string;
187
186
  kind: "bucket";
187
+ bucket: string;
188
188
  bounds?: [number, number] | undefined;
189
189
  }>, z.ZodObject<{
190
190
  kind: z.ZodLiteral<"redacted">;
@@ -219,8 +219,8 @@ export declare const projectSchema: z.ZodObject<{
219
219
  shape: "email" | "phone" | "iban" | "uuid" | "code";
220
220
  length?: number | undefined;
221
221
  } | {
222
- bucket: string;
223
222
  kind: "bucket";
223
+ bucket: string;
224
224
  bounds?: [number, number] | undefined;
225
225
  } | {
226
226
  kind: "redacted";
@@ -249,8 +249,8 @@ export declare const projectSchema: z.ZodObject<{
249
249
  shape: "email" | "phone" | "iban" | "uuid" | "code";
250
250
  length?: number | undefined;
251
251
  } | {
252
- bucket: string;
253
252
  kind: "bucket";
253
+ bucket: string;
254
254
  bounds?: [number, number] | undefined;
255
255
  } | {
256
256
  kind: "redacted";
@@ -281,8 +281,8 @@ export declare const projectSchema: z.ZodObject<{
281
281
  shape: "email" | "phone" | "iban" | "uuid" | "code";
282
282
  length?: number | undefined;
283
283
  } | {
284
- bucket: string;
285
284
  kind: "bucket";
285
+ bucket: string;
286
286
  bounds?: [number, number] | undefined;
287
287
  } | {
288
288
  kind: "redacted";
@@ -313,8 +313,8 @@ export declare const projectSchema: z.ZodObject<{
313
313
  shape: "email" | "phone" | "iban" | "uuid" | "code";
314
314
  length?: number | undefined;
315
315
  } | {
316
- bucket: string;
317
316
  kind: "bucket";
317
+ bucket: string;
318
318
  bounds?: [number, number] | undefined;
319
319
  } | {
320
320
  kind: "redacted";
@@ -338,8 +338,8 @@ export declare const projectSchema: z.ZodObject<{
338
338
  onError: z.ZodEnum<["abort", "skip", "continue"]>;
339
339
  capabilities: z.ZodArray<z.ZodString, "many">;
340
340
  }, "strict", z.ZodTypeAny, {
341
- id: string;
342
341
  type: string;
342
+ id: string;
343
343
  config: Record<string, unknown>;
344
344
  reads: string[];
345
345
  writes: string[];
@@ -347,11 +347,11 @@ export declare const projectSchema: z.ZodObject<{
347
347
  effectClass: string;
348
348
  onError: "abort" | "skip" | "continue";
349
349
  capabilities: string[];
350
- label?: string | undefined;
351
350
  when?: unknown;
351
+ label?: string | undefined;
352
352
  }, {
353
- id: string;
354
353
  type: string;
354
+ id: string;
355
355
  config: Record<string, unknown>;
356
356
  reads: string[];
357
357
  writes: string[];
@@ -359,8 +359,8 @@ export declare const projectSchema: z.ZodObject<{
359
359
  effectClass: string;
360
360
  onError: "abort" | "skip" | "continue";
361
361
  capabilities: string[];
362
- label?: string | undefined;
363
362
  when?: unknown;
363
+ label?: string | undefined;
364
364
  }>, "many">;
365
365
  documents: z.ZodArray<z.ZodObject<{
366
366
  id: z.ZodString;
@@ -393,13 +393,8 @@ export declare const projectSchema: z.ZodObject<{
393
393
  }>, "many">;
394
394
  metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
395
395
  }, "strict", z.ZodTypeAny, {
396
- id: string;
397
- schemaVersion: "1.0.0" | "1.1.0";
398
396
  name: string;
399
- pluginRequirements: {
400
- name: string;
401
- versionRange: string;
402
- }[];
397
+ id: string;
403
398
  workspace: {
404
399
  variables: {
405
400
  key: string;
@@ -421,8 +416,8 @@ export declare const projectSchema: z.ZodObject<{
421
416
  shape: "email" | "phone" | "iban" | "uuid" | "code";
422
417
  length?: number | undefined;
423
418
  } | {
424
- bucket: string;
425
419
  kind: "bucket";
420
+ bucket: string;
426
421
  bounds?: [number, number] | undefined;
427
422
  } | {
428
423
  kind: "redacted";
@@ -433,9 +428,10 @@ export declare const projectSchema: z.ZodObject<{
433
428
  description?: string | undefined;
434
429
  }[];
435
430
  };
431
+ schemaVersion: "1.0.0" | "1.1.0";
436
432
  bits: {
437
- id: string;
438
433
  type: string;
434
+ id: string;
439
435
  config: Record<string, unknown>;
440
436
  reads: string[];
441
437
  writes: string[];
@@ -443,8 +439,8 @@ export declare const projectSchema: z.ZodObject<{
443
439
  effectClass: string;
444
440
  onError: "abort" | "skip" | "continue";
445
441
  capabilities: string[];
446
- label?: string | undefined;
447
442
  when?: unknown;
443
+ label?: string | undefined;
448
444
  }[];
449
445
  documents: z.objectOutputType<{
450
446
  id: z.ZodString;
@@ -457,16 +453,15 @@ export declare const projectSchema: z.ZodObject<{
457
453
  path: string;
458
454
  hash?: string | undefined;
459
455
  }[];
460
- metadata: Record<string, unknown>;
461
- description?: string | undefined;
462
- }, {
463
- id: string;
464
- schemaVersion: "1.0.0" | "1.1.0";
465
- name: string;
466
456
  pluginRequirements: {
467
457
  name: string;
468
458
  versionRange: string;
469
459
  }[];
460
+ metadata: Record<string, unknown>;
461
+ description?: string | undefined;
462
+ }, {
463
+ name: string;
464
+ id: string;
470
465
  workspace: {
471
466
  variables: {
472
467
  key: string;
@@ -488,8 +483,8 @@ export declare const projectSchema: z.ZodObject<{
488
483
  shape: "email" | "phone" | "iban" | "uuid" | "code";
489
484
  length?: number | undefined;
490
485
  } | {
491
- bucket: string;
492
486
  kind: "bucket";
487
+ bucket: string;
493
488
  bounds?: [number, number] | undefined;
494
489
  } | {
495
490
  kind: "redacted";
@@ -500,9 +495,10 @@ export declare const projectSchema: z.ZodObject<{
500
495
  description?: string | undefined;
501
496
  }[];
502
497
  };
498
+ schemaVersion: "1.0.0" | "1.1.0";
503
499
  bits: {
504
- id: string;
505
500
  type: string;
501
+ id: string;
506
502
  config: Record<string, unknown>;
507
503
  reads: string[];
508
504
  writes: string[];
@@ -510,8 +506,8 @@ export declare const projectSchema: z.ZodObject<{
510
506
  effectClass: string;
511
507
  onError: "abort" | "skip" | "continue";
512
508
  capabilities: string[];
513
- label?: string | undefined;
514
509
  when?: unknown;
510
+ label?: string | undefined;
515
511
  }[];
516
512
  documents: z.objectInputType<{
517
513
  id: z.ZodString;
@@ -524,6 +520,10 @@ export declare const projectSchema: z.ZodObject<{
524
520
  path: string;
525
521
  hash?: string | undefined;
526
522
  }[];
523
+ pluginRequirements: {
524
+ name: string;
525
+ versionRange: string;
526
+ }[];
527
527
  metadata: Record<string, unknown>;
528
528
  description?: string | undefined;
529
529
  }>;
@@ -585,12 +585,12 @@ export declare const runRequestSchema: z.ZodObject<{
585
585
  bucket: z.ZodString;
586
586
  bounds: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
587
587
  }, "strip", z.ZodTypeAny, {
588
- bucket: string;
589
588
  kind: "bucket";
589
+ bucket: string;
590
590
  bounds?: [number, number] | undefined;
591
591
  }, {
592
- bucket: string;
593
592
  kind: "bucket";
593
+ bucket: string;
594
594
  bounds?: [number, number] | undefined;
595
595
  }>, z.ZodObject<{
596
596
  kind: z.ZodLiteral<"redacted">;
@@ -627,8 +627,8 @@ export declare const runRequestSchema: z.ZodObject<{
627
627
  shape: "email" | "phone" | "iban" | "uuid" | "code";
628
628
  length?: number | undefined;
629
629
  } | {
630
- bucket: string;
631
630
  kind: "bucket";
631
+ bucket: string;
632
632
  bounds?: [number, number] | undefined;
633
633
  } | {
634
634
  kind: "redacted";
@@ -659,8 +659,8 @@ export declare const runRequestSchema: z.ZodObject<{
659
659
  shape: "email" | "phone" | "iban" | "uuid" | "code";
660
660
  length?: number | undefined;
661
661
  } | {
662
- bucket: string;
663
662
  kind: "bucket";
663
+ bucket: string;
664
664
  bounds?: [number, number] | undefined;
665
665
  } | {
666
666
  kind: "redacted";
@@ -726,12 +726,12 @@ export declare const runDiffSchema: z.ZodObject<{
726
726
  bucket: z.ZodString;
727
727
  bounds: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
728
728
  }, "strip", z.ZodTypeAny, {
729
- bucket: string;
730
729
  kind: "bucket";
730
+ bucket: string;
731
731
  bounds?: [number, number] | undefined;
732
732
  }, {
733
- bucket: string;
734
733
  kind: "bucket";
734
+ bucket: string;
735
735
  bounds?: [number, number] | undefined;
736
736
  }>, z.ZodObject<{
737
737
  kind: z.ZodLiteral<"redacted">;
@@ -796,12 +796,12 @@ export declare const runDiffSchema: z.ZodObject<{
796
796
  bucket: z.ZodString;
797
797
  bounds: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
798
798
  }, "strip", z.ZodTypeAny, {
799
- bucket: string;
800
799
  kind: "bucket";
800
+ bucket: string;
801
801
  bounds?: [number, number] | undefined;
802
802
  }, {
803
- bucket: string;
804
803
  kind: "bucket";
804
+ bucket: string;
805
805
  bounds?: [number, number] | undefined;
806
806
  }>, z.ZodObject<{
807
807
  kind: z.ZodLiteral<"redacted">;
@@ -832,8 +832,8 @@ export declare const runDiffSchema: z.ZodObject<{
832
832
  shape: "email" | "phone" | "iban" | "uuid" | "code";
833
833
  length?: number | undefined;
834
834
  } | {
835
- bucket: string;
836
835
  kind: "bucket";
836
+ bucket: string;
837
837
  bounds?: [number, number] | undefined;
838
838
  } | {
839
839
  kind: "redacted";
@@ -856,8 +856,8 @@ export declare const runDiffSchema: z.ZodObject<{
856
856
  shape: "email" | "phone" | "iban" | "uuid" | "code";
857
857
  length?: number | undefined;
858
858
  } | {
859
- bucket: string;
860
859
  kind: "bucket";
860
+ bucket: string;
861
861
  bounds?: [number, number] | undefined;
862
862
  } | {
863
863
  kind: "redacted";
@@ -882,8 +882,8 @@ export declare const runDiffSchema: z.ZodObject<{
882
882
  shape: "email" | "phone" | "iban" | "uuid" | "code";
883
883
  length?: number | undefined;
884
884
  } | {
885
- bucket: string;
886
885
  kind: "bucket";
886
+ bucket: string;
887
887
  bounds?: [number, number] | undefined;
888
888
  } | {
889
889
  kind: "redacted";
@@ -906,8 +906,8 @@ export declare const runDiffSchema: z.ZodObject<{
906
906
  shape: "email" | "phone" | "iban" | "uuid" | "code";
907
907
  length?: number | undefined;
908
908
  } | {
909
- bucket: string;
910
909
  kind: "bucket";
910
+ bucket: string;
911
911
  bounds?: [number, number] | undefined;
912
912
  } | {
913
913
  kind: "redacted";
@@ -923,14 +923,14 @@ export declare const runDiffSchema: z.ZodObject<{
923
923
  name: z.ZodString;
924
924
  version: z.ZodOptional<z.ZodString>;
925
925
  }, "strict", z.ZodTypeAny, {
926
+ provider: string;
926
927
  name: string;
927
928
  bitId: string;
928
- provider: string;
929
929
  version?: string | undefined;
930
930
  }, {
931
+ provider: string;
931
932
  name: string;
932
933
  bitId: string;
933
- provider: string;
934
934
  version?: string | undefined;
935
935
  }>, "many">;
936
936
  documentOpsCount: z.ZodRecord<z.ZodString, z.ZodNumber>;
@@ -954,8 +954,8 @@ export declare const runDiffSchema: z.ZodObject<{
954
954
  shape: "email" | "phone" | "iban" | "uuid" | "code";
955
955
  length?: number | undefined;
956
956
  } | {
957
- bucket: string;
958
957
  kind: "bucket";
958
+ bucket: string;
959
959
  bounds?: [number, number] | undefined;
960
960
  } | {
961
961
  kind: "redacted";
@@ -978,8 +978,8 @@ export declare const runDiffSchema: z.ZodObject<{
978
978
  shape: "email" | "phone" | "iban" | "uuid" | "code";
979
979
  length?: number | undefined;
980
980
  } | {
981
- bucket: string;
982
981
  kind: "bucket";
982
+ bucket: string;
983
983
  bounds?: [number, number] | undefined;
984
984
  } | {
985
985
  kind: "redacted";
@@ -990,9 +990,9 @@ export declare const runDiffSchema: z.ZodObject<{
990
990
  bitsSkippedInactive: string[];
991
991
  bitsFailed: string[];
992
992
  secretRefsAccessed: {
993
+ provider: string;
993
994
  name: string;
994
995
  bitId: string;
995
- provider: string;
996
996
  version?: string | undefined;
997
997
  }[];
998
998
  documentOpsCount: Record<string, number>;
@@ -1016,8 +1016,8 @@ export declare const runDiffSchema: z.ZodObject<{
1016
1016
  shape: "email" | "phone" | "iban" | "uuid" | "code";
1017
1017
  length?: number | undefined;
1018
1018
  } | {
1019
- bucket: string;
1020
1019
  kind: "bucket";
1020
+ bucket: string;
1021
1021
  bounds?: [number, number] | undefined;
1022
1022
  } | {
1023
1023
  kind: "redacted";
@@ -1040,8 +1040,8 @@ export declare const runDiffSchema: z.ZodObject<{
1040
1040
  shape: "email" | "phone" | "iban" | "uuid" | "code";
1041
1041
  length?: number | undefined;
1042
1042
  } | {
1043
- bucket: string;
1044
1043
  kind: "bucket";
1044
+ bucket: string;
1045
1045
  bounds?: [number, number] | undefined;
1046
1046
  } | {
1047
1047
  kind: "redacted";
@@ -1052,9 +1052,9 @@ export declare const runDiffSchema: z.ZodObject<{
1052
1052
  bitsSkippedInactive: string[];
1053
1053
  bitsFailed: string[];
1054
1054
  secretRefsAccessed: {
1055
+ provider: string;
1055
1056
  name: string;
1056
1057
  bitId: string;
1057
- provider: string;
1058
1058
  version?: string | undefined;
1059
1059
  }[];
1060
1060
  documentOpsCount: Record<string, number>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roborean/spec",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"