@adminiumjs/manifest 0.3.0-rc.3 → 0.3.0
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/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/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/outbox.d.ts +198 -0
- package/dist/outbox.d.ts.map +1 -0
- package/dist/outbox.js +355 -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-context.d.ts +51 -0
- package/dist/plan-context.d.ts.map +1 -0
- package/dist/plan-context.js +356 -0
- package/dist/plan-context.js.map +1 -0
- package/dist/plan-model.d.ts +197 -0
- package/dist/plan-model.d.ts.map +1 -0
- package/dist/plan-model.js +11 -0
- package/dist/plan-model.js.map +1 -0
- package/dist/plan-types.d.ts +12 -0
- package/dist/plan-types.d.ts.map +1 -0
- package/dist/plan-types.js +71 -0
- package/dist/plan-types.js.map +1 -0
- package/dist/plan.d.ts +9 -90
- package/dist/plan.d.ts.map +1 -1
- package/dist/plan.js +48 -1
- package/dist/plan.js.map +1 -1
- package/dist/public-access.d.ts +167 -0
- package/dist/public-access.d.ts.map +1 -0
- package/dist/public-access.js +475 -0
- package/dist/public-access.js.map +1 -0
- package/dist/refs.d.ts +74 -0
- package/dist/refs.d.ts.map +1 -0
- package/dist/refs.js +70 -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 +200 -0
- package/dist/sample.d.ts.map +1 -0
- package/dist/sample.js +208 -0
- package/dist/sample.js.map +1 -0
- package/dist/schema.d.ts +2031 -51
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +559 -18
- 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/package.json +2 -2
package/dist/schema.d.ts
CHANGED
|
@@ -10,6 +10,13 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { i18nMessageSchema, type AddOnBlock, type I18nMessage } from '@adminium/add-on-contracts';
|
|
12
12
|
import { z } from 'zod';
|
|
13
|
+
import { bookingSchema } from './booking.js';
|
|
14
|
+
import { emailTemplateSchema, outboxSchema } from './outbox.js';
|
|
15
|
+
import { publicAccessSchema, publicKeysSchema, type PublicAccess } from './public-access.js';
|
|
16
|
+
import { type RoleShape } from './roles.js';
|
|
17
|
+
import { labelsSchema } from './refs.js';
|
|
18
|
+
import { compareSemver } from './semver.js';
|
|
19
|
+
export { compareSemver };
|
|
13
20
|
/** Integer spec version, frozen at 1 for Adminium 1.x. */
|
|
14
21
|
export declare const MANIFEST_VERSION = 1;
|
|
15
22
|
/**
|
|
@@ -141,6 +148,7 @@ export declare const compatibilitySchema: z.ZodObject<{
|
|
|
141
148
|
"outbound-http": "outbound-http";
|
|
142
149
|
"oauth-connect": "oauth-connect";
|
|
143
150
|
}>>>;
|
|
151
|
+
updatesFrom: z.ZodOptional<z.ZodString>;
|
|
144
152
|
}, z.core.$strict>;
|
|
145
153
|
/** Abstract column types the introspection engine emits (research). */
|
|
146
154
|
export declare const COLUMN_TYPES: readonly ["id", "text", "int", "bigint", "decimal", "money", "float", "bool", "enum", "json", "date", "timestamptz", "uuid", "fk", "blob"];
|
|
@@ -148,30 +156,187 @@ export declare const COLUMN_TYPES: readonly ["id", "text", "int", "bigint", "dec
|
|
|
148
156
|
export declare const COLUMN_SEMANTICS: readonly ["name", "money", "image", "email", "avatar", "geo-lat", "geo-lng"];
|
|
149
157
|
/** Structural role markers. */
|
|
150
158
|
export declare const COLUMN_ROLES: readonly ["pk", "created_at", "updated_at"];
|
|
159
|
+
export { labelsSchema };
|
|
160
|
+
/**
|
|
161
|
+
* The rules an app asks Adminium to keep on a column (written as column-rule
|
|
162
|
+
* overrides at install). The first five are the rules an operator can set in
|
|
163
|
+
* the column inspector; the rest are the ones Adminium DECIDES for a public
|
|
164
|
+
* write, so a browser never picks a price, a number or a code:
|
|
165
|
+
*
|
|
166
|
+
* - `copy`: take the value from the linked row (`via` is this table's
|
|
167
|
+
* foreign-key column, `from` a column of the row it points at).
|
|
168
|
+
* - `sequence`: the next number in this column's own counter.
|
|
169
|
+
* - `code`: a short random code (Crockford base 32), unique in the column.
|
|
170
|
+
* - `rollup`: a total over child rows, kept in step as they change.
|
|
171
|
+
* - `venueLocal`: a wall time with no zone is read in the venue's zone.
|
|
172
|
+
* - `personal`: whether the column is personal data, overriding the guess
|
|
173
|
+
* Adminium makes from its name.
|
|
174
|
+
*/
|
|
175
|
+
export declare const columnRulesSchema: z.ZodObject<{
|
|
176
|
+
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
177
|
+
list: z.ZodString;
|
|
178
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
179
|
+
values: z.ZodArray<z.ZodObject<{
|
|
180
|
+
value: z.ZodString;
|
|
181
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
182
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
183
|
+
}, z.core.$strict>>;
|
|
184
|
+
}, z.core.$strict>]>>;
|
|
185
|
+
enumLabels: z.ZodOptional<z.ZodObject<{
|
|
186
|
+
labels: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
187
|
+
tones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
188
|
+
}, z.core.$strict>>;
|
|
189
|
+
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
190
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
191
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
192
|
+
email: "email";
|
|
193
|
+
phone: "phone";
|
|
194
|
+
url: "url";
|
|
195
|
+
}>>;
|
|
196
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
197
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
198
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
199
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
200
|
+
}, z.core.$strict>>;
|
|
201
|
+
copy: z.ZodOptional<z.ZodObject<{
|
|
202
|
+
via: z.ZodString;
|
|
203
|
+
from: z.ZodString;
|
|
204
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
205
|
+
default: "default";
|
|
206
|
+
always: "always";
|
|
207
|
+
}>>;
|
|
208
|
+
}, z.core.$strict>>;
|
|
209
|
+
sequence: z.ZodOptional<z.ZodObject<{
|
|
210
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
211
|
+
}, z.core.$strict>>;
|
|
212
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
213
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
214
|
+
length: z.ZodNumber;
|
|
215
|
+
}, z.core.$strict>>;
|
|
216
|
+
rollup: z.ZodOptional<z.ZodObject<{
|
|
217
|
+
from: z.ZodString;
|
|
218
|
+
via: z.ZodString;
|
|
219
|
+
sum: z.ZodString;
|
|
220
|
+
times: z.ZodOptional<z.ZodString>;
|
|
221
|
+
unlessSet: z.ZodOptional<z.ZodString>;
|
|
222
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
223
|
+
column: z.ZodString;
|
|
224
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
225
|
+
}, z.core.$strict>>;
|
|
226
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
227
|
+
column: z.ZodString;
|
|
228
|
+
of: z.ZodString;
|
|
229
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
230
|
+
}, z.core.$strict>>;
|
|
231
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
232
|
+
}, z.core.$strict>>;
|
|
233
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
234
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
235
|
+
now: "now";
|
|
236
|
+
"user-name": "user-name";
|
|
237
|
+
"user-id": "user-id";
|
|
238
|
+
}>, z.ZodObject<{
|
|
239
|
+
byOrigin: z.ZodObject<{
|
|
240
|
+
public: z.ZodString;
|
|
241
|
+
staff: z.ZodString;
|
|
242
|
+
}, z.core.$strict>;
|
|
243
|
+
}, z.core.$strict>]>;
|
|
244
|
+
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
245
|
+
column: z.ZodString;
|
|
246
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
247
|
+
}, z.core.$strict>]>;
|
|
248
|
+
}, z.core.$strict>>;
|
|
249
|
+
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
250
|
+
personal: z.ZodOptional<z.ZodBoolean>;
|
|
251
|
+
}, z.core.$strict>;
|
|
252
|
+
export type ColumnRules = z.infer<typeof columnRulesSchema>;
|
|
253
|
+
/**
|
|
254
|
+
* A limit on how much of a slot rows may take — the booking guard. Only rows
|
|
255
|
+
* whose `countWhere` column holds one of its values count (a cancelled booking
|
|
256
|
+
* holds no seats).
|
|
257
|
+
*/
|
|
258
|
+
export declare const capacitySchema: z.ZodObject<{
|
|
259
|
+
slot: z.ZodString;
|
|
260
|
+
amount: z.ZodString;
|
|
261
|
+
perSlot: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
262
|
+
table: z.ZodString;
|
|
263
|
+
column: z.ZodString;
|
|
264
|
+
}, z.core.$strict>]>;
|
|
265
|
+
countWhere: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
column: z.ZodString;
|
|
267
|
+
values: z.ZodArray<z.ZodString>;
|
|
268
|
+
}, z.core.$strict>>;
|
|
269
|
+
slotMinutes: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
270
|
+
table: z.ZodString;
|
|
271
|
+
column: z.ZodString;
|
|
272
|
+
}, z.core.$strict>]>;
|
|
273
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
274
|
+
table: z.ZodString;
|
|
275
|
+
column: z.ZodString;
|
|
276
|
+
}, z.core.$strict>]>>;
|
|
277
|
+
opens: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
278
|
+
table: z.ZodString;
|
|
279
|
+
column: z.ZodString;
|
|
280
|
+
}, z.core.$strict>]>>;
|
|
281
|
+
closes: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
282
|
+
table: z.ZodString;
|
|
283
|
+
column: z.ZodString;
|
|
284
|
+
}, z.core.$strict>]>>;
|
|
285
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
286
|
+
cancelHours: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
287
|
+
table: z.ZodString;
|
|
288
|
+
column: z.ZodString;
|
|
289
|
+
}, z.core.$strict>]>>;
|
|
290
|
+
}, z.core.$strict>;
|
|
291
|
+
/** The longest `maxLength` a text column may ask for (see `maxLength` below). */
|
|
292
|
+
export declare const MAX_TEXT_LENGTH = 1000;
|
|
293
|
+
/**
|
|
294
|
+
* Why a column's `default` cannot be created, or `null` when it can.
|
|
295
|
+
*
|
|
296
|
+
* The rules are the ones every one of the three databases can honour with the
|
|
297
|
+
* same meaning, so a manifest that validates installs the same everywhere:
|
|
298
|
+
*
|
|
299
|
+
* - `now` only on a `timestamptz`, and a timestamp takes nothing else. A
|
|
300
|
+
* literal timestamp default is a fixed moment, which is never what a
|
|
301
|
+
* manifest author means.
|
|
302
|
+
* - `text` needs `maxLength`: MySQL gives an unbounded TEXT column no literal
|
|
303
|
+
* default, and a manifest must not install on two engines and fail on the
|
|
304
|
+
* third.
|
|
305
|
+
* - `json`, `blob`, `date`, keys and foreign keys take none.
|
|
306
|
+
* - an enum's default is one of its values, a number is a number, a boolean a
|
|
307
|
+
* boolean.
|
|
308
|
+
*/
|
|
309
|
+
export declare function defaultIssue(c: {
|
|
310
|
+
type: string;
|
|
311
|
+
role?: string | undefined;
|
|
312
|
+
enum?: readonly string[] | undefined;
|
|
313
|
+
maxLength?: number | undefined;
|
|
314
|
+
default?: string | number | boolean | undefined;
|
|
315
|
+
}): string | null;
|
|
151
316
|
export declare const requiredColumnSchema: z.ZodObject<{
|
|
152
317
|
ref: z.ZodString;
|
|
153
318
|
type: z.ZodEnum<{
|
|
154
319
|
bigint: "bigint";
|
|
155
|
-
id: "id";
|
|
156
320
|
int: "int";
|
|
157
321
|
date: "date";
|
|
158
322
|
enum: "enum";
|
|
159
|
-
text: "text";
|
|
160
323
|
decimal: "decimal";
|
|
161
324
|
money: "money";
|
|
162
325
|
float: "float";
|
|
163
326
|
bool: "bool";
|
|
164
|
-
json: "json";
|
|
165
327
|
timestamptz: "timestamptz";
|
|
166
|
-
uuid: "uuid";
|
|
167
328
|
fk: "fk";
|
|
329
|
+
text: "text";
|
|
330
|
+
id: "id";
|
|
331
|
+
json: "json";
|
|
332
|
+
uuid: "uuid";
|
|
168
333
|
blob: "blob";
|
|
169
334
|
}>;
|
|
170
335
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
171
|
-
name: "name";
|
|
172
336
|
money: "money";
|
|
173
|
-
image: "image";
|
|
174
337
|
email: "email";
|
|
338
|
+
name: "name";
|
|
339
|
+
image: "image";
|
|
175
340
|
avatar: "avatar";
|
|
176
341
|
"geo-lat": "geo-lat";
|
|
177
342
|
"geo-lng": "geo-lng";
|
|
@@ -184,6 +349,87 @@ export declare const requiredColumnSchema: z.ZodObject<{
|
|
|
184
349
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
185
350
|
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
186
351
|
references: z.ZodOptional<z.ZodString>;
|
|
352
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
353
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
354
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
355
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
356
|
+
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
357
|
+
list: z.ZodString;
|
|
358
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
359
|
+
values: z.ZodArray<z.ZodObject<{
|
|
360
|
+
value: z.ZodString;
|
|
361
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
362
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, z.core.$strict>>;
|
|
364
|
+
}, z.core.$strict>]>>;
|
|
365
|
+
enumLabels: z.ZodOptional<z.ZodObject<{
|
|
366
|
+
labels: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
367
|
+
tones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
368
|
+
}, z.core.$strict>>;
|
|
369
|
+
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
370
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
371
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
372
|
+
email: "email";
|
|
373
|
+
phone: "phone";
|
|
374
|
+
url: "url";
|
|
375
|
+
}>>;
|
|
376
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
377
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
378
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
379
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
}, z.core.$strict>>;
|
|
381
|
+
copy: z.ZodOptional<z.ZodObject<{
|
|
382
|
+
via: z.ZodString;
|
|
383
|
+
from: z.ZodString;
|
|
384
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
385
|
+
default: "default";
|
|
386
|
+
always: "always";
|
|
387
|
+
}>>;
|
|
388
|
+
}, z.core.$strict>>;
|
|
389
|
+
sequence: z.ZodOptional<z.ZodObject<{
|
|
390
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
391
|
+
}, z.core.$strict>>;
|
|
392
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
393
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
394
|
+
length: z.ZodNumber;
|
|
395
|
+
}, z.core.$strict>>;
|
|
396
|
+
rollup: z.ZodOptional<z.ZodObject<{
|
|
397
|
+
from: z.ZodString;
|
|
398
|
+
via: z.ZodString;
|
|
399
|
+
sum: z.ZodString;
|
|
400
|
+
times: z.ZodOptional<z.ZodString>;
|
|
401
|
+
unlessSet: z.ZodOptional<z.ZodString>;
|
|
402
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
403
|
+
column: z.ZodString;
|
|
404
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
405
|
+
}, z.core.$strict>>;
|
|
406
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
407
|
+
column: z.ZodString;
|
|
408
|
+
of: z.ZodString;
|
|
409
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
410
|
+
}, z.core.$strict>>;
|
|
411
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
412
|
+
}, z.core.$strict>>;
|
|
413
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
414
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
415
|
+
now: "now";
|
|
416
|
+
"user-name": "user-name";
|
|
417
|
+
"user-id": "user-id";
|
|
418
|
+
}>, z.ZodObject<{
|
|
419
|
+
byOrigin: z.ZodObject<{
|
|
420
|
+
public: z.ZodString;
|
|
421
|
+
staff: z.ZodString;
|
|
422
|
+
}, z.core.$strict>;
|
|
423
|
+
}, z.core.$strict>]>;
|
|
424
|
+
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
425
|
+
column: z.ZodString;
|
|
426
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
427
|
+
}, z.core.$strict>]>;
|
|
428
|
+
}, z.core.$strict>>;
|
|
429
|
+
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
430
|
+
personal: z.ZodOptional<z.ZodBoolean>;
|
|
431
|
+
}, z.core.$strict>>;
|
|
432
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
187
433
|
}, z.core.$strict>;
|
|
188
434
|
export declare const requiredTableSchema: z.ZodObject<{
|
|
189
435
|
ref: z.ZodString;
|
|
@@ -191,26 +437,26 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
191
437
|
ref: z.ZodString;
|
|
192
438
|
type: z.ZodEnum<{
|
|
193
439
|
bigint: "bigint";
|
|
194
|
-
id: "id";
|
|
195
440
|
int: "int";
|
|
196
441
|
date: "date";
|
|
197
442
|
enum: "enum";
|
|
198
|
-
text: "text";
|
|
199
443
|
decimal: "decimal";
|
|
200
444
|
money: "money";
|
|
201
445
|
float: "float";
|
|
202
446
|
bool: "bool";
|
|
203
|
-
json: "json";
|
|
204
447
|
timestamptz: "timestamptz";
|
|
205
|
-
uuid: "uuid";
|
|
206
448
|
fk: "fk";
|
|
449
|
+
text: "text";
|
|
450
|
+
id: "id";
|
|
451
|
+
json: "json";
|
|
452
|
+
uuid: "uuid";
|
|
207
453
|
blob: "blob";
|
|
208
454
|
}>;
|
|
209
455
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
210
|
-
name: "name";
|
|
211
456
|
money: "money";
|
|
212
|
-
image: "image";
|
|
213
457
|
email: "email";
|
|
458
|
+
name: "name";
|
|
459
|
+
image: "image";
|
|
214
460
|
avatar: "avatar";
|
|
215
461
|
"geo-lat": "geo-lat";
|
|
216
462
|
"geo-lng": "geo-lng";
|
|
@@ -223,7 +469,200 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
223
469
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
224
470
|
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
225
471
|
references: z.ZodOptional<z.ZodString>;
|
|
472
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
473
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
474
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
475
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
476
|
+
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
477
|
+
list: z.ZodString;
|
|
478
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
479
|
+
values: z.ZodArray<z.ZodObject<{
|
|
480
|
+
value: z.ZodString;
|
|
481
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
482
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
483
|
+
}, z.core.$strict>>;
|
|
484
|
+
}, z.core.$strict>]>>;
|
|
485
|
+
enumLabels: z.ZodOptional<z.ZodObject<{
|
|
486
|
+
labels: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
487
|
+
tones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
488
|
+
}, z.core.$strict>>;
|
|
489
|
+
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
490
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
491
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
492
|
+
email: "email";
|
|
493
|
+
phone: "phone";
|
|
494
|
+
url: "url";
|
|
495
|
+
}>>;
|
|
496
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
497
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
498
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
499
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
500
|
+
}, z.core.$strict>>;
|
|
501
|
+
copy: z.ZodOptional<z.ZodObject<{
|
|
502
|
+
via: z.ZodString;
|
|
503
|
+
from: z.ZodString;
|
|
504
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
505
|
+
default: "default";
|
|
506
|
+
always: "always";
|
|
507
|
+
}>>;
|
|
508
|
+
}, z.core.$strict>>;
|
|
509
|
+
sequence: z.ZodOptional<z.ZodObject<{
|
|
510
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
511
|
+
}, z.core.$strict>>;
|
|
512
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
513
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
514
|
+
length: z.ZodNumber;
|
|
515
|
+
}, z.core.$strict>>;
|
|
516
|
+
rollup: z.ZodOptional<z.ZodObject<{
|
|
517
|
+
from: z.ZodString;
|
|
518
|
+
via: z.ZodString;
|
|
519
|
+
sum: z.ZodString;
|
|
520
|
+
times: z.ZodOptional<z.ZodString>;
|
|
521
|
+
unlessSet: z.ZodOptional<z.ZodString>;
|
|
522
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
523
|
+
column: z.ZodString;
|
|
524
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
525
|
+
}, z.core.$strict>>;
|
|
526
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
527
|
+
column: z.ZodString;
|
|
528
|
+
of: z.ZodString;
|
|
529
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
530
|
+
}, z.core.$strict>>;
|
|
531
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
532
|
+
}, z.core.$strict>>;
|
|
533
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
534
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
535
|
+
now: "now";
|
|
536
|
+
"user-name": "user-name";
|
|
537
|
+
"user-id": "user-id";
|
|
538
|
+
}>, z.ZodObject<{
|
|
539
|
+
byOrigin: z.ZodObject<{
|
|
540
|
+
public: z.ZodString;
|
|
541
|
+
staff: z.ZodString;
|
|
542
|
+
}, z.core.$strict>;
|
|
543
|
+
}, z.core.$strict>]>;
|
|
544
|
+
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
545
|
+
column: z.ZodString;
|
|
546
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
547
|
+
}, z.core.$strict>]>;
|
|
548
|
+
}, z.core.$strict>>;
|
|
549
|
+
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
550
|
+
personal: z.ZodOptional<z.ZodBoolean>;
|
|
551
|
+
}, z.core.$strict>>;
|
|
552
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
553
|
+
}, z.core.$strict>>;
|
|
554
|
+
shape: z.ZodOptional<z.ZodString>;
|
|
555
|
+
capacity: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
slot: z.ZodString;
|
|
557
|
+
amount: z.ZodString;
|
|
558
|
+
perSlot: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
559
|
+
table: z.ZodString;
|
|
560
|
+
column: z.ZodString;
|
|
561
|
+
}, z.core.$strict>]>;
|
|
562
|
+
countWhere: z.ZodOptional<z.ZodObject<{
|
|
563
|
+
column: z.ZodString;
|
|
564
|
+
values: z.ZodArray<z.ZodString>;
|
|
565
|
+
}, z.core.$strict>>;
|
|
566
|
+
slotMinutes: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
567
|
+
table: z.ZodString;
|
|
568
|
+
column: z.ZodString;
|
|
569
|
+
}, z.core.$strict>]>;
|
|
570
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
571
|
+
table: z.ZodString;
|
|
572
|
+
column: z.ZodString;
|
|
573
|
+
}, z.core.$strict>]>>;
|
|
574
|
+
opens: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
575
|
+
table: z.ZodString;
|
|
576
|
+
column: z.ZodString;
|
|
577
|
+
}, z.core.$strict>]>>;
|
|
578
|
+
closes: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
579
|
+
table: z.ZodString;
|
|
580
|
+
column: z.ZodString;
|
|
581
|
+
}, z.core.$strict>]>>;
|
|
582
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
583
|
+
cancelHours: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
584
|
+
table: z.ZodString;
|
|
585
|
+
column: z.ZodString;
|
|
586
|
+
}, z.core.$strict>]>>;
|
|
587
|
+
}, z.core.$strict>>;
|
|
588
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
589
|
+
start: z.ZodString;
|
|
590
|
+
minutes: z.ZodString;
|
|
591
|
+
resource: z.ZodString;
|
|
592
|
+
kind: z.ZodString;
|
|
593
|
+
countWhere: z.ZodObject<{
|
|
594
|
+
column: z.ZodString;
|
|
595
|
+
values: z.ZodArray<z.ZodString>;
|
|
596
|
+
}, z.core.$strict>;
|
|
597
|
+
eligible: z.ZodObject<{
|
|
598
|
+
table: z.ZodString;
|
|
599
|
+
resource: z.ZodString;
|
|
600
|
+
kind: z.ZodString;
|
|
601
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
602
|
+
table: z.ZodString;
|
|
603
|
+
column: z.ZodString;
|
|
604
|
+
active: z.ZodOptional<z.ZodString>;
|
|
605
|
+
public: z.ZodOptional<z.ZodString>;
|
|
606
|
+
}, z.core.$strict>>;
|
|
607
|
+
}, z.core.$strict>;
|
|
608
|
+
hours: z.ZodObject<{
|
|
609
|
+
practice: z.ZodObject<{
|
|
610
|
+
weekday: z.ZodString;
|
|
611
|
+
opens: z.ZodString;
|
|
612
|
+
closes: z.ZodString;
|
|
613
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
614
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
615
|
+
table: z.ZodString;
|
|
616
|
+
open: z.ZodOptional<z.ZodString>;
|
|
617
|
+
}, z.core.$strict>;
|
|
618
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
619
|
+
weekday: z.ZodString;
|
|
620
|
+
opens: z.ZodString;
|
|
621
|
+
closes: z.ZodString;
|
|
622
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
623
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
624
|
+
table: z.ZodString;
|
|
625
|
+
resource: z.ZodString;
|
|
626
|
+
}, z.core.$strict>>;
|
|
627
|
+
}, z.core.$strict>;
|
|
628
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
629
|
+
table: z.ZodString;
|
|
630
|
+
from: z.ZodString;
|
|
631
|
+
to: z.ZodString;
|
|
632
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
633
|
+
active: z.ZodOptional<z.ZodString>;
|
|
634
|
+
}, z.core.$strict>>;
|
|
635
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
636
|
+
table: z.ZodString;
|
|
637
|
+
column: z.ZodString;
|
|
638
|
+
}, z.core.$strict>]>;
|
|
639
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
640
|
+
table: z.ZodString;
|
|
641
|
+
column: z.ZodString;
|
|
642
|
+
}, z.core.$strict>]>>;
|
|
643
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
644
|
+
table: z.ZodString;
|
|
645
|
+
column: z.ZodString;
|
|
646
|
+
}, z.core.$strict>]>>;
|
|
647
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
648
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
649
|
+
table: z.ZodString;
|
|
650
|
+
column: z.ZodString;
|
|
651
|
+
}, z.core.$strict>]>;
|
|
652
|
+
mode: z.ZodEnum<{
|
|
653
|
+
refuse: "refuse";
|
|
654
|
+
flag: "flag";
|
|
655
|
+
}>;
|
|
656
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
657
|
+
when: z.ZodObject<{
|
|
658
|
+
column: z.ZodString;
|
|
659
|
+
to: z.ZodString;
|
|
660
|
+
}, z.core.$strict>;
|
|
661
|
+
}, z.core.$strict>>;
|
|
226
662
|
}, z.core.$strict>>;
|
|
663
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
664
|
+
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
665
|
+
keyField: z.ZodOptional<z.ZodString>;
|
|
227
666
|
}, z.core.$strict>;
|
|
228
667
|
export declare const requiredSchemaSchema: z.ZodObject<{
|
|
229
668
|
tables: z.ZodArray<z.ZodObject<{
|
|
@@ -232,26 +671,26 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
232
671
|
ref: z.ZodString;
|
|
233
672
|
type: z.ZodEnum<{
|
|
234
673
|
bigint: "bigint";
|
|
235
|
-
id: "id";
|
|
236
674
|
int: "int";
|
|
237
675
|
date: "date";
|
|
238
676
|
enum: "enum";
|
|
239
|
-
text: "text";
|
|
240
677
|
decimal: "decimal";
|
|
241
678
|
money: "money";
|
|
242
679
|
float: "float";
|
|
243
680
|
bool: "bool";
|
|
244
|
-
json: "json";
|
|
245
681
|
timestamptz: "timestamptz";
|
|
246
|
-
uuid: "uuid";
|
|
247
682
|
fk: "fk";
|
|
683
|
+
text: "text";
|
|
684
|
+
id: "id";
|
|
685
|
+
json: "json";
|
|
686
|
+
uuid: "uuid";
|
|
248
687
|
blob: "blob";
|
|
249
688
|
}>;
|
|
250
689
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
251
|
-
name: "name";
|
|
252
690
|
money: "money";
|
|
253
|
-
image: "image";
|
|
254
691
|
email: "email";
|
|
692
|
+
name: "name";
|
|
693
|
+
image: "image";
|
|
255
694
|
avatar: "avatar";
|
|
256
695
|
"geo-lat": "geo-lat";
|
|
257
696
|
"geo-lng": "geo-lng";
|
|
@@ -264,8 +703,202 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
264
703
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
265
704
|
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
266
705
|
references: z.ZodOptional<z.ZodString>;
|
|
706
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
707
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
708
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
709
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
710
|
+
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
711
|
+
list: z.ZodString;
|
|
712
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
713
|
+
values: z.ZodArray<z.ZodObject<{
|
|
714
|
+
value: z.ZodString;
|
|
715
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
716
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
717
|
+
}, z.core.$strict>>;
|
|
718
|
+
}, z.core.$strict>]>>;
|
|
719
|
+
enumLabels: z.ZodOptional<z.ZodObject<{
|
|
720
|
+
labels: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
721
|
+
tones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
722
|
+
}, z.core.$strict>>;
|
|
723
|
+
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
724
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
725
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
726
|
+
email: "email";
|
|
727
|
+
phone: "phone";
|
|
728
|
+
url: "url";
|
|
729
|
+
}>>;
|
|
730
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
731
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
732
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
733
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
734
|
+
}, z.core.$strict>>;
|
|
735
|
+
copy: z.ZodOptional<z.ZodObject<{
|
|
736
|
+
via: z.ZodString;
|
|
737
|
+
from: z.ZodString;
|
|
738
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
739
|
+
default: "default";
|
|
740
|
+
always: "always";
|
|
741
|
+
}>>;
|
|
742
|
+
}, z.core.$strict>>;
|
|
743
|
+
sequence: z.ZodOptional<z.ZodObject<{
|
|
744
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
745
|
+
}, z.core.$strict>>;
|
|
746
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
747
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
748
|
+
length: z.ZodNumber;
|
|
749
|
+
}, z.core.$strict>>;
|
|
750
|
+
rollup: z.ZodOptional<z.ZodObject<{
|
|
751
|
+
from: z.ZodString;
|
|
752
|
+
via: z.ZodString;
|
|
753
|
+
sum: z.ZodString;
|
|
754
|
+
times: z.ZodOptional<z.ZodString>;
|
|
755
|
+
unlessSet: z.ZodOptional<z.ZodString>;
|
|
756
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
757
|
+
column: z.ZodString;
|
|
758
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
759
|
+
}, z.core.$strict>>;
|
|
760
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
761
|
+
column: z.ZodString;
|
|
762
|
+
of: z.ZodString;
|
|
763
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
764
|
+
}, z.core.$strict>>;
|
|
765
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
766
|
+
}, z.core.$strict>>;
|
|
767
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
768
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
769
|
+
now: "now";
|
|
770
|
+
"user-name": "user-name";
|
|
771
|
+
"user-id": "user-id";
|
|
772
|
+
}>, z.ZodObject<{
|
|
773
|
+
byOrigin: z.ZodObject<{
|
|
774
|
+
public: z.ZodString;
|
|
775
|
+
staff: z.ZodString;
|
|
776
|
+
}, z.core.$strict>;
|
|
777
|
+
}, z.core.$strict>]>;
|
|
778
|
+
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
779
|
+
column: z.ZodString;
|
|
780
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
781
|
+
}, z.core.$strict>]>;
|
|
782
|
+
}, z.core.$strict>>;
|
|
783
|
+
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
784
|
+
personal: z.ZodOptional<z.ZodBoolean>;
|
|
785
|
+
}, z.core.$strict>>;
|
|
786
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
787
|
+
}, z.core.$strict>>;
|
|
788
|
+
shape: z.ZodOptional<z.ZodString>;
|
|
789
|
+
capacity: z.ZodOptional<z.ZodObject<{
|
|
790
|
+
slot: z.ZodString;
|
|
791
|
+
amount: z.ZodString;
|
|
792
|
+
perSlot: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
793
|
+
table: z.ZodString;
|
|
794
|
+
column: z.ZodString;
|
|
795
|
+
}, z.core.$strict>]>;
|
|
796
|
+
countWhere: z.ZodOptional<z.ZodObject<{
|
|
797
|
+
column: z.ZodString;
|
|
798
|
+
values: z.ZodArray<z.ZodString>;
|
|
799
|
+
}, z.core.$strict>>;
|
|
800
|
+
slotMinutes: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
801
|
+
table: z.ZodString;
|
|
802
|
+
column: z.ZodString;
|
|
803
|
+
}, z.core.$strict>]>;
|
|
804
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
805
|
+
table: z.ZodString;
|
|
806
|
+
column: z.ZodString;
|
|
807
|
+
}, z.core.$strict>]>>;
|
|
808
|
+
opens: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
809
|
+
table: z.ZodString;
|
|
810
|
+
column: z.ZodString;
|
|
811
|
+
}, z.core.$strict>]>>;
|
|
812
|
+
closes: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
813
|
+
table: z.ZodString;
|
|
814
|
+
column: z.ZodString;
|
|
815
|
+
}, z.core.$strict>]>>;
|
|
816
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
817
|
+
cancelHours: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
818
|
+
table: z.ZodString;
|
|
819
|
+
column: z.ZodString;
|
|
820
|
+
}, z.core.$strict>]>>;
|
|
821
|
+
}, z.core.$strict>>;
|
|
822
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
823
|
+
start: z.ZodString;
|
|
824
|
+
minutes: z.ZodString;
|
|
825
|
+
resource: z.ZodString;
|
|
826
|
+
kind: z.ZodString;
|
|
827
|
+
countWhere: z.ZodObject<{
|
|
828
|
+
column: z.ZodString;
|
|
829
|
+
values: z.ZodArray<z.ZodString>;
|
|
830
|
+
}, z.core.$strict>;
|
|
831
|
+
eligible: z.ZodObject<{
|
|
832
|
+
table: z.ZodString;
|
|
833
|
+
resource: z.ZodString;
|
|
834
|
+
kind: z.ZodString;
|
|
835
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
836
|
+
table: z.ZodString;
|
|
837
|
+
column: z.ZodString;
|
|
838
|
+
active: z.ZodOptional<z.ZodString>;
|
|
839
|
+
public: z.ZodOptional<z.ZodString>;
|
|
840
|
+
}, z.core.$strict>>;
|
|
841
|
+
}, z.core.$strict>;
|
|
842
|
+
hours: z.ZodObject<{
|
|
843
|
+
practice: z.ZodObject<{
|
|
844
|
+
weekday: z.ZodString;
|
|
845
|
+
opens: z.ZodString;
|
|
846
|
+
closes: z.ZodString;
|
|
847
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
848
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
849
|
+
table: z.ZodString;
|
|
850
|
+
open: z.ZodOptional<z.ZodString>;
|
|
851
|
+
}, z.core.$strict>;
|
|
852
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
853
|
+
weekday: z.ZodString;
|
|
854
|
+
opens: z.ZodString;
|
|
855
|
+
closes: z.ZodString;
|
|
856
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
857
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
858
|
+
table: z.ZodString;
|
|
859
|
+
resource: z.ZodString;
|
|
860
|
+
}, z.core.$strict>>;
|
|
861
|
+
}, z.core.$strict>;
|
|
862
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
863
|
+
table: z.ZodString;
|
|
864
|
+
from: z.ZodString;
|
|
865
|
+
to: z.ZodString;
|
|
866
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
867
|
+
active: z.ZodOptional<z.ZodString>;
|
|
868
|
+
}, z.core.$strict>>;
|
|
869
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
870
|
+
table: z.ZodString;
|
|
871
|
+
column: z.ZodString;
|
|
872
|
+
}, z.core.$strict>]>;
|
|
873
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
874
|
+
table: z.ZodString;
|
|
875
|
+
column: z.ZodString;
|
|
876
|
+
}, z.core.$strict>]>>;
|
|
877
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
878
|
+
table: z.ZodString;
|
|
879
|
+
column: z.ZodString;
|
|
880
|
+
}, z.core.$strict>]>>;
|
|
881
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
882
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
883
|
+
table: z.ZodString;
|
|
884
|
+
column: z.ZodString;
|
|
885
|
+
}, z.core.$strict>]>;
|
|
886
|
+
mode: z.ZodEnum<{
|
|
887
|
+
refuse: "refuse";
|
|
888
|
+
flag: "flag";
|
|
889
|
+
}>;
|
|
890
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
891
|
+
when: z.ZodObject<{
|
|
892
|
+
column: z.ZodString;
|
|
893
|
+
to: z.ZodString;
|
|
894
|
+
}, z.core.$strict>;
|
|
895
|
+
}, z.core.$strict>>;
|
|
267
896
|
}, z.core.$strict>>;
|
|
897
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
898
|
+
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
899
|
+
keyField: z.ZodOptional<z.ZodString>;
|
|
268
900
|
}, z.core.$strict>>;
|
|
901
|
+
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
269
902
|
}, z.core.$strict>;
|
|
270
903
|
export declare const pageNavSchema: z.ZodObject<{
|
|
271
904
|
group: z.ZodString;
|
|
@@ -286,12 +919,18 @@ export declare const pageSchema: z.ZodObject<{
|
|
|
286
919
|
}, z.core.$strict>;
|
|
287
920
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
288
921
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
922
|
+
titles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
289
923
|
}, z.core.$strict>;
|
|
290
924
|
export declare const roleSchema: z.ZodObject<{
|
|
291
925
|
key: z.ZodString;
|
|
292
926
|
name: z.ZodString;
|
|
293
927
|
cloneFrom: z.ZodOptional<z.ZodString>;
|
|
294
928
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
929
|
+
screensOnly: z.ZodOptional<z.ZodBoolean>;
|
|
930
|
+
limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
931
|
+
writable: z.ZodArray<z.ZodString>;
|
|
932
|
+
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
933
|
+
}, z.core.$strict>>>;
|
|
295
934
|
}, z.core.$strict>;
|
|
296
935
|
export declare const settingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
297
936
|
type: z.ZodLiteral<"string">;
|
|
@@ -407,8 +1046,8 @@ export declare const frontendEnvVarSchema: z.ZodObject<{
|
|
|
407
1046
|
export declare const FRONTEND_SIDES: readonly ["staff", "customer"];
|
|
408
1047
|
export declare const frontendSchema: z.ZodObject<{
|
|
409
1048
|
side: z.ZodEnum<{
|
|
410
|
-
staff: "staff";
|
|
411
1049
|
customer: "customer";
|
|
1050
|
+
staff: "staff";
|
|
412
1051
|
}>;
|
|
413
1052
|
kind: z.ZodEnum<{
|
|
414
1053
|
spa: "spa";
|
|
@@ -421,7 +1060,80 @@ export declare const frontendSchema: z.ZodObject<{
|
|
|
421
1060
|
example: z.ZodOptional<z.ZodString>;
|
|
422
1061
|
}, z.core.$strict>>>;
|
|
423
1062
|
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1063
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
1064
|
+
internal: "internal";
|
|
1065
|
+
external: "external";
|
|
1066
|
+
}>>;
|
|
1067
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
424
1068
|
}, z.core.$strict>;
|
|
1069
|
+
/** A heading in the app's own sidebar section; pages name it in `nav.group`. */
|
|
1070
|
+
/**
|
|
1071
|
+
* A list of answers the app ships, for a column's `options: {list}`. Installed
|
|
1072
|
+
* as the option list `<appKey>-<name>`, which the operator can then edit like
|
|
1073
|
+
* any other; a list of that key they already made is left alone.
|
|
1074
|
+
*/
|
|
1075
|
+
export declare const optionListSchema: z.ZodObject<{
|
|
1076
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
1077
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1078
|
+
value: z.ZodString;
|
|
1079
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1080
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
1081
|
+
}, z.core.$strict>>;
|
|
1082
|
+
}, z.core.$strict>;
|
|
1083
|
+
export declare const navGroupSchema: z.ZodObject<{
|
|
1084
|
+
key: z.ZodString;
|
|
1085
|
+
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1086
|
+
order: z.ZodNumber;
|
|
1087
|
+
}, z.core.$strict>;
|
|
1088
|
+
/** What the app's public screens may do (see `public-access.ts`). */
|
|
1089
|
+
export { publicAccessSchema, publicKeysSchema, type PublicAccess };
|
|
1090
|
+
/** The bundled sample data file, inside the package's `seeds/` folder. */
|
|
1091
|
+
export declare const sampleDataSchema: z.ZodObject<{
|
|
1092
|
+
file: z.ZodString;
|
|
1093
|
+
}, z.core.$strict>;
|
|
1094
|
+
/** The prefix Adminium gives an app's tables: its key, `-` as `_`, then `_`. */
|
|
1095
|
+
export declare function prefixFor(appKey: string): string;
|
|
1096
|
+
/** The longest real table name every engine accepts (Postgres: 63 bytes). */
|
|
1097
|
+
export declare const MAX_TABLE_NAME = 63;
|
|
1098
|
+
/**
|
|
1099
|
+
* Every name a manifest's own blocks use must name something the manifest
|
|
1100
|
+
* declares: a rule's columns, a capacity's or a booking's columns and tables,
|
|
1101
|
+
* a public table and the columns it reads and writes, the outbox and its
|
|
1102
|
+
* templates. Checked here so an app's CI refuses a typo long before an
|
|
1103
|
+
* operator's install would.
|
|
1104
|
+
*/
|
|
1105
|
+
export declare function appReferenceIssues(m: {
|
|
1106
|
+
key: string;
|
|
1107
|
+
requiredSchema: {
|
|
1108
|
+
tables: readonly RequiredTableShape[];
|
|
1109
|
+
prefixed?: true | undefined;
|
|
1110
|
+
};
|
|
1111
|
+
publicAccess?: readonly PublicAccess[] | undefined;
|
|
1112
|
+
publicKeys?: z.infer<typeof publicKeysSchema> | undefined;
|
|
1113
|
+
optionLists?: Readonly<Record<string, unknown>> | undefined;
|
|
1114
|
+
roles?: readonly RoleShape[] | undefined;
|
|
1115
|
+
outbox?: z.infer<typeof outboxSchema> | undefined;
|
|
1116
|
+
emailTemplates?: readonly z.infer<typeof emailTemplateSchema>[] | undefined;
|
|
1117
|
+
}): {
|
|
1118
|
+
path: (string | number)[];
|
|
1119
|
+
message: string;
|
|
1120
|
+
}[];
|
|
1121
|
+
/** What `appReferenceIssues` reads of a table. */
|
|
1122
|
+
interface RequiredTableShape {
|
|
1123
|
+
ref: string;
|
|
1124
|
+
columns: readonly {
|
|
1125
|
+
ref: string;
|
|
1126
|
+
type: string;
|
|
1127
|
+
role?: string | undefined;
|
|
1128
|
+
nullable?: boolean | undefined;
|
|
1129
|
+
enum?: string[] | undefined;
|
|
1130
|
+
references?: string | undefined;
|
|
1131
|
+
maxLength?: number | undefined;
|
|
1132
|
+
rules?: ColumnRules | undefined;
|
|
1133
|
+
}[];
|
|
1134
|
+
capacity?: z.infer<typeof capacitySchema> | undefined;
|
|
1135
|
+
booking?: z.infer<typeof bookingSchema> | undefined;
|
|
1136
|
+
}
|
|
425
1137
|
export declare const appManifestSchema: z.ZodObject<{
|
|
426
1138
|
compatibility: z.ZodObject<{
|
|
427
1139
|
minAdminiumVersion: z.ZodString;
|
|
@@ -443,6 +1155,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
443
1155
|
"outbound-http": "outbound-http";
|
|
444
1156
|
"oauth-connect": "oauth-connect";
|
|
445
1157
|
}>>>;
|
|
1158
|
+
updatesFrom: z.ZodOptional<z.ZodString>;
|
|
446
1159
|
}, z.core.$strict>;
|
|
447
1160
|
requiredSchema: z.ZodObject<{
|
|
448
1161
|
tables: z.ZodArray<z.ZodObject<{
|
|
@@ -451,26 +1164,26 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
451
1164
|
ref: z.ZodString;
|
|
452
1165
|
type: z.ZodEnum<{
|
|
453
1166
|
bigint: "bigint";
|
|
454
|
-
id: "id";
|
|
455
1167
|
int: "int";
|
|
456
1168
|
date: "date";
|
|
457
1169
|
enum: "enum";
|
|
458
|
-
text: "text";
|
|
459
1170
|
decimal: "decimal";
|
|
460
1171
|
money: "money";
|
|
461
1172
|
float: "float";
|
|
462
1173
|
bool: "bool";
|
|
463
|
-
json: "json";
|
|
464
1174
|
timestamptz: "timestamptz";
|
|
465
|
-
uuid: "uuid";
|
|
466
1175
|
fk: "fk";
|
|
1176
|
+
text: "text";
|
|
1177
|
+
id: "id";
|
|
1178
|
+
json: "json";
|
|
1179
|
+
uuid: "uuid";
|
|
467
1180
|
blob: "blob";
|
|
468
1181
|
}>;
|
|
469
1182
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
470
|
-
name: "name";
|
|
471
1183
|
money: "money";
|
|
472
|
-
image: "image";
|
|
473
1184
|
email: "email";
|
|
1185
|
+
name: "name";
|
|
1186
|
+
image: "image";
|
|
474
1187
|
avatar: "avatar";
|
|
475
1188
|
"geo-lat": "geo-lat";
|
|
476
1189
|
"geo-lng": "geo-lng";
|
|
@@ -483,8 +1196,202 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
483
1196
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
484
1197
|
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
485
1198
|
references: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1200
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1201
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1202
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
1203
|
+
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1204
|
+
list: z.ZodString;
|
|
1205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1206
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1207
|
+
value: z.ZodString;
|
|
1208
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1209
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
}, z.core.$strict>>;
|
|
1211
|
+
}, z.core.$strict>]>>;
|
|
1212
|
+
enumLabels: z.ZodOptional<z.ZodObject<{
|
|
1213
|
+
labels: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1214
|
+
tones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1215
|
+
}, z.core.$strict>>;
|
|
1216
|
+
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1217
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
1218
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1219
|
+
email: "email";
|
|
1220
|
+
phone: "phone";
|
|
1221
|
+
url: "url";
|
|
1222
|
+
}>>;
|
|
1223
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
1224
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
1225
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1226
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1227
|
+
}, z.core.$strict>>;
|
|
1228
|
+
copy: z.ZodOptional<z.ZodObject<{
|
|
1229
|
+
via: z.ZodString;
|
|
1230
|
+
from: z.ZodString;
|
|
1231
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
1232
|
+
default: "default";
|
|
1233
|
+
always: "always";
|
|
1234
|
+
}>>;
|
|
1235
|
+
}, z.core.$strict>>;
|
|
1236
|
+
sequence: z.ZodOptional<z.ZodObject<{
|
|
1237
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
1238
|
+
}, z.core.$strict>>;
|
|
1239
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
1240
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
1241
|
+
length: z.ZodNumber;
|
|
1242
|
+
}, z.core.$strict>>;
|
|
1243
|
+
rollup: z.ZodOptional<z.ZodObject<{
|
|
1244
|
+
from: z.ZodString;
|
|
1245
|
+
via: z.ZodString;
|
|
1246
|
+
sum: z.ZodString;
|
|
1247
|
+
times: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
unlessSet: z.ZodOptional<z.ZodString>;
|
|
1249
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1250
|
+
column: z.ZodString;
|
|
1251
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1252
|
+
}, z.core.$strict>>;
|
|
1253
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
1254
|
+
column: z.ZodString;
|
|
1255
|
+
of: z.ZodString;
|
|
1256
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1257
|
+
}, z.core.$strict>>;
|
|
1258
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1259
|
+
}, z.core.$strict>>;
|
|
1260
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
1261
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
1262
|
+
now: "now";
|
|
1263
|
+
"user-name": "user-name";
|
|
1264
|
+
"user-id": "user-id";
|
|
1265
|
+
}>, z.ZodObject<{
|
|
1266
|
+
byOrigin: z.ZodObject<{
|
|
1267
|
+
public: z.ZodString;
|
|
1268
|
+
staff: z.ZodString;
|
|
1269
|
+
}, z.core.$strict>;
|
|
1270
|
+
}, z.core.$strict>]>;
|
|
1271
|
+
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
1272
|
+
column: z.ZodString;
|
|
1273
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1274
|
+
}, z.core.$strict>]>;
|
|
1275
|
+
}, z.core.$strict>>;
|
|
1276
|
+
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1277
|
+
personal: z.ZodOptional<z.ZodBoolean>;
|
|
1278
|
+
}, z.core.$strict>>;
|
|
1279
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1280
|
+
}, z.core.$strict>>;
|
|
1281
|
+
shape: z.ZodOptional<z.ZodString>;
|
|
1282
|
+
capacity: z.ZodOptional<z.ZodObject<{
|
|
1283
|
+
slot: z.ZodString;
|
|
1284
|
+
amount: z.ZodString;
|
|
1285
|
+
perSlot: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1286
|
+
table: z.ZodString;
|
|
1287
|
+
column: z.ZodString;
|
|
1288
|
+
}, z.core.$strict>]>;
|
|
1289
|
+
countWhere: z.ZodOptional<z.ZodObject<{
|
|
1290
|
+
column: z.ZodString;
|
|
1291
|
+
values: z.ZodArray<z.ZodString>;
|
|
1292
|
+
}, z.core.$strict>>;
|
|
1293
|
+
slotMinutes: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1294
|
+
table: z.ZodString;
|
|
1295
|
+
column: z.ZodString;
|
|
1296
|
+
}, z.core.$strict>]>;
|
|
1297
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1298
|
+
table: z.ZodString;
|
|
1299
|
+
column: z.ZodString;
|
|
1300
|
+
}, z.core.$strict>]>>;
|
|
1301
|
+
opens: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1302
|
+
table: z.ZodString;
|
|
1303
|
+
column: z.ZodString;
|
|
1304
|
+
}, z.core.$strict>]>>;
|
|
1305
|
+
closes: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1306
|
+
table: z.ZodString;
|
|
1307
|
+
column: z.ZodString;
|
|
1308
|
+
}, z.core.$strict>]>>;
|
|
1309
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
1310
|
+
cancelHours: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1311
|
+
table: z.ZodString;
|
|
1312
|
+
column: z.ZodString;
|
|
1313
|
+
}, z.core.$strict>]>>;
|
|
486
1314
|
}, z.core.$strict>>;
|
|
1315
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
1316
|
+
start: z.ZodString;
|
|
1317
|
+
minutes: z.ZodString;
|
|
1318
|
+
resource: z.ZodString;
|
|
1319
|
+
kind: z.ZodString;
|
|
1320
|
+
countWhere: z.ZodObject<{
|
|
1321
|
+
column: z.ZodString;
|
|
1322
|
+
values: z.ZodArray<z.ZodString>;
|
|
1323
|
+
}, z.core.$strict>;
|
|
1324
|
+
eligible: z.ZodObject<{
|
|
1325
|
+
table: z.ZodString;
|
|
1326
|
+
resource: z.ZodString;
|
|
1327
|
+
kind: z.ZodString;
|
|
1328
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
1329
|
+
table: z.ZodString;
|
|
1330
|
+
column: z.ZodString;
|
|
1331
|
+
active: z.ZodOptional<z.ZodString>;
|
|
1332
|
+
public: z.ZodOptional<z.ZodString>;
|
|
1333
|
+
}, z.core.$strict>>;
|
|
1334
|
+
}, z.core.$strict>;
|
|
1335
|
+
hours: z.ZodObject<{
|
|
1336
|
+
practice: z.ZodObject<{
|
|
1337
|
+
weekday: z.ZodString;
|
|
1338
|
+
opens: z.ZodString;
|
|
1339
|
+
closes: z.ZodString;
|
|
1340
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
1341
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
table: z.ZodString;
|
|
1343
|
+
open: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
}, z.core.$strict>;
|
|
1345
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
1346
|
+
weekday: z.ZodString;
|
|
1347
|
+
opens: z.ZodString;
|
|
1348
|
+
closes: z.ZodString;
|
|
1349
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
1350
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
1351
|
+
table: z.ZodString;
|
|
1352
|
+
resource: z.ZodString;
|
|
1353
|
+
}, z.core.$strict>>;
|
|
1354
|
+
}, z.core.$strict>;
|
|
1355
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
1356
|
+
table: z.ZodString;
|
|
1357
|
+
from: z.ZodString;
|
|
1358
|
+
to: z.ZodString;
|
|
1359
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
1360
|
+
active: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
}, z.core.$strict>>;
|
|
1362
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1363
|
+
table: z.ZodString;
|
|
1364
|
+
column: z.ZodString;
|
|
1365
|
+
}, z.core.$strict>]>;
|
|
1366
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1367
|
+
table: z.ZodString;
|
|
1368
|
+
column: z.ZodString;
|
|
1369
|
+
}, z.core.$strict>]>>;
|
|
1370
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1371
|
+
table: z.ZodString;
|
|
1372
|
+
column: z.ZodString;
|
|
1373
|
+
}, z.core.$strict>]>>;
|
|
1374
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
1375
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1376
|
+
table: z.ZodString;
|
|
1377
|
+
column: z.ZodString;
|
|
1378
|
+
}, z.core.$strict>]>;
|
|
1379
|
+
mode: z.ZodEnum<{
|
|
1380
|
+
refuse: "refuse";
|
|
1381
|
+
flag: "flag";
|
|
1382
|
+
}>;
|
|
1383
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
when: z.ZodObject<{
|
|
1385
|
+
column: z.ZodString;
|
|
1386
|
+
to: z.ZodString;
|
|
1387
|
+
}, z.core.$strict>;
|
|
1388
|
+
}, z.core.$strict>>;
|
|
1389
|
+
}, z.core.$strict>>;
|
|
1390
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1391
|
+
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1392
|
+
keyField: z.ZodOptional<z.ZodString>;
|
|
487
1393
|
}, z.core.$strict>>;
|
|
1394
|
+
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
488
1395
|
}, z.core.$strict>;
|
|
489
1396
|
pages: z.ZodArray<z.ZodObject<{
|
|
490
1397
|
ref: z.ZodString;
|
|
@@ -500,12 +1407,18 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
500
1407
|
}, z.core.$strict>;
|
|
501
1408
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
502
1409
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1410
|
+
titles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
503
1411
|
}, z.core.$strict>>;
|
|
504
1412
|
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
505
1413
|
key: z.ZodString;
|
|
506
1414
|
name: z.ZodString;
|
|
507
1415
|
cloneFrom: z.ZodOptional<z.ZodString>;
|
|
508
1416
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1417
|
+
screensOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1418
|
+
limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1419
|
+
writable: z.ZodArray<z.ZodString>;
|
|
1420
|
+
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
1421
|
+
}, z.core.$strict>>>;
|
|
509
1422
|
}, z.core.$strict>>>;
|
|
510
1423
|
settings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
511
1424
|
type: z.ZodLiteral<"string">;
|
|
@@ -619,8 +1532,8 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
619
1532
|
}>>>;
|
|
620
1533
|
frontends: z.ZodArray<z.ZodObject<{
|
|
621
1534
|
side: z.ZodEnum<{
|
|
622
|
-
staff: "staff";
|
|
623
1535
|
customer: "customer";
|
|
1536
|
+
staff: "staff";
|
|
624
1537
|
}>;
|
|
625
1538
|
kind: z.ZodEnum<{
|
|
626
1539
|
spa: "spa";
|
|
@@ -633,6 +1546,247 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
633
1546
|
example: z.ZodOptional<z.ZodString>;
|
|
634
1547
|
}, z.core.$strict>>>;
|
|
635
1548
|
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1549
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
1550
|
+
internal: "internal";
|
|
1551
|
+
external: "external";
|
|
1552
|
+
}>>;
|
|
1553
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1554
|
+
}, z.core.$strict>>;
|
|
1555
|
+
navGroups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1556
|
+
key: z.ZodString;
|
|
1557
|
+
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1558
|
+
order: z.ZodNumber;
|
|
1559
|
+
}, z.core.$strict>>>;
|
|
1560
|
+
optionLists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1561
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
1562
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1563
|
+
value: z.ZodString;
|
|
1564
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1565
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
}, z.core.$strict>>;
|
|
1567
|
+
}, z.core.$strict>>>;
|
|
1568
|
+
publicAccess: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1569
|
+
table: z.ZodString;
|
|
1570
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1571
|
+
records: "records";
|
|
1572
|
+
availability: "availability";
|
|
1573
|
+
}>>;
|
|
1574
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
1575
|
+
GET: "GET";
|
|
1576
|
+
POST: "POST";
|
|
1577
|
+
PATCH: "PATCH";
|
|
1578
|
+
}>>;
|
|
1579
|
+
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1580
|
+
writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1581
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1582
|
+
column: z.ZodString;
|
|
1583
|
+
op: z.ZodEnum<{
|
|
1584
|
+
in: "in";
|
|
1585
|
+
eq: "eq";
|
|
1586
|
+
neq: "neq";
|
|
1587
|
+
gte: "gte";
|
|
1588
|
+
lte: "lte";
|
|
1589
|
+
}>;
|
|
1590
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
1591
|
+
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
1592
|
+
column: z.ZodString;
|
|
1593
|
+
op: z.ZodLiteral<"today">;
|
|
1594
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1595
|
+
column: z.ZodString;
|
|
1596
|
+
op: z.ZodLiteral<"from-today">;
|
|
1597
|
+
days: z.ZodOptional<z.ZodNumber>;
|
|
1598
|
+
}, z.core.$strict>]>]>>>;
|
|
1599
|
+
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1600
|
+
claim: z.ZodOptional<z.ZodObject<{
|
|
1601
|
+
match: z.ZodArray<z.ZodString>;
|
|
1602
|
+
verify: z.ZodOptional<z.ZodLiteral<"email-code">>;
|
|
1603
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1604
|
+
}, z.core.$strict>>;
|
|
1605
|
+
claimedBy: z.ZodOptional<z.ZodObject<{
|
|
1606
|
+
table: z.ZodString;
|
|
1607
|
+
column: z.ZodString;
|
|
1608
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1609
|
+
}, z.core.$strict>>;
|
|
1610
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1611
|
+
lookup: "lookup";
|
|
1612
|
+
verified: "verified";
|
|
1613
|
+
}>>;
|
|
1614
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1615
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1616
|
+
onClaim: z.ZodOptional<z.ZodObject<{
|
|
1617
|
+
clear: z.ZodArray<z.ZodString>;
|
|
1618
|
+
}, z.core.$strict>>;
|
|
1619
|
+
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
1620
|
+
writableWhen: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodLiteral<"from-now">, z.ZodObject<{
|
|
1621
|
+
within: z.ZodNumber;
|
|
1622
|
+
}, z.core.$strict>]>>>;
|
|
1623
|
+
humanCheck: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1624
|
+
rank: z.ZodOptional<z.ZodObject<{
|
|
1625
|
+
orderBy: z.ZodString;
|
|
1626
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1627
|
+
column: z.ZodString;
|
|
1628
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
1629
|
+
}, z.core.$strict>>;
|
|
1630
|
+
}, z.core.$strict>>;
|
|
1631
|
+
maxOpen: z.ZodOptional<z.ZodObject<{
|
|
1632
|
+
column: z.ZodString;
|
|
1633
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1634
|
+
n: z.ZodNumber;
|
|
1635
|
+
upcoming: z.ZodOptional<z.ZodString>;
|
|
1636
|
+
}, z.core.$strict>>;
|
|
1637
|
+
anonymous: z.ZodOptional<z.ZodObject<{
|
|
1638
|
+
perValue: z.ZodOptional<z.ZodObject<{
|
|
1639
|
+
columns: z.ZodArray<z.ZodString>;
|
|
1640
|
+
n: z.ZodNumber;
|
|
1641
|
+
}, z.core.$strict>>;
|
|
1642
|
+
perKeyHour: z.ZodOptional<z.ZodNumber>;
|
|
1643
|
+
plainText: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1644
|
+
}, z.core.$strict>>;
|
|
1645
|
+
requireSetting: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1646
|
+
table: z.ZodString;
|
|
1647
|
+
column: z.ZodString;
|
|
1648
|
+
when: z.ZodOptional<z.ZodLiteral<"anonymous">>;
|
|
1649
|
+
}, z.core.$strict>>>;
|
|
1650
|
+
key: z.ZodOptional<z.ZodString>;
|
|
1651
|
+
confirm: z.ZodOptional<z.ZodObject<{
|
|
1652
|
+
template: z.ZodEnum<{
|
|
1653
|
+
"booking-confirmation": "booking-confirmation";
|
|
1654
|
+
}>;
|
|
1655
|
+
to: z.ZodString;
|
|
1656
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1657
|
+
when: z.ZodOptional<z.ZodString>;
|
|
1658
|
+
party: z.ZodOptional<z.ZodString>;
|
|
1659
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1660
|
+
venue: z.ZodOptional<z.ZodObject<{
|
|
1661
|
+
table: z.ZodString;
|
|
1662
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1663
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1664
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1665
|
+
}, z.core.$strict>>;
|
|
1666
|
+
link: z.ZodOptional<z.ZodString>;
|
|
1667
|
+
}, z.core.$strict>>;
|
|
1668
|
+
}, z.core.$strict>>>;
|
|
1669
|
+
publicKeys: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1670
|
+
requiresStaff: z.ZodObject<{
|
|
1671
|
+
role: z.ZodString;
|
|
1672
|
+
}, z.core.$strict>;
|
|
1673
|
+
enabledBy: z.ZodOptional<z.ZodObject<{
|
|
1674
|
+
table: z.ZodString;
|
|
1675
|
+
column: z.ZodString;
|
|
1676
|
+
}, z.core.$strict>>;
|
|
1677
|
+
}, z.core.$strict>>>;
|
|
1678
|
+
outbox: z.ZodOptional<z.ZodObject<{
|
|
1679
|
+
table: z.ZodString;
|
|
1680
|
+
columns: z.ZodObject<{
|
|
1681
|
+
kind: z.ZodString;
|
|
1682
|
+
status: z.ZodString;
|
|
1683
|
+
to: z.ZodString;
|
|
1684
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1685
|
+
due: z.ZodOptional<z.ZodString>;
|
|
1686
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
1687
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1688
|
+
}, z.core.$strict>;
|
|
1689
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1690
|
+
recipient: z.ZodObject<{
|
|
1691
|
+
via: z.ZodString;
|
|
1692
|
+
table: z.ZodString;
|
|
1693
|
+
email: z.ZodString;
|
|
1694
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1695
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1696
|
+
optIn: z.ZodOptional<z.ZodString>;
|
|
1697
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
1698
|
+
via: z.ZodString;
|
|
1699
|
+
email: z.ZodString;
|
|
1700
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1701
|
+
language: z.ZodOptional<z.ZodString>;
|
|
1702
|
+
}, z.core.$strict>>;
|
|
1703
|
+
}, z.core.$strict>;
|
|
1704
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
1705
|
+
table: z.ZodString;
|
|
1706
|
+
enabled: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1709
|
+
}, z.core.$strict>>;
|
|
1710
|
+
pages: z.ZodOptional<z.ZodObject<{
|
|
1711
|
+
manage: z.ZodOptional<z.ZodString>;
|
|
1712
|
+
booking: z.ZodOptional<z.ZodString>;
|
|
1713
|
+
}, z.core.$strict>>;
|
|
1714
|
+
kinds: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1715
|
+
producers: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1716
|
+
onCreate: z.ZodObject<{
|
|
1717
|
+
table: z.ZodString;
|
|
1718
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1719
|
+
column: z.ZodString;
|
|
1720
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1721
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1722
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
1723
|
+
}, z.core.$strict>>;
|
|
1724
|
+
}, z.core.$strict>;
|
|
1725
|
+
kind: z.ZodString;
|
|
1726
|
+
link: z.ZodString;
|
|
1727
|
+
gate: z.ZodOptional<z.ZodLiteral<"enabled">>;
|
|
1728
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1729
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1730
|
+
onChange: z.ZodObject<{
|
|
1731
|
+
table: z.ZodString;
|
|
1732
|
+
column: z.ZodString;
|
|
1733
|
+
to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
1734
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1735
|
+
column: z.ZodString;
|
|
1736
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1737
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1738
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
1739
|
+
}, z.core.$strict>>;
|
|
1740
|
+
}, z.core.$strict>;
|
|
1741
|
+
kind: z.ZodString;
|
|
1742
|
+
link: z.ZodString;
|
|
1743
|
+
gate: z.ZodOptional<z.ZodLiteral<"enabled">>;
|
|
1744
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1745
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1746
|
+
before: z.ZodObject<{
|
|
1747
|
+
table: z.ZodString;
|
|
1748
|
+
at: z.ZodString;
|
|
1749
|
+
lead: z.ZodObject<{
|
|
1750
|
+
via: z.ZodString;
|
|
1751
|
+
table: z.ZodString;
|
|
1752
|
+
column: z.ZodString;
|
|
1753
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
1754
|
+
table: z.ZodString;
|
|
1755
|
+
column: z.ZodString;
|
|
1756
|
+
}, z.core.$strict>>;
|
|
1757
|
+
max: z.ZodNumber;
|
|
1758
|
+
}, z.core.$strict>;
|
|
1759
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
1760
|
+
column: z.ZodString;
|
|
1761
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1762
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
1763
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
1764
|
+
}, z.core.$strict>>;
|
|
1765
|
+
}, z.core.$strict>;
|
|
1766
|
+
kind: z.ZodString;
|
|
1767
|
+
link: z.ZodString;
|
|
1768
|
+
gate: z.ZodOptional<z.ZodLiteral<"enabled">>;
|
|
1769
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1770
|
+
}, z.core.$strict>]>>>;
|
|
1771
|
+
}, z.core.$strict>>;
|
|
1772
|
+
emailTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1773
|
+
key: z.ZodString;
|
|
1774
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
1775
|
+
vars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1776
|
+
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1777
|
+
subject: z.ZodString;
|
|
1778
|
+
preheader: z.ZodOptional<z.ZodString>;
|
|
1779
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
1780
|
+
block: z.ZodString;
|
|
1781
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1782
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1783
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1784
|
+
}, z.core.$strict>>;
|
|
1785
|
+
footer: z.ZodOptional<z.ZodString>;
|
|
1786
|
+
}, z.core.$strict>>;
|
|
1787
|
+
}, z.core.$strict>>>;
|
|
1788
|
+
sampleData: z.ZodOptional<z.ZodObject<{
|
|
1789
|
+
file: z.ZodString;
|
|
636
1790
|
}, z.core.$strict>>;
|
|
637
1791
|
categories: z.ZodArray<z.ZodEnum<{
|
|
638
1792
|
commerce: "commerce";
|
|
@@ -701,6 +1855,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
701
1855
|
"outbound-http": "outbound-http";
|
|
702
1856
|
"oauth-connect": "oauth-connect";
|
|
703
1857
|
}>>>;
|
|
1858
|
+
updatesFrom: z.ZodOptional<z.ZodString>;
|
|
704
1859
|
}, z.core.$strict>;
|
|
705
1860
|
addOn: z.ZodObject<{
|
|
706
1861
|
attaches: z.ZodArray<z.ZodObject<{
|
|
@@ -798,26 +1953,26 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
798
1953
|
ref: z.ZodString;
|
|
799
1954
|
type: z.ZodEnum<{
|
|
800
1955
|
bigint: "bigint";
|
|
801
|
-
id: "id";
|
|
802
1956
|
int: "int";
|
|
803
1957
|
date: "date";
|
|
804
1958
|
enum: "enum";
|
|
805
|
-
text: "text";
|
|
806
1959
|
decimal: "decimal";
|
|
807
1960
|
money: "money";
|
|
808
1961
|
float: "float";
|
|
809
1962
|
bool: "bool";
|
|
810
|
-
json: "json";
|
|
811
1963
|
timestamptz: "timestamptz";
|
|
812
|
-
uuid: "uuid";
|
|
813
1964
|
fk: "fk";
|
|
1965
|
+
text: "text";
|
|
1966
|
+
id: "id";
|
|
1967
|
+
json: "json";
|
|
1968
|
+
uuid: "uuid";
|
|
814
1969
|
blob: "blob";
|
|
815
1970
|
}>;
|
|
816
1971
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
817
|
-
name: "name";
|
|
818
1972
|
money: "money";
|
|
819
|
-
image: "image";
|
|
820
1973
|
email: "email";
|
|
1974
|
+
name: "name";
|
|
1975
|
+
image: "image";
|
|
821
1976
|
avatar: "avatar";
|
|
822
1977
|
"geo-lat": "geo-lat";
|
|
823
1978
|
"geo-lng": "geo-lng";
|
|
@@ -830,8 +1985,202 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
830
1985
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
831
1986
|
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
832
1987
|
references: z.ZodOptional<z.ZodString>;
|
|
1988
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1989
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1990
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1991
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
1992
|
+
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
1993
|
+
list: z.ZodString;
|
|
1994
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1995
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1996
|
+
value: z.ZodString;
|
|
1997
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1998
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
1999
|
+
}, z.core.$strict>>;
|
|
2000
|
+
}, z.core.$strict>]>>;
|
|
2001
|
+
enumLabels: z.ZodOptional<z.ZodObject<{
|
|
2002
|
+
labels: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2003
|
+
tones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2004
|
+
}, z.core.$strict>>;
|
|
2005
|
+
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2006
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
2007
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
2008
|
+
email: "email";
|
|
2009
|
+
phone: "phone";
|
|
2010
|
+
url: "url";
|
|
2011
|
+
}>>;
|
|
2012
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2013
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2014
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2015
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2016
|
+
}, z.core.$strict>>;
|
|
2017
|
+
copy: z.ZodOptional<z.ZodObject<{
|
|
2018
|
+
via: z.ZodString;
|
|
2019
|
+
from: z.ZodString;
|
|
2020
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
2021
|
+
default: "default";
|
|
2022
|
+
always: "always";
|
|
2023
|
+
}>>;
|
|
2024
|
+
}, z.core.$strict>>;
|
|
2025
|
+
sequence: z.ZodOptional<z.ZodObject<{
|
|
2026
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
2027
|
+
}, z.core.$strict>>;
|
|
2028
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
2029
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
2030
|
+
length: z.ZodNumber;
|
|
2031
|
+
}, z.core.$strict>>;
|
|
2032
|
+
rollup: z.ZodOptional<z.ZodObject<{
|
|
2033
|
+
from: z.ZodString;
|
|
2034
|
+
via: z.ZodString;
|
|
2035
|
+
sum: z.ZodString;
|
|
2036
|
+
times: z.ZodOptional<z.ZodString>;
|
|
2037
|
+
unlessSet: z.ZodOptional<z.ZodString>;
|
|
2038
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
2039
|
+
column: z.ZodString;
|
|
2040
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2041
|
+
}, z.core.$strict>>;
|
|
2042
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
2043
|
+
column: z.ZodString;
|
|
2044
|
+
of: z.ZodString;
|
|
2045
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2046
|
+
}, z.core.$strict>>;
|
|
2047
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2048
|
+
}, z.core.$strict>>;
|
|
2049
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
2050
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
2051
|
+
now: "now";
|
|
2052
|
+
"user-name": "user-name";
|
|
2053
|
+
"user-id": "user-id";
|
|
2054
|
+
}>, z.ZodObject<{
|
|
2055
|
+
byOrigin: z.ZodObject<{
|
|
2056
|
+
public: z.ZodString;
|
|
2057
|
+
staff: z.ZodString;
|
|
2058
|
+
}, z.core.$strict>;
|
|
2059
|
+
}, z.core.$strict>]>;
|
|
2060
|
+
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
2061
|
+
column: z.ZodString;
|
|
2062
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2063
|
+
}, z.core.$strict>]>;
|
|
2064
|
+
}, z.core.$strict>>;
|
|
2065
|
+
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2066
|
+
personal: z.ZodOptional<z.ZodBoolean>;
|
|
2067
|
+
}, z.core.$strict>>;
|
|
2068
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2069
|
+
}, z.core.$strict>>;
|
|
2070
|
+
shape: z.ZodOptional<z.ZodString>;
|
|
2071
|
+
capacity: z.ZodOptional<z.ZodObject<{
|
|
2072
|
+
slot: z.ZodString;
|
|
2073
|
+
amount: z.ZodString;
|
|
2074
|
+
perSlot: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2075
|
+
table: z.ZodString;
|
|
2076
|
+
column: z.ZodString;
|
|
2077
|
+
}, z.core.$strict>]>;
|
|
2078
|
+
countWhere: z.ZodOptional<z.ZodObject<{
|
|
2079
|
+
column: z.ZodString;
|
|
2080
|
+
values: z.ZodArray<z.ZodString>;
|
|
2081
|
+
}, z.core.$strict>>;
|
|
2082
|
+
slotMinutes: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2083
|
+
table: z.ZodString;
|
|
2084
|
+
column: z.ZodString;
|
|
2085
|
+
}, z.core.$strict>]>;
|
|
2086
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2087
|
+
table: z.ZodString;
|
|
2088
|
+
column: z.ZodString;
|
|
2089
|
+
}, z.core.$strict>]>>;
|
|
2090
|
+
opens: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2091
|
+
table: z.ZodString;
|
|
2092
|
+
column: z.ZodString;
|
|
2093
|
+
}, z.core.$strict>]>>;
|
|
2094
|
+
closes: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2095
|
+
table: z.ZodString;
|
|
2096
|
+
column: z.ZodString;
|
|
2097
|
+
}, z.core.$strict>]>>;
|
|
2098
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
2099
|
+
cancelHours: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2100
|
+
table: z.ZodString;
|
|
2101
|
+
column: z.ZodString;
|
|
2102
|
+
}, z.core.$strict>]>>;
|
|
2103
|
+
}, z.core.$strict>>;
|
|
2104
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
2105
|
+
start: z.ZodString;
|
|
2106
|
+
minutes: z.ZodString;
|
|
2107
|
+
resource: z.ZodString;
|
|
2108
|
+
kind: z.ZodString;
|
|
2109
|
+
countWhere: z.ZodObject<{
|
|
2110
|
+
column: z.ZodString;
|
|
2111
|
+
values: z.ZodArray<z.ZodString>;
|
|
2112
|
+
}, z.core.$strict>;
|
|
2113
|
+
eligible: z.ZodObject<{
|
|
2114
|
+
table: z.ZodString;
|
|
2115
|
+
resource: z.ZodString;
|
|
2116
|
+
kind: z.ZodString;
|
|
2117
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
2118
|
+
table: z.ZodString;
|
|
2119
|
+
column: z.ZodString;
|
|
2120
|
+
active: z.ZodOptional<z.ZodString>;
|
|
2121
|
+
public: z.ZodOptional<z.ZodString>;
|
|
2122
|
+
}, z.core.$strict>>;
|
|
2123
|
+
}, z.core.$strict>;
|
|
2124
|
+
hours: z.ZodObject<{
|
|
2125
|
+
practice: z.ZodObject<{
|
|
2126
|
+
weekday: z.ZodString;
|
|
2127
|
+
opens: z.ZodString;
|
|
2128
|
+
closes: z.ZodString;
|
|
2129
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
2130
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
2131
|
+
table: z.ZodString;
|
|
2132
|
+
open: z.ZodOptional<z.ZodString>;
|
|
2133
|
+
}, z.core.$strict>;
|
|
2134
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
2135
|
+
weekday: z.ZodString;
|
|
2136
|
+
opens: z.ZodString;
|
|
2137
|
+
closes: z.ZodString;
|
|
2138
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
2139
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
2140
|
+
table: z.ZodString;
|
|
2141
|
+
resource: z.ZodString;
|
|
2142
|
+
}, z.core.$strict>>;
|
|
2143
|
+
}, z.core.$strict>;
|
|
2144
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
2145
|
+
table: z.ZodString;
|
|
2146
|
+
from: z.ZodString;
|
|
2147
|
+
to: z.ZodString;
|
|
2148
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
2149
|
+
active: z.ZodOptional<z.ZodString>;
|
|
2150
|
+
}, z.core.$strict>>;
|
|
2151
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2152
|
+
table: z.ZodString;
|
|
2153
|
+
column: z.ZodString;
|
|
2154
|
+
}, z.core.$strict>]>;
|
|
2155
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2156
|
+
table: z.ZodString;
|
|
2157
|
+
column: z.ZodString;
|
|
2158
|
+
}, z.core.$strict>]>>;
|
|
2159
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2160
|
+
table: z.ZodString;
|
|
2161
|
+
column: z.ZodString;
|
|
2162
|
+
}, z.core.$strict>]>>;
|
|
2163
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
2164
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2165
|
+
table: z.ZodString;
|
|
2166
|
+
column: z.ZodString;
|
|
2167
|
+
}, z.core.$strict>]>;
|
|
2168
|
+
mode: z.ZodEnum<{
|
|
2169
|
+
refuse: "refuse";
|
|
2170
|
+
flag: "flag";
|
|
2171
|
+
}>;
|
|
2172
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
2173
|
+
when: z.ZodObject<{
|
|
2174
|
+
column: z.ZodString;
|
|
2175
|
+
to: z.ZodString;
|
|
2176
|
+
}, z.core.$strict>;
|
|
2177
|
+
}, z.core.$strict>>;
|
|
833
2178
|
}, z.core.$strict>>;
|
|
2179
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2180
|
+
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2181
|
+
keyField: z.ZodOptional<z.ZodString>;
|
|
834
2182
|
}, z.core.$strict>>;
|
|
2183
|
+
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
835
2184
|
}, z.core.$strict>>;
|
|
836
2185
|
settings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
837
2186
|
type: z.ZodLiteral<"string">;
|
|
@@ -979,6 +2328,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
979
2328
|
"outbound-http": "outbound-http";
|
|
980
2329
|
"oauth-connect": "oauth-connect";
|
|
981
2330
|
}>>>;
|
|
2331
|
+
updatesFrom: z.ZodOptional<z.ZodString>;
|
|
982
2332
|
}, z.core.$strict>;
|
|
983
2333
|
requiredSchema: z.ZodObject<{
|
|
984
2334
|
tables: z.ZodArray<z.ZodObject<{
|
|
@@ -987,26 +2337,26 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
987
2337
|
ref: z.ZodString;
|
|
988
2338
|
type: z.ZodEnum<{
|
|
989
2339
|
bigint: "bigint";
|
|
990
|
-
id: "id";
|
|
991
2340
|
int: "int";
|
|
992
2341
|
date: "date";
|
|
993
2342
|
enum: "enum";
|
|
994
|
-
text: "text";
|
|
995
2343
|
decimal: "decimal";
|
|
996
2344
|
money: "money";
|
|
997
2345
|
float: "float";
|
|
998
2346
|
bool: "bool";
|
|
999
|
-
json: "json";
|
|
1000
2347
|
timestamptz: "timestamptz";
|
|
1001
|
-
uuid: "uuid";
|
|
1002
2348
|
fk: "fk";
|
|
2349
|
+
text: "text";
|
|
2350
|
+
id: "id";
|
|
2351
|
+
json: "json";
|
|
2352
|
+
uuid: "uuid";
|
|
1003
2353
|
blob: "blob";
|
|
1004
2354
|
}>;
|
|
1005
2355
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
1006
|
-
name: "name";
|
|
1007
2356
|
money: "money";
|
|
1008
|
-
image: "image";
|
|
1009
2357
|
email: "email";
|
|
2358
|
+
name: "name";
|
|
2359
|
+
image: "image";
|
|
1010
2360
|
avatar: "avatar";
|
|
1011
2361
|
"geo-lat": "geo-lat";
|
|
1012
2362
|
"geo-lng": "geo-lng";
|
|
@@ -1019,8 +2369,202 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1019
2369
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
1020
2370
|
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1021
2371
|
references: z.ZodOptional<z.ZodString>;
|
|
2372
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2373
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2374
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2375
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
2376
|
+
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
2377
|
+
list: z.ZodString;
|
|
2378
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2379
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2380
|
+
value: z.ZodString;
|
|
2381
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2382
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
2383
|
+
}, z.core.$strict>>;
|
|
2384
|
+
}, z.core.$strict>]>>;
|
|
2385
|
+
enumLabels: z.ZodOptional<z.ZodObject<{
|
|
2386
|
+
labels: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2387
|
+
tones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2388
|
+
}, z.core.$strict>>;
|
|
2389
|
+
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2390
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
2391
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
2392
|
+
email: "email";
|
|
2393
|
+
phone: "phone";
|
|
2394
|
+
url: "url";
|
|
2395
|
+
}>>;
|
|
2396
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
2397
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
2398
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
2399
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
2400
|
+
}, z.core.$strict>>;
|
|
2401
|
+
copy: z.ZodOptional<z.ZodObject<{
|
|
2402
|
+
via: z.ZodString;
|
|
2403
|
+
from: z.ZodString;
|
|
2404
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
2405
|
+
default: "default";
|
|
2406
|
+
always: "always";
|
|
2407
|
+
}>>;
|
|
2408
|
+
}, z.core.$strict>>;
|
|
2409
|
+
sequence: z.ZodOptional<z.ZodObject<{
|
|
2410
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
2411
|
+
}, z.core.$strict>>;
|
|
2412
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
2413
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
2414
|
+
length: z.ZodNumber;
|
|
2415
|
+
}, z.core.$strict>>;
|
|
2416
|
+
rollup: z.ZodOptional<z.ZodObject<{
|
|
2417
|
+
from: z.ZodString;
|
|
2418
|
+
via: z.ZodString;
|
|
2419
|
+
sum: z.ZodString;
|
|
2420
|
+
times: z.ZodOptional<z.ZodString>;
|
|
2421
|
+
unlessSet: z.ZodOptional<z.ZodString>;
|
|
2422
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
2423
|
+
column: z.ZodString;
|
|
2424
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2425
|
+
}, z.core.$strict>>;
|
|
2426
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
2427
|
+
column: z.ZodString;
|
|
2428
|
+
of: z.ZodString;
|
|
2429
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2430
|
+
}, z.core.$strict>>;
|
|
2431
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2432
|
+
}, z.core.$strict>>;
|
|
2433
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
2434
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
2435
|
+
now: "now";
|
|
2436
|
+
"user-name": "user-name";
|
|
2437
|
+
"user-id": "user-id";
|
|
2438
|
+
}>, z.ZodObject<{
|
|
2439
|
+
byOrigin: z.ZodObject<{
|
|
2440
|
+
public: z.ZodString;
|
|
2441
|
+
staff: z.ZodString;
|
|
2442
|
+
}, z.core.$strict>;
|
|
2443
|
+
}, z.core.$strict>]>;
|
|
2444
|
+
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
2445
|
+
column: z.ZodString;
|
|
2446
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2447
|
+
}, z.core.$strict>]>;
|
|
2448
|
+
}, z.core.$strict>>;
|
|
2449
|
+
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2450
|
+
personal: z.ZodOptional<z.ZodBoolean>;
|
|
2451
|
+
}, z.core.$strict>>;
|
|
2452
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2453
|
+
}, z.core.$strict>>;
|
|
2454
|
+
shape: z.ZodOptional<z.ZodString>;
|
|
2455
|
+
capacity: z.ZodOptional<z.ZodObject<{
|
|
2456
|
+
slot: z.ZodString;
|
|
2457
|
+
amount: z.ZodString;
|
|
2458
|
+
perSlot: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2459
|
+
table: z.ZodString;
|
|
2460
|
+
column: z.ZodString;
|
|
2461
|
+
}, z.core.$strict>]>;
|
|
2462
|
+
countWhere: z.ZodOptional<z.ZodObject<{
|
|
2463
|
+
column: z.ZodString;
|
|
2464
|
+
values: z.ZodArray<z.ZodString>;
|
|
2465
|
+
}, z.core.$strict>>;
|
|
2466
|
+
slotMinutes: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2467
|
+
table: z.ZodString;
|
|
2468
|
+
column: z.ZodString;
|
|
2469
|
+
}, z.core.$strict>]>;
|
|
2470
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2471
|
+
table: z.ZodString;
|
|
2472
|
+
column: z.ZodString;
|
|
2473
|
+
}, z.core.$strict>]>>;
|
|
2474
|
+
opens: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2475
|
+
table: z.ZodString;
|
|
2476
|
+
column: z.ZodString;
|
|
2477
|
+
}, z.core.$strict>]>>;
|
|
2478
|
+
closes: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2479
|
+
table: z.ZodString;
|
|
2480
|
+
column: z.ZodString;
|
|
2481
|
+
}, z.core.$strict>]>>;
|
|
2482
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
2483
|
+
cancelHours: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2484
|
+
table: z.ZodString;
|
|
2485
|
+
column: z.ZodString;
|
|
2486
|
+
}, z.core.$strict>]>>;
|
|
1022
2487
|
}, z.core.$strict>>;
|
|
2488
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
2489
|
+
start: z.ZodString;
|
|
2490
|
+
minutes: z.ZodString;
|
|
2491
|
+
resource: z.ZodString;
|
|
2492
|
+
kind: z.ZodString;
|
|
2493
|
+
countWhere: z.ZodObject<{
|
|
2494
|
+
column: z.ZodString;
|
|
2495
|
+
values: z.ZodArray<z.ZodString>;
|
|
2496
|
+
}, z.core.$strict>;
|
|
2497
|
+
eligible: z.ZodObject<{
|
|
2498
|
+
table: z.ZodString;
|
|
2499
|
+
resource: z.ZodString;
|
|
2500
|
+
kind: z.ZodString;
|
|
2501
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
2502
|
+
table: z.ZodString;
|
|
2503
|
+
column: z.ZodString;
|
|
2504
|
+
active: z.ZodOptional<z.ZodString>;
|
|
2505
|
+
public: z.ZodOptional<z.ZodString>;
|
|
2506
|
+
}, z.core.$strict>>;
|
|
2507
|
+
}, z.core.$strict>;
|
|
2508
|
+
hours: z.ZodObject<{
|
|
2509
|
+
practice: z.ZodObject<{
|
|
2510
|
+
weekday: z.ZodString;
|
|
2511
|
+
opens: z.ZodString;
|
|
2512
|
+
closes: z.ZodString;
|
|
2513
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
2514
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
2515
|
+
table: z.ZodString;
|
|
2516
|
+
open: z.ZodOptional<z.ZodString>;
|
|
2517
|
+
}, z.core.$strict>;
|
|
2518
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
2519
|
+
weekday: z.ZodString;
|
|
2520
|
+
opens: z.ZodString;
|
|
2521
|
+
closes: z.ZodString;
|
|
2522
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
2524
|
+
table: z.ZodString;
|
|
2525
|
+
resource: z.ZodString;
|
|
2526
|
+
}, z.core.$strict>>;
|
|
2527
|
+
}, z.core.$strict>;
|
|
2528
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
2529
|
+
table: z.ZodString;
|
|
2530
|
+
from: z.ZodString;
|
|
2531
|
+
to: z.ZodString;
|
|
2532
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
2533
|
+
active: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
}, z.core.$strict>>;
|
|
2535
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2536
|
+
table: z.ZodString;
|
|
2537
|
+
column: z.ZodString;
|
|
2538
|
+
}, z.core.$strict>]>;
|
|
2539
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2540
|
+
table: z.ZodString;
|
|
2541
|
+
column: z.ZodString;
|
|
2542
|
+
}, z.core.$strict>]>>;
|
|
2543
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2544
|
+
table: z.ZodString;
|
|
2545
|
+
column: z.ZodString;
|
|
2546
|
+
}, z.core.$strict>]>>;
|
|
2547
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
2548
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2549
|
+
table: z.ZodString;
|
|
2550
|
+
column: z.ZodString;
|
|
2551
|
+
}, z.core.$strict>]>;
|
|
2552
|
+
mode: z.ZodEnum<{
|
|
2553
|
+
refuse: "refuse";
|
|
2554
|
+
flag: "flag";
|
|
2555
|
+
}>;
|
|
2556
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
2557
|
+
when: z.ZodObject<{
|
|
2558
|
+
column: z.ZodString;
|
|
2559
|
+
to: z.ZodString;
|
|
2560
|
+
}, z.core.$strict>;
|
|
2561
|
+
}, z.core.$strict>>;
|
|
2562
|
+
}, z.core.$strict>>;
|
|
2563
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2564
|
+
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2565
|
+
keyField: z.ZodOptional<z.ZodString>;
|
|
1023
2566
|
}, z.core.$strict>>;
|
|
2567
|
+
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1024
2568
|
}, z.core.$strict>;
|
|
1025
2569
|
pages: z.ZodArray<z.ZodObject<{
|
|
1026
2570
|
ref: z.ZodString;
|
|
@@ -1036,12 +2580,18 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1036
2580
|
}, z.core.$strict>;
|
|
1037
2581
|
bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1038
2582
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2583
|
+
titles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1039
2584
|
}, z.core.$strict>>;
|
|
1040
2585
|
roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1041
2586
|
key: z.ZodString;
|
|
1042
2587
|
name: z.ZodString;
|
|
1043
2588
|
cloneFrom: z.ZodOptional<z.ZodString>;
|
|
1044
2589
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2590
|
+
screensOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2591
|
+
limits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2592
|
+
writable: z.ZodArray<z.ZodString>;
|
|
2593
|
+
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
2594
|
+
}, z.core.$strict>>>;
|
|
1045
2595
|
}, z.core.$strict>>>;
|
|
1046
2596
|
settings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1047
2597
|
type: z.ZodLiteral<"string">;
|
|
@@ -1155,8 +2705,8 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1155
2705
|
}>>>;
|
|
1156
2706
|
frontends: z.ZodArray<z.ZodObject<{
|
|
1157
2707
|
side: z.ZodEnum<{
|
|
1158
|
-
staff: "staff";
|
|
1159
2708
|
customer: "customer";
|
|
2709
|
+
staff: "staff";
|
|
1160
2710
|
}>;
|
|
1161
2711
|
kind: z.ZodEnum<{
|
|
1162
2712
|
spa: "spa";
|
|
@@ -1169,6 +2719,247 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1169
2719
|
example: z.ZodOptional<z.ZodString>;
|
|
1170
2720
|
}, z.core.$strict>>>;
|
|
1171
2721
|
routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2722
|
+
placement: z.ZodOptional<z.ZodEnum<{
|
|
2723
|
+
internal: "internal";
|
|
2724
|
+
external: "external";
|
|
2725
|
+
}>>;
|
|
2726
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2727
|
+
}, z.core.$strict>>;
|
|
2728
|
+
navGroups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2729
|
+
key: z.ZodString;
|
|
2730
|
+
label: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2731
|
+
order: z.ZodNumber;
|
|
2732
|
+
}, z.core.$strict>>>;
|
|
2733
|
+
optionLists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2734
|
+
label: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
2735
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2736
|
+
value: z.ZodString;
|
|
2737
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
2738
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
2739
|
+
}, z.core.$strict>>;
|
|
2740
|
+
}, z.core.$strict>>>;
|
|
2741
|
+
publicAccess: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2742
|
+
table: z.ZodString;
|
|
2743
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
2744
|
+
records: "records";
|
|
2745
|
+
availability: "availability";
|
|
2746
|
+
}>>;
|
|
2747
|
+
methods: z.ZodArray<z.ZodEnum<{
|
|
2748
|
+
GET: "GET";
|
|
2749
|
+
POST: "POST";
|
|
2750
|
+
PATCH: "PATCH";
|
|
2751
|
+
}>>;
|
|
2752
|
+
select: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2753
|
+
writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2754
|
+
filters: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2755
|
+
column: z.ZodString;
|
|
2756
|
+
op: z.ZodEnum<{
|
|
2757
|
+
in: "in";
|
|
2758
|
+
eq: "eq";
|
|
2759
|
+
neq: "neq";
|
|
2760
|
+
gte: "gte";
|
|
2761
|
+
lte: "lte";
|
|
2762
|
+
}>;
|
|
2763
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
|
2764
|
+
}, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
|
|
2765
|
+
column: z.ZodString;
|
|
2766
|
+
op: z.ZodLiteral<"today">;
|
|
2767
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2768
|
+
column: z.ZodString;
|
|
2769
|
+
op: z.ZodLiteral<"from-today">;
|
|
2770
|
+
days: z.ZodOptional<z.ZodNumber>;
|
|
2771
|
+
}, z.core.$strict>]>]>>>;
|
|
2772
|
+
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2773
|
+
claim: z.ZodOptional<z.ZodObject<{
|
|
2774
|
+
match: z.ZodArray<z.ZodString>;
|
|
2775
|
+
verify: z.ZodOptional<z.ZodLiteral<"email-code">>;
|
|
2776
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2777
|
+
}, z.core.$strict>>;
|
|
2778
|
+
claimedBy: z.ZodOptional<z.ZodObject<{
|
|
2779
|
+
table: z.ZodString;
|
|
2780
|
+
column: z.ZodString;
|
|
2781
|
+
optional: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2782
|
+
}, z.core.$strict>>;
|
|
2783
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
2784
|
+
lookup: "lookup";
|
|
2785
|
+
verified: "verified";
|
|
2786
|
+
}>>;
|
|
2787
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
2788
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2789
|
+
onClaim: z.ZodOptional<z.ZodObject<{
|
|
2790
|
+
clear: z.ZodArray<z.ZodString>;
|
|
2791
|
+
}, z.core.$strict>>;
|
|
2792
|
+
writableValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
2793
|
+
writableWhen: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodLiteral<"from-now">, z.ZodObject<{
|
|
2794
|
+
within: z.ZodNumber;
|
|
2795
|
+
}, z.core.$strict>]>>>;
|
|
2796
|
+
humanCheck: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2797
|
+
rank: z.ZodOptional<z.ZodObject<{
|
|
2798
|
+
orderBy: z.ZodString;
|
|
2799
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
2800
|
+
column: z.ZodString;
|
|
2801
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
2802
|
+
}, z.core.$strict>>;
|
|
2803
|
+
}, z.core.$strict>>;
|
|
2804
|
+
maxOpen: z.ZodOptional<z.ZodObject<{
|
|
2805
|
+
column: z.ZodString;
|
|
2806
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2807
|
+
n: z.ZodNumber;
|
|
2808
|
+
upcoming: z.ZodOptional<z.ZodString>;
|
|
2809
|
+
}, z.core.$strict>>;
|
|
2810
|
+
anonymous: z.ZodOptional<z.ZodObject<{
|
|
2811
|
+
perValue: z.ZodOptional<z.ZodObject<{
|
|
2812
|
+
columns: z.ZodArray<z.ZodString>;
|
|
2813
|
+
n: z.ZodNumber;
|
|
2814
|
+
}, z.core.$strict>>;
|
|
2815
|
+
perKeyHour: z.ZodOptional<z.ZodNumber>;
|
|
2816
|
+
plainText: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2817
|
+
}, z.core.$strict>>;
|
|
2818
|
+
requireSetting: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2819
|
+
table: z.ZodString;
|
|
2820
|
+
column: z.ZodString;
|
|
2821
|
+
when: z.ZodOptional<z.ZodLiteral<"anonymous">>;
|
|
2822
|
+
}, z.core.$strict>>>;
|
|
2823
|
+
key: z.ZodOptional<z.ZodString>;
|
|
2824
|
+
confirm: z.ZodOptional<z.ZodObject<{
|
|
2825
|
+
template: z.ZodEnum<{
|
|
2826
|
+
"booking-confirmation": "booking-confirmation";
|
|
2827
|
+
}>;
|
|
2828
|
+
to: z.ZodString;
|
|
2829
|
+
code: z.ZodOptional<z.ZodString>;
|
|
2830
|
+
when: z.ZodOptional<z.ZodString>;
|
|
2831
|
+
party: z.ZodOptional<z.ZodString>;
|
|
2832
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2833
|
+
venue: z.ZodOptional<z.ZodObject<{
|
|
2834
|
+
table: z.ZodString;
|
|
2835
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2836
|
+
address: z.ZodOptional<z.ZodString>;
|
|
2837
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
2838
|
+
}, z.core.$strict>>;
|
|
2839
|
+
link: z.ZodOptional<z.ZodString>;
|
|
2840
|
+
}, z.core.$strict>>;
|
|
2841
|
+
}, z.core.$strict>>>;
|
|
2842
|
+
publicKeys: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2843
|
+
requiresStaff: z.ZodObject<{
|
|
2844
|
+
role: z.ZodString;
|
|
2845
|
+
}, z.core.$strict>;
|
|
2846
|
+
enabledBy: z.ZodOptional<z.ZodObject<{
|
|
2847
|
+
table: z.ZodString;
|
|
2848
|
+
column: z.ZodString;
|
|
2849
|
+
}, z.core.$strict>>;
|
|
2850
|
+
}, z.core.$strict>>>;
|
|
2851
|
+
outbox: z.ZodOptional<z.ZodObject<{
|
|
2852
|
+
table: z.ZodString;
|
|
2853
|
+
columns: z.ZodObject<{
|
|
2854
|
+
kind: z.ZodString;
|
|
2855
|
+
status: z.ZodString;
|
|
2856
|
+
to: z.ZodString;
|
|
2857
|
+
language: z.ZodOptional<z.ZodString>;
|
|
2858
|
+
due: z.ZodOptional<z.ZodString>;
|
|
2859
|
+
sentAt: z.ZodOptional<z.ZodString>;
|
|
2860
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2861
|
+
}, z.core.$strict>;
|
|
2862
|
+
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2863
|
+
recipient: z.ZodObject<{
|
|
2864
|
+
via: z.ZodString;
|
|
2865
|
+
table: z.ZodString;
|
|
2866
|
+
email: z.ZodString;
|
|
2867
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2868
|
+
language: z.ZodOptional<z.ZodString>;
|
|
2869
|
+
optIn: z.ZodOptional<z.ZodString>;
|
|
2870
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
2871
|
+
via: z.ZodString;
|
|
2872
|
+
email: z.ZodString;
|
|
2873
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2874
|
+
language: z.ZodOptional<z.ZodString>;
|
|
2875
|
+
}, z.core.$strict>>;
|
|
2876
|
+
}, z.core.$strict>;
|
|
2877
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
2878
|
+
table: z.ZodString;
|
|
2879
|
+
enabled: z.ZodOptional<z.ZodString>;
|
|
2880
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2881
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
2882
|
+
}, z.core.$strict>>;
|
|
2883
|
+
pages: z.ZodOptional<z.ZodObject<{
|
|
2884
|
+
manage: z.ZodOptional<z.ZodString>;
|
|
2885
|
+
booking: z.ZodOptional<z.ZodString>;
|
|
2886
|
+
}, z.core.$strict>>;
|
|
2887
|
+
kinds: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2888
|
+
producers: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
2889
|
+
onCreate: z.ZodObject<{
|
|
2890
|
+
table: z.ZodString;
|
|
2891
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
2892
|
+
column: z.ZodString;
|
|
2893
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2894
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2895
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2896
|
+
}, z.core.$strict>>;
|
|
2897
|
+
}, z.core.$strict>;
|
|
2898
|
+
kind: z.ZodString;
|
|
2899
|
+
link: z.ZodString;
|
|
2900
|
+
gate: z.ZodOptional<z.ZodLiteral<"enabled">>;
|
|
2901
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2902
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2903
|
+
onChange: z.ZodObject<{
|
|
2904
|
+
table: z.ZodString;
|
|
2905
|
+
column: z.ZodString;
|
|
2906
|
+
to: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
|
|
2907
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
2908
|
+
column: z.ZodString;
|
|
2909
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2910
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2911
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2912
|
+
}, z.core.$strict>>;
|
|
2913
|
+
}, z.core.$strict>;
|
|
2914
|
+
kind: z.ZodString;
|
|
2915
|
+
link: z.ZodString;
|
|
2916
|
+
gate: z.ZodOptional<z.ZodLiteral<"enabled">>;
|
|
2917
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2918
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2919
|
+
before: z.ZodObject<{
|
|
2920
|
+
table: z.ZodString;
|
|
2921
|
+
at: z.ZodString;
|
|
2922
|
+
lead: z.ZodObject<{
|
|
2923
|
+
via: z.ZodString;
|
|
2924
|
+
table: z.ZodString;
|
|
2925
|
+
column: z.ZodString;
|
|
2926
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
2927
|
+
table: z.ZodString;
|
|
2928
|
+
column: z.ZodString;
|
|
2929
|
+
}, z.core.$strict>>;
|
|
2930
|
+
max: z.ZodNumber;
|
|
2931
|
+
}, z.core.$strict>;
|
|
2932
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
2933
|
+
column: z.ZodString;
|
|
2934
|
+
eq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2935
|
+
in: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
|
|
2936
|
+
isNull: z.ZodOptional<z.ZodBoolean>;
|
|
2937
|
+
}, z.core.$strict>>;
|
|
2938
|
+
}, z.core.$strict>;
|
|
2939
|
+
kind: z.ZodString;
|
|
2940
|
+
link: z.ZodString;
|
|
2941
|
+
gate: z.ZodOptional<z.ZodLiteral<"enabled">>;
|
|
2942
|
+
optIn: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2943
|
+
}, z.core.$strict>]>>>;
|
|
2944
|
+
}, z.core.$strict>>;
|
|
2945
|
+
emailTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2946
|
+
key: z.ZodString;
|
|
2947
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
2948
|
+
vars: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2949
|
+
locales: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2950
|
+
subject: z.ZodString;
|
|
2951
|
+
preheader: z.ZodOptional<z.ZodString>;
|
|
2952
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
2953
|
+
block: z.ZodString;
|
|
2954
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2955
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2956
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2957
|
+
}, z.core.$strict>>;
|
|
2958
|
+
footer: z.ZodOptional<z.ZodString>;
|
|
2959
|
+
}, z.core.$strict>>;
|
|
2960
|
+
}, z.core.$strict>>>;
|
|
2961
|
+
sampleData: z.ZodOptional<z.ZodObject<{
|
|
2962
|
+
file: z.ZodString;
|
|
1172
2963
|
}, z.core.$strict>>;
|
|
1173
2964
|
categories: z.ZodArray<z.ZodEnum<{
|
|
1174
2965
|
commerce: "commerce";
|
|
@@ -1220,6 +3011,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1220
3011
|
"outbound-http": "outbound-http";
|
|
1221
3012
|
"oauth-connect": "oauth-connect";
|
|
1222
3013
|
}>>>;
|
|
3014
|
+
updatesFrom: z.ZodOptional<z.ZodString>;
|
|
1223
3015
|
}, z.core.$strict>;
|
|
1224
3016
|
addOn: z.ZodObject<{
|
|
1225
3017
|
attaches: z.ZodArray<z.ZodObject<{
|
|
@@ -1317,26 +3109,26 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1317
3109
|
ref: z.ZodString;
|
|
1318
3110
|
type: z.ZodEnum<{
|
|
1319
3111
|
bigint: "bigint";
|
|
1320
|
-
id: "id";
|
|
1321
3112
|
int: "int";
|
|
1322
3113
|
date: "date";
|
|
1323
3114
|
enum: "enum";
|
|
1324
|
-
text: "text";
|
|
1325
3115
|
decimal: "decimal";
|
|
1326
3116
|
money: "money";
|
|
1327
3117
|
float: "float";
|
|
1328
3118
|
bool: "bool";
|
|
1329
|
-
json: "json";
|
|
1330
3119
|
timestamptz: "timestamptz";
|
|
1331
|
-
uuid: "uuid";
|
|
1332
3120
|
fk: "fk";
|
|
3121
|
+
text: "text";
|
|
3122
|
+
id: "id";
|
|
3123
|
+
json: "json";
|
|
3124
|
+
uuid: "uuid";
|
|
1333
3125
|
blob: "blob";
|
|
1334
3126
|
}>;
|
|
1335
3127
|
semantic: z.ZodOptional<z.ZodEnum<{
|
|
1336
|
-
name: "name";
|
|
1337
3128
|
money: "money";
|
|
1338
|
-
image: "image";
|
|
1339
3129
|
email: "email";
|
|
3130
|
+
name: "name";
|
|
3131
|
+
image: "image";
|
|
1340
3132
|
avatar: "avatar";
|
|
1341
3133
|
"geo-lat": "geo-lat";
|
|
1342
3134
|
"geo-lng": "geo-lng";
|
|
@@ -1349,8 +3141,202 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
1349
3141
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
1350
3142
|
enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1351
3143
|
references: z.ZodOptional<z.ZodString>;
|
|
3144
|
+
default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3145
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3146
|
+
unique: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3147
|
+
rules: z.ZodOptional<z.ZodObject<{
|
|
3148
|
+
options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3149
|
+
list: z.ZodString;
|
|
3150
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3151
|
+
values: z.ZodArray<z.ZodObject<{
|
|
3152
|
+
value: z.ZodString;
|
|
3153
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
3154
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
3155
|
+
}, z.core.$strict>>;
|
|
3156
|
+
}, z.core.$strict>]>>;
|
|
3157
|
+
enumLabels: z.ZodOptional<z.ZodObject<{
|
|
3158
|
+
labels: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
3159
|
+
tones: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3160
|
+
}, z.core.$strict>>;
|
|
3161
|
+
required: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3162
|
+
validation: z.ZodOptional<z.ZodObject<{
|
|
3163
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
3164
|
+
email: "email";
|
|
3165
|
+
phone: "phone";
|
|
3166
|
+
url: "url";
|
|
3167
|
+
}>>;
|
|
3168
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3169
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3170
|
+
minLength: z.ZodOptional<z.ZodNumber>;
|
|
3171
|
+
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
3172
|
+
}, z.core.$strict>>;
|
|
3173
|
+
copy: z.ZodOptional<z.ZodObject<{
|
|
3174
|
+
via: z.ZodString;
|
|
3175
|
+
from: z.ZodString;
|
|
3176
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
3177
|
+
default: "default";
|
|
3178
|
+
always: "always";
|
|
3179
|
+
}>>;
|
|
3180
|
+
}, z.core.$strict>>;
|
|
3181
|
+
sequence: z.ZodOptional<z.ZodObject<{
|
|
3182
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
3183
|
+
}, z.core.$strict>>;
|
|
3184
|
+
code: z.ZodOptional<z.ZodObject<{
|
|
3185
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
3186
|
+
length: z.ZodNumber;
|
|
3187
|
+
}, z.core.$strict>>;
|
|
3188
|
+
rollup: z.ZodOptional<z.ZodObject<{
|
|
3189
|
+
from: z.ZodString;
|
|
3190
|
+
via: z.ZodString;
|
|
3191
|
+
sum: z.ZodString;
|
|
3192
|
+
times: z.ZodOptional<z.ZodString>;
|
|
3193
|
+
unlessSet: z.ZodOptional<z.ZodString>;
|
|
3194
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
3195
|
+
column: z.ZodString;
|
|
3196
|
+
eq: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3197
|
+
}, z.core.$strict>>;
|
|
3198
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
3199
|
+
column: z.ZodString;
|
|
3200
|
+
of: z.ZodString;
|
|
3201
|
+
minus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3202
|
+
}, z.core.$strict>>;
|
|
3203
|
+
cap: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3204
|
+
}, z.core.$strict>>;
|
|
3205
|
+
stamp: z.ZodOptional<z.ZodObject<{
|
|
3206
|
+
set: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3207
|
+
now: "now";
|
|
3208
|
+
"user-name": "user-name";
|
|
3209
|
+
"user-id": "user-id";
|
|
3210
|
+
}>, z.ZodObject<{
|
|
3211
|
+
byOrigin: z.ZodObject<{
|
|
3212
|
+
public: z.ZodString;
|
|
3213
|
+
staff: z.ZodString;
|
|
3214
|
+
}, z.core.$strict>;
|
|
3215
|
+
}, z.core.$strict>]>;
|
|
3216
|
+
on: z.ZodUnion<readonly [z.ZodLiteral<"create">, z.ZodObject<{
|
|
3217
|
+
column: z.ZodString;
|
|
3218
|
+
values: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3219
|
+
}, z.core.$strict>]>;
|
|
3220
|
+
}, z.core.$strict>>;
|
|
3221
|
+
venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3222
|
+
personal: z.ZodOptional<z.ZodBoolean>;
|
|
3223
|
+
}, z.core.$strict>>;
|
|
3224
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
1352
3225
|
}, z.core.$strict>>;
|
|
3226
|
+
shape: z.ZodOptional<z.ZodString>;
|
|
3227
|
+
capacity: z.ZodOptional<z.ZodObject<{
|
|
3228
|
+
slot: z.ZodString;
|
|
3229
|
+
amount: z.ZodString;
|
|
3230
|
+
perSlot: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3231
|
+
table: z.ZodString;
|
|
3232
|
+
column: z.ZodString;
|
|
3233
|
+
}, z.core.$strict>]>;
|
|
3234
|
+
countWhere: z.ZodOptional<z.ZodObject<{
|
|
3235
|
+
column: z.ZodString;
|
|
3236
|
+
values: z.ZodArray<z.ZodString>;
|
|
3237
|
+
}, z.core.$strict>>;
|
|
3238
|
+
slotMinutes: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3239
|
+
table: z.ZodString;
|
|
3240
|
+
column: z.ZodString;
|
|
3241
|
+
}, z.core.$strict>]>;
|
|
3242
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3243
|
+
table: z.ZodString;
|
|
3244
|
+
column: z.ZodString;
|
|
3245
|
+
}, z.core.$strict>]>>;
|
|
3246
|
+
opens: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3247
|
+
table: z.ZodString;
|
|
3248
|
+
column: z.ZodString;
|
|
3249
|
+
}, z.core.$strict>]>>;
|
|
3250
|
+
closes: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3251
|
+
table: z.ZodString;
|
|
3252
|
+
column: z.ZodString;
|
|
3253
|
+
}, z.core.$strict>]>>;
|
|
3254
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
3255
|
+
cancelHours: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3256
|
+
table: z.ZodString;
|
|
3257
|
+
column: z.ZodString;
|
|
3258
|
+
}, z.core.$strict>]>>;
|
|
3259
|
+
}, z.core.$strict>>;
|
|
3260
|
+
booking: z.ZodOptional<z.ZodObject<{
|
|
3261
|
+
start: z.ZodString;
|
|
3262
|
+
minutes: z.ZodString;
|
|
3263
|
+
resource: z.ZodString;
|
|
3264
|
+
kind: z.ZodString;
|
|
3265
|
+
countWhere: z.ZodObject<{
|
|
3266
|
+
column: z.ZodString;
|
|
3267
|
+
values: z.ZodArray<z.ZodString>;
|
|
3268
|
+
}, z.core.$strict>;
|
|
3269
|
+
eligible: z.ZodObject<{
|
|
3270
|
+
table: z.ZodString;
|
|
3271
|
+
resource: z.ZodString;
|
|
3272
|
+
kind: z.ZodString;
|
|
3273
|
+
order: z.ZodOptional<z.ZodObject<{
|
|
3274
|
+
table: z.ZodString;
|
|
3275
|
+
column: z.ZodString;
|
|
3276
|
+
active: z.ZodOptional<z.ZodString>;
|
|
3277
|
+
public: z.ZodOptional<z.ZodString>;
|
|
3278
|
+
}, z.core.$strict>>;
|
|
3279
|
+
}, z.core.$strict>;
|
|
3280
|
+
hours: z.ZodObject<{
|
|
3281
|
+
practice: z.ZodObject<{
|
|
3282
|
+
weekday: z.ZodString;
|
|
3283
|
+
opens: z.ZodString;
|
|
3284
|
+
closes: z.ZodString;
|
|
3285
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
3286
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
3287
|
+
table: z.ZodString;
|
|
3288
|
+
open: z.ZodOptional<z.ZodString>;
|
|
3289
|
+
}, z.core.$strict>;
|
|
3290
|
+
own: z.ZodOptional<z.ZodObject<{
|
|
3291
|
+
weekday: z.ZodString;
|
|
3292
|
+
opens: z.ZodString;
|
|
3293
|
+
closes: z.ZodString;
|
|
3294
|
+
breakStart: z.ZodOptional<z.ZodString>;
|
|
3295
|
+
breakEnd: z.ZodOptional<z.ZodString>;
|
|
3296
|
+
table: z.ZodString;
|
|
3297
|
+
resource: z.ZodString;
|
|
3298
|
+
}, z.core.$strict>>;
|
|
3299
|
+
}, z.core.$strict>;
|
|
3300
|
+
closures: z.ZodOptional<z.ZodObject<{
|
|
3301
|
+
table: z.ZodString;
|
|
3302
|
+
from: z.ZodString;
|
|
3303
|
+
to: z.ZodString;
|
|
3304
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
3305
|
+
active: z.ZodOptional<z.ZodString>;
|
|
3306
|
+
}, z.core.$strict>>;
|
|
3307
|
+
grid: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3308
|
+
table: z.ZodString;
|
|
3309
|
+
column: z.ZodString;
|
|
3310
|
+
}, z.core.$strict>]>;
|
|
3311
|
+
windowDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3312
|
+
table: z.ZodString;
|
|
3313
|
+
column: z.ZodString;
|
|
3314
|
+
}, z.core.$strict>]>>;
|
|
3315
|
+
noticeMinutes: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3316
|
+
table: z.ZodString;
|
|
3317
|
+
column: z.ZodString;
|
|
3318
|
+
}, z.core.$strict>]>>;
|
|
3319
|
+
cancel: z.ZodOptional<z.ZodObject<{
|
|
3320
|
+
hours: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3321
|
+
table: z.ZodString;
|
|
3322
|
+
column: z.ZodString;
|
|
3323
|
+
}, z.core.$strict>]>;
|
|
3324
|
+
mode: z.ZodEnum<{
|
|
3325
|
+
refuse: "refuse";
|
|
3326
|
+
flag: "flag";
|
|
3327
|
+
}>;
|
|
3328
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
3329
|
+
when: z.ZodObject<{
|
|
3330
|
+
column: z.ZodString;
|
|
3331
|
+
to: z.ZodString;
|
|
3332
|
+
}, z.core.$strict>;
|
|
3333
|
+
}, z.core.$strict>>;
|
|
3334
|
+
}, z.core.$strict>>;
|
|
3335
|
+
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
3336
|
+
labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
3337
|
+
keyField: z.ZodOptional<z.ZodString>;
|
|
1353
3338
|
}, z.core.$strict>>;
|
|
3339
|
+
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1354
3340
|
}, z.core.$strict>>;
|
|
1355
3341
|
settings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1356
3342
|
type: z.ZodLiteral<"string">;
|
|
@@ -1497,10 +3483,4 @@ export declare function addOnIssues(m: Manifest, ctx?: {
|
|
|
1497
3483
|
path: string;
|
|
1498
3484
|
message: string;
|
|
1499
3485
|
}[];
|
|
1500
|
-
/**
|
|
1501
|
-
* Numeric semver compare on the release triple (pre-release/build ignored —
|
|
1502
|
-
* enough for the compatibility-window and upgrade ordering checks). Returns
|
|
1503
|
-
* <0, 0, >0. Exported for the installer's upgrade rule.
|
|
1504
|
-
*/
|
|
1505
|
-
export declare function compareSemver(a: string, b: string): number;
|
|
1506
3486
|
//# sourceMappingURL=schema.d.ts.map
|