openxiangda-contracts 2.10.0 → 2.12.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/schemas.d.ts CHANGED
@@ -8976,6 +8976,60 @@ export declare const eventSubscriptionSchema: {
8976
8976
  readonly schemaVersion: {
8977
8977
  readonly const: "openxiangda.event-subscription/v2";
8978
8978
  };
8979
+ readonly execution: {
8980
+ readonly type: "object";
8981
+ readonly additionalProperties: false;
8982
+ readonly required: readonly ["kind", "version", "operations", "resourceDigests", "digest"];
8983
+ readonly properties: {
8984
+ readonly kind: {
8985
+ readonly const: "native-data";
8986
+ };
8987
+ readonly version: {
8988
+ readonly const: 1;
8989
+ };
8990
+ readonly digest: {
8991
+ readonly type: "string";
8992
+ readonly pattern: "^[0-9a-f]{64}$";
8993
+ };
8994
+ readonly resourceDigests: {
8995
+ readonly type: "object";
8996
+ readonly maxProperties: 16;
8997
+ readonly additionalProperties: {
8998
+ readonly type: "string";
8999
+ readonly pattern: "^[0-9a-f]{64}$";
9000
+ };
9001
+ };
9002
+ readonly operations: {
9003
+ readonly type: "array";
9004
+ readonly minItems: 1;
9005
+ readonly maxItems: 16;
9006
+ readonly items: {
9007
+ readonly type: "object";
9008
+ readonly additionalProperties: false;
9009
+ readonly required: readonly ["operation", "resourceCode"];
9010
+ readonly properties: {
9011
+ readonly operation: {
9012
+ readonly enum: readonly ["create", "update", "delete"];
9013
+ };
9014
+ readonly resourceCode: {
9015
+ readonly type: "string";
9016
+ readonly minLength: 1;
9017
+ };
9018
+ readonly data: {
9019
+ readonly type: "object";
9020
+ readonly maxProperties: 32;
9021
+ };
9022
+ readonly id: {
9023
+ readonly type: "object";
9024
+ };
9025
+ readonly expectedRevision: {
9026
+ readonly type: "object";
9027
+ };
9028
+ };
9029
+ };
9030
+ };
9031
+ };
9032
+ };
8979
9033
  readonly id: {
8980
9034
  readonly type: "string";
8981
9035
  readonly minLength: 1;
@@ -9272,6 +9326,9 @@ export declare const eventDeliverySchema: {
9272
9326
  readonly schemaVersion: {
9273
9327
  readonly const: "openxiangda.event-delivery/v2";
9274
9328
  };
9329
+ readonly executionKind: {
9330
+ readonly const: "native-data";
9331
+ };
9275
9332
  readonly id: {
9276
9333
  readonly type: "string";
9277
9334
  readonly minLength: 1;
@@ -15280,10 +15337,10 @@ export declare const configurationBundleSchema: {
15280
15337
  readonly operations: {
15281
15338
  readonly type: "array";
15282
15339
  readonly minItems: 1;
15283
- readonly maxItems: 6;
15340
+ readonly maxItems: 8;
15284
15341
  readonly uniqueItems: true;
15285
15342
  readonly items: {
15286
- readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read"];
15343
+ readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read"];
15287
15344
  };
15288
15345
  };
15289
15346
  readonly fields: {
@@ -15293,8 +15350,7 @@ export declare const configurationBundleSchema: {
15293
15350
  readonly uniqueItems: true;
15294
15351
  readonly items: {
15295
15352
  readonly type: "string";
15296
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
15297
- readonly maxLength: 128;
15353
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15298
15354
  };
15299
15355
  };
15300
15356
  readonly requiredFields: {
@@ -15303,8 +15359,7 @@ export declare const configurationBundleSchema: {
15303
15359
  readonly uniqueItems: true;
15304
15360
  readonly items: {
15305
15361
  readonly type: "string";
15306
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
15307
- readonly maxLength: 128;
15362
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15308
15363
  };
15309
15364
  };
15310
15365
  readonly ownRecordFields: {
@@ -15313,8 +15368,134 @@ export declare const configurationBundleSchema: {
15313
15368
  readonly uniqueItems: true;
15314
15369
  readonly items: {
15315
15370
  readonly type: "string";
15316
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
15317
- readonly maxLength: 128;
15371
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15372
+ };
15373
+ };
15374
+ readonly publicRecordFields: {
15375
+ readonly type: "array";
15376
+ readonly maxItems: 64;
15377
+ readonly uniqueItems: true;
15378
+ readonly items: {
15379
+ readonly type: "string";
15380
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15381
+ };
15382
+ };
15383
+ readonly publicFilters: {
15384
+ readonly type: "array";
15385
+ readonly maxItems: 16;
15386
+ readonly items: {
15387
+ readonly type: "object";
15388
+ readonly additionalProperties: false;
15389
+ readonly required: readonly ["field", "operator", "value"];
15390
+ readonly properties: {
15391
+ readonly field: {
15392
+ readonly type: "string";
15393
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15394
+ };
15395
+ readonly operator: {
15396
+ readonly const: "eq";
15397
+ };
15398
+ readonly value: {
15399
+ readonly type: readonly ["string", "number", "boolean", "null"];
15400
+ };
15401
+ };
15402
+ };
15403
+ };
15404
+ readonly serverGeneratedFields: {
15405
+ readonly type: "array";
15406
+ readonly maxItems: 16;
15407
+ readonly uniqueItems: true;
15408
+ readonly items: {
15409
+ readonly type: "object";
15410
+ readonly additionalProperties: false;
15411
+ readonly required: readonly ["field", "kind"];
15412
+ readonly properties: {
15413
+ readonly field: {
15414
+ readonly type: "string";
15415
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15416
+ };
15417
+ readonly kind: {
15418
+ readonly const: "random-token";
15419
+ };
15420
+ };
15421
+ };
15422
+ };
15423
+ readonly schedule: {
15424
+ readonly type: "object";
15425
+ readonly additionalProperties: false;
15426
+ readonly required: readonly ["campusPolicyCode", "rulePolicyCode", "campusField", "ruleCampusField", "ruleWeekdaysField", "ruleOpenAtField", "ruleCloseAtField", "ruleSlotMinutesField", "ruleAdvanceHoursField", "ruleAdvanceDaysField", "campusEnabledField", "ruleEnabledField", "dateField", "timeField"];
15427
+ readonly properties: {
15428
+ readonly campusPolicyCode: {
15429
+ readonly type: "string";
15430
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
15431
+ readonly maxLength: 128;
15432
+ };
15433
+ readonly rulePolicyCode: {
15434
+ readonly type: "string";
15435
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
15436
+ readonly maxLength: 128;
15437
+ };
15438
+ readonly campusField: {
15439
+ readonly type: "string";
15440
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15441
+ };
15442
+ readonly ruleCampusField: {
15443
+ readonly type: "string";
15444
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15445
+ };
15446
+ readonly ruleWeekdaysField: {
15447
+ readonly type: "string";
15448
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15449
+ };
15450
+ readonly ruleOpenAtField: {
15451
+ readonly type: "string";
15452
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15453
+ };
15454
+ readonly ruleCloseAtField: {
15455
+ readonly type: "string";
15456
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15457
+ };
15458
+ readonly ruleSlotMinutesField: {
15459
+ readonly type: "string";
15460
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15461
+ };
15462
+ readonly ruleAdvanceHoursField: {
15463
+ readonly type: "string";
15464
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15465
+ };
15466
+ readonly ruleAdvanceDaysField: {
15467
+ readonly type: "string";
15468
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15469
+ };
15470
+ readonly campusEnabledField: {
15471
+ readonly type: "string";
15472
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15473
+ };
15474
+ readonly ruleEnabledField: {
15475
+ readonly type: "string";
15476
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15477
+ };
15478
+ readonly dateField: {
15479
+ readonly type: "string";
15480
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15481
+ };
15482
+ readonly timeField: {
15483
+ readonly type: "string";
15484
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15485
+ };
15486
+ };
15487
+ };
15488
+ readonly publicSubtableFields: {
15489
+ readonly type: "object";
15490
+ readonly maxProperties: 64;
15491
+ readonly additionalProperties: {
15492
+ readonly type: "array";
15493
+ readonly maxItems: 64;
15494
+ readonly uniqueItems: true;
15495
+ readonly items: {
15496
+ readonly type: "string";
15497
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15498
+ };
15318
15499
  };
15319
15500
  };
15320
15501
  readonly draft: {
@@ -15360,8 +15541,7 @@ export declare const configurationBundleSchema: {
15360
15541
  readonly uniqueItems: true;
15361
15542
  readonly items: {
15362
15543
  readonly type: "string";
15363
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
15364
- readonly maxLength: 128;
15544
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
15365
15545
  };
15366
15546
  };
15367
15547
  readonly result: {
@@ -16326,10 +16506,10 @@ export declare const contractBundleSchema: {
16326
16506
  readonly operations: {
16327
16507
  readonly type: "array";
16328
16508
  readonly minItems: 1;
16329
- readonly maxItems: 6;
16509
+ readonly maxItems: 8;
16330
16510
  readonly uniqueItems: true;
16331
16511
  readonly items: {
16332
- readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read"];
16512
+ readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read"];
16333
16513
  };
16334
16514
  };
16335
16515
  readonly fields: {
@@ -16339,8 +16519,7 @@ export declare const contractBundleSchema: {
16339
16519
  readonly uniqueItems: true;
16340
16520
  readonly items: {
16341
16521
  readonly type: "string";
16342
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
16343
- readonly maxLength: 128;
16522
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16344
16523
  };
16345
16524
  };
16346
16525
  readonly requiredFields: {
@@ -16349,8 +16528,7 @@ export declare const contractBundleSchema: {
16349
16528
  readonly uniqueItems: true;
16350
16529
  readonly items: {
16351
16530
  readonly type: "string";
16352
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
16353
- readonly maxLength: 128;
16531
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16354
16532
  };
16355
16533
  };
16356
16534
  readonly ownRecordFields: {
@@ -16359,8 +16537,134 @@ export declare const contractBundleSchema: {
16359
16537
  readonly uniqueItems: true;
16360
16538
  readonly items: {
16361
16539
  readonly type: "string";
16362
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
16363
- readonly maxLength: 128;
16540
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16541
+ };
16542
+ };
16543
+ readonly publicRecordFields: {
16544
+ readonly type: "array";
16545
+ readonly maxItems: 64;
16546
+ readonly uniqueItems: true;
16547
+ readonly items: {
16548
+ readonly type: "string";
16549
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16550
+ };
16551
+ };
16552
+ readonly publicFilters: {
16553
+ readonly type: "array";
16554
+ readonly maxItems: 16;
16555
+ readonly items: {
16556
+ readonly type: "object";
16557
+ readonly additionalProperties: false;
16558
+ readonly required: readonly ["field", "operator", "value"];
16559
+ readonly properties: {
16560
+ readonly field: {
16561
+ readonly type: "string";
16562
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16563
+ };
16564
+ readonly operator: {
16565
+ readonly const: "eq";
16566
+ };
16567
+ readonly value: {
16568
+ readonly type: readonly ["string", "number", "boolean", "null"];
16569
+ };
16570
+ };
16571
+ };
16572
+ };
16573
+ readonly serverGeneratedFields: {
16574
+ readonly type: "array";
16575
+ readonly maxItems: 16;
16576
+ readonly uniqueItems: true;
16577
+ readonly items: {
16578
+ readonly type: "object";
16579
+ readonly additionalProperties: false;
16580
+ readonly required: readonly ["field", "kind"];
16581
+ readonly properties: {
16582
+ readonly field: {
16583
+ readonly type: "string";
16584
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16585
+ };
16586
+ readonly kind: {
16587
+ readonly const: "random-token";
16588
+ };
16589
+ };
16590
+ };
16591
+ };
16592
+ readonly schedule: {
16593
+ readonly type: "object";
16594
+ readonly additionalProperties: false;
16595
+ readonly required: readonly ["campusPolicyCode", "rulePolicyCode", "campusField", "ruleCampusField", "ruleWeekdaysField", "ruleOpenAtField", "ruleCloseAtField", "ruleSlotMinutesField", "ruleAdvanceHoursField", "ruleAdvanceDaysField", "campusEnabledField", "ruleEnabledField", "dateField", "timeField"];
16596
+ readonly properties: {
16597
+ readonly campusPolicyCode: {
16598
+ readonly type: "string";
16599
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
16600
+ readonly maxLength: 128;
16601
+ };
16602
+ readonly rulePolicyCode: {
16603
+ readonly type: "string";
16604
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
16605
+ readonly maxLength: 128;
16606
+ };
16607
+ readonly campusField: {
16608
+ readonly type: "string";
16609
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16610
+ };
16611
+ readonly ruleCampusField: {
16612
+ readonly type: "string";
16613
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16614
+ };
16615
+ readonly ruleWeekdaysField: {
16616
+ readonly type: "string";
16617
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16618
+ };
16619
+ readonly ruleOpenAtField: {
16620
+ readonly type: "string";
16621
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16622
+ };
16623
+ readonly ruleCloseAtField: {
16624
+ readonly type: "string";
16625
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16626
+ };
16627
+ readonly ruleSlotMinutesField: {
16628
+ readonly type: "string";
16629
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16630
+ };
16631
+ readonly ruleAdvanceHoursField: {
16632
+ readonly type: "string";
16633
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16634
+ };
16635
+ readonly ruleAdvanceDaysField: {
16636
+ readonly type: "string";
16637
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16638
+ };
16639
+ readonly campusEnabledField: {
16640
+ readonly type: "string";
16641
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16642
+ };
16643
+ readonly ruleEnabledField: {
16644
+ readonly type: "string";
16645
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16646
+ };
16647
+ readonly dateField: {
16648
+ readonly type: "string";
16649
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16650
+ };
16651
+ readonly timeField: {
16652
+ readonly type: "string";
16653
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16654
+ };
16655
+ };
16656
+ };
16657
+ readonly publicSubtableFields: {
16658
+ readonly type: "object";
16659
+ readonly maxProperties: 64;
16660
+ readonly additionalProperties: {
16661
+ readonly type: "array";
16662
+ readonly maxItems: 64;
16663
+ readonly uniqueItems: true;
16664
+ readonly items: {
16665
+ readonly type: "string";
16666
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16667
+ };
16364
16668
  };
16365
16669
  };
16366
16670
  readonly draft: {
@@ -16406,8 +16710,7 @@ export declare const contractBundleSchema: {
16406
16710
  readonly uniqueItems: true;
16407
16711
  readonly items: {
16408
16712
  readonly type: "string";
16409
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
16410
- readonly maxLength: 128;
16713
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16411
16714
  };
16412
16715
  };
16413
16716
  readonly result: {
@@ -24363,6 +24666,60 @@ export declare const contractSchemas: {
24363
24666
  readonly schemaVersion: {
24364
24667
  readonly const: "openxiangda.event-subscription/v2";
24365
24668
  };
24669
+ readonly execution: {
24670
+ readonly type: "object";
24671
+ readonly additionalProperties: false;
24672
+ readonly required: readonly ["kind", "version", "operations", "resourceDigests", "digest"];
24673
+ readonly properties: {
24674
+ readonly kind: {
24675
+ readonly const: "native-data";
24676
+ };
24677
+ readonly version: {
24678
+ readonly const: 1;
24679
+ };
24680
+ readonly digest: {
24681
+ readonly type: "string";
24682
+ readonly pattern: "^[0-9a-f]{64}$";
24683
+ };
24684
+ readonly resourceDigests: {
24685
+ readonly type: "object";
24686
+ readonly maxProperties: 16;
24687
+ readonly additionalProperties: {
24688
+ readonly type: "string";
24689
+ readonly pattern: "^[0-9a-f]{64}$";
24690
+ };
24691
+ };
24692
+ readonly operations: {
24693
+ readonly type: "array";
24694
+ readonly minItems: 1;
24695
+ readonly maxItems: 16;
24696
+ readonly items: {
24697
+ readonly type: "object";
24698
+ readonly additionalProperties: false;
24699
+ readonly required: readonly ["operation", "resourceCode"];
24700
+ readonly properties: {
24701
+ readonly operation: {
24702
+ readonly enum: readonly ["create", "update", "delete"];
24703
+ };
24704
+ readonly resourceCode: {
24705
+ readonly type: "string";
24706
+ readonly minLength: 1;
24707
+ };
24708
+ readonly data: {
24709
+ readonly type: "object";
24710
+ readonly maxProperties: 32;
24711
+ };
24712
+ readonly id: {
24713
+ readonly type: "object";
24714
+ };
24715
+ readonly expectedRevision: {
24716
+ readonly type: "object";
24717
+ };
24718
+ };
24719
+ };
24720
+ };
24721
+ };
24722
+ };
24366
24723
  readonly id: {
24367
24724
  readonly type: "string";
24368
24725
  readonly minLength: 1;
@@ -24659,6 +25016,9 @@ export declare const contractSchemas: {
24659
25016
  readonly schemaVersion: {
24660
25017
  readonly const: "openxiangda.event-delivery/v2";
24661
25018
  };
25019
+ readonly executionKind: {
25020
+ readonly const: "native-data";
25021
+ };
24662
25022
  readonly id: {
24663
25023
  readonly type: "string";
24664
25024
  readonly minLength: 1;
@@ -32428,10 +32788,10 @@ export declare const contractSchemas: {
32428
32788
  readonly operations: {
32429
32789
  readonly type: "array";
32430
32790
  readonly minItems: 1;
32431
- readonly maxItems: 6;
32791
+ readonly maxItems: 8;
32432
32792
  readonly uniqueItems: true;
32433
32793
  readonly items: {
32434
- readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read"];
32794
+ readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read"];
32435
32795
  };
32436
32796
  };
32437
32797
  readonly fields: {
@@ -32441,8 +32801,7 @@ export declare const contractSchemas: {
32441
32801
  readonly uniqueItems: true;
32442
32802
  readonly items: {
32443
32803
  readonly type: "string";
32444
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
32445
- readonly maxLength: 128;
32804
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32446
32805
  };
32447
32806
  };
32448
32807
  readonly requiredFields: {
@@ -32451,8 +32810,7 @@ export declare const contractSchemas: {
32451
32810
  readonly uniqueItems: true;
32452
32811
  readonly items: {
32453
32812
  readonly type: "string";
32454
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
32455
- readonly maxLength: 128;
32813
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32456
32814
  };
32457
32815
  };
32458
32816
  readonly ownRecordFields: {
@@ -32461,8 +32819,134 @@ export declare const contractSchemas: {
32461
32819
  readonly uniqueItems: true;
32462
32820
  readonly items: {
32463
32821
  readonly type: "string";
32464
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
32465
- readonly maxLength: 128;
32822
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32823
+ };
32824
+ };
32825
+ readonly publicRecordFields: {
32826
+ readonly type: "array";
32827
+ readonly maxItems: 64;
32828
+ readonly uniqueItems: true;
32829
+ readonly items: {
32830
+ readonly type: "string";
32831
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32832
+ };
32833
+ };
32834
+ readonly publicFilters: {
32835
+ readonly type: "array";
32836
+ readonly maxItems: 16;
32837
+ readonly items: {
32838
+ readonly type: "object";
32839
+ readonly additionalProperties: false;
32840
+ readonly required: readonly ["field", "operator", "value"];
32841
+ readonly properties: {
32842
+ readonly field: {
32843
+ readonly type: "string";
32844
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32845
+ };
32846
+ readonly operator: {
32847
+ readonly const: "eq";
32848
+ };
32849
+ readonly value: {
32850
+ readonly type: readonly ["string", "number", "boolean", "null"];
32851
+ };
32852
+ };
32853
+ };
32854
+ };
32855
+ readonly serverGeneratedFields: {
32856
+ readonly type: "array";
32857
+ readonly maxItems: 16;
32858
+ readonly uniqueItems: true;
32859
+ readonly items: {
32860
+ readonly type: "object";
32861
+ readonly additionalProperties: false;
32862
+ readonly required: readonly ["field", "kind"];
32863
+ readonly properties: {
32864
+ readonly field: {
32865
+ readonly type: "string";
32866
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32867
+ };
32868
+ readonly kind: {
32869
+ readonly const: "random-token";
32870
+ };
32871
+ };
32872
+ };
32873
+ };
32874
+ readonly schedule: {
32875
+ readonly type: "object";
32876
+ readonly additionalProperties: false;
32877
+ readonly required: readonly ["campusPolicyCode", "rulePolicyCode", "campusField", "ruleCampusField", "ruleWeekdaysField", "ruleOpenAtField", "ruleCloseAtField", "ruleSlotMinutesField", "ruleAdvanceHoursField", "ruleAdvanceDaysField", "campusEnabledField", "ruleEnabledField", "dateField", "timeField"];
32878
+ readonly properties: {
32879
+ readonly campusPolicyCode: {
32880
+ readonly type: "string";
32881
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
32882
+ readonly maxLength: 128;
32883
+ };
32884
+ readonly rulePolicyCode: {
32885
+ readonly type: "string";
32886
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
32887
+ readonly maxLength: 128;
32888
+ };
32889
+ readonly campusField: {
32890
+ readonly type: "string";
32891
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32892
+ };
32893
+ readonly ruleCampusField: {
32894
+ readonly type: "string";
32895
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32896
+ };
32897
+ readonly ruleWeekdaysField: {
32898
+ readonly type: "string";
32899
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32900
+ };
32901
+ readonly ruleOpenAtField: {
32902
+ readonly type: "string";
32903
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32904
+ };
32905
+ readonly ruleCloseAtField: {
32906
+ readonly type: "string";
32907
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32908
+ };
32909
+ readonly ruleSlotMinutesField: {
32910
+ readonly type: "string";
32911
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32912
+ };
32913
+ readonly ruleAdvanceHoursField: {
32914
+ readonly type: "string";
32915
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32916
+ };
32917
+ readonly ruleAdvanceDaysField: {
32918
+ readonly type: "string";
32919
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32920
+ };
32921
+ readonly campusEnabledField: {
32922
+ readonly type: "string";
32923
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32924
+ };
32925
+ readonly ruleEnabledField: {
32926
+ readonly type: "string";
32927
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32928
+ };
32929
+ readonly dateField: {
32930
+ readonly type: "string";
32931
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32932
+ };
32933
+ readonly timeField: {
32934
+ readonly type: "string";
32935
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32936
+ };
32937
+ };
32938
+ };
32939
+ readonly publicSubtableFields: {
32940
+ readonly type: "object";
32941
+ readonly maxProperties: 64;
32942
+ readonly additionalProperties: {
32943
+ readonly type: "array";
32944
+ readonly maxItems: 64;
32945
+ readonly uniqueItems: true;
32946
+ readonly items: {
32947
+ readonly type: "string";
32948
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32949
+ };
32466
32950
  };
32467
32951
  };
32468
32952
  readonly draft: {
@@ -32508,8 +32992,7 @@ export declare const contractSchemas: {
32508
32992
  readonly uniqueItems: true;
32509
32993
  readonly items: {
32510
32994
  readonly type: "string";
32511
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
32512
- readonly maxLength: 128;
32995
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32513
32996
  };
32514
32997
  };
32515
32998
  readonly result: {
@@ -33474,10 +33957,10 @@ export declare const contractSchemas: {
33474
33957
  readonly operations: {
33475
33958
  readonly type: "array";
33476
33959
  readonly minItems: 1;
33477
- readonly maxItems: 6;
33960
+ readonly maxItems: 8;
33478
33961
  readonly uniqueItems: true;
33479
33962
  readonly items: {
33480
- readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read"];
33963
+ readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read"];
33481
33964
  };
33482
33965
  };
33483
33966
  readonly fields: {
@@ -33487,8 +33970,7 @@ export declare const contractSchemas: {
33487
33970
  readonly uniqueItems: true;
33488
33971
  readonly items: {
33489
33972
  readonly type: "string";
33490
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
33491
- readonly maxLength: 128;
33973
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
33492
33974
  };
33493
33975
  };
33494
33976
  readonly requiredFields: {
@@ -33497,8 +33979,7 @@ export declare const contractSchemas: {
33497
33979
  readonly uniqueItems: true;
33498
33980
  readonly items: {
33499
33981
  readonly type: "string";
33500
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
33501
- readonly maxLength: 128;
33982
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
33502
33983
  };
33503
33984
  };
33504
33985
  readonly ownRecordFields: {
@@ -33507,8 +33988,134 @@ export declare const contractSchemas: {
33507
33988
  readonly uniqueItems: true;
33508
33989
  readonly items: {
33509
33990
  readonly type: "string";
33510
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
33511
- readonly maxLength: 128;
33991
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
33992
+ };
33993
+ };
33994
+ readonly publicRecordFields: {
33995
+ readonly type: "array";
33996
+ readonly maxItems: 64;
33997
+ readonly uniqueItems: true;
33998
+ readonly items: {
33999
+ readonly type: "string";
34000
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34001
+ };
34002
+ };
34003
+ readonly publicFilters: {
34004
+ readonly type: "array";
34005
+ readonly maxItems: 16;
34006
+ readonly items: {
34007
+ readonly type: "object";
34008
+ readonly additionalProperties: false;
34009
+ readonly required: readonly ["field", "operator", "value"];
34010
+ readonly properties: {
34011
+ readonly field: {
34012
+ readonly type: "string";
34013
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34014
+ };
34015
+ readonly operator: {
34016
+ readonly const: "eq";
34017
+ };
34018
+ readonly value: {
34019
+ readonly type: readonly ["string", "number", "boolean", "null"];
34020
+ };
34021
+ };
34022
+ };
34023
+ };
34024
+ readonly serverGeneratedFields: {
34025
+ readonly type: "array";
34026
+ readonly maxItems: 16;
34027
+ readonly uniqueItems: true;
34028
+ readonly items: {
34029
+ readonly type: "object";
34030
+ readonly additionalProperties: false;
34031
+ readonly required: readonly ["field", "kind"];
34032
+ readonly properties: {
34033
+ readonly field: {
34034
+ readonly type: "string";
34035
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34036
+ };
34037
+ readonly kind: {
34038
+ readonly const: "random-token";
34039
+ };
34040
+ };
34041
+ };
34042
+ };
34043
+ readonly schedule: {
34044
+ readonly type: "object";
34045
+ readonly additionalProperties: false;
34046
+ readonly required: readonly ["campusPolicyCode", "rulePolicyCode", "campusField", "ruleCampusField", "ruleWeekdaysField", "ruleOpenAtField", "ruleCloseAtField", "ruleSlotMinutesField", "ruleAdvanceHoursField", "ruleAdvanceDaysField", "campusEnabledField", "ruleEnabledField", "dateField", "timeField"];
34047
+ readonly properties: {
34048
+ readonly campusPolicyCode: {
34049
+ readonly type: "string";
34050
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
34051
+ readonly maxLength: 128;
34052
+ };
34053
+ readonly rulePolicyCode: {
34054
+ readonly type: "string";
34055
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
34056
+ readonly maxLength: 128;
34057
+ };
34058
+ readonly campusField: {
34059
+ readonly type: "string";
34060
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34061
+ };
34062
+ readonly ruleCampusField: {
34063
+ readonly type: "string";
34064
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34065
+ };
34066
+ readonly ruleWeekdaysField: {
34067
+ readonly type: "string";
34068
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34069
+ };
34070
+ readonly ruleOpenAtField: {
34071
+ readonly type: "string";
34072
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34073
+ };
34074
+ readonly ruleCloseAtField: {
34075
+ readonly type: "string";
34076
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34077
+ };
34078
+ readonly ruleSlotMinutesField: {
34079
+ readonly type: "string";
34080
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34081
+ };
34082
+ readonly ruleAdvanceHoursField: {
34083
+ readonly type: "string";
34084
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34085
+ };
34086
+ readonly ruleAdvanceDaysField: {
34087
+ readonly type: "string";
34088
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34089
+ };
34090
+ readonly campusEnabledField: {
34091
+ readonly type: "string";
34092
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34093
+ };
34094
+ readonly ruleEnabledField: {
34095
+ readonly type: "string";
34096
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34097
+ };
34098
+ readonly dateField: {
34099
+ readonly type: "string";
34100
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34101
+ };
34102
+ readonly timeField: {
34103
+ readonly type: "string";
34104
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34105
+ };
34106
+ };
34107
+ };
34108
+ readonly publicSubtableFields: {
34109
+ readonly type: "object";
34110
+ readonly maxProperties: 64;
34111
+ readonly additionalProperties: {
34112
+ readonly type: "array";
34113
+ readonly maxItems: 64;
34114
+ readonly uniqueItems: true;
34115
+ readonly items: {
34116
+ readonly type: "string";
34117
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34118
+ };
33512
34119
  };
33513
34120
  };
33514
34121
  readonly draft: {
@@ -33554,8 +34161,7 @@ export declare const contractSchemas: {
33554
34161
  readonly uniqueItems: true;
33555
34162
  readonly items: {
33556
34163
  readonly type: "string";
33557
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
33558
- readonly maxLength: 128;
34164
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
33559
34165
  };
33560
34166
  };
33561
34167
  readonly result: {