@elek-io/core 0.15.0 → 0.15.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.
@@ -1,6 +1,6 @@
1
1
  import { z } from '@hono/zod-openapi';
2
- import z$1, { z as z$2 } from 'zod';
3
2
  import { QueryOptions } from 'winston';
3
+ import { z as z$1 } from 'zod';
4
4
  import Fs from 'fs-extra';
5
5
 
6
6
  declare const assetFileSchema: z.ZodObject<{
@@ -165,7 +165,7 @@ type CountAssetsProps = z.infer<typeof countAssetsSchema>;
165
165
  *
166
166
  * @see https://www.deepl.com/docs-api/other-functions/listing-supported-languages/
167
167
  */
168
- declare const supportedLanguageSchema: z$1.ZodEnum<{
168
+ declare const supportedLanguageSchema: z.ZodEnum<{
169
169
  bg: "bg";
170
170
  cs: "cs";
171
171
  da: "da";
@@ -191,14 +191,14 @@ declare const supportedLanguageSchema: z$1.ZodEnum<{
191
191
  sv: "sv";
192
192
  zh: "zh";
193
193
  }>;
194
- type SupportedLanguage = z$1.infer<typeof supportedLanguageSchema>;
195
- declare const supportedIconSchema: z$1.ZodEnum<{
194
+ type SupportedLanguage = z.infer<typeof supportedLanguageSchema>;
195
+ declare const supportedIconSchema: z.ZodEnum<{
196
196
  home: "home";
197
197
  plus: "plus";
198
198
  foobar: "foobar";
199
199
  }>;
200
- type SupportedIcon = z$1.infer<typeof supportedIconSchema>;
201
- declare const objectTypeSchema: z$1.ZodEnum<{
200
+ type SupportedIcon = z.infer<typeof supportedIconSchema>;
201
+ declare const objectTypeSchema: z.ZodEnum<{
202
202
  project: "project";
203
203
  asset: "asset";
204
204
  collection: "collection";
@@ -206,21 +206,21 @@ declare const objectTypeSchema: z$1.ZodEnum<{
206
206
  value: "value";
207
207
  sharedValue: "sharedValue";
208
208
  }>;
209
- type ObjectType = z$1.infer<typeof objectTypeSchema>;
210
- declare const logLevelSchema: z$1.ZodEnum<{
209
+ type ObjectType = z.infer<typeof objectTypeSchema>;
210
+ declare const logLevelSchema: z.ZodEnum<{
211
211
  error: "error";
212
212
  warn: "warn";
213
213
  info: "info";
214
214
  debug: "debug";
215
215
  }>;
216
- declare const versionSchema: z$1.ZodString;
217
- type Version = z$1.infer<typeof versionSchema>;
218
- declare const uuidSchema: z$1.ZodUUID;
219
- type Uuid = z$1.infer<typeof uuidSchema>;
216
+ declare const versionSchema: z.ZodString;
217
+ type Version = z.infer<typeof versionSchema>;
218
+ declare const uuidSchema: z.ZodUUID;
219
+ type Uuid = z.infer<typeof uuidSchema>;
220
220
  /**
221
221
  * A record that can be used to translate a string value into all supported languages
222
222
  */
223
- declare const translatableStringSchema: z$1.ZodRecord<z$1.ZodEnum<{
223
+ declare const translatableStringSchema: z.ZodRecord<z.ZodEnum<{
224
224
  bg: "bg";
225
225
  cs: "cs";
226
226
  da: "da";
@@ -245,12 +245,12 @@ declare const translatableStringSchema: z$1.ZodRecord<z$1.ZodEnum<{
245
245
  sl: "sl";
246
246
  sv: "sv";
247
247
  zh: "zh";
248
- }> & z$1.z.core.$partial, z$1.ZodString>;
249
- type TranslatableString = z$1.infer<typeof translatableStringSchema>;
248
+ }> & z.core.$partial, z.ZodString>;
249
+ type TranslatableString = z.infer<typeof translatableStringSchema>;
250
250
  /**
251
251
  * A record that can be used to translate a number value into all supported languages
252
252
  */
253
- declare const translatableNumberSchema: z$1.ZodRecord<z$1.ZodEnum<{
253
+ declare const translatableNumberSchema: z.ZodRecord<z.ZodEnum<{
254
254
  bg: "bg";
255
255
  cs: "cs";
256
256
  da: "da";
@@ -275,12 +275,12 @@ declare const translatableNumberSchema: z$1.ZodRecord<z$1.ZodEnum<{
275
275
  sl: "sl";
276
276
  sv: "sv";
277
277
  zh: "zh";
278
- }> & z$1.z.core.$partial, z$1.ZodNumber>;
279
- type TranslatableNumber = z$1.infer<typeof translatableNumberSchema>;
278
+ }> & z.core.$partial, z.ZodNumber>;
279
+ type TranslatableNumber = z.infer<typeof translatableNumberSchema>;
280
280
  /**
281
281
  * A record that can be used to translate a boolean value into all supported languages
282
282
  */
283
- declare const translatableBooleanSchema: z$1.ZodRecord<z$1.ZodEnum<{
283
+ declare const translatableBooleanSchema: z.ZodRecord<z.ZodEnum<{
284
284
  bg: "bg";
285
285
  cs: "cs";
286
286
  da: "da";
@@ -305,9 +305,9 @@ declare const translatableBooleanSchema: z$1.ZodRecord<z$1.ZodEnum<{
305
305
  sl: "sl";
306
306
  sv: "sv";
307
307
  zh: "zh";
308
- }> & z$1.z.core.$partial, z$1.ZodBoolean>;
309
- type TranslatableBoolean = z$1.infer<typeof translatableBooleanSchema>;
310
- declare function translatableArrayOf<T extends z$1.ZodTypeAny>(schema: T): z$1.ZodRecord<z$1.ZodEnum<{
308
+ }> & z.core.$partial, z.ZodBoolean>;
309
+ type TranslatableBoolean = z.infer<typeof translatableBooleanSchema>;
310
+ declare function translatableArrayOf<T extends z.ZodTypeAny>(schema: T): z.ZodRecord<z.ZodEnum<{
311
311
  bg: "bg";
312
312
  cs: "cs";
313
313
  da: "da";
@@ -332,7 +332,7 @@ declare function translatableArrayOf<T extends z$1.ZodTypeAny>(schema: T): z$1.Z
332
332
  sl: "sl";
333
333
  sv: "sv";
334
334
  zh: "zh";
335
- }> & z$1.z.core.$partial, z$1.ZodArray<T>>;
335
+ }> & z.core.$partial, z.ZodArray<T>>;
336
336
 
337
337
  declare const collectionFileSchema: z.ZodObject<{
338
338
  id: z.ZodReadonly<z.ZodUUID>;
@@ -5756,34 +5756,34 @@ type CountCollectionsProps = z.infer<typeof countCollectionsSchema>;
5756
5756
  /**
5757
5757
  * Options that can be passed to elek.io core
5758
5758
  */
5759
- declare const elekIoCoreOptionsSchema: z$2.ZodObject<{
5760
- log: z$2.ZodObject<{
5761
- level: z$2.ZodEnum<{
5759
+ declare const elekIoCoreOptionsSchema: z.ZodObject<{
5760
+ log: z.ZodObject<{
5761
+ level: z.ZodEnum<{
5762
5762
  error: "error";
5763
5763
  warn: "warn";
5764
5764
  info: "info";
5765
5765
  debug: "debug";
5766
5766
  }>;
5767
- }, z$2.core.$strip>;
5768
- file: z$2.ZodObject<{
5769
- cache: z$2.ZodBoolean;
5770
- }, z$2.core.$strip>;
5771
- }, z$2.core.$strip>;
5772
- type ElekIoCoreOptions = z$2.infer<typeof elekIoCoreOptionsSchema>;
5773
- declare const constructorElekIoCoreSchema: z$2.ZodOptional<z$2.ZodObject<{
5774
- log: z$2.ZodOptional<z$2.ZodObject<{
5775
- level: z$2.ZodEnum<{
5767
+ }, z.core.$strip>;
5768
+ file: z.ZodObject<{
5769
+ cache: z.ZodBoolean;
5770
+ }, z.core.$strip>;
5771
+ }, z.core.$strip>;
5772
+ type ElekIoCoreOptions = z.infer<typeof elekIoCoreOptionsSchema>;
5773
+ declare const constructorElekIoCoreSchema: z.ZodOptional<z.ZodObject<{
5774
+ log: z.ZodOptional<z.ZodObject<{
5775
+ level: z.ZodEnum<{
5776
5776
  error: "error";
5777
5777
  warn: "warn";
5778
5778
  info: "info";
5779
5779
  debug: "debug";
5780
5780
  }>;
5781
- }, z$2.core.$strip>>;
5782
- file: z$2.ZodOptional<z$2.ZodObject<{
5783
- cache: z$2.ZodBoolean;
5784
- }, z$2.core.$strip>>;
5785
- }, z$2.core.$strip>>;
5786
- type ConstructorElekIoCoreProps = z$2.infer<typeof constructorElekIoCoreSchema>;
5781
+ }, z.core.$strip>>;
5782
+ file: z.ZodOptional<z.ZodObject<{
5783
+ cache: z.ZodBoolean;
5784
+ }, z.core.$strip>>;
5785
+ }, z.core.$strip>>;
5786
+ type ConstructorElekIoCoreProps = z.infer<typeof constructorElekIoCoreSchema>;
5787
5787
 
5788
5788
  declare const entryFileSchema: z.ZodObject<{
5789
5789
  id: z.ZodReadonly<z.ZodUUID>;
@@ -6561,7 +6561,7 @@ declare const countEntriesSchema: z.ZodObject<{
6561
6561
  }, z.core.$strip>;
6562
6562
  type CountEntriesProps = z.infer<typeof countEntriesSchema>;
6563
6563
 
6564
- declare const FieldTypeSchema: z$2.ZodEnum<{
6564
+ declare const FieldTypeSchema: z.ZodEnum<{
6565
6565
  number: "number";
6566
6566
  asset: "asset";
6567
6567
  entry: "entry";
@@ -6577,16 +6577,16 @@ declare const FieldTypeSchema: z$2.ZodEnum<{
6577
6577
  range: "range";
6578
6578
  toggle: "toggle";
6579
6579
  }>;
6580
- type FieldType = z$2.infer<typeof FieldTypeSchema>;
6581
- declare const FieldWidthSchema: z$2.ZodEnum<{
6580
+ type FieldType = z.infer<typeof FieldTypeSchema>;
6581
+ declare const FieldWidthSchema: z.ZodEnum<{
6582
6582
  3: "3";
6583
6583
  4: "4";
6584
6584
  6: "6";
6585
6585
  12: "12";
6586
6586
  }>;
6587
- declare const FieldDefinitionBaseSchema: z$2.ZodObject<{
6588
- id: z$2.ZodReadonly<z$2.ZodUUID>;
6589
- label: z$2.ZodRecord<z$2.ZodEnum<{
6587
+ declare const FieldDefinitionBaseSchema: z.ZodObject<{
6588
+ id: z.ZodReadonly<z.ZodUUID>;
6589
+ label: z.ZodRecord<z.ZodEnum<{
6590
6590
  bg: "bg";
6591
6591
  cs: "cs";
6592
6592
  da: "da";
@@ -6611,8 +6611,8 @@ declare const FieldDefinitionBaseSchema: z$2.ZodObject<{
6611
6611
  sl: "sl";
6612
6612
  sv: "sv";
6613
6613
  zh: "zh";
6614
- }> & z$2.core.$partial, z$2.ZodString>;
6615
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
6614
+ }> & z.core.$partial, z.ZodString>;
6615
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
6616
6616
  bg: "bg";
6617
6617
  cs: "cs";
6618
6618
  da: "da";
@@ -6637,24 +6637,24 @@ declare const FieldDefinitionBaseSchema: z$2.ZodObject<{
6637
6637
  sl: "sl";
6638
6638
  sv: "sv";
6639
6639
  zh: "zh";
6640
- }> & z$2.core.$partial, z$2.ZodString>>;
6641
- isRequired: z$2.ZodBoolean;
6642
- isDisabled: z$2.ZodBoolean;
6643
- isUnique: z$2.ZodBoolean;
6644
- inputWidth: z$2.ZodEnum<{
6640
+ }> & z.core.$partial, z.ZodString>>;
6641
+ isRequired: z.ZodBoolean;
6642
+ isDisabled: z.ZodBoolean;
6643
+ isUnique: z.ZodBoolean;
6644
+ inputWidth: z.ZodEnum<{
6645
6645
  3: "3";
6646
6646
  4: "4";
6647
6647
  6: "6";
6648
6648
  12: "12";
6649
6649
  }>;
6650
- }, z$2.core.$strip>;
6651
- type FieldDefinitionBase = z$2.infer<typeof FieldDefinitionBaseSchema>;
6650
+ }, z.core.$strip>;
6651
+ type FieldDefinitionBase = z.infer<typeof FieldDefinitionBaseSchema>;
6652
6652
  /**
6653
6653
  * String based Field definitions
6654
6654
  */
6655
- declare const StringFieldDefinitionBaseSchema: z$2.ZodObject<{
6656
- id: z$2.ZodReadonly<z$2.ZodUUID>;
6657
- label: z$2.ZodRecord<z$2.ZodEnum<{
6655
+ declare const StringFieldDefinitionBaseSchema: z.ZodObject<{
6656
+ id: z.ZodReadonly<z.ZodUUID>;
6657
+ label: z.ZodRecord<z.ZodEnum<{
6658
6658
  bg: "bg";
6659
6659
  cs: "cs";
6660
6660
  da: "da";
@@ -6679,8 +6679,8 @@ declare const StringFieldDefinitionBaseSchema: z$2.ZodObject<{
6679
6679
  sl: "sl";
6680
6680
  sv: "sv";
6681
6681
  zh: "zh";
6682
- }> & z$2.core.$partial, z$2.ZodString>;
6683
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
6682
+ }> & z.core.$partial, z.ZodString>;
6683
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
6684
6684
  bg: "bg";
6685
6685
  cs: "cs";
6686
6686
  da: "da";
@@ -6705,22 +6705,22 @@ declare const StringFieldDefinitionBaseSchema: z$2.ZodObject<{
6705
6705
  sl: "sl";
6706
6706
  sv: "sv";
6707
6707
  zh: "zh";
6708
- }> & z$2.core.$partial, z$2.ZodString>>;
6709
- isRequired: z$2.ZodBoolean;
6710
- isDisabled: z$2.ZodBoolean;
6711
- isUnique: z$2.ZodBoolean;
6712
- inputWidth: z$2.ZodEnum<{
6708
+ }> & z.core.$partial, z.ZodString>>;
6709
+ isRequired: z.ZodBoolean;
6710
+ isDisabled: z.ZodBoolean;
6711
+ isUnique: z.ZodBoolean;
6712
+ inputWidth: z.ZodEnum<{
6713
6713
  3: "3";
6714
6714
  4: "4";
6715
6715
  6: "6";
6716
6716
  12: "12";
6717
6717
  }>;
6718
- valueType: z$2.ZodLiteral<"string">;
6719
- defaultValue: z$2.ZodNullable<z$2.ZodString>;
6720
- }, z$2.core.$strip>;
6721
- declare const textFieldDefinitionSchema: z$2.ZodObject<{
6722
- id: z$2.ZodReadonly<z$2.ZodUUID>;
6723
- label: z$2.ZodRecord<z$2.ZodEnum<{
6718
+ valueType: z.ZodLiteral<"string">;
6719
+ defaultValue: z.ZodNullable<z.ZodString>;
6720
+ }, z.core.$strip>;
6721
+ declare const textFieldDefinitionSchema: z.ZodObject<{
6722
+ id: z.ZodReadonly<z.ZodUUID>;
6723
+ label: z.ZodRecord<z.ZodEnum<{
6724
6724
  bg: "bg";
6725
6725
  cs: "cs";
6726
6726
  da: "da";
@@ -6745,8 +6745,8 @@ declare const textFieldDefinitionSchema: z$2.ZodObject<{
6745
6745
  sl: "sl";
6746
6746
  sv: "sv";
6747
6747
  zh: "zh";
6748
- }> & z$2.core.$partial, z$2.ZodString>;
6749
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
6748
+ }> & z.core.$partial, z.ZodString>;
6749
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
6750
6750
  bg: "bg";
6751
6751
  cs: "cs";
6752
6752
  da: "da";
@@ -6771,26 +6771,26 @@ declare const textFieldDefinitionSchema: z$2.ZodObject<{
6771
6771
  sl: "sl";
6772
6772
  sv: "sv";
6773
6773
  zh: "zh";
6774
- }> & z$2.core.$partial, z$2.ZodString>>;
6775
- isRequired: z$2.ZodBoolean;
6776
- isDisabled: z$2.ZodBoolean;
6777
- isUnique: z$2.ZodBoolean;
6778
- inputWidth: z$2.ZodEnum<{
6774
+ }> & z.core.$partial, z.ZodString>>;
6775
+ isRequired: z.ZodBoolean;
6776
+ isDisabled: z.ZodBoolean;
6777
+ isUnique: z.ZodBoolean;
6778
+ inputWidth: z.ZodEnum<{
6779
6779
  3: "3";
6780
6780
  4: "4";
6781
6781
  6: "6";
6782
6782
  12: "12";
6783
6783
  }>;
6784
- valueType: z$2.ZodLiteral<"string">;
6785
- defaultValue: z$2.ZodNullable<z$2.ZodString>;
6786
- fieldType: z$2.ZodLiteral<"text">;
6787
- min: z$2.ZodNullable<z$2.ZodNumber>;
6788
- max: z$2.ZodNullable<z$2.ZodNumber>;
6789
- }, z$2.core.$strip>;
6790
- type TextFieldDefinition = z$2.infer<typeof textFieldDefinitionSchema>;
6791
- declare const textareaFieldDefinitionSchema: z$2.ZodObject<{
6792
- id: z$2.ZodReadonly<z$2.ZodUUID>;
6793
- label: z$2.ZodRecord<z$2.ZodEnum<{
6784
+ valueType: z.ZodLiteral<"string">;
6785
+ defaultValue: z.ZodNullable<z.ZodString>;
6786
+ fieldType: z.ZodLiteral<"text">;
6787
+ min: z.ZodNullable<z.ZodNumber>;
6788
+ max: z.ZodNullable<z.ZodNumber>;
6789
+ }, z.core.$strip>;
6790
+ type TextFieldDefinition = z.infer<typeof textFieldDefinitionSchema>;
6791
+ declare const textareaFieldDefinitionSchema: z.ZodObject<{
6792
+ id: z.ZodReadonly<z.ZodUUID>;
6793
+ label: z.ZodRecord<z.ZodEnum<{
6794
6794
  bg: "bg";
6795
6795
  cs: "cs";
6796
6796
  da: "da";
@@ -6815,8 +6815,8 @@ declare const textareaFieldDefinitionSchema: z$2.ZodObject<{
6815
6815
  sl: "sl";
6816
6816
  sv: "sv";
6817
6817
  zh: "zh";
6818
- }> & z$2.core.$partial, z$2.ZodString>;
6819
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
6818
+ }> & z.core.$partial, z.ZodString>;
6819
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
6820
6820
  bg: "bg";
6821
6821
  cs: "cs";
6822
6822
  da: "da";
@@ -6841,26 +6841,26 @@ declare const textareaFieldDefinitionSchema: z$2.ZodObject<{
6841
6841
  sl: "sl";
6842
6842
  sv: "sv";
6843
6843
  zh: "zh";
6844
- }> & z$2.core.$partial, z$2.ZodString>>;
6845
- isRequired: z$2.ZodBoolean;
6846
- isDisabled: z$2.ZodBoolean;
6847
- isUnique: z$2.ZodBoolean;
6848
- inputWidth: z$2.ZodEnum<{
6844
+ }> & z.core.$partial, z.ZodString>>;
6845
+ isRequired: z.ZodBoolean;
6846
+ isDisabled: z.ZodBoolean;
6847
+ isUnique: z.ZodBoolean;
6848
+ inputWidth: z.ZodEnum<{
6849
6849
  3: "3";
6850
6850
  4: "4";
6851
6851
  6: "6";
6852
6852
  12: "12";
6853
6853
  }>;
6854
- valueType: z$2.ZodLiteral<"string">;
6855
- defaultValue: z$2.ZodNullable<z$2.ZodString>;
6856
- fieldType: z$2.ZodLiteral<"textarea">;
6857
- min: z$2.ZodNullable<z$2.ZodNumber>;
6858
- max: z$2.ZodNullable<z$2.ZodNumber>;
6859
- }, z$2.core.$strip>;
6860
- type TextareaFieldDefinition = z$2.infer<typeof textareaFieldDefinitionSchema>;
6861
- declare const emailFieldDefinitionSchema: z$2.ZodObject<{
6862
- id: z$2.ZodReadonly<z$2.ZodUUID>;
6863
- label: z$2.ZodRecord<z$2.ZodEnum<{
6854
+ valueType: z.ZodLiteral<"string">;
6855
+ defaultValue: z.ZodNullable<z.ZodString>;
6856
+ fieldType: z.ZodLiteral<"textarea">;
6857
+ min: z.ZodNullable<z.ZodNumber>;
6858
+ max: z.ZodNullable<z.ZodNumber>;
6859
+ }, z.core.$strip>;
6860
+ type TextareaFieldDefinition = z.infer<typeof textareaFieldDefinitionSchema>;
6861
+ declare const emailFieldDefinitionSchema: z.ZodObject<{
6862
+ id: z.ZodReadonly<z.ZodUUID>;
6863
+ label: z.ZodRecord<z.ZodEnum<{
6864
6864
  bg: "bg";
6865
6865
  cs: "cs";
6866
6866
  da: "da";
@@ -6885,8 +6885,8 @@ declare const emailFieldDefinitionSchema: z$2.ZodObject<{
6885
6885
  sl: "sl";
6886
6886
  sv: "sv";
6887
6887
  zh: "zh";
6888
- }> & z$2.core.$partial, z$2.ZodString>;
6889
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
6888
+ }> & z.core.$partial, z.ZodString>;
6889
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
6890
6890
  bg: "bg";
6891
6891
  cs: "cs";
6892
6892
  da: "da";
@@ -6911,24 +6911,24 @@ declare const emailFieldDefinitionSchema: z$2.ZodObject<{
6911
6911
  sl: "sl";
6912
6912
  sv: "sv";
6913
6913
  zh: "zh";
6914
- }> & z$2.core.$partial, z$2.ZodString>>;
6915
- isRequired: z$2.ZodBoolean;
6916
- isDisabled: z$2.ZodBoolean;
6917
- isUnique: z$2.ZodBoolean;
6918
- inputWidth: z$2.ZodEnum<{
6914
+ }> & z.core.$partial, z.ZodString>>;
6915
+ isRequired: z.ZodBoolean;
6916
+ isDisabled: z.ZodBoolean;
6917
+ isUnique: z.ZodBoolean;
6918
+ inputWidth: z.ZodEnum<{
6919
6919
  3: "3";
6920
6920
  4: "4";
6921
6921
  6: "6";
6922
6922
  12: "12";
6923
6923
  }>;
6924
- valueType: z$2.ZodLiteral<"string">;
6925
- fieldType: z$2.ZodLiteral<"email">;
6926
- defaultValue: z$2.ZodNullable<z$2.ZodEmail>;
6927
- }, z$2.core.$strip>;
6928
- type EmailFieldDefinition = z$2.infer<typeof emailFieldDefinitionSchema>;
6929
- declare const urlFieldDefinitionSchema: z$2.ZodObject<{
6930
- id: z$2.ZodReadonly<z$2.ZodUUID>;
6931
- label: z$2.ZodRecord<z$2.ZodEnum<{
6924
+ valueType: z.ZodLiteral<"string">;
6925
+ fieldType: z.ZodLiteral<"email">;
6926
+ defaultValue: z.ZodNullable<z.ZodEmail>;
6927
+ }, z.core.$strip>;
6928
+ type EmailFieldDefinition = z.infer<typeof emailFieldDefinitionSchema>;
6929
+ declare const urlFieldDefinitionSchema: z.ZodObject<{
6930
+ id: z.ZodReadonly<z.ZodUUID>;
6931
+ label: z.ZodRecord<z.ZodEnum<{
6932
6932
  bg: "bg";
6933
6933
  cs: "cs";
6934
6934
  da: "da";
@@ -6953,8 +6953,8 @@ declare const urlFieldDefinitionSchema: z$2.ZodObject<{
6953
6953
  sl: "sl";
6954
6954
  sv: "sv";
6955
6955
  zh: "zh";
6956
- }> & z$2.core.$partial, z$2.ZodString>;
6957
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
6956
+ }> & z.core.$partial, z.ZodString>;
6957
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
6958
6958
  bg: "bg";
6959
6959
  cs: "cs";
6960
6960
  da: "da";
@@ -6979,24 +6979,24 @@ declare const urlFieldDefinitionSchema: z$2.ZodObject<{
6979
6979
  sl: "sl";
6980
6980
  sv: "sv";
6981
6981
  zh: "zh";
6982
- }> & z$2.core.$partial, z$2.ZodString>>;
6983
- isRequired: z$2.ZodBoolean;
6984
- isDisabled: z$2.ZodBoolean;
6985
- isUnique: z$2.ZodBoolean;
6986
- inputWidth: z$2.ZodEnum<{
6982
+ }> & z.core.$partial, z.ZodString>>;
6983
+ isRequired: z.ZodBoolean;
6984
+ isDisabled: z.ZodBoolean;
6985
+ isUnique: z.ZodBoolean;
6986
+ inputWidth: z.ZodEnum<{
6987
6987
  3: "3";
6988
6988
  4: "4";
6989
6989
  6: "6";
6990
6990
  12: "12";
6991
6991
  }>;
6992
- valueType: z$2.ZodLiteral<"string">;
6993
- fieldType: z$2.ZodLiteral<"url">;
6994
- defaultValue: z$2.ZodNullable<z$2.ZodURL>;
6995
- }, z$2.core.$strip>;
6996
- type UrlFieldDefinition = z$2.infer<typeof urlFieldDefinitionSchema>;
6997
- declare const ipv4FieldDefinitionSchema: z$2.ZodObject<{
6998
- id: z$2.ZodReadonly<z$2.ZodUUID>;
6999
- label: z$2.ZodRecord<z$2.ZodEnum<{
6992
+ valueType: z.ZodLiteral<"string">;
6993
+ fieldType: z.ZodLiteral<"url">;
6994
+ defaultValue: z.ZodNullable<z.ZodURL>;
6995
+ }, z.core.$strip>;
6996
+ type UrlFieldDefinition = z.infer<typeof urlFieldDefinitionSchema>;
6997
+ declare const ipv4FieldDefinitionSchema: z.ZodObject<{
6998
+ id: z.ZodReadonly<z.ZodUUID>;
6999
+ label: z.ZodRecord<z.ZodEnum<{
7000
7000
  bg: "bg";
7001
7001
  cs: "cs";
7002
7002
  da: "da";
@@ -7021,8 +7021,8 @@ declare const ipv4FieldDefinitionSchema: z$2.ZodObject<{
7021
7021
  sl: "sl";
7022
7022
  sv: "sv";
7023
7023
  zh: "zh";
7024
- }> & z$2.core.$partial, z$2.ZodString>;
7025
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7024
+ }> & z.core.$partial, z.ZodString>;
7025
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7026
7026
  bg: "bg";
7027
7027
  cs: "cs";
7028
7028
  da: "da";
@@ -7047,24 +7047,24 @@ declare const ipv4FieldDefinitionSchema: z$2.ZodObject<{
7047
7047
  sl: "sl";
7048
7048
  sv: "sv";
7049
7049
  zh: "zh";
7050
- }> & z$2.core.$partial, z$2.ZodString>>;
7051
- isRequired: z$2.ZodBoolean;
7052
- isDisabled: z$2.ZodBoolean;
7053
- isUnique: z$2.ZodBoolean;
7054
- inputWidth: z$2.ZodEnum<{
7050
+ }> & z.core.$partial, z.ZodString>>;
7051
+ isRequired: z.ZodBoolean;
7052
+ isDisabled: z.ZodBoolean;
7053
+ isUnique: z.ZodBoolean;
7054
+ inputWidth: z.ZodEnum<{
7055
7055
  3: "3";
7056
7056
  4: "4";
7057
7057
  6: "6";
7058
7058
  12: "12";
7059
7059
  }>;
7060
- valueType: z$2.ZodLiteral<"string">;
7061
- fieldType: z$2.ZodLiteral<"ipv4">;
7062
- defaultValue: z$2.ZodNullable<z$2.ZodIPv4>;
7063
- }, z$2.core.$strip>;
7064
- type Ipv4FieldDefinition = z$2.infer<typeof ipv4FieldDefinitionSchema>;
7065
- declare const dateFieldDefinitionSchema: z$2.ZodObject<{
7066
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7067
- label: z$2.ZodRecord<z$2.ZodEnum<{
7060
+ valueType: z.ZodLiteral<"string">;
7061
+ fieldType: z.ZodLiteral<"ipv4">;
7062
+ defaultValue: z.ZodNullable<z.ZodIPv4>;
7063
+ }, z.core.$strip>;
7064
+ type Ipv4FieldDefinition = z.infer<typeof ipv4FieldDefinitionSchema>;
7065
+ declare const dateFieldDefinitionSchema: z.ZodObject<{
7066
+ id: z.ZodReadonly<z.ZodUUID>;
7067
+ label: z.ZodRecord<z.ZodEnum<{
7068
7068
  bg: "bg";
7069
7069
  cs: "cs";
7070
7070
  da: "da";
@@ -7089,8 +7089,8 @@ declare const dateFieldDefinitionSchema: z$2.ZodObject<{
7089
7089
  sl: "sl";
7090
7090
  sv: "sv";
7091
7091
  zh: "zh";
7092
- }> & z$2.core.$partial, z$2.ZodString>;
7093
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7092
+ }> & z.core.$partial, z.ZodString>;
7093
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7094
7094
  bg: "bg";
7095
7095
  cs: "cs";
7096
7096
  da: "da";
@@ -7115,24 +7115,24 @@ declare const dateFieldDefinitionSchema: z$2.ZodObject<{
7115
7115
  sl: "sl";
7116
7116
  sv: "sv";
7117
7117
  zh: "zh";
7118
- }> & z$2.core.$partial, z$2.ZodString>>;
7119
- isRequired: z$2.ZodBoolean;
7120
- isDisabled: z$2.ZodBoolean;
7121
- isUnique: z$2.ZodBoolean;
7122
- inputWidth: z$2.ZodEnum<{
7118
+ }> & z.core.$partial, z.ZodString>>;
7119
+ isRequired: z.ZodBoolean;
7120
+ isDisabled: z.ZodBoolean;
7121
+ isUnique: z.ZodBoolean;
7122
+ inputWidth: z.ZodEnum<{
7123
7123
  3: "3";
7124
7124
  4: "4";
7125
7125
  6: "6";
7126
7126
  12: "12";
7127
7127
  }>;
7128
- valueType: z$2.ZodLiteral<"string">;
7129
- fieldType: z$2.ZodLiteral<"date">;
7130
- defaultValue: z$2.ZodNullable<z$2.ZodISODate>;
7131
- }, z$2.core.$strip>;
7132
- type DateFieldDefinition = z$2.infer<typeof dateFieldDefinitionSchema>;
7133
- declare const timeFieldDefinitionSchema: z$2.ZodObject<{
7134
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7135
- label: z$2.ZodRecord<z$2.ZodEnum<{
7128
+ valueType: z.ZodLiteral<"string">;
7129
+ fieldType: z.ZodLiteral<"date">;
7130
+ defaultValue: z.ZodNullable<z.ZodISODate>;
7131
+ }, z.core.$strip>;
7132
+ type DateFieldDefinition = z.infer<typeof dateFieldDefinitionSchema>;
7133
+ declare const timeFieldDefinitionSchema: z.ZodObject<{
7134
+ id: z.ZodReadonly<z.ZodUUID>;
7135
+ label: z.ZodRecord<z.ZodEnum<{
7136
7136
  bg: "bg";
7137
7137
  cs: "cs";
7138
7138
  da: "da";
@@ -7157,8 +7157,8 @@ declare const timeFieldDefinitionSchema: z$2.ZodObject<{
7157
7157
  sl: "sl";
7158
7158
  sv: "sv";
7159
7159
  zh: "zh";
7160
- }> & z$2.core.$partial, z$2.ZodString>;
7161
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7160
+ }> & z.core.$partial, z.ZodString>;
7161
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7162
7162
  bg: "bg";
7163
7163
  cs: "cs";
7164
7164
  da: "da";
@@ -7183,24 +7183,24 @@ declare const timeFieldDefinitionSchema: z$2.ZodObject<{
7183
7183
  sl: "sl";
7184
7184
  sv: "sv";
7185
7185
  zh: "zh";
7186
- }> & z$2.core.$partial, z$2.ZodString>>;
7187
- isRequired: z$2.ZodBoolean;
7188
- isDisabled: z$2.ZodBoolean;
7189
- isUnique: z$2.ZodBoolean;
7190
- inputWidth: z$2.ZodEnum<{
7186
+ }> & z.core.$partial, z.ZodString>>;
7187
+ isRequired: z.ZodBoolean;
7188
+ isDisabled: z.ZodBoolean;
7189
+ isUnique: z.ZodBoolean;
7190
+ inputWidth: z.ZodEnum<{
7191
7191
  3: "3";
7192
7192
  4: "4";
7193
7193
  6: "6";
7194
7194
  12: "12";
7195
7195
  }>;
7196
- valueType: z$2.ZodLiteral<"string">;
7197
- fieldType: z$2.ZodLiteral<"time">;
7198
- defaultValue: z$2.ZodNullable<z$2.ZodISOTime>;
7199
- }, z$2.core.$strip>;
7200
- type TimeFieldDefinition = z$2.infer<typeof timeFieldDefinitionSchema>;
7201
- declare const datetimeFieldDefinitionSchema: z$2.ZodObject<{
7202
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7203
- label: z$2.ZodRecord<z$2.ZodEnum<{
7196
+ valueType: z.ZodLiteral<"string">;
7197
+ fieldType: z.ZodLiteral<"time">;
7198
+ defaultValue: z.ZodNullable<z.ZodISOTime>;
7199
+ }, z.core.$strip>;
7200
+ type TimeFieldDefinition = z.infer<typeof timeFieldDefinitionSchema>;
7201
+ declare const datetimeFieldDefinitionSchema: z.ZodObject<{
7202
+ id: z.ZodReadonly<z.ZodUUID>;
7203
+ label: z.ZodRecord<z.ZodEnum<{
7204
7204
  bg: "bg";
7205
7205
  cs: "cs";
7206
7206
  da: "da";
@@ -7225,8 +7225,8 @@ declare const datetimeFieldDefinitionSchema: z$2.ZodObject<{
7225
7225
  sl: "sl";
7226
7226
  sv: "sv";
7227
7227
  zh: "zh";
7228
- }> & z$2.core.$partial, z$2.ZodString>;
7229
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7228
+ }> & z.core.$partial, z.ZodString>;
7229
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7230
7230
  bg: "bg";
7231
7231
  cs: "cs";
7232
7232
  da: "da";
@@ -7251,24 +7251,24 @@ declare const datetimeFieldDefinitionSchema: z$2.ZodObject<{
7251
7251
  sl: "sl";
7252
7252
  sv: "sv";
7253
7253
  zh: "zh";
7254
- }> & z$2.core.$partial, z$2.ZodString>>;
7255
- isRequired: z$2.ZodBoolean;
7256
- isDisabled: z$2.ZodBoolean;
7257
- isUnique: z$2.ZodBoolean;
7258
- inputWidth: z$2.ZodEnum<{
7254
+ }> & z.core.$partial, z.ZodString>>;
7255
+ isRequired: z.ZodBoolean;
7256
+ isDisabled: z.ZodBoolean;
7257
+ isUnique: z.ZodBoolean;
7258
+ inputWidth: z.ZodEnum<{
7259
7259
  3: "3";
7260
7260
  4: "4";
7261
7261
  6: "6";
7262
7262
  12: "12";
7263
7263
  }>;
7264
- valueType: z$2.ZodLiteral<"string">;
7265
- fieldType: z$2.ZodLiteral<"datetime">;
7266
- defaultValue: z$2.ZodNullable<z$2.ZodISODateTime>;
7267
- }, z$2.core.$strip>;
7268
- type DatetimeFieldDefinition = z$2.infer<typeof datetimeFieldDefinitionSchema>;
7269
- declare const telephoneFieldDefinitionSchema: z$2.ZodObject<{
7270
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7271
- label: z$2.ZodRecord<z$2.ZodEnum<{
7264
+ valueType: z.ZodLiteral<"string">;
7265
+ fieldType: z.ZodLiteral<"datetime">;
7266
+ defaultValue: z.ZodNullable<z.ZodISODateTime>;
7267
+ }, z.core.$strip>;
7268
+ type DatetimeFieldDefinition = z.infer<typeof datetimeFieldDefinitionSchema>;
7269
+ declare const telephoneFieldDefinitionSchema: z.ZodObject<{
7270
+ id: z.ZodReadonly<z.ZodUUID>;
7271
+ label: z.ZodRecord<z.ZodEnum<{
7272
7272
  bg: "bg";
7273
7273
  cs: "cs";
7274
7274
  da: "da";
@@ -7293,8 +7293,8 @@ declare const telephoneFieldDefinitionSchema: z$2.ZodObject<{
7293
7293
  sl: "sl";
7294
7294
  sv: "sv";
7295
7295
  zh: "zh";
7296
- }> & z$2.core.$partial, z$2.ZodString>;
7297
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7296
+ }> & z.core.$partial, z.ZodString>;
7297
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7298
7298
  bg: "bg";
7299
7299
  cs: "cs";
7300
7300
  da: "da";
@@ -7319,24 +7319,24 @@ declare const telephoneFieldDefinitionSchema: z$2.ZodObject<{
7319
7319
  sl: "sl";
7320
7320
  sv: "sv";
7321
7321
  zh: "zh";
7322
- }> & z$2.core.$partial, z$2.ZodString>>;
7323
- isRequired: z$2.ZodBoolean;
7324
- isDisabled: z$2.ZodBoolean;
7325
- isUnique: z$2.ZodBoolean;
7326
- inputWidth: z$2.ZodEnum<{
7322
+ }> & z.core.$partial, z.ZodString>>;
7323
+ isRequired: z.ZodBoolean;
7324
+ isDisabled: z.ZodBoolean;
7325
+ isUnique: z.ZodBoolean;
7326
+ inputWidth: z.ZodEnum<{
7327
7327
  3: "3";
7328
7328
  4: "4";
7329
7329
  6: "6";
7330
7330
  12: "12";
7331
7331
  }>;
7332
- valueType: z$2.ZodLiteral<"string">;
7333
- fieldType: z$2.ZodLiteral<"telephone">;
7334
- defaultValue: z$2.ZodNullable<z$2.ZodE164>;
7335
- }, z$2.core.$strip>;
7336
- type TelephoneFieldDefinition = z$2.infer<typeof telephoneFieldDefinitionSchema>;
7337
- declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<{
7338
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7339
- label: z$2.ZodRecord<z$2.ZodEnum<{
7332
+ valueType: z.ZodLiteral<"string">;
7333
+ fieldType: z.ZodLiteral<"telephone">;
7334
+ defaultValue: z.ZodNullable<z.ZodE164>;
7335
+ }, z.core.$strip>;
7336
+ type TelephoneFieldDefinition = z.infer<typeof telephoneFieldDefinitionSchema>;
7337
+ declare const stringFieldDefinitionSchema: z.ZodUnion<readonly [z.ZodObject<{
7338
+ id: z.ZodReadonly<z.ZodUUID>;
7339
+ label: z.ZodRecord<z.ZodEnum<{
7340
7340
  bg: "bg";
7341
7341
  cs: "cs";
7342
7342
  da: "da";
@@ -7361,8 +7361,8 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7361
7361
  sl: "sl";
7362
7362
  sv: "sv";
7363
7363
  zh: "zh";
7364
- }> & z$2.core.$partial, z$2.ZodString>;
7365
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7364
+ }> & z.core.$partial, z.ZodString>;
7365
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7366
7366
  bg: "bg";
7367
7367
  cs: "cs";
7368
7368
  da: "da";
@@ -7387,24 +7387,24 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7387
7387
  sl: "sl";
7388
7388
  sv: "sv";
7389
7389
  zh: "zh";
7390
- }> & z$2.core.$partial, z$2.ZodString>>;
7391
- isRequired: z$2.ZodBoolean;
7392
- isDisabled: z$2.ZodBoolean;
7393
- isUnique: z$2.ZodBoolean;
7394
- inputWidth: z$2.ZodEnum<{
7390
+ }> & z.core.$partial, z.ZodString>>;
7391
+ isRequired: z.ZodBoolean;
7392
+ isDisabled: z.ZodBoolean;
7393
+ isUnique: z.ZodBoolean;
7394
+ inputWidth: z.ZodEnum<{
7395
7395
  3: "3";
7396
7396
  4: "4";
7397
7397
  6: "6";
7398
7398
  12: "12";
7399
7399
  }>;
7400
- valueType: z$2.ZodLiteral<"string">;
7401
- defaultValue: z$2.ZodNullable<z$2.ZodString>;
7402
- fieldType: z$2.ZodLiteral<"text">;
7403
- min: z$2.ZodNullable<z$2.ZodNumber>;
7404
- max: z$2.ZodNullable<z$2.ZodNumber>;
7405
- }, z$2.core.$strip>, z$2.ZodObject<{
7406
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7407
- label: z$2.ZodRecord<z$2.ZodEnum<{
7400
+ valueType: z.ZodLiteral<"string">;
7401
+ defaultValue: z.ZodNullable<z.ZodString>;
7402
+ fieldType: z.ZodLiteral<"text">;
7403
+ min: z.ZodNullable<z.ZodNumber>;
7404
+ max: z.ZodNullable<z.ZodNumber>;
7405
+ }, z.core.$strip>, z.ZodObject<{
7406
+ id: z.ZodReadonly<z.ZodUUID>;
7407
+ label: z.ZodRecord<z.ZodEnum<{
7408
7408
  bg: "bg";
7409
7409
  cs: "cs";
7410
7410
  da: "da";
@@ -7429,8 +7429,8 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7429
7429
  sl: "sl";
7430
7430
  sv: "sv";
7431
7431
  zh: "zh";
7432
- }> & z$2.core.$partial, z$2.ZodString>;
7433
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7432
+ }> & z.core.$partial, z.ZodString>;
7433
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7434
7434
  bg: "bg";
7435
7435
  cs: "cs";
7436
7436
  da: "da";
@@ -7455,24 +7455,24 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7455
7455
  sl: "sl";
7456
7456
  sv: "sv";
7457
7457
  zh: "zh";
7458
- }> & z$2.core.$partial, z$2.ZodString>>;
7459
- isRequired: z$2.ZodBoolean;
7460
- isDisabled: z$2.ZodBoolean;
7461
- isUnique: z$2.ZodBoolean;
7462
- inputWidth: z$2.ZodEnum<{
7458
+ }> & z.core.$partial, z.ZodString>>;
7459
+ isRequired: z.ZodBoolean;
7460
+ isDisabled: z.ZodBoolean;
7461
+ isUnique: z.ZodBoolean;
7462
+ inputWidth: z.ZodEnum<{
7463
7463
  3: "3";
7464
7464
  4: "4";
7465
7465
  6: "6";
7466
7466
  12: "12";
7467
7467
  }>;
7468
- valueType: z$2.ZodLiteral<"string">;
7469
- defaultValue: z$2.ZodNullable<z$2.ZodString>;
7470
- fieldType: z$2.ZodLiteral<"textarea">;
7471
- min: z$2.ZodNullable<z$2.ZodNumber>;
7472
- max: z$2.ZodNullable<z$2.ZodNumber>;
7473
- }, z$2.core.$strip>, z$2.ZodObject<{
7474
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7475
- label: z$2.ZodRecord<z$2.ZodEnum<{
7468
+ valueType: z.ZodLiteral<"string">;
7469
+ defaultValue: z.ZodNullable<z.ZodString>;
7470
+ fieldType: z.ZodLiteral<"textarea">;
7471
+ min: z.ZodNullable<z.ZodNumber>;
7472
+ max: z.ZodNullable<z.ZodNumber>;
7473
+ }, z.core.$strip>, z.ZodObject<{
7474
+ id: z.ZodReadonly<z.ZodUUID>;
7475
+ label: z.ZodRecord<z.ZodEnum<{
7476
7476
  bg: "bg";
7477
7477
  cs: "cs";
7478
7478
  da: "da";
@@ -7497,8 +7497,8 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7497
7497
  sl: "sl";
7498
7498
  sv: "sv";
7499
7499
  zh: "zh";
7500
- }> & z$2.core.$partial, z$2.ZodString>;
7501
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7500
+ }> & z.core.$partial, z.ZodString>;
7501
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7502
7502
  bg: "bg";
7503
7503
  cs: "cs";
7504
7504
  da: "da";
@@ -7523,22 +7523,22 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7523
7523
  sl: "sl";
7524
7524
  sv: "sv";
7525
7525
  zh: "zh";
7526
- }> & z$2.core.$partial, z$2.ZodString>>;
7527
- isRequired: z$2.ZodBoolean;
7528
- isDisabled: z$2.ZodBoolean;
7529
- isUnique: z$2.ZodBoolean;
7530
- inputWidth: z$2.ZodEnum<{
7526
+ }> & z.core.$partial, z.ZodString>>;
7527
+ isRequired: z.ZodBoolean;
7528
+ isDisabled: z.ZodBoolean;
7529
+ isUnique: z.ZodBoolean;
7530
+ inputWidth: z.ZodEnum<{
7531
7531
  3: "3";
7532
7532
  4: "4";
7533
7533
  6: "6";
7534
7534
  12: "12";
7535
7535
  }>;
7536
- valueType: z$2.ZodLiteral<"string">;
7537
- fieldType: z$2.ZodLiteral<"email">;
7538
- defaultValue: z$2.ZodNullable<z$2.ZodEmail>;
7539
- }, z$2.core.$strip>, z$2.ZodObject<{
7540
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7541
- label: z$2.ZodRecord<z$2.ZodEnum<{
7536
+ valueType: z.ZodLiteral<"string">;
7537
+ fieldType: z.ZodLiteral<"email">;
7538
+ defaultValue: z.ZodNullable<z.ZodEmail>;
7539
+ }, z.core.$strip>, z.ZodObject<{
7540
+ id: z.ZodReadonly<z.ZodUUID>;
7541
+ label: z.ZodRecord<z.ZodEnum<{
7542
7542
  bg: "bg";
7543
7543
  cs: "cs";
7544
7544
  da: "da";
@@ -7563,8 +7563,8 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7563
7563
  sl: "sl";
7564
7564
  sv: "sv";
7565
7565
  zh: "zh";
7566
- }> & z$2.core.$partial, z$2.ZodString>;
7567
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7566
+ }> & z.core.$partial, z.ZodString>;
7567
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7568
7568
  bg: "bg";
7569
7569
  cs: "cs";
7570
7570
  da: "da";
@@ -7589,22 +7589,22 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7589
7589
  sl: "sl";
7590
7590
  sv: "sv";
7591
7591
  zh: "zh";
7592
- }> & z$2.core.$partial, z$2.ZodString>>;
7593
- isRequired: z$2.ZodBoolean;
7594
- isDisabled: z$2.ZodBoolean;
7595
- isUnique: z$2.ZodBoolean;
7596
- inputWidth: z$2.ZodEnum<{
7592
+ }> & z.core.$partial, z.ZodString>>;
7593
+ isRequired: z.ZodBoolean;
7594
+ isDisabled: z.ZodBoolean;
7595
+ isUnique: z.ZodBoolean;
7596
+ inputWidth: z.ZodEnum<{
7597
7597
  3: "3";
7598
7598
  4: "4";
7599
7599
  6: "6";
7600
7600
  12: "12";
7601
7601
  }>;
7602
- valueType: z$2.ZodLiteral<"string">;
7603
- fieldType: z$2.ZodLiteral<"url">;
7604
- defaultValue: z$2.ZodNullable<z$2.ZodURL>;
7605
- }, z$2.core.$strip>, z$2.ZodObject<{
7606
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7607
- label: z$2.ZodRecord<z$2.ZodEnum<{
7602
+ valueType: z.ZodLiteral<"string">;
7603
+ fieldType: z.ZodLiteral<"url">;
7604
+ defaultValue: z.ZodNullable<z.ZodURL>;
7605
+ }, z.core.$strip>, z.ZodObject<{
7606
+ id: z.ZodReadonly<z.ZodUUID>;
7607
+ label: z.ZodRecord<z.ZodEnum<{
7608
7608
  bg: "bg";
7609
7609
  cs: "cs";
7610
7610
  da: "da";
@@ -7629,8 +7629,8 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7629
7629
  sl: "sl";
7630
7630
  sv: "sv";
7631
7631
  zh: "zh";
7632
- }> & z$2.core.$partial, z$2.ZodString>;
7633
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7632
+ }> & z.core.$partial, z.ZodString>;
7633
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7634
7634
  bg: "bg";
7635
7635
  cs: "cs";
7636
7636
  da: "da";
@@ -7655,22 +7655,22 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7655
7655
  sl: "sl";
7656
7656
  sv: "sv";
7657
7657
  zh: "zh";
7658
- }> & z$2.core.$partial, z$2.ZodString>>;
7659
- isRequired: z$2.ZodBoolean;
7660
- isDisabled: z$2.ZodBoolean;
7661
- isUnique: z$2.ZodBoolean;
7662
- inputWidth: z$2.ZodEnum<{
7658
+ }> & z.core.$partial, z.ZodString>>;
7659
+ isRequired: z.ZodBoolean;
7660
+ isDisabled: z.ZodBoolean;
7661
+ isUnique: z.ZodBoolean;
7662
+ inputWidth: z.ZodEnum<{
7663
7663
  3: "3";
7664
7664
  4: "4";
7665
7665
  6: "6";
7666
7666
  12: "12";
7667
7667
  }>;
7668
- valueType: z$2.ZodLiteral<"string">;
7669
- fieldType: z$2.ZodLiteral<"ipv4">;
7670
- defaultValue: z$2.ZodNullable<z$2.ZodIPv4>;
7671
- }, z$2.core.$strip>, z$2.ZodObject<{
7672
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7673
- label: z$2.ZodRecord<z$2.ZodEnum<{
7668
+ valueType: z.ZodLiteral<"string">;
7669
+ fieldType: z.ZodLiteral<"ipv4">;
7670
+ defaultValue: z.ZodNullable<z.ZodIPv4>;
7671
+ }, z.core.$strip>, z.ZodObject<{
7672
+ id: z.ZodReadonly<z.ZodUUID>;
7673
+ label: z.ZodRecord<z.ZodEnum<{
7674
7674
  bg: "bg";
7675
7675
  cs: "cs";
7676
7676
  da: "da";
@@ -7695,8 +7695,8 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7695
7695
  sl: "sl";
7696
7696
  sv: "sv";
7697
7697
  zh: "zh";
7698
- }> & z$2.core.$partial, z$2.ZodString>;
7699
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7698
+ }> & z.core.$partial, z.ZodString>;
7699
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7700
7700
  bg: "bg";
7701
7701
  cs: "cs";
7702
7702
  da: "da";
@@ -7721,22 +7721,22 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7721
7721
  sl: "sl";
7722
7722
  sv: "sv";
7723
7723
  zh: "zh";
7724
- }> & z$2.core.$partial, z$2.ZodString>>;
7725
- isRequired: z$2.ZodBoolean;
7726
- isDisabled: z$2.ZodBoolean;
7727
- isUnique: z$2.ZodBoolean;
7728
- inputWidth: z$2.ZodEnum<{
7724
+ }> & z.core.$partial, z.ZodString>>;
7725
+ isRequired: z.ZodBoolean;
7726
+ isDisabled: z.ZodBoolean;
7727
+ isUnique: z.ZodBoolean;
7728
+ inputWidth: z.ZodEnum<{
7729
7729
  3: "3";
7730
7730
  4: "4";
7731
7731
  6: "6";
7732
7732
  12: "12";
7733
7733
  }>;
7734
- valueType: z$2.ZodLiteral<"string">;
7735
- fieldType: z$2.ZodLiteral<"date">;
7736
- defaultValue: z$2.ZodNullable<z$2.ZodISODate>;
7737
- }, z$2.core.$strip>, z$2.ZodObject<{
7738
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7739
- label: z$2.ZodRecord<z$2.ZodEnum<{
7734
+ valueType: z.ZodLiteral<"string">;
7735
+ fieldType: z.ZodLiteral<"date">;
7736
+ defaultValue: z.ZodNullable<z.ZodISODate>;
7737
+ }, z.core.$strip>, z.ZodObject<{
7738
+ id: z.ZodReadonly<z.ZodUUID>;
7739
+ label: z.ZodRecord<z.ZodEnum<{
7740
7740
  bg: "bg";
7741
7741
  cs: "cs";
7742
7742
  da: "da";
@@ -7761,8 +7761,8 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7761
7761
  sl: "sl";
7762
7762
  sv: "sv";
7763
7763
  zh: "zh";
7764
- }> & z$2.core.$partial, z$2.ZodString>;
7765
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7764
+ }> & z.core.$partial, z.ZodString>;
7765
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7766
7766
  bg: "bg";
7767
7767
  cs: "cs";
7768
7768
  da: "da";
@@ -7787,22 +7787,22 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7787
7787
  sl: "sl";
7788
7788
  sv: "sv";
7789
7789
  zh: "zh";
7790
- }> & z$2.core.$partial, z$2.ZodString>>;
7791
- isRequired: z$2.ZodBoolean;
7792
- isDisabled: z$2.ZodBoolean;
7793
- isUnique: z$2.ZodBoolean;
7794
- inputWidth: z$2.ZodEnum<{
7790
+ }> & z.core.$partial, z.ZodString>>;
7791
+ isRequired: z.ZodBoolean;
7792
+ isDisabled: z.ZodBoolean;
7793
+ isUnique: z.ZodBoolean;
7794
+ inputWidth: z.ZodEnum<{
7795
7795
  3: "3";
7796
7796
  4: "4";
7797
7797
  6: "6";
7798
7798
  12: "12";
7799
7799
  }>;
7800
- valueType: z$2.ZodLiteral<"string">;
7801
- fieldType: z$2.ZodLiteral<"time">;
7802
- defaultValue: z$2.ZodNullable<z$2.ZodISOTime>;
7803
- }, z$2.core.$strip>, z$2.ZodObject<{
7804
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7805
- label: z$2.ZodRecord<z$2.ZodEnum<{
7800
+ valueType: z.ZodLiteral<"string">;
7801
+ fieldType: z.ZodLiteral<"time">;
7802
+ defaultValue: z.ZodNullable<z.ZodISOTime>;
7803
+ }, z.core.$strip>, z.ZodObject<{
7804
+ id: z.ZodReadonly<z.ZodUUID>;
7805
+ label: z.ZodRecord<z.ZodEnum<{
7806
7806
  bg: "bg";
7807
7807
  cs: "cs";
7808
7808
  da: "da";
@@ -7827,8 +7827,8 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7827
7827
  sl: "sl";
7828
7828
  sv: "sv";
7829
7829
  zh: "zh";
7830
- }> & z$2.core.$partial, z$2.ZodString>;
7831
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7830
+ }> & z.core.$partial, z.ZodString>;
7831
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7832
7832
  bg: "bg";
7833
7833
  cs: "cs";
7834
7834
  da: "da";
@@ -7853,22 +7853,22 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7853
7853
  sl: "sl";
7854
7854
  sv: "sv";
7855
7855
  zh: "zh";
7856
- }> & z$2.core.$partial, z$2.ZodString>>;
7857
- isRequired: z$2.ZodBoolean;
7858
- isDisabled: z$2.ZodBoolean;
7859
- isUnique: z$2.ZodBoolean;
7860
- inputWidth: z$2.ZodEnum<{
7856
+ }> & z.core.$partial, z.ZodString>>;
7857
+ isRequired: z.ZodBoolean;
7858
+ isDisabled: z.ZodBoolean;
7859
+ isUnique: z.ZodBoolean;
7860
+ inputWidth: z.ZodEnum<{
7861
7861
  3: "3";
7862
7862
  4: "4";
7863
7863
  6: "6";
7864
7864
  12: "12";
7865
7865
  }>;
7866
- valueType: z$2.ZodLiteral<"string">;
7867
- fieldType: z$2.ZodLiteral<"datetime">;
7868
- defaultValue: z$2.ZodNullable<z$2.ZodISODateTime>;
7869
- }, z$2.core.$strip>, z$2.ZodObject<{
7870
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7871
- label: z$2.ZodRecord<z$2.ZodEnum<{
7866
+ valueType: z.ZodLiteral<"string">;
7867
+ fieldType: z.ZodLiteral<"datetime">;
7868
+ defaultValue: z.ZodNullable<z.ZodISODateTime>;
7869
+ }, z.core.$strip>, z.ZodObject<{
7870
+ id: z.ZodReadonly<z.ZodUUID>;
7871
+ label: z.ZodRecord<z.ZodEnum<{
7872
7872
  bg: "bg";
7873
7873
  cs: "cs";
7874
7874
  da: "da";
@@ -7893,8 +7893,8 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7893
7893
  sl: "sl";
7894
7894
  sv: "sv";
7895
7895
  zh: "zh";
7896
- }> & z$2.core.$partial, z$2.ZodString>;
7897
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7896
+ }> & z.core.$partial, z.ZodString>;
7897
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7898
7898
  bg: "bg";
7899
7899
  cs: "cs";
7900
7900
  da: "da";
@@ -7919,27 +7919,27 @@ declare const stringFieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodObject<
7919
7919
  sl: "sl";
7920
7920
  sv: "sv";
7921
7921
  zh: "zh";
7922
- }> & z$2.core.$partial, z$2.ZodString>>;
7923
- isRequired: z$2.ZodBoolean;
7924
- isDisabled: z$2.ZodBoolean;
7925
- isUnique: z$2.ZodBoolean;
7926
- inputWidth: z$2.ZodEnum<{
7922
+ }> & z.core.$partial, z.ZodString>>;
7923
+ isRequired: z.ZodBoolean;
7924
+ isDisabled: z.ZodBoolean;
7925
+ isUnique: z.ZodBoolean;
7926
+ inputWidth: z.ZodEnum<{
7927
7927
  3: "3";
7928
7928
  4: "4";
7929
7929
  6: "6";
7930
7930
  12: "12";
7931
7931
  }>;
7932
- valueType: z$2.ZodLiteral<"string">;
7933
- fieldType: z$2.ZodLiteral<"telephone">;
7934
- defaultValue: z$2.ZodNullable<z$2.ZodE164>;
7935
- }, z$2.core.$strip>]>;
7936
- type StringFieldDefinition = z$2.infer<typeof stringFieldDefinitionSchema>;
7932
+ valueType: z.ZodLiteral<"string">;
7933
+ fieldType: z.ZodLiteral<"telephone">;
7934
+ defaultValue: z.ZodNullable<z.ZodE164>;
7935
+ }, z.core.$strip>]>;
7936
+ type StringFieldDefinition = z.infer<typeof stringFieldDefinitionSchema>;
7937
7937
  /**
7938
7938
  * Number based Field definitions
7939
7939
  */
7940
- declare const NumberFieldDefinitionBaseSchema: z$2.ZodObject<{
7941
- id: z$2.ZodReadonly<z$2.ZodUUID>;
7942
- label: z$2.ZodRecord<z$2.ZodEnum<{
7940
+ declare const NumberFieldDefinitionBaseSchema: z.ZodObject<{
7941
+ id: z.ZodReadonly<z.ZodUUID>;
7942
+ label: z.ZodRecord<z.ZodEnum<{
7943
7943
  bg: "bg";
7944
7944
  cs: "cs";
7945
7945
  da: "da";
@@ -7964,8 +7964,8 @@ declare const NumberFieldDefinitionBaseSchema: z$2.ZodObject<{
7964
7964
  sl: "sl";
7965
7965
  sv: "sv";
7966
7966
  zh: "zh";
7967
- }> & z$2.core.$partial, z$2.ZodString>;
7968
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
7967
+ }> & z.core.$partial, z.ZodString>;
7968
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
7969
7969
  bg: "bg";
7970
7970
  cs: "cs";
7971
7971
  da: "da";
@@ -7990,24 +7990,24 @@ declare const NumberFieldDefinitionBaseSchema: z$2.ZodObject<{
7990
7990
  sl: "sl";
7991
7991
  sv: "sv";
7992
7992
  zh: "zh";
7993
- }> & z$2.core.$partial, z$2.ZodString>>;
7994
- isRequired: z$2.ZodBoolean;
7995
- isDisabled: z$2.ZodBoolean;
7996
- inputWidth: z$2.ZodEnum<{
7993
+ }> & z.core.$partial, z.ZodString>>;
7994
+ isRequired: z.ZodBoolean;
7995
+ isDisabled: z.ZodBoolean;
7996
+ inputWidth: z.ZodEnum<{
7997
7997
  3: "3";
7998
7998
  4: "4";
7999
7999
  6: "6";
8000
8000
  12: "12";
8001
8001
  }>;
8002
- valueType: z$2.ZodLiteral<"number">;
8003
- min: z$2.ZodNullable<z$2.ZodNumber>;
8004
- max: z$2.ZodNullable<z$2.ZodNumber>;
8005
- isUnique: z$2.ZodLiteral<false>;
8006
- defaultValue: z$2.ZodNullable<z$2.ZodNumber>;
8007
- }, z$2.core.$strip>;
8008
- declare const numberFieldDefinitionSchema: z$2.ZodObject<{
8009
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8010
- label: z$2.ZodRecord<z$2.ZodEnum<{
8002
+ valueType: z.ZodLiteral<"number">;
8003
+ min: z.ZodNullable<z.ZodNumber>;
8004
+ max: z.ZodNullable<z.ZodNumber>;
8005
+ isUnique: z.ZodLiteral<false>;
8006
+ defaultValue: z.ZodNullable<z.ZodNumber>;
8007
+ }, z.core.$strip>;
8008
+ declare const numberFieldDefinitionSchema: z.ZodObject<{
8009
+ id: z.ZodReadonly<z.ZodUUID>;
8010
+ label: z.ZodRecord<z.ZodEnum<{
8011
8011
  bg: "bg";
8012
8012
  cs: "cs";
8013
8013
  da: "da";
@@ -8032,8 +8032,8 @@ declare const numberFieldDefinitionSchema: z$2.ZodObject<{
8032
8032
  sl: "sl";
8033
8033
  sv: "sv";
8034
8034
  zh: "zh";
8035
- }> & z$2.core.$partial, z$2.ZodString>;
8036
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8035
+ }> & z.core.$partial, z.ZodString>;
8036
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8037
8037
  bg: "bg";
8038
8038
  cs: "cs";
8039
8039
  da: "da";
@@ -8058,26 +8058,26 @@ declare const numberFieldDefinitionSchema: z$2.ZodObject<{
8058
8058
  sl: "sl";
8059
8059
  sv: "sv";
8060
8060
  zh: "zh";
8061
- }> & z$2.core.$partial, z$2.ZodString>>;
8062
- isRequired: z$2.ZodBoolean;
8063
- isDisabled: z$2.ZodBoolean;
8064
- inputWidth: z$2.ZodEnum<{
8061
+ }> & z.core.$partial, z.ZodString>>;
8062
+ isRequired: z.ZodBoolean;
8063
+ isDisabled: z.ZodBoolean;
8064
+ inputWidth: z.ZodEnum<{
8065
8065
  3: "3";
8066
8066
  4: "4";
8067
8067
  6: "6";
8068
8068
  12: "12";
8069
8069
  }>;
8070
- valueType: z$2.ZodLiteral<"number">;
8071
- min: z$2.ZodNullable<z$2.ZodNumber>;
8072
- max: z$2.ZodNullable<z$2.ZodNumber>;
8073
- isUnique: z$2.ZodLiteral<false>;
8074
- defaultValue: z$2.ZodNullable<z$2.ZodNumber>;
8075
- fieldType: z$2.ZodLiteral<"number">;
8076
- }, z$2.core.$strip>;
8077
- type NumberFieldDefinition = z$2.infer<typeof numberFieldDefinitionSchema>;
8078
- declare const rangeFieldDefinitionSchema: z$2.ZodObject<{
8079
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8080
- label: z$2.ZodRecord<z$2.ZodEnum<{
8070
+ valueType: z.ZodLiteral<"number">;
8071
+ min: z.ZodNullable<z.ZodNumber>;
8072
+ max: z.ZodNullable<z.ZodNumber>;
8073
+ isUnique: z.ZodLiteral<false>;
8074
+ defaultValue: z.ZodNullable<z.ZodNumber>;
8075
+ fieldType: z.ZodLiteral<"number">;
8076
+ }, z.core.$strip>;
8077
+ type NumberFieldDefinition = z.infer<typeof numberFieldDefinitionSchema>;
8078
+ declare const rangeFieldDefinitionSchema: z.ZodObject<{
8079
+ id: z.ZodReadonly<z.ZodUUID>;
8080
+ label: z.ZodRecord<z.ZodEnum<{
8081
8081
  bg: "bg";
8082
8082
  cs: "cs";
8083
8083
  da: "da";
@@ -8102,8 +8102,8 @@ declare const rangeFieldDefinitionSchema: z$2.ZodObject<{
8102
8102
  sl: "sl";
8103
8103
  sv: "sv";
8104
8104
  zh: "zh";
8105
- }> & z$2.core.$partial, z$2.ZodString>;
8106
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8105
+ }> & z.core.$partial, z.ZodString>;
8106
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8107
8107
  bg: "bg";
8108
8108
  cs: "cs";
8109
8109
  da: "da";
@@ -8128,29 +8128,29 @@ declare const rangeFieldDefinitionSchema: z$2.ZodObject<{
8128
8128
  sl: "sl";
8129
8129
  sv: "sv";
8130
8130
  zh: "zh";
8131
- }> & z$2.core.$partial, z$2.ZodString>>;
8132
- isDisabled: z$2.ZodBoolean;
8133
- inputWidth: z$2.ZodEnum<{
8131
+ }> & z.core.$partial, z.ZodString>>;
8132
+ isDisabled: z.ZodBoolean;
8133
+ inputWidth: z.ZodEnum<{
8134
8134
  3: "3";
8135
8135
  4: "4";
8136
8136
  6: "6";
8137
8137
  12: "12";
8138
8138
  }>;
8139
- valueType: z$2.ZodLiteral<"number">;
8140
- isUnique: z$2.ZodLiteral<false>;
8141
- fieldType: z$2.ZodLiteral<"range">;
8142
- isRequired: z$2.ZodLiteral<true>;
8143
- min: z$2.ZodNumber;
8144
- max: z$2.ZodNumber;
8145
- defaultValue: z$2.ZodNumber;
8146
- }, z$2.core.$strip>;
8147
- type RangeFieldDefinition = z$2.infer<typeof rangeFieldDefinitionSchema>;
8139
+ valueType: z.ZodLiteral<"number">;
8140
+ isUnique: z.ZodLiteral<false>;
8141
+ fieldType: z.ZodLiteral<"range">;
8142
+ isRequired: z.ZodLiteral<true>;
8143
+ min: z.ZodNumber;
8144
+ max: z.ZodNumber;
8145
+ defaultValue: z.ZodNumber;
8146
+ }, z.core.$strip>;
8147
+ type RangeFieldDefinition = z.infer<typeof rangeFieldDefinitionSchema>;
8148
8148
  /**
8149
8149
  * Boolean based Field definitions
8150
8150
  */
8151
- declare const BooleanFieldDefinitionBaseSchema: z$2.ZodObject<{
8152
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8153
- label: z$2.ZodRecord<z$2.ZodEnum<{
8151
+ declare const BooleanFieldDefinitionBaseSchema: z.ZodObject<{
8152
+ id: z.ZodReadonly<z.ZodUUID>;
8153
+ label: z.ZodRecord<z.ZodEnum<{
8154
8154
  bg: "bg";
8155
8155
  cs: "cs";
8156
8156
  da: "da";
@@ -8175,8 +8175,8 @@ declare const BooleanFieldDefinitionBaseSchema: z$2.ZodObject<{
8175
8175
  sl: "sl";
8176
8176
  sv: "sv";
8177
8177
  zh: "zh";
8178
- }> & z$2.core.$partial, z$2.ZodString>;
8179
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8178
+ }> & z.core.$partial, z.ZodString>;
8179
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8180
8180
  bg: "bg";
8181
8181
  cs: "cs";
8182
8182
  da: "da";
@@ -8201,22 +8201,22 @@ declare const BooleanFieldDefinitionBaseSchema: z$2.ZodObject<{
8201
8201
  sl: "sl";
8202
8202
  sv: "sv";
8203
8203
  zh: "zh";
8204
- }> & z$2.core.$partial, z$2.ZodString>>;
8205
- isDisabled: z$2.ZodBoolean;
8206
- inputWidth: z$2.ZodEnum<{
8204
+ }> & z.core.$partial, z.ZodString>>;
8205
+ isDisabled: z.ZodBoolean;
8206
+ inputWidth: z.ZodEnum<{
8207
8207
  3: "3";
8208
8208
  4: "4";
8209
8209
  6: "6";
8210
8210
  12: "12";
8211
8211
  }>;
8212
- valueType: z$2.ZodLiteral<"boolean">;
8213
- isRequired: z$2.ZodLiteral<true>;
8214
- defaultValue: z$2.ZodBoolean;
8215
- isUnique: z$2.ZodLiteral<false>;
8216
- }, z$2.core.$strip>;
8217
- declare const toggleFieldDefinitionSchema: z$2.ZodObject<{
8218
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8219
- label: z$2.ZodRecord<z$2.ZodEnum<{
8212
+ valueType: z.ZodLiteral<"boolean">;
8213
+ isRequired: z.ZodLiteral<true>;
8214
+ defaultValue: z.ZodBoolean;
8215
+ isUnique: z.ZodLiteral<false>;
8216
+ }, z.core.$strip>;
8217
+ declare const toggleFieldDefinitionSchema: z.ZodObject<{
8218
+ id: z.ZodReadonly<z.ZodUUID>;
8219
+ label: z.ZodRecord<z.ZodEnum<{
8220
8220
  bg: "bg";
8221
8221
  cs: "cs";
8222
8222
  da: "da";
@@ -8241,8 +8241,8 @@ declare const toggleFieldDefinitionSchema: z$2.ZodObject<{
8241
8241
  sl: "sl";
8242
8242
  sv: "sv";
8243
8243
  zh: "zh";
8244
- }> & z$2.core.$partial, z$2.ZodString>;
8245
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8244
+ }> & z.core.$partial, z.ZodString>;
8245
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8246
8246
  bg: "bg";
8247
8247
  cs: "cs";
8248
8248
  da: "da";
@@ -8267,27 +8267,27 @@ declare const toggleFieldDefinitionSchema: z$2.ZodObject<{
8267
8267
  sl: "sl";
8268
8268
  sv: "sv";
8269
8269
  zh: "zh";
8270
- }> & z$2.core.$partial, z$2.ZodString>>;
8271
- isDisabled: z$2.ZodBoolean;
8272
- inputWidth: z$2.ZodEnum<{
8270
+ }> & z.core.$partial, z.ZodString>>;
8271
+ isDisabled: z.ZodBoolean;
8272
+ inputWidth: z.ZodEnum<{
8273
8273
  3: "3";
8274
8274
  4: "4";
8275
8275
  6: "6";
8276
8276
  12: "12";
8277
8277
  }>;
8278
- valueType: z$2.ZodLiteral<"boolean">;
8279
- isRequired: z$2.ZodLiteral<true>;
8280
- defaultValue: z$2.ZodBoolean;
8281
- isUnique: z$2.ZodLiteral<false>;
8282
- fieldType: z$2.ZodLiteral<"toggle">;
8283
- }, z$2.core.$strip>;
8284
- type ToggleFieldDefinition = z$2.infer<typeof toggleFieldDefinitionSchema>;
8278
+ valueType: z.ZodLiteral<"boolean">;
8279
+ isRequired: z.ZodLiteral<true>;
8280
+ defaultValue: z.ZodBoolean;
8281
+ isUnique: z.ZodLiteral<false>;
8282
+ fieldType: z.ZodLiteral<"toggle">;
8283
+ }, z.core.$strip>;
8284
+ type ToggleFieldDefinition = z.infer<typeof toggleFieldDefinitionSchema>;
8285
8285
  /**
8286
8286
  * Reference based Field definitions
8287
8287
  */
8288
- declare const ReferenceFieldDefinitionBaseSchema: z$2.ZodObject<{
8289
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8290
- label: z$2.ZodRecord<z$2.ZodEnum<{
8288
+ declare const ReferenceFieldDefinitionBaseSchema: z.ZodObject<{
8289
+ id: z.ZodReadonly<z.ZodUUID>;
8290
+ label: z.ZodRecord<z.ZodEnum<{
8291
8291
  bg: "bg";
8292
8292
  cs: "cs";
8293
8293
  da: "da";
@@ -8312,8 +8312,8 @@ declare const ReferenceFieldDefinitionBaseSchema: z$2.ZodObject<{
8312
8312
  sl: "sl";
8313
8313
  sv: "sv";
8314
8314
  zh: "zh";
8315
- }> & z$2.core.$partial, z$2.ZodString>;
8316
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8315
+ }> & z.core.$partial, z.ZodString>;
8316
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8317
8317
  bg: "bg";
8318
8318
  cs: "cs";
8319
8319
  da: "da";
@@ -8338,21 +8338,21 @@ declare const ReferenceFieldDefinitionBaseSchema: z$2.ZodObject<{
8338
8338
  sl: "sl";
8339
8339
  sv: "sv";
8340
8340
  zh: "zh";
8341
- }> & z$2.core.$partial, z$2.ZodString>>;
8342
- isRequired: z$2.ZodBoolean;
8343
- isDisabled: z$2.ZodBoolean;
8344
- isUnique: z$2.ZodBoolean;
8345
- inputWidth: z$2.ZodEnum<{
8341
+ }> & z.core.$partial, z.ZodString>>;
8342
+ isRequired: z.ZodBoolean;
8343
+ isDisabled: z.ZodBoolean;
8344
+ isUnique: z.ZodBoolean;
8345
+ inputWidth: z.ZodEnum<{
8346
8346
  3: "3";
8347
8347
  4: "4";
8348
8348
  6: "6";
8349
8349
  12: "12";
8350
8350
  }>;
8351
- valueType: z$2.ZodLiteral<"reference">;
8352
- }, z$2.core.$strip>;
8353
- declare const assetFieldDefinitionSchema: z$2.ZodObject<{
8354
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8355
- label: z$2.ZodRecord<z$2.ZodEnum<{
8351
+ valueType: z.ZodLiteral<"reference">;
8352
+ }, z.core.$strip>;
8353
+ declare const assetFieldDefinitionSchema: z.ZodObject<{
8354
+ id: z.ZodReadonly<z.ZodUUID>;
8355
+ label: z.ZodRecord<z.ZodEnum<{
8356
8356
  bg: "bg";
8357
8357
  cs: "cs";
8358
8358
  da: "da";
@@ -8377,8 +8377,8 @@ declare const assetFieldDefinitionSchema: z$2.ZodObject<{
8377
8377
  sl: "sl";
8378
8378
  sv: "sv";
8379
8379
  zh: "zh";
8380
- }> & z$2.core.$partial, z$2.ZodString>;
8381
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8380
+ }> & z.core.$partial, z.ZodString>;
8381
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8382
8382
  bg: "bg";
8383
8383
  cs: "cs";
8384
8384
  da: "da";
@@ -8403,25 +8403,25 @@ declare const assetFieldDefinitionSchema: z$2.ZodObject<{
8403
8403
  sl: "sl";
8404
8404
  sv: "sv";
8405
8405
  zh: "zh";
8406
- }> & z$2.core.$partial, z$2.ZodString>>;
8407
- isRequired: z$2.ZodBoolean;
8408
- isDisabled: z$2.ZodBoolean;
8409
- isUnique: z$2.ZodBoolean;
8410
- inputWidth: z$2.ZodEnum<{
8406
+ }> & z.core.$partial, z.ZodString>>;
8407
+ isRequired: z.ZodBoolean;
8408
+ isDisabled: z.ZodBoolean;
8409
+ isUnique: z.ZodBoolean;
8410
+ inputWidth: z.ZodEnum<{
8411
8411
  3: "3";
8412
8412
  4: "4";
8413
8413
  6: "6";
8414
8414
  12: "12";
8415
8415
  }>;
8416
- valueType: z$2.ZodLiteral<"reference">;
8417
- fieldType: z$2.ZodLiteral<"asset">;
8418
- min: z$2.ZodNullable<z$2.ZodNumber>;
8419
- max: z$2.ZodNullable<z$2.ZodNumber>;
8420
- }, z$2.core.$strip>;
8421
- type AssetFieldDefinition = z$2.infer<typeof assetFieldDefinitionSchema>;
8422
- declare const entryFieldDefinitionSchema: z$2.ZodObject<{
8423
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8424
- label: z$2.ZodRecord<z$2.ZodEnum<{
8416
+ valueType: z.ZodLiteral<"reference">;
8417
+ fieldType: z.ZodLiteral<"asset">;
8418
+ min: z.ZodNullable<z.ZodNumber>;
8419
+ max: z.ZodNullable<z.ZodNumber>;
8420
+ }, z.core.$strip>;
8421
+ type AssetFieldDefinition = z.infer<typeof assetFieldDefinitionSchema>;
8422
+ declare const entryFieldDefinitionSchema: z.ZodObject<{
8423
+ id: z.ZodReadonly<z.ZodUUID>;
8424
+ label: z.ZodRecord<z.ZodEnum<{
8425
8425
  bg: "bg";
8426
8426
  cs: "cs";
8427
8427
  da: "da";
@@ -8446,8 +8446,8 @@ declare const entryFieldDefinitionSchema: z$2.ZodObject<{
8446
8446
  sl: "sl";
8447
8447
  sv: "sv";
8448
8448
  zh: "zh";
8449
- }> & z$2.core.$partial, z$2.ZodString>;
8450
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8449
+ }> & z.core.$partial, z.ZodString>;
8450
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8451
8451
  bg: "bg";
8452
8452
  cs: "cs";
8453
8453
  da: "da";
@@ -8472,26 +8472,26 @@ declare const entryFieldDefinitionSchema: z$2.ZodObject<{
8472
8472
  sl: "sl";
8473
8473
  sv: "sv";
8474
8474
  zh: "zh";
8475
- }> & z$2.core.$partial, z$2.ZodString>>;
8476
- isRequired: z$2.ZodBoolean;
8477
- isDisabled: z$2.ZodBoolean;
8478
- isUnique: z$2.ZodBoolean;
8479
- inputWidth: z$2.ZodEnum<{
8475
+ }> & z.core.$partial, z.ZodString>>;
8476
+ isRequired: z.ZodBoolean;
8477
+ isDisabled: z.ZodBoolean;
8478
+ isUnique: z.ZodBoolean;
8479
+ inputWidth: z.ZodEnum<{
8480
8480
  3: "3";
8481
8481
  4: "4";
8482
8482
  6: "6";
8483
8483
  12: "12";
8484
8484
  }>;
8485
- valueType: z$2.ZodLiteral<"reference">;
8486
- fieldType: z$2.ZodLiteral<"entry">;
8487
- ofCollections: z$2.ZodArray<z$2.ZodUUID>;
8488
- min: z$2.ZodNullable<z$2.ZodNumber>;
8489
- max: z$2.ZodNullable<z$2.ZodNumber>;
8490
- }, z$2.core.$strip>;
8491
- type EntryFieldDefinition = z$2.infer<typeof entryFieldDefinitionSchema>;
8492
- declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonly [z$2.ZodObject<{
8493
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8494
- label: z$2.ZodRecord<z$2.ZodEnum<{
8485
+ valueType: z.ZodLiteral<"reference">;
8486
+ fieldType: z.ZodLiteral<"entry">;
8487
+ ofCollections: z.ZodArray<z.ZodUUID>;
8488
+ min: z.ZodNullable<z.ZodNumber>;
8489
+ max: z.ZodNullable<z.ZodNumber>;
8490
+ }, z.core.$strip>;
8491
+ type EntryFieldDefinition = z.infer<typeof entryFieldDefinitionSchema>;
8492
+ declare const fieldDefinitionSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
8493
+ id: z.ZodReadonly<z.ZodUUID>;
8494
+ label: z.ZodRecord<z.ZodEnum<{
8495
8495
  bg: "bg";
8496
8496
  cs: "cs";
8497
8497
  da: "da";
@@ -8516,8 +8516,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8516
8516
  sl: "sl";
8517
8517
  sv: "sv";
8518
8518
  zh: "zh";
8519
- }> & z$2.core.$partial, z$2.ZodString>;
8520
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8519
+ }> & z.core.$partial, z.ZodString>;
8520
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8521
8521
  bg: "bg";
8522
8522
  cs: "cs";
8523
8523
  da: "da";
@@ -8542,24 +8542,24 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8542
8542
  sl: "sl";
8543
8543
  sv: "sv";
8544
8544
  zh: "zh";
8545
- }> & z$2.core.$partial, z$2.ZodString>>;
8546
- isRequired: z$2.ZodBoolean;
8547
- isDisabled: z$2.ZodBoolean;
8548
- isUnique: z$2.ZodBoolean;
8549
- inputWidth: z$2.ZodEnum<{
8545
+ }> & z.core.$partial, z.ZodString>>;
8546
+ isRequired: z.ZodBoolean;
8547
+ isDisabled: z.ZodBoolean;
8548
+ isUnique: z.ZodBoolean;
8549
+ inputWidth: z.ZodEnum<{
8550
8550
  3: "3";
8551
8551
  4: "4";
8552
8552
  6: "6";
8553
8553
  12: "12";
8554
8554
  }>;
8555
- valueType: z$2.ZodLiteral<"string">;
8556
- defaultValue: z$2.ZodNullable<z$2.ZodString>;
8557
- fieldType: z$2.ZodLiteral<"text">;
8558
- min: z$2.ZodNullable<z$2.ZodNumber>;
8559
- max: z$2.ZodNullable<z$2.ZodNumber>;
8560
- }, z$2.core.$strip>, z$2.ZodObject<{
8561
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8562
- label: z$2.ZodRecord<z$2.ZodEnum<{
8555
+ valueType: z.ZodLiteral<"string">;
8556
+ defaultValue: z.ZodNullable<z.ZodString>;
8557
+ fieldType: z.ZodLiteral<"text">;
8558
+ min: z.ZodNullable<z.ZodNumber>;
8559
+ max: z.ZodNullable<z.ZodNumber>;
8560
+ }, z.core.$strip>, z.ZodObject<{
8561
+ id: z.ZodReadonly<z.ZodUUID>;
8562
+ label: z.ZodRecord<z.ZodEnum<{
8563
8563
  bg: "bg";
8564
8564
  cs: "cs";
8565
8565
  da: "da";
@@ -8584,8 +8584,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8584
8584
  sl: "sl";
8585
8585
  sv: "sv";
8586
8586
  zh: "zh";
8587
- }> & z$2.core.$partial, z$2.ZodString>;
8588
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8587
+ }> & z.core.$partial, z.ZodString>;
8588
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8589
8589
  bg: "bg";
8590
8590
  cs: "cs";
8591
8591
  da: "da";
@@ -8610,24 +8610,24 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8610
8610
  sl: "sl";
8611
8611
  sv: "sv";
8612
8612
  zh: "zh";
8613
- }> & z$2.core.$partial, z$2.ZodString>>;
8614
- isRequired: z$2.ZodBoolean;
8615
- isDisabled: z$2.ZodBoolean;
8616
- isUnique: z$2.ZodBoolean;
8617
- inputWidth: z$2.ZodEnum<{
8613
+ }> & z.core.$partial, z.ZodString>>;
8614
+ isRequired: z.ZodBoolean;
8615
+ isDisabled: z.ZodBoolean;
8616
+ isUnique: z.ZodBoolean;
8617
+ inputWidth: z.ZodEnum<{
8618
8618
  3: "3";
8619
8619
  4: "4";
8620
8620
  6: "6";
8621
8621
  12: "12";
8622
8622
  }>;
8623
- valueType: z$2.ZodLiteral<"string">;
8624
- defaultValue: z$2.ZodNullable<z$2.ZodString>;
8625
- fieldType: z$2.ZodLiteral<"textarea">;
8626
- min: z$2.ZodNullable<z$2.ZodNumber>;
8627
- max: z$2.ZodNullable<z$2.ZodNumber>;
8628
- }, z$2.core.$strip>, z$2.ZodObject<{
8629
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8630
- label: z$2.ZodRecord<z$2.ZodEnum<{
8623
+ valueType: z.ZodLiteral<"string">;
8624
+ defaultValue: z.ZodNullable<z.ZodString>;
8625
+ fieldType: z.ZodLiteral<"textarea">;
8626
+ min: z.ZodNullable<z.ZodNumber>;
8627
+ max: z.ZodNullable<z.ZodNumber>;
8628
+ }, z.core.$strip>, z.ZodObject<{
8629
+ id: z.ZodReadonly<z.ZodUUID>;
8630
+ label: z.ZodRecord<z.ZodEnum<{
8631
8631
  bg: "bg";
8632
8632
  cs: "cs";
8633
8633
  da: "da";
@@ -8652,8 +8652,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8652
8652
  sl: "sl";
8653
8653
  sv: "sv";
8654
8654
  zh: "zh";
8655
- }> & z$2.core.$partial, z$2.ZodString>;
8656
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8655
+ }> & z.core.$partial, z.ZodString>;
8656
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8657
8657
  bg: "bg";
8658
8658
  cs: "cs";
8659
8659
  da: "da";
@@ -8678,22 +8678,22 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8678
8678
  sl: "sl";
8679
8679
  sv: "sv";
8680
8680
  zh: "zh";
8681
- }> & z$2.core.$partial, z$2.ZodString>>;
8682
- isRequired: z$2.ZodBoolean;
8683
- isDisabled: z$2.ZodBoolean;
8684
- isUnique: z$2.ZodBoolean;
8685
- inputWidth: z$2.ZodEnum<{
8681
+ }> & z.core.$partial, z.ZodString>>;
8682
+ isRequired: z.ZodBoolean;
8683
+ isDisabled: z.ZodBoolean;
8684
+ isUnique: z.ZodBoolean;
8685
+ inputWidth: z.ZodEnum<{
8686
8686
  3: "3";
8687
8687
  4: "4";
8688
8688
  6: "6";
8689
8689
  12: "12";
8690
8690
  }>;
8691
- valueType: z$2.ZodLiteral<"string">;
8692
- fieldType: z$2.ZodLiteral<"email">;
8693
- defaultValue: z$2.ZodNullable<z$2.ZodEmail>;
8694
- }, z$2.core.$strip>, z$2.ZodObject<{
8695
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8696
- label: z$2.ZodRecord<z$2.ZodEnum<{
8691
+ valueType: z.ZodLiteral<"string">;
8692
+ fieldType: z.ZodLiteral<"email">;
8693
+ defaultValue: z.ZodNullable<z.ZodEmail>;
8694
+ }, z.core.$strip>, z.ZodObject<{
8695
+ id: z.ZodReadonly<z.ZodUUID>;
8696
+ label: z.ZodRecord<z.ZodEnum<{
8697
8697
  bg: "bg";
8698
8698
  cs: "cs";
8699
8699
  da: "da";
@@ -8718,8 +8718,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8718
8718
  sl: "sl";
8719
8719
  sv: "sv";
8720
8720
  zh: "zh";
8721
- }> & z$2.core.$partial, z$2.ZodString>;
8722
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8721
+ }> & z.core.$partial, z.ZodString>;
8722
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8723
8723
  bg: "bg";
8724
8724
  cs: "cs";
8725
8725
  da: "da";
@@ -8744,22 +8744,22 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8744
8744
  sl: "sl";
8745
8745
  sv: "sv";
8746
8746
  zh: "zh";
8747
- }> & z$2.core.$partial, z$2.ZodString>>;
8748
- isRequired: z$2.ZodBoolean;
8749
- isDisabled: z$2.ZodBoolean;
8750
- isUnique: z$2.ZodBoolean;
8751
- inputWidth: z$2.ZodEnum<{
8747
+ }> & z.core.$partial, z.ZodString>>;
8748
+ isRequired: z.ZodBoolean;
8749
+ isDisabled: z.ZodBoolean;
8750
+ isUnique: z.ZodBoolean;
8751
+ inputWidth: z.ZodEnum<{
8752
8752
  3: "3";
8753
8753
  4: "4";
8754
8754
  6: "6";
8755
8755
  12: "12";
8756
8756
  }>;
8757
- valueType: z$2.ZodLiteral<"string">;
8758
- fieldType: z$2.ZodLiteral<"url">;
8759
- defaultValue: z$2.ZodNullable<z$2.ZodURL>;
8760
- }, z$2.core.$strip>, z$2.ZodObject<{
8761
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8762
- label: z$2.ZodRecord<z$2.ZodEnum<{
8757
+ valueType: z.ZodLiteral<"string">;
8758
+ fieldType: z.ZodLiteral<"url">;
8759
+ defaultValue: z.ZodNullable<z.ZodURL>;
8760
+ }, z.core.$strip>, z.ZodObject<{
8761
+ id: z.ZodReadonly<z.ZodUUID>;
8762
+ label: z.ZodRecord<z.ZodEnum<{
8763
8763
  bg: "bg";
8764
8764
  cs: "cs";
8765
8765
  da: "da";
@@ -8784,8 +8784,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8784
8784
  sl: "sl";
8785
8785
  sv: "sv";
8786
8786
  zh: "zh";
8787
- }> & z$2.core.$partial, z$2.ZodString>;
8788
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8787
+ }> & z.core.$partial, z.ZodString>;
8788
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8789
8789
  bg: "bg";
8790
8790
  cs: "cs";
8791
8791
  da: "da";
@@ -8810,22 +8810,22 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8810
8810
  sl: "sl";
8811
8811
  sv: "sv";
8812
8812
  zh: "zh";
8813
- }> & z$2.core.$partial, z$2.ZodString>>;
8814
- isRequired: z$2.ZodBoolean;
8815
- isDisabled: z$2.ZodBoolean;
8816
- isUnique: z$2.ZodBoolean;
8817
- inputWidth: z$2.ZodEnum<{
8813
+ }> & z.core.$partial, z.ZodString>>;
8814
+ isRequired: z.ZodBoolean;
8815
+ isDisabled: z.ZodBoolean;
8816
+ isUnique: z.ZodBoolean;
8817
+ inputWidth: z.ZodEnum<{
8818
8818
  3: "3";
8819
8819
  4: "4";
8820
8820
  6: "6";
8821
8821
  12: "12";
8822
8822
  }>;
8823
- valueType: z$2.ZodLiteral<"string">;
8824
- fieldType: z$2.ZodLiteral<"ipv4">;
8825
- defaultValue: z$2.ZodNullable<z$2.ZodIPv4>;
8826
- }, z$2.core.$strip>, z$2.ZodObject<{
8827
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8828
- label: z$2.ZodRecord<z$2.ZodEnum<{
8823
+ valueType: z.ZodLiteral<"string">;
8824
+ fieldType: z.ZodLiteral<"ipv4">;
8825
+ defaultValue: z.ZodNullable<z.ZodIPv4>;
8826
+ }, z.core.$strip>, z.ZodObject<{
8827
+ id: z.ZodReadonly<z.ZodUUID>;
8828
+ label: z.ZodRecord<z.ZodEnum<{
8829
8829
  bg: "bg";
8830
8830
  cs: "cs";
8831
8831
  da: "da";
@@ -8850,8 +8850,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8850
8850
  sl: "sl";
8851
8851
  sv: "sv";
8852
8852
  zh: "zh";
8853
- }> & z$2.core.$partial, z$2.ZodString>;
8854
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8853
+ }> & z.core.$partial, z.ZodString>;
8854
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8855
8855
  bg: "bg";
8856
8856
  cs: "cs";
8857
8857
  da: "da";
@@ -8876,22 +8876,22 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8876
8876
  sl: "sl";
8877
8877
  sv: "sv";
8878
8878
  zh: "zh";
8879
- }> & z$2.core.$partial, z$2.ZodString>>;
8880
- isRequired: z$2.ZodBoolean;
8881
- isDisabled: z$2.ZodBoolean;
8882
- isUnique: z$2.ZodBoolean;
8883
- inputWidth: z$2.ZodEnum<{
8879
+ }> & z.core.$partial, z.ZodString>>;
8880
+ isRequired: z.ZodBoolean;
8881
+ isDisabled: z.ZodBoolean;
8882
+ isUnique: z.ZodBoolean;
8883
+ inputWidth: z.ZodEnum<{
8884
8884
  3: "3";
8885
8885
  4: "4";
8886
8886
  6: "6";
8887
8887
  12: "12";
8888
8888
  }>;
8889
- valueType: z$2.ZodLiteral<"string">;
8890
- fieldType: z$2.ZodLiteral<"date">;
8891
- defaultValue: z$2.ZodNullable<z$2.ZodISODate>;
8892
- }, z$2.core.$strip>, z$2.ZodObject<{
8893
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8894
- label: z$2.ZodRecord<z$2.ZodEnum<{
8889
+ valueType: z.ZodLiteral<"string">;
8890
+ fieldType: z.ZodLiteral<"date">;
8891
+ defaultValue: z.ZodNullable<z.ZodISODate>;
8892
+ }, z.core.$strip>, z.ZodObject<{
8893
+ id: z.ZodReadonly<z.ZodUUID>;
8894
+ label: z.ZodRecord<z.ZodEnum<{
8895
8895
  bg: "bg";
8896
8896
  cs: "cs";
8897
8897
  da: "da";
@@ -8916,8 +8916,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8916
8916
  sl: "sl";
8917
8917
  sv: "sv";
8918
8918
  zh: "zh";
8919
- }> & z$2.core.$partial, z$2.ZodString>;
8920
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8919
+ }> & z.core.$partial, z.ZodString>;
8920
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8921
8921
  bg: "bg";
8922
8922
  cs: "cs";
8923
8923
  da: "da";
@@ -8942,22 +8942,22 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8942
8942
  sl: "sl";
8943
8943
  sv: "sv";
8944
8944
  zh: "zh";
8945
- }> & z$2.core.$partial, z$2.ZodString>>;
8946
- isRequired: z$2.ZodBoolean;
8947
- isDisabled: z$2.ZodBoolean;
8948
- isUnique: z$2.ZodBoolean;
8949
- inputWidth: z$2.ZodEnum<{
8945
+ }> & z.core.$partial, z.ZodString>>;
8946
+ isRequired: z.ZodBoolean;
8947
+ isDisabled: z.ZodBoolean;
8948
+ isUnique: z.ZodBoolean;
8949
+ inputWidth: z.ZodEnum<{
8950
8950
  3: "3";
8951
8951
  4: "4";
8952
8952
  6: "6";
8953
8953
  12: "12";
8954
8954
  }>;
8955
- valueType: z$2.ZodLiteral<"string">;
8956
- fieldType: z$2.ZodLiteral<"time">;
8957
- defaultValue: z$2.ZodNullable<z$2.ZodISOTime>;
8958
- }, z$2.core.$strip>, z$2.ZodObject<{
8959
- id: z$2.ZodReadonly<z$2.ZodUUID>;
8960
- label: z$2.ZodRecord<z$2.ZodEnum<{
8955
+ valueType: z.ZodLiteral<"string">;
8956
+ fieldType: z.ZodLiteral<"time">;
8957
+ defaultValue: z.ZodNullable<z.ZodISOTime>;
8958
+ }, z.core.$strip>, z.ZodObject<{
8959
+ id: z.ZodReadonly<z.ZodUUID>;
8960
+ label: z.ZodRecord<z.ZodEnum<{
8961
8961
  bg: "bg";
8962
8962
  cs: "cs";
8963
8963
  da: "da";
@@ -8982,8 +8982,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
8982
8982
  sl: "sl";
8983
8983
  sv: "sv";
8984
8984
  zh: "zh";
8985
- }> & z$2.core.$partial, z$2.ZodString>;
8986
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
8985
+ }> & z.core.$partial, z.ZodString>;
8986
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
8987
8987
  bg: "bg";
8988
8988
  cs: "cs";
8989
8989
  da: "da";
@@ -9008,22 +9008,22 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9008
9008
  sl: "sl";
9009
9009
  sv: "sv";
9010
9010
  zh: "zh";
9011
- }> & z$2.core.$partial, z$2.ZodString>>;
9012
- isRequired: z$2.ZodBoolean;
9013
- isDisabled: z$2.ZodBoolean;
9014
- isUnique: z$2.ZodBoolean;
9015
- inputWidth: z$2.ZodEnum<{
9011
+ }> & z.core.$partial, z.ZodString>>;
9012
+ isRequired: z.ZodBoolean;
9013
+ isDisabled: z.ZodBoolean;
9014
+ isUnique: z.ZodBoolean;
9015
+ inputWidth: z.ZodEnum<{
9016
9016
  3: "3";
9017
9017
  4: "4";
9018
9018
  6: "6";
9019
9019
  12: "12";
9020
9020
  }>;
9021
- valueType: z$2.ZodLiteral<"string">;
9022
- fieldType: z$2.ZodLiteral<"datetime">;
9023
- defaultValue: z$2.ZodNullable<z$2.ZodISODateTime>;
9024
- }, z$2.core.$strip>, z$2.ZodObject<{
9025
- id: z$2.ZodReadonly<z$2.ZodUUID>;
9026
- label: z$2.ZodRecord<z$2.ZodEnum<{
9021
+ valueType: z.ZodLiteral<"string">;
9022
+ fieldType: z.ZodLiteral<"datetime">;
9023
+ defaultValue: z.ZodNullable<z.ZodISODateTime>;
9024
+ }, z.core.$strip>, z.ZodObject<{
9025
+ id: z.ZodReadonly<z.ZodUUID>;
9026
+ label: z.ZodRecord<z.ZodEnum<{
9027
9027
  bg: "bg";
9028
9028
  cs: "cs";
9029
9029
  da: "da";
@@ -9048,8 +9048,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9048
9048
  sl: "sl";
9049
9049
  sv: "sv";
9050
9050
  zh: "zh";
9051
- }> & z$2.core.$partial, z$2.ZodString>;
9052
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
9051
+ }> & z.core.$partial, z.ZodString>;
9052
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
9053
9053
  bg: "bg";
9054
9054
  cs: "cs";
9055
9055
  da: "da";
@@ -9074,22 +9074,22 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9074
9074
  sl: "sl";
9075
9075
  sv: "sv";
9076
9076
  zh: "zh";
9077
- }> & z$2.core.$partial, z$2.ZodString>>;
9078
- isRequired: z$2.ZodBoolean;
9079
- isDisabled: z$2.ZodBoolean;
9080
- isUnique: z$2.ZodBoolean;
9081
- inputWidth: z$2.ZodEnum<{
9077
+ }> & z.core.$partial, z.ZodString>>;
9078
+ isRequired: z.ZodBoolean;
9079
+ isDisabled: z.ZodBoolean;
9080
+ isUnique: z.ZodBoolean;
9081
+ inputWidth: z.ZodEnum<{
9082
9082
  3: "3";
9083
9083
  4: "4";
9084
9084
  6: "6";
9085
9085
  12: "12";
9086
9086
  }>;
9087
- valueType: z$2.ZodLiteral<"string">;
9088
- fieldType: z$2.ZodLiteral<"telephone">;
9089
- defaultValue: z$2.ZodNullable<z$2.ZodE164>;
9090
- }, z$2.core.$strip>]>, z$2.ZodObject<{
9091
- id: z$2.ZodReadonly<z$2.ZodUUID>;
9092
- label: z$2.ZodRecord<z$2.ZodEnum<{
9087
+ valueType: z.ZodLiteral<"string">;
9088
+ fieldType: z.ZodLiteral<"telephone">;
9089
+ defaultValue: z.ZodNullable<z.ZodE164>;
9090
+ }, z.core.$strip>]>, z.ZodObject<{
9091
+ id: z.ZodReadonly<z.ZodUUID>;
9092
+ label: z.ZodRecord<z.ZodEnum<{
9093
9093
  bg: "bg";
9094
9094
  cs: "cs";
9095
9095
  da: "da";
@@ -9114,8 +9114,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9114
9114
  sl: "sl";
9115
9115
  sv: "sv";
9116
9116
  zh: "zh";
9117
- }> & z$2.core.$partial, z$2.ZodString>;
9118
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
9117
+ }> & z.core.$partial, z.ZodString>;
9118
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
9119
9119
  bg: "bg";
9120
9120
  cs: "cs";
9121
9121
  da: "da";
@@ -9140,24 +9140,24 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9140
9140
  sl: "sl";
9141
9141
  sv: "sv";
9142
9142
  zh: "zh";
9143
- }> & z$2.core.$partial, z$2.ZodString>>;
9144
- isRequired: z$2.ZodBoolean;
9145
- isDisabled: z$2.ZodBoolean;
9146
- inputWidth: z$2.ZodEnum<{
9143
+ }> & z.core.$partial, z.ZodString>>;
9144
+ isRequired: z.ZodBoolean;
9145
+ isDisabled: z.ZodBoolean;
9146
+ inputWidth: z.ZodEnum<{
9147
9147
  3: "3";
9148
9148
  4: "4";
9149
9149
  6: "6";
9150
9150
  12: "12";
9151
9151
  }>;
9152
- valueType: z$2.ZodLiteral<"number">;
9153
- min: z$2.ZodNullable<z$2.ZodNumber>;
9154
- max: z$2.ZodNullable<z$2.ZodNumber>;
9155
- isUnique: z$2.ZodLiteral<false>;
9156
- defaultValue: z$2.ZodNullable<z$2.ZodNumber>;
9157
- fieldType: z$2.ZodLiteral<"number">;
9158
- }, z$2.core.$strip>, z$2.ZodObject<{
9159
- id: z$2.ZodReadonly<z$2.ZodUUID>;
9160
- label: z$2.ZodRecord<z$2.ZodEnum<{
9152
+ valueType: z.ZodLiteral<"number">;
9153
+ min: z.ZodNullable<z.ZodNumber>;
9154
+ max: z.ZodNullable<z.ZodNumber>;
9155
+ isUnique: z.ZodLiteral<false>;
9156
+ defaultValue: z.ZodNullable<z.ZodNumber>;
9157
+ fieldType: z.ZodLiteral<"number">;
9158
+ }, z.core.$strip>, z.ZodObject<{
9159
+ id: z.ZodReadonly<z.ZodUUID>;
9160
+ label: z.ZodRecord<z.ZodEnum<{
9161
9161
  bg: "bg";
9162
9162
  cs: "cs";
9163
9163
  da: "da";
@@ -9182,8 +9182,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9182
9182
  sl: "sl";
9183
9183
  sv: "sv";
9184
9184
  zh: "zh";
9185
- }> & z$2.core.$partial, z$2.ZodString>;
9186
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
9185
+ }> & z.core.$partial, z.ZodString>;
9186
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
9187
9187
  bg: "bg";
9188
9188
  cs: "cs";
9189
9189
  da: "da";
@@ -9208,24 +9208,24 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9208
9208
  sl: "sl";
9209
9209
  sv: "sv";
9210
9210
  zh: "zh";
9211
- }> & z$2.core.$partial, z$2.ZodString>>;
9212
- isDisabled: z$2.ZodBoolean;
9213
- inputWidth: z$2.ZodEnum<{
9211
+ }> & z.core.$partial, z.ZodString>>;
9212
+ isDisabled: z.ZodBoolean;
9213
+ inputWidth: z.ZodEnum<{
9214
9214
  3: "3";
9215
9215
  4: "4";
9216
9216
  6: "6";
9217
9217
  12: "12";
9218
9218
  }>;
9219
- valueType: z$2.ZodLiteral<"number">;
9220
- isUnique: z$2.ZodLiteral<false>;
9221
- fieldType: z$2.ZodLiteral<"range">;
9222
- isRequired: z$2.ZodLiteral<true>;
9223
- min: z$2.ZodNumber;
9224
- max: z$2.ZodNumber;
9225
- defaultValue: z$2.ZodNumber;
9226
- }, z$2.core.$strip>, z$2.ZodObject<{
9227
- id: z$2.ZodReadonly<z$2.ZodUUID>;
9228
- label: z$2.ZodRecord<z$2.ZodEnum<{
9219
+ valueType: z.ZodLiteral<"number">;
9220
+ isUnique: z.ZodLiteral<false>;
9221
+ fieldType: z.ZodLiteral<"range">;
9222
+ isRequired: z.ZodLiteral<true>;
9223
+ min: z.ZodNumber;
9224
+ max: z.ZodNumber;
9225
+ defaultValue: z.ZodNumber;
9226
+ }, z.core.$strip>, z.ZodObject<{
9227
+ id: z.ZodReadonly<z.ZodUUID>;
9228
+ label: z.ZodRecord<z.ZodEnum<{
9229
9229
  bg: "bg";
9230
9230
  cs: "cs";
9231
9231
  da: "da";
@@ -9250,8 +9250,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9250
9250
  sl: "sl";
9251
9251
  sv: "sv";
9252
9252
  zh: "zh";
9253
- }> & z$2.core.$partial, z$2.ZodString>;
9254
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
9253
+ }> & z.core.$partial, z.ZodString>;
9254
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
9255
9255
  bg: "bg";
9256
9256
  cs: "cs";
9257
9257
  da: "da";
@@ -9276,22 +9276,22 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9276
9276
  sl: "sl";
9277
9277
  sv: "sv";
9278
9278
  zh: "zh";
9279
- }> & z$2.core.$partial, z$2.ZodString>>;
9280
- isDisabled: z$2.ZodBoolean;
9281
- inputWidth: z$2.ZodEnum<{
9279
+ }> & z.core.$partial, z.ZodString>>;
9280
+ isDisabled: z.ZodBoolean;
9281
+ inputWidth: z.ZodEnum<{
9282
9282
  3: "3";
9283
9283
  4: "4";
9284
9284
  6: "6";
9285
9285
  12: "12";
9286
9286
  }>;
9287
- valueType: z$2.ZodLiteral<"boolean">;
9288
- isRequired: z$2.ZodLiteral<true>;
9289
- defaultValue: z$2.ZodBoolean;
9290
- isUnique: z$2.ZodLiteral<false>;
9291
- fieldType: z$2.ZodLiteral<"toggle">;
9292
- }, z$2.core.$strip>, z$2.ZodObject<{
9293
- id: z$2.ZodReadonly<z$2.ZodUUID>;
9294
- label: z$2.ZodRecord<z$2.ZodEnum<{
9287
+ valueType: z.ZodLiteral<"boolean">;
9288
+ isRequired: z.ZodLiteral<true>;
9289
+ defaultValue: z.ZodBoolean;
9290
+ isUnique: z.ZodLiteral<false>;
9291
+ fieldType: z.ZodLiteral<"toggle">;
9292
+ }, z.core.$strip>, z.ZodObject<{
9293
+ id: z.ZodReadonly<z.ZodUUID>;
9294
+ label: z.ZodRecord<z.ZodEnum<{
9295
9295
  bg: "bg";
9296
9296
  cs: "cs";
9297
9297
  da: "da";
@@ -9316,8 +9316,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9316
9316
  sl: "sl";
9317
9317
  sv: "sv";
9318
9318
  zh: "zh";
9319
- }> & z$2.core.$partial, z$2.ZodString>;
9320
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
9319
+ }> & z.core.$partial, z.ZodString>;
9320
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
9321
9321
  bg: "bg";
9322
9322
  cs: "cs";
9323
9323
  da: "da";
@@ -9342,23 +9342,23 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9342
9342
  sl: "sl";
9343
9343
  sv: "sv";
9344
9344
  zh: "zh";
9345
- }> & z$2.core.$partial, z$2.ZodString>>;
9346
- isRequired: z$2.ZodBoolean;
9347
- isDisabled: z$2.ZodBoolean;
9348
- isUnique: z$2.ZodBoolean;
9349
- inputWidth: z$2.ZodEnum<{
9345
+ }> & z.core.$partial, z.ZodString>>;
9346
+ isRequired: z.ZodBoolean;
9347
+ isDisabled: z.ZodBoolean;
9348
+ isUnique: z.ZodBoolean;
9349
+ inputWidth: z.ZodEnum<{
9350
9350
  3: "3";
9351
9351
  4: "4";
9352
9352
  6: "6";
9353
9353
  12: "12";
9354
9354
  }>;
9355
- valueType: z$2.ZodLiteral<"reference">;
9356
- fieldType: z$2.ZodLiteral<"asset">;
9357
- min: z$2.ZodNullable<z$2.ZodNumber>;
9358
- max: z$2.ZodNullable<z$2.ZodNumber>;
9359
- }, z$2.core.$strip>, z$2.ZodObject<{
9360
- id: z$2.ZodReadonly<z$2.ZodUUID>;
9361
- label: z$2.ZodRecord<z$2.ZodEnum<{
9355
+ valueType: z.ZodLiteral<"reference">;
9356
+ fieldType: z.ZodLiteral<"asset">;
9357
+ min: z.ZodNullable<z.ZodNumber>;
9358
+ max: z.ZodNullable<z.ZodNumber>;
9359
+ }, z.core.$strip>, z.ZodObject<{
9360
+ id: z.ZodReadonly<z.ZodUUID>;
9361
+ label: z.ZodRecord<z.ZodEnum<{
9362
9362
  bg: "bg";
9363
9363
  cs: "cs";
9364
9364
  da: "da";
@@ -9383,8 +9383,8 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9383
9383
  sl: "sl";
9384
9384
  sv: "sv";
9385
9385
  zh: "zh";
9386
- }> & z$2.core.$partial, z$2.ZodString>;
9387
- description: z$2.ZodNullable<z$2.ZodRecord<z$2.ZodEnum<{
9386
+ }> & z.core.$partial, z.ZodString>;
9387
+ description: z.ZodNullable<z.ZodRecord<z.ZodEnum<{
9388
9388
  bg: "bg";
9389
9389
  cs: "cs";
9390
9390
  da: "da";
@@ -9409,29 +9409,29 @@ declare const fieldDefinitionSchema: z$2.ZodUnion<readonly [z$2.ZodUnion<readonl
9409
9409
  sl: "sl";
9410
9410
  sv: "sv";
9411
9411
  zh: "zh";
9412
- }> & z$2.core.$partial, z$2.ZodString>>;
9413
- isRequired: z$2.ZodBoolean;
9414
- isDisabled: z$2.ZodBoolean;
9415
- isUnique: z$2.ZodBoolean;
9416
- inputWidth: z$2.ZodEnum<{
9412
+ }> & z.core.$partial, z.ZodString>>;
9413
+ isRequired: z.ZodBoolean;
9414
+ isDisabled: z.ZodBoolean;
9415
+ isUnique: z.ZodBoolean;
9416
+ inputWidth: z.ZodEnum<{
9417
9417
  3: "3";
9418
9418
  4: "4";
9419
9419
  6: "6";
9420
9420
  12: "12";
9421
9421
  }>;
9422
- valueType: z$2.ZodLiteral<"reference">;
9423
- fieldType: z$2.ZodLiteral<"entry">;
9424
- ofCollections: z$2.ZodArray<z$2.ZodUUID>;
9425
- min: z$2.ZodNullable<z$2.ZodNumber>;
9426
- max: z$2.ZodNullable<z$2.ZodNumber>;
9427
- }, z$2.core.$strip>]>;
9428
- type FieldDefinition = z$2.infer<typeof fieldDefinitionSchema>;
9422
+ valueType: z.ZodLiteral<"reference">;
9423
+ fieldType: z.ZodLiteral<"entry">;
9424
+ ofCollections: z.ZodArray<z.ZodUUID>;
9425
+ min: z.ZodNullable<z.ZodNumber>;
9426
+ max: z.ZodNullable<z.ZodNumber>;
9427
+ }, z.core.$strip>]>;
9428
+ type FieldDefinition = z.infer<typeof fieldDefinitionSchema>;
9429
9429
 
9430
9430
  /**
9431
9431
  * A basic file structure every elek.io file on disk has to follow
9432
9432
  */
9433
- declare const baseFileSchema: z$1.ZodObject<{
9434
- objectType: z$1.ZodReadonly<z$1.ZodEnum<{
9433
+ declare const baseFileSchema: z.ZodObject<{
9434
+ objectType: z.ZodReadonly<z.ZodEnum<{
9435
9435
  project: "project";
9436
9436
  asset: "asset";
9437
9437
  collection: "collection";
@@ -9439,34 +9439,34 @@ declare const baseFileSchema: z$1.ZodObject<{
9439
9439
  value: "value";
9440
9440
  sharedValue: "sharedValue";
9441
9441
  }>>;
9442
- id: z$1.ZodReadonly<z$1.ZodUUID>;
9443
- created: z$1.ZodReadonly<z$1.ZodString>;
9444
- updated: z$1.ZodNullable<z$1.ZodString>;
9445
- }, z$1.z.core.$strip>;
9446
- type BaseFile = z$1.infer<typeof baseFileSchema>;
9447
- declare const fileReferenceSchema: z$1.ZodObject<{
9448
- id: z$1.ZodUUID;
9449
- extension: z$1.ZodOptional<z$1.ZodString>;
9450
- }, z$1.z.core.$strip>;
9451
- type FileReference = z$1.infer<typeof fileReferenceSchema>;
9442
+ id: z.ZodReadonly<z.ZodUUID>;
9443
+ created: z.ZodReadonly<z.ZodString>;
9444
+ updated: z.ZodNullable<z.ZodString>;
9445
+ }, z.core.$strip>;
9446
+ type BaseFile = z.infer<typeof baseFileSchema>;
9447
+ declare const fileReferenceSchema: z.ZodObject<{
9448
+ id: z.ZodUUID;
9449
+ extension: z.ZodOptional<z.ZodString>;
9450
+ }, z.core.$strip>;
9451
+ type FileReference = z.infer<typeof fileReferenceSchema>;
9452
9452
 
9453
9453
  /**
9454
9454
  * Signature git uses to identify users
9455
9455
  */
9456
- declare const gitSignatureSchema: z$2.ZodObject<{
9457
- name: z$2.ZodString;
9458
- email: z$2.ZodString;
9459
- }, z$2.core.$strip>;
9460
- type GitSignature = z$2.infer<typeof gitSignatureSchema>;
9461
- declare const gitMessageSchema: z$2.ZodObject<{
9462
- method: z$2.ZodEnum<{
9456
+ declare const gitSignatureSchema: z.ZodObject<{
9457
+ name: z.ZodString;
9458
+ email: z.ZodString;
9459
+ }, z.core.$strip>;
9460
+ type GitSignature = z.infer<typeof gitSignatureSchema>;
9461
+ declare const gitMessageSchema: z.ZodObject<{
9462
+ method: z.ZodEnum<{
9463
9463
  create: "create";
9464
9464
  update: "update";
9465
9465
  delete: "delete";
9466
9466
  upgrade: "upgrade";
9467
9467
  }>;
9468
- reference: z$2.ZodObject<{
9469
- objectType: z$2.ZodEnum<{
9468
+ reference: z.ZodObject<{
9469
+ objectType: z.ZodEnum<{
9470
9470
  project: "project";
9471
9471
  asset: "asset";
9472
9472
  collection: "collection";
@@ -9474,32 +9474,32 @@ declare const gitMessageSchema: z$2.ZodObject<{
9474
9474
  value: "value";
9475
9475
  sharedValue: "sharedValue";
9476
9476
  }>;
9477
- id: z$2.ZodUUID;
9478
- collectionId: z$2.ZodOptional<z$2.ZodUUID>;
9479
- }, z$2.core.$strip>;
9480
- }, z$2.core.$strip>;
9481
- type GitMessage = z$2.infer<typeof gitMessageSchema>;
9482
- declare const gitTagSchema: z$2.ZodObject<{
9483
- id: z$2.ZodUUID;
9484
- message: z$2.ZodString;
9485
- author: z$2.ZodObject<{
9486
- name: z$2.ZodString;
9487
- email: z$2.ZodString;
9488
- }, z$2.core.$strip>;
9489
- datetime: z$2.ZodString;
9490
- }, z$2.core.$strip>;
9491
- type GitTag = z$2.infer<typeof gitTagSchema>;
9492
- declare const gitCommitSchema: z$2.ZodObject<{
9493
- hash: z$2.ZodString;
9494
- message: z$2.ZodObject<{
9495
- method: z$2.ZodEnum<{
9477
+ id: z.ZodUUID;
9478
+ collectionId: z.ZodOptional<z.ZodUUID>;
9479
+ }, z.core.$strip>;
9480
+ }, z.core.$strip>;
9481
+ type GitMessage = z.infer<typeof gitMessageSchema>;
9482
+ declare const gitTagSchema: z.ZodObject<{
9483
+ id: z.ZodUUID;
9484
+ message: z.ZodString;
9485
+ author: z.ZodObject<{
9486
+ name: z.ZodString;
9487
+ email: z.ZodString;
9488
+ }, z.core.$strip>;
9489
+ datetime: z.ZodString;
9490
+ }, z.core.$strip>;
9491
+ type GitTag = z.infer<typeof gitTagSchema>;
9492
+ declare const gitCommitSchema: z.ZodObject<{
9493
+ hash: z.ZodString;
9494
+ message: z.ZodObject<{
9495
+ method: z.ZodEnum<{
9496
9496
  create: "create";
9497
9497
  update: "update";
9498
9498
  delete: "delete";
9499
9499
  upgrade: "upgrade";
9500
9500
  }>;
9501
- reference: z$2.ZodObject<{
9502
- objectType: z$2.ZodEnum<{
9501
+ reference: z.ZodObject<{
9502
+ objectType: z.ZodEnum<{
9503
9503
  project: "project";
9504
9504
  asset: "asset";
9505
9505
  collection: "collection";
@@ -9507,74 +9507,74 @@ declare const gitCommitSchema: z$2.ZodObject<{
9507
9507
  value: "value";
9508
9508
  sharedValue: "sharedValue";
9509
9509
  }>;
9510
- id: z$2.ZodUUID;
9511
- collectionId: z$2.ZodOptional<z$2.ZodUUID>;
9512
- }, z$2.core.$strip>;
9513
- }, z$2.core.$strip>;
9514
- author: z$2.ZodObject<{
9515
- name: z$2.ZodString;
9516
- email: z$2.ZodString;
9517
- }, z$2.core.$strip>;
9518
- datetime: z$2.ZodString;
9519
- tag: z$2.ZodNullable<z$2.ZodObject<{
9520
- id: z$2.ZodUUID;
9521
- message: z$2.ZodString;
9522
- author: z$2.ZodObject<{
9523
- name: z$2.ZodString;
9524
- email: z$2.ZodString;
9525
- }, z$2.core.$strip>;
9526
- datetime: z$2.ZodString;
9527
- }, z$2.core.$strip>>;
9528
- }, z$2.core.$strip>;
9529
- type GitCommit = z$2.infer<typeof gitCommitSchema>;
9530
- declare const gitInitOptionsSchema: z$2.ZodObject<{
9531
- initialBranch: z$2.ZodString;
9532
- }, z$2.core.$strip>;
9533
- type GitInitOptions = z$2.infer<typeof gitInitOptionsSchema>;
9534
- declare const gitCloneOptionsSchema: z$2.ZodObject<{
9535
- depth: z$2.ZodNumber;
9536
- singleBranch: z$2.ZodBoolean;
9537
- branch: z$2.ZodString;
9538
- bare: z$2.ZodBoolean;
9539
- }, z$2.core.$strip>;
9540
- type GitCloneOptions = z$2.infer<typeof gitCloneOptionsSchema>;
9541
- declare const gitMergeOptionsSchema: z$2.ZodObject<{
9542
- squash: z$2.ZodBoolean;
9543
- }, z$2.core.$strip>;
9544
- type GitMergeOptions = z$2.infer<typeof gitMergeOptionsSchema>;
9545
- declare const gitSwitchOptionsSchema: z$2.ZodObject<{
9546
- isNew: z$2.ZodOptional<z$2.ZodBoolean>;
9547
- }, z$2.core.$strip>;
9548
- type GitSwitchOptions = z$2.infer<typeof gitSwitchOptionsSchema>;
9549
- declare const gitLogOptionsSchema: z$2.ZodObject<{
9550
- limit: z$2.ZodOptional<z$2.ZodNumber>;
9551
- between: z$2.ZodObject<{
9552
- from: z$2.ZodString;
9553
- to: z$2.ZodOptional<z$2.ZodString>;
9554
- }, z$2.core.$strip>;
9555
- filePath: z$2.ZodOptional<z$2.ZodString>;
9556
- }, z$2.core.$strip>;
9557
- type GitLogOptions = z$2.infer<typeof gitLogOptionsSchema>;
9558
- declare const createGitTagSchema: z$2.ZodObject<{
9559
- message: z$2.ZodString;
9560
- path: z$2.ZodString;
9561
- hash: z$2.ZodOptional<z$2.ZodString>;
9562
- }, z$2.core.$strip>;
9563
- type CreateGitTagProps = z$2.infer<typeof createGitTagSchema>;
9564
- declare const readGitTagSchema: z$2.ZodObject<{
9565
- path: z$2.ZodString;
9566
- id: z$2.ZodReadonly<z$2.ZodUUID>;
9567
- }, z$2.core.$strip>;
9568
- type ReadGitTagProps = z$2.infer<typeof readGitTagSchema>;
9569
- declare const deleteGitTagSchema: z$2.ZodObject<{
9570
- path: z$2.ZodString;
9571
- id: z$2.ZodReadonly<z$2.ZodUUID>;
9572
- }, z$2.core.$strip>;
9573
- type DeleteGitTagProps = z$2.infer<typeof deleteGitTagSchema>;
9574
- declare const countGitTagsSchema: z$2.ZodObject<{
9575
- path: z$2.ZodString;
9576
- }, z$2.core.$strip>;
9577
- type CountGitTagsProps = z$2.infer<typeof countGitTagsSchema>;
9510
+ id: z.ZodUUID;
9511
+ collectionId: z.ZodOptional<z.ZodUUID>;
9512
+ }, z.core.$strip>;
9513
+ }, z.core.$strip>;
9514
+ author: z.ZodObject<{
9515
+ name: z.ZodString;
9516
+ email: z.ZodString;
9517
+ }, z.core.$strip>;
9518
+ datetime: z.ZodString;
9519
+ tag: z.ZodNullable<z.ZodObject<{
9520
+ id: z.ZodUUID;
9521
+ message: z.ZodString;
9522
+ author: z.ZodObject<{
9523
+ name: z.ZodString;
9524
+ email: z.ZodString;
9525
+ }, z.core.$strip>;
9526
+ datetime: z.ZodString;
9527
+ }, z.core.$strip>>;
9528
+ }, z.core.$strip>;
9529
+ type GitCommit = z.infer<typeof gitCommitSchema>;
9530
+ declare const gitInitOptionsSchema: z.ZodObject<{
9531
+ initialBranch: z.ZodString;
9532
+ }, z.core.$strip>;
9533
+ type GitInitOptions = z.infer<typeof gitInitOptionsSchema>;
9534
+ declare const gitCloneOptionsSchema: z.ZodObject<{
9535
+ depth: z.ZodNumber;
9536
+ singleBranch: z.ZodBoolean;
9537
+ branch: z.ZodString;
9538
+ bare: z.ZodBoolean;
9539
+ }, z.core.$strip>;
9540
+ type GitCloneOptions = z.infer<typeof gitCloneOptionsSchema>;
9541
+ declare const gitMergeOptionsSchema: z.ZodObject<{
9542
+ squash: z.ZodBoolean;
9543
+ }, z.core.$strip>;
9544
+ type GitMergeOptions = z.infer<typeof gitMergeOptionsSchema>;
9545
+ declare const gitSwitchOptionsSchema: z.ZodObject<{
9546
+ isNew: z.ZodOptional<z.ZodBoolean>;
9547
+ }, z.core.$strip>;
9548
+ type GitSwitchOptions = z.infer<typeof gitSwitchOptionsSchema>;
9549
+ declare const gitLogOptionsSchema: z.ZodObject<{
9550
+ limit: z.ZodOptional<z.ZodNumber>;
9551
+ between: z.ZodObject<{
9552
+ from: z.ZodString;
9553
+ to: z.ZodOptional<z.ZodString>;
9554
+ }, z.core.$strip>;
9555
+ filePath: z.ZodOptional<z.ZodString>;
9556
+ }, z.core.$strip>;
9557
+ type GitLogOptions = z.infer<typeof gitLogOptionsSchema>;
9558
+ declare const createGitTagSchema: z.ZodObject<{
9559
+ message: z.ZodString;
9560
+ path: z.ZodString;
9561
+ hash: z.ZodOptional<z.ZodString>;
9562
+ }, z.core.$strip>;
9563
+ type CreateGitTagProps = z.infer<typeof createGitTagSchema>;
9564
+ declare const readGitTagSchema: z.ZodObject<{
9565
+ path: z.ZodString;
9566
+ id: z.ZodReadonly<z.ZodUUID>;
9567
+ }, z.core.$strip>;
9568
+ type ReadGitTagProps = z.infer<typeof readGitTagSchema>;
9569
+ declare const deleteGitTagSchema: z.ZodObject<{
9570
+ path: z.ZodString;
9571
+ id: z.ZodReadonly<z.ZodUUID>;
9572
+ }, z.core.$strip>;
9573
+ type DeleteGitTagProps = z.infer<typeof deleteGitTagSchema>;
9574
+ declare const countGitTagsSchema: z.ZodObject<{
9575
+ path: z.ZodString;
9576
+ }, z.core.$strip>;
9577
+ type CountGitTagsProps = z.infer<typeof countGitTagsSchema>;
9578
9578
 
9579
9579
  declare const projectStatusSchema: z.ZodEnum<{
9580
9580
  foo: "foo";
@@ -11604,177 +11604,21 @@ declare const searchProjectSchema: z.ZodObject<{
11604
11604
  }, z.core.$strip>;
11605
11605
  type SearchProjectProps = z.infer<typeof searchProjectSchema>;
11606
11606
 
11607
- declare const ValueTypeSchema: z$1.ZodEnum<{
11608
- string: "string";
11609
- number: "number";
11610
- boolean: "boolean";
11611
- reference: "reference";
11612
- }>;
11613
- type ValueType = z$1.infer<typeof ValueTypeSchema>;
11614
- declare const valueContentReferenceBase: z$1.ZodObject<{
11615
- id: z$1.ZodUUID;
11616
- }, z$1.z.core.$strip>;
11617
- declare const valueContentReferenceToAssetSchema: z$1.ZodObject<{
11618
- id: z$1.ZodUUID;
11619
- objectType: z$1.ZodLiteral<"asset">;
11620
- }, z$1.z.core.$strip>;
11621
- type ValueContentReferenceToAsset = z$1.infer<typeof valueContentReferenceToAssetSchema>;
11622
- declare const valueContentReferenceToCollectionSchema: z$1.ZodObject<{
11623
- id: z$1.ZodUUID;
11624
- objectType: z$1.ZodLiteral<"collection">;
11625
- }, z$1.z.core.$strip>;
11626
- type ValueContentReferenceToCollection = z$1.infer<typeof valueContentReferenceToCollectionSchema>;
11627
- declare const valueContentReferenceToEntrySchema: z$1.ZodObject<{
11628
- id: z$1.ZodUUID;
11629
- objectType: z$1.ZodLiteral<"entry">;
11630
- }, z$1.z.core.$strip>;
11631
- type ValueContentReferenceToEntry = z$1.infer<typeof valueContentReferenceToEntrySchema>;
11632
- declare const valueContentReferenceSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
11633
- id: z$1.ZodUUID;
11634
- objectType: z$1.ZodLiteral<"asset">;
11635
- }, z$1.z.core.$strip>, z$1.ZodObject<{
11636
- id: z$1.ZodUUID;
11637
- objectType: z$1.ZodLiteral<"collection">;
11638
- }, z$1.z.core.$strip>, z$1.ZodObject<{
11639
- id: z$1.ZodUUID;
11640
- objectType: z$1.ZodLiteral<"entry">;
11641
- }, z$1.z.core.$strip>]>;
11642
- type ValueContentReference = z$1.infer<typeof valueContentReferenceSchema>;
11643
- declare const directValueBaseSchema: z$1.ZodObject<{
11644
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11645
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11646
- }, z$1.z.core.$strip>;
11647
- declare const directStringValueSchema: z$1.ZodObject<{
11648
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11649
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11650
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"string">>;
11651
- content: z$1.ZodRecord<z$1.ZodEnum<{
11652
- bg: "bg";
11653
- cs: "cs";
11654
- da: "da";
11655
- de: "de";
11656
- el: "el";
11657
- en: "en";
11658
- es: "es";
11659
- et: "et";
11660
- fi: "fi";
11661
- fr: "fr";
11662
- hu: "hu";
11663
- it: "it";
11664
- ja: "ja";
11665
- lt: "lt";
11666
- lv: "lv";
11667
- nl: "nl";
11668
- pl: "pl";
11669
- pt: "pt";
11670
- ro: "ro";
11671
- ru: "ru";
11672
- sk: "sk";
11673
- sl: "sl";
11674
- sv: "sv";
11675
- zh: "zh";
11676
- }> & z$1.z.core.$partial, z$1.ZodString>;
11677
- }, z$1.z.core.$strip>;
11678
- type DirectStringValue = z$1.infer<typeof directStringValueSchema>;
11679
- declare const directNumberValueSchema: z$1.ZodObject<{
11680
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11681
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11682
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"number">>;
11683
- content: z$1.ZodRecord<z$1.ZodEnum<{
11684
- bg: "bg";
11685
- cs: "cs";
11686
- da: "da";
11687
- de: "de";
11688
- el: "el";
11689
- en: "en";
11690
- es: "es";
11691
- et: "et";
11692
- fi: "fi";
11693
- fr: "fr";
11694
- hu: "hu";
11695
- it: "it";
11696
- ja: "ja";
11697
- lt: "lt";
11698
- lv: "lv";
11699
- nl: "nl";
11700
- pl: "pl";
11701
- pt: "pt";
11702
- ro: "ro";
11703
- ru: "ru";
11704
- sk: "sk";
11705
- sl: "sl";
11706
- sv: "sv";
11707
- zh: "zh";
11708
- }> & z$1.z.core.$partial, z$1.ZodNumber>;
11709
- }, z$1.z.core.$strip>;
11710
- type DirectNumberValue = z$1.infer<typeof directNumberValueSchema>;
11711
- declare const directBooleanValueSchema: z$1.ZodObject<{
11712
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11713
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11714
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"boolean">>;
11715
- content: z$1.ZodRecord<z$1.ZodEnum<{
11716
- bg: "bg";
11717
- cs: "cs";
11718
- da: "da";
11719
- de: "de";
11720
- el: "el";
11721
- en: "en";
11722
- es: "es";
11723
- et: "et";
11724
- fi: "fi";
11725
- fr: "fr";
11726
- hu: "hu";
11727
- it: "it";
11728
- ja: "ja";
11729
- lt: "lt";
11730
- lv: "lv";
11731
- nl: "nl";
11732
- pl: "pl";
11733
- pt: "pt";
11734
- ro: "ro";
11735
- ru: "ru";
11736
- sk: "sk";
11737
- sl: "sl";
11738
- sv: "sv";
11739
- zh: "zh";
11740
- }> & z$1.z.core.$partial, z$1.ZodBoolean>;
11741
- }, z$1.z.core.$strip>;
11742
- type DirectBooleanValue = z$1.infer<typeof directBooleanValueSchema>;
11743
- declare const directValueSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
11744
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11745
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11746
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"string">>;
11747
- content: z$1.ZodRecord<z$1.ZodEnum<{
11748
- bg: "bg";
11749
- cs: "cs";
11750
- da: "da";
11751
- de: "de";
11752
- el: "el";
11753
- en: "en";
11754
- es: "es";
11755
- et: "et";
11756
- fi: "fi";
11757
- fr: "fr";
11758
- hu: "hu";
11759
- it: "it";
11760
- ja: "ja";
11761
- lt: "lt";
11762
- lv: "lv";
11763
- nl: "nl";
11764
- pl: "pl";
11765
- pt: "pt";
11766
- ro: "ro";
11767
- ru: "ru";
11768
- sk: "sk";
11769
- sl: "sl";
11770
- sv: "sv";
11771
- zh: "zh";
11772
- }> & z$1.z.core.$partial, z$1.ZodString>;
11773
- }, z$1.z.core.$strip>, z$1.ZodObject<{
11774
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11775
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11776
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"number">>;
11777
- content: z$1.ZodRecord<z$1.ZodEnum<{
11607
+ /**
11608
+ * Dynamic zod schema generation
11609
+ *
11610
+ * Altough everything is already strictly typed, a type of string might not be an email or text of a certain length.
11611
+ * To validate this, we need to generate zod schemas based on Field definitions the user created.
11612
+ */
11613
+
11614
+ /**
11615
+ * Generates a zod schema to check a Value based on given Field definition
11616
+ */
11617
+ declare function getValueSchemaFromFieldDefinition(fieldDefinition: FieldDefinition): z.ZodObject<{
11618
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11619
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11620
+ valueType: z.ZodReadonly<z.ZodLiteral<"boolean">>;
11621
+ content: z.ZodRecord<z.ZodEnum<{
11778
11622
  bg: "bg";
11779
11623
  cs: "cs";
11780
11624
  da: "da";
@@ -11799,12 +11643,12 @@ declare const directValueSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
11799
11643
  sl: "sl";
11800
11644
  sv: "sv";
11801
11645
  zh: "zh";
11802
- }> & z$1.z.core.$partial, z$1.ZodNumber>;
11803
- }, z$1.z.core.$strip>, z$1.ZodObject<{
11804
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11805
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11806
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"boolean">>;
11807
- content: z$1.ZodRecord<z$1.ZodEnum<{
11646
+ }> & z.core.$partial, z.ZodBoolean>;
11647
+ }, z.core.$strip> | z.ZodObject<{
11648
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11649
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11650
+ valueType: z.ZodReadonly<z.ZodLiteral<"number">>;
11651
+ content: z.ZodRecord<z.ZodEnum<{
11808
11652
  bg: "bg";
11809
11653
  cs: "cs";
11810
11654
  da: "da";
@@ -11829,14 +11673,12 @@ declare const directValueSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
11829
11673
  sl: "sl";
11830
11674
  sv: "sv";
11831
11675
  zh: "zh";
11832
- }> & z$1.z.core.$partial, z$1.ZodBoolean>;
11833
- }, z$1.z.core.$strip>]>;
11834
- type DirectValue = z$1.infer<typeof directValueSchema>;
11835
- declare const referencedValueSchema: z$1.ZodObject<{
11836
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11837
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11838
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"reference">>;
11839
- content: z$1.ZodRecord<z$1.ZodEnum<{
11676
+ }> & z.core.$partial, z.ZodNumber | z.ZodNullable<z.ZodNumber>>;
11677
+ }, z.core.$strip> | z.ZodObject<{
11678
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11679
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11680
+ valueType: z.ZodReadonly<z.ZodLiteral<"string">>;
11681
+ content: z.ZodRecord<z.ZodEnum<{
11840
11682
  bg: "bg";
11841
11683
  cs: "cs";
11842
11684
  da: "da";
@@ -11861,23 +11703,12 @@ declare const referencedValueSchema: z$1.ZodObject<{
11861
11703
  sl: "sl";
11862
11704
  sv: "sv";
11863
11705
  zh: "zh";
11864
- }> & z$1.z.core.$partial, z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
11865
- id: z$1.ZodUUID;
11866
- objectType: z$1.ZodLiteral<"asset">;
11867
- }, z$1.z.core.$strip>, z$1.ZodObject<{
11868
- id: z$1.ZodUUID;
11869
- objectType: z$1.ZodLiteral<"collection">;
11870
- }, z$1.z.core.$strip>, z$1.ZodObject<{
11871
- id: z$1.ZodUUID;
11872
- objectType: z$1.ZodLiteral<"entry">;
11873
- }, z$1.z.core.$strip>]>>>;
11874
- }, z$1.z.core.$strip>;
11875
- type ReferencedValue = z$1.infer<typeof referencedValueSchema>;
11876
- declare const valueSchema: z$1.ZodUnion<readonly [z$1.ZodUnion<readonly [z$1.ZodObject<{
11877
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11878
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11879
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"string">>;
11880
- content: z$1.ZodRecord<z$1.ZodEnum<{
11706
+ }> & z.core.$partial, z.ZodString | z.ZodNullable<z.ZodString> | z.ZodEmail | z.ZodNullable<z.ZodEmail> | z.ZodURL | z.ZodNullable<z.ZodURL> | z.ZodIPv4 | z.ZodNullable<z.ZodIPv4> | z.ZodISODate | z.ZodNullable<z.ZodISODate> | z.ZodISOTime | z.ZodNullable<z.ZodISOTime> | z.ZodISODateTime | z.ZodNullable<z.ZodISODateTime> | z.ZodE164 | z.ZodNullable<z.ZodE164>>;
11707
+ }, z.core.$strip> | z.ZodObject<{
11708
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11709
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11710
+ valueType: z.ZodReadonly<z.ZodLiteral<"reference">>;
11711
+ content: z.ZodRecord<z.ZodEnum<{
11881
11712
  bg: "bg";
11882
11713
  cs: "cs";
11883
11714
  da: "da";
@@ -11902,12 +11733,632 @@ declare const valueSchema: z$1.ZodUnion<readonly [z$1.ZodUnion<readonly [z$1.Zod
11902
11733
  sl: "sl";
11903
11734
  sv: "sv";
11904
11735
  zh: "zh";
11905
- }> & z$1.z.core.$partial, z$1.ZodString>;
11906
- }, z$1.z.core.$strip>, z$1.ZodObject<{
11907
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11908
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11909
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"number">>;
11910
- content: z$1.ZodRecord<z$1.ZodEnum<{
11736
+ }> & z.core.$partial, z.ZodArray<z.ZodObject<{
11737
+ id: z.ZodUUID;
11738
+ objectType: z.ZodLiteral<"asset">;
11739
+ }, z.core.$strip>> | z.ZodArray<z.ZodObject<{
11740
+ id: z.ZodUUID;
11741
+ objectType: z.ZodLiteral<"entry">;
11742
+ }, z.core.$strip>>>;
11743
+ }, z.core.$strip>;
11744
+ /**
11745
+ * Generates a schema for creating a new Entry based on the given Field definitions and Values
11746
+ */
11747
+ declare function getCreateEntrySchemaFromFieldDefinitions(fieldDefinitions: FieldDefinition[]): z.ZodObject<{
11748
+ values: z.ZodTuple<[z.ZodObject<{
11749
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11750
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11751
+ valueType: z.ZodReadonly<z.ZodLiteral<"boolean">>;
11752
+ content: z.ZodRecord<z.ZodEnum<{
11753
+ bg: "bg";
11754
+ cs: "cs";
11755
+ da: "da";
11756
+ de: "de";
11757
+ el: "el";
11758
+ en: "en";
11759
+ es: "es";
11760
+ et: "et";
11761
+ fi: "fi";
11762
+ fr: "fr";
11763
+ hu: "hu";
11764
+ it: "it";
11765
+ ja: "ja";
11766
+ lt: "lt";
11767
+ lv: "lv";
11768
+ nl: "nl";
11769
+ pl: "pl";
11770
+ pt: "pt";
11771
+ ro: "ro";
11772
+ ru: "ru";
11773
+ sk: "sk";
11774
+ sl: "sl";
11775
+ sv: "sv";
11776
+ zh: "zh";
11777
+ }> & z.core.$partial, z.ZodBoolean>;
11778
+ }, z.core.$strip> | z.ZodObject<{
11779
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11780
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11781
+ valueType: z.ZodReadonly<z.ZodLiteral<"number">>;
11782
+ content: z.ZodRecord<z.ZodEnum<{
11783
+ bg: "bg";
11784
+ cs: "cs";
11785
+ da: "da";
11786
+ de: "de";
11787
+ el: "el";
11788
+ en: "en";
11789
+ es: "es";
11790
+ et: "et";
11791
+ fi: "fi";
11792
+ fr: "fr";
11793
+ hu: "hu";
11794
+ it: "it";
11795
+ ja: "ja";
11796
+ lt: "lt";
11797
+ lv: "lv";
11798
+ nl: "nl";
11799
+ pl: "pl";
11800
+ pt: "pt";
11801
+ ro: "ro";
11802
+ ru: "ru";
11803
+ sk: "sk";
11804
+ sl: "sl";
11805
+ sv: "sv";
11806
+ zh: "zh";
11807
+ }> & z.core.$partial, z.ZodNumber | z.ZodNullable<z.ZodNumber>>;
11808
+ }, z.core.$strip> | z.ZodObject<{
11809
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11810
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11811
+ valueType: z.ZodReadonly<z.ZodLiteral<"string">>;
11812
+ content: z.ZodRecord<z.ZodEnum<{
11813
+ bg: "bg";
11814
+ cs: "cs";
11815
+ da: "da";
11816
+ de: "de";
11817
+ el: "el";
11818
+ en: "en";
11819
+ es: "es";
11820
+ et: "et";
11821
+ fi: "fi";
11822
+ fr: "fr";
11823
+ hu: "hu";
11824
+ it: "it";
11825
+ ja: "ja";
11826
+ lt: "lt";
11827
+ lv: "lv";
11828
+ nl: "nl";
11829
+ pl: "pl";
11830
+ pt: "pt";
11831
+ ro: "ro";
11832
+ ru: "ru";
11833
+ sk: "sk";
11834
+ sl: "sl";
11835
+ sv: "sv";
11836
+ zh: "zh";
11837
+ }> & z.core.$partial, z.ZodString | z.ZodNullable<z.ZodString> | z.ZodEmail | z.ZodNullable<z.ZodEmail> | z.ZodURL | z.ZodNullable<z.ZodURL> | z.ZodIPv4 | z.ZodNullable<z.ZodIPv4> | z.ZodISODate | z.ZodNullable<z.ZodISODate> | z.ZodISOTime | z.ZodNullable<z.ZodISOTime> | z.ZodISODateTime | z.ZodNullable<z.ZodISODateTime> | z.ZodE164 | z.ZodNullable<z.ZodE164>>;
11838
+ }, z.core.$strip> | z.ZodObject<{
11839
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11840
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11841
+ valueType: z.ZodReadonly<z.ZodLiteral<"reference">>;
11842
+ content: z.ZodRecord<z.ZodEnum<{
11843
+ bg: "bg";
11844
+ cs: "cs";
11845
+ da: "da";
11846
+ de: "de";
11847
+ el: "el";
11848
+ en: "en";
11849
+ es: "es";
11850
+ et: "et";
11851
+ fi: "fi";
11852
+ fr: "fr";
11853
+ hu: "hu";
11854
+ it: "it";
11855
+ ja: "ja";
11856
+ lt: "lt";
11857
+ lv: "lv";
11858
+ nl: "nl";
11859
+ pl: "pl";
11860
+ pt: "pt";
11861
+ ro: "ro";
11862
+ ru: "ru";
11863
+ sk: "sk";
11864
+ sl: "sl";
11865
+ sv: "sv";
11866
+ zh: "zh";
11867
+ }> & z.core.$partial, z.ZodArray<z.ZodObject<{
11868
+ id: z.ZodUUID;
11869
+ objectType: z.ZodLiteral<"asset">;
11870
+ }, z.core.$strip>> | z.ZodArray<z.ZodObject<{
11871
+ id: z.ZodUUID;
11872
+ objectType: z.ZodLiteral<"entry">;
11873
+ }, z.core.$strip>>>;
11874
+ }, z.core.$strip>, ...(z.ZodObject<{
11875
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11876
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11877
+ valueType: z.ZodReadonly<z.ZodLiteral<"boolean">>;
11878
+ content: z.ZodRecord<z.ZodEnum<{
11879
+ bg: "bg";
11880
+ cs: "cs";
11881
+ da: "da";
11882
+ de: "de";
11883
+ el: "el";
11884
+ en: "en";
11885
+ es: "es";
11886
+ et: "et";
11887
+ fi: "fi";
11888
+ fr: "fr";
11889
+ hu: "hu";
11890
+ it: "it";
11891
+ ja: "ja";
11892
+ lt: "lt";
11893
+ lv: "lv";
11894
+ nl: "nl";
11895
+ pl: "pl";
11896
+ pt: "pt";
11897
+ ro: "ro";
11898
+ ru: "ru";
11899
+ sk: "sk";
11900
+ sl: "sl";
11901
+ sv: "sv";
11902
+ zh: "zh";
11903
+ }> & z.core.$partial, z.ZodBoolean>;
11904
+ }, z.core.$strip> | z.ZodObject<{
11905
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11906
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11907
+ valueType: z.ZodReadonly<z.ZodLiteral<"number">>;
11908
+ content: z.ZodRecord<z.ZodEnum<{
11909
+ bg: "bg";
11910
+ cs: "cs";
11911
+ da: "da";
11912
+ de: "de";
11913
+ el: "el";
11914
+ en: "en";
11915
+ es: "es";
11916
+ et: "et";
11917
+ fi: "fi";
11918
+ fr: "fr";
11919
+ hu: "hu";
11920
+ it: "it";
11921
+ ja: "ja";
11922
+ lt: "lt";
11923
+ lv: "lv";
11924
+ nl: "nl";
11925
+ pl: "pl";
11926
+ pt: "pt";
11927
+ ro: "ro";
11928
+ ru: "ru";
11929
+ sk: "sk";
11930
+ sl: "sl";
11931
+ sv: "sv";
11932
+ zh: "zh";
11933
+ }> & z.core.$partial, z.ZodNumber | z.ZodNullable<z.ZodNumber>>;
11934
+ }, z.core.$strip> | z.ZodObject<{
11935
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11936
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11937
+ valueType: z.ZodReadonly<z.ZodLiteral<"string">>;
11938
+ content: z.ZodRecord<z.ZodEnum<{
11939
+ bg: "bg";
11940
+ cs: "cs";
11941
+ da: "da";
11942
+ de: "de";
11943
+ el: "el";
11944
+ en: "en";
11945
+ es: "es";
11946
+ et: "et";
11947
+ fi: "fi";
11948
+ fr: "fr";
11949
+ hu: "hu";
11950
+ it: "it";
11951
+ ja: "ja";
11952
+ lt: "lt";
11953
+ lv: "lv";
11954
+ nl: "nl";
11955
+ pl: "pl";
11956
+ pt: "pt";
11957
+ ro: "ro";
11958
+ ru: "ru";
11959
+ sk: "sk";
11960
+ sl: "sl";
11961
+ sv: "sv";
11962
+ zh: "zh";
11963
+ }> & z.core.$partial, z.ZodString | z.ZodNullable<z.ZodString> | z.ZodEmail | z.ZodNullable<z.ZodEmail> | z.ZodURL | z.ZodNullable<z.ZodURL> | z.ZodIPv4 | z.ZodNullable<z.ZodIPv4> | z.ZodISODate | z.ZodNullable<z.ZodISODate> | z.ZodISOTime | z.ZodNullable<z.ZodISOTime> | z.ZodISODateTime | z.ZodNullable<z.ZodISODateTime> | z.ZodE164 | z.ZodNullable<z.ZodE164>>;
11964
+ }, z.core.$strip> | z.ZodObject<{
11965
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
11966
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
11967
+ valueType: z.ZodReadonly<z.ZodLiteral<"reference">>;
11968
+ content: z.ZodRecord<z.ZodEnum<{
11969
+ bg: "bg";
11970
+ cs: "cs";
11971
+ da: "da";
11972
+ de: "de";
11973
+ el: "el";
11974
+ en: "en";
11975
+ es: "es";
11976
+ et: "et";
11977
+ fi: "fi";
11978
+ fr: "fr";
11979
+ hu: "hu";
11980
+ it: "it";
11981
+ ja: "ja";
11982
+ lt: "lt";
11983
+ lv: "lv";
11984
+ nl: "nl";
11985
+ pl: "pl";
11986
+ pt: "pt";
11987
+ ro: "ro";
11988
+ ru: "ru";
11989
+ sk: "sk";
11990
+ sl: "sl";
11991
+ sv: "sv";
11992
+ zh: "zh";
11993
+ }> & z.core.$partial, z.ZodArray<z.ZodObject<{
11994
+ id: z.ZodUUID;
11995
+ objectType: z.ZodLiteral<"asset">;
11996
+ }, z.core.$strip>> | z.ZodArray<z.ZodObject<{
11997
+ id: z.ZodUUID;
11998
+ objectType: z.ZodLiteral<"entry">;
11999
+ }, z.core.$strip>>>;
12000
+ }, z.core.$strip>)[]], null>;
12001
+ projectId: z.ZodReadonly<z.ZodUUID>;
12002
+ collectionId: z.ZodReadonly<z.ZodUUID>;
12003
+ }, z.core.$strip>;
12004
+ /**
12005
+ * Generates a schema for updating an existing Entry based on the given Field definitions and Values
12006
+ */
12007
+ declare function getUpdateEntrySchemaFromFieldDefinitions(fieldDefinitions: FieldDefinition[]): z.ZodObject<{
12008
+ values: z.ZodTuple<[z.ZodObject<{
12009
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12010
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12011
+ valueType: z.ZodReadonly<z.ZodLiteral<"boolean">>;
12012
+ content: z.ZodRecord<z.ZodEnum<{
12013
+ bg: "bg";
12014
+ cs: "cs";
12015
+ da: "da";
12016
+ de: "de";
12017
+ el: "el";
12018
+ en: "en";
12019
+ es: "es";
12020
+ et: "et";
12021
+ fi: "fi";
12022
+ fr: "fr";
12023
+ hu: "hu";
12024
+ it: "it";
12025
+ ja: "ja";
12026
+ lt: "lt";
12027
+ lv: "lv";
12028
+ nl: "nl";
12029
+ pl: "pl";
12030
+ pt: "pt";
12031
+ ro: "ro";
12032
+ ru: "ru";
12033
+ sk: "sk";
12034
+ sl: "sl";
12035
+ sv: "sv";
12036
+ zh: "zh";
12037
+ }> & z.core.$partial, z.ZodBoolean>;
12038
+ }, z.core.$strip> | z.ZodObject<{
12039
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12040
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12041
+ valueType: z.ZodReadonly<z.ZodLiteral<"number">>;
12042
+ content: z.ZodRecord<z.ZodEnum<{
12043
+ bg: "bg";
12044
+ cs: "cs";
12045
+ da: "da";
12046
+ de: "de";
12047
+ el: "el";
12048
+ en: "en";
12049
+ es: "es";
12050
+ et: "et";
12051
+ fi: "fi";
12052
+ fr: "fr";
12053
+ hu: "hu";
12054
+ it: "it";
12055
+ ja: "ja";
12056
+ lt: "lt";
12057
+ lv: "lv";
12058
+ nl: "nl";
12059
+ pl: "pl";
12060
+ pt: "pt";
12061
+ ro: "ro";
12062
+ ru: "ru";
12063
+ sk: "sk";
12064
+ sl: "sl";
12065
+ sv: "sv";
12066
+ zh: "zh";
12067
+ }> & z.core.$partial, z.ZodNumber | z.ZodNullable<z.ZodNumber>>;
12068
+ }, z.core.$strip> | z.ZodObject<{
12069
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12070
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12071
+ valueType: z.ZodReadonly<z.ZodLiteral<"string">>;
12072
+ content: z.ZodRecord<z.ZodEnum<{
12073
+ bg: "bg";
12074
+ cs: "cs";
12075
+ da: "da";
12076
+ de: "de";
12077
+ el: "el";
12078
+ en: "en";
12079
+ es: "es";
12080
+ et: "et";
12081
+ fi: "fi";
12082
+ fr: "fr";
12083
+ hu: "hu";
12084
+ it: "it";
12085
+ ja: "ja";
12086
+ lt: "lt";
12087
+ lv: "lv";
12088
+ nl: "nl";
12089
+ pl: "pl";
12090
+ pt: "pt";
12091
+ ro: "ro";
12092
+ ru: "ru";
12093
+ sk: "sk";
12094
+ sl: "sl";
12095
+ sv: "sv";
12096
+ zh: "zh";
12097
+ }> & z.core.$partial, z.ZodString | z.ZodNullable<z.ZodString> | z.ZodEmail | z.ZodNullable<z.ZodEmail> | z.ZodURL | z.ZodNullable<z.ZodURL> | z.ZodIPv4 | z.ZodNullable<z.ZodIPv4> | z.ZodISODate | z.ZodNullable<z.ZodISODate> | z.ZodISOTime | z.ZodNullable<z.ZodISOTime> | z.ZodISODateTime | z.ZodNullable<z.ZodISODateTime> | z.ZodE164 | z.ZodNullable<z.ZodE164>>;
12098
+ }, z.core.$strip> | z.ZodObject<{
12099
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12100
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12101
+ valueType: z.ZodReadonly<z.ZodLiteral<"reference">>;
12102
+ content: z.ZodRecord<z.ZodEnum<{
12103
+ bg: "bg";
12104
+ cs: "cs";
12105
+ da: "da";
12106
+ de: "de";
12107
+ el: "el";
12108
+ en: "en";
12109
+ es: "es";
12110
+ et: "et";
12111
+ fi: "fi";
12112
+ fr: "fr";
12113
+ hu: "hu";
12114
+ it: "it";
12115
+ ja: "ja";
12116
+ lt: "lt";
12117
+ lv: "lv";
12118
+ nl: "nl";
12119
+ pl: "pl";
12120
+ pt: "pt";
12121
+ ro: "ro";
12122
+ ru: "ru";
12123
+ sk: "sk";
12124
+ sl: "sl";
12125
+ sv: "sv";
12126
+ zh: "zh";
12127
+ }> & z.core.$partial, z.ZodArray<z.ZodObject<{
12128
+ id: z.ZodUUID;
12129
+ objectType: z.ZodLiteral<"asset">;
12130
+ }, z.core.$strip>> | z.ZodArray<z.ZodObject<{
12131
+ id: z.ZodUUID;
12132
+ objectType: z.ZodLiteral<"entry">;
12133
+ }, z.core.$strip>>>;
12134
+ }, z.core.$strip>, ...(z.ZodObject<{
12135
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12136
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12137
+ valueType: z.ZodReadonly<z.ZodLiteral<"boolean">>;
12138
+ content: z.ZodRecord<z.ZodEnum<{
12139
+ bg: "bg";
12140
+ cs: "cs";
12141
+ da: "da";
12142
+ de: "de";
12143
+ el: "el";
12144
+ en: "en";
12145
+ es: "es";
12146
+ et: "et";
12147
+ fi: "fi";
12148
+ fr: "fr";
12149
+ hu: "hu";
12150
+ it: "it";
12151
+ ja: "ja";
12152
+ lt: "lt";
12153
+ lv: "lv";
12154
+ nl: "nl";
12155
+ pl: "pl";
12156
+ pt: "pt";
12157
+ ro: "ro";
12158
+ ru: "ru";
12159
+ sk: "sk";
12160
+ sl: "sl";
12161
+ sv: "sv";
12162
+ zh: "zh";
12163
+ }> & z.core.$partial, z.ZodBoolean>;
12164
+ }, z.core.$strip> | z.ZodObject<{
12165
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12166
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12167
+ valueType: z.ZodReadonly<z.ZodLiteral<"number">>;
12168
+ content: z.ZodRecord<z.ZodEnum<{
12169
+ bg: "bg";
12170
+ cs: "cs";
12171
+ da: "da";
12172
+ de: "de";
12173
+ el: "el";
12174
+ en: "en";
12175
+ es: "es";
12176
+ et: "et";
12177
+ fi: "fi";
12178
+ fr: "fr";
12179
+ hu: "hu";
12180
+ it: "it";
12181
+ ja: "ja";
12182
+ lt: "lt";
12183
+ lv: "lv";
12184
+ nl: "nl";
12185
+ pl: "pl";
12186
+ pt: "pt";
12187
+ ro: "ro";
12188
+ ru: "ru";
12189
+ sk: "sk";
12190
+ sl: "sl";
12191
+ sv: "sv";
12192
+ zh: "zh";
12193
+ }> & z.core.$partial, z.ZodNumber | z.ZodNullable<z.ZodNumber>>;
12194
+ }, z.core.$strip> | z.ZodObject<{
12195
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12196
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12197
+ valueType: z.ZodReadonly<z.ZodLiteral<"string">>;
12198
+ content: z.ZodRecord<z.ZodEnum<{
12199
+ bg: "bg";
12200
+ cs: "cs";
12201
+ da: "da";
12202
+ de: "de";
12203
+ el: "el";
12204
+ en: "en";
12205
+ es: "es";
12206
+ et: "et";
12207
+ fi: "fi";
12208
+ fr: "fr";
12209
+ hu: "hu";
12210
+ it: "it";
12211
+ ja: "ja";
12212
+ lt: "lt";
12213
+ lv: "lv";
12214
+ nl: "nl";
12215
+ pl: "pl";
12216
+ pt: "pt";
12217
+ ro: "ro";
12218
+ ru: "ru";
12219
+ sk: "sk";
12220
+ sl: "sl";
12221
+ sv: "sv";
12222
+ zh: "zh";
12223
+ }> & z.core.$partial, z.ZodString | z.ZodNullable<z.ZodString> | z.ZodEmail | z.ZodNullable<z.ZodEmail> | z.ZodURL | z.ZodNullable<z.ZodURL> | z.ZodIPv4 | z.ZodNullable<z.ZodIPv4> | z.ZodISODate | z.ZodNullable<z.ZodISODate> | z.ZodISOTime | z.ZodNullable<z.ZodISOTime> | z.ZodISODateTime | z.ZodNullable<z.ZodISODateTime> | z.ZodE164 | z.ZodNullable<z.ZodE164>>;
12224
+ }, z.core.$strip> | z.ZodObject<{
12225
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12226
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12227
+ valueType: z.ZodReadonly<z.ZodLiteral<"reference">>;
12228
+ content: z.ZodRecord<z.ZodEnum<{
12229
+ bg: "bg";
12230
+ cs: "cs";
12231
+ da: "da";
12232
+ de: "de";
12233
+ el: "el";
12234
+ en: "en";
12235
+ es: "es";
12236
+ et: "et";
12237
+ fi: "fi";
12238
+ fr: "fr";
12239
+ hu: "hu";
12240
+ it: "it";
12241
+ ja: "ja";
12242
+ lt: "lt";
12243
+ lv: "lv";
12244
+ nl: "nl";
12245
+ pl: "pl";
12246
+ pt: "pt";
12247
+ ro: "ro";
12248
+ ru: "ru";
12249
+ sk: "sk";
12250
+ sl: "sl";
12251
+ sv: "sv";
12252
+ zh: "zh";
12253
+ }> & z.core.$partial, z.ZodArray<z.ZodObject<{
12254
+ id: z.ZodUUID;
12255
+ objectType: z.ZodLiteral<"asset">;
12256
+ }, z.core.$strip>> | z.ZodArray<z.ZodObject<{
12257
+ id: z.ZodUUID;
12258
+ objectType: z.ZodLiteral<"entry">;
12259
+ }, z.core.$strip>>>;
12260
+ }, z.core.$strip>)[]], null>;
12261
+ id: z.ZodReadonly<z.ZodUUID>;
12262
+ projectId: z.ZodReadonly<z.ZodUUID>;
12263
+ collectionId: z.ZodReadonly<z.ZodUUID>;
12264
+ }, z.core.$strip>;
12265
+
12266
+ declare const serviceTypeSchema: z.ZodEnum<{
12267
+ Asset: "Asset";
12268
+ Entry: "Entry";
12269
+ Collection: "Collection";
12270
+ Project: "Project";
12271
+ Git: "Git";
12272
+ GitTag: "GitTag";
12273
+ User: "User";
12274
+ JsonFile: "JsonFile";
12275
+ Search: "Search";
12276
+ Value: "Value";
12277
+ }>;
12278
+ type ServiceType = z.infer<typeof serviceTypeSchema>;
12279
+ interface PaginatedList<T> {
12280
+ total: number;
12281
+ limit: number;
12282
+ offset: number;
12283
+ list: T[];
12284
+ }
12285
+ declare function paginatedListOf<T extends z.ZodTypeAny>(schema: T): z.ZodObject<{
12286
+ total: z.ZodNumber;
12287
+ limit: z.ZodNumber;
12288
+ offset: z.ZodNumber;
12289
+ list: z.ZodArray<T>;
12290
+ }, z.core.$strip>;
12291
+ interface PaginationOptions {
12292
+ limit: number;
12293
+ offset: number;
12294
+ }
12295
+ /**
12296
+ * Implements create, read, update and delete methods
12297
+ */
12298
+ interface CrudService<T> {
12299
+ create: (props: never) => Promise<T>;
12300
+ read: (props: never) => Promise<T>;
12301
+ update: (props: never) => Promise<T>;
12302
+ delete: (props: never) => Promise<void>;
12303
+ }
12304
+ /**
12305
+ * Implements list and count methods additionally
12306
+ * to create, read, update and delete
12307
+ */
12308
+ interface CrudServiceWithListCount<T> extends CrudService<T> {
12309
+ /**
12310
+ * Returns a list of this services objects
12311
+ *
12312
+ * Does not return objects where the schema validation fails.
12313
+ * If that is the case, upgrade the Client and then Project to the latest version.
12314
+ */
12315
+ list: (...props: never[]) => Promise<PaginatedList<T>>;
12316
+ /**
12317
+ * Returns the total number of this services objects
12318
+ */
12319
+ count: (...props: never[]) => Promise<number>;
12320
+ }
12321
+ declare const listCollectionsSchema: z.ZodObject<{
12322
+ projectId: z.ZodUUID;
12323
+ limit: z.ZodOptional<z.ZodNumber>;
12324
+ offset: z.ZodOptional<z.ZodNumber>;
12325
+ }, z.core.$strip>;
12326
+ type ListCollectionsProps = z.infer<typeof listCollectionsSchema>;
12327
+ declare const listEntriesSchema: z.ZodObject<{
12328
+ projectId: z.ZodUUID;
12329
+ limit: z.ZodOptional<z.ZodNumber>;
12330
+ offset: z.ZodOptional<z.ZodNumber>;
12331
+ collectionId: z.ZodUUID;
12332
+ }, z.core.$strip>;
12333
+ type ListEntriesProps = z.infer<typeof listEntriesSchema>;
12334
+ declare const listAssetsSchema: z.ZodObject<{
12335
+ projectId: z.ZodUUID;
12336
+ limit: z.ZodOptional<z.ZodNumber>;
12337
+ offset: z.ZodOptional<z.ZodNumber>;
12338
+ }, z.core.$strip>;
12339
+ type ListAssetsProps = z.infer<typeof listAssetsSchema>;
12340
+ declare const listProjectsSchema: z.ZodObject<{
12341
+ offset: z.ZodOptional<z.ZodNumber>;
12342
+ limit: z.ZodOptional<z.ZodNumber>;
12343
+ }, z.core.$strip>;
12344
+ type ListProjectsProps = z.infer<typeof listProjectsSchema>;
12345
+ declare const listGitTagsSchema: z.ZodObject<{
12346
+ path: z.ZodString;
12347
+ }, z.core.$strip>;
12348
+ type ListGitTagsProps = z.infer<typeof listGitTagsSchema>;
12349
+
12350
+ declare const UserTypeSchema: z.ZodEnum<{
12351
+ local: "local";
12352
+ cloud: "cloud";
12353
+ }>;
12354
+ declare const baseUserSchema: z.ZodObject<{
12355
+ name: z.ZodString;
12356
+ email: z.ZodString;
12357
+ userType: z.ZodEnum<{
12358
+ local: "local";
12359
+ cloud: "cloud";
12360
+ }>;
12361
+ language: z.ZodEnum<{
11911
12362
  bg: "bg";
11912
12363
  cs: "cs";
11913
12364
  da: "da";
@@ -11932,12 +12383,17 @@ declare const valueSchema: z$1.ZodUnion<readonly [z$1.ZodUnion<readonly [z$1.Zod
11932
12383
  sl: "sl";
11933
12384
  sv: "sv";
11934
12385
  zh: "zh";
11935
- }> & z$1.z.core.$partial, z$1.ZodNumber>;
11936
- }, z$1.z.core.$strip>, z$1.ZodObject<{
11937
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11938
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11939
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"boolean">>;
11940
- content: z$1.ZodRecord<z$1.ZodEnum<{
12386
+ }>;
12387
+ localApi: z.ZodObject<{
12388
+ isEnabled: z.ZodBoolean;
12389
+ port: z.ZodNumber;
12390
+ }, z.core.$strip>;
12391
+ }, z.core.$strip>;
12392
+ type BaseUser = z.infer<typeof baseUserSchema>;
12393
+ declare const localUserSchema: z.ZodObject<{
12394
+ name: z.ZodString;
12395
+ email: z.ZodString;
12396
+ language: z.ZodEnum<{
11941
12397
  bg: "bg";
11942
12398
  cs: "cs";
11943
12399
  da: "da";
@@ -11962,12 +12418,18 @@ declare const valueSchema: z$1.ZodUnion<readonly [z$1.ZodUnion<readonly [z$1.Zod
11962
12418
  sl: "sl";
11963
12419
  sv: "sv";
11964
12420
  zh: "zh";
11965
- }> & z$1.z.core.$partial, z$1.ZodBoolean>;
11966
- }, z$1.z.core.$strip>]>, z$1.ZodObject<{
11967
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
11968
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
11969
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"reference">>;
11970
- content: z$1.ZodRecord<z$1.ZodEnum<{
12421
+ }>;
12422
+ localApi: z.ZodObject<{
12423
+ isEnabled: z.ZodBoolean;
12424
+ port: z.ZodNumber;
12425
+ }, z.core.$strip>;
12426
+ userType: z.ZodLiteral<"local">;
12427
+ }, z.core.$strip>;
12428
+ type LocalUser = z.infer<typeof localUserSchema>;
12429
+ declare const cloudUserSchema: z.ZodObject<{
12430
+ name: z.ZodString;
12431
+ email: z.ZodString;
12432
+ language: z.ZodEnum<{
11971
12433
  bg: "bg";
11972
12434
  cs: "cs";
11973
12435
  da: "da";
@@ -11992,34 +12454,19 @@ declare const valueSchema: z$1.ZodUnion<readonly [z$1.ZodUnion<readonly [z$1.Zod
11992
12454
  sl: "sl";
11993
12455
  sv: "sv";
11994
12456
  zh: "zh";
11995
- }> & z$1.z.core.$partial, z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodObject<{
11996
- id: z$1.ZodUUID;
11997
- objectType: z$1.ZodLiteral<"asset">;
11998
- }, z$1.z.core.$strip>, z$1.ZodObject<{
11999
- id: z$1.ZodUUID;
12000
- objectType: z$1.ZodLiteral<"collection">;
12001
- }, z$1.z.core.$strip>, z$1.ZodObject<{
12002
- id: z$1.ZodUUID;
12003
- objectType: z$1.ZodLiteral<"entry">;
12004
- }, z$1.z.core.$strip>]>>>;
12005
- }, z$1.z.core.$strip>]>;
12006
- type Value = z$1.infer<typeof valueSchema>;
12007
-
12008
- /**
12009
- * Dynamic zod schema generation
12010
- *
12011
- * Altough everything is already strictly typed, a type of string might not be an email or text of a certain length.
12012
- * To validate this, we need to generate zod schemas based on Field definitions the user created.
12013
- */
12014
-
12015
- /**
12016
- * Generates a zod schema to check a Value based on given Field definition
12017
- */
12018
- declare function getValueSchemaFromFieldDefinition(fieldDefinition: FieldDefinition): z$1.ZodObject<{
12019
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
12020
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
12021
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"boolean">>;
12022
- content: z$1.ZodRecord<z$1.ZodEnum<{
12457
+ }>;
12458
+ localApi: z.ZodObject<{
12459
+ isEnabled: z.ZodBoolean;
12460
+ port: z.ZodNumber;
12461
+ }, z.core.$strip>;
12462
+ userType: z.ZodLiteral<"cloud">;
12463
+ id: z.ZodUUID;
12464
+ }, z.core.$strip>;
12465
+ type CloudUser = z.infer<typeof cloudUserSchema>;
12466
+ declare const userFileSchema: z.ZodUnion<readonly [z.ZodObject<{
12467
+ name: z.ZodString;
12468
+ email: z.ZodString;
12469
+ language: z.ZodEnum<{
12023
12470
  bg: "bg";
12024
12471
  cs: "cs";
12025
12472
  da: "da";
@@ -12044,12 +12491,16 @@ declare function getValueSchemaFromFieldDefinition(fieldDefinition: FieldDefinit
12044
12491
  sl: "sl";
12045
12492
  sv: "sv";
12046
12493
  zh: "zh";
12047
- }> & z$1.z.core.$partial, z$1.ZodBoolean>;
12048
- }, z$1.z.core.$strip> | z$1.ZodObject<{
12049
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
12050
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
12051
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"number">>;
12052
- content: z$1.ZodRecord<z$1.ZodEnum<{
12494
+ }>;
12495
+ localApi: z.ZodObject<{
12496
+ isEnabled: z.ZodBoolean;
12497
+ port: z.ZodNumber;
12498
+ }, z.core.$strip>;
12499
+ userType: z.ZodLiteral<"local">;
12500
+ }, z.core.$strip>, z.ZodObject<{
12501
+ name: z.ZodString;
12502
+ email: z.ZodString;
12503
+ language: z.ZodEnum<{
12053
12504
  bg: "bg";
12054
12505
  cs: "cs";
12055
12506
  da: "da";
@@ -12074,12 +12525,19 @@ declare function getValueSchemaFromFieldDefinition(fieldDefinition: FieldDefinit
12074
12525
  sl: "sl";
12075
12526
  sv: "sv";
12076
12527
  zh: "zh";
12077
- }> & z$1.z.core.$partial, z$1.ZodNumber | z$1.ZodNullable<z$1.ZodNumber>>;
12078
- }, z$1.z.core.$strip> | z$1.ZodObject<{
12079
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
12080
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
12081
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"string">>;
12082
- content: z$1.ZodRecord<z$1.ZodEnum<{
12528
+ }>;
12529
+ localApi: z.ZodObject<{
12530
+ isEnabled: z.ZodBoolean;
12531
+ port: z.ZodNumber;
12532
+ }, z.core.$strip>;
12533
+ userType: z.ZodLiteral<"cloud">;
12534
+ id: z.ZodUUID;
12535
+ }, z.core.$strip>]>;
12536
+ type UserFile = z.infer<typeof userFileSchema>;
12537
+ declare const userSchema: z.ZodUnion<readonly [z.ZodObject<{
12538
+ name: z.ZodString;
12539
+ email: z.ZodString;
12540
+ language: z.ZodEnum<{
12083
12541
  bg: "bg";
12084
12542
  cs: "cs";
12085
12543
  da: "da";
@@ -12104,12 +12562,16 @@ declare function getValueSchemaFromFieldDefinition(fieldDefinition: FieldDefinit
12104
12562
  sl: "sl";
12105
12563
  sv: "sv";
12106
12564
  zh: "zh";
12107
- }> & z$1.z.core.$partial, z$1.ZodString | z$1.ZodNullable<z$1.ZodString> | z$1.ZodEmail | z$1.ZodNullable<z$1.ZodEmail> | z$1.ZodURL | z$1.ZodNullable<z$1.ZodURL> | z$1.ZodIPv4 | z$1.ZodNullable<z$1.ZodIPv4> | z$1.z.ZodISODate | z$1.ZodNullable<z$1.z.ZodISODate> | z$1.z.ZodISOTime | z$1.ZodNullable<z$1.z.ZodISOTime> | z$1.z.ZodISODateTime | z$1.ZodNullable<z$1.z.ZodISODateTime> | z$1.ZodE164 | z$1.ZodNullable<z$1.ZodE164>>;
12108
- }, z$1.z.core.$strip> | z$1.ZodObject<{
12109
- objectType: z$1.ZodReadonly<z$1.ZodLiteral<"value">>;
12110
- fieldDefinitionId: z$1.ZodReadonly<z$1.ZodUUID>;
12111
- valueType: z$1.ZodReadonly<z$1.ZodLiteral<"reference">>;
12112
- content: z$1.ZodRecord<z$1.ZodEnum<{
12565
+ }>;
12566
+ localApi: z.ZodObject<{
12567
+ isEnabled: z.ZodBoolean;
12568
+ port: z.ZodNumber;
12569
+ }, z.core.$strip>;
12570
+ userType: z.ZodLiteral<"local">;
12571
+ }, z.core.$strip>, z.ZodObject<{
12572
+ name: z.ZodString;
12573
+ email: z.ZodString;
12574
+ language: z.ZodEnum<{
12113
12575
  bg: "bg";
12114
12576
  cs: "cs";
12115
12577
  da: "da";
@@ -12134,127 +12596,19 @@ declare function getValueSchemaFromFieldDefinition(fieldDefinition: FieldDefinit
12134
12596
  sl: "sl";
12135
12597
  sv: "sv";
12136
12598
  zh: "zh";
12137
- }> & z$1.z.core.$partial, z$1.ZodArray<z$1.ZodObject<{
12138
- id: z$1.ZodUUID;
12139
- objectType: z$1.ZodLiteral<"asset">;
12140
- }, z$1.z.core.$strip>> | z$1.ZodArray<z$1.ZodObject<{
12141
- id: z$1.ZodUUID;
12142
- objectType: z$1.ZodLiteral<"entry">;
12143
- }, z$1.z.core.$strip>>>;
12144
- }, z$1.z.core.$strip>;
12145
- /**
12146
- * Generates a schema for creating a new Entry based on the given Field definitions and Values
12147
- *
12148
- * @todo The return type of z.ZodType<CreateEntryProps> is added because otherwise TS complains with
12149
- * error TS2742: The inferred type of 'getCreateEntrySchemaFromFieldDefinitions' cannot be named without a reference to '.pnpm/@asteasolutions+zod-to-openapi@8.1.0_zod@4.1.11/node_modules/@asteasolutions/zod-to-openapi'. This is likely not portable. A type annotation is necessary.
12150
- * This should be investigated further and fixed properly.
12151
- */
12152
- declare function getCreateEntrySchemaFromFieldDefinitions(fieldDefinitions: FieldDefinition[], values: Value[]): z$1.ZodType<CreateEntryProps>;
12153
- /**
12154
- * Generates a schema for updating an existing Entry based on the given Field definitions and Values
12155
- *
12156
- * @todo The return type of z.ZodType<UpdateEntryProps> is added because otherwise TS complains with
12157
- * error TS2742: The inferred type of 'getUpdateEntrySchemaFromFieldDefinitions' cannot be named without a reference to '.pnpm/@asteasolutions+zod-to-openapi@8.1.0_zod@4.1.11/node_modules/@asteasolutions/zod-to-openapi'. This is likely not portable. A type annotation is necessary.
12158
- * This should be investigated further and fixed properly.
12159
- */
12160
- declare function getUpdateEntrySchemaFromFieldDefinitions(fieldDefinitions: FieldDefinition[], values: Value[]): z$1.ZodType<UpdateEntryProps>;
12161
-
12162
- declare const serviceTypeSchema: z$2.ZodEnum<{
12163
- Asset: "Asset";
12164
- Entry: "Entry";
12165
- Collection: "Collection";
12166
- Project: "Project";
12167
- Git: "Git";
12168
- GitTag: "GitTag";
12169
- User: "User";
12170
- JsonFile: "JsonFile";
12171
- Search: "Search";
12172
- Value: "Value";
12173
- }>;
12174
- type ServiceType = z$2.infer<typeof serviceTypeSchema>;
12175
- interface PaginatedList<T> {
12176
- total: number;
12177
- limit: number;
12178
- offset: number;
12179
- list: T[];
12180
- }
12181
- declare function paginatedListOf<T extends z$2.ZodTypeAny>(schema: T): z$2.ZodObject<{
12182
- total: z$2.ZodNumber;
12183
- limit: z$2.ZodNumber;
12184
- offset: z$2.ZodNumber;
12185
- list: z$2.ZodArray<T>;
12186
- }, z$2.core.$strip>;
12187
- interface PaginationOptions {
12188
- limit: number;
12189
- offset: number;
12190
- }
12191
- /**
12192
- * Implements create, read, update and delete methods
12193
- */
12194
- interface CrudService<T> {
12195
- create: (props: never) => Promise<T>;
12196
- read: (props: never) => Promise<T>;
12197
- update: (props: never) => Promise<T>;
12198
- delete: (props: never) => Promise<void>;
12199
- }
12200
- /**
12201
- * Implements list and count methods additionally
12202
- * to create, read, update and delete
12203
- */
12204
- interface CrudServiceWithListCount<T> extends CrudService<T> {
12205
- /**
12206
- * Returns a list of this services objects
12207
- *
12208
- * Does not return objects where the schema validation fails.
12209
- * If that is the case, upgrade the Client and then Project to the latest version.
12210
- */
12211
- list: (...props: never[]) => Promise<PaginatedList<T>>;
12212
- /**
12213
- * Returns the total number of this services objects
12214
- */
12215
- count: (...props: never[]) => Promise<number>;
12216
- }
12217
- declare const listCollectionsSchema: z$2.ZodObject<{
12218
- projectId: z$2.ZodUUID;
12219
- limit: z$2.ZodOptional<z$2.ZodNumber>;
12220
- offset: z$2.ZodOptional<z$2.ZodNumber>;
12221
- }, z$2.core.$strip>;
12222
- type ListCollectionsProps = z$2.infer<typeof listCollectionsSchema>;
12223
- declare const listEntriesSchema: z$2.ZodObject<{
12224
- projectId: z$2.ZodUUID;
12225
- limit: z$2.ZodOptional<z$2.ZodNumber>;
12226
- offset: z$2.ZodOptional<z$2.ZodNumber>;
12227
- collectionId: z$2.ZodUUID;
12228
- }, z$2.core.$strip>;
12229
- type ListEntriesProps = z$2.infer<typeof listEntriesSchema>;
12230
- declare const listAssetsSchema: z$2.ZodObject<{
12231
- projectId: z$2.ZodUUID;
12232
- limit: z$2.ZodOptional<z$2.ZodNumber>;
12233
- offset: z$2.ZodOptional<z$2.ZodNumber>;
12234
- }, z$2.core.$strip>;
12235
- type ListAssetsProps = z$2.infer<typeof listAssetsSchema>;
12236
- declare const listProjectsSchema: z$2.ZodObject<{
12237
- offset: z$2.ZodOptional<z$2.ZodNumber>;
12238
- limit: z$2.ZodOptional<z$2.ZodNumber>;
12239
- }, z$2.core.$strip>;
12240
- type ListProjectsProps = z$2.infer<typeof listProjectsSchema>;
12241
- declare const listGitTagsSchema: z$2.ZodObject<{
12242
- path: z$2.ZodString;
12243
- }, z$2.core.$strip>;
12244
- type ListGitTagsProps = z$2.infer<typeof listGitTagsSchema>;
12245
-
12246
- declare const UserTypeSchema: z$1.ZodEnum<{
12247
- local: "local";
12248
- cloud: "cloud";
12249
- }>;
12250
- declare const baseUserSchema: z$1.ZodObject<{
12251
- name: z$1.ZodString;
12252
- email: z$1.ZodString;
12253
- userType: z$1.ZodEnum<{
12254
- local: "local";
12255
- cloud: "cloud";
12256
12599
  }>;
12257
- language: z$1.ZodEnum<{
12600
+ localApi: z.ZodObject<{
12601
+ isEnabled: z.ZodBoolean;
12602
+ port: z.ZodNumber;
12603
+ }, z.core.$strip>;
12604
+ userType: z.ZodLiteral<"cloud">;
12605
+ id: z.ZodUUID;
12606
+ }, z.core.$strip>]>;
12607
+ type User = z.infer<typeof userSchema>;
12608
+ declare const setUserSchema: z.ZodUnion<readonly [z.ZodObject<{
12609
+ name: z.ZodString;
12610
+ email: z.ZodString;
12611
+ language: z.ZodEnum<{
12258
12612
  bg: "bg";
12259
12613
  cs: "cs";
12260
12614
  da: "da";
@@ -12280,16 +12634,15 @@ declare const baseUserSchema: z$1.ZodObject<{
12280
12634
  sv: "sv";
12281
12635
  zh: "zh";
12282
12636
  }>;
12283
- localApi: z$1.ZodObject<{
12284
- isEnabled: z$1.ZodBoolean;
12285
- port: z$1.ZodNumber;
12286
- }, z$1.z.core.$strip>;
12287
- }, z$1.z.core.$strip>;
12288
- type BaseUser = z$1.infer<typeof baseUserSchema>;
12289
- declare const localUserSchema: z$1.ZodObject<{
12290
- name: z$1.ZodString;
12291
- email: z$1.ZodString;
12292
- language: z$1.ZodEnum<{
12637
+ localApi: z.ZodObject<{
12638
+ isEnabled: z.ZodBoolean;
12639
+ port: z.ZodNumber;
12640
+ }, z.core.$strip>;
12641
+ userType: z.ZodLiteral<"local">;
12642
+ }, z.core.$strip>, z.ZodObject<{
12643
+ name: z.ZodString;
12644
+ email: z.ZodString;
12645
+ language: z.ZodEnum<{
12293
12646
  bg: "bg";
12294
12647
  cs: "cs";
12295
12648
  da: "da";
@@ -12315,17 +12668,60 @@ declare const localUserSchema: z$1.ZodObject<{
12315
12668
  sv: "sv";
12316
12669
  zh: "zh";
12317
12670
  }>;
12318
- localApi: z$1.ZodObject<{
12319
- isEnabled: z$1.ZodBoolean;
12320
- port: z$1.ZodNumber;
12321
- }, z$1.z.core.$strip>;
12322
- userType: z$1.ZodLiteral<"local">;
12323
- }, z$1.z.core.$strip>;
12324
- type LocalUser = z$1.infer<typeof localUserSchema>;
12325
- declare const cloudUserSchema: z$1.ZodObject<{
12326
- name: z$1.ZodString;
12327
- email: z$1.ZodString;
12328
- language: z$1.ZodEnum<{
12671
+ localApi: z.ZodObject<{
12672
+ isEnabled: z.ZodBoolean;
12673
+ port: z.ZodNumber;
12674
+ }, z.core.$strip>;
12675
+ userType: z.ZodLiteral<"cloud">;
12676
+ id: z.ZodUUID;
12677
+ }, z.core.$strip>]>;
12678
+ type SetUserProps = z.infer<typeof setUserSchema>;
12679
+
12680
+ declare const ValueTypeSchema: z.ZodEnum<{
12681
+ string: "string";
12682
+ number: "number";
12683
+ boolean: "boolean";
12684
+ reference: "reference";
12685
+ }>;
12686
+ type ValueType = z.infer<typeof ValueTypeSchema>;
12687
+ declare const valueContentReferenceBase: z.ZodObject<{
12688
+ id: z.ZodUUID;
12689
+ }, z.core.$strip>;
12690
+ declare const valueContentReferenceToAssetSchema: z.ZodObject<{
12691
+ id: z.ZodUUID;
12692
+ objectType: z.ZodLiteral<"asset">;
12693
+ }, z.core.$strip>;
12694
+ type ValueContentReferenceToAsset = z.infer<typeof valueContentReferenceToAssetSchema>;
12695
+ declare const valueContentReferenceToCollectionSchema: z.ZodObject<{
12696
+ id: z.ZodUUID;
12697
+ objectType: z.ZodLiteral<"collection">;
12698
+ }, z.core.$strip>;
12699
+ type ValueContentReferenceToCollection = z.infer<typeof valueContentReferenceToCollectionSchema>;
12700
+ declare const valueContentReferenceToEntrySchema: z.ZodObject<{
12701
+ id: z.ZodUUID;
12702
+ objectType: z.ZodLiteral<"entry">;
12703
+ }, z.core.$strip>;
12704
+ type ValueContentReferenceToEntry = z.infer<typeof valueContentReferenceToEntrySchema>;
12705
+ declare const valueContentReferenceSchema: z.ZodUnion<readonly [z.ZodObject<{
12706
+ id: z.ZodUUID;
12707
+ objectType: z.ZodLiteral<"asset">;
12708
+ }, z.core.$strip>, z.ZodObject<{
12709
+ id: z.ZodUUID;
12710
+ objectType: z.ZodLiteral<"collection">;
12711
+ }, z.core.$strip>, z.ZodObject<{
12712
+ id: z.ZodUUID;
12713
+ objectType: z.ZodLiteral<"entry">;
12714
+ }, z.core.$strip>]>;
12715
+ type ValueContentReference = z.infer<typeof valueContentReferenceSchema>;
12716
+ declare const directValueBaseSchema: z.ZodObject<{
12717
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12718
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12719
+ }, z.core.$strip>;
12720
+ declare const directStringValueSchema: z.ZodObject<{
12721
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12722
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12723
+ valueType: z.ZodReadonly<z.ZodLiteral<"string">>;
12724
+ content: z.ZodRecord<z.ZodEnum<{
12329
12725
  bg: "bg";
12330
12726
  cs: "cs";
12331
12727
  da: "da";
@@ -12350,19 +12746,14 @@ declare const cloudUserSchema: z$1.ZodObject<{
12350
12746
  sl: "sl";
12351
12747
  sv: "sv";
12352
12748
  zh: "zh";
12353
- }>;
12354
- localApi: z$1.ZodObject<{
12355
- isEnabled: z$1.ZodBoolean;
12356
- port: z$1.ZodNumber;
12357
- }, z$1.z.core.$strip>;
12358
- userType: z$1.ZodLiteral<"cloud">;
12359
- id: z$1.ZodUUID;
12360
- }, z$1.z.core.$strip>;
12361
- type CloudUser = z$1.infer<typeof cloudUserSchema>;
12362
- declare const userFileSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
12363
- name: z$1.ZodString;
12364
- email: z$1.ZodString;
12365
- language: z$1.ZodEnum<{
12749
+ }> & z.core.$partial, z.ZodString>;
12750
+ }, z.core.$strip>;
12751
+ type DirectStringValue = z.infer<typeof directStringValueSchema>;
12752
+ declare const directNumberValueSchema: z.ZodObject<{
12753
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12754
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12755
+ valueType: z.ZodReadonly<z.ZodLiteral<"number">>;
12756
+ content: z.ZodRecord<z.ZodEnum<{
12366
12757
  bg: "bg";
12367
12758
  cs: "cs";
12368
12759
  da: "da";
@@ -12387,16 +12778,14 @@ declare const userFileSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
12387
12778
  sl: "sl";
12388
12779
  sv: "sv";
12389
12780
  zh: "zh";
12390
- }>;
12391
- localApi: z$1.ZodObject<{
12392
- isEnabled: z$1.ZodBoolean;
12393
- port: z$1.ZodNumber;
12394
- }, z$1.z.core.$strip>;
12395
- userType: z$1.ZodLiteral<"local">;
12396
- }, z$1.z.core.$strip>, z$1.ZodObject<{
12397
- name: z$1.ZodString;
12398
- email: z$1.ZodString;
12399
- language: z$1.ZodEnum<{
12781
+ }> & z.core.$partial, z.ZodNumber>;
12782
+ }, z.core.$strip>;
12783
+ type DirectNumberValue = z.infer<typeof directNumberValueSchema>;
12784
+ declare const directBooleanValueSchema: z.ZodObject<{
12785
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12786
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12787
+ valueType: z.ZodReadonly<z.ZodLiteral<"boolean">>;
12788
+ content: z.ZodRecord<z.ZodEnum<{
12400
12789
  bg: "bg";
12401
12790
  cs: "cs";
12402
12791
  da: "da";
@@ -12421,19 +12810,14 @@ declare const userFileSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
12421
12810
  sl: "sl";
12422
12811
  sv: "sv";
12423
12812
  zh: "zh";
12424
- }>;
12425
- localApi: z$1.ZodObject<{
12426
- isEnabled: z$1.ZodBoolean;
12427
- port: z$1.ZodNumber;
12428
- }, z$1.z.core.$strip>;
12429
- userType: z$1.ZodLiteral<"cloud">;
12430
- id: z$1.ZodUUID;
12431
- }, z$1.z.core.$strip>]>;
12432
- type UserFile = z$1.infer<typeof userFileSchema>;
12433
- declare const userSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
12434
- name: z$1.ZodString;
12435
- email: z$1.ZodString;
12436
- language: z$1.ZodEnum<{
12813
+ }> & z.core.$partial, z.ZodBoolean>;
12814
+ }, z.core.$strip>;
12815
+ type DirectBooleanValue = z.infer<typeof directBooleanValueSchema>;
12816
+ declare const directValueSchema: z.ZodUnion<readonly [z.ZodObject<{
12817
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12818
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12819
+ valueType: z.ZodReadonly<z.ZodLiteral<"string">>;
12820
+ content: z.ZodRecord<z.ZodEnum<{
12437
12821
  bg: "bg";
12438
12822
  cs: "cs";
12439
12823
  da: "da";
@@ -12458,16 +12842,12 @@ declare const userSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
12458
12842
  sl: "sl";
12459
12843
  sv: "sv";
12460
12844
  zh: "zh";
12461
- }>;
12462
- localApi: z$1.ZodObject<{
12463
- isEnabled: z$1.ZodBoolean;
12464
- port: z$1.ZodNumber;
12465
- }, z$1.z.core.$strip>;
12466
- userType: z$1.ZodLiteral<"local">;
12467
- }, z$1.z.core.$strip>, z$1.ZodObject<{
12468
- name: z$1.ZodString;
12469
- email: z$1.ZodString;
12470
- language: z$1.ZodEnum<{
12845
+ }> & z.core.$partial, z.ZodString>;
12846
+ }, z.core.$strip>, z.ZodObject<{
12847
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12848
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12849
+ valueType: z.ZodReadonly<z.ZodLiteral<"number">>;
12850
+ content: z.ZodRecord<z.ZodEnum<{
12471
12851
  bg: "bg";
12472
12852
  cs: "cs";
12473
12853
  da: "da";
@@ -12492,19 +12872,12 @@ declare const userSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
12492
12872
  sl: "sl";
12493
12873
  sv: "sv";
12494
12874
  zh: "zh";
12495
- }>;
12496
- localApi: z$1.ZodObject<{
12497
- isEnabled: z$1.ZodBoolean;
12498
- port: z$1.ZodNumber;
12499
- }, z$1.z.core.$strip>;
12500
- userType: z$1.ZodLiteral<"cloud">;
12501
- id: z$1.ZodUUID;
12502
- }, z$1.z.core.$strip>]>;
12503
- type User = z$1.infer<typeof userSchema>;
12504
- declare const setUserSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
12505
- name: z$1.ZodString;
12506
- email: z$1.ZodString;
12507
- language: z$1.ZodEnum<{
12875
+ }> & z.core.$partial, z.ZodNumber>;
12876
+ }, z.core.$strip>, z.ZodObject<{
12877
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12878
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12879
+ valueType: z.ZodReadonly<z.ZodLiteral<"boolean">>;
12880
+ content: z.ZodRecord<z.ZodEnum<{
12508
12881
  bg: "bg";
12509
12882
  cs: "cs";
12510
12883
  da: "da";
@@ -12529,16 +12902,14 @@ declare const setUserSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
12529
12902
  sl: "sl";
12530
12903
  sv: "sv";
12531
12904
  zh: "zh";
12532
- }>;
12533
- localApi: z$1.ZodObject<{
12534
- isEnabled: z$1.ZodBoolean;
12535
- port: z$1.ZodNumber;
12536
- }, z$1.z.core.$strip>;
12537
- userType: z$1.ZodLiteral<"local">;
12538
- }, z$1.z.core.$strip>, z$1.ZodObject<{
12539
- name: z$1.ZodString;
12540
- email: z$1.ZodString;
12541
- language: z$1.ZodEnum<{
12905
+ }> & z.core.$partial, z.ZodBoolean>;
12906
+ }, z.core.$strip>]>;
12907
+ type DirectValue = z.infer<typeof directValueSchema>;
12908
+ declare const referencedValueSchema: z.ZodObject<{
12909
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12910
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12911
+ valueType: z.ZodReadonly<z.ZodLiteral<"reference">>;
12912
+ content: z.ZodRecord<z.ZodEnum<{
12542
12913
  bg: "bg";
12543
12914
  cs: "cs";
12544
12915
  da: "da";
@@ -12563,15 +12934,149 @@ declare const setUserSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
12563
12934
  sl: "sl";
12564
12935
  sv: "sv";
12565
12936
  zh: "zh";
12566
- }>;
12567
- localApi: z$1.ZodObject<{
12568
- isEnabled: z$1.ZodBoolean;
12569
- port: z$1.ZodNumber;
12570
- }, z$1.z.core.$strip>;
12571
- userType: z$1.ZodLiteral<"cloud">;
12572
- id: z$1.ZodUUID;
12573
- }, z$1.z.core.$strip>]>;
12574
- type SetUserProps = z$1.infer<typeof setUserSchema>;
12937
+ }> & z.core.$partial, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
12938
+ id: z.ZodUUID;
12939
+ objectType: z.ZodLiteral<"asset">;
12940
+ }, z.core.$strip>, z.ZodObject<{
12941
+ id: z.ZodUUID;
12942
+ objectType: z.ZodLiteral<"collection">;
12943
+ }, z.core.$strip>, z.ZodObject<{
12944
+ id: z.ZodUUID;
12945
+ objectType: z.ZodLiteral<"entry">;
12946
+ }, z.core.$strip>]>>>;
12947
+ }, z.core.$strip>;
12948
+ type ReferencedValue = z.infer<typeof referencedValueSchema>;
12949
+ declare const valueSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
12950
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12951
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12952
+ valueType: z.ZodReadonly<z.ZodLiteral<"string">>;
12953
+ content: z.ZodRecord<z.ZodEnum<{
12954
+ bg: "bg";
12955
+ cs: "cs";
12956
+ da: "da";
12957
+ de: "de";
12958
+ el: "el";
12959
+ en: "en";
12960
+ es: "es";
12961
+ et: "et";
12962
+ fi: "fi";
12963
+ fr: "fr";
12964
+ hu: "hu";
12965
+ it: "it";
12966
+ ja: "ja";
12967
+ lt: "lt";
12968
+ lv: "lv";
12969
+ nl: "nl";
12970
+ pl: "pl";
12971
+ pt: "pt";
12972
+ ro: "ro";
12973
+ ru: "ru";
12974
+ sk: "sk";
12975
+ sl: "sl";
12976
+ sv: "sv";
12977
+ zh: "zh";
12978
+ }> & z.core.$partial, z.ZodString>;
12979
+ }, z.core.$strip>, z.ZodObject<{
12980
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
12981
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
12982
+ valueType: z.ZodReadonly<z.ZodLiteral<"number">>;
12983
+ content: z.ZodRecord<z.ZodEnum<{
12984
+ bg: "bg";
12985
+ cs: "cs";
12986
+ da: "da";
12987
+ de: "de";
12988
+ el: "el";
12989
+ en: "en";
12990
+ es: "es";
12991
+ et: "et";
12992
+ fi: "fi";
12993
+ fr: "fr";
12994
+ hu: "hu";
12995
+ it: "it";
12996
+ ja: "ja";
12997
+ lt: "lt";
12998
+ lv: "lv";
12999
+ nl: "nl";
13000
+ pl: "pl";
13001
+ pt: "pt";
13002
+ ro: "ro";
13003
+ ru: "ru";
13004
+ sk: "sk";
13005
+ sl: "sl";
13006
+ sv: "sv";
13007
+ zh: "zh";
13008
+ }> & z.core.$partial, z.ZodNumber>;
13009
+ }, z.core.$strip>, z.ZodObject<{
13010
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
13011
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
13012
+ valueType: z.ZodReadonly<z.ZodLiteral<"boolean">>;
13013
+ content: z.ZodRecord<z.ZodEnum<{
13014
+ bg: "bg";
13015
+ cs: "cs";
13016
+ da: "da";
13017
+ de: "de";
13018
+ el: "el";
13019
+ en: "en";
13020
+ es: "es";
13021
+ et: "et";
13022
+ fi: "fi";
13023
+ fr: "fr";
13024
+ hu: "hu";
13025
+ it: "it";
13026
+ ja: "ja";
13027
+ lt: "lt";
13028
+ lv: "lv";
13029
+ nl: "nl";
13030
+ pl: "pl";
13031
+ pt: "pt";
13032
+ ro: "ro";
13033
+ ru: "ru";
13034
+ sk: "sk";
13035
+ sl: "sl";
13036
+ sv: "sv";
13037
+ zh: "zh";
13038
+ }> & z.core.$partial, z.ZodBoolean>;
13039
+ }, z.core.$strip>]>, z.ZodObject<{
13040
+ objectType: z.ZodReadonly<z.ZodLiteral<"value">>;
13041
+ fieldDefinitionId: z.ZodReadonly<z.ZodUUID>;
13042
+ valueType: z.ZodReadonly<z.ZodLiteral<"reference">>;
13043
+ content: z.ZodRecord<z.ZodEnum<{
13044
+ bg: "bg";
13045
+ cs: "cs";
13046
+ da: "da";
13047
+ de: "de";
13048
+ el: "el";
13049
+ en: "en";
13050
+ es: "es";
13051
+ et: "et";
13052
+ fi: "fi";
13053
+ fr: "fr";
13054
+ hu: "hu";
13055
+ it: "it";
13056
+ ja: "ja";
13057
+ lt: "lt";
13058
+ lv: "lv";
13059
+ nl: "nl";
13060
+ pl: "pl";
13061
+ pt: "pt";
13062
+ ro: "ro";
13063
+ ru: "ru";
13064
+ sk: "sk";
13065
+ sl: "sl";
13066
+ sv: "sv";
13067
+ zh: "zh";
13068
+ }> & z.core.$partial, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13069
+ id: z.ZodUUID;
13070
+ objectType: z.ZodLiteral<"asset">;
13071
+ }, z.core.$strip>, z.ZodObject<{
13072
+ id: z.ZodUUID;
13073
+ objectType: z.ZodLiteral<"collection">;
13074
+ }, z.core.$strip>, z.ZodObject<{
13075
+ id: z.ZodUUID;
13076
+ objectType: z.ZodLiteral<"entry">;
13077
+ }, z.core.$strip>]>>>;
13078
+ }, z.core.$strip>]>;
13079
+ type Value = z.infer<typeof valueSchema>;
12575
13080
 
12576
13081
  /**
12577
13082
  * Returns a new UUID
@@ -12714,7 +13219,7 @@ declare class JsonFileService extends AbstractCrudService {
12714
13219
  * @param schema Schema of the file to validate against
12715
13220
  * @returns Validated content of the file from disk
12716
13221
  */
12717
- create<T extends z$2.ZodType<BaseFile>>(data: unknown, path: string, schema: T): Promise<z$2.output<T>>;
13222
+ create<T extends z$1.ZodType<BaseFile>>(data: unknown, path: string, schema: T): Promise<z$1.output<T>>;
12718
13223
  /**
12719
13224
  * Reads the content of a file on disk. Fails if path does not exist
12720
13225
  *
@@ -12722,7 +13227,7 @@ declare class JsonFileService extends AbstractCrudService {
12722
13227
  * @param schema Schema of the file to validate against
12723
13228
  * @returns Validated content of the file from disk
12724
13229
  */
12725
- read<T extends z$2.ZodType<BaseFile | UserFile>>(path: string, schema: T): Promise<z$2.output<T>>;
13230
+ read<T extends z$1.ZodType<BaseFile | UserFile>>(path: string, schema: T): Promise<z$1.output<T>>;
12726
13231
  /**
12727
13232
  * Reads the content of a file on disk. Fails if path does not exist.
12728
13233
  * Does not validate the content of the file against a schema and
@@ -12746,7 +13251,7 @@ declare class JsonFileService extends AbstractCrudService {
12746
13251
  * @param schema Schema of the file to validate against
12747
13252
  * @returns Validated content of the file from disk
12748
13253
  */
12749
- update<T extends z$2.ZodType<BaseFile | UserFile>>(data: unknown, path: string, schema: T): Promise<z$2.output<T>>;
13254
+ update<T extends z$1.ZodType<BaseFile | UserFile>>(data: unknown, path: string, schema: T): Promise<z$1.output<T>>;
12750
13255
  private serialize;
12751
13256
  private deserialize;
12752
13257
  }