openxiangda-contracts 2.0.0-alpha.49 → 2.0.0-alpha.51
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 +485 -8
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +141 -3
- package/dist/schemas.js.map +1 -1
- package/dist/types.d.ts +32 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +6 -0
- package/dist/types.js.map +1 -1
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +26 -4
- package/dist/validation.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -3300,11 +3300,31 @@ export declare const dataResourceSchema: {
|
|
|
3300
3300
|
readonly minLength: 1;
|
|
3301
3301
|
};
|
|
3302
3302
|
};
|
|
3303
|
+
readonly maxLength: {
|
|
3304
|
+
readonly type: "integer";
|
|
3305
|
+
readonly minimum: 1;
|
|
3306
|
+
readonly maximum: 1000000;
|
|
3307
|
+
};
|
|
3308
|
+
readonly precision: {
|
|
3309
|
+
readonly type: "integer";
|
|
3310
|
+
readonly minimum: 1;
|
|
3311
|
+
readonly maximum: 1000;
|
|
3312
|
+
};
|
|
3313
|
+
readonly scale: {
|
|
3314
|
+
readonly type: "integer";
|
|
3315
|
+
readonly minimum: 0;
|
|
3316
|
+
readonly maximum: 1000;
|
|
3317
|
+
};
|
|
3303
3318
|
readonly maxCount: {
|
|
3304
3319
|
readonly type: "integer";
|
|
3305
3320
|
readonly minimum: 1;
|
|
3306
3321
|
readonly maximum: 100;
|
|
3307
3322
|
};
|
|
3323
|
+
readonly maxSizeMb: {
|
|
3324
|
+
readonly type: "integer";
|
|
3325
|
+
readonly minimum: 1;
|
|
3326
|
+
readonly maximum: 1024;
|
|
3327
|
+
};
|
|
3308
3328
|
readonly accept: {
|
|
3309
3329
|
readonly oneOf: readonly [{
|
|
3310
3330
|
readonly type: "string";
|
|
@@ -3439,6 +3459,49 @@ export declare const dataResourceSchema: {
|
|
|
3439
3459
|
readonly timePrecision: {
|
|
3440
3460
|
readonly enum: readonly ["minute", "second"];
|
|
3441
3461
|
};
|
|
3462
|
+
readonly serial: {
|
|
3463
|
+
readonly type: "object";
|
|
3464
|
+
readonly additionalProperties: false;
|
|
3465
|
+
readonly properties: {
|
|
3466
|
+
readonly prefix: {
|
|
3467
|
+
readonly type: "string";
|
|
3468
|
+
readonly maxLength: 64;
|
|
3469
|
+
};
|
|
3470
|
+
readonly digits: {
|
|
3471
|
+
readonly type: "integer";
|
|
3472
|
+
readonly minimum: 1;
|
|
3473
|
+
readonly maximum: 32;
|
|
3474
|
+
};
|
|
3475
|
+
readonly start: {
|
|
3476
|
+
readonly type: "integer";
|
|
3477
|
+
readonly minimum: 0;
|
|
3478
|
+
};
|
|
3479
|
+
};
|
|
3480
|
+
};
|
|
3481
|
+
readonly subtable: {
|
|
3482
|
+
readonly type: "object";
|
|
3483
|
+
readonly additionalProperties: false;
|
|
3484
|
+
readonly required: readonly ["resourceCode", "foreignKey", "orderField"];
|
|
3485
|
+
readonly properties: {
|
|
3486
|
+
readonly resourceCode: {
|
|
3487
|
+
readonly type: "string";
|
|
3488
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
3489
|
+
};
|
|
3490
|
+
readonly foreignKey: {
|
|
3491
|
+
readonly type: "string";
|
|
3492
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
3493
|
+
};
|
|
3494
|
+
readonly orderField: {
|
|
3495
|
+
readonly type: "string";
|
|
3496
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
3497
|
+
};
|
|
3498
|
+
readonly maxRows: {
|
|
3499
|
+
readonly type: "integer";
|
|
3500
|
+
readonly minimum: 1;
|
|
3501
|
+
readonly maximum: 49;
|
|
3502
|
+
};
|
|
3503
|
+
};
|
|
3504
|
+
};
|
|
3442
3505
|
};
|
|
3443
3506
|
};
|
|
3444
3507
|
};
|
|
@@ -4482,6 +4545,108 @@ export declare const dataTransactionRequestSchema: {
|
|
|
4482
4545
|
};
|
|
4483
4546
|
};
|
|
4484
4547
|
};
|
|
4548
|
+
}, {
|
|
4549
|
+
readonly type: "object";
|
|
4550
|
+
readonly additionalProperties: false;
|
|
4551
|
+
readonly required: readonly ["kind", "resourceCode", "lockKey", "errorCode", "id"];
|
|
4552
|
+
readonly properties: {
|
|
4553
|
+
readonly kind: {
|
|
4554
|
+
readonly const: "record-exists";
|
|
4555
|
+
};
|
|
4556
|
+
readonly resourceCode: {
|
|
4557
|
+
readonly type: "string";
|
|
4558
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
4559
|
+
};
|
|
4560
|
+
readonly lockKey: {
|
|
4561
|
+
readonly type: "string";
|
|
4562
|
+
readonly minLength: 1;
|
|
4563
|
+
readonly maxLength: 128;
|
|
4564
|
+
};
|
|
4565
|
+
readonly errorCode: {
|
|
4566
|
+
readonly type: "string";
|
|
4567
|
+
readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
|
|
4568
|
+
};
|
|
4569
|
+
readonly id: {
|
|
4570
|
+
readonly type: "string";
|
|
4571
|
+
readonly minLength: 1;
|
|
4572
|
+
};
|
|
4573
|
+
};
|
|
4574
|
+
}, {
|
|
4575
|
+
readonly type: "object";
|
|
4576
|
+
readonly additionalProperties: false;
|
|
4577
|
+
readonly required: readonly ["kind", "resourceCode", "lockKey", "errorCode", "id", "assertions"];
|
|
4578
|
+
readonly properties: {
|
|
4579
|
+
readonly kind: {
|
|
4580
|
+
readonly const: "record-match";
|
|
4581
|
+
};
|
|
4582
|
+
readonly resourceCode: {
|
|
4583
|
+
readonly type: "string";
|
|
4584
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
4585
|
+
};
|
|
4586
|
+
readonly lockKey: {
|
|
4587
|
+
readonly type: "string";
|
|
4588
|
+
readonly minLength: 1;
|
|
4589
|
+
readonly maxLength: 128;
|
|
4590
|
+
};
|
|
4591
|
+
readonly errorCode: {
|
|
4592
|
+
readonly type: "string";
|
|
4593
|
+
readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
|
|
4594
|
+
};
|
|
4595
|
+
readonly id: {
|
|
4596
|
+
readonly type: "string";
|
|
4597
|
+
readonly minLength: 1;
|
|
4598
|
+
};
|
|
4599
|
+
readonly assertions: {
|
|
4600
|
+
readonly type: "array";
|
|
4601
|
+
readonly minItems: 1;
|
|
4602
|
+
readonly maxItems: 20;
|
|
4603
|
+
readonly items: {
|
|
4604
|
+
readonly oneOf: readonly [{
|
|
4605
|
+
readonly type: "object";
|
|
4606
|
+
readonly additionalProperties: false;
|
|
4607
|
+
readonly required: readonly ["kind", "field", "operator"];
|
|
4608
|
+
readonly properties: {
|
|
4609
|
+
readonly kind: {
|
|
4610
|
+
readonly const: "value";
|
|
4611
|
+
};
|
|
4612
|
+
readonly field: {
|
|
4613
|
+
readonly type: "string";
|
|
4614
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
4615
|
+
};
|
|
4616
|
+
readonly operator: {
|
|
4617
|
+
readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "in", "between", "has", "hasAny", "hasAll", "overlaps", "containedBy", "jsonContains", "isEmpty", "isNotEmpty"];
|
|
4618
|
+
};
|
|
4619
|
+
readonly value: {};
|
|
4620
|
+
readonly path: {
|
|
4621
|
+
readonly type: "string";
|
|
4622
|
+
readonly minLength: 1;
|
|
4623
|
+
readonly maxLength: 128;
|
|
4624
|
+
};
|
|
4625
|
+
};
|
|
4626
|
+
}, {
|
|
4627
|
+
readonly type: "object";
|
|
4628
|
+
readonly additionalProperties: false;
|
|
4629
|
+
readonly required: readonly ["kind", "leftField", "operator", "rightField"];
|
|
4630
|
+
readonly properties: {
|
|
4631
|
+
readonly kind: {
|
|
4632
|
+
readonly const: "field";
|
|
4633
|
+
};
|
|
4634
|
+
readonly leftField: {
|
|
4635
|
+
readonly type: "string";
|
|
4636
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
4637
|
+
};
|
|
4638
|
+
readonly operator: {
|
|
4639
|
+
readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
|
|
4640
|
+
};
|
|
4641
|
+
readonly rightField: {
|
|
4642
|
+
readonly type: "string";
|
|
4643
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
4644
|
+
};
|
|
4645
|
+
};
|
|
4646
|
+
}];
|
|
4647
|
+
};
|
|
4648
|
+
};
|
|
4649
|
+
};
|
|
4485
4650
|
}];
|
|
4486
4651
|
};
|
|
4487
4652
|
};
|
|
@@ -4724,6 +4889,29 @@ export declare const dataTransactionResultSchema: {
|
|
|
4724
4889
|
};
|
|
4725
4890
|
};
|
|
4726
4891
|
};
|
|
4892
|
+
export declare const applicationContractCompatibilitySchema: {
|
|
4893
|
+
readonly type: "object";
|
|
4894
|
+
readonly additionalProperties: false;
|
|
4895
|
+
readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
|
|
4896
|
+
readonly properties: {
|
|
4897
|
+
readonly appPackageSchemaVersion: {
|
|
4898
|
+
readonly type: "string";
|
|
4899
|
+
readonly minLength: 1;
|
|
4900
|
+
};
|
|
4901
|
+
readonly configurationBundleSchemaVersion: {
|
|
4902
|
+
readonly type: "string";
|
|
4903
|
+
readonly minLength: 1;
|
|
4904
|
+
};
|
|
4905
|
+
readonly contractBundleSchemaVersion: {
|
|
4906
|
+
readonly type: "string";
|
|
4907
|
+
readonly minLength: 1;
|
|
4908
|
+
};
|
|
4909
|
+
readonly compilerContractVersion: {
|
|
4910
|
+
readonly type: "string";
|
|
4911
|
+
readonly minLength: 1;
|
|
4912
|
+
};
|
|
4913
|
+
};
|
|
4914
|
+
};
|
|
4727
4915
|
export declare const appPackageSchema: {
|
|
4728
4916
|
readonly $id: "openxiangda.app-package/v2";
|
|
4729
4917
|
readonly type: "object";
|
|
@@ -4833,7 +5021,7 @@ export declare const appPackageSchema: {
|
|
|
4833
5021
|
readonly compatibility: {
|
|
4834
5022
|
readonly type: "object";
|
|
4835
5023
|
readonly additionalProperties: false;
|
|
4836
|
-
readonly required: readonly ["minimumPlatformVersion", "requiredCapabilities"];
|
|
5024
|
+
readonly required: readonly ["minimumPlatformVersion", "requiredCapabilities", "applicationContract"];
|
|
4837
5025
|
readonly properties: {
|
|
4838
5026
|
readonly minimumPlatformVersion: {
|
|
4839
5027
|
readonly type: "string";
|
|
@@ -4847,6 +5035,29 @@ export declare const appPackageSchema: {
|
|
|
4847
5035
|
readonly minLength: 1;
|
|
4848
5036
|
};
|
|
4849
5037
|
};
|
|
5038
|
+
readonly applicationContract: {
|
|
5039
|
+
readonly type: "object";
|
|
5040
|
+
readonly additionalProperties: false;
|
|
5041
|
+
readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
|
|
5042
|
+
readonly properties: {
|
|
5043
|
+
readonly appPackageSchemaVersion: {
|
|
5044
|
+
readonly type: "string";
|
|
5045
|
+
readonly minLength: 1;
|
|
5046
|
+
};
|
|
5047
|
+
readonly configurationBundleSchemaVersion: {
|
|
5048
|
+
readonly type: "string";
|
|
5049
|
+
readonly minLength: 1;
|
|
5050
|
+
};
|
|
5051
|
+
readonly contractBundleSchemaVersion: {
|
|
5052
|
+
readonly type: "string";
|
|
5053
|
+
readonly minLength: 1;
|
|
5054
|
+
};
|
|
5055
|
+
readonly compilerContractVersion: {
|
|
5056
|
+
readonly type: "string";
|
|
5057
|
+
readonly minLength: 1;
|
|
5058
|
+
};
|
|
5059
|
+
};
|
|
5060
|
+
};
|
|
4850
5061
|
};
|
|
4851
5062
|
};
|
|
4852
5063
|
readonly metadata: {
|
|
@@ -5515,7 +5726,8 @@ export declare const platformCapabilitiesSchema: {
|
|
|
5515
5726
|
readonly type: "object";
|
|
5516
5727
|
readonly additionalProperties: {
|
|
5517
5728
|
readonly type: "object";
|
|
5518
|
-
readonly additionalProperties:
|
|
5729
|
+
readonly additionalProperties: true;
|
|
5730
|
+
readonly maxProperties: 16;
|
|
5519
5731
|
readonly required: readonly ["version", "status"];
|
|
5520
5732
|
readonly properties: {
|
|
5521
5733
|
readonly version: {
|
|
@@ -5523,7 +5735,7 @@ export declare const platformCapabilitiesSchema: {
|
|
|
5523
5735
|
readonly minLength: 1;
|
|
5524
5736
|
};
|
|
5525
5737
|
readonly status: {
|
|
5526
|
-
readonly enum: readonly ["available", "preview", "planned"];
|
|
5738
|
+
readonly enum: readonly ["available", "preview", "planned", "capable"];
|
|
5527
5739
|
};
|
|
5528
5740
|
};
|
|
5529
5741
|
};
|
|
@@ -5531,7 +5743,7 @@ export declare const platformCapabilitiesSchema: {
|
|
|
5531
5743
|
readonly deployment: {
|
|
5532
5744
|
readonly type: "object";
|
|
5533
5745
|
readonly additionalProperties: false;
|
|
5534
|
-
readonly required: readonly ["executionOwner", "durableRuns", "clientCanCheckpoint", "backendImageBuild"];
|
|
5746
|
+
readonly required: readonly ["executionOwner", "durableRuns", "clientCanCheckpoint", "acceptedApplicationContracts", "backendImageBuild"];
|
|
5535
5747
|
readonly properties: {
|
|
5536
5748
|
readonly executionOwner: {
|
|
5537
5749
|
readonly const: "platform";
|
|
@@ -5542,6 +5754,35 @@ export declare const platformCapabilitiesSchema: {
|
|
|
5542
5754
|
readonly clientCanCheckpoint: {
|
|
5543
5755
|
readonly const: false;
|
|
5544
5756
|
};
|
|
5757
|
+
readonly acceptedApplicationContracts: {
|
|
5758
|
+
readonly type: "array";
|
|
5759
|
+
readonly minItems: 1;
|
|
5760
|
+
readonly maxItems: 8;
|
|
5761
|
+
readonly uniqueItems: true;
|
|
5762
|
+
readonly items: {
|
|
5763
|
+
readonly type: "object";
|
|
5764
|
+
readonly additionalProperties: false;
|
|
5765
|
+
readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
|
|
5766
|
+
readonly properties: {
|
|
5767
|
+
readonly appPackageSchemaVersion: {
|
|
5768
|
+
readonly type: "string";
|
|
5769
|
+
readonly minLength: 1;
|
|
5770
|
+
};
|
|
5771
|
+
readonly configurationBundleSchemaVersion: {
|
|
5772
|
+
readonly type: "string";
|
|
5773
|
+
readonly minLength: 1;
|
|
5774
|
+
};
|
|
5775
|
+
readonly contractBundleSchemaVersion: {
|
|
5776
|
+
readonly type: "string";
|
|
5777
|
+
readonly minLength: 1;
|
|
5778
|
+
};
|
|
5779
|
+
readonly compilerContractVersion: {
|
|
5780
|
+
readonly type: "string";
|
|
5781
|
+
readonly minLength: 1;
|
|
5782
|
+
};
|
|
5783
|
+
};
|
|
5784
|
+
};
|
|
5785
|
+
};
|
|
5545
5786
|
readonly backendImageBuild: {
|
|
5546
5787
|
readonly type: "object";
|
|
5547
5788
|
readonly additionalProperties: false;
|
|
@@ -5598,9 +5839,18 @@ export declare const platformCapabilitiesSchema: {
|
|
|
5598
5839
|
readonly environmentBoundClients: {
|
|
5599
5840
|
readonly type: "boolean";
|
|
5600
5841
|
};
|
|
5842
|
+
readonly platformManagedRuntimeClients: {
|
|
5843
|
+
readonly type: "boolean";
|
|
5844
|
+
};
|
|
5601
5845
|
readonly dualSecretRotation: {
|
|
5602
5846
|
readonly type: "boolean";
|
|
5603
5847
|
};
|
|
5848
|
+
readonly stagedRuntimeRotation: {
|
|
5849
|
+
readonly type: "boolean";
|
|
5850
|
+
};
|
|
5851
|
+
readonly runtimeRotationUsesSameVersionRedeploy: {
|
|
5852
|
+
readonly type: "boolean";
|
|
5853
|
+
};
|
|
5604
5854
|
readonly defaultRotationGracePeriodSeconds: {
|
|
5605
5855
|
readonly type: "integer";
|
|
5606
5856
|
readonly minimum: 0;
|
|
@@ -11737,11 +11987,31 @@ export declare const contractSchemas: {
|
|
|
11737
11987
|
readonly minLength: 1;
|
|
11738
11988
|
};
|
|
11739
11989
|
};
|
|
11990
|
+
readonly maxLength: {
|
|
11991
|
+
readonly type: "integer";
|
|
11992
|
+
readonly minimum: 1;
|
|
11993
|
+
readonly maximum: 1000000;
|
|
11994
|
+
};
|
|
11995
|
+
readonly precision: {
|
|
11996
|
+
readonly type: "integer";
|
|
11997
|
+
readonly minimum: 1;
|
|
11998
|
+
readonly maximum: 1000;
|
|
11999
|
+
};
|
|
12000
|
+
readonly scale: {
|
|
12001
|
+
readonly type: "integer";
|
|
12002
|
+
readonly minimum: 0;
|
|
12003
|
+
readonly maximum: 1000;
|
|
12004
|
+
};
|
|
11740
12005
|
readonly maxCount: {
|
|
11741
12006
|
readonly type: "integer";
|
|
11742
12007
|
readonly minimum: 1;
|
|
11743
12008
|
readonly maximum: 100;
|
|
11744
12009
|
};
|
|
12010
|
+
readonly maxSizeMb: {
|
|
12011
|
+
readonly type: "integer";
|
|
12012
|
+
readonly minimum: 1;
|
|
12013
|
+
readonly maximum: 1024;
|
|
12014
|
+
};
|
|
11745
12015
|
readonly accept: {
|
|
11746
12016
|
readonly oneOf: readonly [{
|
|
11747
12017
|
readonly type: "string";
|
|
@@ -11876,6 +12146,49 @@ export declare const contractSchemas: {
|
|
|
11876
12146
|
readonly timePrecision: {
|
|
11877
12147
|
readonly enum: readonly ["minute", "second"];
|
|
11878
12148
|
};
|
|
12149
|
+
readonly serial: {
|
|
12150
|
+
readonly type: "object";
|
|
12151
|
+
readonly additionalProperties: false;
|
|
12152
|
+
readonly properties: {
|
|
12153
|
+
readonly prefix: {
|
|
12154
|
+
readonly type: "string";
|
|
12155
|
+
readonly maxLength: 64;
|
|
12156
|
+
};
|
|
12157
|
+
readonly digits: {
|
|
12158
|
+
readonly type: "integer";
|
|
12159
|
+
readonly minimum: 1;
|
|
12160
|
+
readonly maximum: 32;
|
|
12161
|
+
};
|
|
12162
|
+
readonly start: {
|
|
12163
|
+
readonly type: "integer";
|
|
12164
|
+
readonly minimum: 0;
|
|
12165
|
+
};
|
|
12166
|
+
};
|
|
12167
|
+
};
|
|
12168
|
+
readonly subtable: {
|
|
12169
|
+
readonly type: "object";
|
|
12170
|
+
readonly additionalProperties: false;
|
|
12171
|
+
readonly required: readonly ["resourceCode", "foreignKey", "orderField"];
|
|
12172
|
+
readonly properties: {
|
|
12173
|
+
readonly resourceCode: {
|
|
12174
|
+
readonly type: "string";
|
|
12175
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
12176
|
+
};
|
|
12177
|
+
readonly foreignKey: {
|
|
12178
|
+
readonly type: "string";
|
|
12179
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
12180
|
+
};
|
|
12181
|
+
readonly orderField: {
|
|
12182
|
+
readonly type: "string";
|
|
12183
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
12184
|
+
};
|
|
12185
|
+
readonly maxRows: {
|
|
12186
|
+
readonly type: "integer";
|
|
12187
|
+
readonly minimum: 1;
|
|
12188
|
+
readonly maximum: 49;
|
|
12189
|
+
};
|
|
12190
|
+
};
|
|
12191
|
+
};
|
|
11879
12192
|
};
|
|
11880
12193
|
};
|
|
11881
12194
|
};
|
|
@@ -12919,6 +13232,108 @@ export declare const contractSchemas: {
|
|
|
12919
13232
|
};
|
|
12920
13233
|
};
|
|
12921
13234
|
};
|
|
13235
|
+
}, {
|
|
13236
|
+
readonly type: "object";
|
|
13237
|
+
readonly additionalProperties: false;
|
|
13238
|
+
readonly required: readonly ["kind", "resourceCode", "lockKey", "errorCode", "id"];
|
|
13239
|
+
readonly properties: {
|
|
13240
|
+
readonly kind: {
|
|
13241
|
+
readonly const: "record-exists";
|
|
13242
|
+
};
|
|
13243
|
+
readonly resourceCode: {
|
|
13244
|
+
readonly type: "string";
|
|
13245
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
13246
|
+
};
|
|
13247
|
+
readonly lockKey: {
|
|
13248
|
+
readonly type: "string";
|
|
13249
|
+
readonly minLength: 1;
|
|
13250
|
+
readonly maxLength: 128;
|
|
13251
|
+
};
|
|
13252
|
+
readonly errorCode: {
|
|
13253
|
+
readonly type: "string";
|
|
13254
|
+
readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
|
|
13255
|
+
};
|
|
13256
|
+
readonly id: {
|
|
13257
|
+
readonly type: "string";
|
|
13258
|
+
readonly minLength: 1;
|
|
13259
|
+
};
|
|
13260
|
+
};
|
|
13261
|
+
}, {
|
|
13262
|
+
readonly type: "object";
|
|
13263
|
+
readonly additionalProperties: false;
|
|
13264
|
+
readonly required: readonly ["kind", "resourceCode", "lockKey", "errorCode", "id", "assertions"];
|
|
13265
|
+
readonly properties: {
|
|
13266
|
+
readonly kind: {
|
|
13267
|
+
readonly const: "record-match";
|
|
13268
|
+
};
|
|
13269
|
+
readonly resourceCode: {
|
|
13270
|
+
readonly type: "string";
|
|
13271
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
13272
|
+
};
|
|
13273
|
+
readonly lockKey: {
|
|
13274
|
+
readonly type: "string";
|
|
13275
|
+
readonly minLength: 1;
|
|
13276
|
+
readonly maxLength: 128;
|
|
13277
|
+
};
|
|
13278
|
+
readonly errorCode: {
|
|
13279
|
+
readonly type: "string";
|
|
13280
|
+
readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
|
|
13281
|
+
};
|
|
13282
|
+
readonly id: {
|
|
13283
|
+
readonly type: "string";
|
|
13284
|
+
readonly minLength: 1;
|
|
13285
|
+
};
|
|
13286
|
+
readonly assertions: {
|
|
13287
|
+
readonly type: "array";
|
|
13288
|
+
readonly minItems: 1;
|
|
13289
|
+
readonly maxItems: 20;
|
|
13290
|
+
readonly items: {
|
|
13291
|
+
readonly oneOf: readonly [{
|
|
13292
|
+
readonly type: "object";
|
|
13293
|
+
readonly additionalProperties: false;
|
|
13294
|
+
readonly required: readonly ["kind", "field", "operator"];
|
|
13295
|
+
readonly properties: {
|
|
13296
|
+
readonly kind: {
|
|
13297
|
+
readonly const: "value";
|
|
13298
|
+
};
|
|
13299
|
+
readonly field: {
|
|
13300
|
+
readonly type: "string";
|
|
13301
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
13302
|
+
};
|
|
13303
|
+
readonly operator: {
|
|
13304
|
+
readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "in", "between", "has", "hasAny", "hasAll", "overlaps", "containedBy", "jsonContains", "isEmpty", "isNotEmpty"];
|
|
13305
|
+
};
|
|
13306
|
+
readonly value: {};
|
|
13307
|
+
readonly path: {
|
|
13308
|
+
readonly type: "string";
|
|
13309
|
+
readonly minLength: 1;
|
|
13310
|
+
readonly maxLength: 128;
|
|
13311
|
+
};
|
|
13312
|
+
};
|
|
13313
|
+
}, {
|
|
13314
|
+
readonly type: "object";
|
|
13315
|
+
readonly additionalProperties: false;
|
|
13316
|
+
readonly required: readonly ["kind", "leftField", "operator", "rightField"];
|
|
13317
|
+
readonly properties: {
|
|
13318
|
+
readonly kind: {
|
|
13319
|
+
readonly const: "field";
|
|
13320
|
+
};
|
|
13321
|
+
readonly leftField: {
|
|
13322
|
+
readonly type: "string";
|
|
13323
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
13324
|
+
};
|
|
13325
|
+
readonly operator: {
|
|
13326
|
+
readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
|
|
13327
|
+
};
|
|
13328
|
+
readonly rightField: {
|
|
13329
|
+
readonly type: "string";
|
|
13330
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
13331
|
+
};
|
|
13332
|
+
};
|
|
13333
|
+
}];
|
|
13334
|
+
};
|
|
13335
|
+
};
|
|
13336
|
+
};
|
|
12922
13337
|
}];
|
|
12923
13338
|
};
|
|
12924
13339
|
};
|
|
@@ -15023,7 +15438,7 @@ export declare const contractSchemas: {
|
|
|
15023
15438
|
readonly compatibility: {
|
|
15024
15439
|
readonly type: "object";
|
|
15025
15440
|
readonly additionalProperties: false;
|
|
15026
|
-
readonly required: readonly ["minimumPlatformVersion", "requiredCapabilities"];
|
|
15441
|
+
readonly required: readonly ["minimumPlatformVersion", "requiredCapabilities", "applicationContract"];
|
|
15027
15442
|
readonly properties: {
|
|
15028
15443
|
readonly minimumPlatformVersion: {
|
|
15029
15444
|
readonly type: "string";
|
|
@@ -15037,6 +15452,29 @@ export declare const contractSchemas: {
|
|
|
15037
15452
|
readonly minLength: 1;
|
|
15038
15453
|
};
|
|
15039
15454
|
};
|
|
15455
|
+
readonly applicationContract: {
|
|
15456
|
+
readonly type: "object";
|
|
15457
|
+
readonly additionalProperties: false;
|
|
15458
|
+
readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
|
|
15459
|
+
readonly properties: {
|
|
15460
|
+
readonly appPackageSchemaVersion: {
|
|
15461
|
+
readonly type: "string";
|
|
15462
|
+
readonly minLength: 1;
|
|
15463
|
+
};
|
|
15464
|
+
readonly configurationBundleSchemaVersion: {
|
|
15465
|
+
readonly type: "string";
|
|
15466
|
+
readonly minLength: 1;
|
|
15467
|
+
};
|
|
15468
|
+
readonly contractBundleSchemaVersion: {
|
|
15469
|
+
readonly type: "string";
|
|
15470
|
+
readonly minLength: 1;
|
|
15471
|
+
};
|
|
15472
|
+
readonly compilerContractVersion: {
|
|
15473
|
+
readonly type: "string";
|
|
15474
|
+
readonly minLength: 1;
|
|
15475
|
+
};
|
|
15476
|
+
};
|
|
15477
|
+
};
|
|
15040
15478
|
};
|
|
15041
15479
|
};
|
|
15042
15480
|
readonly metadata: {
|
|
@@ -15705,7 +16143,8 @@ export declare const contractSchemas: {
|
|
|
15705
16143
|
readonly type: "object";
|
|
15706
16144
|
readonly additionalProperties: {
|
|
15707
16145
|
readonly type: "object";
|
|
15708
|
-
readonly additionalProperties:
|
|
16146
|
+
readonly additionalProperties: true;
|
|
16147
|
+
readonly maxProperties: 16;
|
|
15709
16148
|
readonly required: readonly ["version", "status"];
|
|
15710
16149
|
readonly properties: {
|
|
15711
16150
|
readonly version: {
|
|
@@ -15713,7 +16152,7 @@ export declare const contractSchemas: {
|
|
|
15713
16152
|
readonly minLength: 1;
|
|
15714
16153
|
};
|
|
15715
16154
|
readonly status: {
|
|
15716
|
-
readonly enum: readonly ["available", "preview", "planned"];
|
|
16155
|
+
readonly enum: readonly ["available", "preview", "planned", "capable"];
|
|
15717
16156
|
};
|
|
15718
16157
|
};
|
|
15719
16158
|
};
|
|
@@ -15721,7 +16160,7 @@ export declare const contractSchemas: {
|
|
|
15721
16160
|
readonly deployment: {
|
|
15722
16161
|
readonly type: "object";
|
|
15723
16162
|
readonly additionalProperties: false;
|
|
15724
|
-
readonly required: readonly ["executionOwner", "durableRuns", "clientCanCheckpoint", "backendImageBuild"];
|
|
16163
|
+
readonly required: readonly ["executionOwner", "durableRuns", "clientCanCheckpoint", "acceptedApplicationContracts", "backendImageBuild"];
|
|
15725
16164
|
readonly properties: {
|
|
15726
16165
|
readonly executionOwner: {
|
|
15727
16166
|
readonly const: "platform";
|
|
@@ -15732,6 +16171,35 @@ export declare const contractSchemas: {
|
|
|
15732
16171
|
readonly clientCanCheckpoint: {
|
|
15733
16172
|
readonly const: false;
|
|
15734
16173
|
};
|
|
16174
|
+
readonly acceptedApplicationContracts: {
|
|
16175
|
+
readonly type: "array";
|
|
16176
|
+
readonly minItems: 1;
|
|
16177
|
+
readonly maxItems: 8;
|
|
16178
|
+
readonly uniqueItems: true;
|
|
16179
|
+
readonly items: {
|
|
16180
|
+
readonly type: "object";
|
|
16181
|
+
readonly additionalProperties: false;
|
|
16182
|
+
readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
|
|
16183
|
+
readonly properties: {
|
|
16184
|
+
readonly appPackageSchemaVersion: {
|
|
16185
|
+
readonly type: "string";
|
|
16186
|
+
readonly minLength: 1;
|
|
16187
|
+
};
|
|
16188
|
+
readonly configurationBundleSchemaVersion: {
|
|
16189
|
+
readonly type: "string";
|
|
16190
|
+
readonly minLength: 1;
|
|
16191
|
+
};
|
|
16192
|
+
readonly contractBundleSchemaVersion: {
|
|
16193
|
+
readonly type: "string";
|
|
16194
|
+
readonly minLength: 1;
|
|
16195
|
+
};
|
|
16196
|
+
readonly compilerContractVersion: {
|
|
16197
|
+
readonly type: "string";
|
|
16198
|
+
readonly minLength: 1;
|
|
16199
|
+
};
|
|
16200
|
+
};
|
|
16201
|
+
};
|
|
16202
|
+
};
|
|
15735
16203
|
readonly backendImageBuild: {
|
|
15736
16204
|
readonly type: "object";
|
|
15737
16205
|
readonly additionalProperties: false;
|
|
@@ -15788,9 +16256,18 @@ export declare const contractSchemas: {
|
|
|
15788
16256
|
readonly environmentBoundClients: {
|
|
15789
16257
|
readonly type: "boolean";
|
|
15790
16258
|
};
|
|
16259
|
+
readonly platformManagedRuntimeClients: {
|
|
16260
|
+
readonly type: "boolean";
|
|
16261
|
+
};
|
|
15791
16262
|
readonly dualSecretRotation: {
|
|
15792
16263
|
readonly type: "boolean";
|
|
15793
16264
|
};
|
|
16265
|
+
readonly stagedRuntimeRotation: {
|
|
16266
|
+
readonly type: "boolean";
|
|
16267
|
+
};
|
|
16268
|
+
readonly runtimeRotationUsesSameVersionRedeploy: {
|
|
16269
|
+
readonly type: "boolean";
|
|
16270
|
+
};
|
|
15794
16271
|
readonly defaultRotationGracePeriodSeconds: {
|
|
15795
16272
|
readonly type: "integer";
|
|
15796
16273
|
readonly minimum: 0;
|