@opencrvs/toolkit 1.8.0-rc.fd1df48 → 1.8.0-rc.fd49b3a

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 (30) hide show
  1. package/dist/commons/api/router.d.ts +1806 -922
  2. package/dist/commons/conditionals/conditionals.d.ts +0 -12
  3. package/dist/commons/events/ActionConfig.d.ts +7830 -2014
  4. package/dist/commons/events/ActionDocument.d.ts +1948 -904
  5. package/dist/commons/events/ActionInput.d.ts +1680 -780
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +82 -33
  7. package/dist/commons/events/CompositeFieldValue.d.ts +9 -9
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +1086 -684
  9. package/dist/commons/events/Draft.d.ts +142 -70
  10. package/dist/commons/events/EventConfig.d.ts +3649 -935
  11. package/dist/commons/events/EventDocument.d.ts +1236 -588
  12. package/dist/commons/events/EventIndex.d.ts +339 -120
  13. package/dist/commons/events/FieldConfig.d.ts +455 -30
  14. package/dist/commons/events/FieldType.d.ts +2 -1
  15. package/dist/commons/events/FieldTypeMapping.d.ts +57 -25
  16. package/dist/commons/events/FieldValue.d.ts +45 -16
  17. package/dist/commons/events/FormConfig.d.ts +3005 -557
  18. package/dist/commons/events/PageConfig.d.ts +646 -38
  19. package/dist/commons/events/User.d.ts +6 -3
  20. package/dist/commons/events/WorkqueueConfig.d.ts +1990 -1174
  21. package/dist/commons/events/defineConfig.d.ts +498 -34
  22. package/dist/commons/events/event.d.ts +10 -18
  23. package/dist/commons/events/field.d.ts +13 -1
  24. package/dist/commons/events/test.utils.d.ts +43 -19
  25. package/dist/commons/events/utils.d.ts +2543 -77
  26. package/dist/conditionals/index.js +2 -34
  27. package/dist/events/index.js +963 -801
  28. package/dist/scopes/index.d.ts +92 -6
  29. package/dist/scopes/index.js +38 -9
  30. package/package.json +3 -3
@@ -2,32 +2,41 @@ import { z } from 'zod';
2
2
  import { TranslationConfig } from './TranslationConfig';
3
3
  export declare const SearchQueryParams: z.ZodObject<{
4
4
  eventType: z.ZodOptional<z.ZodString>;
5
- }, "strip", z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6
- filename: z.ZodString;
5
+ }, "strip", z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
6
+ start: z.ZodString;
7
+ end: z.ZodString;
8
+ }, "strip", z.ZodTypeAny, {
9
+ start: string;
10
+ end: string;
11
+ }, {
12
+ start: string;
13
+ end: string;
14
+ }>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
15
+ path: z.ZodEffects<z.ZodString, string, string>;
7
16
  originalFilename: z.ZodString;
8
17
  type: z.ZodString;
9
18
  }, "strip", z.ZodTypeAny, {
10
19
  type: string;
11
- filename: string;
20
+ path: string;
12
21
  originalFilename: string;
13
22
  }, {
14
23
  type: string;
15
- filename: string;
24
+ path: string;
16
25
  originalFilename: string;
17
26
  }>, z.ZodArray<z.ZodObject<{
18
- filename: z.ZodString;
27
+ path: z.ZodEffects<z.ZodString, string, string>;
19
28
  originalFilename: z.ZodString;
20
29
  type: z.ZodString;
21
30
  option: z.ZodString;
22
31
  }, "strip", z.ZodTypeAny, {
23
32
  type: string;
24
33
  option: string;
25
- filename: string;
34
+ path: string;
26
35
  originalFilename: string;
27
36
  }, {
28
37
  type: string;
29
38
  option: string;
30
- filename: string;
39
+ path: string;
31
40
  originalFilename: string;
32
41
  }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
33
42
  country: z.ZodString;
@@ -141,32 +150,41 @@ export declare const SearchQueryParams: z.ZodObject<{
141
150
  middlename?: string | null | undefined;
142
151
  }>, z.ZodNull]>, z.ZodUndefined]>]>, z.objectOutputType<{
143
152
  eventType: z.ZodOptional<z.ZodString>;
144
- }, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
145
- filename: z.ZodString;
153
+ }, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
154
+ start: z.ZodString;
155
+ end: z.ZodString;
156
+ }, "strip", z.ZodTypeAny, {
157
+ start: string;
158
+ end: string;
159
+ }, {
160
+ start: string;
161
+ end: string;
162
+ }>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
163
+ path: z.ZodEffects<z.ZodString, string, string>;
146
164
  originalFilename: z.ZodString;
147
165
  type: z.ZodString;
148
166
  }, "strip", z.ZodTypeAny, {
149
167
  type: string;
150
- filename: string;
168
+ path: string;
151
169
  originalFilename: string;
152
170
  }, {
153
171
  type: string;
154
- filename: string;
172
+ path: string;
155
173
  originalFilename: string;
156
174
  }>, z.ZodArray<z.ZodObject<{
157
- filename: z.ZodString;
175
+ path: z.ZodEffects<z.ZodString, string, string>;
158
176
  originalFilename: z.ZodString;
159
177
  type: z.ZodString;
160
178
  option: z.ZodString;
161
179
  }, "strip", z.ZodTypeAny, {
162
180
  type: string;
163
181
  option: string;
164
- filename: string;
182
+ path: string;
165
183
  originalFilename: string;
166
184
  }, {
167
185
  type: string;
168
186
  option: string;
169
- filename: string;
187
+ path: string;
170
188
  originalFilename: string;
171
189
  }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
172
190
  country: z.ZodString;
@@ -280,32 +298,41 @@ export declare const SearchQueryParams: z.ZodObject<{
280
298
  middlename?: string | null | undefined;
281
299
  }>, z.ZodNull]>, z.ZodUndefined]>]>, "strip">, z.objectInputType<{
282
300
  eventType: z.ZodOptional<z.ZodString>;
283
- }, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
284
- filename: z.ZodString;
301
+ }, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
302
+ start: z.ZodString;
303
+ end: z.ZodString;
304
+ }, "strip", z.ZodTypeAny, {
305
+ start: string;
306
+ end: string;
307
+ }, {
308
+ start: string;
309
+ end: string;
310
+ }>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
311
+ path: z.ZodEffects<z.ZodString, string, string>;
285
312
  originalFilename: z.ZodString;
286
313
  type: z.ZodString;
287
314
  }, "strip", z.ZodTypeAny, {
288
315
  type: string;
289
- filename: string;
316
+ path: string;
290
317
  originalFilename: string;
291
318
  }, {
292
319
  type: string;
293
- filename: string;
320
+ path: string;
294
321
  originalFilename: string;
295
322
  }>, z.ZodArray<z.ZodObject<{
296
- filename: z.ZodString;
323
+ path: z.ZodEffects<z.ZodString, string, string>;
297
324
  originalFilename: z.ZodString;
298
325
  type: z.ZodString;
299
326
  option: z.ZodString;
300
327
  }, "strip", z.ZodTypeAny, {
301
328
  type: string;
302
329
  option: string;
303
- filename: string;
330
+ path: string;
304
331
  originalFilename: string;
305
332
  }, {
306
333
  type: string;
307
334
  option: string;
308
- filename: string;
335
+ path: string;
309
336
  originalFilename: string;
310
337
  }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
311
338
  country: z.ZodString;
@@ -472,6 +499,8 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
472
499
  }, {
473
500
  fieldId: z.ZodString;
474
501
  fieldType: z.ZodLiteral<"field">;
502
+ alternateFieldIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
503
+ excludeInSearchQuery: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
475
504
  }>, "strip", z.ZodTypeAny, {
476
505
  config: {
477
506
  type: "exact" | "fuzzy" | "range";
@@ -497,6 +526,8 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
497
526
  message: TranslationConfig;
498
527
  validator: import(".").JSONSchema;
499
528
  }[] | undefined;
529
+ alternateFieldIds?: string[] | undefined;
530
+ excludeInSearchQuery?: boolean | undefined;
500
531
  }, {
501
532
  config: {
502
533
  type: "exact" | "fuzzy" | "range";
@@ -534,8 +565,10 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
534
565
  };
535
566
  validator: import(".").JSONSchema;
536
567
  }[] | undefined;
568
+ alternateFieldIds?: string[] | undefined;
569
+ excludeInSearchQuery?: boolean | undefined;
537
570
  }>;
538
- export declare const EventFieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
571
+ export declare const EventFieldId: z.ZodEnum<["trackingId", "status", "legalStatuses.REGISTERED.acceptedAt", "legalStatuses.REGISTERED.createdAtLocation", "updatedAt"]>;
539
572
  export type EventFieldId = z.infer<typeof EventFieldId>;
540
573
  export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
541
574
  config: z.ZodObject<{
@@ -588,13 +621,13 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
588
621
  validator: import(".").JSONSchema;
589
622
  }>, "many">>>;
590
623
  }, {
591
- fieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
624
+ fieldId: z.ZodEnum<["trackingId", "status", "legalStatuses.REGISTERED.acceptedAt", "legalStatuses.REGISTERED.createdAtLocation", "updatedAt"]>;
592
625
  fieldType: z.ZodLiteral<"event">;
593
626
  }>, "strip", z.ZodTypeAny, {
594
627
  config: {
595
628
  type: "exact" | "fuzzy" | "range";
596
629
  };
597
- fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
630
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
598
631
  fieldType: "event";
599
632
  options?: {
600
633
  value: string;
@@ -619,7 +652,7 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
619
652
  config: {
620
653
  type: "exact" | "fuzzy" | "range";
621
654
  };
622
- fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
655
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
623
656
  fieldType: "event";
624
657
  options?: {
625
658
  value: string;
@@ -706,6 +739,8 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
706
739
  }, {
707
740
  fieldId: z.ZodString;
708
741
  fieldType: z.ZodLiteral<"field">;
742
+ alternateFieldIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
743
+ excludeInSearchQuery: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
709
744
  }>, "strip", z.ZodTypeAny, {
710
745
  config: {
711
746
  type: "exact" | "fuzzy" | "range";
@@ -731,6 +766,8 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
731
766
  message: TranslationConfig;
732
767
  validator: import(".").JSONSchema;
733
768
  }[] | undefined;
769
+ alternateFieldIds?: string[] | undefined;
770
+ excludeInSearchQuery?: boolean | undefined;
734
771
  }, {
735
772
  config: {
736
773
  type: "exact" | "fuzzy" | "range";
@@ -768,6 +805,8 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
768
805
  };
769
806
  validator: import(".").JSONSchema;
770
807
  }[] | undefined;
808
+ alternateFieldIds?: string[] | undefined;
809
+ excludeInSearchQuery?: boolean | undefined;
771
810
  }>, z.ZodObject<z.objectUtil.extendShape<{
772
811
  config: z.ZodObject<{
773
812
  type: z.ZodEnum<["fuzzy", "exact", "range"]>;
@@ -819,13 +858,13 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
819
858
  validator: import(".").JSONSchema;
820
859
  }>, "many">>>;
821
860
  }, {
822
- fieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
861
+ fieldId: z.ZodEnum<["trackingId", "status", "legalStatuses.REGISTERED.acceptedAt", "legalStatuses.REGISTERED.createdAtLocation", "updatedAt"]>;
823
862
  fieldType: z.ZodLiteral<"event">;
824
863
  }>, "strip", z.ZodTypeAny, {
825
864
  config: {
826
865
  type: "exact" | "fuzzy" | "range";
827
866
  };
828
- fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
867
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
829
868
  fieldType: "event";
830
869
  options?: {
831
870
  value: string;
@@ -850,7 +889,7 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
850
889
  config: {
851
890
  type: "exact" | "fuzzy" | "range";
852
891
  };
853
- fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
892
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
854
893
  fieldType: "event";
855
894
  options?: {
856
895
  value: string;
@@ -944,6 +983,8 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
944
983
  }, {
945
984
  fieldId: z.ZodString;
946
985
  fieldType: z.ZodLiteral<"field">;
986
+ alternateFieldIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
987
+ excludeInSearchQuery: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
947
988
  }>, "strip", z.ZodTypeAny, {
948
989
  config: {
949
990
  type: "exact" | "fuzzy" | "range";
@@ -969,6 +1010,8 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
969
1010
  message: TranslationConfig;
970
1011
  validator: import(".").JSONSchema;
971
1012
  }[] | undefined;
1013
+ alternateFieldIds?: string[] | undefined;
1014
+ excludeInSearchQuery?: boolean | undefined;
972
1015
  }, {
973
1016
  config: {
974
1017
  type: "exact" | "fuzzy" | "range";
@@ -1006,6 +1049,8 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
1006
1049
  };
1007
1050
  validator: import(".").JSONSchema;
1008
1051
  }[] | undefined;
1052
+ alternateFieldIds?: string[] | undefined;
1053
+ excludeInSearchQuery?: boolean | undefined;
1009
1054
  }>, z.ZodObject<z.objectUtil.extendShape<{
1010
1055
  config: z.ZodObject<{
1011
1056
  type: z.ZodEnum<["fuzzy", "exact", "range"]>;
@@ -1057,13 +1102,13 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
1057
1102
  validator: import(".").JSONSchema;
1058
1103
  }>, "many">>>;
1059
1104
  }, {
1060
- fieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
1105
+ fieldId: z.ZodEnum<["trackingId", "status", "legalStatuses.REGISTERED.acceptedAt", "legalStatuses.REGISTERED.createdAtLocation", "updatedAt"]>;
1061
1106
  fieldType: z.ZodLiteral<"event">;
1062
1107
  }>, "strip", z.ZodTypeAny, {
1063
1108
  config: {
1064
1109
  type: "exact" | "fuzzy" | "range";
1065
1110
  };
1066
- fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
1111
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
1067
1112
  fieldType: "event";
1068
1113
  options?: {
1069
1114
  value: string;
@@ -1088,7 +1133,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
1088
1133
  config: {
1089
1134
  type: "exact" | "fuzzy" | "range";
1090
1135
  };
1091
- fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
1136
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
1092
1137
  fieldType: "event";
1093
1138
  options?: {
1094
1139
  value: string;
@@ -1149,11 +1194,13 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
1149
1194
  message: TranslationConfig;
1150
1195
  validator: import(".").JSONSchema;
1151
1196
  }[] | undefined;
1197
+ alternateFieldIds?: string[] | undefined;
1198
+ excludeInSearchQuery?: boolean | undefined;
1152
1199
  } | {
1153
1200
  config: {
1154
1201
  type: "exact" | "fuzzy" | "range";
1155
1202
  };
1156
- fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
1203
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
1157
1204
  fieldType: "event";
1158
1205
  options?: {
1159
1206
  value: string;
@@ -1218,11 +1265,13 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
1218
1265
  };
1219
1266
  validator: import(".").JSONSchema;
1220
1267
  }[] | undefined;
1268
+ alternateFieldIds?: string[] | undefined;
1269
+ excludeInSearchQuery?: boolean | undefined;
1221
1270
  } | {
1222
1271
  config: {
1223
1272
  type: "exact" | "fuzzy" | "range";
1224
1273
  };
1225
- fieldId: "status" | "updatedAt" | "trackingId" | "legalStatus.REGISTERED.createdAt" | "legalStatus.REGISTERED.createdAtLocation";
1274
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
1226
1275
  fieldType: "event";
1227
1276
  options?: {
1228
1277
  value: string;
@@ -11,16 +11,16 @@ export declare const AddressType: {
11
11
  readonly INTERNATIONAL: "INTERNATIONAL";
12
12
  };
13
13
  export declare const FileFieldValue: z.ZodObject<{
14
- filename: z.ZodString;
14
+ path: z.ZodEffects<z.ZodString, string, string>;
15
15
  originalFilename: z.ZodString;
16
16
  type: z.ZodString;
17
17
  }, "strip", z.ZodTypeAny, {
18
18
  type: string;
19
- filename: string;
19
+ path: string;
20
20
  originalFilename: string;
21
21
  }, {
22
22
  type: string;
23
- filename: string;
23
+ path: string;
24
24
  originalFilename: string;
25
25
  }>;
26
26
  export type FileFieldValue = z.infer<typeof FileFieldValue>;
@@ -409,36 +409,36 @@ export declare const AddressFieldUpdateValue: z.ZodUnion<[z.ZodDiscriminatedUnio
409
409
  }>]>;
410
410
  export type AddressFieldValue = z.infer<typeof AddressFieldValue>;
411
411
  export declare const FileFieldValueWithOption: z.ZodObject<{
412
- filename: z.ZodString;
412
+ path: z.ZodEffects<z.ZodString, string, string>;
413
413
  originalFilename: z.ZodString;
414
414
  type: z.ZodString;
415
415
  option: z.ZodString;
416
416
  }, "strip", z.ZodTypeAny, {
417
417
  type: string;
418
418
  option: string;
419
- filename: string;
419
+ path: string;
420
420
  originalFilename: string;
421
421
  }, {
422
422
  type: string;
423
423
  option: string;
424
- filename: string;
424
+ path: string;
425
425
  originalFilename: string;
426
426
  }>;
427
427
  export type FileFieldValueWithOption = z.infer<typeof FileFieldValueWithOption>;
428
428
  export declare const FileFieldWithOptionValue: z.ZodArray<z.ZodObject<{
429
- filename: z.ZodString;
429
+ path: z.ZodEffects<z.ZodString, string, string>;
430
430
  originalFilename: z.ZodString;
431
431
  type: z.ZodString;
432
432
  option: z.ZodString;
433
433
  }, "strip", z.ZodTypeAny, {
434
434
  type: string;
435
435
  option: string;
436
- filename: string;
436
+ path: string;
437
437
  originalFilename: string;
438
438
  }, {
439
439
  type: string;
440
440
  option: string;
441
- filename: string;
441
+ path: string;
442
442
  originalFilename: string;
443
443
  }>, "many">;
444
444
  export type FileFieldWithOptionValue = z.infer<typeof FileFieldWithOptionValue>;