@adminiumjs/manifest 0.3.0-rc.4 → 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/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,8 +156,7 @@ 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"];
151
- /** A label in several languages. US English is the one every reader falls back to. */
152
- export declare const labelsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
159
+ export { labelsSchema };
153
160
  /**
154
161
  * The rules an app asks Adminium to keep on a column (written as column-rule
155
162
  * overrides at install). The first five are the rules an operator can set in
@@ -182,9 +189,9 @@ export declare const columnRulesSchema: z.ZodObject<{
182
189
  required: z.ZodOptional<z.ZodLiteral<true>>;
183
190
  validation: z.ZodOptional<z.ZodObject<{
184
191
  format: z.ZodOptional<z.ZodEnum<{
185
- url: "url";
186
192
  email: "email";
187
193
  phone: "phone";
194
+ url: "url";
188
195
  }>>;
189
196
  min: z.ZodOptional<z.ZodNumber>;
190
197
  max: z.ZodOptional<z.ZodNumber>;
@@ -212,6 +219,32 @@ export declare const columnRulesSchema: z.ZodObject<{
212
219
  sum: z.ZodString;
213
220
  times: z.ZodOptional<z.ZodString>;
214
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>]>;
215
248
  }, z.core.$strict>>;
216
249
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
217
250
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -284,26 +317,26 @@ export declare const requiredColumnSchema: z.ZodObject<{
284
317
  ref: z.ZodString;
285
318
  type: z.ZodEnum<{
286
319
  bigint: "bigint";
287
- id: "id";
288
320
  int: "int";
289
321
  date: "date";
290
322
  enum: "enum";
291
- text: "text";
292
323
  decimal: "decimal";
293
324
  money: "money";
294
325
  float: "float";
295
326
  bool: "bool";
296
- json: "json";
297
327
  timestamptz: "timestamptz";
298
- uuid: "uuid";
299
328
  fk: "fk";
329
+ text: "text";
330
+ id: "id";
331
+ json: "json";
332
+ uuid: "uuid";
300
333
  blob: "blob";
301
334
  }>;
302
335
  semantic: z.ZodOptional<z.ZodEnum<{
303
- name: "name";
304
336
  money: "money";
305
- image: "image";
306
337
  email: "email";
338
+ name: "name";
339
+ image: "image";
307
340
  avatar: "avatar";
308
341
  "geo-lat": "geo-lat";
309
342
  "geo-lng": "geo-lng";
@@ -318,6 +351,7 @@ export declare const requiredColumnSchema: z.ZodObject<{
318
351
  references: z.ZodOptional<z.ZodString>;
319
352
  default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
320
353
  maxLength: z.ZodOptional<z.ZodNumber>;
354
+ unique: z.ZodOptional<z.ZodLiteral<true>>;
321
355
  rules: z.ZodOptional<z.ZodObject<{
322
356
  options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
323
357
  list: z.ZodString;
@@ -335,9 +369,9 @@ export declare const requiredColumnSchema: z.ZodObject<{
335
369
  required: z.ZodOptional<z.ZodLiteral<true>>;
336
370
  validation: z.ZodOptional<z.ZodObject<{
337
371
  format: z.ZodOptional<z.ZodEnum<{
338
- url: "url";
339
372
  email: "email";
340
373
  phone: "phone";
374
+ url: "url";
341
375
  }>>;
342
376
  min: z.ZodOptional<z.ZodNumber>;
343
377
  max: z.ZodOptional<z.ZodNumber>;
@@ -365,6 +399,32 @@ export declare const requiredColumnSchema: z.ZodObject<{
365
399
  sum: z.ZodString;
366
400
  times: z.ZodOptional<z.ZodString>;
367
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>]>;
368
428
  }, z.core.$strict>>;
369
429
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
370
430
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -377,26 +437,26 @@ export declare const requiredTableSchema: z.ZodObject<{
377
437
  ref: z.ZodString;
378
438
  type: z.ZodEnum<{
379
439
  bigint: "bigint";
380
- id: "id";
381
440
  int: "int";
382
441
  date: "date";
383
442
  enum: "enum";
384
- text: "text";
385
443
  decimal: "decimal";
386
444
  money: "money";
387
445
  float: "float";
388
446
  bool: "bool";
389
- json: "json";
390
447
  timestamptz: "timestamptz";
391
- uuid: "uuid";
392
448
  fk: "fk";
449
+ text: "text";
450
+ id: "id";
451
+ json: "json";
452
+ uuid: "uuid";
393
453
  blob: "blob";
394
454
  }>;
395
455
  semantic: z.ZodOptional<z.ZodEnum<{
396
- name: "name";
397
456
  money: "money";
398
- image: "image";
399
457
  email: "email";
458
+ name: "name";
459
+ image: "image";
400
460
  avatar: "avatar";
401
461
  "geo-lat": "geo-lat";
402
462
  "geo-lng": "geo-lng";
@@ -411,6 +471,7 @@ export declare const requiredTableSchema: z.ZodObject<{
411
471
  references: z.ZodOptional<z.ZodString>;
412
472
  default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
413
473
  maxLength: z.ZodOptional<z.ZodNumber>;
474
+ unique: z.ZodOptional<z.ZodLiteral<true>>;
414
475
  rules: z.ZodOptional<z.ZodObject<{
415
476
  options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
416
477
  list: z.ZodString;
@@ -428,9 +489,9 @@ export declare const requiredTableSchema: z.ZodObject<{
428
489
  required: z.ZodOptional<z.ZodLiteral<true>>;
429
490
  validation: z.ZodOptional<z.ZodObject<{
430
491
  format: z.ZodOptional<z.ZodEnum<{
431
- url: "url";
432
492
  email: "email";
433
493
  phone: "phone";
494
+ url: "url";
434
495
  }>>;
435
496
  min: z.ZodOptional<z.ZodNumber>;
436
497
  max: z.ZodOptional<z.ZodNumber>;
@@ -458,6 +519,32 @@ export declare const requiredTableSchema: z.ZodObject<{
458
519
  sum: z.ZodString;
459
520
  times: z.ZodOptional<z.ZodString>;
460
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>]>;
461
548
  }, z.core.$strict>>;
462
549
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
463
550
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -498,6 +585,81 @@ export declare const requiredTableSchema: z.ZodObject<{
498
585
  column: z.ZodString;
499
586
  }, z.core.$strict>]>>;
500
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>>;
662
+ }, z.core.$strict>>;
501
663
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
502
664
  labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
503
665
  keyField: z.ZodOptional<z.ZodString>;
@@ -509,26 +671,26 @@ export declare const requiredSchemaSchema: z.ZodObject<{
509
671
  ref: z.ZodString;
510
672
  type: z.ZodEnum<{
511
673
  bigint: "bigint";
512
- id: "id";
513
674
  int: "int";
514
675
  date: "date";
515
676
  enum: "enum";
516
- text: "text";
517
677
  decimal: "decimal";
518
678
  money: "money";
519
679
  float: "float";
520
680
  bool: "bool";
521
- json: "json";
522
681
  timestamptz: "timestamptz";
523
- uuid: "uuid";
524
682
  fk: "fk";
683
+ text: "text";
684
+ id: "id";
685
+ json: "json";
686
+ uuid: "uuid";
525
687
  blob: "blob";
526
688
  }>;
527
689
  semantic: z.ZodOptional<z.ZodEnum<{
528
- name: "name";
529
690
  money: "money";
530
- image: "image";
531
691
  email: "email";
692
+ name: "name";
693
+ image: "image";
532
694
  avatar: "avatar";
533
695
  "geo-lat": "geo-lat";
534
696
  "geo-lng": "geo-lng";
@@ -543,6 +705,7 @@ export declare const requiredSchemaSchema: z.ZodObject<{
543
705
  references: z.ZodOptional<z.ZodString>;
544
706
  default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
545
707
  maxLength: z.ZodOptional<z.ZodNumber>;
708
+ unique: z.ZodOptional<z.ZodLiteral<true>>;
546
709
  rules: z.ZodOptional<z.ZodObject<{
547
710
  options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
548
711
  list: z.ZodString;
@@ -560,9 +723,9 @@ export declare const requiredSchemaSchema: z.ZodObject<{
560
723
  required: z.ZodOptional<z.ZodLiteral<true>>;
561
724
  validation: z.ZodOptional<z.ZodObject<{
562
725
  format: z.ZodOptional<z.ZodEnum<{
563
- url: "url";
564
726
  email: "email";
565
727
  phone: "phone";
728
+ url: "url";
566
729
  }>>;
567
730
  min: z.ZodOptional<z.ZodNumber>;
568
731
  max: z.ZodOptional<z.ZodNumber>;
@@ -590,6 +753,32 @@ export declare const requiredSchemaSchema: z.ZodObject<{
590
753
  sum: z.ZodString;
591
754
  times: z.ZodOptional<z.ZodString>;
592
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>]>;
593
782
  }, z.core.$strict>>;
594
783
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
595
784
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -630,6 +819,81 @@ export declare const requiredSchemaSchema: z.ZodObject<{
630
819
  column: z.ZodString;
631
820
  }, z.core.$strict>]>>;
632
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>>;
896
+ }, z.core.$strict>>;
633
897
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
634
898
  labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
635
899
  keyField: z.ZodOptional<z.ZodString>;
@@ -663,6 +927,10 @@ export declare const roleSchema: z.ZodObject<{
663
927
  cloneFrom: z.ZodOptional<z.ZodString>;
664
928
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
665
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>>>;
666
934
  }, z.core.$strict>;
667
935
  export declare const settingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
668
936
  type: z.ZodLiteral<"string">;
@@ -778,8 +1046,8 @@ export declare const frontendEnvVarSchema: z.ZodObject<{
778
1046
  export declare const FRONTEND_SIDES: readonly ["staff", "customer"];
779
1047
  export declare const frontendSchema: z.ZodObject<{
780
1048
  side: z.ZodEnum<{
781
- staff: "staff";
782
1049
  customer: "customer";
1050
+ staff: "staff";
783
1051
  }>;
784
1052
  kind: z.ZodEnum<{
785
1053
  spa: "spa";
@@ -817,59 +1085,8 @@ export declare const navGroupSchema: z.ZodObject<{
817
1085
  label: z.ZodRecord<z.ZodString, z.ZodString>;
818
1086
  order: z.ZodNumber;
819
1087
  }, z.core.$strict>;
820
- /**
821
- * What the app's public screens may do with one table, through the one
822
- * browser key the install creates. `GET` reads, `POST` creates; `PATCH` only
823
- * behind a claim (a guest changing their own booking), on a narrow writable
824
- * list. `availability` answers free or full per slot and never a row.
825
- */
826
- export declare const publicAccessSchema: z.ZodObject<{
827
- table: z.ZodString;
828
- kind: z.ZodOptional<z.ZodEnum<{
829
- records: "records";
830
- availability: "availability";
831
- }>>;
832
- methods: z.ZodArray<z.ZodEnum<{
833
- GET: "GET";
834
- POST: "POST";
835
- PATCH: "PATCH";
836
- }>>;
837
- select: z.ZodOptional<z.ZodArray<z.ZodString>>;
838
- writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
839
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
840
- column: z.ZodString;
841
- op: z.ZodEnum<{
842
- in: "in";
843
- eq: "eq";
844
- neq: "neq";
845
- gte: "gte";
846
- lte: "lte";
847
- }>;
848
- value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
849
- }, z.core.$strict>>>;
850
- defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
851
- claim: z.ZodOptional<z.ZodObject<{
852
- match: z.ZodArray<z.ZodString>;
853
- }, z.core.$strict>>;
854
- confirm: z.ZodOptional<z.ZodObject<{
855
- template: z.ZodEnum<{
856
- "booking-confirmation": "booking-confirmation";
857
- }>;
858
- to: z.ZodString;
859
- code: z.ZodOptional<z.ZodString>;
860
- when: z.ZodOptional<z.ZodString>;
861
- party: z.ZodOptional<z.ZodString>;
862
- name: z.ZodOptional<z.ZodString>;
863
- venue: z.ZodOptional<z.ZodObject<{
864
- table: z.ZodString;
865
- name: z.ZodOptional<z.ZodString>;
866
- address: z.ZodOptional<z.ZodString>;
867
- phone: z.ZodOptional<z.ZodString>;
868
- }, z.core.$strict>>;
869
- link: z.ZodOptional<z.ZodString>;
870
- }, z.core.$strict>>;
871
- }, z.core.$strict>;
872
- export type PublicAccess = z.infer<typeof publicAccessSchema>;
1088
+ /** What the app's public screens may do (see `public-access.ts`). */
1089
+ export { publicAccessSchema, publicKeysSchema, type PublicAccess };
873
1090
  /** The bundled sample data file, inside the package's `seeds/` folder. */
874
1091
  export declare const sampleDataSchema: z.ZodObject<{
875
1092
  file: z.ZodString;
@@ -880,9 +1097,10 @@ export declare function prefixFor(appKey: string): string;
880
1097
  export declare const MAX_TABLE_NAME = 63;
881
1098
  /**
882
1099
  * Every name a manifest's own blocks use must name something the manifest
883
- * declares: a rule's columns, a capacity's columns, a public table and the
884
- * columns it reads and writes. Checked here so an app's CI refuses a typo long
885
- * before an operator's install would.
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.
886
1104
  */
887
1105
  export declare function appReferenceIssues(m: {
888
1106
  key: string;
@@ -891,7 +1109,11 @@ export declare function appReferenceIssues(m: {
891
1109
  prefixed?: true | undefined;
892
1110
  };
893
1111
  publicAccess?: readonly PublicAccess[] | undefined;
1112
+ publicKeys?: z.infer<typeof publicKeysSchema> | undefined;
894
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;
895
1117
  }): {
896
1118
  path: (string | number)[];
897
1119
  message: string;
@@ -903,10 +1125,14 @@ interface RequiredTableShape {
903
1125
  ref: string;
904
1126
  type: string;
905
1127
  role?: string | undefined;
1128
+ nullable?: boolean | undefined;
1129
+ enum?: string[] | undefined;
906
1130
  references?: string | undefined;
1131
+ maxLength?: number | undefined;
907
1132
  rules?: ColumnRules | undefined;
908
1133
  }[];
909
1134
  capacity?: z.infer<typeof capacitySchema> | undefined;
1135
+ booking?: z.infer<typeof bookingSchema> | undefined;
910
1136
  }
911
1137
  export declare const appManifestSchema: z.ZodObject<{
912
1138
  compatibility: z.ZodObject<{
@@ -929,6 +1155,7 @@ export declare const appManifestSchema: z.ZodObject<{
929
1155
  "outbound-http": "outbound-http";
930
1156
  "oauth-connect": "oauth-connect";
931
1157
  }>>>;
1158
+ updatesFrom: z.ZodOptional<z.ZodString>;
932
1159
  }, z.core.$strict>;
933
1160
  requiredSchema: z.ZodObject<{
934
1161
  tables: z.ZodArray<z.ZodObject<{
@@ -937,26 +1164,26 @@ export declare const appManifestSchema: z.ZodObject<{
937
1164
  ref: z.ZodString;
938
1165
  type: z.ZodEnum<{
939
1166
  bigint: "bigint";
940
- id: "id";
941
1167
  int: "int";
942
1168
  date: "date";
943
1169
  enum: "enum";
944
- text: "text";
945
1170
  decimal: "decimal";
946
1171
  money: "money";
947
1172
  float: "float";
948
1173
  bool: "bool";
949
- json: "json";
950
1174
  timestamptz: "timestamptz";
951
- uuid: "uuid";
952
1175
  fk: "fk";
1176
+ text: "text";
1177
+ id: "id";
1178
+ json: "json";
1179
+ uuid: "uuid";
953
1180
  blob: "blob";
954
1181
  }>;
955
1182
  semantic: z.ZodOptional<z.ZodEnum<{
956
- name: "name";
957
1183
  money: "money";
958
- image: "image";
959
1184
  email: "email";
1185
+ name: "name";
1186
+ image: "image";
960
1187
  avatar: "avatar";
961
1188
  "geo-lat": "geo-lat";
962
1189
  "geo-lng": "geo-lng";
@@ -971,6 +1198,7 @@ export declare const appManifestSchema: z.ZodObject<{
971
1198
  references: z.ZodOptional<z.ZodString>;
972
1199
  default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
973
1200
  maxLength: z.ZodOptional<z.ZodNumber>;
1201
+ unique: z.ZodOptional<z.ZodLiteral<true>>;
974
1202
  rules: z.ZodOptional<z.ZodObject<{
975
1203
  options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
976
1204
  list: z.ZodString;
@@ -988,9 +1216,9 @@ export declare const appManifestSchema: z.ZodObject<{
988
1216
  required: z.ZodOptional<z.ZodLiteral<true>>;
989
1217
  validation: z.ZodOptional<z.ZodObject<{
990
1218
  format: z.ZodOptional<z.ZodEnum<{
991
- url: "url";
992
1219
  email: "email";
993
1220
  phone: "phone";
1221
+ url: "url";
994
1222
  }>>;
995
1223
  min: z.ZodOptional<z.ZodNumber>;
996
1224
  max: z.ZodOptional<z.ZodNumber>;
@@ -1018,6 +1246,32 @@ export declare const appManifestSchema: z.ZodObject<{
1018
1246
  sum: z.ZodString;
1019
1247
  times: z.ZodOptional<z.ZodString>;
1020
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>]>;
1021
1275
  }, z.core.$strict>>;
1022
1276
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
1023
1277
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -1058,6 +1312,81 @@ export declare const appManifestSchema: z.ZodObject<{
1058
1312
  column: z.ZodString;
1059
1313
  }, z.core.$strict>]>>;
1060
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>>;
1061
1390
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1062
1391
  labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1063
1392
  keyField: z.ZodOptional<z.ZodString>;
@@ -1086,6 +1415,10 @@ export declare const appManifestSchema: z.ZodObject<{
1086
1415
  cloneFrom: z.ZodOptional<z.ZodString>;
1087
1416
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1088
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>>>;
1089
1422
  }, z.core.$strict>>>;
1090
1423
  settings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1091
1424
  type: z.ZodLiteral<"string">;
@@ -1199,8 +1532,8 @@ export declare const appManifestSchema: z.ZodObject<{
1199
1532
  }>>>;
1200
1533
  frontends: z.ZodArray<z.ZodObject<{
1201
1534
  side: z.ZodEnum<{
1202
- staff: "staff";
1203
1535
  customer: "customer";
1536
+ staff: "staff";
1204
1537
  }>;
1205
1538
  kind: z.ZodEnum<{
1206
1539
  spa: "spa";
@@ -1245,7 +1578,7 @@ export declare const appManifestSchema: z.ZodObject<{
1245
1578
  }>>;
1246
1579
  select: z.ZodOptional<z.ZodArray<z.ZodString>>;
1247
1580
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
1248
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
1581
+ filters: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1249
1582
  column: z.ZodString;
1250
1583
  op: z.ZodEnum<{
1251
1584
  in: "in";
@@ -1255,11 +1588,66 @@ export declare const appManifestSchema: z.ZodObject<{
1255
1588
  lte: "lte";
1256
1589
  }>;
1257
1590
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
1258
- }, z.core.$strict>>>;
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>]>]>>>;
1259
1599
  defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
1260
1600
  claim: z.ZodOptional<z.ZodObject<{
1261
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>>;
1262
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>;
1263
1651
  confirm: z.ZodOptional<z.ZodObject<{
1264
1652
  template: z.ZodEnum<{
1265
1653
  "booking-confirmation": "booking-confirmation";
@@ -1278,6 +1666,125 @@ export declare const appManifestSchema: z.ZodObject<{
1278
1666
  link: z.ZodOptional<z.ZodString>;
1279
1667
  }, z.core.$strict>>;
1280
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>>>;
1281
1788
  sampleData: z.ZodOptional<z.ZodObject<{
1282
1789
  file: z.ZodString;
1283
1790
  }, z.core.$strict>>;
@@ -1348,6 +1855,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
1348
1855
  "outbound-http": "outbound-http";
1349
1856
  "oauth-connect": "oauth-connect";
1350
1857
  }>>>;
1858
+ updatesFrom: z.ZodOptional<z.ZodString>;
1351
1859
  }, z.core.$strict>;
1352
1860
  addOn: z.ZodObject<{
1353
1861
  attaches: z.ZodArray<z.ZodObject<{
@@ -1445,26 +1953,26 @@ export declare const addOnManifestSchema: z.ZodObject<{
1445
1953
  ref: z.ZodString;
1446
1954
  type: z.ZodEnum<{
1447
1955
  bigint: "bigint";
1448
- id: "id";
1449
1956
  int: "int";
1450
1957
  date: "date";
1451
1958
  enum: "enum";
1452
- text: "text";
1453
1959
  decimal: "decimal";
1454
1960
  money: "money";
1455
1961
  float: "float";
1456
1962
  bool: "bool";
1457
- json: "json";
1458
1963
  timestamptz: "timestamptz";
1459
- uuid: "uuid";
1460
1964
  fk: "fk";
1965
+ text: "text";
1966
+ id: "id";
1967
+ json: "json";
1968
+ uuid: "uuid";
1461
1969
  blob: "blob";
1462
1970
  }>;
1463
1971
  semantic: z.ZodOptional<z.ZodEnum<{
1464
- name: "name";
1465
1972
  money: "money";
1466
- image: "image";
1467
1973
  email: "email";
1974
+ name: "name";
1975
+ image: "image";
1468
1976
  avatar: "avatar";
1469
1977
  "geo-lat": "geo-lat";
1470
1978
  "geo-lng": "geo-lng";
@@ -1479,6 +1987,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
1479
1987
  references: z.ZodOptional<z.ZodString>;
1480
1988
  default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1481
1989
  maxLength: z.ZodOptional<z.ZodNumber>;
1990
+ unique: z.ZodOptional<z.ZodLiteral<true>>;
1482
1991
  rules: z.ZodOptional<z.ZodObject<{
1483
1992
  options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1484
1993
  list: z.ZodString;
@@ -1496,9 +2005,9 @@ export declare const addOnManifestSchema: z.ZodObject<{
1496
2005
  required: z.ZodOptional<z.ZodLiteral<true>>;
1497
2006
  validation: z.ZodOptional<z.ZodObject<{
1498
2007
  format: z.ZodOptional<z.ZodEnum<{
1499
- url: "url";
1500
2008
  email: "email";
1501
2009
  phone: "phone";
2010
+ url: "url";
1502
2011
  }>>;
1503
2012
  min: z.ZodOptional<z.ZodNumber>;
1504
2013
  max: z.ZodOptional<z.ZodNumber>;
@@ -1526,6 +2035,32 @@ export declare const addOnManifestSchema: z.ZodObject<{
1526
2035
  sum: z.ZodString;
1527
2036
  times: z.ZodOptional<z.ZodString>;
1528
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>]>;
1529
2064
  }, z.core.$strict>>;
1530
2065
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
1531
2066
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -1566,6 +2101,81 @@ export declare const addOnManifestSchema: z.ZodObject<{
1566
2101
  column: z.ZodString;
1567
2102
  }, z.core.$strict>]>>;
1568
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>>;
2178
+ }, z.core.$strict>>;
1569
2179
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1570
2180
  labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1571
2181
  keyField: z.ZodOptional<z.ZodString>;
@@ -1718,6 +2328,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
1718
2328
  "outbound-http": "outbound-http";
1719
2329
  "oauth-connect": "oauth-connect";
1720
2330
  }>>>;
2331
+ updatesFrom: z.ZodOptional<z.ZodString>;
1721
2332
  }, z.core.$strict>;
1722
2333
  requiredSchema: z.ZodObject<{
1723
2334
  tables: z.ZodArray<z.ZodObject<{
@@ -1726,26 +2337,26 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
1726
2337
  ref: z.ZodString;
1727
2338
  type: z.ZodEnum<{
1728
2339
  bigint: "bigint";
1729
- id: "id";
1730
2340
  int: "int";
1731
2341
  date: "date";
1732
2342
  enum: "enum";
1733
- text: "text";
1734
2343
  decimal: "decimal";
1735
2344
  money: "money";
1736
2345
  float: "float";
1737
2346
  bool: "bool";
1738
- json: "json";
1739
2347
  timestamptz: "timestamptz";
1740
- uuid: "uuid";
1741
2348
  fk: "fk";
2349
+ text: "text";
2350
+ id: "id";
2351
+ json: "json";
2352
+ uuid: "uuid";
1742
2353
  blob: "blob";
1743
2354
  }>;
1744
2355
  semantic: z.ZodOptional<z.ZodEnum<{
1745
- name: "name";
1746
2356
  money: "money";
1747
- image: "image";
1748
2357
  email: "email";
2358
+ name: "name";
2359
+ image: "image";
1749
2360
  avatar: "avatar";
1750
2361
  "geo-lat": "geo-lat";
1751
2362
  "geo-lng": "geo-lng";
@@ -1760,6 +2371,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
1760
2371
  references: z.ZodOptional<z.ZodString>;
1761
2372
  default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
1762
2373
  maxLength: z.ZodOptional<z.ZodNumber>;
2374
+ unique: z.ZodOptional<z.ZodLiteral<true>>;
1763
2375
  rules: z.ZodOptional<z.ZodObject<{
1764
2376
  options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1765
2377
  list: z.ZodString;
@@ -1777,9 +2389,9 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
1777
2389
  required: z.ZodOptional<z.ZodLiteral<true>>;
1778
2390
  validation: z.ZodOptional<z.ZodObject<{
1779
2391
  format: z.ZodOptional<z.ZodEnum<{
1780
- url: "url";
1781
2392
  email: "email";
1782
2393
  phone: "phone";
2394
+ url: "url";
1783
2395
  }>>;
1784
2396
  min: z.ZodOptional<z.ZodNumber>;
1785
2397
  max: z.ZodOptional<z.ZodNumber>;
@@ -1807,6 +2419,32 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
1807
2419
  sum: z.ZodString;
1808
2420
  times: z.ZodOptional<z.ZodString>;
1809
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>]>;
1810
2448
  }, z.core.$strict>>;
1811
2449
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
1812
2450
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -1847,6 +2485,81 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
1847
2485
  column: z.ZodString;
1848
2486
  }, z.core.$strict>]>>;
1849
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>>;
1850
2563
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1851
2564
  labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
1852
2565
  keyField: z.ZodOptional<z.ZodString>;
@@ -1875,6 +2588,10 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
1875
2588
  cloneFrom: z.ZodOptional<z.ZodString>;
1876
2589
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
1877
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>>>;
1878
2595
  }, z.core.$strict>>>;
1879
2596
  settings: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1880
2597
  type: z.ZodLiteral<"string">;
@@ -1988,8 +2705,8 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
1988
2705
  }>>>;
1989
2706
  frontends: z.ZodArray<z.ZodObject<{
1990
2707
  side: z.ZodEnum<{
1991
- staff: "staff";
1992
2708
  customer: "customer";
2709
+ staff: "staff";
1993
2710
  }>;
1994
2711
  kind: z.ZodEnum<{
1995
2712
  spa: "spa";
@@ -2034,7 +2751,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
2034
2751
  }>>;
2035
2752
  select: z.ZodOptional<z.ZodArray<z.ZodString>>;
2036
2753
  writable: z.ZodOptional<z.ZodArray<z.ZodString>>;
2037
- filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
2754
+ filters: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2038
2755
  column: z.ZodString;
2039
2756
  op: z.ZodEnum<{
2040
2757
  in: "in";
@@ -2044,11 +2761,66 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
2044
2761
  lte: "lte";
2045
2762
  }>;
2046
2763
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
2047
- }, z.core.$strict>>>;
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>]>]>>>;
2048
2772
  defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2049
2773
  claim: z.ZodOptional<z.ZodObject<{
2050
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>>;
2051
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>;
2052
2824
  confirm: z.ZodOptional<z.ZodObject<{
2053
2825
  template: z.ZodEnum<{
2054
2826
  "booking-confirmation": "booking-confirmation";
@@ -2067,6 +2839,125 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
2067
2839
  link: z.ZodOptional<z.ZodString>;
2068
2840
  }, z.core.$strict>>;
2069
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>>>;
2070
2961
  sampleData: z.ZodOptional<z.ZodObject<{
2071
2962
  file: z.ZodString;
2072
2963
  }, z.core.$strict>>;
@@ -2120,6 +3011,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
2120
3011
  "outbound-http": "outbound-http";
2121
3012
  "oauth-connect": "oauth-connect";
2122
3013
  }>>>;
3014
+ updatesFrom: z.ZodOptional<z.ZodString>;
2123
3015
  }, z.core.$strict>;
2124
3016
  addOn: z.ZodObject<{
2125
3017
  attaches: z.ZodArray<z.ZodObject<{
@@ -2217,26 +3109,26 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
2217
3109
  ref: z.ZodString;
2218
3110
  type: z.ZodEnum<{
2219
3111
  bigint: "bigint";
2220
- id: "id";
2221
3112
  int: "int";
2222
3113
  date: "date";
2223
3114
  enum: "enum";
2224
- text: "text";
2225
3115
  decimal: "decimal";
2226
3116
  money: "money";
2227
3117
  float: "float";
2228
3118
  bool: "bool";
2229
- json: "json";
2230
3119
  timestamptz: "timestamptz";
2231
- uuid: "uuid";
2232
3120
  fk: "fk";
3121
+ text: "text";
3122
+ id: "id";
3123
+ json: "json";
3124
+ uuid: "uuid";
2233
3125
  blob: "blob";
2234
3126
  }>;
2235
3127
  semantic: z.ZodOptional<z.ZodEnum<{
2236
- name: "name";
2237
3128
  money: "money";
2238
- image: "image";
2239
3129
  email: "email";
3130
+ name: "name";
3131
+ image: "image";
2240
3132
  avatar: "avatar";
2241
3133
  "geo-lat": "geo-lat";
2242
3134
  "geo-lng": "geo-lng";
@@ -2251,6 +3143,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
2251
3143
  references: z.ZodOptional<z.ZodString>;
2252
3144
  default: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
2253
3145
  maxLength: z.ZodOptional<z.ZodNumber>;
3146
+ unique: z.ZodOptional<z.ZodLiteral<true>>;
2254
3147
  rules: z.ZodOptional<z.ZodObject<{
2255
3148
  options: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2256
3149
  list: z.ZodString;
@@ -2268,9 +3161,9 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
2268
3161
  required: z.ZodOptional<z.ZodLiteral<true>>;
2269
3162
  validation: z.ZodOptional<z.ZodObject<{
2270
3163
  format: z.ZodOptional<z.ZodEnum<{
2271
- url: "url";
2272
3164
  email: "email";
2273
3165
  phone: "phone";
3166
+ url: "url";
2274
3167
  }>>;
2275
3168
  min: z.ZodOptional<z.ZodNumber>;
2276
3169
  max: z.ZodOptional<z.ZodNumber>;
@@ -2298,6 +3191,32 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
2298
3191
  sum: z.ZodString;
2299
3192
  times: z.ZodOptional<z.ZodString>;
2300
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>]>;
2301
3220
  }, z.core.$strict>>;
2302
3221
  venueLocal: z.ZodOptional<z.ZodLiteral<true>>;
2303
3222
  personal: z.ZodOptional<z.ZodBoolean>;
@@ -2338,6 +3257,81 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
2338
3257
  column: z.ZodString;
2339
3258
  }, z.core.$strict>]>>;
2340
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>>;
2341
3335
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
2342
3336
  labelPlural: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
2343
3337
  keyField: z.ZodOptional<z.ZodString>;
@@ -2489,10 +3483,4 @@ export declare function addOnIssues(m: Manifest, ctx?: {
2489
3483
  path: string;
2490
3484
  message: string;
2491
3485
  }[];
2492
- /**
2493
- * Numeric semver compare on the release triple (pre-release/build ignored —
2494
- * enough for the compatibility-window and upgrade ordering checks). Returns
2495
- * <0, 0, >0. Exported for the installer's upgrade rule.
2496
- */
2497
- export declare function compareSemver(a: string, b: string): number;
2498
3486
  //# sourceMappingURL=schema.d.ts.map