@adminiumjs/manifest 0.3.0-rc.4 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/booking.d.ts +100 -0
- package/dist/booking.d.ts.map +1 -0
- package/dist/booking.js +237 -0
- package/dist/booking.js.map +1 -0
- package/dist/documents.d.ts +100 -0
- package/dist/documents.d.ts.map +1 -0
- package/dist/documents.js +148 -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 +14 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -3
- package/dist/index.js.map +1 -1
- package/dist/outbox.d.ts +543 -0
- package/dist/outbox.d.ts.map +1 -0
- package/dist/outbox.js +559 -0
- package/dist/outbox.js.map +1 -0
- package/dist/page-calendar.d.ts +42 -0
- package/dist/page-calendar.d.ts.map +1 -0
- package/dist/page-calendar.js +95 -0
- package/dist/page-calendar.js.map +1 -0
- package/dist/plan-model.d.ts +1 -1
- package/dist/plan-model.d.ts.map +1 -1
- package/dist/public-access.d.ts +208 -0
- package/dist/public-access.d.ts.map +1 -0
- package/dist/public-access.js +681 -0
- package/dist/public-access.js.map +1 -0
- package/dist/refs.d.ts +91 -0
- package/dist/refs.d.ts.map +1 -0
- package/dist/refs.js +82 -0
- package/dist/refs.js.map +1 -0
- package/dist/roles.d.ts +44 -0
- package/dist/roles.d.ts.map +1 -0
- package/dist/roles.js +75 -0
- package/dist/roles.js.map +1 -0
- package/dist/sample.d.ts +150 -2
- package/dist/sample.d.ts.map +1 -1
- package/dist/sample.js +101 -3
- package/dist/sample.js.map +1 -1
- package/dist/schema.d.ts +3464 -151
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +681 -143
- package/dist/schema.js.map +1 -1
- package/dist/semver.d.ts +28 -0
- package/dist/semver.d.ts.map +1 -0
- package/dist/semver.js +85 -0
- package/dist/semver.js.map +1 -0
- 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,6 +10,16 @@
|
|
|
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';
|
|
14
|
+
import { bookingSchema } from './booking.js';
|
|
15
|
+
import { type AppDocument } from './documents.js';
|
|
16
|
+
import { emailTemplateSchema, outboxSchema } from './outbox.js';
|
|
17
|
+
import { publicAccessSchema, publicKeysSchema, type PublicAccess } from './public-access.js';
|
|
18
|
+
import { type RoleShape } from './roles.js';
|
|
19
|
+
import { type States } from './states.js';
|
|
20
|
+
import { labelsSchema } from './refs.js';
|
|
21
|
+
import { compareSemver } from './semver.js';
|
|
22
|
+
export { compareSemver };
|
|
13
23
|
/** Integer spec version, frozen at 1 for Adminium 1.x. */
|
|
14
24
|
export declare const MANIFEST_VERSION = 1;
|
|
15
25
|
/**
|
|
@@ -107,11 +117,11 @@ export declare const identitySchema: z.ZodObject<{
|
|
|
107
117
|
export declare const RESERVED_KEYS: readonly ["apps", "add-on", "add-ons", "dashboard", "demo", "index", "search"];
|
|
108
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"];
|
|
109
119
|
export declare const capabilitySchema: z.ZodEnum<{
|
|
120
|
+
payments: "payments";
|
|
110
121
|
"hosted-only": "hosted-only";
|
|
111
122
|
"offline-required": "offline-required";
|
|
112
123
|
"receipt-printer": "receipt-printer";
|
|
113
124
|
"barcode-scanner": "barcode-scanner";
|
|
114
|
-
payments: "payments";
|
|
115
125
|
"file-storage": "file-storage";
|
|
116
126
|
"email-delivery": "email-delivery";
|
|
117
127
|
realtime: "realtime";
|
|
@@ -130,17 +140,18 @@ export declare const compatibilitySchema: z.ZodObject<{
|
|
|
130
140
|
sqlite: "sqlite";
|
|
131
141
|
}>>>;
|
|
132
142
|
requires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
143
|
+
payments: "payments";
|
|
133
144
|
"hosted-only": "hosted-only";
|
|
134
145
|
"offline-required": "offline-required";
|
|
135
146
|
"receipt-printer": "receipt-printer";
|
|
136
147
|
"barcode-scanner": "barcode-scanner";
|
|
137
|
-
payments: "payments";
|
|
138
148
|
"file-storage": "file-storage";
|
|
139
149
|
"email-delivery": "email-delivery";
|
|
140
150
|
realtime: "realtime";
|
|
141
151
|
"outbound-http": "outbound-http";
|
|
142
152
|
"oauth-connect": "oauth-connect";
|
|
143
153
|
}>>>;
|
|
154
|
+
updatesFrom: z.ZodOptional<z.ZodString>;
|
|
144
155
|
}, z.core.$strict>;
|
|
145
156
|
/** Abstract column types the introspection engine emits (research). */
|
|
146
157
|
export declare const COLUMN_TYPES: readonly ["id", "text", "int", "bigint", "decimal", "money", "float", "bool", "enum", "json", "date", "timestamptz", "uuid", "fk", "blob"];
|
|
@@ -148,23 +159,78 @@ export declare const COLUMN_TYPES: readonly ["id", "text", "int", "bigint", "dec
|
|
|
148
159
|
export declare const COLUMN_SEMANTICS: readonly ["name", "money", "image", "email", "avatar", "geo-lat", "geo-lng"];
|
|
149
160
|
/** Structural role markers. */
|
|
150
161
|
export declare const COLUMN_ROLES: readonly ["pk", "created_at", "updated_at"];
|
|
151
|
-
|
|
152
|
-
export declare const labelsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
162
|
+
export { labelsSchema };
|
|
153
163
|
/**
|
|
154
|
-
*
|
|
155
|
-
* overrides at install). The first five are the rules an operator can set in
|
|
156
|
-
* the column inspector; the rest are the ones Adminium DECIDES for a public
|
|
157
|
-
* write, so a browser never picks a price, a number or a code:
|
|
164
|
+
* What a stamp writes:
|
|
158
165
|
*
|
|
159
|
-
* - `
|
|
160
|
-
*
|
|
161
|
-
* - `
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
* - `
|
|
165
|
-
*
|
|
166
|
-
*
|
|
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.
|
|
167
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>]>;
|
|
168
234
|
export declare const columnRulesSchema: z.ZodObject<{
|
|
169
235
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
170
236
|
list: z.ZodString;
|
|
@@ -182,9 +248,9 @@ export declare const columnRulesSchema: z.ZodObject<{
|
|
|
182
248
|
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
183
249
|
validation: z.ZodOptional<z.ZodObject<{
|
|
184
250
|
format: z.ZodOptional<z.ZodEnum<{
|
|
185
|
-
url: "url";
|
|
186
251
|
email: "email";
|
|
187
252
|
phone: "phone";
|
|
253
|
+
url: "url";
|
|
188
254
|
}>>;
|
|
189
255
|
min: z.ZodOptional<z.ZodNumber>;
|
|
190
256
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -199,22 +265,133 @@ export declare const columnRulesSchema: z.ZodObject<{
|
|
|
199
265
|
always: "always";
|
|
200
266
|
}>>;
|
|
201
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>>;
|
|
202
277
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
203
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>;
|
|
204
300
|
}, z.core.$strict>>;
|
|
205
301
|
code: z.ZodOptional<z.ZodObject<{
|
|
206
302
|
prefix: z.ZodOptional<z.ZodString>;
|
|
207
303
|
length: z.ZodNumber;
|
|
208
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
|
+
}>>;
|
|
209
310
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
210
311
|
from: z.ZodString;
|
|
211
312
|
via: z.ZodString;
|
|
212
313
|
sum: z.ZodString;
|
|
213
314
|
times: z.ZodOptional<z.ZodString>;
|
|
214
315
|
unlessSet: z.ZodOptional<z.ZodString>;
|
|
316
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
317
|
+
column: z.ZodString;
|
|
318
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
319
|
+
}, z.core.$strict>>;
|
|
320
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
321
|
+
column: z.ZodString;
|
|
322
|
+
of: z.ZodString;
|
|
323
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
324
|
+
}, z.core.$strict>>;
|
|
325
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
326
|
+
}, z.core.$strict>>;
|
|
327
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
328
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
329
|
+
today: "today";
|
|
330
|
+
now: "now";
|
|
331
|
+
"user-name": "user-name";
|
|
332
|
+
"user-id": "user-id";
|
|
333
|
+
}>, z.ZodObject<{
|
|
334
|
+
byOrigin: z.ZodObject<{
|
|
335
|
+
public: 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>>>;
|
|
372
|
+
}, z.core.$strict>;
|
|
373
|
+
}, z.core.$strict>]>;
|
|
374
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
375
|
+
column: z.ZodString;
|
|
376
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
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>]>>]>;
|
|
215
387
|
}, z.core.$strict>>;
|
|
216
388
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
217
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>>;
|
|
218
395
|
}, z.core.$strict>;
|
|
219
396
|
export type ColumnRules = z.infer<typeof columnRulesSchema>;
|
|
220
397
|
/**
|
|
@@ -284,26 +461,26 @@ export declare const requiredColumnSchema: z.ZodObject<{
|
|
|
284
461
|
ref: z.ZodString;
|
|
285
462
|
type: z.ZodEnum<{
|
|
286
463
|
bigint: "bigint";
|
|
287
|
-
id: "id";
|
|
288
464
|
int: "int";
|
|
289
465
|
date: "date";
|
|
290
466
|
enum: "enum";
|
|
291
|
-
text: "text";
|
|
292
467
|
decimal: "decimal";
|
|
293
468
|
money: "money";
|
|
294
469
|
float: "float";
|
|
295
470
|
bool: "bool";
|
|
296
|
-
|
|
471
|
+
id: "id";
|
|
297
472
|
timestamptz: "timestamptz";
|
|
298
|
-
uuid: "uuid";
|
|
299
473
|
fk: "fk";
|
|
474
|
+
text: "text";
|
|
475
|
+
json: "json";
|
|
476
|
+
uuid: "uuid";
|
|
300
477
|
blob: "blob";
|
|
301
478
|
}>;
|
|
302
479
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
303
|
-
name: "name";
|
|
304
480
|
money: "money";
|
|
305
|
-
|
|
481
|
+
name: "name";
|
|
306
482
|
email: "email";
|
|
483
|
+
image: "image";
|
|
307
484
|
avatar: "avatar";
|
|
308
485
|
"geo-lat": "geo-lat";
|
|
309
486
|
"geo-lng": "geo-lng";
|
|
@@ -318,6 +495,8 @@ export declare const requiredColumnSchema: z.ZodObject<{
|
|
|
318
495
|
references: z.ZodOptional<z.ZodString>;
|
|
319
496
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
320
497
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
498
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
499
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
321
500
|
rules: z.ZodOptional<z.ZodObject<{
|
|
322
501
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
323
502
|
list: z.ZodString;
|
|
@@ -335,9 +514,9 @@ export declare const requiredColumnSchema: z.ZodObject<{
|
|
|
335
514
|
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
336
515
|
validation: z.ZodOptional<z.ZodObject<{
|
|
337
516
|
format: z.ZodOptional<z.ZodEnum<{
|
|
338
|
-
url: "url";
|
|
339
517
|
email: "email";
|
|
340
518
|
phone: "phone";
|
|
519
|
+
url: "url";
|
|
341
520
|
}>>;
|
|
342
521
|
min: z.ZodOptional<z.ZodNumber>;
|
|
343
522
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -352,22 +531,133 @@ export declare const requiredColumnSchema: z.ZodObject<{
|
|
|
352
531
|
always: "always";
|
|
353
532
|
}>>;
|
|
354
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>>;
|
|
355
543
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
356
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>;
|
|
357
566
|
}, z.core.$strict>>;
|
|
358
567
|
code: z.ZodOptional<z.ZodObject<{
|
|
359
568
|
prefix: z.ZodOptional<z.ZodString>;
|
|
360
569
|
length: z.ZodNumber;
|
|
361
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
|
+
}>>;
|
|
362
576
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
363
577
|
from: z.ZodString;
|
|
364
578
|
via: z.ZodString;
|
|
365
579
|
sum: z.ZodString;
|
|
366
580
|
times: z.ZodOptional<z.ZodString>;
|
|
367
581
|
unlessSet: z.ZodOptional<z.ZodString>;
|
|
582
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
583
|
+
column: z.ZodString;
|
|
584
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
585
|
+
}, z.core.$strict>>;
|
|
586
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
587
|
+
column: z.ZodString;
|
|
588
|
+
of: z.ZodString;
|
|
589
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
590
|
+
}, z.core.$strict>>;
|
|
591
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
592
|
+
}, z.core.$strict>>;
|
|
593
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
594
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
595
|
+
today: "today";
|
|
596
|
+
now: "now";
|
|
597
|
+
"user-name": "user-name";
|
|
598
|
+
"user-id": "user-id";
|
|
599
|
+
}>, z.ZodObject<{
|
|
600
|
+
byOrigin: z.ZodObject<{
|
|
601
|
+
public: 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>>>;
|
|
638
|
+
}, z.core.$strict>;
|
|
639
|
+
}, z.core.$strict>]>;
|
|
640
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
641
|
+
column: z.ZodString;
|
|
642
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
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>]>>]>;
|
|
368
653
|
}, z.core.$strict>>;
|
|
369
654
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
370
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>>;
|
|
371
661
|
}, z.core.$strict>>;
|
|
372
662
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
373
663
|
}, z.core.$strict>;
|
|
@@ -377,26 +667,26 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
377
667
|
ref: z.ZodString;
|
|
378
668
|
type: z.ZodEnum<{
|
|
379
669
|
bigint: "bigint";
|
|
380
|
-
id: "id";
|
|
381
670
|
int: "int";
|
|
382
671
|
date: "date";
|
|
383
672
|
enum: "enum";
|
|
384
|
-
text: "text";
|
|
385
673
|
decimal: "decimal";
|
|
386
674
|
money: "money";
|
|
387
675
|
float: "float";
|
|
388
676
|
bool: "bool";
|
|
389
|
-
|
|
677
|
+
id: "id";
|
|
390
678
|
timestamptz: "timestamptz";
|
|
391
|
-
uuid: "uuid";
|
|
392
679
|
fk: "fk";
|
|
680
|
+
text: "text";
|
|
681
|
+
json: "json";
|
|
682
|
+
uuid: "uuid";
|
|
393
683
|
blob: "blob";
|
|
394
684
|
}>;
|
|
395
685
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
396
|
-
name: "name";
|
|
397
686
|
money: "money";
|
|
398
|
-
|
|
687
|
+
name: "name";
|
|
399
688
|
email: "email";
|
|
689
|
+
image: "image";
|
|
400
690
|
avatar: "avatar";
|
|
401
691
|
"geo-lat": "geo-lat";
|
|
402
692
|
"geo-lng": "geo-lng";
|
|
@@ -411,6 +701,8 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
411
701
|
references: z.ZodOptional<z.ZodString>;
|
|
412
702
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
413
703
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
704
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
705
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
414
706
|
rules: z.ZodOptional<z.ZodObject<{
|
|
415
707
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
416
708
|
list: z.ZodString;
|
|
@@ -428,9 +720,9 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
428
720
|
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
429
721
|
validation: z.ZodOptional<z.ZodObject<{
|
|
430
722
|
format: z.ZodOptional<z.ZodEnum<{
|
|
431
|
-
url: "url";
|
|
432
723
|
email: "email";
|
|
433
724
|
phone: "phone";
|
|
725
|
+
url: "url";
|
|
434
726
|
}>>;
|
|
435
727
|
min: z.ZodOptional<z.ZodNumber>;
|
|
436
728
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -445,22 +737,133 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
445
737
|
always: "always";
|
|
446
738
|
}>>;
|
|
447
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>>;
|
|
448
749
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
449
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>;
|
|
450
772
|
}, z.core.$strict>>;
|
|
451
773
|
code: z.ZodOptional<z.ZodObject<{
|
|
452
774
|
prefix: z.ZodOptional<z.ZodString>;
|
|
453
775
|
length: z.ZodNumber;
|
|
454
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
|
+
}>>;
|
|
455
782
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
456
783
|
from: z.ZodString;
|
|
457
784
|
via: z.ZodString;
|
|
458
785
|
sum: z.ZodString;
|
|
459
786
|
times: z.ZodOptional<z.ZodString>;
|
|
460
787
|
unlessSet: z.ZodOptional<z.ZodString>;
|
|
788
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
789
|
+
column: z.ZodString;
|
|
790
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
791
|
+
}, z.core.$strict>>;
|
|
792
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
793
|
+
column: z.ZodString;
|
|
794
|
+
of: z.ZodString;
|
|
795
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
796
|
+
}, z.core.$strict>>;
|
|
797
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
798
|
+
}, z.core.$strict>>;
|
|
799
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
800
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
801
|
+
today: "today";
|
|
802
|
+
now: "now";
|
|
803
|
+
"user-name": "user-name";
|
|
804
|
+
"user-id": "user-id";
|
|
805
|
+
}>, z.ZodObject<{
|
|
806
|
+
byOrigin: z.ZodObject<{
|
|
807
|
+
public: 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>>>;
|
|
844
|
+
}, z.core.$strict>;
|
|
845
|
+
}, z.core.$strict>]>;
|
|
846
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
847
|
+
column: z.ZodString;
|
|
848
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
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>]>>]>;
|
|
461
859
|
}, z.core.$strict>>;
|
|
462
860
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
463
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>>;
|
|
464
867
|
}, z.core.$strict>>;
|
|
465
868
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
466
869
|
}, z.core.$strict>>;
|
|
@@ -498,6 +901,123 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
498
901
|
column: z.ZodString;
|
|
499
902
|
}, z.core.$strict>]>>;
|
|
500
903
|
}, z.core.$strict>>;
|
|
904
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
905
|
+
start: z.ZodString;
|
|
906
|
+
minutes: z.ZodString;
|
|
907
|
+
resource: z.ZodString;
|
|
908
|
+
kind: z.ZodString;
|
|
909
|
+
countWhere: z.ZodObject<{
|
|
910
|
+
column: z.ZodString;
|
|
911
|
+
values: z.ZodArray<z.ZodString>;
|
|
912
|
+
}, z.core.$strict>;
|
|
913
|
+
eligible: z.ZodObject<{
|
|
914
|
+
table: z.ZodString;
|
|
915
|
+
resource: z.ZodString;
|
|
916
|
+
kind: z.ZodString;
|
|
917
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
918
|
+
table: z.ZodString;
|
|
919
|
+
column: z.ZodString;
|
|
920
|
+
active: z.ZodOptional<z.ZodString>;
|
|
921
|
+
public: z.ZodOptional<z.ZodString>;
|
|
922
|
+
}, z.core.$strict>>;
|
|
923
|
+
}, z.core.$strict>;
|
|
924
|
+
hours: z.ZodObject<{
|
|
925
|
+
practice: z.ZodObject<{
|
|
926
|
+
weekday: z.ZodString;
|
|
927
|
+
opens: z.ZodString;
|
|
928
|
+
closes: z.ZodString;
|
|
929
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
930
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
931
|
+
table: z.ZodString;
|
|
932
|
+
open: z.ZodOptional<z.ZodString>;
|
|
933
|
+
}, z.core.$strict>;
|
|
934
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
935
|
+
weekday: z.ZodString;
|
|
936
|
+
opens: z.ZodString;
|
|
937
|
+
closes: z.ZodString;
|
|
938
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
939
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
940
|
+
table: z.ZodString;
|
|
941
|
+
resource: z.ZodString;
|
|
942
|
+
}, z.core.$strict>>;
|
|
943
|
+
}, z.core.$strict>;
|
|
944
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
945
|
+
table: z.ZodString;
|
|
946
|
+
from: z.ZodString;
|
|
947
|
+
to: z.ZodString;
|
|
948
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
949
|
+
active: z.ZodOptional<z.ZodString>;
|
|
950
|
+
}, z.core.$strict>>;
|
|
951
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
952
|
+
table: z.ZodString;
|
|
953
|
+
column: z.ZodString;
|
|
954
|
+
}, z.core.$strict>]>;
|
|
955
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
956
|
+
table: z.ZodString;
|
|
957
|
+
column: z.ZodString;
|
|
958
|
+
}, z.core.$strict>]>>;
|
|
959
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
960
|
+
table: z.ZodString;
|
|
961
|
+
column: z.ZodString;
|
|
962
|
+
}, z.core.$strict>]>>;
|
|
963
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
964
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
965
|
+
table: z.ZodString;
|
|
966
|
+
column: z.ZodString;
|
|
967
|
+
}, z.core.$strict>]>;
|
|
968
|
+
mode: z.ZodEnum<{
|
|
969
|
+
refuse: "refuse";
|
|
970
|
+
flag: "flag";
|
|
971
|
+
}>;
|
|
972
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
973
|
+
when: z.ZodObject<{
|
|
974
|
+
column: z.ZodString;
|
|
975
|
+
to: z.ZodString;
|
|
976
|
+
}, z.core.$strict>;
|
|
977
|
+
}, z.core.$strict>>;
|
|
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>;
|
|
501
1021
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
502
1022
|
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
503
1023
|
keyField: z.ZodOptional<z.ZodString>;
|
|
@@ -509,26 +1029,26 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
509
1029
|
ref: z.ZodString;
|
|
510
1030
|
type: z.ZodEnum<{
|
|
511
1031
|
bigint: "bigint";
|
|
512
|
-
id: "id";
|
|
513
1032
|
int: "int";
|
|
514
1033
|
date: "date";
|
|
515
1034
|
enum: "enum";
|
|
516
|
-
text: "text";
|
|
517
1035
|
decimal: "decimal";
|
|
518
1036
|
money: "money";
|
|
519
1037
|
float: "float";
|
|
520
1038
|
bool: "bool";
|
|
521
|
-
|
|
1039
|
+
id: "id";
|
|
522
1040
|
timestamptz: "timestamptz";
|
|
523
|
-
uuid: "uuid";
|
|
524
1041
|
fk: "fk";
|
|
1042
|
+
text: "text";
|
|
1043
|
+
json: "json";
|
|
1044
|
+
uuid: "uuid";
|
|
525
1045
|
blob: "blob";
|
|
526
1046
|
}>;
|
|
527
1047
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
528
|
-
name: "name";
|
|
529
1048
|
money: "money";
|
|
530
|
-
|
|
1049
|
+
name: "name";
|
|
531
1050
|
email: "email";
|
|
1051
|
+
image: "image";
|
|
532
1052
|
avatar: "avatar";
|
|
533
1053
|
"geo-lat": "geo-lat";
|
|
534
1054
|
"geo-lng": "geo-lng";
|
|
@@ -543,6 +1063,8 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
543
1063
|
references: z.ZodOptional<z.ZodString>;
|
|
544
1064
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
545
1065
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1066
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
1067
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
546
1068
|
rules: z.ZodOptional<z.ZodObject<{
|
|
547
1069
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
548
1070
|
list: z.ZodString;
|
|
@@ -560,9 +1082,9 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
560
1082
|
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
561
1083
|
validation: z.ZodOptional<z.ZodObject<{
|
|
562
1084
|
format: z.ZodOptional<z.ZodEnum<{
|
|
563
|
-
url: "url";
|
|
564
1085
|
email: "email";
|
|
565
1086
|
phone: "phone";
|
|
1087
|
+
url: "url";
|
|
566
1088
|
}>>;
|
|
567
1089
|
min: z.ZodOptional<z.ZodNumber>;
|
|
568
1090
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -577,22 +1099,133 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
577
1099
|
always: "always";
|
|
578
1100
|
}>>;
|
|
579
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>>;
|
|
580
1111
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
581
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>;
|
|
582
1134
|
}, z.core.$strict>>;
|
|
583
1135
|
code: z.ZodOptional<z.ZodObject<{
|
|
584
1136
|
prefix: z.ZodOptional<z.ZodString>;
|
|
585
1137
|
length: z.ZodNumber;
|
|
586
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
|
+
}>>;
|
|
587
1144
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
588
1145
|
from: z.ZodString;
|
|
589
1146
|
via: z.ZodString;
|
|
590
1147
|
sum: z.ZodString;
|
|
591
1148
|
times: z.ZodOptional<z.ZodString>;
|
|
592
1149
|
unlessSet: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1151
|
+
column: z.ZodString;
|
|
1152
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1153
|
+
}, z.core.$strict>>;
|
|
1154
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
1155
|
+
column: z.ZodString;
|
|
1156
|
+
of: z.ZodString;
|
|
1157
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1158
|
+
}, z.core.$strict>>;
|
|
1159
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1160
|
+
}, z.core.$strict>>;
|
|
1161
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
1162
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1163
|
+
today: "today";
|
|
1164
|
+
now: "now";
|
|
1165
|
+
"user-name": "user-name";
|
|
1166
|
+
"user-id": "user-id";
|
|
1167
|
+
}>, z.ZodObject<{
|
|
1168
|
+
byOrigin: z.ZodObject<{
|
|
1169
|
+
public: 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>>>;
|
|
1206
|
+
}, z.core.$strict>;
|
|
1207
|
+
}, z.core.$strict>]>;
|
|
1208
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
1209
|
+
column: z.ZodString;
|
|
1210
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
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>]>>]>;
|
|
593
1221
|
}, z.core.$strict>>;
|
|
594
1222
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
595
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>>;
|
|
596
1229
|
}, z.core.$strict>>;
|
|
597
1230
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
598
1231
|
}, z.core.$strict>>;
|
|
@@ -630,12 +1263,930 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
630
1263
|
column: z.ZodString;
|
|
631
1264
|
}, z.core.$strict>]>>;
|
|
632
1265
|
}, z.core.$strict>>;
|
|
633
|
-
|
|
634
|
-
|
|
1266
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
1267
|
+
start: z.ZodString;
|
|
1268
|
+
minutes: z.ZodString;
|
|
1269
|
+
resource: z.ZodString;
|
|
1270
|
+
kind: z.ZodString;
|
|
1271
|
+
countWhere: z.ZodObject<{
|
|
1272
|
+
column: z.ZodString;
|
|
1273
|
+
values: z.ZodArray<z.ZodString>;
|
|
1274
|
+
}, z.core.$strict>;
|
|
1275
|
+
eligible: z.ZodObject<{
|
|
1276
|
+
table: z.ZodString;
|
|
1277
|
+
resource: z.ZodString;
|
|
1278
|
+
kind: z.ZodString;
|
|
1279
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
1280
|
+
table: z.ZodString;
|
|
1281
|
+
column: 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>]>>;
|
|
635
1385
|
keyField: z.ZodOptional<z.ZodString>;
|
|
636
1386
|
}, z.core.$strict>>;
|
|
637
1387
|
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
638
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
|
+
}, z.core.$strict>;
|
|
1910
|
+
}, z.core.$strict>]>>;
|
|
1911
|
+
statement: z.ZodOptional<z.ZodObject<{
|
|
1912
|
+
documents: z.ZodObject<{
|
|
1913
|
+
table: z.ZodString;
|
|
1914
|
+
via: z.ZodString;
|
|
1915
|
+
date: z.ZodString;
|
|
1916
|
+
amount: z.ZodString;
|
|
1917
|
+
number: z.ZodOptional<z.ZodString>;
|
|
1918
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1919
|
+
column: z.ZodString;
|
|
1920
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1921
|
+
}, z.core.$strict>>;
|
|
1922
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
1923
|
+
}, z.core.$strict>;
|
|
1924
|
+
payments: z.ZodObject<{
|
|
1925
|
+
table: z.ZodString;
|
|
1926
|
+
via: z.ZodString;
|
|
1927
|
+
date: z.ZodString;
|
|
1928
|
+
amount: z.ZodString;
|
|
1929
|
+
number: z.ZodOptional<z.ZodString>;
|
|
1930
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1931
|
+
column: z.ZodString;
|
|
1932
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1933
|
+
}, z.core.$strict>>;
|
|
1934
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
1935
|
+
}, z.core.$strict>;
|
|
1936
|
+
}, z.core.$strict>>;
|
|
1937
|
+
part: z.ZodString;
|
|
1938
|
+
}, z.core.$strict>>>;
|
|
1939
|
+
outbox: z.ZodOptional<z.ZodObject<{
|
|
1940
|
+
producers: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1941
|
+
onCreate: z.ZodObject<{
|
|
1942
|
+
table: z.ZodString;
|
|
1943
|
+
via: z.ZodOptional<z.ZodString>;
|
|
1944
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1945
|
+
column: z.ZodString;
|
|
1946
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1947
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1948
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
1949
|
+
}, z.core.$strict>>;
|
|
1950
|
+
}, z.core.$strict>;
|
|
1951
|
+
kind: z.ZodString;
|
|
1952
|
+
link: z.ZodString;
|
|
1953
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
1954
|
+
setting: z.ZodObject<{
|
|
1955
|
+
table: z.ZodString;
|
|
1956
|
+
column: z.ZodString;
|
|
1957
|
+
}, z.core.$strict>;
|
|
1958
|
+
}, z.core.$strict>]>>;
|
|
1959
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1960
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1961
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
1962
|
+
date: z.ZodString;
|
|
1963
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1964
|
+
byColumn: z.ZodString;
|
|
1965
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
1966
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1967
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
1968
|
+
table: z.ZodString;
|
|
1969
|
+
column: z.ZodString;
|
|
1970
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1971
|
+
addOn: z.ZodString;
|
|
1972
|
+
setting: z.ZodString;
|
|
1973
|
+
}, z.core.$strict>]>;
|
|
1974
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
1975
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
1976
|
+
}, z.core.$strict>]>;
|
|
1977
|
+
at: z.ZodOptional<z.ZodString>;
|
|
1978
|
+
}, z.core.$strict>>;
|
|
1979
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
1980
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1981
|
+
column: z.ZodString;
|
|
1982
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1983
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1984
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
1985
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
1986
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
1987
|
+
reason: z.ZodEnum<{
|
|
1988
|
+
void: "void";
|
|
1989
|
+
paid: "paid";
|
|
1990
|
+
"no-longer-needed": "no-longer-needed";
|
|
1991
|
+
}>;
|
|
1992
|
+
}, z.core.$strict>>>;
|
|
1993
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
1994
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
1995
|
+
table: z.ZodString;
|
|
1996
|
+
column: z.ZodString;
|
|
1997
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1998
|
+
addOn: z.ZodString;
|
|
1999
|
+
setting: z.ZodString;
|
|
2000
|
+
}, z.core.$strict>]>;
|
|
2001
|
+
}, z.core.$strict>>;
|
|
2002
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
2003
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
2004
|
+
table: z.ZodString;
|
|
2005
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2006
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
2007
|
+
}, z.core.$strict>>;
|
|
2008
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2009
|
+
onChange: z.ZodObject<{
|
|
2010
|
+
table: z.ZodString;
|
|
2011
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2012
|
+
column: z.ZodString;
|
|
2013
|
+
to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
2014
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
2015
|
+
column: z.ZodString;
|
|
2016
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2017
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2018
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2019
|
+
}, z.core.$strict>>;
|
|
2020
|
+
}, z.core.$strict>;
|
|
2021
|
+
kind: z.ZodString;
|
|
2022
|
+
link: z.ZodString;
|
|
2023
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
2024
|
+
setting: z.ZodObject<{
|
|
2025
|
+
table: z.ZodString;
|
|
2026
|
+
column: z.ZodString;
|
|
2027
|
+
}, z.core.$strict>;
|
|
2028
|
+
}, z.core.$strict>]>>;
|
|
2029
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2030
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2031
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
2032
|
+
date: z.ZodString;
|
|
2033
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2034
|
+
byColumn: z.ZodString;
|
|
2035
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2036
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2037
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
2038
|
+
table: z.ZodString;
|
|
2039
|
+
column: z.ZodString;
|
|
2040
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2041
|
+
addOn: z.ZodString;
|
|
2042
|
+
setting: z.ZodString;
|
|
2043
|
+
}, z.core.$strict>]>;
|
|
2044
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
2045
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
2046
|
+
}, z.core.$strict>]>;
|
|
2047
|
+
at: z.ZodOptional<z.ZodString>;
|
|
2048
|
+
}, z.core.$strict>>;
|
|
2049
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
2050
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2051
|
+
column: z.ZodString;
|
|
2052
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2053
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2054
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2055
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
2056
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
2057
|
+
reason: z.ZodEnum<{
|
|
2058
|
+
void: "void";
|
|
2059
|
+
paid: "paid";
|
|
2060
|
+
"no-longer-needed": "no-longer-needed";
|
|
2061
|
+
}>;
|
|
2062
|
+
}, z.core.$strict>>>;
|
|
2063
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
2064
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
2065
|
+
table: z.ZodString;
|
|
2066
|
+
column: z.ZodString;
|
|
2067
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2068
|
+
addOn: z.ZodString;
|
|
2069
|
+
setting: z.ZodString;
|
|
2070
|
+
}, z.core.$strict>]>;
|
|
2071
|
+
}, z.core.$strict>>;
|
|
2072
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
2073
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
2074
|
+
table: z.ZodString;
|
|
2075
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2076
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
2077
|
+
}, z.core.$strict>>;
|
|
2078
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2079
|
+
before: z.ZodObject<{
|
|
2080
|
+
table: z.ZodString;
|
|
2081
|
+
at: z.ZodString;
|
|
2082
|
+
lead: z.ZodObject<{
|
|
2083
|
+
via: z.ZodString;
|
|
2084
|
+
table: z.ZodString;
|
|
2085
|
+
column: z.ZodString;
|
|
2086
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
2087
|
+
table: z.ZodString;
|
|
2088
|
+
column: z.ZodString;
|
|
2089
|
+
}, z.core.$strict>>;
|
|
2090
|
+
max: z.ZodNumber;
|
|
2091
|
+
}, z.core.$strict>;
|
|
2092
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
2093
|
+
column: z.ZodString;
|
|
2094
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2095
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2096
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2097
|
+
}, z.core.$strict>>;
|
|
2098
|
+
}, z.core.$strict>;
|
|
2099
|
+
kind: z.ZodString;
|
|
2100
|
+
link: z.ZodString;
|
|
2101
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
2102
|
+
setting: z.ZodObject<{
|
|
2103
|
+
table: z.ZodString;
|
|
2104
|
+
column: z.ZodString;
|
|
2105
|
+
}, z.core.$strict>;
|
|
2106
|
+
}, z.core.$strict>]>>;
|
|
2107
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2108
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2109
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
2110
|
+
date: z.ZodString;
|
|
2111
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2112
|
+
byColumn: z.ZodString;
|
|
2113
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2114
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2115
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
2116
|
+
table: z.ZodString;
|
|
2117
|
+
column: z.ZodString;
|
|
2118
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2119
|
+
addOn: z.ZodString;
|
|
2120
|
+
setting: z.ZodString;
|
|
2121
|
+
}, z.core.$strict>]>;
|
|
2122
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
2123
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
2124
|
+
}, z.core.$strict>]>;
|
|
2125
|
+
at: z.ZodOptional<z.ZodString>;
|
|
2126
|
+
}, z.core.$strict>>;
|
|
2127
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
2128
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2129
|
+
column: z.ZodString;
|
|
2130
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2131
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2132
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2133
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
2134
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
2135
|
+
reason: z.ZodEnum<{
|
|
2136
|
+
void: "void";
|
|
2137
|
+
paid: "paid";
|
|
2138
|
+
"no-longer-needed": "no-longer-needed";
|
|
2139
|
+
}>;
|
|
2140
|
+
}, z.core.$strict>>>;
|
|
2141
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
2142
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
2143
|
+
table: z.ZodString;
|
|
2144
|
+
column: z.ZodString;
|
|
2145
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2146
|
+
addOn: z.ZodString;
|
|
2147
|
+
setting: z.ZodString;
|
|
2148
|
+
}, z.core.$strict>]>;
|
|
2149
|
+
}, z.core.$strict>>;
|
|
2150
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
2151
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
2152
|
+
table: z.ZodString;
|
|
2153
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2154
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
2155
|
+
}, z.core.$strict>>;
|
|
2156
|
+
}, z.core.$strict>]>>;
|
|
2157
|
+
templates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2158
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
2159
|
+
attach: z.ZodOptional<z.ZodObject<{
|
|
2160
|
+
kind: z.ZodString;
|
|
2161
|
+
link: z.ZodString;
|
|
2162
|
+
}, z.core.$strict>>;
|
|
2163
|
+
vars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2164
|
+
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2165
|
+
subject: z.ZodString;
|
|
2166
|
+
preheader: z.ZodOptional<z.ZodString>;
|
|
2167
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
2168
|
+
block: z.ZodString;
|
|
2169
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2170
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2171
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2172
|
+
}, z.core.$strict>>;
|
|
2173
|
+
footer: z.ZodOptional<z.ZodString>;
|
|
2174
|
+
}, z.core.$strict>>;
|
|
2175
|
+
kind: z.ZodString;
|
|
2176
|
+
}, z.core.$strict>>>;
|
|
2177
|
+
}, z.core.$strict>>;
|
|
2178
|
+
}, z.core.$strict>;
|
|
2179
|
+
export type ShapeDefinition = z.infer<typeof shapeDefinitionSchema>;
|
|
2180
|
+
/**
|
|
2181
|
+
* Everything wrong inside an add-on's shapes: each part is checked as the
|
|
2182
|
+
* app's tables are, with the parts of all its shapes as the tables (another
|
|
2183
|
+
* shape's part as `<name>@<version>/<part>`), and its rules may read only the
|
|
2184
|
+
* add-on's own settings.
|
|
2185
|
+
*/
|
|
2186
|
+
export declare function shapeDefinitionIssues(addOn: string, settings: readonly string[], shapes: readonly ShapeDefinition[]): {
|
|
2187
|
+
path: (string | number)[];
|
|
2188
|
+
message: string;
|
|
2189
|
+
}[];
|
|
639
2190
|
export declare const pageNavSchema: z.ZodObject<{
|
|
640
2191
|
group: z.ZodString;
|
|
641
2192
|
icon: z.ZodString;
|
|
@@ -656,6 +2207,7 @@ export declare const pageSchema: z.ZodObject<{
|
|
|
656
2207
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
657
2208
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
658
2209
|
titles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2210
|
+
feature: z.ZodOptional<z.ZodString>;
|
|
659
2211
|
}, z.core.$strict>;
|
|
660
2212
|
export declare const roleSchema: z.ZodObject<{
|
|
661
2213
|
key: z.ZodString;
|
|
@@ -663,6 +2215,10 @@ export declare const roleSchema: z.ZodObject<{
|
|
|
663
2215
|
cloneFrom: z.ZodOptional<z.ZodString>;
|
|
664
2216
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
665
2217
|
screensOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2218
|
+
limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2219
|
+
writable: z.ZodArray<z.ZodString>;
|
|
2220
|
+
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
2221
|
+
}, z.core.$strict>>>;
|
|
666
2222
|
}, z.core.$strict>;
|
|
667
2223
|
export declare const settingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
668
2224
|
type: z.ZodLiteral<"string">;
|
|
@@ -778,8 +2334,8 @@ export declare const frontendEnvVarSchema: z.ZodObject<{
|
|
|
778
2334
|
export declare const FRONTEND_SIDES: readonly ["staff", "customer"];
|
|
779
2335
|
export declare const frontendSchema: z.ZodObject<{
|
|
780
2336
|
side: z.ZodEnum<{
|
|
781
|
-
staff: "staff";
|
|
782
2337
|
customer: "customer";
|
|
2338
|
+
staff: "staff";
|
|
783
2339
|
}>;
|
|
784
2340
|
kind: z.ZodEnum<{
|
|
785
2341
|
spa: "spa";
|
|
@@ -793,8 +2349,8 @@ export declare const frontendSchema: z.ZodObject<{
|
|
|
793
2349
|
}, z.core.$strict>>>;
|
|
794
2350
|
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
795
2351
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
796
|
-
internal: "internal";
|
|
797
2352
|
external: "external";
|
|
2353
|
+
internal: "internal";
|
|
798
2354
|
}>>;
|
|
799
2355
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
800
2356
|
}, z.core.$strict>;
|
|
@@ -817,59 +2373,8 @@ export declare const navGroupSchema: z.ZodObject<{
|
|
|
817
2373
|
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
818
2374
|
order: z.ZodNumber;
|
|
819
2375
|
}, z.core.$strict>;
|
|
820
|
-
/**
|
|
821
|
-
|
|
822
|
-
* browser key the install creates. `GET` reads, `POST` creates; `PATCH` only
|
|
823
|
-
* behind a claim (a guest changing their own booking), on a narrow writable
|
|
824
|
-
* list. `availability` answers free or full per slot and never a row.
|
|
825
|
-
*/
|
|
826
|
-
export declare const publicAccessSchema: z.ZodObject<{
|
|
827
|
-
table: z.ZodString;
|
|
828
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
829
|
-
records: "records";
|
|
830
|
-
availability: "availability";
|
|
831
|
-
}>>;
|
|
832
|
-
methods: z.ZodArray<z.ZodEnum<{
|
|
833
|
-
GET: "GET";
|
|
834
|
-
POST: "POST";
|
|
835
|
-
PATCH: "PATCH";
|
|
836
|
-
}>>;
|
|
837
|
-
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
838
|
-
writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
839
|
-
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
840
|
-
column: z.ZodString;
|
|
841
|
-
op: z.ZodEnum<{
|
|
842
|
-
in: "in";
|
|
843
|
-
eq: "eq";
|
|
844
|
-
neq: "neq";
|
|
845
|
-
gte: "gte";
|
|
846
|
-
lte: "lte";
|
|
847
|
-
}>;
|
|
848
|
-
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
849
|
-
}, z.core.$strict>>>;
|
|
850
|
-
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
851
|
-
claim: z.ZodOptional<z.ZodObject<{
|
|
852
|
-
match: z.ZodArray<z.ZodString>;
|
|
853
|
-
}, z.core.$strict>>;
|
|
854
|
-
confirm: z.ZodOptional<z.ZodObject<{
|
|
855
|
-
template: z.ZodEnum<{
|
|
856
|
-
"booking-confirmation": "booking-confirmation";
|
|
857
|
-
}>;
|
|
858
|
-
to: z.ZodString;
|
|
859
|
-
code: z.ZodOptional<z.ZodString>;
|
|
860
|
-
when: z.ZodOptional<z.ZodString>;
|
|
861
|
-
party: z.ZodOptional<z.ZodString>;
|
|
862
|
-
name: z.ZodOptional<z.ZodString>;
|
|
863
|
-
venue: z.ZodOptional<z.ZodObject<{
|
|
864
|
-
table: z.ZodString;
|
|
865
|
-
name: z.ZodOptional<z.ZodString>;
|
|
866
|
-
address: z.ZodOptional<z.ZodString>;
|
|
867
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
868
|
-
}, z.core.$strict>>;
|
|
869
|
-
link: z.ZodOptional<z.ZodString>;
|
|
870
|
-
}, z.core.$strict>>;
|
|
871
|
-
}, z.core.$strict>;
|
|
872
|
-
export type PublicAccess = z.infer<typeof publicAccessSchema>;
|
|
2376
|
+
/** What the app's public screens may do (see `public-access.ts`). */
|
|
2377
|
+
export { publicAccessSchema, publicKeysSchema, type PublicAccess };
|
|
873
2378
|
/** The bundled sample data file, inside the package's `seeds/` folder. */
|
|
874
2379
|
export declare const sampleDataSchema: z.ZodObject<{
|
|
875
2380
|
file: z.ZodString;
|
|
@@ -880,9 +2385,10 @@ export declare function prefixFor(appKey: string): string;
|
|
|
880
2385
|
export declare const MAX_TABLE_NAME = 63;
|
|
881
2386
|
/**
|
|
882
2387
|
* Every name a manifest's own blocks use must name something the manifest
|
|
883
|
-
* declares: a rule's columns, a capacity's
|
|
884
|
-
*
|
|
885
|
-
*
|
|
2388
|
+
* declares: a rule's columns, a capacity's or a booking's columns and tables,
|
|
2389
|
+
* a public table and the columns it reads and writes, the outbox and its
|
|
2390
|
+
* templates. Checked here so an app's CI refuses a typo long before an
|
|
2391
|
+
* operator's install would.
|
|
886
2392
|
*/
|
|
887
2393
|
export declare function appReferenceIssues(m: {
|
|
888
2394
|
key: string;
|
|
@@ -891,22 +2397,45 @@ export declare function appReferenceIssues(m: {
|
|
|
891
2397
|
prefixed?: true | undefined;
|
|
892
2398
|
};
|
|
893
2399
|
publicAccess?: readonly PublicAccess[] | undefined;
|
|
2400
|
+
publicKeys?: z.infer<typeof publicKeysSchema> | undefined;
|
|
894
2401
|
optionLists?: Readonly<Record<string, unknown>> | undefined;
|
|
2402
|
+
roles?: readonly RoleShape[] | undefined;
|
|
2403
|
+
outbox?: z.infer<typeof outboxSchema> | undefined;
|
|
2404
|
+
emailTemplates?: readonly z.infer<typeof emailTemplateSchema>[] | undefined;
|
|
2405
|
+
addOns?: AddOnNeeds | undefined;
|
|
2406
|
+
documents?: readonly AppDocument[] | undefined;
|
|
2407
|
+
pages?: readonly {
|
|
2408
|
+
feature?: string | undefined;
|
|
2409
|
+
}[] | undefined;
|
|
2410
|
+
},
|
|
2411
|
+
/**
|
|
2412
|
+
* When the tables are an add-on's shape rather than an app's: the add-on's
|
|
2413
|
+
* own key and setting keys, which its rules may read, and no roles to name.
|
|
2414
|
+
*/
|
|
2415
|
+
shapeOf?: {
|
|
2416
|
+
addOn: string;
|
|
2417
|
+
settings: readonly string[];
|
|
895
2418
|
}): {
|
|
896
2419
|
path: (string | number)[];
|
|
897
2420
|
message: string;
|
|
898
2421
|
}[];
|
|
899
2422
|
/** What `appReferenceIssues` reads of a table. */
|
|
900
|
-
interface RequiredTableShape {
|
|
2423
|
+
export interface RequiredTableShape {
|
|
901
2424
|
ref: string;
|
|
902
2425
|
columns: readonly {
|
|
903
2426
|
ref: string;
|
|
904
2427
|
type: string;
|
|
905
2428
|
role?: string | undefined;
|
|
2429
|
+
nullable?: boolean | undefined;
|
|
2430
|
+
enum?: string[] | undefined;
|
|
906
2431
|
references?: string | undefined;
|
|
2432
|
+
maxLength?: number | undefined;
|
|
907
2433
|
rules?: ColumnRules | undefined;
|
|
908
2434
|
}[];
|
|
909
2435
|
capacity?: z.infer<typeof capacitySchema> | undefined;
|
|
2436
|
+
booking?: z.infer<typeof bookingSchema> | undefined;
|
|
2437
|
+
states?: States | undefined;
|
|
2438
|
+
builtOn?: string | undefined;
|
|
910
2439
|
}
|
|
911
2440
|
export declare const appManifestSchema: z.ZodObject<{
|
|
912
2441
|
compatibility: z.ZodObject<{
|
|
@@ -918,17 +2447,18 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
918
2447
|
sqlite: "sqlite";
|
|
919
2448
|
}>>>;
|
|
920
2449
|
requires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2450
|
+
payments: "payments";
|
|
921
2451
|
"hosted-only": "hosted-only";
|
|
922
2452
|
"offline-required": "offline-required";
|
|
923
2453
|
"receipt-printer": "receipt-printer";
|
|
924
2454
|
"barcode-scanner": "barcode-scanner";
|
|
925
|
-
payments: "payments";
|
|
926
2455
|
"file-storage": "file-storage";
|
|
927
2456
|
"email-delivery": "email-delivery";
|
|
928
2457
|
realtime: "realtime";
|
|
929
2458
|
"outbound-http": "outbound-http";
|
|
930
2459
|
"oauth-connect": "oauth-connect";
|
|
931
2460
|
}>>>;
|
|
2461
|
+
updatesFrom: z.ZodOptional<z.ZodString>;
|
|
932
2462
|
}, z.core.$strict>;
|
|
933
2463
|
requiredSchema: z.ZodObject<{
|
|
934
2464
|
tables: z.ZodArray<z.ZodObject<{
|
|
@@ -937,26 +2467,26 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
937
2467
|
ref: z.ZodString;
|
|
938
2468
|
type: z.ZodEnum<{
|
|
939
2469
|
bigint: "bigint";
|
|
940
|
-
id: "id";
|
|
941
2470
|
int: "int";
|
|
942
2471
|
date: "date";
|
|
943
2472
|
enum: "enum";
|
|
944
|
-
text: "text";
|
|
945
2473
|
decimal: "decimal";
|
|
946
2474
|
money: "money";
|
|
947
2475
|
float: "float";
|
|
948
2476
|
bool: "bool";
|
|
949
|
-
|
|
2477
|
+
id: "id";
|
|
950
2478
|
timestamptz: "timestamptz";
|
|
951
|
-
uuid: "uuid";
|
|
952
2479
|
fk: "fk";
|
|
2480
|
+
text: "text";
|
|
2481
|
+
json: "json";
|
|
2482
|
+
uuid: "uuid";
|
|
953
2483
|
blob: "blob";
|
|
954
2484
|
}>;
|
|
955
2485
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
956
|
-
name: "name";
|
|
957
2486
|
money: "money";
|
|
958
|
-
|
|
2487
|
+
name: "name";
|
|
959
2488
|
email: "email";
|
|
2489
|
+
image: "image";
|
|
960
2490
|
avatar: "avatar";
|
|
961
2491
|
"geo-lat": "geo-lat";
|
|
962
2492
|
"geo-lng": "geo-lng";
|
|
@@ -971,6 +2501,8 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
971
2501
|
references: z.ZodOptional<z.ZodString>;
|
|
972
2502
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
973
2503
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2504
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
2505
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
974
2506
|
rules: z.ZodOptional<z.ZodObject<{
|
|
975
2507
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
976
2508
|
list: z.ZodString;
|
|
@@ -988,9 +2520,9 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
988
2520
|
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
989
2521
|
validation: z.ZodOptional<z.ZodObject<{
|
|
990
2522
|
format: z.ZodOptional<z.ZodEnum<{
|
|
991
|
-
url: "url";
|
|
992
2523
|
email: "email";
|
|
993
2524
|
phone: "phone";
|
|
2525
|
+
url: "url";
|
|
994
2526
|
}>>;
|
|
995
2527
|
min: z.ZodOptional<z.ZodNumber>;
|
|
996
2528
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1005,22 +2537,133 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1005
2537
|
always: "always";
|
|
1006
2538
|
}>>;
|
|
1007
2539
|
}, z.core.$strict>>;
|
|
2540
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
2541
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
2542
|
+
table: z.ZodString;
|
|
2543
|
+
column: z.ZodString;
|
|
2544
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2545
|
+
addOn: z.ZodString;
|
|
2546
|
+
setting: z.ZodString;
|
|
2547
|
+
}, z.core.$strict>]>]>;
|
|
2548
|
+
}, z.core.$strict>>;
|
|
1008
2549
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
1009
2550
|
start: z.ZodOptional<z.ZodNumber>;
|
|
2551
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2552
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2553
|
+
table: z.ZodString;
|
|
2554
|
+
column: z.ZodString;
|
|
2555
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2556
|
+
addOn: z.ZodString;
|
|
2557
|
+
setting: z.ZodString;
|
|
2558
|
+
}, z.core.$strict>]>>;
|
|
2559
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
2560
|
+
}, z.core.$strict>>;
|
|
2561
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
2562
|
+
from: z.ZodString;
|
|
2563
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
2564
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2565
|
+
table: z.ZodString;
|
|
2566
|
+
column: z.ZodString;
|
|
2567
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2568
|
+
addOn: z.ZodString;
|
|
2569
|
+
setting: z.ZodString;
|
|
2570
|
+
}, z.core.$strict>]>>;
|
|
2571
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
1010
2572
|
}, z.core.$strict>>;
|
|
1011
2573
|
code: z.ZodOptional<z.ZodObject<{
|
|
1012
2574
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1013
2575
|
length: z.ZodNumber;
|
|
1014
2576
|
}, z.core.$strict>>;
|
|
2577
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
2578
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
2579
|
+
trim: "trim";
|
|
2580
|
+
email: "email";
|
|
2581
|
+
}>>;
|
|
1015
2582
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
1016
2583
|
from: z.ZodString;
|
|
1017
2584
|
via: z.ZodString;
|
|
1018
2585
|
sum: z.ZodString;
|
|
1019
2586
|
times: z.ZodOptional<z.ZodString>;
|
|
1020
2587
|
unlessSet: z.ZodOptional<z.ZodString>;
|
|
2588
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
2589
|
+
column: z.ZodString;
|
|
2590
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2591
|
+
}, z.core.$strict>>;
|
|
2592
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
2593
|
+
column: z.ZodString;
|
|
2594
|
+
of: z.ZodString;
|
|
2595
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2596
|
+
}, z.core.$strict>>;
|
|
2597
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2598
|
+
}, z.core.$strict>>;
|
|
2599
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
2600
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
2601
|
+
today: "today";
|
|
2602
|
+
now: "now";
|
|
2603
|
+
"user-name": "user-name";
|
|
2604
|
+
"user-id": "user-id";
|
|
2605
|
+
}>, z.ZodObject<{
|
|
2606
|
+
byOrigin: z.ZodObject<{
|
|
2607
|
+
public: z.ZodString;
|
|
2608
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
2609
|
+
}, z.core.$strict>;
|
|
2610
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2611
|
+
claim: z.ZodString;
|
|
2612
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
2613
|
+
"user-name": "user-name";
|
|
2614
|
+
"user-id": "user-id";
|
|
2615
|
+
}>>;
|
|
2616
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2617
|
+
copy: z.ZodString;
|
|
2618
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2619
|
+
addDays: z.ZodObject<{
|
|
2620
|
+
date: z.ZodString;
|
|
2621
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
2622
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
2623
|
+
}, z.core.$strict>;
|
|
2624
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2625
|
+
hashOf: z.ZodObject<{
|
|
2626
|
+
columns: z.ZodArray<z.ZodString>;
|
|
2627
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2628
|
+
table: z.ZodString;
|
|
2629
|
+
via: z.ZodString;
|
|
2630
|
+
columns: z.ZodArray<z.ZodString>;
|
|
2631
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
2632
|
+
}, z.core.$strict>>>;
|
|
2633
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2634
|
+
via: z.ZodString;
|
|
2635
|
+
table: z.ZodString;
|
|
2636
|
+
columns: z.ZodArray<z.ZodString>;
|
|
2637
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2638
|
+
table: z.ZodString;
|
|
2639
|
+
via: z.ZodString;
|
|
2640
|
+
columns: z.ZodArray<z.ZodString>;
|
|
2641
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
2642
|
+
}, z.core.$strict>>>;
|
|
2643
|
+
}, z.core.$strict>>>;
|
|
2644
|
+
}, z.core.$strict>;
|
|
2645
|
+
}, z.core.$strict>]>;
|
|
2646
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
2647
|
+
column: z.ZodString;
|
|
2648
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2649
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2650
|
+
column: z.ZodString;
|
|
2651
|
+
filled: z.ZodLiteral<true>;
|
|
2652
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
2653
|
+
column: z.ZodString;
|
|
2654
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2655
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2656
|
+
column: z.ZodString;
|
|
2657
|
+
filled: z.ZodLiteral<true>;
|
|
2658
|
+
}, z.core.$strict>]>>]>;
|
|
1021
2659
|
}, z.core.$strict>>;
|
|
1022
2660
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1023
2661
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
2662
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
2663
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
2664
|
+
column: z.ZodString;
|
|
2665
|
+
via: z.ZodOptional<z.ZodString>;
|
|
2666
|
+
}, z.core.$strict>>;
|
|
1024
2667
|
}, z.core.$strict>>;
|
|
1025
2668
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1026
2669
|
}, z.core.$strict>>;
|
|
@@ -1058,6 +2701,123 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1058
2701
|
column: z.ZodString;
|
|
1059
2702
|
}, z.core.$strict>]>>;
|
|
1060
2703
|
}, z.core.$strict>>;
|
|
2704
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
2705
|
+
start: z.ZodString;
|
|
2706
|
+
minutes: z.ZodString;
|
|
2707
|
+
resource: z.ZodString;
|
|
2708
|
+
kind: z.ZodString;
|
|
2709
|
+
countWhere: z.ZodObject<{
|
|
2710
|
+
column: z.ZodString;
|
|
2711
|
+
values: z.ZodArray<z.ZodString>;
|
|
2712
|
+
}, z.core.$strict>;
|
|
2713
|
+
eligible: z.ZodObject<{
|
|
2714
|
+
table: z.ZodString;
|
|
2715
|
+
resource: z.ZodString;
|
|
2716
|
+
kind: z.ZodString;
|
|
2717
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
2718
|
+
table: z.ZodString;
|
|
2719
|
+
column: z.ZodString;
|
|
2720
|
+
active: z.ZodOptional<z.ZodString>;
|
|
2721
|
+
public: z.ZodOptional<z.ZodString>;
|
|
2722
|
+
}, z.core.$strict>>;
|
|
2723
|
+
}, z.core.$strict>;
|
|
2724
|
+
hours: z.ZodObject<{
|
|
2725
|
+
practice: z.ZodObject<{
|
|
2726
|
+
weekday: z.ZodString;
|
|
2727
|
+
opens: z.ZodString;
|
|
2728
|
+
closes: z.ZodString;
|
|
2729
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
2730
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
2731
|
+
table: z.ZodString;
|
|
2732
|
+
open: z.ZodOptional<z.ZodString>;
|
|
2733
|
+
}, z.core.$strict>;
|
|
2734
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
2735
|
+
weekday: z.ZodString;
|
|
2736
|
+
opens: z.ZodString;
|
|
2737
|
+
closes: z.ZodString;
|
|
2738
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
2739
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
2740
|
+
table: z.ZodString;
|
|
2741
|
+
resource: z.ZodString;
|
|
2742
|
+
}, z.core.$strict>>;
|
|
2743
|
+
}, z.core.$strict>;
|
|
2744
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
2745
|
+
table: z.ZodString;
|
|
2746
|
+
from: z.ZodString;
|
|
2747
|
+
to: z.ZodString;
|
|
2748
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
2749
|
+
active: z.ZodOptional<z.ZodString>;
|
|
2750
|
+
}, z.core.$strict>>;
|
|
2751
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2752
|
+
table: z.ZodString;
|
|
2753
|
+
column: z.ZodString;
|
|
2754
|
+
}, z.core.$strict>]>;
|
|
2755
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2756
|
+
table: z.ZodString;
|
|
2757
|
+
column: z.ZodString;
|
|
2758
|
+
}, z.core.$strict>]>>;
|
|
2759
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2760
|
+
table: z.ZodString;
|
|
2761
|
+
column: z.ZodString;
|
|
2762
|
+
}, z.core.$strict>]>>;
|
|
2763
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
2764
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2765
|
+
table: z.ZodString;
|
|
2766
|
+
column: z.ZodString;
|
|
2767
|
+
}, z.core.$strict>]>;
|
|
2768
|
+
mode: z.ZodEnum<{
|
|
2769
|
+
refuse: "refuse";
|
|
2770
|
+
flag: "flag";
|
|
2771
|
+
}>;
|
|
2772
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
2773
|
+
when: z.ZodObject<{
|
|
2774
|
+
column: z.ZodString;
|
|
2775
|
+
to: z.ZodString;
|
|
2776
|
+
}, z.core.$strict>;
|
|
2777
|
+
}, z.core.$strict>>;
|
|
2778
|
+
}, z.core.$strict>>;
|
|
2779
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
2780
|
+
column: z.ZodString;
|
|
2781
|
+
initial: z.ZodString;
|
|
2782
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2783
|
+
to: z.ZodString;
|
|
2784
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
2785
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
2786
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2787
|
+
column: z.ZodString;
|
|
2788
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2789
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2790
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2791
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
2792
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
2793
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
2794
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
2795
|
+
}, z.core.$strict>>>;
|
|
2796
|
+
}, z.core.$strict>>;
|
|
2797
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2798
|
+
}, z.core.$strict>]>>>;
|
|
2799
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
2800
|
+
when: z.ZodArray<z.ZodString>;
|
|
2801
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2802
|
+
}, z.core.$strict>>;
|
|
2803
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2804
|
+
via: z.ZodString;
|
|
2805
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2806
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2807
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2808
|
+
}, z.core.$strict>>>;
|
|
2809
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2810
|
+
table: z.ZodString;
|
|
2811
|
+
via: z.ZodString;
|
|
2812
|
+
in: z.ZodArray<z.ZodString>;
|
|
2813
|
+
}, z.core.$strict>>>;
|
|
2814
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
2815
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
2816
|
+
}, z.core.$strict>>;
|
|
2817
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2818
|
+
}, z.core.$strict>>;
|
|
2819
|
+
builtOn: z.ZodOptional<z.ZodString>;
|
|
2820
|
+
part: z.ZodOptional<z.ZodString>;
|
|
1061
2821
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1062
2822
|
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1063
2823
|
keyField: z.ZodOptional<z.ZodString>;
|
|
@@ -1079,6 +2839,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1079
2839
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1080
2840
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1081
2841
|
titles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2842
|
+
feature: z.ZodOptional<z.ZodString>;
|
|
1082
2843
|
}, z.core.$strict>>;
|
|
1083
2844
|
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1084
2845
|
key: z.ZodString;
|
|
@@ -1086,6 +2847,10 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1086
2847
|
cloneFrom: z.ZodOptional<z.ZodString>;
|
|
1087
2848
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1088
2849
|
screensOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2850
|
+
limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2851
|
+
writable: z.ZodArray<z.ZodString>;
|
|
2852
|
+
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
2853
|
+
}, z.core.$strict>>>;
|
|
1089
2854
|
}, z.core.$strict>>>;
|
|
1090
2855
|
settings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1091
2856
|
type: z.ZodLiteral<"string">;
|
|
@@ -1186,11 +2951,11 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1186
2951
|
entry: z.ZodString;
|
|
1187
2952
|
}, z.core.$strict>>>;
|
|
1188
2953
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2954
|
+
payments: "payments";
|
|
1189
2955
|
"hosted-only": "hosted-only";
|
|
1190
2956
|
"offline-required": "offline-required";
|
|
1191
2957
|
"receipt-printer": "receipt-printer";
|
|
1192
2958
|
"barcode-scanner": "barcode-scanner";
|
|
1193
|
-
payments: "payments";
|
|
1194
2959
|
"file-storage": "file-storage";
|
|
1195
2960
|
"email-delivery": "email-delivery";
|
|
1196
2961
|
realtime: "realtime";
|
|
@@ -1199,8 +2964,8 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1199
2964
|
}>>>;
|
|
1200
2965
|
frontends: z.ZodArray<z.ZodObject<{
|
|
1201
2966
|
side: z.ZodEnum<{
|
|
1202
|
-
staff: "staff";
|
|
1203
2967
|
customer: "customer";
|
|
2968
|
+
staff: "staff";
|
|
1204
2969
|
}>;
|
|
1205
2970
|
kind: z.ZodEnum<{
|
|
1206
2971
|
spa: "spa";
|
|
@@ -1214,8 +2979,8 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1214
2979
|
}, z.core.$strict>>>;
|
|
1215
2980
|
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1216
2981
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
1217
|
-
internal: "internal";
|
|
1218
2982
|
external: "external";
|
|
2983
|
+
internal: "internal";
|
|
1219
2984
|
}>>;
|
|
1220
2985
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1221
2986
|
}, z.core.$strict>>;
|
|
@@ -1245,7 +3010,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1245
3010
|
}>>;
|
|
1246
3011
|
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1247
3012
|
writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1248
|
-
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3013
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1249
3014
|
column: z.ZodString;
|
|
1250
3015
|
op: z.ZodEnum<{
|
|
1251
3016
|
in: "in";
|
|
@@ -1255,11 +3020,81 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1255
3020
|
lte: "lte";
|
|
1256
3021
|
}>;
|
|
1257
3022
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1258
|
-
}, z.core.$strict
|
|
3023
|
+
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
3024
|
+
column: z.ZodString;
|
|
3025
|
+
op: z.ZodLiteral<"today">;
|
|
3026
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3027
|
+
column: z.ZodString;
|
|
3028
|
+
op: z.ZodLiteral<"from-today">;
|
|
3029
|
+
days: z.ZodOptional<z.ZodNumber>;
|
|
3030
|
+
}, z.core.$strict>]>]>>>;
|
|
1259
3031
|
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1260
|
-
claim: z.ZodOptional<z.ZodObject<{
|
|
3032
|
+
claim: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1261
3033
|
match: z.ZodArray<z.ZodString>;
|
|
3034
|
+
verify: z.ZodOptional<z.ZodLiteral<"email-code">>;
|
|
3035
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3036
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3037
|
+
verify: z.ZodLiteral<"email-link">;
|
|
3038
|
+
email: z.ZodString;
|
|
3039
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3040
|
+
by: z.ZodLiteral<"token">;
|
|
3041
|
+
column: z.ZodString;
|
|
3042
|
+
expires: z.ZodOptional<z.ZodString>;
|
|
3043
|
+
stopped: z.ZodOptional<z.ZodString>;
|
|
3044
|
+
}, z.core.$strict>]>>;
|
|
3045
|
+
claimedBy: z.ZodOptional<z.ZodObject<{
|
|
3046
|
+
table: z.ZodString;
|
|
3047
|
+
column: z.ZodString;
|
|
3048
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3049
|
+
}, z.core.$strict>>;
|
|
3050
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
3051
|
+
lookup: "lookup";
|
|
3052
|
+
verified: "verified";
|
|
3053
|
+
}>>;
|
|
3054
|
+
visibleWith: z.ZodOptional<z.ZodObject<{
|
|
3055
|
+
table: z.ZodString;
|
|
3056
|
+
via: z.ZodString;
|
|
3057
|
+
}, z.core.$strict>>;
|
|
3058
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3059
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3060
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
3061
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3062
|
+
onClaim: z.ZodOptional<z.ZodObject<{
|
|
3063
|
+
clear: z.ZodArray<z.ZodString>;
|
|
3064
|
+
}, z.core.$strict>>;
|
|
3065
|
+
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
3066
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3067
|
+
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<{
|
|
3068
|
+
within: z.ZodNumber;
|
|
3069
|
+
}, z.core.$strict>]>>>;
|
|
3070
|
+
humanCheck: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3071
|
+
rank: z.ZodOptional<z.ZodObject<{
|
|
3072
|
+
orderBy: z.ZodString;
|
|
3073
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
3074
|
+
column: z.ZodString;
|
|
3075
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3076
|
+
}, z.core.$strict>>;
|
|
3077
|
+
}, z.core.$strict>>;
|
|
3078
|
+
maxOpen: z.ZodOptional<z.ZodObject<{
|
|
3079
|
+
column: z.ZodString;
|
|
3080
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3081
|
+
n: z.ZodNumber;
|
|
3082
|
+
upcoming: z.ZodOptional<z.ZodString>;
|
|
3083
|
+
}, z.core.$strict>>;
|
|
3084
|
+
anonymous: z.ZodOptional<z.ZodObject<{
|
|
3085
|
+
perValue: z.ZodOptional<z.ZodObject<{
|
|
3086
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3087
|
+
n: z.ZodNumber;
|
|
3088
|
+
}, z.core.$strict>>;
|
|
3089
|
+
perKeyHour: z.ZodOptional<z.ZodNumber>;
|
|
3090
|
+
plainText: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1262
3091
|
}, z.core.$strict>>;
|
|
3092
|
+
requireSetting: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3093
|
+
table: z.ZodString;
|
|
3094
|
+
column: z.ZodString;
|
|
3095
|
+
when: z.ZodOptional<z.ZodLiteral<"anonymous">>;
|
|
3096
|
+
}, z.core.$strict>>>;
|
|
3097
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1263
3098
|
confirm: z.ZodOptional<z.ZodObject<{
|
|
1264
3099
|
template: z.ZodEnum<{
|
|
1265
3100
|
"booking-confirmation": "booking-confirmation";
|
|
@@ -1278,9 +3113,363 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
1278
3113
|
link: z.ZodOptional<z.ZodString>;
|
|
1279
3114
|
}, z.core.$strict>>;
|
|
1280
3115
|
}, z.core.$strict>>>;
|
|
3116
|
+
publicKeys: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3117
|
+
requiresStaff: z.ZodOptional<z.ZodObject<{
|
|
3118
|
+
role: z.ZodString;
|
|
3119
|
+
}, z.core.$strict>>;
|
|
3120
|
+
enabledBy: z.ZodOptional<z.ZodObject<{
|
|
3121
|
+
table: z.ZodString;
|
|
3122
|
+
column: z.ZodString;
|
|
3123
|
+
}, z.core.$strict>>;
|
|
3124
|
+
}, z.core.$strict>>>;
|
|
3125
|
+
outbox: z.ZodOptional<z.ZodObject<{
|
|
3126
|
+
table: z.ZodString;
|
|
3127
|
+
columns: z.ZodObject<{
|
|
3128
|
+
kind: z.ZodString;
|
|
3129
|
+
status: z.ZodString;
|
|
3130
|
+
to: z.ZodString;
|
|
3131
|
+
language: z.ZodOptional<z.ZodString>;
|
|
3132
|
+
due: z.ZodOptional<z.ZodString>;
|
|
3133
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
3134
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3135
|
+
skipReason: z.ZodOptional<z.ZodString>;
|
|
3136
|
+
subjectOverride: z.ZodOptional<z.ZodString>;
|
|
3137
|
+
bodyOverride: z.ZodOptional<z.ZodString>;
|
|
3138
|
+
approvedBy: z.ZodOptional<z.ZodString>;
|
|
3139
|
+
effectAt: z.ZodOptional<z.ZodString>;
|
|
3140
|
+
effectError: z.ZodOptional<z.ZodString>;
|
|
3141
|
+
}, z.core.$strict>;
|
|
3142
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3143
|
+
recipient: z.ZodObject<{
|
|
3144
|
+
via: z.ZodString;
|
|
3145
|
+
table: z.ZodString;
|
|
3146
|
+
email: z.ZodString;
|
|
3147
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3148
|
+
language: z.ZodOptional<z.ZodString>;
|
|
3149
|
+
optIn: z.ZodOptional<z.ZodString>;
|
|
3150
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
3151
|
+
via: z.ZodString;
|
|
3152
|
+
email: z.ZodString;
|
|
3153
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3154
|
+
language: z.ZodOptional<z.ZodString>;
|
|
3155
|
+
}, z.core.$strict>>;
|
|
3156
|
+
}, z.core.$strict>;
|
|
3157
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
3158
|
+
table: z.ZodString;
|
|
3159
|
+
enabled: z.ZodOptional<z.ZodString>;
|
|
3160
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3161
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
3162
|
+
}, z.core.$strict>>;
|
|
3163
|
+
pages: z.ZodOptional<z.ZodObject<{
|
|
3164
|
+
manage: z.ZodOptional<z.ZodString>;
|
|
3165
|
+
booking: z.ZodOptional<z.ZodString>;
|
|
3166
|
+
}, z.core.$strict>>;
|
|
3167
|
+
kinds: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3168
|
+
producers: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
3169
|
+
onCreate: z.ZodObject<{
|
|
3170
|
+
table: z.ZodString;
|
|
3171
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3172
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
3173
|
+
column: z.ZodString;
|
|
3174
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3175
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3176
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3177
|
+
}, z.core.$strict>>;
|
|
3178
|
+
}, z.core.$strict>;
|
|
3179
|
+
kind: z.ZodString;
|
|
3180
|
+
link: z.ZodString;
|
|
3181
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
3182
|
+
setting: z.ZodObject<{
|
|
3183
|
+
table: z.ZodString;
|
|
3184
|
+
column: z.ZodString;
|
|
3185
|
+
}, z.core.$strict>;
|
|
3186
|
+
}, z.core.$strict>]>>;
|
|
3187
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3188
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3189
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
3190
|
+
date: z.ZodString;
|
|
3191
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3192
|
+
byColumn: z.ZodString;
|
|
3193
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
3194
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3195
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3196
|
+
table: z.ZodString;
|
|
3197
|
+
column: z.ZodString;
|
|
3198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3199
|
+
addOn: z.ZodString;
|
|
3200
|
+
setting: z.ZodString;
|
|
3201
|
+
}, z.core.$strict>]>;
|
|
3202
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
3203
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
3204
|
+
}, z.core.$strict>]>;
|
|
3205
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3206
|
+
}, z.core.$strict>>;
|
|
3207
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
3208
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3209
|
+
column: z.ZodString;
|
|
3210
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3211
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3212
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3213
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
3214
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
3215
|
+
reason: z.ZodEnum<{
|
|
3216
|
+
void: "void";
|
|
3217
|
+
paid: "paid";
|
|
3218
|
+
"no-longer-needed": "no-longer-needed";
|
|
3219
|
+
}>;
|
|
3220
|
+
}, z.core.$strict>>>;
|
|
3221
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
3222
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3223
|
+
table: z.ZodString;
|
|
3224
|
+
column: z.ZodString;
|
|
3225
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3226
|
+
addOn: z.ZodString;
|
|
3227
|
+
setting: z.ZodString;
|
|
3228
|
+
}, z.core.$strict>]>;
|
|
3229
|
+
}, z.core.$strict>>;
|
|
3230
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
3231
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
3232
|
+
table: z.ZodString;
|
|
3233
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3234
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
3235
|
+
}, z.core.$strict>>;
|
|
3236
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3237
|
+
onChange: z.ZodObject<{
|
|
3238
|
+
table: z.ZodString;
|
|
3239
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3240
|
+
column: z.ZodString;
|
|
3241
|
+
to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
3242
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
3243
|
+
column: z.ZodString;
|
|
3244
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3245
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3246
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3247
|
+
}, z.core.$strict>>;
|
|
3248
|
+
}, z.core.$strict>;
|
|
3249
|
+
kind: z.ZodString;
|
|
3250
|
+
link: z.ZodString;
|
|
3251
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
3252
|
+
setting: z.ZodObject<{
|
|
3253
|
+
table: z.ZodString;
|
|
3254
|
+
column: z.ZodString;
|
|
3255
|
+
}, z.core.$strict>;
|
|
3256
|
+
}, z.core.$strict>]>>;
|
|
3257
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3258
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3259
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
3260
|
+
date: z.ZodString;
|
|
3261
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3262
|
+
byColumn: z.ZodString;
|
|
3263
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
3264
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3265
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3266
|
+
table: z.ZodString;
|
|
3267
|
+
column: z.ZodString;
|
|
3268
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3269
|
+
addOn: z.ZodString;
|
|
3270
|
+
setting: z.ZodString;
|
|
3271
|
+
}, z.core.$strict>]>;
|
|
3272
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
3273
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
3274
|
+
}, z.core.$strict>]>;
|
|
3275
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3276
|
+
}, z.core.$strict>>;
|
|
3277
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
3278
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3279
|
+
column: z.ZodString;
|
|
3280
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3281
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3282
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3283
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
3284
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
3285
|
+
reason: z.ZodEnum<{
|
|
3286
|
+
void: "void";
|
|
3287
|
+
paid: "paid";
|
|
3288
|
+
"no-longer-needed": "no-longer-needed";
|
|
3289
|
+
}>;
|
|
3290
|
+
}, z.core.$strict>>>;
|
|
3291
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
3292
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3293
|
+
table: z.ZodString;
|
|
3294
|
+
column: z.ZodString;
|
|
3295
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3296
|
+
addOn: z.ZodString;
|
|
3297
|
+
setting: z.ZodString;
|
|
3298
|
+
}, z.core.$strict>]>;
|
|
3299
|
+
}, z.core.$strict>>;
|
|
3300
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
3301
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
3302
|
+
table: z.ZodString;
|
|
3303
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3304
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
3305
|
+
}, z.core.$strict>>;
|
|
3306
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3307
|
+
before: z.ZodObject<{
|
|
3308
|
+
table: z.ZodString;
|
|
3309
|
+
at: z.ZodString;
|
|
3310
|
+
lead: z.ZodObject<{
|
|
3311
|
+
via: z.ZodString;
|
|
3312
|
+
table: z.ZodString;
|
|
3313
|
+
column: z.ZodString;
|
|
3314
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
3315
|
+
table: z.ZodString;
|
|
3316
|
+
column: z.ZodString;
|
|
3317
|
+
}, z.core.$strict>>;
|
|
3318
|
+
max: z.ZodNumber;
|
|
3319
|
+
}, z.core.$strict>;
|
|
3320
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
3321
|
+
column: z.ZodString;
|
|
3322
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3323
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3324
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3325
|
+
}, z.core.$strict>>;
|
|
3326
|
+
}, z.core.$strict>;
|
|
3327
|
+
kind: z.ZodString;
|
|
3328
|
+
link: z.ZodString;
|
|
3329
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
3330
|
+
setting: z.ZodObject<{
|
|
3331
|
+
table: z.ZodString;
|
|
3332
|
+
column: z.ZodString;
|
|
3333
|
+
}, z.core.$strict>;
|
|
3334
|
+
}, z.core.$strict>]>>;
|
|
3335
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3336
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3337
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
3338
|
+
date: z.ZodString;
|
|
3339
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3340
|
+
byColumn: z.ZodString;
|
|
3341
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
3342
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3343
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3344
|
+
table: z.ZodString;
|
|
3345
|
+
column: z.ZodString;
|
|
3346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3347
|
+
addOn: z.ZodString;
|
|
3348
|
+
setting: z.ZodString;
|
|
3349
|
+
}, z.core.$strict>]>;
|
|
3350
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
3351
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
3352
|
+
}, z.core.$strict>]>;
|
|
3353
|
+
at: z.ZodOptional<z.ZodString>;
|
|
3354
|
+
}, z.core.$strict>>;
|
|
3355
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
3356
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3357
|
+
column: z.ZodString;
|
|
3358
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3359
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3360
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3361
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
3362
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
3363
|
+
reason: z.ZodEnum<{
|
|
3364
|
+
void: "void";
|
|
3365
|
+
paid: "paid";
|
|
3366
|
+
"no-longer-needed": "no-longer-needed";
|
|
3367
|
+
}>;
|
|
3368
|
+
}, z.core.$strict>>>;
|
|
3369
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
3370
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
3371
|
+
table: z.ZodString;
|
|
3372
|
+
column: z.ZodString;
|
|
3373
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3374
|
+
addOn: z.ZodString;
|
|
3375
|
+
setting: z.ZodString;
|
|
3376
|
+
}, z.core.$strict>]>;
|
|
3377
|
+
}, z.core.$strict>>;
|
|
3378
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
3379
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
3380
|
+
table: z.ZodString;
|
|
3381
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3382
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
3383
|
+
}, z.core.$strict>>;
|
|
3384
|
+
}, z.core.$strict>]>>>;
|
|
3385
|
+
}, z.core.$strict>>;
|
|
3386
|
+
emailTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3387
|
+
key: z.ZodString;
|
|
3388
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
3389
|
+
attach: z.ZodOptional<z.ZodObject<{
|
|
3390
|
+
kind: z.ZodString;
|
|
3391
|
+
link: z.ZodString;
|
|
3392
|
+
}, z.core.$strict>>;
|
|
3393
|
+
vars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3394
|
+
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3395
|
+
subject: z.ZodString;
|
|
3396
|
+
preheader: z.ZodOptional<z.ZodString>;
|
|
3397
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
3398
|
+
block: z.ZodString;
|
|
3399
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3400
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3401
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3402
|
+
}, z.core.$strict>>;
|
|
3403
|
+
footer: z.ZodOptional<z.ZodString>;
|
|
3404
|
+
}, z.core.$strict>>;
|
|
3405
|
+
}, z.core.$strict>>>;
|
|
1281
3406
|
sampleData: z.ZodOptional<z.ZodObject<{
|
|
1282
3407
|
file: z.ZodString;
|
|
1283
3408
|
}, z.core.$strict>>;
|
|
3409
|
+
addOns: z.ZodOptional<z.ZodObject<{
|
|
3410
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3411
|
+
key: z.ZodString;
|
|
3412
|
+
range: z.ZodString;
|
|
3413
|
+
reason: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3414
|
+
}, z.core.$strict>>>;
|
|
3415
|
+
suggests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3416
|
+
key: z.ZodString;
|
|
3417
|
+
range: z.ZodString;
|
|
3418
|
+
reason: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3419
|
+
checked: z.ZodOptional<z.ZodBoolean>;
|
|
3420
|
+
}, z.core.$strict>>>;
|
|
3421
|
+
features: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3422
|
+
id: z.ZodString;
|
|
3423
|
+
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3424
|
+
requires: z.ZodArray<z.ZodString>;
|
|
3425
|
+
}, z.core.$strict>>>;
|
|
3426
|
+
}, z.core.$strict>>;
|
|
3427
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3428
|
+
kind: z.ZodString;
|
|
3429
|
+
addOn: z.ZodString;
|
|
3430
|
+
table: z.ZodString;
|
|
3431
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
3432
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
3433
|
+
column: z.ZodString;
|
|
3434
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3435
|
+
via: z.ZodString;
|
|
3436
|
+
column: z.ZodString;
|
|
3437
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3438
|
+
collection: z.ZodObject<{
|
|
3439
|
+
table: z.ZodString;
|
|
3440
|
+
via: z.ZodString;
|
|
3441
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
3442
|
+
columns: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
3443
|
+
}, z.core.$strict>;
|
|
3444
|
+
}, z.core.$strict>]>>;
|
|
3445
|
+
statement: z.ZodOptional<z.ZodObject<{
|
|
3446
|
+
documents: z.ZodObject<{
|
|
3447
|
+
table: z.ZodString;
|
|
3448
|
+
via: z.ZodString;
|
|
3449
|
+
date: z.ZodString;
|
|
3450
|
+
amount: z.ZodString;
|
|
3451
|
+
number: z.ZodOptional<z.ZodString>;
|
|
3452
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
3453
|
+
column: z.ZodString;
|
|
3454
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3455
|
+
}, z.core.$strict>>;
|
|
3456
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
3457
|
+
}, z.core.$strict>;
|
|
3458
|
+
payments: z.ZodObject<{
|
|
3459
|
+
table: z.ZodString;
|
|
3460
|
+
via: z.ZodString;
|
|
3461
|
+
date: z.ZodString;
|
|
3462
|
+
amount: z.ZodString;
|
|
3463
|
+
number: z.ZodOptional<z.ZodString>;
|
|
3464
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
3465
|
+
column: z.ZodString;
|
|
3466
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3467
|
+
}, z.core.$strict>>;
|
|
3468
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
3469
|
+
}, z.core.$strict>;
|
|
3470
|
+
}, z.core.$strict>>;
|
|
3471
|
+
feature: z.ZodOptional<z.ZodString>;
|
|
3472
|
+
}, z.core.$strict>>>;
|
|
1284
3473
|
categories: z.ZodArray<z.ZodEnum<{
|
|
1285
3474
|
commerce: "commerce";
|
|
1286
3475
|
hospitality: "hospitality";
|
|
@@ -1337,17 +3526,18 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1337
3526
|
sqlite: "sqlite";
|
|
1338
3527
|
}>>>;
|
|
1339
3528
|
requires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3529
|
+
payments: "payments";
|
|
1340
3530
|
"hosted-only": "hosted-only";
|
|
1341
3531
|
"offline-required": "offline-required";
|
|
1342
3532
|
"receipt-printer": "receipt-printer";
|
|
1343
3533
|
"barcode-scanner": "barcode-scanner";
|
|
1344
|
-
payments: "payments";
|
|
1345
3534
|
"file-storage": "file-storage";
|
|
1346
3535
|
"email-delivery": "email-delivery";
|
|
1347
3536
|
realtime: "realtime";
|
|
1348
3537
|
"outbound-http": "outbound-http";
|
|
1349
3538
|
"oauth-connect": "oauth-connect";
|
|
1350
3539
|
}>>>;
|
|
3540
|
+
updatesFrom: z.ZodOptional<z.ZodString>;
|
|
1351
3541
|
}, z.core.$strict>;
|
|
1352
3542
|
addOn: z.ZodObject<{
|
|
1353
3543
|
attaches: z.ZodArray<z.ZodObject<{
|
|
@@ -1437,6 +3627,10 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1437
3627
|
order: z.ZodNumber;
|
|
1438
3628
|
}, z.core.$strict>>>;
|
|
1439
3629
|
hostApi: z.ZodOptional<z.ZodLiteral<1>>;
|
|
3630
|
+
shapes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3631
|
+
name: z.ZodString;
|
|
3632
|
+
version: z.ZodNumber;
|
|
3633
|
+
}, z.core.$loose>>>;
|
|
1440
3634
|
}, z.core.$strict>;
|
|
1441
3635
|
requiredSchema: z.ZodOptional<z.ZodObject<{
|
|
1442
3636
|
tables: z.ZodArray<z.ZodObject<{
|
|
@@ -1445,26 +3639,26 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1445
3639
|
ref: z.ZodString;
|
|
1446
3640
|
type: z.ZodEnum<{
|
|
1447
3641
|
bigint: "bigint";
|
|
1448
|
-
id: "id";
|
|
1449
3642
|
int: "int";
|
|
1450
3643
|
date: "date";
|
|
1451
3644
|
enum: "enum";
|
|
1452
|
-
text: "text";
|
|
1453
3645
|
decimal: "decimal";
|
|
1454
3646
|
money: "money";
|
|
1455
3647
|
float: "float";
|
|
1456
3648
|
bool: "bool";
|
|
1457
|
-
|
|
3649
|
+
id: "id";
|
|
1458
3650
|
timestamptz: "timestamptz";
|
|
1459
|
-
uuid: "uuid";
|
|
1460
3651
|
fk: "fk";
|
|
3652
|
+
text: "text";
|
|
3653
|
+
json: "json";
|
|
3654
|
+
uuid: "uuid";
|
|
1461
3655
|
blob: "blob";
|
|
1462
3656
|
}>;
|
|
1463
3657
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
1464
|
-
name: "name";
|
|
1465
3658
|
money: "money";
|
|
1466
|
-
|
|
3659
|
+
name: "name";
|
|
1467
3660
|
email: "email";
|
|
3661
|
+
image: "image";
|
|
1468
3662
|
avatar: "avatar";
|
|
1469
3663
|
"geo-lat": "geo-lat";
|
|
1470
3664
|
"geo-lng": "geo-lng";
|
|
@@ -1479,6 +3673,8 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1479
3673
|
references: z.ZodOptional<z.ZodString>;
|
|
1480
3674
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1481
3675
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3676
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
3677
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1482
3678
|
rules: z.ZodOptional<z.ZodObject<{
|
|
1483
3679
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1484
3680
|
list: z.ZodString;
|
|
@@ -1496,9 +3692,9 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1496
3692
|
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1497
3693
|
validation: z.ZodOptional<z.ZodObject<{
|
|
1498
3694
|
format: z.ZodOptional<z.ZodEnum<{
|
|
1499
|
-
url: "url";
|
|
1500
3695
|
email: "email";
|
|
1501
3696
|
phone: "phone";
|
|
3697
|
+
url: "url";
|
|
1502
3698
|
}>>;
|
|
1503
3699
|
min: z.ZodOptional<z.ZodNumber>;
|
|
1504
3700
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1513,22 +3709,133 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1513
3709
|
always: "always";
|
|
1514
3710
|
}>>;
|
|
1515
3711
|
}, z.core.$strict>>;
|
|
3712
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
3713
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
3714
|
+
table: z.ZodString;
|
|
3715
|
+
column: z.ZodString;
|
|
3716
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3717
|
+
addOn: z.ZodString;
|
|
3718
|
+
setting: z.ZodString;
|
|
3719
|
+
}, z.core.$strict>]>]>;
|
|
3720
|
+
}, z.core.$strict>>;
|
|
1516
3721
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
1517
3722
|
start: z.ZodOptional<z.ZodNumber>;
|
|
3723
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3724
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3725
|
+
table: z.ZodString;
|
|
3726
|
+
column: z.ZodString;
|
|
3727
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3728
|
+
addOn: z.ZodString;
|
|
3729
|
+
setting: z.ZodString;
|
|
3730
|
+
}, z.core.$strict>]>>;
|
|
3731
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
3732
|
+
}, z.core.$strict>>;
|
|
3733
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
3734
|
+
from: z.ZodString;
|
|
3735
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
3736
|
+
prefixSetting: 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
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
1518
3744
|
}, z.core.$strict>>;
|
|
1519
3745
|
code: z.ZodOptional<z.ZodObject<{
|
|
1520
3746
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1521
3747
|
length: z.ZodNumber;
|
|
1522
3748
|
}, z.core.$strict>>;
|
|
3749
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
3750
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
3751
|
+
trim: "trim";
|
|
3752
|
+
email: "email";
|
|
3753
|
+
}>>;
|
|
1523
3754
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
1524
3755
|
from: z.ZodString;
|
|
1525
3756
|
via: z.ZodString;
|
|
1526
3757
|
sum: z.ZodString;
|
|
1527
3758
|
times: z.ZodOptional<z.ZodString>;
|
|
1528
3759
|
unlessSet: z.ZodOptional<z.ZodString>;
|
|
3760
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
3761
|
+
column: z.ZodString;
|
|
3762
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3763
|
+
}, z.core.$strict>>;
|
|
3764
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
3765
|
+
column: z.ZodString;
|
|
3766
|
+
of: z.ZodString;
|
|
3767
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3768
|
+
}, z.core.$strict>>;
|
|
3769
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3770
|
+
}, z.core.$strict>>;
|
|
3771
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
3772
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3773
|
+
today: "today";
|
|
3774
|
+
now: "now";
|
|
3775
|
+
"user-name": "user-name";
|
|
3776
|
+
"user-id": "user-id";
|
|
3777
|
+
}>, z.ZodObject<{
|
|
3778
|
+
byOrigin: z.ZodObject<{
|
|
3779
|
+
public: z.ZodString;
|
|
3780
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
3781
|
+
}, z.core.$strict>;
|
|
3782
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3783
|
+
claim: z.ZodString;
|
|
3784
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
3785
|
+
"user-name": "user-name";
|
|
3786
|
+
"user-id": "user-id";
|
|
3787
|
+
}>>;
|
|
3788
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3789
|
+
copy: z.ZodString;
|
|
3790
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3791
|
+
addDays: z.ZodObject<{
|
|
3792
|
+
date: z.ZodString;
|
|
3793
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
3794
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
3795
|
+
}, z.core.$strict>;
|
|
3796
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3797
|
+
hashOf: z.ZodObject<{
|
|
3798
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3799
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3800
|
+
table: z.ZodString;
|
|
3801
|
+
via: z.ZodString;
|
|
3802
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3803
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
3804
|
+
}, z.core.$strict>>>;
|
|
3805
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3806
|
+
via: z.ZodString;
|
|
3807
|
+
table: z.ZodString;
|
|
3808
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3809
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3810
|
+
table: z.ZodString;
|
|
3811
|
+
via: z.ZodString;
|
|
3812
|
+
columns: z.ZodArray<z.ZodString>;
|
|
3813
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
3814
|
+
}, z.core.$strict>>>;
|
|
3815
|
+
}, z.core.$strict>>>;
|
|
3816
|
+
}, z.core.$strict>;
|
|
3817
|
+
}, z.core.$strict>]>;
|
|
3818
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
3819
|
+
column: z.ZodString;
|
|
3820
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3821
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3822
|
+
column: z.ZodString;
|
|
3823
|
+
filled: z.ZodLiteral<true>;
|
|
3824
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
3825
|
+
column: z.ZodString;
|
|
3826
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3827
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3828
|
+
column: z.ZodString;
|
|
3829
|
+
filled: z.ZodLiteral<true>;
|
|
3830
|
+
}, z.core.$strict>]>>]>;
|
|
1529
3831
|
}, z.core.$strict>>;
|
|
1530
3832
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1531
3833
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
3834
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
3835
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
3836
|
+
column: z.ZodString;
|
|
3837
|
+
via: z.ZodOptional<z.ZodString>;
|
|
3838
|
+
}, z.core.$strict>>;
|
|
1532
3839
|
}, z.core.$strict>>;
|
|
1533
3840
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1534
3841
|
}, z.core.$strict>>;
|
|
@@ -1566,6 +3873,123 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1566
3873
|
column: z.ZodString;
|
|
1567
3874
|
}, z.core.$strict>]>>;
|
|
1568
3875
|
}, z.core.$strict>>;
|
|
3876
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
3877
|
+
start: z.ZodString;
|
|
3878
|
+
minutes: z.ZodString;
|
|
3879
|
+
resource: z.ZodString;
|
|
3880
|
+
kind: z.ZodString;
|
|
3881
|
+
countWhere: z.ZodObject<{
|
|
3882
|
+
column: z.ZodString;
|
|
3883
|
+
values: z.ZodArray<z.ZodString>;
|
|
3884
|
+
}, z.core.$strict>;
|
|
3885
|
+
eligible: z.ZodObject<{
|
|
3886
|
+
table: z.ZodString;
|
|
3887
|
+
resource: z.ZodString;
|
|
3888
|
+
kind: z.ZodString;
|
|
3889
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
3890
|
+
table: z.ZodString;
|
|
3891
|
+
column: z.ZodString;
|
|
3892
|
+
active: z.ZodOptional<z.ZodString>;
|
|
3893
|
+
public: z.ZodOptional<z.ZodString>;
|
|
3894
|
+
}, z.core.$strict>>;
|
|
3895
|
+
}, z.core.$strict>;
|
|
3896
|
+
hours: z.ZodObject<{
|
|
3897
|
+
practice: z.ZodObject<{
|
|
3898
|
+
weekday: z.ZodString;
|
|
3899
|
+
opens: z.ZodString;
|
|
3900
|
+
closes: z.ZodString;
|
|
3901
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
3902
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
3903
|
+
table: z.ZodString;
|
|
3904
|
+
open: z.ZodOptional<z.ZodString>;
|
|
3905
|
+
}, z.core.$strict>;
|
|
3906
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
3907
|
+
weekday: z.ZodString;
|
|
3908
|
+
opens: z.ZodString;
|
|
3909
|
+
closes: z.ZodString;
|
|
3910
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
3911
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
3912
|
+
table: z.ZodString;
|
|
3913
|
+
resource: z.ZodString;
|
|
3914
|
+
}, z.core.$strict>>;
|
|
3915
|
+
}, z.core.$strict>;
|
|
3916
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
3917
|
+
table: z.ZodString;
|
|
3918
|
+
from: z.ZodString;
|
|
3919
|
+
to: z.ZodString;
|
|
3920
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
3921
|
+
active: z.ZodOptional<z.ZodString>;
|
|
3922
|
+
}, z.core.$strict>>;
|
|
3923
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3924
|
+
table: z.ZodString;
|
|
3925
|
+
column: z.ZodString;
|
|
3926
|
+
}, z.core.$strict>]>;
|
|
3927
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3928
|
+
table: z.ZodString;
|
|
3929
|
+
column: z.ZodString;
|
|
3930
|
+
}, z.core.$strict>]>>;
|
|
3931
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3932
|
+
table: z.ZodString;
|
|
3933
|
+
column: z.ZodString;
|
|
3934
|
+
}, z.core.$strict>]>>;
|
|
3935
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
3936
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3937
|
+
table: z.ZodString;
|
|
3938
|
+
column: z.ZodString;
|
|
3939
|
+
}, z.core.$strict>]>;
|
|
3940
|
+
mode: z.ZodEnum<{
|
|
3941
|
+
refuse: "refuse";
|
|
3942
|
+
flag: "flag";
|
|
3943
|
+
}>;
|
|
3944
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
3945
|
+
when: z.ZodObject<{
|
|
3946
|
+
column: z.ZodString;
|
|
3947
|
+
to: z.ZodString;
|
|
3948
|
+
}, z.core.$strict>;
|
|
3949
|
+
}, z.core.$strict>>;
|
|
3950
|
+
}, z.core.$strict>>;
|
|
3951
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
3952
|
+
column: z.ZodString;
|
|
3953
|
+
initial: z.ZodString;
|
|
3954
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3955
|
+
to: z.ZodString;
|
|
3956
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
3957
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
3958
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3959
|
+
column: z.ZodString;
|
|
3960
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3961
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
3962
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
3963
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
3964
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
3965
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
3966
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
3967
|
+
}, z.core.$strict>>>;
|
|
3968
|
+
}, z.core.$strict>>;
|
|
3969
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3970
|
+
}, z.core.$strict>]>>>;
|
|
3971
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
3972
|
+
when: z.ZodArray<z.ZodString>;
|
|
3973
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3974
|
+
}, z.core.$strict>>;
|
|
3975
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3976
|
+
via: z.ZodString;
|
|
3977
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3978
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3979
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3980
|
+
}, z.core.$strict>>>;
|
|
3981
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3982
|
+
table: z.ZodString;
|
|
3983
|
+
via: z.ZodString;
|
|
3984
|
+
in: z.ZodArray<z.ZodString>;
|
|
3985
|
+
}, z.core.$strict>>>;
|
|
3986
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
3987
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
3988
|
+
}, z.core.$strict>>;
|
|
3989
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3990
|
+
}, z.core.$strict>>;
|
|
3991
|
+
builtOn: z.ZodOptional<z.ZodString>;
|
|
3992
|
+
part: z.ZodOptional<z.ZodString>;
|
|
1569
3993
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1570
3994
|
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1571
3995
|
keyField: z.ZodOptional<z.ZodString>;
|
|
@@ -1662,11 +4086,11 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
1662
4086
|
}, z.core.$strict>>;
|
|
1663
4087
|
}, z.core.$strict>], "type">>>;
|
|
1664
4088
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4089
|
+
payments: "payments";
|
|
1665
4090
|
"hosted-only": "hosted-only";
|
|
1666
4091
|
"offline-required": "offline-required";
|
|
1667
4092
|
"receipt-printer": "receipt-printer";
|
|
1668
4093
|
"barcode-scanner": "barcode-scanner";
|
|
1669
|
-
payments: "payments";
|
|
1670
4094
|
"file-storage": "file-storage";
|
|
1671
4095
|
"email-delivery": "email-delivery";
|
|
1672
4096
|
realtime: "realtime";
|
|
@@ -1707,17 +4131,18 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1707
4131
|
sqlite: "sqlite";
|
|
1708
4132
|
}>>>;
|
|
1709
4133
|
requires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4134
|
+
payments: "payments";
|
|
1710
4135
|
"hosted-only": "hosted-only";
|
|
1711
4136
|
"offline-required": "offline-required";
|
|
1712
4137
|
"receipt-printer": "receipt-printer";
|
|
1713
4138
|
"barcode-scanner": "barcode-scanner";
|
|
1714
|
-
payments: "payments";
|
|
1715
4139
|
"file-storage": "file-storage";
|
|
1716
4140
|
"email-delivery": "email-delivery";
|
|
1717
4141
|
realtime: "realtime";
|
|
1718
4142
|
"outbound-http": "outbound-http";
|
|
1719
4143
|
"oauth-connect": "oauth-connect";
|
|
1720
4144
|
}>>>;
|
|
4145
|
+
updatesFrom: z.ZodOptional<z.ZodString>;
|
|
1721
4146
|
}, z.core.$strict>;
|
|
1722
4147
|
requiredSchema: z.ZodObject<{
|
|
1723
4148
|
tables: z.ZodArray<z.ZodObject<{
|
|
@@ -1726,26 +4151,26 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1726
4151
|
ref: z.ZodString;
|
|
1727
4152
|
type: z.ZodEnum<{
|
|
1728
4153
|
bigint: "bigint";
|
|
1729
|
-
id: "id";
|
|
1730
4154
|
int: "int";
|
|
1731
4155
|
date: "date";
|
|
1732
4156
|
enum: "enum";
|
|
1733
|
-
text: "text";
|
|
1734
4157
|
decimal: "decimal";
|
|
1735
4158
|
money: "money";
|
|
1736
4159
|
float: "float";
|
|
1737
4160
|
bool: "bool";
|
|
1738
|
-
|
|
4161
|
+
id: "id";
|
|
1739
4162
|
timestamptz: "timestamptz";
|
|
1740
|
-
uuid: "uuid";
|
|
1741
4163
|
fk: "fk";
|
|
4164
|
+
text: "text";
|
|
4165
|
+
json: "json";
|
|
4166
|
+
uuid: "uuid";
|
|
1742
4167
|
blob: "blob";
|
|
1743
4168
|
}>;
|
|
1744
4169
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
1745
|
-
name: "name";
|
|
1746
4170
|
money: "money";
|
|
1747
|
-
|
|
4171
|
+
name: "name";
|
|
1748
4172
|
email: "email";
|
|
4173
|
+
image: "image";
|
|
1749
4174
|
avatar: "avatar";
|
|
1750
4175
|
"geo-lat": "geo-lat";
|
|
1751
4176
|
"geo-lng": "geo-lng";
|
|
@@ -1760,6 +4185,8 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1760
4185
|
references: z.ZodOptional<z.ZodString>;
|
|
1761
4186
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1762
4187
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
4188
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
4189
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1763
4190
|
rules: z.ZodOptional<z.ZodObject<{
|
|
1764
4191
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1765
4192
|
list: z.ZodString;
|
|
@@ -1777,9 +4204,9 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1777
4204
|
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1778
4205
|
validation: z.ZodOptional<z.ZodObject<{
|
|
1779
4206
|
format: z.ZodOptional<z.ZodEnum<{
|
|
1780
|
-
url: "url";
|
|
1781
4207
|
email: "email";
|
|
1782
4208
|
phone: "phone";
|
|
4209
|
+
url: "url";
|
|
1783
4210
|
}>>;
|
|
1784
4211
|
min: z.ZodOptional<z.ZodNumber>;
|
|
1785
4212
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1794,22 +4221,133 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1794
4221
|
always: "always";
|
|
1795
4222
|
}>>;
|
|
1796
4223
|
}, z.core.$strict>>;
|
|
4224
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
4225
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
4226
|
+
table: z.ZodString;
|
|
4227
|
+
column: z.ZodString;
|
|
4228
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4229
|
+
addOn: z.ZodString;
|
|
4230
|
+
setting: z.ZodString;
|
|
4231
|
+
}, z.core.$strict>]>]>;
|
|
4232
|
+
}, z.core.$strict>>;
|
|
1797
4233
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
1798
4234
|
start: z.ZodOptional<z.ZodNumber>;
|
|
4235
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4236
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4237
|
+
table: z.ZodString;
|
|
4238
|
+
column: z.ZodString;
|
|
4239
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4240
|
+
addOn: z.ZodString;
|
|
4241
|
+
setting: z.ZodString;
|
|
4242
|
+
}, z.core.$strict>]>>;
|
|
4243
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
4244
|
+
}, z.core.$strict>>;
|
|
4245
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
4246
|
+
from: z.ZodString;
|
|
4247
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
4248
|
+
prefixSetting: 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
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
1799
4256
|
}, z.core.$strict>>;
|
|
1800
4257
|
code: z.ZodOptional<z.ZodObject<{
|
|
1801
4258
|
prefix: z.ZodOptional<z.ZodString>;
|
|
1802
4259
|
length: z.ZodNumber;
|
|
1803
4260
|
}, z.core.$strict>>;
|
|
4261
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
4262
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
4263
|
+
trim: "trim";
|
|
4264
|
+
email: "email";
|
|
4265
|
+
}>>;
|
|
1804
4266
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
1805
4267
|
from: z.ZodString;
|
|
1806
4268
|
via: z.ZodString;
|
|
1807
4269
|
sum: z.ZodString;
|
|
1808
4270
|
times: z.ZodOptional<z.ZodString>;
|
|
1809
4271
|
unlessSet: z.ZodOptional<z.ZodString>;
|
|
4272
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
4273
|
+
column: z.ZodString;
|
|
4274
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4275
|
+
}, z.core.$strict>>;
|
|
4276
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
4277
|
+
column: z.ZodString;
|
|
4278
|
+
of: z.ZodString;
|
|
4279
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4280
|
+
}, z.core.$strict>>;
|
|
4281
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4282
|
+
}, z.core.$strict>>;
|
|
4283
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
4284
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
4285
|
+
today: "today";
|
|
4286
|
+
now: "now";
|
|
4287
|
+
"user-name": "user-name";
|
|
4288
|
+
"user-id": "user-id";
|
|
4289
|
+
}>, z.ZodObject<{
|
|
4290
|
+
byOrigin: z.ZodObject<{
|
|
4291
|
+
public: z.ZodString;
|
|
4292
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
4293
|
+
}, z.core.$strict>;
|
|
4294
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4295
|
+
claim: z.ZodString;
|
|
4296
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
4297
|
+
"user-name": "user-name";
|
|
4298
|
+
"user-id": "user-id";
|
|
4299
|
+
}>>;
|
|
4300
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4301
|
+
copy: z.ZodString;
|
|
4302
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4303
|
+
addDays: z.ZodObject<{
|
|
4304
|
+
date: z.ZodString;
|
|
4305
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
4306
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
4307
|
+
}, z.core.$strict>;
|
|
4308
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4309
|
+
hashOf: z.ZodObject<{
|
|
4310
|
+
columns: z.ZodArray<z.ZodString>;
|
|
4311
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4312
|
+
table: z.ZodString;
|
|
4313
|
+
via: z.ZodString;
|
|
4314
|
+
columns: z.ZodArray<z.ZodString>;
|
|
4315
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
4316
|
+
}, z.core.$strict>>>;
|
|
4317
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4318
|
+
via: z.ZodString;
|
|
4319
|
+
table: z.ZodString;
|
|
4320
|
+
columns: z.ZodArray<z.ZodString>;
|
|
4321
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4322
|
+
table: z.ZodString;
|
|
4323
|
+
via: z.ZodString;
|
|
4324
|
+
columns: z.ZodArray<z.ZodString>;
|
|
4325
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
4326
|
+
}, z.core.$strict>>>;
|
|
4327
|
+
}, z.core.$strict>>>;
|
|
4328
|
+
}, z.core.$strict>;
|
|
4329
|
+
}, z.core.$strict>]>;
|
|
4330
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
4331
|
+
column: z.ZodString;
|
|
4332
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4333
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4334
|
+
column: z.ZodString;
|
|
4335
|
+
filled: z.ZodLiteral<true>;
|
|
4336
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
4337
|
+
column: z.ZodString;
|
|
4338
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4339
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4340
|
+
column: z.ZodString;
|
|
4341
|
+
filled: z.ZodLiteral<true>;
|
|
4342
|
+
}, z.core.$strict>]>>]>;
|
|
1810
4343
|
}, z.core.$strict>>;
|
|
1811
4344
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1812
4345
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
4346
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
4347
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
4348
|
+
column: z.ZodString;
|
|
4349
|
+
via: z.ZodOptional<z.ZodString>;
|
|
4350
|
+
}, z.core.$strict>>;
|
|
1813
4351
|
}, z.core.$strict>>;
|
|
1814
4352
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1815
4353
|
}, z.core.$strict>>;
|
|
@@ -1847,6 +4385,123 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1847
4385
|
column: z.ZodString;
|
|
1848
4386
|
}, z.core.$strict>]>>;
|
|
1849
4387
|
}, z.core.$strict>>;
|
|
4388
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
4389
|
+
start: z.ZodString;
|
|
4390
|
+
minutes: z.ZodString;
|
|
4391
|
+
resource: z.ZodString;
|
|
4392
|
+
kind: z.ZodString;
|
|
4393
|
+
countWhere: z.ZodObject<{
|
|
4394
|
+
column: z.ZodString;
|
|
4395
|
+
values: z.ZodArray<z.ZodString>;
|
|
4396
|
+
}, z.core.$strict>;
|
|
4397
|
+
eligible: z.ZodObject<{
|
|
4398
|
+
table: z.ZodString;
|
|
4399
|
+
resource: z.ZodString;
|
|
4400
|
+
kind: z.ZodString;
|
|
4401
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
4402
|
+
table: z.ZodString;
|
|
4403
|
+
column: z.ZodString;
|
|
4404
|
+
active: z.ZodOptional<z.ZodString>;
|
|
4405
|
+
public: z.ZodOptional<z.ZodString>;
|
|
4406
|
+
}, z.core.$strict>>;
|
|
4407
|
+
}, z.core.$strict>;
|
|
4408
|
+
hours: z.ZodObject<{
|
|
4409
|
+
practice: z.ZodObject<{
|
|
4410
|
+
weekday: z.ZodString;
|
|
4411
|
+
opens: z.ZodString;
|
|
4412
|
+
closes: z.ZodString;
|
|
4413
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
4414
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
4415
|
+
table: z.ZodString;
|
|
4416
|
+
open: z.ZodOptional<z.ZodString>;
|
|
4417
|
+
}, z.core.$strict>;
|
|
4418
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
4419
|
+
weekday: z.ZodString;
|
|
4420
|
+
opens: z.ZodString;
|
|
4421
|
+
closes: z.ZodString;
|
|
4422
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
4423
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
4424
|
+
table: z.ZodString;
|
|
4425
|
+
resource: z.ZodString;
|
|
4426
|
+
}, z.core.$strict>>;
|
|
4427
|
+
}, z.core.$strict>;
|
|
4428
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
4429
|
+
table: z.ZodString;
|
|
4430
|
+
from: z.ZodString;
|
|
4431
|
+
to: z.ZodString;
|
|
4432
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
4433
|
+
active: z.ZodOptional<z.ZodString>;
|
|
4434
|
+
}, z.core.$strict>>;
|
|
4435
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4436
|
+
table: z.ZodString;
|
|
4437
|
+
column: z.ZodString;
|
|
4438
|
+
}, z.core.$strict>]>;
|
|
4439
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4440
|
+
table: z.ZodString;
|
|
4441
|
+
column: z.ZodString;
|
|
4442
|
+
}, z.core.$strict>]>>;
|
|
4443
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4444
|
+
table: z.ZodString;
|
|
4445
|
+
column: z.ZodString;
|
|
4446
|
+
}, z.core.$strict>]>>;
|
|
4447
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
4448
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4449
|
+
table: z.ZodString;
|
|
4450
|
+
column: z.ZodString;
|
|
4451
|
+
}, z.core.$strict>]>;
|
|
4452
|
+
mode: z.ZodEnum<{
|
|
4453
|
+
refuse: "refuse";
|
|
4454
|
+
flag: "flag";
|
|
4455
|
+
}>;
|
|
4456
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
4457
|
+
when: z.ZodObject<{
|
|
4458
|
+
column: z.ZodString;
|
|
4459
|
+
to: z.ZodString;
|
|
4460
|
+
}, z.core.$strict>;
|
|
4461
|
+
}, z.core.$strict>>;
|
|
4462
|
+
}, z.core.$strict>>;
|
|
4463
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
4464
|
+
column: z.ZodString;
|
|
4465
|
+
initial: z.ZodString;
|
|
4466
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4467
|
+
to: z.ZodString;
|
|
4468
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
4469
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
4470
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4471
|
+
column: z.ZodString;
|
|
4472
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4473
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4474
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
4475
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
4476
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
4477
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
4478
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
4479
|
+
}, z.core.$strict>>>;
|
|
4480
|
+
}, z.core.$strict>>;
|
|
4481
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4482
|
+
}, z.core.$strict>]>>>;
|
|
4483
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
4484
|
+
when: z.ZodArray<z.ZodString>;
|
|
4485
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4486
|
+
}, z.core.$strict>>;
|
|
4487
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4488
|
+
via: z.ZodString;
|
|
4489
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4490
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4491
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4492
|
+
}, z.core.$strict>>>;
|
|
4493
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4494
|
+
table: z.ZodString;
|
|
4495
|
+
via: z.ZodString;
|
|
4496
|
+
in: z.ZodArray<z.ZodString>;
|
|
4497
|
+
}, z.core.$strict>>>;
|
|
4498
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
4499
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
4500
|
+
}, z.core.$strict>>;
|
|
4501
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4502
|
+
}, z.core.$strict>>;
|
|
4503
|
+
builtOn: z.ZodOptional<z.ZodString>;
|
|
4504
|
+
part: z.ZodOptional<z.ZodString>;
|
|
1850
4505
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1851
4506
|
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1852
4507
|
keyField: z.ZodOptional<z.ZodString>;
|
|
@@ -1868,6 +4523,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1868
4523
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1869
4524
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1870
4525
|
titles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4526
|
+
feature: z.ZodOptional<z.ZodString>;
|
|
1871
4527
|
}, z.core.$strict>>;
|
|
1872
4528
|
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1873
4529
|
key: z.ZodString;
|
|
@@ -1875,6 +4531,10 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1875
4531
|
cloneFrom: z.ZodOptional<z.ZodString>;
|
|
1876
4532
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1877
4533
|
screensOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4534
|
+
limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4535
|
+
writable: z.ZodArray<z.ZodString>;
|
|
4536
|
+
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
4537
|
+
}, z.core.$strict>>>;
|
|
1878
4538
|
}, z.core.$strict>>>;
|
|
1879
4539
|
settings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1880
4540
|
type: z.ZodLiteral<"string">;
|
|
@@ -1975,11 +4635,11 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1975
4635
|
entry: z.ZodString;
|
|
1976
4636
|
}, z.core.$strict>>>;
|
|
1977
4637
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4638
|
+
payments: "payments";
|
|
1978
4639
|
"hosted-only": "hosted-only";
|
|
1979
4640
|
"offline-required": "offline-required";
|
|
1980
4641
|
"receipt-printer": "receipt-printer";
|
|
1981
4642
|
"barcode-scanner": "barcode-scanner";
|
|
1982
|
-
payments: "payments";
|
|
1983
4643
|
"file-storage": "file-storage";
|
|
1984
4644
|
"email-delivery": "email-delivery";
|
|
1985
4645
|
realtime: "realtime";
|
|
@@ -1988,8 +4648,8 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1988
4648
|
}>>>;
|
|
1989
4649
|
frontends: z.ZodArray<z.ZodObject<{
|
|
1990
4650
|
side: z.ZodEnum<{
|
|
1991
|
-
staff: "staff";
|
|
1992
4651
|
customer: "customer";
|
|
4652
|
+
staff: "staff";
|
|
1993
4653
|
}>;
|
|
1994
4654
|
kind: z.ZodEnum<{
|
|
1995
4655
|
spa: "spa";
|
|
@@ -2003,8 +4663,8 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2003
4663
|
}, z.core.$strict>>>;
|
|
2004
4664
|
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2005
4665
|
placement: z.ZodOptional<z.ZodEnum<{
|
|
2006
|
-
internal: "internal";
|
|
2007
4666
|
external: "external";
|
|
4667
|
+
internal: "internal";
|
|
2008
4668
|
}>>;
|
|
2009
4669
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2010
4670
|
}, z.core.$strict>>;
|
|
@@ -2034,7 +4694,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2034
4694
|
}>>;
|
|
2035
4695
|
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2036
4696
|
writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2037
|
-
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4697
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2038
4698
|
column: z.ZodString;
|
|
2039
4699
|
op: z.ZodEnum<{
|
|
2040
4700
|
in: "in";
|
|
@@ -2044,11 +4704,81 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2044
4704
|
lte: "lte";
|
|
2045
4705
|
}>;
|
|
2046
4706
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
2047
|
-
}, z.core.$strict
|
|
4707
|
+
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
4708
|
+
column: z.ZodString;
|
|
4709
|
+
op: z.ZodLiteral<"today">;
|
|
4710
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4711
|
+
column: z.ZodString;
|
|
4712
|
+
op: z.ZodLiteral<"from-today">;
|
|
4713
|
+
days: z.ZodOptional<z.ZodNumber>;
|
|
4714
|
+
}, z.core.$strict>]>]>>>;
|
|
2048
4715
|
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2049
|
-
claim: z.ZodOptional<z.ZodObject<{
|
|
4716
|
+
claim: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2050
4717
|
match: z.ZodArray<z.ZodString>;
|
|
4718
|
+
verify: z.ZodOptional<z.ZodLiteral<"email-code">>;
|
|
4719
|
+
email: z.ZodOptional<z.ZodString>;
|
|
4720
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4721
|
+
verify: z.ZodLiteral<"email-link">;
|
|
4722
|
+
email: z.ZodString;
|
|
4723
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4724
|
+
by: z.ZodLiteral<"token">;
|
|
4725
|
+
column: z.ZodString;
|
|
4726
|
+
expires: z.ZodOptional<z.ZodString>;
|
|
4727
|
+
stopped: z.ZodOptional<z.ZodString>;
|
|
4728
|
+
}, z.core.$strict>]>>;
|
|
4729
|
+
claimedBy: z.ZodOptional<z.ZodObject<{
|
|
4730
|
+
table: z.ZodString;
|
|
4731
|
+
column: z.ZodString;
|
|
4732
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4733
|
+
}, z.core.$strict>>;
|
|
4734
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
4735
|
+
lookup: "lookup";
|
|
4736
|
+
verified: "verified";
|
|
4737
|
+
}>>;
|
|
4738
|
+
visibleWith: z.ZodOptional<z.ZodObject<{
|
|
4739
|
+
table: z.ZodString;
|
|
4740
|
+
via: z.ZodString;
|
|
4741
|
+
}, z.core.$strict>>;
|
|
4742
|
+
files: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4743
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4744
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
4745
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4746
|
+
onClaim: z.ZodOptional<z.ZodObject<{
|
|
4747
|
+
clear: z.ZodArray<z.ZodString>;
|
|
2051
4748
|
}, z.core.$strict>>;
|
|
4749
|
+
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
4750
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4751
|
+
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<{
|
|
4752
|
+
within: z.ZodNumber;
|
|
4753
|
+
}, z.core.$strict>]>>>;
|
|
4754
|
+
humanCheck: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4755
|
+
rank: z.ZodOptional<z.ZodObject<{
|
|
4756
|
+
orderBy: z.ZodString;
|
|
4757
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
4758
|
+
column: z.ZodString;
|
|
4759
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
4760
|
+
}, z.core.$strict>>;
|
|
4761
|
+
}, z.core.$strict>>;
|
|
4762
|
+
maxOpen: z.ZodOptional<z.ZodObject<{
|
|
4763
|
+
column: z.ZodString;
|
|
4764
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4765
|
+
n: z.ZodNumber;
|
|
4766
|
+
upcoming: z.ZodOptional<z.ZodString>;
|
|
4767
|
+
}, z.core.$strict>>;
|
|
4768
|
+
anonymous: z.ZodOptional<z.ZodObject<{
|
|
4769
|
+
perValue: z.ZodOptional<z.ZodObject<{
|
|
4770
|
+
columns: z.ZodArray<z.ZodString>;
|
|
4771
|
+
n: z.ZodNumber;
|
|
4772
|
+
}, z.core.$strict>>;
|
|
4773
|
+
perKeyHour: z.ZodOptional<z.ZodNumber>;
|
|
4774
|
+
plainText: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4775
|
+
}, z.core.$strict>>;
|
|
4776
|
+
requireSetting: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4777
|
+
table: z.ZodString;
|
|
4778
|
+
column: z.ZodString;
|
|
4779
|
+
when: z.ZodOptional<z.ZodLiteral<"anonymous">>;
|
|
4780
|
+
}, z.core.$strict>>>;
|
|
4781
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2052
4782
|
confirm: z.ZodOptional<z.ZodObject<{
|
|
2053
4783
|
template: z.ZodEnum<{
|
|
2054
4784
|
"booking-confirmation": "booking-confirmation";
|
|
@@ -2067,9 +4797,363 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2067
4797
|
link: z.ZodOptional<z.ZodString>;
|
|
2068
4798
|
}, z.core.$strict>>;
|
|
2069
4799
|
}, z.core.$strict>>>;
|
|
4800
|
+
publicKeys: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4801
|
+
requiresStaff: z.ZodOptional<z.ZodObject<{
|
|
4802
|
+
role: z.ZodString;
|
|
4803
|
+
}, z.core.$strict>>;
|
|
4804
|
+
enabledBy: z.ZodOptional<z.ZodObject<{
|
|
4805
|
+
table: z.ZodString;
|
|
4806
|
+
column: z.ZodString;
|
|
4807
|
+
}, z.core.$strict>>;
|
|
4808
|
+
}, z.core.$strict>>>;
|
|
4809
|
+
outbox: z.ZodOptional<z.ZodObject<{
|
|
4810
|
+
table: z.ZodString;
|
|
4811
|
+
columns: z.ZodObject<{
|
|
4812
|
+
kind: z.ZodString;
|
|
4813
|
+
status: z.ZodString;
|
|
4814
|
+
to: z.ZodString;
|
|
4815
|
+
language: z.ZodOptional<z.ZodString>;
|
|
4816
|
+
due: z.ZodOptional<z.ZodString>;
|
|
4817
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
4818
|
+
error: z.ZodOptional<z.ZodString>;
|
|
4819
|
+
skipReason: z.ZodOptional<z.ZodString>;
|
|
4820
|
+
subjectOverride: z.ZodOptional<z.ZodString>;
|
|
4821
|
+
bodyOverride: z.ZodOptional<z.ZodString>;
|
|
4822
|
+
approvedBy: z.ZodOptional<z.ZodString>;
|
|
4823
|
+
effectAt: z.ZodOptional<z.ZodString>;
|
|
4824
|
+
effectError: z.ZodOptional<z.ZodString>;
|
|
4825
|
+
}, z.core.$strict>;
|
|
4826
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4827
|
+
recipient: z.ZodObject<{
|
|
4828
|
+
via: z.ZodString;
|
|
4829
|
+
table: z.ZodString;
|
|
4830
|
+
email: z.ZodString;
|
|
4831
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4832
|
+
language: z.ZodOptional<z.ZodString>;
|
|
4833
|
+
optIn: z.ZodOptional<z.ZodString>;
|
|
4834
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
4835
|
+
via: z.ZodString;
|
|
4836
|
+
email: z.ZodString;
|
|
4837
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4838
|
+
language: z.ZodOptional<z.ZodString>;
|
|
4839
|
+
}, z.core.$strict>>;
|
|
4840
|
+
}, z.core.$strict>;
|
|
4841
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
4842
|
+
table: z.ZodString;
|
|
4843
|
+
enabled: z.ZodOptional<z.ZodString>;
|
|
4844
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4845
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
4846
|
+
}, z.core.$strict>>;
|
|
4847
|
+
pages: z.ZodOptional<z.ZodObject<{
|
|
4848
|
+
manage: z.ZodOptional<z.ZodString>;
|
|
4849
|
+
booking: z.ZodOptional<z.ZodString>;
|
|
4850
|
+
}, z.core.$strict>>;
|
|
4851
|
+
kinds: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4852
|
+
producers: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4853
|
+
onCreate: z.ZodObject<{
|
|
4854
|
+
table: z.ZodString;
|
|
4855
|
+
via: z.ZodOptional<z.ZodString>;
|
|
4856
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
4857
|
+
column: z.ZodString;
|
|
4858
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4859
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4860
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
4861
|
+
}, z.core.$strict>>;
|
|
4862
|
+
}, z.core.$strict>;
|
|
4863
|
+
kind: z.ZodString;
|
|
4864
|
+
link: z.ZodString;
|
|
4865
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
4866
|
+
setting: z.ZodObject<{
|
|
4867
|
+
table: z.ZodString;
|
|
4868
|
+
column: z.ZodString;
|
|
4869
|
+
}, z.core.$strict>;
|
|
4870
|
+
}, z.core.$strict>]>>;
|
|
4871
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4872
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4873
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
4874
|
+
date: z.ZodString;
|
|
4875
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4876
|
+
byColumn: z.ZodString;
|
|
4877
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
4878
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4879
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
4880
|
+
table: z.ZodString;
|
|
4881
|
+
column: z.ZodString;
|
|
4882
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4883
|
+
addOn: z.ZodString;
|
|
4884
|
+
setting: z.ZodString;
|
|
4885
|
+
}, z.core.$strict>]>;
|
|
4886
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
4887
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
4888
|
+
}, z.core.$strict>]>;
|
|
4889
|
+
at: z.ZodOptional<z.ZodString>;
|
|
4890
|
+
}, z.core.$strict>>;
|
|
4891
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
4892
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4893
|
+
column: z.ZodString;
|
|
4894
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4895
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4896
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
4897
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
4898
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
4899
|
+
reason: z.ZodEnum<{
|
|
4900
|
+
void: "void";
|
|
4901
|
+
paid: "paid";
|
|
4902
|
+
"no-longer-needed": "no-longer-needed";
|
|
4903
|
+
}>;
|
|
4904
|
+
}, z.core.$strict>>>;
|
|
4905
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
4906
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
4907
|
+
table: z.ZodString;
|
|
4908
|
+
column: z.ZodString;
|
|
4909
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4910
|
+
addOn: z.ZodString;
|
|
4911
|
+
setting: z.ZodString;
|
|
4912
|
+
}, z.core.$strict>]>;
|
|
4913
|
+
}, z.core.$strict>>;
|
|
4914
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
4915
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
4916
|
+
table: z.ZodString;
|
|
4917
|
+
via: z.ZodOptional<z.ZodString>;
|
|
4918
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
4919
|
+
}, z.core.$strict>>;
|
|
4920
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4921
|
+
onChange: z.ZodObject<{
|
|
4922
|
+
table: z.ZodString;
|
|
4923
|
+
via: z.ZodOptional<z.ZodString>;
|
|
4924
|
+
column: z.ZodString;
|
|
4925
|
+
to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
4926
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
4927
|
+
column: z.ZodString;
|
|
4928
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4929
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4930
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
4931
|
+
}, z.core.$strict>>;
|
|
4932
|
+
}, z.core.$strict>;
|
|
4933
|
+
kind: z.ZodString;
|
|
4934
|
+
link: z.ZodString;
|
|
4935
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
4936
|
+
setting: z.ZodObject<{
|
|
4937
|
+
table: z.ZodString;
|
|
4938
|
+
column: z.ZodString;
|
|
4939
|
+
}, z.core.$strict>;
|
|
4940
|
+
}, z.core.$strict>]>>;
|
|
4941
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4942
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4943
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
4944
|
+
date: z.ZodString;
|
|
4945
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4946
|
+
byColumn: z.ZodString;
|
|
4947
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
4948
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4949
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
4950
|
+
table: z.ZodString;
|
|
4951
|
+
column: z.ZodString;
|
|
4952
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4953
|
+
addOn: z.ZodString;
|
|
4954
|
+
setting: z.ZodString;
|
|
4955
|
+
}, z.core.$strict>]>;
|
|
4956
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
4957
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
4958
|
+
}, z.core.$strict>]>;
|
|
4959
|
+
at: z.ZodOptional<z.ZodString>;
|
|
4960
|
+
}, z.core.$strict>>;
|
|
4961
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
4962
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4963
|
+
column: z.ZodString;
|
|
4964
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
4965
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
4966
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
4967
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
4968
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
4969
|
+
reason: z.ZodEnum<{
|
|
4970
|
+
void: "void";
|
|
4971
|
+
paid: "paid";
|
|
4972
|
+
"no-longer-needed": "no-longer-needed";
|
|
4973
|
+
}>;
|
|
4974
|
+
}, z.core.$strict>>>;
|
|
4975
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
4976
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
4977
|
+
table: z.ZodString;
|
|
4978
|
+
column: z.ZodString;
|
|
4979
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4980
|
+
addOn: z.ZodString;
|
|
4981
|
+
setting: z.ZodString;
|
|
4982
|
+
}, z.core.$strict>]>;
|
|
4983
|
+
}, z.core.$strict>>;
|
|
4984
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
4985
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
4986
|
+
table: z.ZodString;
|
|
4987
|
+
via: z.ZodOptional<z.ZodString>;
|
|
4988
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
4989
|
+
}, z.core.$strict>>;
|
|
4990
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4991
|
+
before: z.ZodObject<{
|
|
4992
|
+
table: z.ZodString;
|
|
4993
|
+
at: z.ZodString;
|
|
4994
|
+
lead: z.ZodObject<{
|
|
4995
|
+
via: z.ZodString;
|
|
4996
|
+
table: z.ZodString;
|
|
4997
|
+
column: z.ZodString;
|
|
4998
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
4999
|
+
table: z.ZodString;
|
|
5000
|
+
column: z.ZodString;
|
|
5001
|
+
}, z.core.$strict>>;
|
|
5002
|
+
max: z.ZodNumber;
|
|
5003
|
+
}, z.core.$strict>;
|
|
5004
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
5005
|
+
column: z.ZodString;
|
|
5006
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5007
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
5008
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
5009
|
+
}, z.core.$strict>>;
|
|
5010
|
+
}, z.core.$strict>;
|
|
5011
|
+
kind: z.ZodString;
|
|
5012
|
+
link: z.ZodString;
|
|
5013
|
+
gate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"enabled">, z.ZodObject<{
|
|
5014
|
+
setting: z.ZodObject<{
|
|
5015
|
+
table: z.ZodString;
|
|
5016
|
+
column: z.ZodString;
|
|
5017
|
+
}, z.core.$strict>;
|
|
5018
|
+
}, z.core.$strict>]>>;
|
|
5019
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5020
|
+
hold: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5021
|
+
due: z.ZodOptional<z.ZodObject<{
|
|
5022
|
+
date: z.ZodString;
|
|
5023
|
+
days: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5024
|
+
byColumn: z.ZodString;
|
|
5025
|
+
values: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
5026
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5027
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
5028
|
+
table: z.ZodString;
|
|
5029
|
+
column: z.ZodString;
|
|
5030
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5031
|
+
addOn: z.ZodString;
|
|
5032
|
+
setting: z.ZodString;
|
|
5033
|
+
}, z.core.$strict>]>;
|
|
5034
|
+
byColumn: z.ZodOptional<z.ZodString>;
|
|
5035
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
5036
|
+
}, z.core.$strict>]>;
|
|
5037
|
+
at: z.ZodOptional<z.ZodString>;
|
|
5038
|
+
}, z.core.$strict>>;
|
|
5039
|
+
supersede: z.ZodOptional<z.ZodString>;
|
|
5040
|
+
dropWhen: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5041
|
+
column: z.ZodString;
|
|
5042
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5043
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
5044
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
5045
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
5046
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
5047
|
+
reason: z.ZodEnum<{
|
|
5048
|
+
void: "void";
|
|
5049
|
+
paid: "paid";
|
|
5050
|
+
"no-longer-needed": "no-longer-needed";
|
|
5051
|
+
}>;
|
|
5052
|
+
}, z.core.$strict>>>;
|
|
5053
|
+
recipient: z.ZodOptional<z.ZodObject<{
|
|
5054
|
+
setting: z.ZodUnion<readonly [z.ZodObject<{
|
|
5055
|
+
table: z.ZodString;
|
|
5056
|
+
column: z.ZodString;
|
|
5057
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5058
|
+
addOn: z.ZodString;
|
|
5059
|
+
setting: z.ZodString;
|
|
5060
|
+
}, z.core.$strict>]>;
|
|
5061
|
+
}, z.core.$strict>>;
|
|
5062
|
+
batchMinutes: z.ZodOptional<z.ZodNumber>;
|
|
5063
|
+
onSent: z.ZodOptional<z.ZodObject<{
|
|
5064
|
+
table: z.ZodString;
|
|
5065
|
+
via: z.ZodOptional<z.ZodString>;
|
|
5066
|
+
set: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull]>>;
|
|
5067
|
+
}, z.core.$strict>>;
|
|
5068
|
+
}, z.core.$strict>]>>>;
|
|
5069
|
+
}, z.core.$strict>>;
|
|
5070
|
+
emailTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5071
|
+
key: z.ZodString;
|
|
5072
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
5073
|
+
attach: z.ZodOptional<z.ZodObject<{
|
|
5074
|
+
kind: z.ZodString;
|
|
5075
|
+
link: z.ZodString;
|
|
5076
|
+
}, z.core.$strict>>;
|
|
5077
|
+
vars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5078
|
+
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5079
|
+
subject: z.ZodString;
|
|
5080
|
+
preheader: z.ZodOptional<z.ZodString>;
|
|
5081
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
5082
|
+
block: z.ZodString;
|
|
5083
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5084
|
+
label: z.ZodOptional<z.ZodString>;
|
|
5085
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5086
|
+
}, z.core.$strict>>;
|
|
5087
|
+
footer: z.ZodOptional<z.ZodString>;
|
|
5088
|
+
}, z.core.$strict>>;
|
|
5089
|
+
}, z.core.$strict>>>;
|
|
2070
5090
|
sampleData: z.ZodOptional<z.ZodObject<{
|
|
2071
5091
|
file: z.ZodString;
|
|
2072
5092
|
}, z.core.$strict>>;
|
|
5093
|
+
addOns: z.ZodOptional<z.ZodObject<{
|
|
5094
|
+
requires: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5095
|
+
key: z.ZodString;
|
|
5096
|
+
range: z.ZodString;
|
|
5097
|
+
reason: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5098
|
+
}, z.core.$strict>>>;
|
|
5099
|
+
suggests: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5100
|
+
key: z.ZodString;
|
|
5101
|
+
range: z.ZodString;
|
|
5102
|
+
reason: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5103
|
+
checked: z.ZodOptional<z.ZodBoolean>;
|
|
5104
|
+
}, z.core.$strict>>>;
|
|
5105
|
+
features: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5106
|
+
id: z.ZodString;
|
|
5107
|
+
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5108
|
+
requires: z.ZodArray<z.ZodString>;
|
|
5109
|
+
}, z.core.$strict>>>;
|
|
5110
|
+
}, z.core.$strict>>;
|
|
5111
|
+
documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5112
|
+
kind: z.ZodString;
|
|
5113
|
+
addOn: z.ZodString;
|
|
5114
|
+
table: z.ZodString;
|
|
5115
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
5116
|
+
mapping: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
5117
|
+
column: z.ZodString;
|
|
5118
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5119
|
+
via: z.ZodString;
|
|
5120
|
+
column: z.ZodString;
|
|
5121
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5122
|
+
collection: z.ZodObject<{
|
|
5123
|
+
table: z.ZodString;
|
|
5124
|
+
via: z.ZodString;
|
|
5125
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
5126
|
+
columns: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5127
|
+
}, z.core.$strict>;
|
|
5128
|
+
}, z.core.$strict>]>>;
|
|
5129
|
+
statement: z.ZodOptional<z.ZodObject<{
|
|
5130
|
+
documents: z.ZodObject<{
|
|
5131
|
+
table: z.ZodString;
|
|
5132
|
+
via: z.ZodString;
|
|
5133
|
+
date: z.ZodString;
|
|
5134
|
+
amount: z.ZodString;
|
|
5135
|
+
number: z.ZodOptional<z.ZodString>;
|
|
5136
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
5137
|
+
column: z.ZodString;
|
|
5138
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5139
|
+
}, z.core.$strict>>;
|
|
5140
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
5141
|
+
}, z.core.$strict>;
|
|
5142
|
+
payments: z.ZodObject<{
|
|
5143
|
+
table: z.ZodString;
|
|
5144
|
+
via: z.ZodString;
|
|
5145
|
+
date: z.ZodString;
|
|
5146
|
+
amount: z.ZodString;
|
|
5147
|
+
number: z.ZodOptional<z.ZodString>;
|
|
5148
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
5149
|
+
column: z.ZodString;
|
|
5150
|
+
in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5151
|
+
}, z.core.$strict>>;
|
|
5152
|
+
unless: z.ZodOptional<z.ZodString>;
|
|
5153
|
+
}, z.core.$strict>;
|
|
5154
|
+
}, z.core.$strict>>;
|
|
5155
|
+
feature: z.ZodOptional<z.ZodString>;
|
|
5156
|
+
}, z.core.$strict>>>;
|
|
2073
5157
|
categories: z.ZodArray<z.ZodEnum<{
|
|
2074
5158
|
commerce: "commerce";
|
|
2075
5159
|
hospitality: "hospitality";
|
|
@@ -2109,17 +5193,18 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2109
5193
|
sqlite: "sqlite";
|
|
2110
5194
|
}>>>;
|
|
2111
5195
|
requires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5196
|
+
payments: "payments";
|
|
2112
5197
|
"hosted-only": "hosted-only";
|
|
2113
5198
|
"offline-required": "offline-required";
|
|
2114
5199
|
"receipt-printer": "receipt-printer";
|
|
2115
5200
|
"barcode-scanner": "barcode-scanner";
|
|
2116
|
-
payments: "payments";
|
|
2117
5201
|
"file-storage": "file-storage";
|
|
2118
5202
|
"email-delivery": "email-delivery";
|
|
2119
5203
|
realtime: "realtime";
|
|
2120
5204
|
"outbound-http": "outbound-http";
|
|
2121
5205
|
"oauth-connect": "oauth-connect";
|
|
2122
5206
|
}>>>;
|
|
5207
|
+
updatesFrom: z.ZodOptional<z.ZodString>;
|
|
2123
5208
|
}, z.core.$strict>;
|
|
2124
5209
|
addOn: z.ZodObject<{
|
|
2125
5210
|
attaches: z.ZodArray<z.ZodObject<{
|
|
@@ -2209,6 +5294,10 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2209
5294
|
order: z.ZodNumber;
|
|
2210
5295
|
}, z.core.$strict>>>;
|
|
2211
5296
|
hostApi: z.ZodOptional<z.ZodLiteral<1>>;
|
|
5297
|
+
shapes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5298
|
+
name: z.ZodString;
|
|
5299
|
+
version: z.ZodNumber;
|
|
5300
|
+
}, z.core.$loose>>>;
|
|
2212
5301
|
}, z.core.$strict>;
|
|
2213
5302
|
requiredSchema: z.ZodOptional<z.ZodObject<{
|
|
2214
5303
|
tables: z.ZodArray<z.ZodObject<{
|
|
@@ -2217,26 +5306,26 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2217
5306
|
ref: z.ZodString;
|
|
2218
5307
|
type: z.ZodEnum<{
|
|
2219
5308
|
bigint: "bigint";
|
|
2220
|
-
id: "id";
|
|
2221
5309
|
int: "int";
|
|
2222
5310
|
date: "date";
|
|
2223
5311
|
enum: "enum";
|
|
2224
|
-
text: "text";
|
|
2225
5312
|
decimal: "decimal";
|
|
2226
5313
|
money: "money";
|
|
2227
5314
|
float: "float";
|
|
2228
5315
|
bool: "bool";
|
|
2229
|
-
|
|
5316
|
+
id: "id";
|
|
2230
5317
|
timestamptz: "timestamptz";
|
|
2231
|
-
uuid: "uuid";
|
|
2232
5318
|
fk: "fk";
|
|
5319
|
+
text: "text";
|
|
5320
|
+
json: "json";
|
|
5321
|
+
uuid: "uuid";
|
|
2233
5322
|
blob: "blob";
|
|
2234
5323
|
}>;
|
|
2235
5324
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
2236
|
-
name: "name";
|
|
2237
5325
|
money: "money";
|
|
2238
|
-
|
|
5326
|
+
name: "name";
|
|
2239
5327
|
email: "email";
|
|
5328
|
+
image: "image";
|
|
2240
5329
|
avatar: "avatar";
|
|
2241
5330
|
"geo-lat": "geo-lat";
|
|
2242
5331
|
"geo-lng": "geo-lng";
|
|
@@ -2251,6 +5340,8 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2251
5340
|
references: z.ZodOptional<z.ZodString>;
|
|
2252
5341
|
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2253
5342
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
5343
|
+
scale: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"currency">]>>;
|
|
5344
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2254
5345
|
rules: z.ZodOptional<z.ZodObject<{
|
|
2255
5346
|
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2256
5347
|
list: z.ZodString;
|
|
@@ -2268,9 +5359,9 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2268
5359
|
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2269
5360
|
validation: z.ZodOptional<z.ZodObject<{
|
|
2270
5361
|
format: z.ZodOptional<z.ZodEnum<{
|
|
2271
|
-
url: "url";
|
|
2272
5362
|
email: "email";
|
|
2273
5363
|
phone: "phone";
|
|
5364
|
+
url: "url";
|
|
2274
5365
|
}>>;
|
|
2275
5366
|
min: z.ZodOptional<z.ZodNumber>;
|
|
2276
5367
|
max: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2285,22 +5376,133 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2285
5376
|
always: "always";
|
|
2286
5377
|
}>>;
|
|
2287
5378
|
}, z.core.$strict>>;
|
|
5379
|
+
default: z.ZodOptional<z.ZodObject<{
|
|
5380
|
+
from: z.ZodUnion<readonly [z.ZodLiteral<"connection.currency">, z.ZodUnion<readonly [z.ZodObject<{
|
|
5381
|
+
table: z.ZodString;
|
|
5382
|
+
column: z.ZodString;
|
|
5383
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5384
|
+
addOn: z.ZodString;
|
|
5385
|
+
setting: z.ZodString;
|
|
5386
|
+
}, z.core.$strict>]>]>;
|
|
5387
|
+
}, z.core.$strict>>;
|
|
2288
5388
|
sequence: z.ZodOptional<z.ZodObject<{
|
|
2289
5389
|
start: z.ZodOptional<z.ZodNumber>;
|
|
5390
|
+
gapless: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5391
|
+
startSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
5392
|
+
table: z.ZodString;
|
|
5393
|
+
column: z.ZodString;
|
|
5394
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5395
|
+
addOn: z.ZodString;
|
|
5396
|
+
setting: z.ZodString;
|
|
5397
|
+
}, z.core.$strict>]>>;
|
|
5398
|
+
scope: z.ZodOptional<z.ZodString>;
|
|
5399
|
+
}, z.core.$strict>>;
|
|
5400
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
5401
|
+
from: z.ZodString;
|
|
5402
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
5403
|
+
prefixSetting: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
5404
|
+
table: z.ZodString;
|
|
5405
|
+
column: z.ZodString;
|
|
5406
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5407
|
+
addOn: z.ZodString;
|
|
5408
|
+
setting: z.ZodString;
|
|
5409
|
+
}, z.core.$strict>]>>;
|
|
5410
|
+
pad: z.ZodOptional<z.ZodNumber>;
|
|
2290
5411
|
}, z.core.$strict>>;
|
|
2291
5412
|
code: z.ZodOptional<z.ZodObject<{
|
|
2292
5413
|
prefix: z.ZodOptional<z.ZodString>;
|
|
2293
5414
|
length: z.ZodNumber;
|
|
2294
5415
|
}, z.core.$strict>>;
|
|
5416
|
+
formula: z.ZodOptional<z.ZodType<import("./formula.js").FormulaExpr, unknown, z.core.$ZodTypeInternals<import("./formula.js").FormulaExpr, unknown>>>;
|
|
5417
|
+
normalize: z.ZodOptional<z.ZodEnum<{
|
|
5418
|
+
trim: "trim";
|
|
5419
|
+
email: "email";
|
|
5420
|
+
}>>;
|
|
2295
5421
|
rollup: z.ZodOptional<z.ZodObject<{
|
|
2296
5422
|
from: z.ZodString;
|
|
2297
5423
|
via: z.ZodString;
|
|
2298
5424
|
sum: z.ZodString;
|
|
2299
5425
|
times: z.ZodOptional<z.ZodString>;
|
|
2300
5426
|
unlessSet: z.ZodOptional<z.ZodString>;
|
|
5427
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
5428
|
+
column: z.ZodString;
|
|
5429
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
5430
|
+
}, z.core.$strict>>;
|
|
5431
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
5432
|
+
column: z.ZodString;
|
|
5433
|
+
of: z.ZodString;
|
|
5434
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5435
|
+
}, z.core.$strict>>;
|
|
5436
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5437
|
+
}, z.core.$strict>>;
|
|
5438
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
5439
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
5440
|
+
today: "today";
|
|
5441
|
+
now: "now";
|
|
5442
|
+
"user-name": "user-name";
|
|
5443
|
+
"user-id": "user-id";
|
|
5444
|
+
}>, z.ZodObject<{
|
|
5445
|
+
byOrigin: z.ZodObject<{
|
|
5446
|
+
public: z.ZodString;
|
|
5447
|
+
staff: z.ZodOptional<z.ZodString>;
|
|
5448
|
+
}, z.core.$strict>;
|
|
5449
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5450
|
+
claim: z.ZodString;
|
|
5451
|
+
staff: z.ZodOptional<z.ZodEnum<{
|
|
5452
|
+
"user-name": "user-name";
|
|
5453
|
+
"user-id": "user-id";
|
|
5454
|
+
}>>;
|
|
5455
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5456
|
+
copy: z.ZodString;
|
|
5457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5458
|
+
addDays: z.ZodObject<{
|
|
5459
|
+
date: z.ZodString;
|
|
5460
|
+
days: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
5461
|
+
map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
5462
|
+
}, z.core.$strict>;
|
|
5463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5464
|
+
hashOf: z.ZodObject<{
|
|
5465
|
+
columns: z.ZodArray<z.ZodString>;
|
|
5466
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5467
|
+
table: z.ZodString;
|
|
5468
|
+
via: z.ZodString;
|
|
5469
|
+
columns: z.ZodArray<z.ZodString>;
|
|
5470
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
5471
|
+
}, z.core.$strict>>>;
|
|
5472
|
+
linked: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5473
|
+
via: z.ZodString;
|
|
5474
|
+
table: z.ZodString;
|
|
5475
|
+
columns: z.ZodArray<z.ZodString>;
|
|
5476
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5477
|
+
table: z.ZodString;
|
|
5478
|
+
via: z.ZodString;
|
|
5479
|
+
columns: z.ZodArray<z.ZodString>;
|
|
5480
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
5481
|
+
}, z.core.$strict>>>;
|
|
5482
|
+
}, z.core.$strict>>>;
|
|
5483
|
+
}, z.core.$strict>;
|
|
5484
|
+
}, z.core.$strict>]>;
|
|
5485
|
+
on: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
5486
|
+
column: z.ZodString;
|
|
5487
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5488
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5489
|
+
column: z.ZodString;
|
|
5490
|
+
filled: z.ZodLiteral<true>;
|
|
5491
|
+
}, z.core.$strict>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
5492
|
+
column: z.ZodString;
|
|
5493
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5494
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5495
|
+
column: z.ZodString;
|
|
5496
|
+
filled: z.ZodLiteral<true>;
|
|
5497
|
+
}, z.core.$strict>]>>]>;
|
|
2301
5498
|
}, z.core.$strict>>;
|
|
2302
5499
|
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2303
5500
|
personal: z.ZodOptional<z.ZodBoolean>;
|
|
5501
|
+
notAfter: z.ZodOptional<z.ZodLiteral<"today">>;
|
|
5502
|
+
notBefore: z.ZodOptional<z.ZodObject<{
|
|
5503
|
+
column: z.ZodString;
|
|
5504
|
+
via: z.ZodOptional<z.ZodString>;
|
|
5505
|
+
}, z.core.$strict>>;
|
|
2304
5506
|
}, z.core.$strict>>;
|
|
2305
5507
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2306
5508
|
}, z.core.$strict>>;
|
|
@@ -2338,6 +5540,123 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2338
5540
|
column: z.ZodString;
|
|
2339
5541
|
}, z.core.$strict>]>>;
|
|
2340
5542
|
}, z.core.$strict>>;
|
|
5543
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
5544
|
+
start: z.ZodString;
|
|
5545
|
+
minutes: z.ZodString;
|
|
5546
|
+
resource: z.ZodString;
|
|
5547
|
+
kind: z.ZodString;
|
|
5548
|
+
countWhere: z.ZodObject<{
|
|
5549
|
+
column: z.ZodString;
|
|
5550
|
+
values: z.ZodArray<z.ZodString>;
|
|
5551
|
+
}, z.core.$strict>;
|
|
5552
|
+
eligible: z.ZodObject<{
|
|
5553
|
+
table: z.ZodString;
|
|
5554
|
+
resource: z.ZodString;
|
|
5555
|
+
kind: z.ZodString;
|
|
5556
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
5557
|
+
table: z.ZodString;
|
|
5558
|
+
column: z.ZodString;
|
|
5559
|
+
active: z.ZodOptional<z.ZodString>;
|
|
5560
|
+
public: z.ZodOptional<z.ZodString>;
|
|
5561
|
+
}, z.core.$strict>>;
|
|
5562
|
+
}, z.core.$strict>;
|
|
5563
|
+
hours: z.ZodObject<{
|
|
5564
|
+
practice: z.ZodObject<{
|
|
5565
|
+
weekday: z.ZodString;
|
|
5566
|
+
opens: z.ZodString;
|
|
5567
|
+
closes: z.ZodString;
|
|
5568
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
5569
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
5570
|
+
table: z.ZodString;
|
|
5571
|
+
open: z.ZodOptional<z.ZodString>;
|
|
5572
|
+
}, z.core.$strict>;
|
|
5573
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
5574
|
+
weekday: z.ZodString;
|
|
5575
|
+
opens: z.ZodString;
|
|
5576
|
+
closes: z.ZodString;
|
|
5577
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
5578
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
5579
|
+
table: z.ZodString;
|
|
5580
|
+
resource: z.ZodString;
|
|
5581
|
+
}, z.core.$strict>>;
|
|
5582
|
+
}, z.core.$strict>;
|
|
5583
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
5584
|
+
table: z.ZodString;
|
|
5585
|
+
from: z.ZodString;
|
|
5586
|
+
to: z.ZodString;
|
|
5587
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
5588
|
+
active: z.ZodOptional<z.ZodString>;
|
|
5589
|
+
}, z.core.$strict>>;
|
|
5590
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5591
|
+
table: z.ZodString;
|
|
5592
|
+
column: z.ZodString;
|
|
5593
|
+
}, z.core.$strict>]>;
|
|
5594
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5595
|
+
table: z.ZodString;
|
|
5596
|
+
column: z.ZodString;
|
|
5597
|
+
}, z.core.$strict>]>>;
|
|
5598
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5599
|
+
table: z.ZodString;
|
|
5600
|
+
column: z.ZodString;
|
|
5601
|
+
}, z.core.$strict>]>>;
|
|
5602
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
5603
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
5604
|
+
table: z.ZodString;
|
|
5605
|
+
column: z.ZodString;
|
|
5606
|
+
}, z.core.$strict>]>;
|
|
5607
|
+
mode: z.ZodEnum<{
|
|
5608
|
+
refuse: "refuse";
|
|
5609
|
+
flag: "flag";
|
|
5610
|
+
}>;
|
|
5611
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
5612
|
+
when: z.ZodObject<{
|
|
5613
|
+
column: z.ZodString;
|
|
5614
|
+
to: z.ZodString;
|
|
5615
|
+
}, z.core.$strict>;
|
|
5616
|
+
}, z.core.$strict>>;
|
|
5617
|
+
}, z.core.$strict>>;
|
|
5618
|
+
states: z.ZodOptional<z.ZodObject<{
|
|
5619
|
+
column: z.ZodString;
|
|
5620
|
+
initial: z.ZodString;
|
|
5621
|
+
moves: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
5622
|
+
to: z.ZodString;
|
|
5623
|
+
requires: z.ZodOptional<z.ZodObject<{
|
|
5624
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
5625
|
+
where: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5626
|
+
column: z.ZodString;
|
|
5627
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
5628
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
5629
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
5630
|
+
gt: z.ZodOptional<z.ZodNumber>;
|
|
5631
|
+
gte: z.ZodOptional<z.ZodNumber>;
|
|
5632
|
+
lt: z.ZodOptional<z.ZodNumber>;
|
|
5633
|
+
lte: z.ZodOptional<z.ZodNumber>;
|
|
5634
|
+
}, z.core.$strict>>>;
|
|
5635
|
+
}, z.core.$strict>>;
|
|
5636
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5637
|
+
}, z.core.$strict>]>>>;
|
|
5638
|
+
lock: z.ZodOptional<z.ZodObject<{
|
|
5639
|
+
when: z.ZodArray<z.ZodString>;
|
|
5640
|
+
except: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5641
|
+
}, z.core.$strict>>;
|
|
5642
|
+
children: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5643
|
+
via: z.ZodString;
|
|
5644
|
+
lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5645
|
+
parentIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5646
|
+
clearOnCreate: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5647
|
+
}, z.core.$strict>>>;
|
|
5648
|
+
lockedWhenReferencedBy: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5649
|
+
table: z.ZodString;
|
|
5650
|
+
via: z.ZodString;
|
|
5651
|
+
in: z.ZodArray<z.ZodString>;
|
|
5652
|
+
}, z.core.$strict>>>;
|
|
5653
|
+
noDelete: z.ZodOptional<z.ZodObject<{
|
|
5654
|
+
when: z.ZodUnion<readonly [z.ZodLiteral<"numbered">, z.ZodArray<z.ZodString>]>;
|
|
5655
|
+
}, z.core.$strict>>;
|
|
5656
|
+
onlyLater: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5657
|
+
}, z.core.$strict>>;
|
|
5658
|
+
builtOn: z.ZodOptional<z.ZodString>;
|
|
5659
|
+
part: z.ZodOptional<z.ZodString>;
|
|
2341
5660
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2342
5661
|
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2343
5662
|
keyField: z.ZodOptional<z.ZodString>;
|
|
@@ -2434,11 +5753,11 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
2434
5753
|
}, z.core.$strict>>;
|
|
2435
5754
|
}, z.core.$strict>], "type">>>;
|
|
2436
5755
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
5756
|
+
payments: "payments";
|
|
2437
5757
|
"hosted-only": "hosted-only";
|
|
2438
5758
|
"offline-required": "offline-required";
|
|
2439
5759
|
"receipt-printer": "receipt-printer";
|
|
2440
5760
|
"barcode-scanner": "barcode-scanner";
|
|
2441
|
-
payments: "payments";
|
|
2442
5761
|
"file-storage": "file-storage";
|
|
2443
5762
|
"email-delivery": "email-delivery";
|
|
2444
5763
|
realtime: "realtime";
|
|
@@ -2489,10 +5808,4 @@ export declare function addOnIssues(m: Manifest, ctx?: {
|
|
|
2489
5808
|
path: string;
|
|
2490
5809
|
message: string;
|
|
2491
5810
|
}[];
|
|
2492
|
-
/**
|
|
2493
|
-
* Numeric semver compare on the release triple (pre-release/build ignored —
|
|
2494
|
-
* enough for the compatibility-window and upgrade ordering checks). Returns
|
|
2495
|
-
* <0, 0, >0. Exported for the installer's upgrade rule.
|
|
2496
|
-
*/
|
|
2497
|
-
export declare function compareSemver(a: string, b: string): number;
|
|
2498
5811
|
//# sourceMappingURL=schema.d.ts.map
|