@adminiumjs/manifest 0.3.0 → 0.3.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.
- package/dist/add-ons.d.ts +63 -0
- package/dist/add-ons.d.ts.map +1 -0
- package/dist/add-ons.js +100 -0
- package/dist/add-ons.js.map +1 -0
- package/dist/documents.d.ts +115 -0
- package/dist/documents.d.ts.map +1 -0
- package/dist/documents.js +171 -0
- package/dist/documents.js.map +1 -0
- package/dist/formula.d.ts +124 -0
- package/dist/formula.d.ts.map +1 -0
- package/dist/formula.js +428 -0
- package/dist/formula.js.map +1 -0
- package/dist/index.d.ts +10 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/outbox.d.ts +354 -9
- package/dist/outbox.d.ts.map +1 -1
- package/dist/outbox.js +223 -9
- package/dist/outbox.js.map +1 -1
- package/dist/plan-model.d.ts +1 -1
- package/dist/plan-model.d.ts.map +1 -1
- package/dist/public-access.d.ts +48 -7
- package/dist/public-access.d.ts.map +1 -1
- package/dist/public-access.js +235 -28
- package/dist/public-access.js.map +1 -1
- package/dist/refs.d.ts +17 -0
- package/dist/refs.d.ts.map +1 -1
- package/dist/refs.js +12 -0
- package/dist/refs.js.map +1 -1
- package/dist/sample.d.ts +49 -1
- package/dist/sample.d.ts.map +1 -1
- package/dist/sample.js +39 -2
- package/dist/sample.js.map +1 -1
- package/dist/schema.d.ts +2501 -158
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +518 -26
- package/dist/schema.js.map +1 -1
- package/dist/shapes.d.ts +97 -0
- package/dist/shapes.d.ts.map +1 -0
- package/dist/shapes.js +190 -0
- package/dist/shapes.js.map +1 -0
- package/dist/states.d.ts +134 -0
- package/dist/states.d.ts.map +1 -0
- package/dist/states.js +244 -0
- package/dist/states.js.map +1 -0
- package/dist/validate.d.ts +14 -0
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +29 -2
- package/dist/validate.js.map +1 -1
- package/package.json +2 -2
package/dist/schema.d.ts
CHANGED
|
@@ -10,10 +10,13 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { i18nMessageSchema, type AddOnBlock, type I18nMessage } from '@adminium/add-on-contracts';
|
|
12
12
|
import { z } from 'zod';
|
|
13
|
+
import { type AddOnNeeds } from './add-ons.js';
|
|
13
14
|
import { bookingSchema } from './booking.js';
|
|
15
|
+
import { type AppDocument } from './documents.js';
|
|
14
16
|
import { emailTemplateSchema, outboxSchema } from './outbox.js';
|
|
15
17
|
import { publicAccessSchema, publicKeysSchema, type PublicAccess } from './public-access.js';
|
|
16
18
|
import { type RoleShape } from './roles.js';
|
|
19
|
+
import { type States } from './states.js';
|
|
17
20
|
import { labelsSchema } from './refs.js';
|
|
18
21
|
import { compareSemver } from './semver.js';
|
|
19
22
|
export { compareSemver };
|
|
@@ -114,11 +117,11 @@ export declare const identitySchema: z.ZodObject<{
|
|
|
114
117
|
export declare const RESERVED_KEYS: readonly ["apps", "add-on", "add-ons", "dashboard", "demo", "index", "search"];
|
|
115
118
|
export declare const MANIFEST_CAPABILITIES: readonly ["hosted-only", "offline-required", "receipt-printer", "barcode-scanner", "payments", "file-storage", "email-delivery", "realtime", "outbound-http", "oauth-connect"];
|
|
116
119
|
export declare const capabilitySchema: z.ZodEnum<{
|
|
120
|
+
payments: "payments";
|
|
117
121
|
"hosted-only": "hosted-only";
|
|
118
122
|
"offline-required": "offline-required";
|
|
119
123
|
"receipt-printer": "receipt-printer";
|
|
120
124
|
"barcode-scanner": "barcode-scanner";
|
|
121
|
-
payments: "payments";
|
|
122
125
|
"file-storage": "file-storage";
|
|
123
126
|
"email-delivery": "email-delivery";
|
|
124
127
|
realtime: "realtime";
|
|
@@ -137,11 +140,11 @@ export declare const compatibilitySchema: z.ZodObject<{
|
|
|
137
140
|
sqlite: "sqlite";
|
|
138
141
|
}>>>;
|
|
139
142
|
requires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
143
|
+
payments: "payments";
|
|
140
144
|
"hosted-only": "hosted-only";
|
|
141
145
|
"offline-required": "offline-required";
|
|
142
146
|
"receipt-printer": "receipt-printer";
|
|
143
147
|
"barcode-scanner": "barcode-scanner";
|
|
144
|
-
payments: "payments";
|
|
145
148
|
"file-storage": "file-storage";
|
|
146
149
|
"email-delivery": "email-delivery";
|
|
147
150
|
realtime: "realtime";
|
|
@@ -158,20 +161,76 @@ export declare const COLUMN_SEMANTICS: readonly ["name", "money", "image", "emai
|
|
|
158
161
|
export declare const COLUMN_ROLES: readonly ["pk", "created_at", "updated_at"];
|
|
159
162
|
export { labelsSchema };
|
|
160
163
|
/**
|
|
161
|
-
*
|
|
162
|
-
* overrides at install). The first five are the rules an operator can set in
|
|
163
|
-
* the column inspector; the rest are the ones Adminium DECIDES for a public
|
|
164
|
-
* write, so a browser never picks a price, a number or a code:
|
|
164
|
+
* What a stamp writes:
|
|
165
165
|
*
|
|
166
|
-
* - `
|
|
167
|
-
*
|
|
168
|
-
* - `
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
* - `
|
|
172
|
-
*
|
|
173
|
-
*
|
|
166
|
+
* - `now` (a timestamptz), `today` (a date, on the venue's calendar),
|
|
167
|
+
* `user-name`, `user-id`;
|
|
168
|
+
* - `byOrigin`: one value for a public write, another for staff — or, with no
|
|
169
|
+
* `staff`, whatever the staff writer chose (a desk records how a client
|
|
170
|
+
* approved; the portal always says "portal");
|
|
171
|
+
* - `copy`: another column of the same row as it stands at that moment (a
|
|
172
|
+
* client's first answer, kept when they edit it later);
|
|
173
|
+
* - `claim`: a column of the signed-in person's own row (their email, their
|
|
174
|
+
* name) on a public write; on a staff write, `staff` says what instead;
|
|
175
|
+
* - `addDays`: a date so many days after another (`due_on` = `issued_on` +
|
|
176
|
+
* the terms' days, `map` giving each term its days);
|
|
177
|
+
* - `hashOf`: a fingerprint — SHA-256 over the named columns, child rows and
|
|
178
|
+
* a linked row's text, in a canonical form anyone can recompute.
|
|
174
179
|
*/
|
|
180
|
+
export declare const stampSetSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
181
|
+
today: "today";
|
|
182
|
+
now: "now";
|
|
183
|
+
"user-name": "user-name";
|
|
184
|
+
"user-id": "user-id";
|
|
185
|
+
}>, z.ZodObject<{
|
|
186
|
+
byOrigin: z.ZodObject<{
|
|
187
|
+
public: z.ZodString;
|
|
188
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
189
|
+
}, z.core.$strict>;
|
|
190
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
191
|
+
claim: z.ZodString;
|
|
192
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
193
|
+
"user-name": "user-name";
|
|
194
|
+
"user-id": "user-id";
|
|
195
|
+
}>>;
|
|
196
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
197
|
+
copy: z.ZodString;
|
|
198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
199
|
+
addDays: z.ZodObject<{
|
|
200
|
+
date: z.ZodString;
|
|
201
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
202
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
203
|
+
}, z.core.$strict>;
|
|
204
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
205
|
+
hashOf: z.ZodObject<{
|
|
206
|
+
columns: z.ZodArray<z.ZodString>;
|
|
207
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
208
|
+
table: z.ZodString;
|
|
209
|
+
via: z.ZodString;
|
|
210
|
+
columns: z.ZodArray<z.ZodString>;
|
|
211
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
212
|
+
}, z.core.$strict>>>;
|
|
213
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
214
|
+
via: z.ZodString;
|
|
215
|
+
table: z.ZodString;
|
|
216
|
+
columns: z.ZodArray<z.ZodString>;
|
|
217
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
218
|
+
table: z.ZodString;
|
|
219
|
+
via: z.ZodString;
|
|
220
|
+
columns: z.ZodArray<z.ZodString>;
|
|
221
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, z.core.$strict>>>;
|
|
223
|
+
}, z.core.$strict>>>;
|
|
224
|
+
}, z.core.$strict>;
|
|
225
|
+
}, z.core.$strict>]>;
|
|
226
|
+
/** When a stamp is written: on create, when a column changes to a value, or when a column is first filled. */
|
|
227
|
+
export declare const stampTriggerSchema: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
228
|
+
column: z.ZodString;
|
|
229
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
230
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
231
|
+
column: z.ZodString;
|
|
232
|
+
filled: z.ZodLiteral<true>;
|
|
233
|
+
}, z.core.$strict>]>;
|
|
175
234
|
export declare const columnRulesSchema: z.ZodObject<{
|
|
176
235
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
177
236
|
list: z.ZodString;
|
|
@@ -206,13 +265,48 @@ export declare const columnRulesSchema: z.ZodObject<{
|
|
|
206
265
|
always: "always";
|
|
207
266
|
}>>;
|
|
208
267
|
}, z.core.$strict>>;
|
|
268
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
270
|
+
table: z.ZodString;
|
|
271
|
+
column: z.ZodString;
|
|
272
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
273
|
+
addOn: z.ZodString;
|
|
274
|
+
setting: z.ZodString;
|
|
275
|
+
}, z.core.$strict>]>]>;
|
|
276
|
+
}, z.core.$strict>>;
|
|
209
277
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
210
278
|
start: z.ZodOptional<z.ZodNumber>;
|
|
279
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
280
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
281
|
+
table: z.ZodString;
|
|
282
|
+
column: z.ZodString;
|
|
283
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
284
|
+
addOn: z.ZodString;
|
|
285
|
+
setting: z.ZodString;
|
|
286
|
+
}, z.core.$strict>]>>;
|
|
287
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
288
|
+
}, z.core.$strict>>;
|
|
289
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
290
|
+
from: z.ZodString;
|
|
291
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
292
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
293
|
+
table: z.ZodString;
|
|
294
|
+
column: z.ZodString;
|
|
295
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
296
|
+
addOn: z.ZodString;
|
|
297
|
+
setting: z.ZodString;
|
|
298
|
+
}, z.core.$strict>]>>;
|
|
299
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
211
300
|
}, z.core.$strict>>;
|
|
212
301
|
code: z.ZodOptional<z.ZodObject<{
|
|
213
302
|
prefix: z.ZodOptional<z.ZodString>;
|
|
214
303
|
length: z.ZodNumber;
|
|
215
304
|
}, z.core.$strict>>;
|
|
305
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
306
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
307
|
+
trim: "trim";
|
|
308
|
+
email: "email";
|
|
309
|
+
}>>;
|
|
216
310
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
217
311
|
from: z.ZodString;
|
|
218
312
|
via: z.ZodString;
|
|
@@ -232,22 +326,72 @@ export declare const columnRulesSchema: z.ZodObject<{
|
|
|
232
326
|
}, z.core.$strict>>;
|
|
233
327
|
stamp: z.ZodOptional<z.ZodObject<{
|
|
234
328
|
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
329
|
+
today: "today";
|
|
235
330
|
now: "now";
|
|
236
331
|
"user-name": "user-name";
|
|
237
332
|
"user-id": "user-id";
|
|
238
333
|
}>, z.ZodObject<{
|
|
239
334
|
byOrigin: z.ZodObject<{
|
|
240
335
|
public: z.ZodString;
|
|
241
|
-
staff: z.ZodString
|
|
336
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
337
|
+
}, z.core.$strict>;
|
|
338
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
339
|
+
claim: z.ZodString;
|
|
340
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
341
|
+
"user-name": "user-name";
|
|
342
|
+
"user-id": "user-id";
|
|
343
|
+
}>>;
|
|
344
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
345
|
+
copy: z.ZodString;
|
|
346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
347
|
+
addDays: z.ZodObject<{
|
|
348
|
+
date: z.ZodString;
|
|
349
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
350
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
351
|
+
}, z.core.$strict>;
|
|
352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
353
|
+
hashOf: z.ZodObject<{
|
|
354
|
+
columns: z.ZodArray<z.ZodString>;
|
|
355
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
356
|
+
table: z.ZodString;
|
|
357
|
+
via: z.ZodString;
|
|
358
|
+
columns: z.ZodArray<z.ZodString>;
|
|
359
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
360
|
+
}, z.core.$strict>>>;
|
|
361
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
362
|
+
via: z.ZodString;
|
|
363
|
+
table: z.ZodString;
|
|
364
|
+
columns: z.ZodArray<z.ZodString>;
|
|
365
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
366
|
+
table: z.ZodString;
|
|
367
|
+
via: z.ZodString;
|
|
368
|
+
columns: z.ZodArray<z.ZodString>;
|
|
369
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, z.core.$strict>>>;
|
|
371
|
+
}, z.core.$strict>>>;
|
|
242
372
|
}, z.core.$strict>;
|
|
243
373
|
}, z.core.$strict>]>;
|
|
244
|
-
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
374
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
245
375
|
column: z.ZodString;
|
|
246
376
|
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
247
|
-
}, z.core.$strict
|
|
377
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
378
|
+
column: z.ZodString;
|
|
379
|
+
filled: z.ZodLiteral<true>;
|
|
380
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
381
|
+
column: z.ZodString;
|
|
382
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
383
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
384
|
+
column: z.ZodString;
|
|
385
|
+
filled: z.ZodLiteral<true>;
|
|
386
|
+
}, z.core.$strict>]>>]>;
|
|
248
387
|
}, z.core.$strict>>;
|
|
249
388
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
250
389
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
390
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
391
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
392
|
+
column: z.ZodString;
|
|
393
|
+
via: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, z.core.$strict>>;
|
|
251
395
|
}, z.core.$strict>;
|
|
252
396
|
export type ColumnRules = z.infer<typeof columnRulesSchema>;
|
|
253
397
|
/**
|
|
@@ -324,18 +468,18 @@ export declare const requiredColumnSchema: z.ZodObject<{
|
|
|
324
468
|
money: "money";
|
|
325
469
|
float: "float";
|
|
326
470
|
bool: "bool";
|
|
471
|
+
id: "id";
|
|
327
472
|
timestamptz: "timestamptz";
|
|
328
473
|
fk: "fk";
|
|
329
474
|
text: "text";
|
|
330
|
-
id: "id";
|
|
331
475
|
json: "json";
|
|
332
476
|
uuid: "uuid";
|
|
333
477
|
blob: "blob";
|
|
334
478
|
}>;
|
|
335
479
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
336
480
|
money: "money";
|
|
337
|
-
email: "email";
|
|
338
481
|
name: "name";
|
|
482
|
+
email: "email";
|
|
339
483
|
image: "image";
|
|
340
484
|
avatar: "avatar";
|
|
341
485
|
"geo-lat": "geo-lat";
|
|
@@ -351,6 +495,7 @@ export declare const requiredColumnSchema: z.ZodObject<{
|
|
|
351
495
|
references: z.ZodOptional<z.ZodString>;
|
|
352
496
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
353
497
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
498
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
354
499
|
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
355
500
|
rules: z.ZodOptional<z.ZodObject<{
|
|
356
501
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -386,13 +531,48 @@ export declare const requiredColumnSchema: z.ZodObject<{
|
|
|
386
531
|
always: "always";
|
|
387
532
|
}>>;
|
|
388
533
|
}, z.core.$strict>>;
|
|
534
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
535
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
536
|
+
table: z.ZodString;
|
|
537
|
+
column: z.ZodString;
|
|
538
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
539
|
+
addOn: z.ZodString;
|
|
540
|
+
setting: z.ZodString;
|
|
541
|
+
}, z.core.$strict>]>]>;
|
|
542
|
+
}, z.core.$strict>>;
|
|
389
543
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
390
544
|
start: z.ZodOptional<z.ZodNumber>;
|
|
545
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
546
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
547
|
+
table: z.ZodString;
|
|
548
|
+
column: z.ZodString;
|
|
549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
550
|
+
addOn: z.ZodString;
|
|
551
|
+
setting: z.ZodString;
|
|
552
|
+
}, z.core.$strict>]>>;
|
|
553
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
554
|
+
}, z.core.$strict>>;
|
|
555
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
from: z.ZodString;
|
|
557
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
558
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
559
|
+
table: z.ZodString;
|
|
560
|
+
column: z.ZodString;
|
|
561
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
562
|
+
addOn: z.ZodString;
|
|
563
|
+
setting: z.ZodString;
|
|
564
|
+
}, z.core.$strict>]>>;
|
|
565
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
391
566
|
}, z.core.$strict>>;
|
|
392
567
|
code: z.ZodOptional<z.ZodObject<{
|
|
393
568
|
prefix: z.ZodOptional<z.ZodString>;
|
|
394
569
|
length: z.ZodNumber;
|
|
395
570
|
}, z.core.$strict>>;
|
|
571
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
572
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
573
|
+
trim: "trim";
|
|
574
|
+
email: "email";
|
|
575
|
+
}>>;
|
|
396
576
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
397
577
|
from: z.ZodString;
|
|
398
578
|
via: z.ZodString;
|
|
@@ -412,22 +592,72 @@ export declare const requiredColumnSchema: z.ZodObject<{
|
|
|
412
592
|
}, z.core.$strict>>;
|
|
413
593
|
stamp: z.ZodOptional<z.ZodObject<{
|
|
414
594
|
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
595
|
+
today: "today";
|
|
415
596
|
now: "now";
|
|
416
597
|
"user-name": "user-name";
|
|
417
598
|
"user-id": "user-id";
|
|
418
599
|
}>, z.ZodObject<{
|
|
419
600
|
byOrigin: z.ZodObject<{
|
|
420
601
|
public: z.ZodString;
|
|
421
|
-
staff: z.ZodString
|
|
602
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
603
|
+
}, z.core.$strict>;
|
|
604
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
605
|
+
claim: z.ZodString;
|
|
606
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
607
|
+
"user-name": "user-name";
|
|
608
|
+
"user-id": "user-id";
|
|
609
|
+
}>>;
|
|
610
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
611
|
+
copy: z.ZodString;
|
|
612
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
613
|
+
addDays: z.ZodObject<{
|
|
614
|
+
date: z.ZodString;
|
|
615
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
616
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
617
|
+
}, z.core.$strict>;
|
|
618
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
619
|
+
hashOf: z.ZodObject<{
|
|
620
|
+
columns: z.ZodArray<z.ZodString>;
|
|
621
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
622
|
+
table: z.ZodString;
|
|
623
|
+
via: z.ZodString;
|
|
624
|
+
columns: z.ZodArray<z.ZodString>;
|
|
625
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
626
|
+
}, z.core.$strict>>>;
|
|
627
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
628
|
+
via: z.ZodString;
|
|
629
|
+
table: z.ZodString;
|
|
630
|
+
columns: z.ZodArray<z.ZodString>;
|
|
631
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
632
|
+
table: z.ZodString;
|
|
633
|
+
via: z.ZodString;
|
|
634
|
+
columns: z.ZodArray<z.ZodString>;
|
|
635
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
636
|
+
}, z.core.$strict>>>;
|
|
637
|
+
}, z.core.$strict>>>;
|
|
422
638
|
}, z.core.$strict>;
|
|
423
639
|
}, z.core.$strict>]>;
|
|
424
|
-
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
640
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
425
641
|
column: z.ZodString;
|
|
426
642
|
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
427
|
-
}, z.core.$strict
|
|
643
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
644
|
+
column: z.ZodString;
|
|
645
|
+
filled: z.ZodLiteral<true>;
|
|
646
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
647
|
+
column: z.ZodString;
|
|
648
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
649
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
650
|
+
column: z.ZodString;
|
|
651
|
+
filled: z.ZodLiteral<true>;
|
|
652
|
+
}, z.core.$strict>]>>]>;
|
|
428
653
|
}, z.core.$strict>>;
|
|
429
654
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
430
655
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
656
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
657
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
658
|
+
column: z.ZodString;
|
|
659
|
+
via: z.ZodOptional<z.ZodString>;
|
|
660
|
+
}, z.core.$strict>>;
|
|
431
661
|
}, z.core.$strict>>;
|
|
432
662
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
433
663
|
}, z.core.$strict>;
|
|
@@ -444,18 +674,18 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
444
674
|
money: "money";
|
|
445
675
|
float: "float";
|
|
446
676
|
bool: "bool";
|
|
677
|
+
id: "id";
|
|
447
678
|
timestamptz: "timestamptz";
|
|
448
679
|
fk: "fk";
|
|
449
680
|
text: "text";
|
|
450
|
-
id: "id";
|
|
451
681
|
json: "json";
|
|
452
682
|
uuid: "uuid";
|
|
453
683
|
blob: "blob";
|
|
454
684
|
}>;
|
|
455
685
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
456
686
|
money: "money";
|
|
457
|
-
email: "email";
|
|
458
687
|
name: "name";
|
|
688
|
+
email: "email";
|
|
459
689
|
image: "image";
|
|
460
690
|
avatar: "avatar";
|
|
461
691
|
"geo-lat": "geo-lat";
|
|
@@ -471,6 +701,7 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
471
701
|
references: z.ZodOptional<z.ZodString>;
|
|
472
702
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
473
703
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
704
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
474
705
|
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
475
706
|
rules: z.ZodOptional<z.ZodObject<{
|
|
476
707
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -506,13 +737,48 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
506
737
|
always: "always";
|
|
507
738
|
}>>;
|
|
508
739
|
}, z.core.$strict>>;
|
|
740
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
741
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
742
|
+
table: z.ZodString;
|
|
743
|
+
column: z.ZodString;
|
|
744
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
745
|
+
addOn: z.ZodString;
|
|
746
|
+
setting: z.ZodString;
|
|
747
|
+
}, z.core.$strict>]>]>;
|
|
748
|
+
}, z.core.$strict>>;
|
|
509
749
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
510
750
|
start: z.ZodOptional<z.ZodNumber>;
|
|
751
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
752
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
753
|
+
table: z.ZodString;
|
|
754
|
+
column: z.ZodString;
|
|
755
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
756
|
+
addOn: z.ZodString;
|
|
757
|
+
setting: z.ZodString;
|
|
758
|
+
}, z.core.$strict>]>>;
|
|
759
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
760
|
+
}, z.core.$strict>>;
|
|
761
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
762
|
+
from: z.ZodString;
|
|
763
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
764
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
765
|
+
table: z.ZodString;
|
|
766
|
+
column: z.ZodString;
|
|
767
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
768
|
+
addOn: z.ZodString;
|
|
769
|
+
setting: z.ZodString;
|
|
770
|
+
}, z.core.$strict>]>>;
|
|
771
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
511
772
|
}, z.core.$strict>>;
|
|
512
773
|
code: z.ZodOptional<z.ZodObject<{
|
|
513
774
|
prefix: z.ZodOptional<z.ZodString>;
|
|
514
775
|
length: z.ZodNumber;
|
|
515
776
|
}, z.core.$strict>>;
|
|
777
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
778
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
779
|
+
trim: "trim";
|
|
780
|
+
email: "email";
|
|
781
|
+
}>>;
|
|
516
782
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
517
783
|
from: z.ZodString;
|
|
518
784
|
via: z.ZodString;
|
|
@@ -532,22 +798,72 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
532
798
|
}, z.core.$strict>>;
|
|
533
799
|
stamp: z.ZodOptional<z.ZodObject<{
|
|
534
800
|
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
801
|
+
today: "today";
|
|
535
802
|
now: "now";
|
|
536
803
|
"user-name": "user-name";
|
|
537
804
|
"user-id": "user-id";
|
|
538
805
|
}>, z.ZodObject<{
|
|
539
806
|
byOrigin: z.ZodObject<{
|
|
540
807
|
public: z.ZodString;
|
|
541
|
-
staff: z.ZodString
|
|
808
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
809
|
+
}, z.core.$strict>;
|
|
810
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
811
|
+
claim: z.ZodString;
|
|
812
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
813
|
+
"user-name": "user-name";
|
|
814
|
+
"user-id": "user-id";
|
|
815
|
+
}>>;
|
|
816
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
817
|
+
copy: z.ZodString;
|
|
818
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
819
|
+
addDays: z.ZodObject<{
|
|
820
|
+
date: z.ZodString;
|
|
821
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
822
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
823
|
+
}, z.core.$strict>;
|
|
824
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
825
|
+
hashOf: z.ZodObject<{
|
|
826
|
+
columns: z.ZodArray<z.ZodString>;
|
|
827
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
828
|
+
table: z.ZodString;
|
|
829
|
+
via: z.ZodString;
|
|
830
|
+
columns: z.ZodArray<z.ZodString>;
|
|
831
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
832
|
+
}, z.core.$strict>>>;
|
|
833
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
834
|
+
via: z.ZodString;
|
|
835
|
+
table: z.ZodString;
|
|
836
|
+
columns: z.ZodArray<z.ZodString>;
|
|
837
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
838
|
+
table: z.ZodString;
|
|
839
|
+
via: z.ZodString;
|
|
840
|
+
columns: z.ZodArray<z.ZodString>;
|
|
841
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
842
|
+
}, z.core.$strict>>>;
|
|
843
|
+
}, z.core.$strict>>>;
|
|
542
844
|
}, z.core.$strict>;
|
|
543
845
|
}, z.core.$strict>]>;
|
|
544
|
-
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
846
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
545
847
|
column: z.ZodString;
|
|
546
848
|
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
547
|
-
}, z.core.$strict
|
|
849
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
850
|
+
column: z.ZodString;
|
|
851
|
+
filled: z.ZodLiteral<true>;
|
|
852
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
853
|
+
column: z.ZodString;
|
|
854
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
855
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
856
|
+
column: z.ZodString;
|
|
857
|
+
filled: z.ZodLiteral<true>;
|
|
858
|
+
}, z.core.$strict>]>>]>;
|
|
548
859
|
}, z.core.$strict>>;
|
|
549
860
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
550
861
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
862
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
863
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
864
|
+
column: z.ZodString;
|
|
865
|
+
via: z.ZodOptional<z.ZodString>;
|
|
866
|
+
}, z.core.$strict>>;
|
|
551
867
|
}, z.core.$strict>>;
|
|
552
868
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
553
869
|
}, z.core.$strict>>;
|
|
@@ -660,6 +976,48 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
660
976
|
}, z.core.$strict>;
|
|
661
977
|
}, z.core.$strict>>;
|
|
662
978
|
}, z.core.$strict>>;
|
|
979
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
980
|
+
column: z.ZodString;
|
|
981
|
+
initial: z.ZodString;
|
|
982
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
983
|
+
to: z.ZodString;
|
|
984
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
985
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
986
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
987
|
+
column: z.ZodString;
|
|
988
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
989
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
990
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
991
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
992
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
993
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
994
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
995
|
+
}, z.core.$strict>>>;
|
|
996
|
+
}, z.core.$strict>>;
|
|
997
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
998
|
+
}, z.core.$strict>]>>>;
|
|
999
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
1000
|
+
when: z.ZodArray<z.ZodString>;
|
|
1001
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1002
|
+
}, z.core.$strict>>;
|
|
1003
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1004
|
+
via: z.ZodString;
|
|
1005
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1006
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1007
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1008
|
+
}, z.core.$strict>>>;
|
|
1009
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1010
|
+
table: z.ZodString;
|
|
1011
|
+
via: z.ZodString;
|
|
1012
|
+
in: z.ZodArray<z.ZodString>;
|
|
1013
|
+
}, z.core.$strict>>>;
|
|
1014
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
1015
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
1016
|
+
}, z.core.$strict>>;
|
|
1017
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1018
|
+
}, z.core.$strict>>;
|
|
1019
|
+
builtOn: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
part: z.ZodOptional<z.ZodString>;
|
|
663
1021
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
664
1022
|
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
665
1023
|
keyField: z.ZodOptional<z.ZodString>;
|
|
@@ -678,18 +1036,18 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
678
1036
|
money: "money";
|
|
679
1037
|
float: "float";
|
|
680
1038
|
bool: "bool";
|
|
1039
|
+
id: "id";
|
|
681
1040
|
timestamptz: "timestamptz";
|
|
682
1041
|
fk: "fk";
|
|
683
1042
|
text: "text";
|
|
684
|
-
id: "id";
|
|
685
1043
|
json: "json";
|
|
686
1044
|
uuid: "uuid";
|
|
687
1045
|
blob: "blob";
|
|
688
1046
|
}>;
|
|
689
1047
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
690
1048
|
money: "money";
|
|
691
|
-
email: "email";
|
|
692
1049
|
name: "name";
|
|
1050
|
+
email: "email";
|
|
693
1051
|
image: "image";
|
|
694
1052
|
avatar: "avatar";
|
|
695
1053
|
"geo-lat": "geo-lat";
|
|
@@ -705,6 +1063,7 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
705
1063
|
references: z.ZodOptional<z.ZodString>;
|
|
706
1064
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
707
1065
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1066
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
708
1067
|
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
709
1068
|
rules: z.ZodOptional<z.ZodObject<{
|
|
710
1069
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -740,13 +1099,48 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
740
1099
|
always: "always";
|
|
741
1100
|
}>>;
|
|
742
1101
|
}, z.core.$strict>>;
|
|
1102
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
1103
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
1104
|
+
table: z.ZodString;
|
|
1105
|
+
column: z.ZodString;
|
|
1106
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1107
|
+
addOn: z.ZodString;
|
|
1108
|
+
setting: z.ZodString;
|
|
1109
|
+
}, z.core.$strict>]>]>;
|
|
1110
|
+
}, z.core.$strict>>;
|
|
743
1111
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
744
1112
|
start: z.ZodOptional<z.ZodNumber>;
|
|
1113
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1114
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1115
|
+
table: z.ZodString;
|
|
1116
|
+
column: z.ZodString;
|
|
1117
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1118
|
+
addOn: z.ZodString;
|
|
1119
|
+
setting: z.ZodString;
|
|
1120
|
+
}, z.core.$strict>]>>;
|
|
1121
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
}, z.core.$strict>>;
|
|
1123
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
1124
|
+
from: z.ZodString;
|
|
1125
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
1126
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1127
|
+
table: z.ZodString;
|
|
1128
|
+
column: z.ZodString;
|
|
1129
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1130
|
+
addOn: z.ZodString;
|
|
1131
|
+
setting: z.ZodString;
|
|
1132
|
+
}, z.core.$strict>]>>;
|
|
1133
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
745
1134
|
}, z.core.$strict>>;
|
|
746
1135
|
code: z.ZodOptional<z.ZodObject<{
|
|
747
1136
|
prefix: z.ZodOptional<z.ZodString>;
|
|
748
1137
|
length: z.ZodNumber;
|
|
749
1138
|
}, z.core.$strict>>;
|
|
1139
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
1140
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
1141
|
+
trim: "trim";
|
|
1142
|
+
email: "email";
|
|
1143
|
+
}>>;
|
|
750
1144
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
751
1145
|
from: z.ZodString;
|
|
752
1146
|
via: z.ZodString;
|
|
@@ -766,22 +1160,72 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
766
1160
|
}, z.core.$strict>>;
|
|
767
1161
|
stamp: z.ZodOptional<z.ZodObject<{
|
|
768
1162
|
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1163
|
+
today: "today";
|
|
769
1164
|
now: "now";
|
|
770
1165
|
"user-name": "user-name";
|
|
771
1166
|
"user-id": "user-id";
|
|
772
1167
|
}>, z.ZodObject<{
|
|
773
1168
|
byOrigin: z.ZodObject<{
|
|
774
1169
|
public: z.ZodString;
|
|
775
|
-
staff: z.ZodString
|
|
1170
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
1171
|
+
}, z.core.$strict>;
|
|
1172
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1173
|
+
claim: z.ZodString;
|
|
1174
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
1175
|
+
"user-name": "user-name";
|
|
1176
|
+
"user-id": "user-id";
|
|
1177
|
+
}>>;
|
|
1178
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1179
|
+
copy: z.ZodString;
|
|
1180
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1181
|
+
addDays: z.ZodObject<{
|
|
1182
|
+
date: z.ZodString;
|
|
1183
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1184
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1185
|
+
}, z.core.$strict>;
|
|
1186
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1187
|
+
hashOf: z.ZodObject<{
|
|
1188
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1189
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1190
|
+
table: z.ZodString;
|
|
1191
|
+
via: z.ZodString;
|
|
1192
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1193
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
1194
|
+
}, z.core.$strict>>>;
|
|
1195
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1196
|
+
via: z.ZodString;
|
|
1197
|
+
table: z.ZodString;
|
|
1198
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1199
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1200
|
+
table: z.ZodString;
|
|
1201
|
+
via: z.ZodString;
|
|
1202
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1203
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
}, z.core.$strict>>>;
|
|
1205
|
+
}, z.core.$strict>>>;
|
|
776
1206
|
}, z.core.$strict>;
|
|
777
1207
|
}, z.core.$strict>]>;
|
|
778
|
-
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
1208
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
779
1209
|
column: z.ZodString;
|
|
780
1210
|
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
781
|
-
}, z.core.$strict
|
|
1211
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1212
|
+
column: z.ZodString;
|
|
1213
|
+
filled: z.ZodLiteral<true>;
|
|
1214
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
1215
|
+
column: z.ZodString;
|
|
1216
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1217
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1218
|
+
column: z.ZodString;
|
|
1219
|
+
filled: z.ZodLiteral<true>;
|
|
1220
|
+
}, z.core.$strict>]>>]>;
|
|
782
1221
|
}, z.core.$strict>>;
|
|
783
1222
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
784
1223
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
1224
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
1225
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
1226
|
+
column: z.ZodString;
|
|
1227
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1228
|
+
}, z.core.$strict>>;
|
|
785
1229
|
}, z.core.$strict>>;
|
|
786
1230
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
787
1231
|
}, z.core.$strict>>;
|
|
@@ -835,71 +1279,920 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
835
1279
|
order: z.ZodOptional<z.ZodObject<{
|
|
836
1280
|
table: z.ZodString;
|
|
837
1281
|
column: z.ZodString;
|
|
838
|
-
active: z.ZodOptional<z.ZodString>;
|
|
839
|
-
public: z.ZodOptional<z.ZodString>;
|
|
1282
|
+
active: z.ZodOptional<z.ZodString>;
|
|
1283
|
+
public: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
}, z.core.$strict>>;
|
|
1285
|
+
}, z.core.$strict>;
|
|
1286
|
+
hours: z.ZodObject<{
|
|
1287
|
+
practice: z.ZodObject<{
|
|
1288
|
+
weekday: z.ZodString;
|
|
1289
|
+
opens: z.ZodString;
|
|
1290
|
+
closes: z.ZodString;
|
|
1291
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
1292
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
1293
|
+
table: z.ZodString;
|
|
1294
|
+
open: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
}, z.core.$strict>;
|
|
1296
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
1297
|
+
weekday: z.ZodString;
|
|
1298
|
+
opens: z.ZodString;
|
|
1299
|
+
closes: z.ZodString;
|
|
1300
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
1301
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
table: z.ZodString;
|
|
1303
|
+
resource: z.ZodString;
|
|
1304
|
+
}, z.core.$strict>>;
|
|
1305
|
+
}, z.core.$strict>;
|
|
1306
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
1307
|
+
table: z.ZodString;
|
|
1308
|
+
from: z.ZodString;
|
|
1309
|
+
to: z.ZodString;
|
|
1310
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
1311
|
+
active: z.ZodOptional<z.ZodString>;
|
|
1312
|
+
}, z.core.$strict>>;
|
|
1313
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1314
|
+
table: z.ZodString;
|
|
1315
|
+
column: z.ZodString;
|
|
1316
|
+
}, z.core.$strict>]>;
|
|
1317
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1318
|
+
table: z.ZodString;
|
|
1319
|
+
column: z.ZodString;
|
|
1320
|
+
}, z.core.$strict>]>>;
|
|
1321
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1322
|
+
table: z.ZodString;
|
|
1323
|
+
column: z.ZodString;
|
|
1324
|
+
}, z.core.$strict>]>>;
|
|
1325
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
1326
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1327
|
+
table: z.ZodString;
|
|
1328
|
+
column: z.ZodString;
|
|
1329
|
+
}, z.core.$strict>]>;
|
|
1330
|
+
mode: z.ZodEnum<{
|
|
1331
|
+
refuse: "refuse";
|
|
1332
|
+
flag: "flag";
|
|
1333
|
+
}>;
|
|
1334
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
1335
|
+
when: z.ZodObject<{
|
|
1336
|
+
column: z.ZodString;
|
|
1337
|
+
to: z.ZodString;
|
|
1338
|
+
}, z.core.$strict>;
|
|
1339
|
+
}, z.core.$strict>>;
|
|
1340
|
+
}, z.core.$strict>>;
|
|
1341
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
1342
|
+
column: z.ZodString;
|
|
1343
|
+
initial: z.ZodString;
|
|
1344
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1345
|
+
to: z.ZodString;
|
|
1346
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
1347
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1348
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1349
|
+
column: z.ZodString;
|
|
1350
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1351
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1352
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
1353
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
1354
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
1355
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
1356
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
1357
|
+
}, z.core.$strict>>>;
|
|
1358
|
+
}, z.core.$strict>>;
|
|
1359
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1360
|
+
}, z.core.$strict>]>>>;
|
|
1361
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
1362
|
+
when: z.ZodArray<z.ZodString>;
|
|
1363
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1364
|
+
}, z.core.$strict>>;
|
|
1365
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1366
|
+
via: z.ZodString;
|
|
1367
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1368
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1369
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1370
|
+
}, z.core.$strict>>>;
|
|
1371
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1372
|
+
table: z.ZodString;
|
|
1373
|
+
via: z.ZodString;
|
|
1374
|
+
in: z.ZodArray<z.ZodString>;
|
|
1375
|
+
}, z.core.$strict>>>;
|
|
1376
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
1377
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
1378
|
+
}, z.core.$strict>>;
|
|
1379
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1380
|
+
}, z.core.$strict>>;
|
|
1381
|
+
builtOn: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
part: z.ZodOptional<z.ZodString>;
|
|
1383
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1384
|
+
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1385
|
+
keyField: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
}, z.core.$strict>>;
|
|
1387
|
+
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1388
|
+
}, z.core.$strict>;
|
|
1389
|
+
/**
|
|
1390
|
+
* One part of a shape: its columns and the rules on them, and the table's
|
|
1391
|
+
* states. A column's `references` names another part of the same shape
|
|
1392
|
+
* (`document`), or a part of another of the add-on's shapes
|
|
1393
|
+
* (`quote@1/document`).
|
|
1394
|
+
*/
|
|
1395
|
+
export declare const shapePartSchema: z.ZodObject<{
|
|
1396
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1397
|
+
ref: z.ZodString;
|
|
1398
|
+
type: z.ZodEnum<{
|
|
1399
|
+
bigint: "bigint";
|
|
1400
|
+
int: "int";
|
|
1401
|
+
date: "date";
|
|
1402
|
+
enum: "enum";
|
|
1403
|
+
decimal: "decimal";
|
|
1404
|
+
money: "money";
|
|
1405
|
+
float: "float";
|
|
1406
|
+
bool: "bool";
|
|
1407
|
+
id: "id";
|
|
1408
|
+
timestamptz: "timestamptz";
|
|
1409
|
+
fk: "fk";
|
|
1410
|
+
text: "text";
|
|
1411
|
+
json: "json";
|
|
1412
|
+
uuid: "uuid";
|
|
1413
|
+
blob: "blob";
|
|
1414
|
+
}>;
|
|
1415
|
+
semantic: z.ZodOptional<z.ZodEnum<{
|
|
1416
|
+
money: "money";
|
|
1417
|
+
name: "name";
|
|
1418
|
+
email: "email";
|
|
1419
|
+
image: "image";
|
|
1420
|
+
avatar: "avatar";
|
|
1421
|
+
"geo-lat": "geo-lat";
|
|
1422
|
+
"geo-lng": "geo-lng";
|
|
1423
|
+
}>>;
|
|
1424
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
1425
|
+
pk: "pk";
|
|
1426
|
+
created_at: "created_at";
|
|
1427
|
+
updated_at: "updated_at";
|
|
1428
|
+
}>>;
|
|
1429
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
1430
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1431
|
+
references: z.ZodOptional<z.ZodString>;
|
|
1432
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1433
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1434
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
1435
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1436
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
1437
|
+
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1438
|
+
list: z.ZodString;
|
|
1439
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1440
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1441
|
+
value: z.ZodString;
|
|
1442
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1443
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
1444
|
+
}, z.core.$strict>>;
|
|
1445
|
+
}, z.core.$strict>]>>;
|
|
1446
|
+
enumLabels: z.ZodOptional<z.ZodObject<{
|
|
1447
|
+
labels: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1448
|
+
tones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1449
|
+
}, z.core.$strict>>;
|
|
1450
|
+
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1451
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
1452
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1453
|
+
email: "email";
|
|
1454
|
+
phone: "phone";
|
|
1455
|
+
url: "url";
|
|
1456
|
+
}>>;
|
|
1457
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1458
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1459
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1460
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1461
|
+
}, z.core.$strict>>;
|
|
1462
|
+
copy: z.ZodOptional<z.ZodObject<{
|
|
1463
|
+
via: z.ZodString;
|
|
1464
|
+
from: z.ZodString;
|
|
1465
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1466
|
+
default: "default";
|
|
1467
|
+
always: "always";
|
|
1468
|
+
}>>;
|
|
1469
|
+
}, z.core.$strict>>;
|
|
1470
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
1471
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
1472
|
+
table: z.ZodString;
|
|
1473
|
+
column: z.ZodString;
|
|
1474
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1475
|
+
addOn: z.ZodString;
|
|
1476
|
+
setting: z.ZodString;
|
|
1477
|
+
}, z.core.$strict>]>]>;
|
|
1478
|
+
}, z.core.$strict>>;
|
|
1479
|
+
sequence: z.ZodOptional<z.ZodObject<{
|
|
1480
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
1481
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1482
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1483
|
+
table: z.ZodString;
|
|
1484
|
+
column: z.ZodString;
|
|
1485
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1486
|
+
addOn: z.ZodString;
|
|
1487
|
+
setting: z.ZodString;
|
|
1488
|
+
}, z.core.$strict>]>>;
|
|
1489
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1490
|
+
}, z.core.$strict>>;
|
|
1491
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
1492
|
+
from: z.ZodString;
|
|
1493
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
1494
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1495
|
+
table: z.ZodString;
|
|
1496
|
+
column: z.ZodString;
|
|
1497
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1498
|
+
addOn: z.ZodString;
|
|
1499
|
+
setting: z.ZodString;
|
|
1500
|
+
}, z.core.$strict>]>>;
|
|
1501
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
1502
|
+
}, z.core.$strict>>;
|
|
1503
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
1504
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
1505
|
+
length: z.ZodNumber;
|
|
1506
|
+
}, z.core.$strict>>;
|
|
1507
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
1508
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
1509
|
+
trim: "trim";
|
|
1510
|
+
email: "email";
|
|
1511
|
+
}>>;
|
|
1512
|
+
rollup: z.ZodOptional<z.ZodObject<{
|
|
1513
|
+
from: z.ZodString;
|
|
1514
|
+
via: z.ZodString;
|
|
1515
|
+
sum: z.ZodString;
|
|
1516
|
+
times: z.ZodOptional<z.ZodString>;
|
|
1517
|
+
unlessSet: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1519
|
+
column: z.ZodString;
|
|
1520
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1521
|
+
}, z.core.$strict>>;
|
|
1522
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
1523
|
+
column: z.ZodString;
|
|
1524
|
+
of: z.ZodString;
|
|
1525
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1526
|
+
}, z.core.$strict>>;
|
|
1527
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1528
|
+
}, z.core.$strict>>;
|
|
1529
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
1530
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1531
|
+
today: "today";
|
|
1532
|
+
now: "now";
|
|
1533
|
+
"user-name": "user-name";
|
|
1534
|
+
"user-id": "user-id";
|
|
1535
|
+
}>, z.ZodObject<{
|
|
1536
|
+
byOrigin: z.ZodObject<{
|
|
1537
|
+
public: z.ZodString;
|
|
1538
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
1539
|
+
}, z.core.$strict>;
|
|
1540
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1541
|
+
claim: z.ZodString;
|
|
1542
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
1543
|
+
"user-name": "user-name";
|
|
1544
|
+
"user-id": "user-id";
|
|
1545
|
+
}>>;
|
|
1546
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1547
|
+
copy: z.ZodString;
|
|
1548
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1549
|
+
addDays: z.ZodObject<{
|
|
1550
|
+
date: z.ZodString;
|
|
1551
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1552
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1553
|
+
}, z.core.$strict>;
|
|
1554
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1555
|
+
hashOf: z.ZodObject<{
|
|
1556
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1557
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1558
|
+
table: z.ZodString;
|
|
1559
|
+
via: z.ZodString;
|
|
1560
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1561
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
1562
|
+
}, z.core.$strict>>>;
|
|
1563
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1564
|
+
via: z.ZodString;
|
|
1565
|
+
table: z.ZodString;
|
|
1566
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1567
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1568
|
+
table: z.ZodString;
|
|
1569
|
+
via: z.ZodString;
|
|
1570
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1571
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
1572
|
+
}, z.core.$strict>>>;
|
|
1573
|
+
}, z.core.$strict>>>;
|
|
1574
|
+
}, z.core.$strict>;
|
|
1575
|
+
}, z.core.$strict>]>;
|
|
1576
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
1577
|
+
column: z.ZodString;
|
|
1578
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1579
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1580
|
+
column: z.ZodString;
|
|
1581
|
+
filled: z.ZodLiteral<true>;
|
|
1582
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
1583
|
+
column: z.ZodString;
|
|
1584
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1585
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1586
|
+
column: z.ZodString;
|
|
1587
|
+
filled: z.ZodLiteral<true>;
|
|
1588
|
+
}, z.core.$strict>]>>]>;
|
|
1589
|
+
}, z.core.$strict>>;
|
|
1590
|
+
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1591
|
+
personal: z.ZodOptional<z.ZodBoolean>;
|
|
1592
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
1593
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
1594
|
+
column: z.ZodString;
|
|
1595
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1596
|
+
}, z.core.$strict>>;
|
|
1597
|
+
}, z.core.$strict>>;
|
|
1598
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1599
|
+
}, z.core.$strict>>;
|
|
1600
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
1601
|
+
column: z.ZodString;
|
|
1602
|
+
initial: z.ZodString;
|
|
1603
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1604
|
+
to: z.ZodString;
|
|
1605
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
1606
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1607
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1608
|
+
column: z.ZodString;
|
|
1609
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1610
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1611
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
1612
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
1613
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
1614
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
1615
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
1616
|
+
}, z.core.$strict>>>;
|
|
1617
|
+
}, z.core.$strict>>;
|
|
1618
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1619
|
+
}, z.core.$strict>]>>>;
|
|
1620
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
1621
|
+
when: z.ZodArray<z.ZodString>;
|
|
1622
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1623
|
+
}, z.core.$strict>>;
|
|
1624
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1625
|
+
via: z.ZodString;
|
|
1626
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1627
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1628
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1629
|
+
}, z.core.$strict>>>;
|
|
1630
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1631
|
+
table: z.ZodString;
|
|
1632
|
+
via: z.ZodString;
|
|
1633
|
+
in: z.ZodArray<z.ZodString>;
|
|
1634
|
+
}, z.core.$strict>>>;
|
|
1635
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
1636
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
1637
|
+
}, z.core.$strict>>;
|
|
1638
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1639
|
+
}, z.core.$strict>>;
|
|
1640
|
+
}, z.core.$strict>;
|
|
1641
|
+
/**
|
|
1642
|
+
* A shape an add-on defines for apps to build their tables on (see
|
|
1643
|
+
* `shapes.ts`): named parts, the document profiles made for an app's tables
|
|
1644
|
+
* at install (in part and column names), and the messages it sends.
|
|
1645
|
+
*/
|
|
1646
|
+
export declare const shapeDefinitionSchema: z.ZodObject<{
|
|
1647
|
+
name: z.ZodString;
|
|
1648
|
+
version: z.ZodNumber;
|
|
1649
|
+
parts: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1650
|
+
columns: z.ZodArray<z.ZodObject<{
|
|
1651
|
+
ref: z.ZodString;
|
|
1652
|
+
type: z.ZodEnum<{
|
|
1653
|
+
bigint: "bigint";
|
|
1654
|
+
int: "int";
|
|
1655
|
+
date: "date";
|
|
1656
|
+
enum: "enum";
|
|
1657
|
+
decimal: "decimal";
|
|
1658
|
+
money: "money";
|
|
1659
|
+
float: "float";
|
|
1660
|
+
bool: "bool";
|
|
1661
|
+
id: "id";
|
|
1662
|
+
timestamptz: "timestamptz";
|
|
1663
|
+
fk: "fk";
|
|
1664
|
+
text: "text";
|
|
1665
|
+
json: "json";
|
|
1666
|
+
uuid: "uuid";
|
|
1667
|
+
blob: "blob";
|
|
1668
|
+
}>;
|
|
1669
|
+
semantic: z.ZodOptional<z.ZodEnum<{
|
|
1670
|
+
money: "money";
|
|
1671
|
+
name: "name";
|
|
1672
|
+
email: "email";
|
|
1673
|
+
image: "image";
|
|
1674
|
+
avatar: "avatar";
|
|
1675
|
+
"geo-lat": "geo-lat";
|
|
1676
|
+
"geo-lng": "geo-lng";
|
|
1677
|
+
}>>;
|
|
1678
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
1679
|
+
pk: "pk";
|
|
1680
|
+
created_at: "created_at";
|
|
1681
|
+
updated_at: "updated_at";
|
|
1682
|
+
}>>;
|
|
1683
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
1684
|
+
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1685
|
+
references: z.ZodOptional<z.ZodString>;
|
|
1686
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1687
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1688
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
1689
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1690
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
1691
|
+
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1692
|
+
list: z.ZodString;
|
|
1693
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1694
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1695
|
+
value: z.ZodString;
|
|
1696
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1697
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
1698
|
+
}, z.core.$strict>>;
|
|
1699
|
+
}, z.core.$strict>]>>;
|
|
1700
|
+
enumLabels: z.ZodOptional<z.ZodObject<{
|
|
1701
|
+
labels: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1702
|
+
tones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1703
|
+
}, z.core.$strict>>;
|
|
1704
|
+
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1705
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
1706
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1707
|
+
email: "email";
|
|
1708
|
+
phone: "phone";
|
|
1709
|
+
url: "url";
|
|
1710
|
+
}>>;
|
|
1711
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1712
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1713
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1714
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1715
|
+
}, z.core.$strict>>;
|
|
1716
|
+
copy: z.ZodOptional<z.ZodObject<{
|
|
1717
|
+
via: z.ZodString;
|
|
1718
|
+
from: z.ZodString;
|
|
1719
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1720
|
+
default: "default";
|
|
1721
|
+
always: "always";
|
|
1722
|
+
}>>;
|
|
1723
|
+
}, z.core.$strict>>;
|
|
1724
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
1725
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
1726
|
+
table: z.ZodString;
|
|
1727
|
+
column: z.ZodString;
|
|
1728
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1729
|
+
addOn: z.ZodString;
|
|
1730
|
+
setting: z.ZodString;
|
|
1731
|
+
}, z.core.$strict>]>]>;
|
|
1732
|
+
}, z.core.$strict>>;
|
|
1733
|
+
sequence: z.ZodOptional<z.ZodObject<{
|
|
1734
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
1735
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1736
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1737
|
+
table: z.ZodString;
|
|
1738
|
+
column: z.ZodString;
|
|
1739
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1740
|
+
addOn: z.ZodString;
|
|
1741
|
+
setting: z.ZodString;
|
|
1742
|
+
}, z.core.$strict>]>>;
|
|
1743
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
1744
|
+
}, z.core.$strict>>;
|
|
1745
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
1746
|
+
from: z.ZodString;
|
|
1747
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
1748
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1749
|
+
table: z.ZodString;
|
|
1750
|
+
column: z.ZodString;
|
|
1751
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1752
|
+
addOn: z.ZodString;
|
|
1753
|
+
setting: z.ZodString;
|
|
1754
|
+
}, z.core.$strict>]>>;
|
|
1755
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
1756
|
+
}, z.core.$strict>>;
|
|
1757
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
1758
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
1759
|
+
length: z.ZodNumber;
|
|
1760
|
+
}, z.core.$strict>>;
|
|
1761
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
1762
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
1763
|
+
trim: "trim";
|
|
1764
|
+
email: "email";
|
|
1765
|
+
}>>;
|
|
1766
|
+
rollup: z.ZodOptional<z.ZodObject<{
|
|
1767
|
+
from: z.ZodString;
|
|
1768
|
+
via: z.ZodString;
|
|
1769
|
+
sum: z.ZodString;
|
|
1770
|
+
times: z.ZodOptional<z.ZodString>;
|
|
1771
|
+
unlessSet: z.ZodOptional<z.ZodString>;
|
|
1772
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1773
|
+
column: z.ZodString;
|
|
1774
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1775
|
+
}, z.core.$strict>>;
|
|
1776
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
1777
|
+
column: z.ZodString;
|
|
1778
|
+
of: z.ZodString;
|
|
1779
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1780
|
+
}, z.core.$strict>>;
|
|
1781
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1782
|
+
}, z.core.$strict>>;
|
|
1783
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
1784
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1785
|
+
today: "today";
|
|
1786
|
+
now: "now";
|
|
1787
|
+
"user-name": "user-name";
|
|
1788
|
+
"user-id": "user-id";
|
|
1789
|
+
}>, z.ZodObject<{
|
|
1790
|
+
byOrigin: z.ZodObject<{
|
|
1791
|
+
public: z.ZodString;
|
|
1792
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
1793
|
+
}, z.core.$strict>;
|
|
1794
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1795
|
+
claim: z.ZodString;
|
|
1796
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
1797
|
+
"user-name": "user-name";
|
|
1798
|
+
"user-id": "user-id";
|
|
1799
|
+
}>>;
|
|
1800
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1801
|
+
copy: z.ZodString;
|
|
1802
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1803
|
+
addDays: z.ZodObject<{
|
|
1804
|
+
date: z.ZodString;
|
|
1805
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
1806
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1807
|
+
}, z.core.$strict>;
|
|
1808
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1809
|
+
hashOf: z.ZodObject<{
|
|
1810
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1811
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1812
|
+
table: z.ZodString;
|
|
1813
|
+
via: z.ZodString;
|
|
1814
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1815
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
1816
|
+
}, z.core.$strict>>>;
|
|
1817
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1818
|
+
via: z.ZodString;
|
|
1819
|
+
table: z.ZodString;
|
|
1820
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1821
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1822
|
+
table: z.ZodString;
|
|
1823
|
+
via: z.ZodString;
|
|
1824
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1825
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
1826
|
+
}, z.core.$strict>>>;
|
|
1827
|
+
}, z.core.$strict>>>;
|
|
1828
|
+
}, z.core.$strict>;
|
|
1829
|
+
}, z.core.$strict>]>;
|
|
1830
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
1831
|
+
column: z.ZodString;
|
|
1832
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1833
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1834
|
+
column: z.ZodString;
|
|
1835
|
+
filled: z.ZodLiteral<true>;
|
|
1836
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
1837
|
+
column: z.ZodString;
|
|
1838
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1839
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1840
|
+
column: z.ZodString;
|
|
1841
|
+
filled: z.ZodLiteral<true>;
|
|
1842
|
+
}, z.core.$strict>]>>]>;
|
|
1843
|
+
}, z.core.$strict>>;
|
|
1844
|
+
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1845
|
+
personal: z.ZodOptional<z.ZodBoolean>;
|
|
1846
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
1847
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
1848
|
+
column: z.ZodString;
|
|
1849
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1850
|
+
}, z.core.$strict>>;
|
|
1851
|
+
}, z.core.$strict>>;
|
|
1852
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1853
|
+
}, z.core.$strict>>;
|
|
1854
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
1855
|
+
column: z.ZodString;
|
|
1856
|
+
initial: z.ZodString;
|
|
1857
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1858
|
+
to: z.ZodString;
|
|
1859
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
1860
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1861
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1862
|
+
column: z.ZodString;
|
|
1863
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1864
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1865
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
1866
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
1867
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
1868
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
1869
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
1870
|
+
}, z.core.$strict>>>;
|
|
1871
|
+
}, z.core.$strict>>;
|
|
1872
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1873
|
+
}, z.core.$strict>]>>>;
|
|
1874
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
1875
|
+
when: z.ZodArray<z.ZodString>;
|
|
1876
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1877
|
+
}, z.core.$strict>>;
|
|
1878
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1879
|
+
via: z.ZodString;
|
|
1880
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1881
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1882
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1883
|
+
}, z.core.$strict>>>;
|
|
1884
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1885
|
+
table: z.ZodString;
|
|
1886
|
+
via: z.ZodString;
|
|
1887
|
+
in: z.ZodArray<z.ZodString>;
|
|
1888
|
+
}, z.core.$strict>>>;
|
|
1889
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
1890
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
1891
|
+
}, z.core.$strict>>;
|
|
1892
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1893
|
+
}, z.core.$strict>>;
|
|
1894
|
+
}, z.core.$strict>>;
|
|
1895
|
+
documentProfiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1896
|
+
kind: z.ZodString;
|
|
1897
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
1898
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
1899
|
+
column: z.ZodString;
|
|
1900
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1901
|
+
via: z.ZodString;
|
|
1902
|
+
column: z.ZodString;
|
|
1903
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1904
|
+
collection: z.ZodObject<{
|
|
1905
|
+
table: z.ZodString;
|
|
1906
|
+
via: z.ZodString;
|
|
1907
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
1908
|
+
columns: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1909
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1910
|
+
column: z.ZodString;
|
|
1911
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1912
|
+
}, z.core.$strict>>;
|
|
1913
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
1914
|
+
}, z.core.$strict>;
|
|
1915
|
+
}, z.core.$strict>]>>;
|
|
1916
|
+
statement: z.ZodOptional<z.ZodObject<{
|
|
1917
|
+
documents: z.ZodObject<{
|
|
1918
|
+
table: z.ZodString;
|
|
1919
|
+
via: z.ZodString;
|
|
1920
|
+
date: z.ZodString;
|
|
1921
|
+
amount: z.ZodString;
|
|
1922
|
+
number: z.ZodOptional<z.ZodString>;
|
|
1923
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1924
|
+
column: z.ZodString;
|
|
1925
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1926
|
+
}, z.core.$strict>>;
|
|
1927
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
1928
|
+
}, z.core.$strict>;
|
|
1929
|
+
payments: z.ZodObject<{
|
|
1930
|
+
table: z.ZodString;
|
|
1931
|
+
via: z.ZodString;
|
|
1932
|
+
date: z.ZodString;
|
|
1933
|
+
amount: z.ZodString;
|
|
1934
|
+
number: z.ZodOptional<z.ZodString>;
|
|
1935
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1936
|
+
column: z.ZodString;
|
|
1937
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1938
|
+
}, z.core.$strict>>;
|
|
1939
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
1940
|
+
}, z.core.$strict>;
|
|
1941
|
+
}, z.core.$strict>>;
|
|
1942
|
+
requestValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1943
|
+
part: z.ZodString;
|
|
1944
|
+
}, z.core.$strict>>>;
|
|
1945
|
+
outbox: z.ZodOptional<z.ZodObject<{
|
|
1946
|
+
producers: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1947
|
+
onCreate: z.ZodObject<{
|
|
1948
|
+
table: z.ZodString;
|
|
1949
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1950
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1951
|
+
column: z.ZodString;
|
|
1952
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1953
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1954
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
1955
|
+
}, z.core.$strict>>;
|
|
1956
|
+
}, z.core.$strict>;
|
|
1957
|
+
kind: z.ZodString;
|
|
1958
|
+
link: z.ZodString;
|
|
1959
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
1960
|
+
setting: z.ZodObject<{
|
|
1961
|
+
table: z.ZodString;
|
|
1962
|
+
column: z.ZodString;
|
|
1963
|
+
}, z.core.$strict>;
|
|
1964
|
+
}, z.core.$strict>]>>;
|
|
1965
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1966
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1967
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
1968
|
+
date: z.ZodString;
|
|
1969
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1970
|
+
byColumn: z.ZodString;
|
|
1971
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
1972
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1973
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
1974
|
+
table: z.ZodString;
|
|
1975
|
+
column: z.ZodString;
|
|
1976
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1977
|
+
addOn: z.ZodString;
|
|
1978
|
+
setting: z.ZodString;
|
|
1979
|
+
}, z.core.$strict>]>;
|
|
1980
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
1981
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
1982
|
+
}, z.core.$strict>]>;
|
|
1983
|
+
at: z.ZodOptional<z.ZodString>;
|
|
1984
|
+
}, z.core.$strict>>;
|
|
1985
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
1986
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1987
|
+
column: z.ZodString;
|
|
1988
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1989
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1990
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
1991
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
1992
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
1993
|
+
reason: z.ZodEnum<{
|
|
1994
|
+
void: "void";
|
|
1995
|
+
paid: "paid";
|
|
1996
|
+
"no-longer-needed": "no-longer-needed";
|
|
1997
|
+
}>;
|
|
1998
|
+
}, z.core.$strict>>>;
|
|
1999
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
2000
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
2001
|
+
table: z.ZodString;
|
|
2002
|
+
column: z.ZodString;
|
|
2003
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2004
|
+
addOn: z.ZodString;
|
|
2005
|
+
setting: z.ZodString;
|
|
2006
|
+
}, z.core.$strict>]>;
|
|
2007
|
+
}, z.core.$strict>>;
|
|
2008
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
2009
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
2010
|
+
table: z.ZodString;
|
|
2011
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2012
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
2013
|
+
}, z.core.$strict>>;
|
|
2014
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2015
|
+
onChange: z.ZodObject<{
|
|
2016
|
+
table: z.ZodString;
|
|
2017
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2018
|
+
column: z.ZodString;
|
|
2019
|
+
to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
2020
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
2021
|
+
column: z.ZodString;
|
|
2022
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2023
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2024
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2025
|
+
}, z.core.$strict>>;
|
|
2026
|
+
}, z.core.$strict>;
|
|
2027
|
+
kind: z.ZodString;
|
|
2028
|
+
link: z.ZodString;
|
|
2029
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
2030
|
+
setting: z.ZodObject<{
|
|
2031
|
+
table: z.ZodString;
|
|
2032
|
+
column: z.ZodString;
|
|
2033
|
+
}, z.core.$strict>;
|
|
2034
|
+
}, z.core.$strict>]>>;
|
|
2035
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2036
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2037
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
2038
|
+
date: z.ZodString;
|
|
2039
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2040
|
+
byColumn: z.ZodString;
|
|
2041
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2042
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2043
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
2044
|
+
table: z.ZodString;
|
|
2045
|
+
column: z.ZodString;
|
|
2046
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2047
|
+
addOn: z.ZodString;
|
|
2048
|
+
setting: z.ZodString;
|
|
2049
|
+
}, z.core.$strict>]>;
|
|
2050
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
2051
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
2052
|
+
}, z.core.$strict>]>;
|
|
2053
|
+
at: z.ZodOptional<z.ZodString>;
|
|
2054
|
+
}, z.core.$strict>>;
|
|
2055
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
2056
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2057
|
+
column: z.ZodString;
|
|
2058
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2059
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2060
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2061
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
2062
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
2063
|
+
reason: z.ZodEnum<{
|
|
2064
|
+
void: "void";
|
|
2065
|
+
paid: "paid";
|
|
2066
|
+
"no-longer-needed": "no-longer-needed";
|
|
2067
|
+
}>;
|
|
2068
|
+
}, z.core.$strict>>>;
|
|
2069
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
2070
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
2071
|
+
table: z.ZodString;
|
|
2072
|
+
column: z.ZodString;
|
|
2073
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2074
|
+
addOn: z.ZodString;
|
|
2075
|
+
setting: z.ZodString;
|
|
2076
|
+
}, z.core.$strict>]>;
|
|
2077
|
+
}, z.core.$strict>>;
|
|
2078
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
2079
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
2080
|
+
table: z.ZodString;
|
|
2081
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2082
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
2083
|
+
}, z.core.$strict>>;
|
|
2084
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2085
|
+
before: z.ZodObject<{
|
|
2086
|
+
table: z.ZodString;
|
|
2087
|
+
at: z.ZodString;
|
|
2088
|
+
lead: z.ZodObject<{
|
|
2089
|
+
via: z.ZodString;
|
|
2090
|
+
table: z.ZodString;
|
|
2091
|
+
column: z.ZodString;
|
|
2092
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
2093
|
+
table: z.ZodString;
|
|
2094
|
+
column: z.ZodString;
|
|
2095
|
+
}, z.core.$strict>>;
|
|
2096
|
+
max: z.ZodNumber;
|
|
2097
|
+
}, z.core.$strict>;
|
|
2098
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
2099
|
+
column: z.ZodString;
|
|
2100
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2101
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2102
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
840
2103
|
}, z.core.$strict>>;
|
|
841
2104
|
}, z.core.$strict>;
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
closes: z.ZodString;
|
|
847
|
-
breakStart: z.ZodOptional<z.ZodString>;
|
|
848
|
-
breakEnd: z.ZodOptional<z.ZodString>;
|
|
2105
|
+
kind: z.ZodString;
|
|
2106
|
+
link: z.ZodString;
|
|
2107
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
2108
|
+
setting: z.ZodObject<{
|
|
849
2109
|
table: z.ZodString;
|
|
850
|
-
|
|
2110
|
+
column: z.ZodString;
|
|
851
2111
|
}, z.core.$strict>;
|
|
852
|
-
own: z.ZodOptional<z.ZodObject<{
|
|
853
|
-
weekday: z.ZodString;
|
|
854
|
-
opens: z.ZodString;
|
|
855
|
-
closes: z.ZodString;
|
|
856
|
-
breakStart: z.ZodOptional<z.ZodString>;
|
|
857
|
-
breakEnd: z.ZodOptional<z.ZodString>;
|
|
858
|
-
table: z.ZodString;
|
|
859
|
-
resource: z.ZodString;
|
|
860
|
-
}, z.core.$strict>>;
|
|
861
|
-
}, z.core.$strict>;
|
|
862
|
-
closures: z.ZodOptional<z.ZodObject<{
|
|
863
|
-
table: z.ZodString;
|
|
864
|
-
from: z.ZodString;
|
|
865
|
-
to: z.ZodString;
|
|
866
|
-
resource: z.ZodOptional<z.ZodString>;
|
|
867
|
-
active: z.ZodOptional<z.ZodString>;
|
|
868
|
-
}, z.core.$strict>>;
|
|
869
|
-
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
870
|
-
table: z.ZodString;
|
|
871
|
-
column: z.ZodString;
|
|
872
|
-
}, z.core.$strict>]>;
|
|
873
|
-
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
874
|
-
table: z.ZodString;
|
|
875
|
-
column: z.ZodString;
|
|
876
2112
|
}, z.core.$strict>]>>;
|
|
877
|
-
|
|
878
|
-
|
|
2113
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2114
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2115
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
2116
|
+
date: z.ZodString;
|
|
2117
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2118
|
+
byColumn: z.ZodString;
|
|
2119
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2120
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2121
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
2122
|
+
table: z.ZodString;
|
|
2123
|
+
column: z.ZodString;
|
|
2124
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2125
|
+
addOn: z.ZodString;
|
|
2126
|
+
setting: z.ZodString;
|
|
2127
|
+
}, z.core.$strict>]>;
|
|
2128
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
2129
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
2130
|
+
}, z.core.$strict>]>;
|
|
2131
|
+
at: z.ZodOptional<z.ZodString>;
|
|
2132
|
+
}, z.core.$strict>>;
|
|
2133
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
2134
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
879
2135
|
column: z.ZodString;
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
2136
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2137
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2138
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2139
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
2140
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
2141
|
+
reason: z.ZodEnum<{
|
|
2142
|
+
void: "void";
|
|
2143
|
+
paid: "paid";
|
|
2144
|
+
"no-longer-needed": "no-longer-needed";
|
|
2145
|
+
}>;
|
|
2146
|
+
}, z.core.$strict>>>;
|
|
2147
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
2148
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
883
2149
|
table: z.ZodString;
|
|
884
2150
|
column: z.ZodString;
|
|
2151
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2152
|
+
addOn: z.ZodString;
|
|
2153
|
+
setting: z.ZodString;
|
|
885
2154
|
}, z.core.$strict>]>;
|
|
886
|
-
mode: z.ZodEnum<{
|
|
887
|
-
refuse: "refuse";
|
|
888
|
-
flag: "flag";
|
|
889
|
-
}>;
|
|
890
|
-
flag: z.ZodOptional<z.ZodString>;
|
|
891
|
-
when: z.ZodObject<{
|
|
892
|
-
column: z.ZodString;
|
|
893
|
-
to: z.ZodString;
|
|
894
|
-
}, z.core.$strict>;
|
|
895
2155
|
}, z.core.$strict>>;
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
2156
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
2157
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
2158
|
+
table: z.ZodString;
|
|
2159
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2160
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
2161
|
+
}, z.core.$strict>>;
|
|
2162
|
+
}, z.core.$strict>]>>;
|
|
2163
|
+
templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2164
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
2165
|
+
attach: z.ZodOptional<z.ZodObject<{
|
|
2166
|
+
kind: z.ZodString;
|
|
2167
|
+
link: z.ZodString;
|
|
2168
|
+
}, z.core.$strict>>;
|
|
2169
|
+
vars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2170
|
+
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2171
|
+
subject: z.ZodString;
|
|
2172
|
+
preheader: z.ZodOptional<z.ZodString>;
|
|
2173
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
2174
|
+
block: z.ZodString;
|
|
2175
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2177
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2178
|
+
}, z.core.$strict>>;
|
|
2179
|
+
footer: z.ZodOptional<z.ZodString>;
|
|
2180
|
+
}, z.core.$strict>>;
|
|
2181
|
+
kind: z.ZodString;
|
|
2182
|
+
}, z.core.$strict>>>;
|
|
900
2183
|
}, z.core.$strict>>;
|
|
901
|
-
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
902
2184
|
}, z.core.$strict>;
|
|
2185
|
+
export type ShapeDefinition = z.infer<typeof shapeDefinitionSchema>;
|
|
2186
|
+
/**
|
|
2187
|
+
* Everything wrong inside an add-on's shapes: each part is checked as the
|
|
2188
|
+
* app's tables are, with the parts of all its shapes as the tables (another
|
|
2189
|
+
* shape's part as `<name>@<version>/<part>`), and its rules may read only the
|
|
2190
|
+
* add-on's own settings.
|
|
2191
|
+
*/
|
|
2192
|
+
export declare function shapeDefinitionIssues(addOn: string, settings: readonly string[], shapes: readonly ShapeDefinition[]): {
|
|
2193
|
+
path: (string | number)[];
|
|
2194
|
+
message: string;
|
|
2195
|
+
}[];
|
|
903
2196
|
export declare const pageNavSchema: z.ZodObject<{
|
|
904
2197
|
group: z.ZodString;
|
|
905
2198
|
icon: z.ZodString;
|
|
@@ -920,6 +2213,7 @@ export declare const pageSchema: z.ZodObject<{
|
|
|
920
2213
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
921
2214
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
922
2215
|
titles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2216
|
+
feature: z.ZodOptional<z.ZodString>;
|
|
923
2217
|
}, z.core.$strict>;
|
|
924
2218
|
export declare const roleSchema: z.ZodObject<{
|
|
925
2219
|
key: z.ZodString;
|
|
@@ -1061,8 +2355,8 @@ export declare const frontendSchema: z.ZodObject<{
|
|
|
1061
2355
|
}, z.core.$strict>>>;
|
|
1062
2356
|
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1063
2357
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
1064
|
-
internal: "internal";
|
|
1065
2358
|
external: "external";
|
|
2359
|
+
internal: "internal";
|
|
1066
2360
|
}>>;
|
|
1067
2361
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1068
2362
|
}, z.core.$strict>;
|
|
@@ -1114,12 +2408,25 @@ export declare function appReferenceIssues(m: {
|
|
|
1114
2408
|
roles?: readonly RoleShape[] | undefined;
|
|
1115
2409
|
outbox?: z.infer<typeof outboxSchema> | undefined;
|
|
1116
2410
|
emailTemplates?: readonly z.infer<typeof emailTemplateSchema>[] | undefined;
|
|
2411
|
+
addOns?: AddOnNeeds | undefined;
|
|
2412
|
+
documents?: readonly AppDocument[] | undefined;
|
|
2413
|
+
pages?: readonly {
|
|
2414
|
+
feature?: string | undefined;
|
|
2415
|
+
}[] | undefined;
|
|
2416
|
+
},
|
|
2417
|
+
/**
|
|
2418
|
+
* When the tables are an add-on's shape rather than an app's: the add-on's
|
|
2419
|
+
* own key and setting keys, which its rules may read, and no roles to name.
|
|
2420
|
+
*/
|
|
2421
|
+
shapeOf?: {
|
|
2422
|
+
addOn: string;
|
|
2423
|
+
settings: readonly string[];
|
|
1117
2424
|
}): {
|
|
1118
2425
|
path: (string | number)[];
|
|
1119
2426
|
message: string;
|
|
1120
2427
|
}[];
|
|
1121
2428
|
/** What `appReferenceIssues` reads of a table. */
|
|
1122
|
-
interface RequiredTableShape {
|
|
2429
|
+
export interface RequiredTableShape {
|
|
1123
2430
|
ref: string;
|
|
1124
2431
|
columns: readonly {
|
|
1125
2432
|
ref: string;
|
|
@@ -1133,6 +2440,8 @@ interface RequiredTableShape {
|
|
|
1133
2440
|
}[];
|
|
1134
2441
|
capacity?: z.infer<typeof capacitySchema> | undefined;
|
|
1135
2442
|
booking?: z.infer<typeof bookingSchema> | undefined;
|
|
2443
|
+
states?: States | undefined;
|
|
2444
|
+
builtOn?: string | undefined;
|
|
1136
2445
|
}
|
|
1137
2446
|
export declare const appManifestSchema: z.ZodObject<{
|
|
1138
2447
|
compatibility: z.ZodObject<{
|
|
@@ -1144,11 +2453,11 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1144
2453
|
sqlite: "sqlite";
|
|
1145
2454
|
}>>>;
|
|
1146
2455
|
requires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2456
|
+
payments: "payments";
|
|
1147
2457
|
"hosted-only": "hosted-only";
|
|
1148
2458
|
"offline-required": "offline-required";
|
|
1149
2459
|
"receipt-printer": "receipt-printer";
|
|
1150
2460
|
"barcode-scanner": "barcode-scanner";
|
|
1151
|
-
payments: "payments";
|
|
1152
2461
|
"file-storage": "file-storage";
|
|
1153
2462
|
"email-delivery": "email-delivery";
|
|
1154
2463
|
realtime: "realtime";
|
|
@@ -1171,18 +2480,18 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1171
2480
|
money: "money";
|
|
1172
2481
|
float: "float";
|
|
1173
2482
|
bool: "bool";
|
|
2483
|
+
id: "id";
|
|
1174
2484
|
timestamptz: "timestamptz";
|
|
1175
2485
|
fk: "fk";
|
|
1176
2486
|
text: "text";
|
|
1177
|
-
id: "id";
|
|
1178
2487
|
json: "json";
|
|
1179
2488
|
uuid: "uuid";
|
|
1180
2489
|
blob: "blob";
|
|
1181
2490
|
}>;
|
|
1182
2491
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
1183
2492
|
money: "money";
|
|
1184
|
-
email: "email";
|
|
1185
2493
|
name: "name";
|
|
2494
|
+
email: "email";
|
|
1186
2495
|
image: "image";
|
|
1187
2496
|
avatar: "avatar";
|
|
1188
2497
|
"geo-lat": "geo-lat";
|
|
@@ -1198,6 +2507,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1198
2507
|
references: z.ZodOptional<z.ZodString>;
|
|
1199
2508
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1200
2509
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2510
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
1201
2511
|
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1202
2512
|
rules: z.ZodOptional<z.ZodObject<{
|
|
1203
2513
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1233,13 +2543,48 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1233
2543
|
always: "always";
|
|
1234
2544
|
}>>;
|
|
1235
2545
|
}, z.core.$strict>>;
|
|
2546
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
2547
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
2548
|
+
table: z.ZodString;
|
|
2549
|
+
column: z.ZodString;
|
|
2550
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2551
|
+
addOn: z.ZodString;
|
|
2552
|
+
setting: z.ZodString;
|
|
2553
|
+
}, z.core.$strict>]>]>;
|
|
2554
|
+
}, z.core.$strict>>;
|
|
1236
2555
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
1237
2556
|
start: z.ZodOptional<z.ZodNumber>;
|
|
2557
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2558
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2559
|
+
table: z.ZodString;
|
|
2560
|
+
column: z.ZodString;
|
|
2561
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2562
|
+
addOn: z.ZodString;
|
|
2563
|
+
setting: z.ZodString;
|
|
2564
|
+
}, z.core.$strict>]>>;
|
|
2565
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
2566
|
+
}, z.core.$strict>>;
|
|
2567
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
2568
|
+
from: z.ZodString;
|
|
2569
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
2570
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2571
|
+
table: z.ZodString;
|
|
2572
|
+
column: z.ZodString;
|
|
2573
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2574
|
+
addOn: z.ZodString;
|
|
2575
|
+
setting: z.ZodString;
|
|
2576
|
+
}, z.core.$strict>]>>;
|
|
2577
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
1238
2578
|
}, z.core.$strict>>;
|
|
1239
2579
|
code: z.ZodOptional<z.ZodObject<{
|
|
1240
2580
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1241
2581
|
length: z.ZodNumber;
|
|
1242
2582
|
}, z.core.$strict>>;
|
|
2583
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
2584
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
2585
|
+
trim: "trim";
|
|
2586
|
+
email: "email";
|
|
2587
|
+
}>>;
|
|
1243
2588
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
1244
2589
|
from: z.ZodString;
|
|
1245
2590
|
via: z.ZodString;
|
|
@@ -1259,22 +2604,72 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1259
2604
|
}, z.core.$strict>>;
|
|
1260
2605
|
stamp: z.ZodOptional<z.ZodObject<{
|
|
1261
2606
|
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
2607
|
+
today: "today";
|
|
1262
2608
|
now: "now";
|
|
1263
2609
|
"user-name": "user-name";
|
|
1264
2610
|
"user-id": "user-id";
|
|
1265
2611
|
}>, z.ZodObject<{
|
|
1266
2612
|
byOrigin: z.ZodObject<{
|
|
1267
2613
|
public: z.ZodString;
|
|
1268
|
-
staff: z.ZodString
|
|
2614
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
2615
|
+
}, z.core.$strict>;
|
|
2616
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2617
|
+
claim: z.ZodString;
|
|
2618
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
2619
|
+
"user-name": "user-name";
|
|
2620
|
+
"user-id": "user-id";
|
|
2621
|
+
}>>;
|
|
2622
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2623
|
+
copy: z.ZodString;
|
|
2624
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2625
|
+
addDays: z.ZodObject<{
|
|
2626
|
+
date: z.ZodString;
|
|
2627
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2628
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
2629
|
+
}, z.core.$strict>;
|
|
2630
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2631
|
+
hashOf: z.ZodObject<{
|
|
2632
|
+
columns: z.ZodArray<z.ZodString>;
|
|
2633
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2634
|
+
table: z.ZodString;
|
|
2635
|
+
via: z.ZodString;
|
|
2636
|
+
columns: z.ZodArray<z.ZodString>;
|
|
2637
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
2638
|
+
}, z.core.$strict>>>;
|
|
2639
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2640
|
+
via: z.ZodString;
|
|
2641
|
+
table: z.ZodString;
|
|
2642
|
+
columns: z.ZodArray<z.ZodString>;
|
|
2643
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2644
|
+
table: z.ZodString;
|
|
2645
|
+
via: z.ZodString;
|
|
2646
|
+
columns: z.ZodArray<z.ZodString>;
|
|
2647
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
2648
|
+
}, z.core.$strict>>>;
|
|
2649
|
+
}, z.core.$strict>>>;
|
|
1269
2650
|
}, z.core.$strict>;
|
|
1270
2651
|
}, z.core.$strict>]>;
|
|
1271
|
-
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
2652
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
1272
2653
|
column: z.ZodString;
|
|
1273
2654
|
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1274
|
-
}, z.core.$strict
|
|
2655
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2656
|
+
column: z.ZodString;
|
|
2657
|
+
filled: z.ZodLiteral<true>;
|
|
2658
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
2659
|
+
column: z.ZodString;
|
|
2660
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2661
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2662
|
+
column: z.ZodString;
|
|
2663
|
+
filled: z.ZodLiteral<true>;
|
|
2664
|
+
}, z.core.$strict>]>>]>;
|
|
1275
2665
|
}, z.core.$strict>>;
|
|
1276
2666
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1277
2667
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
2668
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
2669
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
2670
|
+
column: z.ZodString;
|
|
2671
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2672
|
+
}, z.core.$strict>>;
|
|
1278
2673
|
}, z.core.$strict>>;
|
|
1279
2674
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1280
2675
|
}, z.core.$strict>>;
|
|
@@ -1387,6 +2782,48 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1387
2782
|
}, z.core.$strict>;
|
|
1388
2783
|
}, z.core.$strict>>;
|
|
1389
2784
|
}, z.core.$strict>>;
|
|
2785
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
2786
|
+
column: z.ZodString;
|
|
2787
|
+
initial: z.ZodString;
|
|
2788
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2789
|
+
to: z.ZodString;
|
|
2790
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
2791
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
2792
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2793
|
+
column: z.ZodString;
|
|
2794
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2795
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2796
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2797
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
2798
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
2799
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
2800
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
2801
|
+
}, z.core.$strict>>>;
|
|
2802
|
+
}, z.core.$strict>>;
|
|
2803
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2804
|
+
}, z.core.$strict>]>>>;
|
|
2805
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
2806
|
+
when: z.ZodArray<z.ZodString>;
|
|
2807
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2808
|
+
}, z.core.$strict>>;
|
|
2809
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2810
|
+
via: z.ZodString;
|
|
2811
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2812
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2813
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2814
|
+
}, z.core.$strict>>>;
|
|
2815
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2816
|
+
table: z.ZodString;
|
|
2817
|
+
via: z.ZodString;
|
|
2818
|
+
in: z.ZodArray<z.ZodString>;
|
|
2819
|
+
}, z.core.$strict>>>;
|
|
2820
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
2821
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
2822
|
+
}, z.core.$strict>>;
|
|
2823
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2824
|
+
}, z.core.$strict>>;
|
|
2825
|
+
builtOn: z.ZodOptional<z.ZodString>;
|
|
2826
|
+
part: z.ZodOptional<z.ZodString>;
|
|
1390
2827
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1391
2828
|
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1392
2829
|
keyField: z.ZodOptional<z.ZodString>;
|
|
@@ -1408,6 +2845,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1408
2845
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1409
2846
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1410
2847
|
titles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2848
|
+
feature: z.ZodOptional<z.ZodString>;
|
|
1411
2849
|
}, z.core.$strict>>;
|
|
1412
2850
|
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1413
2851
|
key: z.ZodString;
|
|
@@ -1519,11 +2957,11 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1519
2957
|
entry: z.ZodString;
|
|
1520
2958
|
}, z.core.$strict>>>;
|
|
1521
2959
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2960
|
+
payments: "payments";
|
|
1522
2961
|
"hosted-only": "hosted-only";
|
|
1523
2962
|
"offline-required": "offline-required";
|
|
1524
2963
|
"receipt-printer": "receipt-printer";
|
|
1525
2964
|
"barcode-scanner": "barcode-scanner";
|
|
1526
|
-
payments: "payments";
|
|
1527
2965
|
"file-storage": "file-storage";
|
|
1528
2966
|
"email-delivery": "email-delivery";
|
|
1529
2967
|
realtime: "realtime";
|
|
@@ -1547,8 +2985,8 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1547
2985
|
}, z.core.$strict>>>;
|
|
1548
2986
|
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1549
2987
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
1550
|
-
internal: "internal";
|
|
1551
2988
|
external: "external";
|
|
2989
|
+
internal: "internal";
|
|
1552
2990
|
}>>;
|
|
1553
2991
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1554
2992
|
}, z.core.$strict>>;
|
|
@@ -1597,11 +3035,19 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1597
3035
|
days: z.ZodOptional<z.ZodNumber>;
|
|
1598
3036
|
}, z.core.$strict>]>]>>>;
|
|
1599
3037
|
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1600
|
-
claim: z.ZodOptional<z.ZodObject<{
|
|
3038
|
+
claim: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1601
3039
|
match: z.ZodArray<z.ZodString>;
|
|
1602
3040
|
verify: z.ZodOptional<z.ZodLiteral<"email-code">>;
|
|
1603
3041
|
email: z.ZodOptional<z.ZodString>;
|
|
1604
|
-
}, z.core.$strict
|
|
3042
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3043
|
+
verify: z.ZodLiteral<"email-link">;
|
|
3044
|
+
email: z.ZodString;
|
|
3045
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3046
|
+
by: z.ZodLiteral<"token">;
|
|
3047
|
+
column: z.ZodString;
|
|
3048
|
+
expires: z.ZodOptional<z.ZodString>;
|
|
3049
|
+
stopped: z.ZodOptional<z.ZodString>;
|
|
3050
|
+
}, z.core.$strict>]>>;
|
|
1605
3051
|
claimedBy: z.ZodOptional<z.ZodObject<{
|
|
1606
3052
|
table: z.ZodString;
|
|
1607
3053
|
column: z.ZodString;
|
|
@@ -1611,13 +3057,20 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1611
3057
|
lookup: "lookup";
|
|
1612
3058
|
verified: "verified";
|
|
1613
3059
|
}>>;
|
|
3060
|
+
visibleWith: z.ZodOptional<z.ZodObject<{
|
|
3061
|
+
table: z.ZodString;
|
|
3062
|
+
via: z.ZodString;
|
|
3063
|
+
}, z.core.$strict>>;
|
|
3064
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3065
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1614
3066
|
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1615
3067
|
reason: z.ZodOptional<z.ZodString>;
|
|
1616
3068
|
onClaim: z.ZodOptional<z.ZodObject<{
|
|
1617
3069
|
clear: z.ZodArray<z.ZodString>;
|
|
1618
3070
|
}, z.core.$strict>>;
|
|
1619
3071
|
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
1620
|
-
|
|
3072
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3073
|
+
writableWhen: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>, z.ZodLiteral<"from-now">, z.ZodLiteral<"from-today">, z.ZodLiteral<"before-today">, z.ZodObject<{
|
|
1621
3074
|
within: z.ZodNumber;
|
|
1622
3075
|
}, z.core.$strict>]>>>;
|
|
1623
3076
|
humanCheck: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -1667,9 +3120,9 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1667
3120
|
}, z.core.$strict>>;
|
|
1668
3121
|
}, z.core.$strict>>>;
|
|
1669
3122
|
publicKeys: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1670
|
-
requiresStaff: z.ZodObject<{
|
|
3123
|
+
requiresStaff: z.ZodOptional<z.ZodObject<{
|
|
1671
3124
|
role: z.ZodString;
|
|
1672
|
-
}, z.core.$strict
|
|
3125
|
+
}, z.core.$strict>>;
|
|
1673
3126
|
enabledBy: z.ZodOptional<z.ZodObject<{
|
|
1674
3127
|
table: z.ZodString;
|
|
1675
3128
|
column: z.ZodString;
|
|
@@ -1685,6 +3138,12 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1685
3138
|
due: z.ZodOptional<z.ZodString>;
|
|
1686
3139
|
sentAt: z.ZodOptional<z.ZodString>;
|
|
1687
3140
|
error: z.ZodOptional<z.ZodString>;
|
|
3141
|
+
skipReason: z.ZodOptional<z.ZodString>;
|
|
3142
|
+
subjectOverride: z.ZodOptional<z.ZodString>;
|
|
3143
|
+
bodyOverride: z.ZodOptional<z.ZodString>;
|
|
3144
|
+
approvedBy: z.ZodOptional<z.ZodString>;
|
|
3145
|
+
effectAt: z.ZodOptional<z.ZodString>;
|
|
3146
|
+
effectError: z.ZodOptional<z.ZodString>;
|
|
1688
3147
|
}, z.core.$strict>;
|
|
1689
3148
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1690
3149
|
recipient: z.ZodObject<{
|
|
@@ -1715,6 +3174,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1715
3174
|
producers: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1716
3175
|
onCreate: z.ZodObject<{
|
|
1717
3176
|
table: z.ZodString;
|
|
3177
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1718
3178
|
where: z.ZodOptional<z.ZodObject<{
|
|
1719
3179
|
column: z.ZodString;
|
|
1720
3180
|
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -1724,11 +3184,65 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1724
3184
|
}, z.core.$strict>;
|
|
1725
3185
|
kind: z.ZodString;
|
|
1726
3186
|
link: z.ZodString;
|
|
1727
|
-
gate: z.ZodOptional<z.ZodLiteral<"enabled"
|
|
3187
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
3188
|
+
setting: z.ZodObject<{
|
|
3189
|
+
table: z.ZodString;
|
|
3190
|
+
column: z.ZodString;
|
|
3191
|
+
}, z.core.$strict>;
|
|
3192
|
+
}, z.core.$strict>]>>;
|
|
1728
3193
|
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3194
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3195
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
3196
|
+
date: z.ZodString;
|
|
3197
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3198
|
+
byColumn: z.ZodString;
|
|
3199
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
3200
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3201
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3202
|
+
table: z.ZodString;
|
|
3203
|
+
column: z.ZodString;
|
|
3204
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3205
|
+
addOn: z.ZodString;
|
|
3206
|
+
setting: z.ZodString;
|
|
3207
|
+
}, z.core.$strict>]>;
|
|
3208
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
3209
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
3210
|
+
}, z.core.$strict>]>;
|
|
3211
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3212
|
+
}, z.core.$strict>>;
|
|
3213
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
3214
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3215
|
+
column: z.ZodString;
|
|
3216
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3217
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3218
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3219
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
3220
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
3221
|
+
reason: z.ZodEnum<{
|
|
3222
|
+
void: "void";
|
|
3223
|
+
paid: "paid";
|
|
3224
|
+
"no-longer-needed": "no-longer-needed";
|
|
3225
|
+
}>;
|
|
3226
|
+
}, z.core.$strict>>>;
|
|
3227
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
3228
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3229
|
+
table: z.ZodString;
|
|
3230
|
+
column: z.ZodString;
|
|
3231
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3232
|
+
addOn: z.ZodString;
|
|
3233
|
+
setting: z.ZodString;
|
|
3234
|
+
}, z.core.$strict>]>;
|
|
3235
|
+
}, z.core.$strict>>;
|
|
3236
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
3237
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
3238
|
+
table: z.ZodString;
|
|
3239
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3240
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
3241
|
+
}, z.core.$strict>>;
|
|
1729
3242
|
}, z.core.$strict>, z.ZodObject<{
|
|
1730
3243
|
onChange: z.ZodObject<{
|
|
1731
3244
|
table: z.ZodString;
|
|
3245
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1732
3246
|
column: z.ZodString;
|
|
1733
3247
|
to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
1734
3248
|
where: z.ZodOptional<z.ZodObject<{
|
|
@@ -1740,8 +3254,61 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1740
3254
|
}, z.core.$strict>;
|
|
1741
3255
|
kind: z.ZodString;
|
|
1742
3256
|
link: z.ZodString;
|
|
1743
|
-
gate: z.ZodOptional<z.ZodLiteral<"enabled"
|
|
3257
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
3258
|
+
setting: z.ZodObject<{
|
|
3259
|
+
table: z.ZodString;
|
|
3260
|
+
column: z.ZodString;
|
|
3261
|
+
}, z.core.$strict>;
|
|
3262
|
+
}, z.core.$strict>]>>;
|
|
1744
3263
|
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3264
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3265
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
3266
|
+
date: z.ZodString;
|
|
3267
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3268
|
+
byColumn: z.ZodString;
|
|
3269
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
3270
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3271
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3272
|
+
table: z.ZodString;
|
|
3273
|
+
column: z.ZodString;
|
|
3274
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3275
|
+
addOn: z.ZodString;
|
|
3276
|
+
setting: z.ZodString;
|
|
3277
|
+
}, z.core.$strict>]>;
|
|
3278
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
3279
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
3280
|
+
}, z.core.$strict>]>;
|
|
3281
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3282
|
+
}, z.core.$strict>>;
|
|
3283
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
3284
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3285
|
+
column: z.ZodString;
|
|
3286
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3287
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3288
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3289
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
3290
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
3291
|
+
reason: z.ZodEnum<{
|
|
3292
|
+
void: "void";
|
|
3293
|
+
paid: "paid";
|
|
3294
|
+
"no-longer-needed": "no-longer-needed";
|
|
3295
|
+
}>;
|
|
3296
|
+
}, z.core.$strict>>>;
|
|
3297
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
3298
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3299
|
+
table: z.ZodString;
|
|
3300
|
+
column: z.ZodString;
|
|
3301
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3302
|
+
addOn: z.ZodString;
|
|
3303
|
+
setting: z.ZodString;
|
|
3304
|
+
}, z.core.$strict>]>;
|
|
3305
|
+
}, z.core.$strict>>;
|
|
3306
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
3307
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
3308
|
+
table: z.ZodString;
|
|
3309
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3310
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
3311
|
+
}, z.core.$strict>>;
|
|
1745
3312
|
}, z.core.$strict>, z.ZodObject<{
|
|
1746
3313
|
before: z.ZodObject<{
|
|
1747
3314
|
table: z.ZodString;
|
|
@@ -1758,36 +3325,163 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1758
3325
|
}, z.core.$strict>;
|
|
1759
3326
|
where: z.ZodOptional<z.ZodObject<{
|
|
1760
3327
|
column: z.ZodString;
|
|
1761
|
-
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1762
|
-
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1763
|
-
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3328
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3329
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3330
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3331
|
+
}, z.core.$strict>>;
|
|
3332
|
+
}, z.core.$strict>;
|
|
3333
|
+
kind: z.ZodString;
|
|
3334
|
+
link: z.ZodString;
|
|
3335
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
3336
|
+
setting: z.ZodObject<{
|
|
3337
|
+
table: z.ZodString;
|
|
3338
|
+
column: z.ZodString;
|
|
3339
|
+
}, z.core.$strict>;
|
|
3340
|
+
}, z.core.$strict>]>>;
|
|
3341
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3342
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3343
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
3344
|
+
date: z.ZodString;
|
|
3345
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3346
|
+
byColumn: z.ZodString;
|
|
3347
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
3348
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3349
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3350
|
+
table: z.ZodString;
|
|
3351
|
+
column: z.ZodString;
|
|
3352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3353
|
+
addOn: z.ZodString;
|
|
3354
|
+
setting: z.ZodString;
|
|
3355
|
+
}, z.core.$strict>]>;
|
|
3356
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
3357
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
3358
|
+
}, z.core.$strict>]>;
|
|
3359
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3360
|
+
}, z.core.$strict>>;
|
|
3361
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
3362
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3363
|
+
column: z.ZodString;
|
|
3364
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3365
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3366
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3367
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
3368
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
3369
|
+
reason: z.ZodEnum<{
|
|
3370
|
+
void: "void";
|
|
3371
|
+
paid: "paid";
|
|
3372
|
+
"no-longer-needed": "no-longer-needed";
|
|
3373
|
+
}>;
|
|
3374
|
+
}, z.core.$strict>>>;
|
|
3375
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
3376
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3377
|
+
table: z.ZodString;
|
|
3378
|
+
column: z.ZodString;
|
|
3379
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3380
|
+
addOn: z.ZodString;
|
|
3381
|
+
setting: z.ZodString;
|
|
3382
|
+
}, z.core.$strict>]>;
|
|
3383
|
+
}, z.core.$strict>>;
|
|
3384
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
3385
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
3386
|
+
table: z.ZodString;
|
|
3387
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3388
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
3389
|
+
}, z.core.$strict>>;
|
|
3390
|
+
}, z.core.$strict>]>>>;
|
|
3391
|
+
}, z.core.$strict>>;
|
|
3392
|
+
emailTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3393
|
+
key: z.ZodString;
|
|
3394
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
3395
|
+
attach: z.ZodOptional<z.ZodObject<{
|
|
3396
|
+
kind: z.ZodString;
|
|
3397
|
+
link: z.ZodString;
|
|
3398
|
+
}, z.core.$strict>>;
|
|
3399
|
+
vars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3400
|
+
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3401
|
+
subject: z.ZodString;
|
|
3402
|
+
preheader: z.ZodOptional<z.ZodString>;
|
|
3403
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
3404
|
+
block: z.ZodString;
|
|
3405
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3406
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3407
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3408
|
+
}, z.core.$strict>>;
|
|
3409
|
+
footer: z.ZodOptional<z.ZodString>;
|
|
3410
|
+
}, z.core.$strict>>;
|
|
3411
|
+
}, z.core.$strict>>>;
|
|
3412
|
+
sampleData: z.ZodOptional<z.ZodObject<{
|
|
3413
|
+
file: z.ZodString;
|
|
3414
|
+
}, z.core.$strict>>;
|
|
3415
|
+
addOns: z.ZodOptional<z.ZodObject<{
|
|
3416
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3417
|
+
key: z.ZodString;
|
|
3418
|
+
range: z.ZodString;
|
|
3419
|
+
reason: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3420
|
+
}, z.core.$strict>>>;
|
|
3421
|
+
suggests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3422
|
+
key: z.ZodString;
|
|
3423
|
+
range: z.ZodString;
|
|
3424
|
+
reason: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3425
|
+
checked: z.ZodOptional<z.ZodBoolean>;
|
|
3426
|
+
}, z.core.$strict>>>;
|
|
3427
|
+
features: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3428
|
+
id: z.ZodString;
|
|
3429
|
+
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3430
|
+
requires: z.ZodArray<z.ZodString>;
|
|
3431
|
+
}, z.core.$strict>>>;
|
|
3432
|
+
}, z.core.$strict>>;
|
|
3433
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3434
|
+
kind: z.ZodString;
|
|
3435
|
+
addOn: z.ZodString;
|
|
3436
|
+
table: z.ZodString;
|
|
3437
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
3438
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3439
|
+
column: z.ZodString;
|
|
3440
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3441
|
+
via: z.ZodString;
|
|
3442
|
+
column: z.ZodString;
|
|
3443
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3444
|
+
collection: z.ZodObject<{
|
|
3445
|
+
table: z.ZodString;
|
|
3446
|
+
via: z.ZodString;
|
|
3447
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
3448
|
+
columns: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3449
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
3450
|
+
column: z.ZodString;
|
|
3451
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3452
|
+
}, z.core.$strict>>;
|
|
3453
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
3454
|
+
}, z.core.$strict>;
|
|
3455
|
+
}, z.core.$strict>]>>;
|
|
3456
|
+
statement: z.ZodOptional<z.ZodObject<{
|
|
3457
|
+
documents: z.ZodObject<{
|
|
3458
|
+
table: z.ZodString;
|
|
3459
|
+
via: z.ZodString;
|
|
3460
|
+
date: z.ZodString;
|
|
3461
|
+
amount: z.ZodString;
|
|
3462
|
+
number: z.ZodOptional<z.ZodString>;
|
|
3463
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
3464
|
+
column: z.ZodString;
|
|
3465
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1764
3466
|
}, z.core.$strict>>;
|
|
3467
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
3468
|
+
}, z.core.$strict>;
|
|
3469
|
+
payments: z.ZodObject<{
|
|
3470
|
+
table: z.ZodString;
|
|
3471
|
+
via: z.ZodString;
|
|
3472
|
+
date: z.ZodString;
|
|
3473
|
+
amount: z.ZodString;
|
|
3474
|
+
number: z.ZodOptional<z.ZodString>;
|
|
3475
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
3476
|
+
column: z.ZodString;
|
|
3477
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3478
|
+
}, z.core.$strict>>;
|
|
3479
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
1765
3480
|
}, z.core.$strict>;
|
|
1766
|
-
kind: z.ZodString;
|
|
1767
|
-
link: z.ZodString;
|
|
1768
|
-
gate: z.ZodOptional<z.ZodLiteral<"enabled">>;
|
|
1769
|
-
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1770
|
-
}, z.core.$strict>]>>>;
|
|
1771
|
-
}, z.core.$strict>>;
|
|
1772
|
-
emailTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1773
|
-
key: z.ZodString;
|
|
1774
|
-
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
1775
|
-
vars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1776
|
-
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1777
|
-
subject: z.ZodString;
|
|
1778
|
-
preheader: z.ZodOptional<z.ZodString>;
|
|
1779
|
-
blocks: z.ZodArray<z.ZodObject<{
|
|
1780
|
-
block: z.ZodString;
|
|
1781
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1782
|
-
label: z.ZodOptional<z.ZodString>;
|
|
1783
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1784
|
-
}, z.core.$strict>>;
|
|
1785
|
-
footer: z.ZodOptional<z.ZodString>;
|
|
1786
3481
|
}, z.core.$strict>>;
|
|
3482
|
+
feature: z.ZodOptional<z.ZodString>;
|
|
3483
|
+
requestValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1787
3484
|
}, z.core.$strict>>>;
|
|
1788
|
-
sampleData: z.ZodOptional<z.ZodObject<{
|
|
1789
|
-
file: z.ZodString;
|
|
1790
|
-
}, z.core.$strict>>;
|
|
1791
3485
|
categories: z.ZodArray<z.ZodEnum<{
|
|
1792
3486
|
commerce: "commerce";
|
|
1793
3487
|
hospitality: "hospitality";
|
|
@@ -1844,11 +3538,11 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1844
3538
|
sqlite: "sqlite";
|
|
1845
3539
|
}>>>;
|
|
1846
3540
|
requires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3541
|
+
payments: "payments";
|
|
1847
3542
|
"hosted-only": "hosted-only";
|
|
1848
3543
|
"offline-required": "offline-required";
|
|
1849
3544
|
"receipt-printer": "receipt-printer";
|
|
1850
3545
|
"barcode-scanner": "barcode-scanner";
|
|
1851
|
-
payments: "payments";
|
|
1852
3546
|
"file-storage": "file-storage";
|
|
1853
3547
|
"email-delivery": "email-delivery";
|
|
1854
3548
|
realtime: "realtime";
|
|
@@ -1945,6 +3639,10 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1945
3639
|
order: z.ZodNumber;
|
|
1946
3640
|
}, z.core.$strict>>>;
|
|
1947
3641
|
hostApi: z.ZodOptional<z.ZodLiteral<1>>;
|
|
3642
|
+
shapes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3643
|
+
name: z.ZodString;
|
|
3644
|
+
version: z.ZodNumber;
|
|
3645
|
+
}, z.core.$loose>>>;
|
|
1948
3646
|
}, z.core.$strict>;
|
|
1949
3647
|
requiredSchema: z.ZodOptional<z.ZodObject<{
|
|
1950
3648
|
tables: z.ZodArray<z.ZodObject<{
|
|
@@ -1960,18 +3658,18 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1960
3658
|
money: "money";
|
|
1961
3659
|
float: "float";
|
|
1962
3660
|
bool: "bool";
|
|
3661
|
+
id: "id";
|
|
1963
3662
|
timestamptz: "timestamptz";
|
|
1964
3663
|
fk: "fk";
|
|
1965
3664
|
text: "text";
|
|
1966
|
-
id: "id";
|
|
1967
3665
|
json: "json";
|
|
1968
3666
|
uuid: "uuid";
|
|
1969
3667
|
blob: "blob";
|
|
1970
3668
|
}>;
|
|
1971
3669
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
1972
3670
|
money: "money";
|
|
1973
|
-
email: "email";
|
|
1974
3671
|
name: "name";
|
|
3672
|
+
email: "email";
|
|
1975
3673
|
image: "image";
|
|
1976
3674
|
avatar: "avatar";
|
|
1977
3675
|
"geo-lat": "geo-lat";
|
|
@@ -1987,6 +3685,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1987
3685
|
references: z.ZodOptional<z.ZodString>;
|
|
1988
3686
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1989
3687
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3688
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
1990
3689
|
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1991
3690
|
rules: z.ZodOptional<z.ZodObject<{
|
|
1992
3691
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2022,13 +3721,48 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
2022
3721
|
always: "always";
|
|
2023
3722
|
}>>;
|
|
2024
3723
|
}, z.core.$strict>>;
|
|
3724
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
3725
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
3726
|
+
table: z.ZodString;
|
|
3727
|
+
column: z.ZodString;
|
|
3728
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3729
|
+
addOn: z.ZodString;
|
|
3730
|
+
setting: z.ZodString;
|
|
3731
|
+
}, z.core.$strict>]>]>;
|
|
3732
|
+
}, z.core.$strict>>;
|
|
2025
3733
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
2026
3734
|
start: z.ZodOptional<z.ZodNumber>;
|
|
3735
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3736
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3737
|
+
table: z.ZodString;
|
|
3738
|
+
column: z.ZodString;
|
|
3739
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3740
|
+
addOn: z.ZodString;
|
|
3741
|
+
setting: z.ZodString;
|
|
3742
|
+
}, z.core.$strict>]>>;
|
|
3743
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
3744
|
+
}, z.core.$strict>>;
|
|
3745
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
3746
|
+
from: z.ZodString;
|
|
3747
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
3748
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3749
|
+
table: z.ZodString;
|
|
3750
|
+
column: z.ZodString;
|
|
3751
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3752
|
+
addOn: z.ZodString;
|
|
3753
|
+
setting: z.ZodString;
|
|
3754
|
+
}, z.core.$strict>]>>;
|
|
3755
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
2027
3756
|
}, z.core.$strict>>;
|
|
2028
3757
|
code: z.ZodOptional<z.ZodObject<{
|
|
2029
3758
|
prefix: z.ZodOptional<z.ZodString>;
|
|
2030
3759
|
length: z.ZodNumber;
|
|
2031
3760
|
}, z.core.$strict>>;
|
|
3761
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
3762
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
3763
|
+
trim: "trim";
|
|
3764
|
+
email: "email";
|
|
3765
|
+
}>>;
|
|
2032
3766
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
2033
3767
|
from: z.ZodString;
|
|
2034
3768
|
via: z.ZodString;
|
|
@@ -2048,22 +3782,72 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
2048
3782
|
}, z.core.$strict>>;
|
|
2049
3783
|
stamp: z.ZodOptional<z.ZodObject<{
|
|
2050
3784
|
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3785
|
+
today: "today";
|
|
2051
3786
|
now: "now";
|
|
2052
3787
|
"user-name": "user-name";
|
|
2053
3788
|
"user-id": "user-id";
|
|
2054
3789
|
}>, z.ZodObject<{
|
|
2055
3790
|
byOrigin: z.ZodObject<{
|
|
2056
3791
|
public: z.ZodString;
|
|
2057
|
-
staff: z.ZodString
|
|
3792
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
3793
|
+
}, z.core.$strict>;
|
|
3794
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3795
|
+
claim: z.ZodString;
|
|
3796
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
3797
|
+
"user-name": "user-name";
|
|
3798
|
+
"user-id": "user-id";
|
|
3799
|
+
}>>;
|
|
3800
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3801
|
+
copy: z.ZodString;
|
|
3802
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3803
|
+
addDays: z.ZodObject<{
|
|
3804
|
+
date: z.ZodString;
|
|
3805
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3806
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
3807
|
+
}, z.core.$strict>;
|
|
3808
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3809
|
+
hashOf: z.ZodObject<{
|
|
3810
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3811
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3812
|
+
table: z.ZodString;
|
|
3813
|
+
via: z.ZodString;
|
|
3814
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3815
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
3816
|
+
}, z.core.$strict>>>;
|
|
3817
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3818
|
+
via: z.ZodString;
|
|
3819
|
+
table: z.ZodString;
|
|
3820
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3821
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3822
|
+
table: z.ZodString;
|
|
3823
|
+
via: z.ZodString;
|
|
3824
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3825
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
3826
|
+
}, z.core.$strict>>>;
|
|
3827
|
+
}, z.core.$strict>>>;
|
|
2058
3828
|
}, z.core.$strict>;
|
|
2059
3829
|
}, z.core.$strict>]>;
|
|
2060
|
-
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
3830
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
2061
3831
|
column: z.ZodString;
|
|
2062
3832
|
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2063
|
-
}, z.core.$strict
|
|
3833
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3834
|
+
column: z.ZodString;
|
|
3835
|
+
filled: z.ZodLiteral<true>;
|
|
3836
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
3837
|
+
column: z.ZodString;
|
|
3838
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3839
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3840
|
+
column: z.ZodString;
|
|
3841
|
+
filled: z.ZodLiteral<true>;
|
|
3842
|
+
}, z.core.$strict>]>>]>;
|
|
2064
3843
|
}, z.core.$strict>>;
|
|
2065
3844
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2066
3845
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
3846
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
3847
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
3848
|
+
column: z.ZodString;
|
|
3849
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3850
|
+
}, z.core.$strict>>;
|
|
2067
3851
|
}, z.core.$strict>>;
|
|
2068
3852
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2069
3853
|
}, z.core.$strict>>;
|
|
@@ -2176,6 +3960,48 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
2176
3960
|
}, z.core.$strict>;
|
|
2177
3961
|
}, z.core.$strict>>;
|
|
2178
3962
|
}, z.core.$strict>>;
|
|
3963
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
3964
|
+
column: z.ZodString;
|
|
3965
|
+
initial: z.ZodString;
|
|
3966
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3967
|
+
to: z.ZodString;
|
|
3968
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
3969
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
3970
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3971
|
+
column: z.ZodString;
|
|
3972
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3973
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3974
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3975
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
3976
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
3977
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
3978
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
3979
|
+
}, z.core.$strict>>>;
|
|
3980
|
+
}, z.core.$strict>>;
|
|
3981
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3982
|
+
}, z.core.$strict>]>>>;
|
|
3983
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
3984
|
+
when: z.ZodArray<z.ZodString>;
|
|
3985
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3986
|
+
}, z.core.$strict>>;
|
|
3987
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3988
|
+
via: z.ZodString;
|
|
3989
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3990
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3991
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3992
|
+
}, z.core.$strict>>>;
|
|
3993
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3994
|
+
table: z.ZodString;
|
|
3995
|
+
via: z.ZodString;
|
|
3996
|
+
in: z.ZodArray<z.ZodString>;
|
|
3997
|
+
}, z.core.$strict>>>;
|
|
3998
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
3999
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
4000
|
+
}, z.core.$strict>>;
|
|
4001
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4002
|
+
}, z.core.$strict>>;
|
|
4003
|
+
builtOn: z.ZodOptional<z.ZodString>;
|
|
4004
|
+
part: z.ZodOptional<z.ZodString>;
|
|
2179
4005
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2180
4006
|
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2181
4007
|
keyField: z.ZodOptional<z.ZodString>;
|
|
@@ -2272,11 +4098,11 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
2272
4098
|
}, z.core.$strict>>;
|
|
2273
4099
|
}, z.core.$strict>], "type">>>;
|
|
2274
4100
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4101
|
+
payments: "payments";
|
|
2275
4102
|
"hosted-only": "hosted-only";
|
|
2276
4103
|
"offline-required": "offline-required";
|
|
2277
4104
|
"receipt-printer": "receipt-printer";
|
|
2278
4105
|
"barcode-scanner": "barcode-scanner";
|
|
2279
|
-
payments: "payments";
|
|
2280
4106
|
"file-storage": "file-storage";
|
|
2281
4107
|
"email-delivery": "email-delivery";
|
|
2282
4108
|
realtime: "realtime";
|
|
@@ -2317,11 +4143,11 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2317
4143
|
sqlite: "sqlite";
|
|
2318
4144
|
}>>>;
|
|
2319
4145
|
requires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4146
|
+
payments: "payments";
|
|
2320
4147
|
"hosted-only": "hosted-only";
|
|
2321
4148
|
"offline-required": "offline-required";
|
|
2322
4149
|
"receipt-printer": "receipt-printer";
|
|
2323
4150
|
"barcode-scanner": "barcode-scanner";
|
|
2324
|
-
payments: "payments";
|
|
2325
4151
|
"file-storage": "file-storage";
|
|
2326
4152
|
"email-delivery": "email-delivery";
|
|
2327
4153
|
realtime: "realtime";
|
|
@@ -2344,18 +4170,18 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2344
4170
|
money: "money";
|
|
2345
4171
|
float: "float";
|
|
2346
4172
|
bool: "bool";
|
|
4173
|
+
id: "id";
|
|
2347
4174
|
timestamptz: "timestamptz";
|
|
2348
4175
|
fk: "fk";
|
|
2349
4176
|
text: "text";
|
|
2350
|
-
id: "id";
|
|
2351
4177
|
json: "json";
|
|
2352
4178
|
uuid: "uuid";
|
|
2353
4179
|
blob: "blob";
|
|
2354
4180
|
}>;
|
|
2355
4181
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
2356
4182
|
money: "money";
|
|
2357
|
-
email: "email";
|
|
2358
4183
|
name: "name";
|
|
4184
|
+
email: "email";
|
|
2359
4185
|
image: "image";
|
|
2360
4186
|
avatar: "avatar";
|
|
2361
4187
|
"geo-lat": "geo-lat";
|
|
@@ -2371,6 +4197,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2371
4197
|
references: z.ZodOptional<z.ZodString>;
|
|
2372
4198
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2373
4199
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4200
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
2374
4201
|
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2375
4202
|
rules: z.ZodOptional<z.ZodObject<{
|
|
2376
4203
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -2406,13 +4233,48 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2406
4233
|
always: "always";
|
|
2407
4234
|
}>>;
|
|
2408
4235
|
}, z.core.$strict>>;
|
|
4236
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
4237
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
4238
|
+
table: z.ZodString;
|
|
4239
|
+
column: z.ZodString;
|
|
4240
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4241
|
+
addOn: z.ZodString;
|
|
4242
|
+
setting: z.ZodString;
|
|
4243
|
+
}, z.core.$strict>]>]>;
|
|
4244
|
+
}, z.core.$strict>>;
|
|
2409
4245
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
2410
4246
|
start: z.ZodOptional<z.ZodNumber>;
|
|
4247
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4248
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4249
|
+
table: z.ZodString;
|
|
4250
|
+
column: z.ZodString;
|
|
4251
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4252
|
+
addOn: z.ZodString;
|
|
4253
|
+
setting: z.ZodString;
|
|
4254
|
+
}, z.core.$strict>]>>;
|
|
4255
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
4256
|
+
}, z.core.$strict>>;
|
|
4257
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
4258
|
+
from: z.ZodString;
|
|
4259
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
4260
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4261
|
+
table: z.ZodString;
|
|
4262
|
+
column: z.ZodString;
|
|
4263
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4264
|
+
addOn: z.ZodString;
|
|
4265
|
+
setting: z.ZodString;
|
|
4266
|
+
}, z.core.$strict>]>>;
|
|
4267
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
2411
4268
|
}, z.core.$strict>>;
|
|
2412
4269
|
code: z.ZodOptional<z.ZodObject<{
|
|
2413
4270
|
prefix: z.ZodOptional<z.ZodString>;
|
|
2414
4271
|
length: z.ZodNumber;
|
|
2415
4272
|
}, z.core.$strict>>;
|
|
4273
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
4274
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
4275
|
+
trim: "trim";
|
|
4276
|
+
email: "email";
|
|
4277
|
+
}>>;
|
|
2416
4278
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
2417
4279
|
from: z.ZodString;
|
|
2418
4280
|
via: z.ZodString;
|
|
@@ -2432,22 +4294,72 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2432
4294
|
}, z.core.$strict>>;
|
|
2433
4295
|
stamp: z.ZodOptional<z.ZodObject<{
|
|
2434
4296
|
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
4297
|
+
today: "today";
|
|
2435
4298
|
now: "now";
|
|
2436
4299
|
"user-name": "user-name";
|
|
2437
4300
|
"user-id": "user-id";
|
|
2438
4301
|
}>, z.ZodObject<{
|
|
2439
4302
|
byOrigin: z.ZodObject<{
|
|
2440
4303
|
public: z.ZodString;
|
|
2441
|
-
staff: z.ZodString
|
|
4304
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
4305
|
+
}, z.core.$strict>;
|
|
4306
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4307
|
+
claim: z.ZodString;
|
|
4308
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
4309
|
+
"user-name": "user-name";
|
|
4310
|
+
"user-id": "user-id";
|
|
4311
|
+
}>>;
|
|
4312
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4313
|
+
copy: z.ZodString;
|
|
4314
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4315
|
+
addDays: z.ZodObject<{
|
|
4316
|
+
date: z.ZodString;
|
|
4317
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4318
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
4319
|
+
}, z.core.$strict>;
|
|
4320
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4321
|
+
hashOf: z.ZodObject<{
|
|
4322
|
+
columns: z.ZodArray<z.ZodString>;
|
|
4323
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4324
|
+
table: z.ZodString;
|
|
4325
|
+
via: z.ZodString;
|
|
4326
|
+
columns: z.ZodArray<z.ZodString>;
|
|
4327
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
4328
|
+
}, z.core.$strict>>>;
|
|
4329
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4330
|
+
via: z.ZodString;
|
|
4331
|
+
table: z.ZodString;
|
|
4332
|
+
columns: z.ZodArray<z.ZodString>;
|
|
4333
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4334
|
+
table: z.ZodString;
|
|
4335
|
+
via: z.ZodString;
|
|
4336
|
+
columns: z.ZodArray<z.ZodString>;
|
|
4337
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
4338
|
+
}, z.core.$strict>>>;
|
|
4339
|
+
}, z.core.$strict>>>;
|
|
2442
4340
|
}, z.core.$strict>;
|
|
2443
4341
|
}, z.core.$strict>]>;
|
|
2444
|
-
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
4342
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
2445
4343
|
column: z.ZodString;
|
|
2446
4344
|
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2447
|
-
}, z.core.$strict
|
|
4345
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4346
|
+
column: z.ZodString;
|
|
4347
|
+
filled: z.ZodLiteral<true>;
|
|
4348
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
4349
|
+
column: z.ZodString;
|
|
4350
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4351
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4352
|
+
column: z.ZodString;
|
|
4353
|
+
filled: z.ZodLiteral<true>;
|
|
4354
|
+
}, z.core.$strict>]>>]>;
|
|
2448
4355
|
}, z.core.$strict>>;
|
|
2449
4356
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2450
4357
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
4358
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
4359
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
4360
|
+
column: z.ZodString;
|
|
4361
|
+
via: z.ZodOptional<z.ZodString>;
|
|
4362
|
+
}, z.core.$strict>>;
|
|
2451
4363
|
}, z.core.$strict>>;
|
|
2452
4364
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2453
4365
|
}, z.core.$strict>>;
|
|
@@ -2560,6 +4472,48 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2560
4472
|
}, z.core.$strict>;
|
|
2561
4473
|
}, z.core.$strict>>;
|
|
2562
4474
|
}, z.core.$strict>>;
|
|
4475
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
4476
|
+
column: z.ZodString;
|
|
4477
|
+
initial: z.ZodString;
|
|
4478
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4479
|
+
to: z.ZodString;
|
|
4480
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
4481
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
4482
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4483
|
+
column: z.ZodString;
|
|
4484
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4485
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4486
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
4487
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
4488
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
4489
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
4490
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
4491
|
+
}, z.core.$strict>>>;
|
|
4492
|
+
}, z.core.$strict>>;
|
|
4493
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4494
|
+
}, z.core.$strict>]>>>;
|
|
4495
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
4496
|
+
when: z.ZodArray<z.ZodString>;
|
|
4497
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4498
|
+
}, z.core.$strict>>;
|
|
4499
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4500
|
+
via: z.ZodString;
|
|
4501
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4502
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4503
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4504
|
+
}, z.core.$strict>>>;
|
|
4505
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4506
|
+
table: z.ZodString;
|
|
4507
|
+
via: z.ZodString;
|
|
4508
|
+
in: z.ZodArray<z.ZodString>;
|
|
4509
|
+
}, z.core.$strict>>>;
|
|
4510
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
4511
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
4512
|
+
}, z.core.$strict>>;
|
|
4513
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4514
|
+
}, z.core.$strict>>;
|
|
4515
|
+
builtOn: z.ZodOptional<z.ZodString>;
|
|
4516
|
+
part: z.ZodOptional<z.ZodString>;
|
|
2563
4517
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2564
4518
|
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2565
4519
|
keyField: z.ZodOptional<z.ZodString>;
|
|
@@ -2581,6 +4535,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2581
4535
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2582
4536
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2583
4537
|
titles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4538
|
+
feature: z.ZodOptional<z.ZodString>;
|
|
2584
4539
|
}, z.core.$strict>>;
|
|
2585
4540
|
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2586
4541
|
key: z.ZodString;
|
|
@@ -2692,11 +4647,11 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2692
4647
|
entry: z.ZodString;
|
|
2693
4648
|
}, z.core.$strict>>>;
|
|
2694
4649
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4650
|
+
payments: "payments";
|
|
2695
4651
|
"hosted-only": "hosted-only";
|
|
2696
4652
|
"offline-required": "offline-required";
|
|
2697
4653
|
"receipt-printer": "receipt-printer";
|
|
2698
4654
|
"barcode-scanner": "barcode-scanner";
|
|
2699
|
-
payments: "payments";
|
|
2700
4655
|
"file-storage": "file-storage";
|
|
2701
4656
|
"email-delivery": "email-delivery";
|
|
2702
4657
|
realtime: "realtime";
|
|
@@ -2720,8 +4675,8 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2720
4675
|
}, z.core.$strict>>>;
|
|
2721
4676
|
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2722
4677
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
2723
|
-
internal: "internal";
|
|
2724
4678
|
external: "external";
|
|
4679
|
+
internal: "internal";
|
|
2725
4680
|
}>>;
|
|
2726
4681
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2727
4682
|
}, z.core.$strict>>;
|
|
@@ -2770,11 +4725,19 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2770
4725
|
days: z.ZodOptional<z.ZodNumber>;
|
|
2771
4726
|
}, z.core.$strict>]>]>>>;
|
|
2772
4727
|
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2773
|
-
claim: z.ZodOptional<z.ZodObject<{
|
|
4728
|
+
claim: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2774
4729
|
match: z.ZodArray<z.ZodString>;
|
|
2775
4730
|
verify: z.ZodOptional<z.ZodLiteral<"email-code">>;
|
|
2776
4731
|
email: z.ZodOptional<z.ZodString>;
|
|
2777
|
-
}, z.core.$strict
|
|
4732
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4733
|
+
verify: z.ZodLiteral<"email-link">;
|
|
4734
|
+
email: z.ZodString;
|
|
4735
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4736
|
+
by: z.ZodLiteral<"token">;
|
|
4737
|
+
column: z.ZodString;
|
|
4738
|
+
expires: z.ZodOptional<z.ZodString>;
|
|
4739
|
+
stopped: z.ZodOptional<z.ZodString>;
|
|
4740
|
+
}, z.core.$strict>]>>;
|
|
2778
4741
|
claimedBy: z.ZodOptional<z.ZodObject<{
|
|
2779
4742
|
table: z.ZodString;
|
|
2780
4743
|
column: z.ZodString;
|
|
@@ -2784,13 +4747,20 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2784
4747
|
lookup: "lookup";
|
|
2785
4748
|
verified: "verified";
|
|
2786
4749
|
}>>;
|
|
4750
|
+
visibleWith: z.ZodOptional<z.ZodObject<{
|
|
4751
|
+
table: z.ZodString;
|
|
4752
|
+
via: z.ZodString;
|
|
4753
|
+
}, z.core.$strict>>;
|
|
4754
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4755
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2787
4756
|
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
2788
4757
|
reason: z.ZodOptional<z.ZodString>;
|
|
2789
4758
|
onClaim: z.ZodOptional<z.ZodObject<{
|
|
2790
4759
|
clear: z.ZodArray<z.ZodString>;
|
|
2791
4760
|
}, z.core.$strict>>;
|
|
2792
4761
|
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
2793
|
-
|
|
4762
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4763
|
+
writableWhen: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>, z.ZodLiteral<"from-now">, z.ZodLiteral<"from-today">, z.ZodLiteral<"before-today">, z.ZodObject<{
|
|
2794
4764
|
within: z.ZodNumber;
|
|
2795
4765
|
}, z.core.$strict>]>>>;
|
|
2796
4766
|
humanCheck: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -2840,9 +4810,9 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2840
4810
|
}, z.core.$strict>>;
|
|
2841
4811
|
}, z.core.$strict>>>;
|
|
2842
4812
|
publicKeys: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2843
|
-
requiresStaff: z.ZodObject<{
|
|
4813
|
+
requiresStaff: z.ZodOptional<z.ZodObject<{
|
|
2844
4814
|
role: z.ZodString;
|
|
2845
|
-
}, z.core.$strict
|
|
4815
|
+
}, z.core.$strict>>;
|
|
2846
4816
|
enabledBy: z.ZodOptional<z.ZodObject<{
|
|
2847
4817
|
table: z.ZodString;
|
|
2848
4818
|
column: z.ZodString;
|
|
@@ -2858,6 +4828,12 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2858
4828
|
due: z.ZodOptional<z.ZodString>;
|
|
2859
4829
|
sentAt: z.ZodOptional<z.ZodString>;
|
|
2860
4830
|
error: z.ZodOptional<z.ZodString>;
|
|
4831
|
+
skipReason: z.ZodOptional<z.ZodString>;
|
|
4832
|
+
subjectOverride: z.ZodOptional<z.ZodString>;
|
|
4833
|
+
bodyOverride: z.ZodOptional<z.ZodString>;
|
|
4834
|
+
approvedBy: z.ZodOptional<z.ZodString>;
|
|
4835
|
+
effectAt: z.ZodOptional<z.ZodString>;
|
|
4836
|
+
effectError: z.ZodOptional<z.ZodString>;
|
|
2861
4837
|
}, z.core.$strict>;
|
|
2862
4838
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2863
4839
|
recipient: z.ZodObject<{
|
|
@@ -2888,6 +4864,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2888
4864
|
producers: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2889
4865
|
onCreate: z.ZodObject<{
|
|
2890
4866
|
table: z.ZodString;
|
|
4867
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2891
4868
|
where: z.ZodOptional<z.ZodObject<{
|
|
2892
4869
|
column: z.ZodString;
|
|
2893
4870
|
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -2897,11 +4874,65 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2897
4874
|
}, z.core.$strict>;
|
|
2898
4875
|
kind: z.ZodString;
|
|
2899
4876
|
link: z.ZodString;
|
|
2900
|
-
gate: z.ZodOptional<z.ZodLiteral<"enabled"
|
|
4877
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
4878
|
+
setting: z.ZodObject<{
|
|
4879
|
+
table: z.ZodString;
|
|
4880
|
+
column: z.ZodString;
|
|
4881
|
+
}, z.core.$strict>;
|
|
4882
|
+
}, z.core.$strict>]>>;
|
|
2901
4883
|
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4884
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4885
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
4886
|
+
date: z.ZodString;
|
|
4887
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4888
|
+
byColumn: z.ZodString;
|
|
4889
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
4890
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4891
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
4892
|
+
table: z.ZodString;
|
|
4893
|
+
column: z.ZodString;
|
|
4894
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4895
|
+
addOn: z.ZodString;
|
|
4896
|
+
setting: z.ZodString;
|
|
4897
|
+
}, z.core.$strict>]>;
|
|
4898
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
4899
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
4900
|
+
}, z.core.$strict>]>;
|
|
4901
|
+
at: z.ZodOptional<z.ZodString>;
|
|
4902
|
+
}, z.core.$strict>>;
|
|
4903
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
4904
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4905
|
+
column: z.ZodString;
|
|
4906
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4907
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4908
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
4909
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
4910
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
4911
|
+
reason: z.ZodEnum<{
|
|
4912
|
+
void: "void";
|
|
4913
|
+
paid: "paid";
|
|
4914
|
+
"no-longer-needed": "no-longer-needed";
|
|
4915
|
+
}>;
|
|
4916
|
+
}, z.core.$strict>>>;
|
|
4917
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
4918
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
4919
|
+
table: z.ZodString;
|
|
4920
|
+
column: z.ZodString;
|
|
4921
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4922
|
+
addOn: z.ZodString;
|
|
4923
|
+
setting: z.ZodString;
|
|
4924
|
+
}, z.core.$strict>]>;
|
|
4925
|
+
}, z.core.$strict>>;
|
|
4926
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
4927
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
4928
|
+
table: z.ZodString;
|
|
4929
|
+
via: z.ZodOptional<z.ZodString>;
|
|
4930
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
4931
|
+
}, z.core.$strict>>;
|
|
2902
4932
|
}, z.core.$strict>, z.ZodObject<{
|
|
2903
4933
|
onChange: z.ZodObject<{
|
|
2904
4934
|
table: z.ZodString;
|
|
4935
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2905
4936
|
column: z.ZodString;
|
|
2906
4937
|
to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
2907
4938
|
where: z.ZodOptional<z.ZodObject<{
|
|
@@ -2913,8 +4944,61 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2913
4944
|
}, z.core.$strict>;
|
|
2914
4945
|
kind: z.ZodString;
|
|
2915
4946
|
link: z.ZodString;
|
|
2916
|
-
gate: z.ZodOptional<z.ZodLiteral<"enabled"
|
|
4947
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
4948
|
+
setting: z.ZodObject<{
|
|
4949
|
+
table: z.ZodString;
|
|
4950
|
+
column: z.ZodString;
|
|
4951
|
+
}, z.core.$strict>;
|
|
4952
|
+
}, z.core.$strict>]>>;
|
|
2917
4953
|
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4954
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4955
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
4956
|
+
date: z.ZodString;
|
|
4957
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4958
|
+
byColumn: z.ZodString;
|
|
4959
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
4960
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4961
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
4962
|
+
table: z.ZodString;
|
|
4963
|
+
column: z.ZodString;
|
|
4964
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4965
|
+
addOn: z.ZodString;
|
|
4966
|
+
setting: z.ZodString;
|
|
4967
|
+
}, z.core.$strict>]>;
|
|
4968
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
4969
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
4970
|
+
}, z.core.$strict>]>;
|
|
4971
|
+
at: z.ZodOptional<z.ZodString>;
|
|
4972
|
+
}, z.core.$strict>>;
|
|
4973
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
4974
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4975
|
+
column: z.ZodString;
|
|
4976
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4977
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4978
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
4979
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
4980
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
4981
|
+
reason: z.ZodEnum<{
|
|
4982
|
+
void: "void";
|
|
4983
|
+
paid: "paid";
|
|
4984
|
+
"no-longer-needed": "no-longer-needed";
|
|
4985
|
+
}>;
|
|
4986
|
+
}, z.core.$strict>>>;
|
|
4987
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
4988
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
4989
|
+
table: z.ZodString;
|
|
4990
|
+
column: z.ZodString;
|
|
4991
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4992
|
+
addOn: z.ZodString;
|
|
4993
|
+
setting: z.ZodString;
|
|
4994
|
+
}, z.core.$strict>]>;
|
|
4995
|
+
}, z.core.$strict>>;
|
|
4996
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
4997
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
4998
|
+
table: z.ZodString;
|
|
4999
|
+
via: z.ZodOptional<z.ZodString>;
|
|
5000
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
5001
|
+
}, z.core.$strict>>;
|
|
2918
5002
|
}, z.core.$strict>, z.ZodObject<{
|
|
2919
5003
|
before: z.ZodObject<{
|
|
2920
5004
|
table: z.ZodString;
|
|
@@ -2938,13 +5022,70 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2938
5022
|
}, z.core.$strict>;
|
|
2939
5023
|
kind: z.ZodString;
|
|
2940
5024
|
link: z.ZodString;
|
|
2941
|
-
gate: z.ZodOptional<z.ZodLiteral<"enabled"
|
|
5025
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
5026
|
+
setting: z.ZodObject<{
|
|
5027
|
+
table: z.ZodString;
|
|
5028
|
+
column: z.ZodString;
|
|
5029
|
+
}, z.core.$strict>;
|
|
5030
|
+
}, z.core.$strict>]>>;
|
|
2942
5031
|
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5032
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5033
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
5034
|
+
date: z.ZodString;
|
|
5035
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5036
|
+
byColumn: z.ZodString;
|
|
5037
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
5038
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5039
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
5040
|
+
table: z.ZodString;
|
|
5041
|
+
column: z.ZodString;
|
|
5042
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5043
|
+
addOn: z.ZodString;
|
|
5044
|
+
setting: z.ZodString;
|
|
5045
|
+
}, z.core.$strict>]>;
|
|
5046
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
5047
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
5048
|
+
}, z.core.$strict>]>;
|
|
5049
|
+
at: z.ZodOptional<z.ZodString>;
|
|
5050
|
+
}, z.core.$strict>>;
|
|
5051
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
5052
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5053
|
+
column: z.ZodString;
|
|
5054
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5055
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
5056
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
5057
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
5058
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
5059
|
+
reason: z.ZodEnum<{
|
|
5060
|
+
void: "void";
|
|
5061
|
+
paid: "paid";
|
|
5062
|
+
"no-longer-needed": "no-longer-needed";
|
|
5063
|
+
}>;
|
|
5064
|
+
}, z.core.$strict>>>;
|
|
5065
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
5066
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
5067
|
+
table: z.ZodString;
|
|
5068
|
+
column: z.ZodString;
|
|
5069
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5070
|
+
addOn: z.ZodString;
|
|
5071
|
+
setting: z.ZodString;
|
|
5072
|
+
}, z.core.$strict>]>;
|
|
5073
|
+
}, z.core.$strict>>;
|
|
5074
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
5075
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
5076
|
+
table: z.ZodString;
|
|
5077
|
+
via: z.ZodOptional<z.ZodString>;
|
|
5078
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
5079
|
+
}, z.core.$strict>>;
|
|
2943
5080
|
}, z.core.$strict>]>>>;
|
|
2944
5081
|
}, z.core.$strict>>;
|
|
2945
5082
|
emailTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2946
5083
|
key: z.ZodString;
|
|
2947
5084
|
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
5085
|
+
attach: z.ZodOptional<z.ZodObject<{
|
|
5086
|
+
kind: z.ZodString;
|
|
5087
|
+
link: z.ZodString;
|
|
5088
|
+
}, z.core.$strict>>;
|
|
2948
5089
|
vars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2949
5090
|
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2950
5091
|
subject: z.ZodString;
|
|
@@ -2961,6 +5102,76 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2961
5102
|
sampleData: z.ZodOptional<z.ZodObject<{
|
|
2962
5103
|
file: z.ZodString;
|
|
2963
5104
|
}, z.core.$strict>>;
|
|
5105
|
+
addOns: z.ZodOptional<z.ZodObject<{
|
|
5106
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5107
|
+
key: z.ZodString;
|
|
5108
|
+
range: z.ZodString;
|
|
5109
|
+
reason: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5110
|
+
}, z.core.$strict>>>;
|
|
5111
|
+
suggests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5112
|
+
key: z.ZodString;
|
|
5113
|
+
range: z.ZodString;
|
|
5114
|
+
reason: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5115
|
+
checked: z.ZodOptional<z.ZodBoolean>;
|
|
5116
|
+
}, z.core.$strict>>>;
|
|
5117
|
+
features: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5118
|
+
id: z.ZodString;
|
|
5119
|
+
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5120
|
+
requires: z.ZodArray<z.ZodString>;
|
|
5121
|
+
}, z.core.$strict>>>;
|
|
5122
|
+
}, z.core.$strict>>;
|
|
5123
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5124
|
+
kind: z.ZodString;
|
|
5125
|
+
addOn: z.ZodString;
|
|
5126
|
+
table: z.ZodString;
|
|
5127
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
5128
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
5129
|
+
column: z.ZodString;
|
|
5130
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5131
|
+
via: z.ZodString;
|
|
5132
|
+
column: z.ZodString;
|
|
5133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5134
|
+
collection: z.ZodObject<{
|
|
5135
|
+
table: z.ZodString;
|
|
5136
|
+
via: z.ZodString;
|
|
5137
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
5138
|
+
columns: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5139
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
5140
|
+
column: z.ZodString;
|
|
5141
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5142
|
+
}, z.core.$strict>>;
|
|
5143
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
5144
|
+
}, z.core.$strict>;
|
|
5145
|
+
}, z.core.$strict>]>>;
|
|
5146
|
+
statement: z.ZodOptional<z.ZodObject<{
|
|
5147
|
+
documents: z.ZodObject<{
|
|
5148
|
+
table: z.ZodString;
|
|
5149
|
+
via: z.ZodString;
|
|
5150
|
+
date: z.ZodString;
|
|
5151
|
+
amount: z.ZodString;
|
|
5152
|
+
number: z.ZodOptional<z.ZodString>;
|
|
5153
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
5154
|
+
column: z.ZodString;
|
|
5155
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5156
|
+
}, z.core.$strict>>;
|
|
5157
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
5158
|
+
}, z.core.$strict>;
|
|
5159
|
+
payments: z.ZodObject<{
|
|
5160
|
+
table: z.ZodString;
|
|
5161
|
+
via: z.ZodString;
|
|
5162
|
+
date: z.ZodString;
|
|
5163
|
+
amount: z.ZodString;
|
|
5164
|
+
number: z.ZodOptional<z.ZodString>;
|
|
5165
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
5166
|
+
column: z.ZodString;
|
|
5167
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5168
|
+
}, z.core.$strict>>;
|
|
5169
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
5170
|
+
}, z.core.$strict>;
|
|
5171
|
+
}, z.core.$strict>>;
|
|
5172
|
+
feature: z.ZodOptional<z.ZodString>;
|
|
5173
|
+
requestValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5174
|
+
}, z.core.$strict>>>;
|
|
2964
5175
|
categories: z.ZodArray<z.ZodEnum<{
|
|
2965
5176
|
commerce: "commerce";
|
|
2966
5177
|
hospitality: "hospitality";
|
|
@@ -3000,11 +5211,11 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
3000
5211
|
sqlite: "sqlite";
|
|
3001
5212
|
}>>>;
|
|
3002
5213
|
requires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5214
|
+
payments: "payments";
|
|
3003
5215
|
"hosted-only": "hosted-only";
|
|
3004
5216
|
"offline-required": "offline-required";
|
|
3005
5217
|
"receipt-printer": "receipt-printer";
|
|
3006
5218
|
"barcode-scanner": "barcode-scanner";
|
|
3007
|
-
payments: "payments";
|
|
3008
5219
|
"file-storage": "file-storage";
|
|
3009
5220
|
"email-delivery": "email-delivery";
|
|
3010
5221
|
realtime: "realtime";
|
|
@@ -3101,6 +5312,10 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
3101
5312
|
order: z.ZodNumber;
|
|
3102
5313
|
}, z.core.$strict>>>;
|
|
3103
5314
|
hostApi: z.ZodOptional<z.ZodLiteral<1>>;
|
|
5315
|
+
shapes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5316
|
+
name: z.ZodString;
|
|
5317
|
+
version: z.ZodNumber;
|
|
5318
|
+
}, z.core.$loose>>>;
|
|
3104
5319
|
}, z.core.$strict>;
|
|
3105
5320
|
requiredSchema: z.ZodOptional<z.ZodObject<{
|
|
3106
5321
|
tables: z.ZodArray<z.ZodObject<{
|
|
@@ -3116,18 +5331,18 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
3116
5331
|
money: "money";
|
|
3117
5332
|
float: "float";
|
|
3118
5333
|
bool: "bool";
|
|
5334
|
+
id: "id";
|
|
3119
5335
|
timestamptz: "timestamptz";
|
|
3120
5336
|
fk: "fk";
|
|
3121
5337
|
text: "text";
|
|
3122
|
-
id: "id";
|
|
3123
5338
|
json: "json";
|
|
3124
5339
|
uuid: "uuid";
|
|
3125
5340
|
blob: "blob";
|
|
3126
5341
|
}>;
|
|
3127
5342
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
3128
5343
|
money: "money";
|
|
3129
|
-
email: "email";
|
|
3130
5344
|
name: "name";
|
|
5345
|
+
email: "email";
|
|
3131
5346
|
image: "image";
|
|
3132
5347
|
avatar: "avatar";
|
|
3133
5348
|
"geo-lat": "geo-lat";
|
|
@@ -3143,6 +5358,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
3143
5358
|
references: z.ZodOptional<z.ZodString>;
|
|
3144
5359
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3145
5360
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
5361
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
3146
5362
|
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3147
5363
|
rules: z.ZodOptional<z.ZodObject<{
|
|
3148
5364
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -3178,13 +5394,48 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
3178
5394
|
always: "always";
|
|
3179
5395
|
}>>;
|
|
3180
5396
|
}, z.core.$strict>>;
|
|
5397
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
5398
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
5399
|
+
table: z.ZodString;
|
|
5400
|
+
column: z.ZodString;
|
|
5401
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5402
|
+
addOn: z.ZodString;
|
|
5403
|
+
setting: z.ZodString;
|
|
5404
|
+
}, z.core.$strict>]>]>;
|
|
5405
|
+
}, z.core.$strict>>;
|
|
3181
5406
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
3182
5407
|
start: z.ZodOptional<z.ZodNumber>;
|
|
5408
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5409
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
5410
|
+
table: z.ZodString;
|
|
5411
|
+
column: z.ZodString;
|
|
5412
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5413
|
+
addOn: z.ZodString;
|
|
5414
|
+
setting: z.ZodString;
|
|
5415
|
+
}, z.core.$strict>]>>;
|
|
5416
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
5417
|
+
}, z.core.$strict>>;
|
|
5418
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
5419
|
+
from: z.ZodString;
|
|
5420
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
5421
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
5422
|
+
table: z.ZodString;
|
|
5423
|
+
column: z.ZodString;
|
|
5424
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5425
|
+
addOn: z.ZodString;
|
|
5426
|
+
setting: z.ZodString;
|
|
5427
|
+
}, z.core.$strict>]>>;
|
|
5428
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
3183
5429
|
}, z.core.$strict>>;
|
|
3184
5430
|
code: z.ZodOptional<z.ZodObject<{
|
|
3185
5431
|
prefix: z.ZodOptional<z.ZodString>;
|
|
3186
5432
|
length: z.ZodNumber;
|
|
3187
5433
|
}, z.core.$strict>>;
|
|
5434
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
5435
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
5436
|
+
trim: "trim";
|
|
5437
|
+
email: "email";
|
|
5438
|
+
}>>;
|
|
3188
5439
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
3189
5440
|
from: z.ZodString;
|
|
3190
5441
|
via: z.ZodString;
|
|
@@ -3204,22 +5455,72 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
3204
5455
|
}, z.core.$strict>>;
|
|
3205
5456
|
stamp: z.ZodOptional<z.ZodObject<{
|
|
3206
5457
|
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
5458
|
+
today: "today";
|
|
3207
5459
|
now: "now";
|
|
3208
5460
|
"user-name": "user-name";
|
|
3209
5461
|
"user-id": "user-id";
|
|
3210
5462
|
}>, z.ZodObject<{
|
|
3211
5463
|
byOrigin: z.ZodObject<{
|
|
3212
5464
|
public: z.ZodString;
|
|
3213
|
-
staff: z.ZodString
|
|
5465
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
5466
|
+
}, z.core.$strict>;
|
|
5467
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5468
|
+
claim: z.ZodString;
|
|
5469
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
5470
|
+
"user-name": "user-name";
|
|
5471
|
+
"user-id": "user-id";
|
|
5472
|
+
}>>;
|
|
5473
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5474
|
+
copy: z.ZodString;
|
|
5475
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5476
|
+
addDays: z.ZodObject<{
|
|
5477
|
+
date: z.ZodString;
|
|
5478
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
5479
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
5480
|
+
}, z.core.$strict>;
|
|
5481
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5482
|
+
hashOf: z.ZodObject<{
|
|
5483
|
+
columns: z.ZodArray<z.ZodString>;
|
|
5484
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5485
|
+
table: z.ZodString;
|
|
5486
|
+
via: z.ZodString;
|
|
5487
|
+
columns: z.ZodArray<z.ZodString>;
|
|
5488
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
5489
|
+
}, z.core.$strict>>>;
|
|
5490
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5491
|
+
via: z.ZodString;
|
|
5492
|
+
table: z.ZodString;
|
|
5493
|
+
columns: z.ZodArray<z.ZodString>;
|
|
5494
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5495
|
+
table: z.ZodString;
|
|
5496
|
+
via: z.ZodString;
|
|
5497
|
+
columns: z.ZodArray<z.ZodString>;
|
|
5498
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
5499
|
+
}, z.core.$strict>>>;
|
|
5500
|
+
}, z.core.$strict>>>;
|
|
3214
5501
|
}, z.core.$strict>;
|
|
3215
5502
|
}, z.core.$strict>]>;
|
|
3216
|
-
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
5503
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
3217
5504
|
column: z.ZodString;
|
|
3218
5505
|
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3219
|
-
}, z.core.$strict
|
|
5506
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5507
|
+
column: z.ZodString;
|
|
5508
|
+
filled: z.ZodLiteral<true>;
|
|
5509
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
5510
|
+
column: z.ZodString;
|
|
5511
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5512
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5513
|
+
column: z.ZodString;
|
|
5514
|
+
filled: z.ZodLiteral<true>;
|
|
5515
|
+
}, z.core.$strict>]>>]>;
|
|
3220
5516
|
}, z.core.$strict>>;
|
|
3221
5517
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3222
5518
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
5519
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
5520
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
5521
|
+
column: z.ZodString;
|
|
5522
|
+
via: z.ZodOptional<z.ZodString>;
|
|
5523
|
+
}, z.core.$strict>>;
|
|
3223
5524
|
}, z.core.$strict>>;
|
|
3224
5525
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
3225
5526
|
}, z.core.$strict>>;
|
|
@@ -3332,6 +5633,48 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
3332
5633
|
}, z.core.$strict>;
|
|
3333
5634
|
}, z.core.$strict>>;
|
|
3334
5635
|
}, z.core.$strict>>;
|
|
5636
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
5637
|
+
column: z.ZodString;
|
|
5638
|
+
initial: z.ZodString;
|
|
5639
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5640
|
+
to: z.ZodString;
|
|
5641
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
5642
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
5643
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5644
|
+
column: z.ZodString;
|
|
5645
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5646
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
5647
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
5648
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
5649
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
5650
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
5651
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
5652
|
+
}, z.core.$strict>>>;
|
|
5653
|
+
}, z.core.$strict>>;
|
|
5654
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5655
|
+
}, z.core.$strict>]>>>;
|
|
5656
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
5657
|
+
when: z.ZodArray<z.ZodString>;
|
|
5658
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5659
|
+
}, z.core.$strict>>;
|
|
5660
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5661
|
+
via: z.ZodString;
|
|
5662
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5663
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5664
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5665
|
+
}, z.core.$strict>>>;
|
|
5666
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5667
|
+
table: z.ZodString;
|
|
5668
|
+
via: z.ZodString;
|
|
5669
|
+
in: z.ZodArray<z.ZodString>;
|
|
5670
|
+
}, z.core.$strict>>>;
|
|
5671
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
5672
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
5673
|
+
}, z.core.$strict>>;
|
|
5674
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5675
|
+
}, z.core.$strict>>;
|
|
5676
|
+
builtOn: z.ZodOptional<z.ZodString>;
|
|
5677
|
+
part: z.ZodOptional<z.ZodString>;
|
|
3335
5678
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
3336
5679
|
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
3337
5680
|
keyField: z.ZodOptional<z.ZodString>;
|
|
@@ -3428,11 +5771,11 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
3428
5771
|
}, z.core.$strict>>;
|
|
3429
5772
|
}, z.core.$strict>], "type">>>;
|
|
3430
5773
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5774
|
+
payments: "payments";
|
|
3431
5775
|
"hosted-only": "hosted-only";
|
|
3432
5776
|
"offline-required": "offline-required";
|
|
3433
5777
|
"receipt-printer": "receipt-printer";
|
|
3434
5778
|
"barcode-scanner": "barcode-scanner";
|
|
3435
|
-
payments: "payments";
|
|
3436
5779
|
"file-storage": "file-storage";
|
|
3437
5780
|
"email-delivery": "email-delivery";
|
|
3438
5781
|
realtime: "realtime";
|