@budibase/pro 3.18.1 → 3.18.2

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.
@@ -4,9 +4,9 @@ import { TableSchemaFromAI } from "../types";
4
4
  export declare const generationStructure: z.ZodObject<{
5
5
  tables: z.ZodArray<z.ZodObject<{
6
6
  name: z.ZodString;
7
- schema: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7
+ schema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
8
8
  name: z.ZodString;
9
- }, {
9
+ } & {
10
10
  type: z.ZodEnum<[FieldType.STRING, FieldType.NUMBER, FieldType.BOOLEAN, FieldType.LONGFORM]>;
11
11
  constraints: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12
12
  presence: z.ZodBoolean;
@@ -15,7 +15,7 @@ export declare const generationStructure: z.ZodObject<{
15
15
  }, {
16
16
  presence: boolean;
17
17
  }>>>;
18
- }>, "strip", z.ZodTypeAny, {
18
+ }, "strip", z.ZodTypeAny, {
19
19
  name: string;
20
20
  type: FieldType.STRING | FieldType.LONGFORM | FieldType.NUMBER | FieldType.BOOLEAN;
21
21
  constraints?: {
@@ -27,16 +27,16 @@ export declare const generationStructure: z.ZodObject<{
27
27
  constraints?: {
28
28
  presence: boolean;
29
29
  } | null | undefined;
30
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
30
+ }>, z.ZodObject<{
31
31
  name: z.ZodString;
32
- }, {
32
+ } & {
33
33
  type: z.ZodLiteral<FieldType.LINK>;
34
34
  tableId: z.ZodString;
35
35
  reverseFieldName: z.ZodString;
36
36
  relationshipId: z.ZodString;
37
- }>, {
37
+ } & {
38
38
  relationshipType: z.ZodEnum<[RelationshipType.MANY_TO_ONE]>;
39
- }>, "strip", z.ZodTypeAny, {
39
+ }, "strip", z.ZodTypeAny, {
40
40
  name: string;
41
41
  type: FieldType.LINK;
42
42
  tableId: string;
@@ -50,16 +50,16 @@ export declare const generationStructure: z.ZodObject<{
50
50
  reverseFieldName: string;
51
51
  relationshipId: string;
52
52
  relationshipType: RelationshipType.MANY_TO_ONE;
53
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
53
+ }>, z.ZodObject<{
54
54
  name: z.ZodString;
55
- }, {
55
+ } & {
56
56
  type: z.ZodLiteral<FieldType.LINK>;
57
57
  tableId: z.ZodString;
58
58
  reverseFieldName: z.ZodString;
59
59
  relationshipId: z.ZodString;
60
- }>, {
60
+ } & {
61
61
  relationshipType: z.ZodEnum<[RelationshipType.ONE_TO_MANY]>;
62
- }>, "strip", z.ZodTypeAny, {
62
+ }, "strip", z.ZodTypeAny, {
63
63
  name: string;
64
64
  type: FieldType.LINK;
65
65
  tableId: string;
@@ -73,16 +73,16 @@ export declare const generationStructure: z.ZodObject<{
73
73
  reverseFieldName: string;
74
74
  relationshipId: string;
75
75
  relationshipType: RelationshipType.ONE_TO_MANY;
76
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
76
+ }>, z.ZodObject<{
77
77
  name: z.ZodString;
78
- }, {
78
+ } & {
79
79
  type: z.ZodLiteral<FieldType.LINK>;
80
80
  tableId: z.ZodString;
81
81
  reverseFieldName: z.ZodString;
82
82
  relationshipId: z.ZodString;
83
- }>, {
83
+ } & {
84
84
  relationshipType: z.ZodEnum<[RelationshipType.MANY_TO_MANY]>;
85
- }>, "strip", z.ZodTypeAny, {
85
+ }, "strip", z.ZodTypeAny, {
86
86
  name: string;
87
87
  type: FieldType.LINK;
88
88
  tableId: string;
@@ -96,9 +96,9 @@ export declare const generationStructure: z.ZodObject<{
96
96
  reverseFieldName: string;
97
97
  relationshipId: string;
98
98
  relationshipType: RelationshipType.MANY_TO_MANY;
99
- }>, z.ZodObject<z.objectUtil.extendShape<{
99
+ }>, z.ZodObject<{
100
100
  name: z.ZodString;
101
- }, {
101
+ } & {
102
102
  type: z.ZodLiteral<FieldType.OPTIONS>;
103
103
  constraints: z.ZodObject<{
104
104
  inclusion: z.ZodArray<z.ZodString, "many">;
@@ -110,7 +110,7 @@ export declare const generationStructure: z.ZodObject<{
110
110
  presence: boolean;
111
111
  inclusion: string[];
112
112
  }>;
113
- }>, "strip", z.ZodTypeAny, {
113
+ }, "strip", z.ZodTypeAny, {
114
114
  name: string;
115
115
  type: FieldType.OPTIONS;
116
116
  constraints: {
@@ -124,9 +124,9 @@ export declare const generationStructure: z.ZodObject<{
124
124
  presence: boolean;
125
125
  inclusion: string[];
126
126
  };
127
- }>, z.ZodObject<z.objectUtil.extendShape<{
127
+ }>, z.ZodObject<{
128
128
  name: z.ZodString;
129
- }, {
129
+ } & {
130
130
  type: z.ZodLiteral<FieldType.ARRAY>;
131
131
  constraints: z.ZodObject<{
132
132
  inclusion: z.ZodArray<z.ZodString, "many">;
@@ -141,7 +141,7 @@ export declare const generationStructure: z.ZodObject<{
141
141
  presence: boolean;
142
142
  inclusion: string[];
143
143
  }>;
144
- }>, "strip", z.ZodTypeAny, {
144
+ }, "strip", z.ZodTypeAny, {
145
145
  name: string;
146
146
  type: FieldType.ARRAY;
147
147
  constraints: {
@@ -157,13 +157,13 @@ export declare const generationStructure: z.ZodObject<{
157
157
  presence: boolean;
158
158
  inclusion: string[];
159
159
  };
160
- }>, z.ZodObject<z.objectUtil.extendShape<{
160
+ }>, z.ZodObject<{
161
161
  name: z.ZodString;
162
- }, {
162
+ } & {
163
163
  type: z.ZodLiteral<FieldType.FORMULA>;
164
164
  formula: z.ZodString;
165
165
  responseType: z.ZodEnum<[FieldType.STRING, FieldType.NUMBER, FieldType.BOOLEAN, FieldType.DATETIME]>;
166
- }>, "strip", z.ZodTypeAny, {
166
+ }, "strip", z.ZodTypeAny, {
167
167
  name: string;
168
168
  type: FieldType.FORMULA;
169
169
  formula: string;
@@ -173,12 +173,12 @@ export declare const generationStructure: z.ZodObject<{
173
173
  type: FieldType.FORMULA;
174
174
  formula: string;
175
175
  responseType: FieldType.STRING | FieldType.NUMBER | FieldType.BOOLEAN | FieldType.DATETIME;
176
- }>, z.ZodObject<z.objectUtil.extendShape<{
176
+ }>, z.ZodObject<{
177
177
  name: z.ZodString;
178
- }, {
178
+ } & {
179
179
  type: z.ZodLiteral<FieldType.DATETIME>;
180
180
  ignoreTimezones: z.ZodBoolean;
181
- }>, "strip", z.ZodTypeAny, {
181
+ }, "strip", z.ZodTypeAny, {
182
182
  name: string;
183
183
  type: FieldType.DATETIME;
184
184
  ignoreTimezones: boolean;
@@ -186,13 +186,13 @@ export declare const generationStructure: z.ZodObject<{
186
186
  name: string;
187
187
  type: FieldType.DATETIME;
188
188
  ignoreTimezones: boolean;
189
- }>, z.ZodObject<z.objectUtil.extendShape<{
189
+ }>, z.ZodObject<{
190
190
  name: z.ZodString;
191
- }, {
191
+ } & {
192
192
  type: z.ZodLiteral<FieldType.DATETIME>;
193
193
  ignoreTimezones: z.ZodBoolean;
194
194
  timeOnly: z.ZodLiteral<true>;
195
- }>, "strip", z.ZodTypeAny, {
195
+ }, "strip", z.ZodTypeAny, {
196
196
  name: string;
197
197
  type: FieldType.DATETIME;
198
198
  ignoreTimezones: boolean;
@@ -202,13 +202,13 @@ export declare const generationStructure: z.ZodObject<{
202
202
  type: FieldType.DATETIME;
203
203
  ignoreTimezones: boolean;
204
204
  timeOnly: true;
205
- }>, z.ZodObject<z.objectUtil.extendShape<{
205
+ }>, z.ZodObject<{
206
206
  name: z.ZodString;
207
- }, {
207
+ } & {
208
208
  type: z.ZodLiteral<FieldType.DATETIME>;
209
209
  ignoreTimezones: z.ZodBoolean;
210
210
  dateOnly: z.ZodLiteral<true>;
211
- }>, "strip", z.ZodTypeAny, {
211
+ }, "strip", z.ZodTypeAny, {
212
212
  name: string;
213
213
  type: FieldType.DATETIME;
214
214
  ignoreTimezones: boolean;
@@ -218,12 +218,12 @@ export declare const generationStructure: z.ZodObject<{
218
218
  type: FieldType.DATETIME;
219
219
  ignoreTimezones: boolean;
220
220
  dateOnly: true;
221
- }>, z.ZodObject<z.objectUtil.extendShape<{
221
+ }>, z.ZodObject<{
222
222
  name: z.ZodString;
223
- }, {
223
+ } & {
224
224
  type: z.ZodLiteral<FieldType.ATTACHMENT_SINGLE>;
225
225
  subtype: z.ZodLiteral<AttachmentSubType>;
226
- }>, "strip", z.ZodTypeAny, {
226
+ }, "strip", z.ZodTypeAny, {
227
227
  name: string;
228
228
  type: FieldType.ATTACHMENT_SINGLE;
229
229
  subtype: AttachmentSubType;
@@ -231,22 +231,22 @@ export declare const generationStructure: z.ZodObject<{
231
231
  name: string;
232
232
  type: FieldType.ATTACHMENT_SINGLE;
233
233
  subtype: AttachmentSubType;
234
- }>, z.ZodObject<z.objectUtil.extendShape<{
234
+ }>, z.ZodObject<{
235
235
  name: z.ZodString;
236
- }, {
236
+ } & {
237
237
  type: z.ZodLiteral<FieldType.ATTACHMENT_SINGLE>;
238
- }>, "strip", z.ZodTypeAny, {
238
+ }, "strip", z.ZodTypeAny, {
239
239
  name: string;
240
240
  type: FieldType.ATTACHMENT_SINGLE;
241
241
  }, {
242
242
  name: string;
243
243
  type: FieldType.ATTACHMENT_SINGLE;
244
- }>, z.ZodObject<z.objectUtil.extendShape<{
244
+ }>, z.ZodObject<{
245
245
  name: z.ZodString;
246
- }, {
246
+ } & {
247
247
  type: z.ZodLiteral<FieldType.ATTACHMENTS>;
248
248
  subtype: z.ZodLiteral<AttachmentSubType>;
249
- }>, "strip", z.ZodTypeAny, {
249
+ }, "strip", z.ZodTypeAny, {
250
250
  name: string;
251
251
  type: FieldType.ATTACHMENTS;
252
252
  subtype: AttachmentSubType;
@@ -254,11 +254,11 @@ export declare const generationStructure: z.ZodObject<{
254
254
  name: string;
255
255
  type: FieldType.ATTACHMENTS;
256
256
  subtype: AttachmentSubType;
257
- }>, z.ZodObject<z.objectUtil.extendShape<{
257
+ }>, z.ZodObject<{
258
258
  name: z.ZodString;
259
- }, {
259
+ } & {
260
260
  type: z.ZodLiteral<FieldType.ATTACHMENTS>;
261
- }>, "strip", z.ZodTypeAny, {
261
+ }, "strip", z.ZodTypeAny, {
262
262
  name: string;
263
263
  type: FieldType.ATTACHMENTS;
264
264
  }, {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "dist"
5
5
  ],
6
6
  "license": "UNLICENSED",
7
- "version": "3.18.1",
7
+ "version": "3.18.2",
8
8
  "description": "Budibase Pro (Backend)",
9
9
  "main": "dist/index.js",
10
10
  "types": "dist/index.d.ts",
@@ -70,5 +70,5 @@
70
70
  }
71
71
  }
72
72
  },
73
- "gitHead": "cac7191488dabe0144f8f427686875c91cc7a548"
73
+ "gitHead": "43d59f5579dd910575d8aebefb40fae25570c05d"
74
74
  }