zitejs 0.9.41 → 0.9.43

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.
@@ -11,29 +11,29 @@ export declare const fieldTypeEnum: readonly ["currency", "single_line_text", "l
11
11
  export type FieldType = (typeof fieldTypeEnum)[number];
12
12
  export declare const fieldTypeSchema: z.ZodEnum<{
13
13
  number: "number";
14
+ currency: "currency";
14
15
  single_line_text: "single_line_text";
15
16
  long_text: "long_text";
16
- email: "email";
17
- url: "url";
18
- phone_number: "phone_number";
19
- currency: "currency";
20
- percent: "percent";
21
- rating: "rating";
22
- duration: "duration";
17
+ rich_text: "rich_text";
23
18
  single_select: "single_select";
24
19
  multiple_select: "multiple_select";
25
- checkbox: "checkbox";
26
20
  date: "date";
27
21
  datetime: "datetime";
22
+ checkbox: "checkbox";
28
23
  attachments: "attachments";
24
+ email: "email";
25
+ url: "url";
26
+ phone_number: "phone_number";
27
+ rating: "rating";
28
+ duration: "duration";
29
+ percent: "percent";
29
30
  linked_record: "linked_record";
30
31
  lookup: "lookup";
31
- autonumber: "autonumber";
32
32
  source: "source";
33
+ formula: "formula";
34
+ autonumber: "autonumber";
33
35
  created_at: "created_at";
34
36
  updated_at: "updated_at";
35
- rich_text: "rich_text";
36
- formula: "formula";
37
37
  }>;
38
38
  export declare const selectOptionSchema: z.ZodObject<{
39
39
  value: z.ZodString;
@@ -185,8 +185,8 @@ export declare const lookupTemplateSchema: z.ZodObject<{
185
185
  number: "number";
186
186
  boolean: "boolean";
187
187
  date: "date";
188
- text: "text";
189
188
  array: "array";
189
+ text: "text";
190
190
  }>>;
191
191
  }, z.core.$strip>;
192
192
  export declare const sourceTemplateSchema: z.ZodObject<{}, z.core.$strip>;
@@ -196,15 +196,15 @@ export declare const formulaTemplateSchema: z.ZodObject<{
196
196
  number: "number";
197
197
  boolean: "boolean";
198
198
  date: "date";
199
- text: "text";
200
199
  array: "array";
200
+ text: "text";
201
201
  }>>;
202
202
  formatting: z.ZodOptional<z.ZodObject<{
203
203
  numberDisplayType: z.ZodOptional<z.ZodEnum<{
204
204
  number: "number";
205
205
  currency: "currency";
206
- percent: "percent";
207
206
  duration: "duration";
207
+ percent: "percent";
208
208
  }>>;
209
209
  currencyCode: z.ZodOptional<z.ZodString>;
210
210
  decimalPlaces: z.ZodOptional<z.ZodNumber>;
@@ -444,8 +444,8 @@ export declare const publicFieldDefinitionSchema: z.ZodDiscriminatedUnion<[z.Zod
444
444
  number: "number";
445
445
  boolean: "boolean";
446
446
  date: "date";
447
- text: "text";
448
447
  array: "array";
448
+ text: "text";
449
449
  }>>;
450
450
  }, z.core.$strip>;
451
451
  }, z.core.$strip>, z.ZodObject<{
@@ -461,15 +461,15 @@ export declare const publicFieldDefinitionSchema: z.ZodDiscriminatedUnion<[z.Zod
461
461
  number: "number";
462
462
  boolean: "boolean";
463
463
  date: "date";
464
- text: "text";
465
464
  array: "array";
465
+ text: "text";
466
466
  }>>;
467
467
  formatting: z.ZodOptional<z.ZodObject<{
468
468
  numberDisplayType: z.ZodOptional<z.ZodEnum<{
469
469
  number: "number";
470
470
  currency: "currency";
471
- percent: "percent";
472
471
  duration: "duration";
472
+ percent: "percent";
473
473
  }>>;
474
474
  currencyCode: z.ZodOptional<z.ZodString>;
475
475
  decimalPlaces: z.ZodOptional<z.ZodNumber>;
@@ -198,8 +198,8 @@ export declare const fieldSchema: z.ZodIntersection<z.ZodObject<{
198
198
  number: "number";
199
199
  boolean: "boolean";
200
200
  date: "date";
201
- text: "text";
202
201
  array: "array";
202
+ text: "text";
203
203
  }>>;
204
204
  }, z.core.$strip>;
205
205
  }, z.core.$strip>, z.ZodObject<{
@@ -215,15 +215,15 @@ export declare const fieldSchema: z.ZodIntersection<z.ZodObject<{
215
215
  number: "number";
216
216
  boolean: "boolean";
217
217
  date: "date";
218
- text: "text";
219
218
  array: "array";
219
+ text: "text";
220
220
  }>>;
221
221
  formatting: z.ZodOptional<z.ZodObject<{
222
222
  numberDisplayType: z.ZodOptional<z.ZodEnum<{
223
223
  number: "number";
224
224
  currency: "currency";
225
- percent: "percent";
226
225
  duration: "duration";
226
+ percent: "percent";
227
227
  }>>;
228
228
  currencyCode: z.ZodOptional<z.ZodString>;
229
229
  decimalPlaces: z.ZodOptional<z.ZodNumber>;
@@ -489,8 +489,8 @@ export declare const tableSchema: z.ZodObject<{
489
489
  number: "number";
490
490
  boolean: "boolean";
491
491
  date: "date";
492
- text: "text";
493
492
  array: "array";
493
+ text: "text";
494
494
  }>>;
495
495
  }, z.core.$strip>;
496
496
  }, z.core.$strip>, z.ZodObject<{
@@ -506,15 +506,15 @@ export declare const tableSchema: z.ZodObject<{
506
506
  number: "number";
507
507
  boolean: "boolean";
508
508
  date: "date";
509
- text: "text";
510
509
  array: "array";
510
+ text: "text";
511
511
  }>>;
512
512
  formatting: z.ZodOptional<z.ZodObject<{
513
513
  numberDisplayType: z.ZodOptional<z.ZodEnum<{
514
514
  number: "number";
515
515
  currency: "currency";
516
- percent: "percent";
517
516
  duration: "duration";
517
+ percent: "percent";
518
518
  }>>;
519
519
  currencyCode: z.ZodOptional<z.ZodString>;
520
520
  decimalPlaces: z.ZodOptional<z.ZodNumber>;
@@ -775,8 +775,8 @@ export declare const publicTableDefinitionSchema: z.ZodObject<{
775
775
  number: "number";
776
776
  boolean: "boolean";
777
777
  date: "date";
778
- text: "text";
779
778
  array: "array";
779
+ text: "text";
780
780
  }>>;
781
781
  }, z.core.$strip>;
782
782
  }, z.core.$strip>, z.ZodObject<{
@@ -792,15 +792,15 @@ export declare const publicTableDefinitionSchema: z.ZodObject<{
792
792
  number: "number";
793
793
  boolean: "boolean";
794
794
  date: "date";
795
- text: "text";
796
795
  array: "array";
796
+ text: "text";
797
797
  }>>;
798
798
  formatting: z.ZodOptional<z.ZodObject<{
799
799
  numberDisplayType: z.ZodOptional<z.ZodEnum<{
800
800
  number: "number";
801
801
  currency: "currency";
802
- percent: "percent";
803
802
  duration: "duration";
803
+ percent: "percent";
804
804
  }>>;
805
805
  currencyCode: z.ZodOptional<z.ZodString>;
806
806
  decimalPlaces: z.ZodOptional<z.ZodNumber>;
@@ -1063,8 +1063,8 @@ export declare const databaseSchema: z.ZodObject<{
1063
1063
  number: "number";
1064
1064
  boolean: "boolean";
1065
1065
  date: "date";
1066
- text: "text";
1067
1066
  array: "array";
1067
+ text: "text";
1068
1068
  }>>;
1069
1069
  }, z.core.$strip>;
1070
1070
  }, z.core.$strip>, z.ZodObject<{
@@ -1080,15 +1080,15 @@ export declare const databaseSchema: z.ZodObject<{
1080
1080
  number: "number";
1081
1081
  boolean: "boolean";
1082
1082
  date: "date";
1083
- text: "text";
1084
1083
  array: "array";
1084
+ text: "text";
1085
1085
  }>>;
1086
1086
  formatting: z.ZodOptional<z.ZodObject<{
1087
1087
  numberDisplayType: z.ZodOptional<z.ZodEnum<{
1088
1088
  number: "number";
1089
1089
  currency: "currency";
1090
- percent: "percent";
1091
1090
  duration: "duration";
1091
+ percent: "percent";
1092
1092
  }>>;
1093
1093
  currencyCode: z.ZodOptional<z.ZodString>;
1094
1094
  decimalPlaces: z.ZodOptional<z.ZodNumber>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zitejs",
3
- "version": "0.9.41",
3
+ "version": "0.9.43",
4
4
  "description": "The Zite framework — build apps on Zite Database",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",