openxiangda-contracts 2.0.0-alpha.52 → 2.0.0-alpha.53

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
@@ -100,7 +100,7 @@ export declare const workspaceContextSchema: {
100
100
  readonly minLength: 1;
101
101
  };
102
102
  readonly contractVersion: {
103
- readonly const: "2.0.0-alpha.3";
103
+ readonly const: "2.0.0-alpha.4";
104
104
  };
105
105
  readonly nodeVersion: {
106
106
  readonly type: "string";
@@ -5022,6 +5022,291 @@ export declare const applicationContractCompatibilitySchema: {
5022
5022
  };
5023
5023
  };
5024
5024
  };
5025
+ export declare const configurationCompatibilitySchema: {
5026
+ readonly $id: "openxiangda.configuration-compatibility/v1";
5027
+ readonly type: "object";
5028
+ readonly additionalProperties: false;
5029
+ readonly required: readonly ["schemaVersion", "capability", "requestSchemaVersion", "resultSchemaVersion", "endpointTemplate", "limits", "supportedApplicationContracts"];
5030
+ readonly properties: {
5031
+ readonly schemaVersion: {
5032
+ readonly const: "openxiangda.configuration-compatibility/v1";
5033
+ };
5034
+ readonly capability: {
5035
+ readonly type: "object";
5036
+ readonly additionalProperties: false;
5037
+ readonly required: readonly ["code", "version", "status"];
5038
+ readonly properties: {
5039
+ readonly code: {
5040
+ readonly const: "configuration.compatibility-preflight";
5041
+ };
5042
+ readonly version: {
5043
+ readonly type: "string";
5044
+ readonly minLength: 1;
5045
+ };
5046
+ readonly status: {
5047
+ readonly const: "available";
5048
+ };
5049
+ };
5050
+ };
5051
+ readonly requestSchemaVersion: {
5052
+ readonly const: "openxiangda.configuration-validation-request/v1";
5053
+ };
5054
+ readonly resultSchemaVersion: {
5055
+ readonly const: "openxiangda.configuration-validation-result/v1";
5056
+ };
5057
+ readonly endpointTemplate: {
5058
+ readonly const: "/openxiangda-api/v2/applications/{appCode}/configuration-compatibility";
5059
+ };
5060
+ readonly limits: {
5061
+ readonly type: "object";
5062
+ readonly additionalProperties: false;
5063
+ readonly required: readonly ["configurationCanonicalBytes", "contractCanonicalBytes", "requestBytes"];
5064
+ readonly properties: {
5065
+ readonly configurationCanonicalBytes: {
5066
+ readonly const: number;
5067
+ };
5068
+ readonly contractCanonicalBytes: {
5069
+ readonly const: number;
5070
+ };
5071
+ readonly requestBytes: {
5072
+ readonly const: number;
5073
+ };
5074
+ };
5075
+ };
5076
+ readonly supportedApplicationContracts: {
5077
+ readonly type: "array";
5078
+ readonly minItems: 1;
5079
+ readonly maxItems: 8;
5080
+ readonly uniqueItems: true;
5081
+ readonly items: {
5082
+ readonly type: "object";
5083
+ readonly additionalProperties: false;
5084
+ readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
5085
+ readonly properties: {
5086
+ readonly appPackageSchemaVersion: {
5087
+ readonly type: "string";
5088
+ readonly minLength: 1;
5089
+ };
5090
+ readonly configurationBundleSchemaVersion: {
5091
+ readonly type: "string";
5092
+ readonly minLength: 1;
5093
+ };
5094
+ readonly contractBundleSchemaVersion: {
5095
+ readonly type: "string";
5096
+ readonly minLength: 1;
5097
+ };
5098
+ readonly compilerContractVersion: {
5099
+ readonly type: "string";
5100
+ readonly minLength: 1;
5101
+ };
5102
+ };
5103
+ };
5104
+ };
5105
+ };
5106
+ };
5107
+ export declare const configurationValidationRequestSchema: {
5108
+ readonly $id: "openxiangda.configuration-validation-request/v1";
5109
+ readonly type: "object";
5110
+ readonly additionalProperties: false;
5111
+ readonly required: readonly ["schemaVersion", "environmentKey", "clientContractVersion", "required", "configuration", "contract"];
5112
+ readonly properties: {
5113
+ readonly schemaVersion: {
5114
+ readonly const: "openxiangda.configuration-validation-request/v1";
5115
+ };
5116
+ readonly environmentKey: {
5117
+ readonly enum: readonly ["preproduction", "production"];
5118
+ };
5119
+ readonly clientContractVersion: {
5120
+ readonly const: "2.0.0-alpha.4";
5121
+ };
5122
+ readonly required: {
5123
+ readonly type: "object";
5124
+ readonly additionalProperties: false;
5125
+ readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
5126
+ readonly properties: {
5127
+ readonly appPackageSchemaVersion: {
5128
+ readonly type: "string";
5129
+ readonly minLength: 1;
5130
+ };
5131
+ readonly configurationBundleSchemaVersion: {
5132
+ readonly type: "string";
5133
+ readonly minLength: 1;
5134
+ };
5135
+ readonly contractBundleSchemaVersion: {
5136
+ readonly type: "string";
5137
+ readonly minLength: 1;
5138
+ };
5139
+ readonly compilerContractVersion: {
5140
+ readonly type: "string";
5141
+ readonly minLength: 1;
5142
+ };
5143
+ };
5144
+ };
5145
+ readonly configuration: {
5146
+ readonly type: "object";
5147
+ readonly additionalProperties: false;
5148
+ readonly required: readonly ["schemaVersion", "digest", "canonical"];
5149
+ readonly properties: {
5150
+ readonly schemaVersion: {
5151
+ readonly type: "string";
5152
+ readonly minLength: 1;
5153
+ };
5154
+ readonly digest: {
5155
+ readonly type: "string";
5156
+ readonly pattern: "^[0-9a-f]{64}$";
5157
+ };
5158
+ readonly canonical: {
5159
+ readonly type: "string";
5160
+ readonly minLength: 1;
5161
+ readonly maxLength: number;
5162
+ };
5163
+ };
5164
+ };
5165
+ readonly contract: {
5166
+ readonly type: "object";
5167
+ readonly additionalProperties: false;
5168
+ readonly required: readonly ["schemaVersion", "digest", "canonical"];
5169
+ readonly properties: {
5170
+ readonly schemaVersion: {
5171
+ readonly type: "string";
5172
+ readonly minLength: 1;
5173
+ };
5174
+ readonly digest: {
5175
+ readonly type: "string";
5176
+ readonly pattern: "^[0-9a-f]{64}$";
5177
+ };
5178
+ readonly canonical: {
5179
+ readonly type: "string";
5180
+ readonly minLength: 1;
5181
+ readonly maxLength: number;
5182
+ };
5183
+ };
5184
+ };
5185
+ };
5186
+ };
5187
+ export declare const configurationValidationResultSchema: {
5188
+ readonly $id: "openxiangda.configuration-validation-result/v1";
5189
+ readonly type: "object";
5190
+ readonly additionalProperties: false;
5191
+ readonly required: readonly ["schemaVersion", "compatible", "environmentKey", "clientContractVersion", "platformVersion", "capability", "required", "supported", "source", "projectionDigest", "counts"];
5192
+ readonly properties: {
5193
+ readonly schemaVersion: {
5194
+ readonly const: "openxiangda.configuration-validation-result/v1";
5195
+ };
5196
+ readonly compatible: {
5197
+ readonly const: true;
5198
+ };
5199
+ readonly environmentKey: {
5200
+ readonly enum: readonly ["preproduction", "production"];
5201
+ };
5202
+ readonly clientContractVersion: {
5203
+ readonly const: "2.0.0-alpha.4";
5204
+ };
5205
+ readonly platformVersion: {
5206
+ readonly type: "string";
5207
+ readonly minLength: 1;
5208
+ };
5209
+ readonly capability: {
5210
+ readonly type: "object";
5211
+ readonly additionalProperties: false;
5212
+ readonly required: readonly ["code", "version", "status"];
5213
+ readonly properties: {
5214
+ readonly code: {
5215
+ readonly const: "configuration.compatibility-preflight";
5216
+ };
5217
+ readonly version: {
5218
+ readonly type: "string";
5219
+ readonly minLength: 1;
5220
+ };
5221
+ readonly status: {
5222
+ readonly const: "available";
5223
+ };
5224
+ };
5225
+ };
5226
+ readonly required: {
5227
+ readonly type: "object";
5228
+ readonly additionalProperties: false;
5229
+ readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
5230
+ readonly properties: {
5231
+ readonly appPackageSchemaVersion: {
5232
+ readonly type: "string";
5233
+ readonly minLength: 1;
5234
+ };
5235
+ readonly configurationBundleSchemaVersion: {
5236
+ readonly type: "string";
5237
+ readonly minLength: 1;
5238
+ };
5239
+ readonly contractBundleSchemaVersion: {
5240
+ readonly type: "string";
5241
+ readonly minLength: 1;
5242
+ };
5243
+ readonly compilerContractVersion: {
5244
+ readonly type: "string";
5245
+ readonly minLength: 1;
5246
+ };
5247
+ };
5248
+ };
5249
+ readonly supported: {
5250
+ readonly type: "array";
5251
+ readonly minItems: 1;
5252
+ readonly maxItems: 8;
5253
+ readonly uniqueItems: true;
5254
+ readonly items: {
5255
+ readonly type: "object";
5256
+ readonly additionalProperties: false;
5257
+ readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
5258
+ readonly properties: {
5259
+ readonly appPackageSchemaVersion: {
5260
+ readonly type: "string";
5261
+ readonly minLength: 1;
5262
+ };
5263
+ readonly configurationBundleSchemaVersion: {
5264
+ readonly type: "string";
5265
+ readonly minLength: 1;
5266
+ };
5267
+ readonly contractBundleSchemaVersion: {
5268
+ readonly type: "string";
5269
+ readonly minLength: 1;
5270
+ };
5271
+ readonly compilerContractVersion: {
5272
+ readonly type: "string";
5273
+ readonly minLength: 1;
5274
+ };
5275
+ };
5276
+ };
5277
+ };
5278
+ readonly source: {
5279
+ readonly type: "object";
5280
+ readonly additionalProperties: false;
5281
+ readonly required: readonly ["configurationDigest", "contractDigest"];
5282
+ readonly properties: {
5283
+ readonly configurationDigest: {
5284
+ readonly type: "string";
5285
+ readonly pattern: "^[0-9a-f]{64}$";
5286
+ };
5287
+ readonly contractDigest: {
5288
+ readonly type: "string";
5289
+ readonly pattern: "^[0-9a-f]{64}$";
5290
+ };
5291
+ };
5292
+ };
5293
+ readonly projectionDigest: {
5294
+ readonly type: "string";
5295
+ readonly pattern: "^[0-9a-f]{64}$";
5296
+ };
5297
+ readonly counts: {
5298
+ readonly type: "object";
5299
+ readonly additionalProperties: false;
5300
+ readonly required: readonly ["resources", "perspectives", "capabilities", "eventProducers", "workflowDefinitions"];
5301
+ readonly properties: {
5302
+ [k: string]: {
5303
+ type: string;
5304
+ minimum: number;
5305
+ };
5306
+ };
5307
+ };
5308
+ };
5309
+ };
5025
5310
  export declare const appPackageSchema: {
5026
5311
  readonly $id: "openxiangda.app-package/v2";
5027
5312
  readonly type: "object";
@@ -5071,7 +5356,7 @@ export declare const appPackageSchema: {
5071
5356
  readonly minLength: 1;
5072
5357
  };
5073
5358
  readonly contractVersion: {
5074
- readonly const: "2.0.0-alpha.3";
5359
+ readonly const: "2.0.0-alpha.4";
5075
5360
  };
5076
5361
  };
5077
5362
  };
@@ -5228,7 +5513,7 @@ export declare const appVersionSchema: {
5228
5513
  readonly minLength: 1;
5229
5514
  };
5230
5515
  readonly contractVersion: {
5231
- readonly const: "2.0.0-alpha.3";
5516
+ readonly const: "2.0.0-alpha.4";
5232
5517
  };
5233
5518
  };
5234
5519
  };
@@ -5388,7 +5673,7 @@ export declare const environmentHeadSchema: {
5388
5673
  readonly minLength: 1;
5389
5674
  };
5390
5675
  readonly contractVersion: {
5391
- readonly const: "2.0.0-alpha.3";
5676
+ readonly const: "2.0.0-alpha.4";
5392
5677
  };
5393
5678
  };
5394
5679
  };
@@ -5569,7 +5854,7 @@ export declare const applicationEnvironmentsSchema: {
5569
5854
  readonly minLength: 1;
5570
5855
  };
5571
5856
  readonly contractVersion: {
5572
- readonly const: "2.0.0-alpha.3";
5857
+ readonly const: "2.0.0-alpha.4";
5573
5858
  };
5574
5859
  };
5575
5860
  };
@@ -5817,7 +6102,7 @@ export declare const platformCapabilitiesSchema: {
5817
6102
  readonly $id: "openxiangda.platform-capabilities/v2";
5818
6103
  readonly type: "object";
5819
6104
  readonly additionalProperties: false;
5820
- readonly required: readonly ["schemaVersion", "apiVersion", "contractVersion", "platformVersion", "features", "deployment"];
6105
+ readonly required: readonly ["schemaVersion", "apiVersion", "contractVersion", "platformVersion", "features", "configurationCompatibility", "deployment"];
5821
6106
  readonly properties: {
5822
6107
  readonly schemaVersion: {
5823
6108
  readonly const: "openxiangda.platform-capabilities/v2";
@@ -5826,7 +6111,7 @@ export declare const platformCapabilitiesSchema: {
5826
6111
  readonly const: "v2";
5827
6112
  };
5828
6113
  readonly contractVersion: {
5829
- readonly const: "2.0.0-alpha.3";
6114
+ readonly const: "2.0.0-alpha.4";
5830
6115
  };
5831
6116
  readonly platformVersion: {
5832
6117
  readonly type: "string";
@@ -5850,21 +6135,58 @@ export declare const platformCapabilitiesSchema: {
5850
6135
  };
5851
6136
  };
5852
6137
  };
5853
- readonly deployment: {
6138
+ readonly configurationCompatibility: {
6139
+ readonly $id: "openxiangda.configuration-compatibility/v1";
5854
6140
  readonly type: "object";
5855
6141
  readonly additionalProperties: false;
5856
- readonly required: readonly ["executionOwner", "durableRuns", "clientCanCheckpoint", "acceptedApplicationContracts", "backendImageBuild"];
6142
+ readonly required: readonly ["schemaVersion", "capability", "requestSchemaVersion", "resultSchemaVersion", "endpointTemplate", "limits", "supportedApplicationContracts"];
5857
6143
  readonly properties: {
5858
- readonly executionOwner: {
5859
- readonly const: "platform";
6144
+ readonly schemaVersion: {
6145
+ readonly const: "openxiangda.configuration-compatibility/v1";
5860
6146
  };
5861
- readonly durableRuns: {
5862
- readonly const: true;
6147
+ readonly capability: {
6148
+ readonly type: "object";
6149
+ readonly additionalProperties: false;
6150
+ readonly required: readonly ["code", "version", "status"];
6151
+ readonly properties: {
6152
+ readonly code: {
6153
+ readonly const: "configuration.compatibility-preflight";
6154
+ };
6155
+ readonly version: {
6156
+ readonly type: "string";
6157
+ readonly minLength: 1;
6158
+ };
6159
+ readonly status: {
6160
+ readonly const: "available";
6161
+ };
6162
+ };
5863
6163
  };
5864
- readonly clientCanCheckpoint: {
5865
- readonly const: false;
6164
+ readonly requestSchemaVersion: {
6165
+ readonly const: "openxiangda.configuration-validation-request/v1";
5866
6166
  };
5867
- readonly acceptedApplicationContracts: {
6167
+ readonly resultSchemaVersion: {
6168
+ readonly const: "openxiangda.configuration-validation-result/v1";
6169
+ };
6170
+ readonly endpointTemplate: {
6171
+ readonly const: "/openxiangda-api/v2/applications/{appCode}/configuration-compatibility";
6172
+ };
6173
+ readonly limits: {
6174
+ readonly type: "object";
6175
+ readonly additionalProperties: false;
6176
+ readonly required: readonly ["configurationCanonicalBytes", "contractCanonicalBytes", "requestBytes"];
6177
+ readonly properties: {
6178
+ readonly configurationCanonicalBytes: {
6179
+ readonly const: number;
6180
+ };
6181
+ readonly contractCanonicalBytes: {
6182
+ readonly const: number;
6183
+ };
6184
+ readonly requestBytes: {
6185
+ readonly const: number;
6186
+ };
6187
+ };
6188
+ };
6189
+ readonly supportedApplicationContracts: {
5868
6190
  readonly type: "array";
5869
6191
  readonly minItems: 1;
5870
6192
  readonly maxItems: 8;
@@ -5893,6 +6215,22 @@ export declare const platformCapabilitiesSchema: {
5893
6215
  };
5894
6216
  };
5895
6217
  };
6218
+ };
6219
+ };
6220
+ readonly deployment: {
6221
+ readonly type: "object";
6222
+ readonly additionalProperties: false;
6223
+ readonly required: readonly ["executionOwner", "durableRuns", "clientCanCheckpoint", "backendImageBuild"];
6224
+ readonly properties: {
6225
+ readonly executionOwner: {
6226
+ readonly const: "platform";
6227
+ };
6228
+ readonly durableRuns: {
6229
+ readonly const: true;
6230
+ };
6231
+ readonly clientCanCheckpoint: {
6232
+ readonly const: false;
6233
+ };
5896
6234
  readonly backendImageBuild: {
5897
6235
  readonly type: "object";
5898
6236
  readonly additionalProperties: false;
@@ -9104,7 +9442,7 @@ export declare const contractSchemas: {
9104
9442
  readonly minLength: 1;
9105
9443
  };
9106
9444
  readonly contractVersion: {
9107
- readonly const: "2.0.0-alpha.3";
9445
+ readonly const: "2.0.0-alpha.4";
9108
9446
  };
9109
9447
  readonly nodeVersion: {
9110
9448
  readonly type: "string";
@@ -15747,7 +16085,7 @@ export declare const contractSchemas: {
15747
16085
  readonly minLength: 1;
15748
16086
  };
15749
16087
  readonly contractVersion: {
15750
- readonly const: "2.0.0-alpha.3";
16088
+ readonly const: "2.0.0-alpha.4";
15751
16089
  };
15752
16090
  };
15753
16091
  };
@@ -15904,7 +16242,7 @@ export declare const contractSchemas: {
15904
16242
  readonly minLength: 1;
15905
16243
  };
15906
16244
  readonly contractVersion: {
15907
- readonly const: "2.0.0-alpha.3";
16245
+ readonly const: "2.0.0-alpha.4";
15908
16246
  };
15909
16247
  };
15910
16248
  };
@@ -16064,7 +16402,7 @@ export declare const contractSchemas: {
16064
16402
  readonly minLength: 1;
16065
16403
  };
16066
16404
  readonly contractVersion: {
16067
- readonly const: "2.0.0-alpha.3";
16405
+ readonly const: "2.0.0-alpha.4";
16068
16406
  };
16069
16407
  };
16070
16408
  };
@@ -16245,7 +16583,7 @@ export declare const contractSchemas: {
16245
16583
  readonly minLength: 1;
16246
16584
  };
16247
16585
  readonly contractVersion: {
16248
- readonly const: "2.0.0-alpha.3";
16586
+ readonly const: "2.0.0-alpha.4";
16249
16587
  };
16250
16588
  };
16251
16589
  };
@@ -16493,7 +16831,7 @@ export declare const contractSchemas: {
16493
16831
  readonly $id: "openxiangda.platform-capabilities/v2";
16494
16832
  readonly type: "object";
16495
16833
  readonly additionalProperties: false;
16496
- readonly required: readonly ["schemaVersion", "apiVersion", "contractVersion", "platformVersion", "features", "deployment"];
16834
+ readonly required: readonly ["schemaVersion", "apiVersion", "contractVersion", "platformVersion", "features", "configurationCompatibility", "deployment"];
16497
16835
  readonly properties: {
16498
16836
  readonly schemaVersion: {
16499
16837
  readonly const: "openxiangda.platform-capabilities/v2";
@@ -16502,7 +16840,7 @@ export declare const contractSchemas: {
16502
16840
  readonly const: "v2";
16503
16841
  };
16504
16842
  readonly contractVersion: {
16505
- readonly const: "2.0.0-alpha.3";
16843
+ readonly const: "2.0.0-alpha.4";
16506
16844
  };
16507
16845
  readonly platformVersion: {
16508
16846
  readonly type: "string";
@@ -16526,21 +16864,58 @@ export declare const contractSchemas: {
16526
16864
  };
16527
16865
  };
16528
16866
  };
16529
- readonly deployment: {
16867
+ readonly configurationCompatibility: {
16868
+ readonly $id: "openxiangda.configuration-compatibility/v1";
16530
16869
  readonly type: "object";
16531
16870
  readonly additionalProperties: false;
16532
- readonly required: readonly ["executionOwner", "durableRuns", "clientCanCheckpoint", "acceptedApplicationContracts", "backendImageBuild"];
16871
+ readonly required: readonly ["schemaVersion", "capability", "requestSchemaVersion", "resultSchemaVersion", "endpointTemplate", "limits", "supportedApplicationContracts"];
16533
16872
  readonly properties: {
16534
- readonly executionOwner: {
16535
- readonly const: "platform";
16873
+ readonly schemaVersion: {
16874
+ readonly const: "openxiangda.configuration-compatibility/v1";
16536
16875
  };
16537
- readonly durableRuns: {
16538
- readonly const: true;
16876
+ readonly capability: {
16877
+ readonly type: "object";
16878
+ readonly additionalProperties: false;
16879
+ readonly required: readonly ["code", "version", "status"];
16880
+ readonly properties: {
16881
+ readonly code: {
16882
+ readonly const: "configuration.compatibility-preflight";
16883
+ };
16884
+ readonly version: {
16885
+ readonly type: "string";
16886
+ readonly minLength: 1;
16887
+ };
16888
+ readonly status: {
16889
+ readonly const: "available";
16890
+ };
16891
+ };
16539
16892
  };
16540
- readonly clientCanCheckpoint: {
16541
- readonly const: false;
16893
+ readonly requestSchemaVersion: {
16894
+ readonly const: "openxiangda.configuration-validation-request/v1";
16895
+ };
16896
+ readonly resultSchemaVersion: {
16897
+ readonly const: "openxiangda.configuration-validation-result/v1";
16898
+ };
16899
+ readonly endpointTemplate: {
16900
+ readonly const: "/openxiangda-api/v2/applications/{appCode}/configuration-compatibility";
16542
16901
  };
16543
- readonly acceptedApplicationContracts: {
16902
+ readonly limits: {
16903
+ readonly type: "object";
16904
+ readonly additionalProperties: false;
16905
+ readonly required: readonly ["configurationCanonicalBytes", "contractCanonicalBytes", "requestBytes"];
16906
+ readonly properties: {
16907
+ readonly configurationCanonicalBytes: {
16908
+ readonly const: number;
16909
+ };
16910
+ readonly contractCanonicalBytes: {
16911
+ readonly const: number;
16912
+ };
16913
+ readonly requestBytes: {
16914
+ readonly const: number;
16915
+ };
16916
+ };
16917
+ };
16918
+ readonly supportedApplicationContracts: {
16544
16919
  readonly type: "array";
16545
16920
  readonly minItems: 1;
16546
16921
  readonly maxItems: 8;
@@ -16569,6 +16944,22 @@ export declare const contractSchemas: {
16569
16944
  };
16570
16945
  };
16571
16946
  };
16947
+ };
16948
+ };
16949
+ readonly deployment: {
16950
+ readonly type: "object";
16951
+ readonly additionalProperties: false;
16952
+ readonly required: readonly ["executionOwner", "durableRuns", "clientCanCheckpoint", "backendImageBuild"];
16953
+ readonly properties: {
16954
+ readonly executionOwner: {
16955
+ readonly const: "platform";
16956
+ };
16957
+ readonly durableRuns: {
16958
+ readonly const: true;
16959
+ };
16960
+ readonly clientCanCheckpoint: {
16961
+ readonly const: false;
16962
+ };
16572
16963
  readonly backendImageBuild: {
16573
16964
  readonly type: "object";
16574
16965
  readonly additionalProperties: false;
@@ -16651,6 +17042,291 @@ export declare const contractSchemas: {
16651
17042
  };
16652
17043
  };
16653
17044
  };
17045
+ readonly configurationCompatibility: {
17046
+ readonly $id: "openxiangda.configuration-compatibility/v1";
17047
+ readonly type: "object";
17048
+ readonly additionalProperties: false;
17049
+ readonly required: readonly ["schemaVersion", "capability", "requestSchemaVersion", "resultSchemaVersion", "endpointTemplate", "limits", "supportedApplicationContracts"];
17050
+ readonly properties: {
17051
+ readonly schemaVersion: {
17052
+ readonly const: "openxiangda.configuration-compatibility/v1";
17053
+ };
17054
+ readonly capability: {
17055
+ readonly type: "object";
17056
+ readonly additionalProperties: false;
17057
+ readonly required: readonly ["code", "version", "status"];
17058
+ readonly properties: {
17059
+ readonly code: {
17060
+ readonly const: "configuration.compatibility-preflight";
17061
+ };
17062
+ readonly version: {
17063
+ readonly type: "string";
17064
+ readonly minLength: 1;
17065
+ };
17066
+ readonly status: {
17067
+ readonly const: "available";
17068
+ };
17069
+ };
17070
+ };
17071
+ readonly requestSchemaVersion: {
17072
+ readonly const: "openxiangda.configuration-validation-request/v1";
17073
+ };
17074
+ readonly resultSchemaVersion: {
17075
+ readonly const: "openxiangda.configuration-validation-result/v1";
17076
+ };
17077
+ readonly endpointTemplate: {
17078
+ readonly const: "/openxiangda-api/v2/applications/{appCode}/configuration-compatibility";
17079
+ };
17080
+ readonly limits: {
17081
+ readonly type: "object";
17082
+ readonly additionalProperties: false;
17083
+ readonly required: readonly ["configurationCanonicalBytes", "contractCanonicalBytes", "requestBytes"];
17084
+ readonly properties: {
17085
+ readonly configurationCanonicalBytes: {
17086
+ readonly const: number;
17087
+ };
17088
+ readonly contractCanonicalBytes: {
17089
+ readonly const: number;
17090
+ };
17091
+ readonly requestBytes: {
17092
+ readonly const: number;
17093
+ };
17094
+ };
17095
+ };
17096
+ readonly supportedApplicationContracts: {
17097
+ readonly type: "array";
17098
+ readonly minItems: 1;
17099
+ readonly maxItems: 8;
17100
+ readonly uniqueItems: true;
17101
+ readonly items: {
17102
+ readonly type: "object";
17103
+ readonly additionalProperties: false;
17104
+ readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
17105
+ readonly properties: {
17106
+ readonly appPackageSchemaVersion: {
17107
+ readonly type: "string";
17108
+ readonly minLength: 1;
17109
+ };
17110
+ readonly configurationBundleSchemaVersion: {
17111
+ readonly type: "string";
17112
+ readonly minLength: 1;
17113
+ };
17114
+ readonly contractBundleSchemaVersion: {
17115
+ readonly type: "string";
17116
+ readonly minLength: 1;
17117
+ };
17118
+ readonly compilerContractVersion: {
17119
+ readonly type: "string";
17120
+ readonly minLength: 1;
17121
+ };
17122
+ };
17123
+ };
17124
+ };
17125
+ };
17126
+ };
17127
+ readonly configurationValidationRequest: {
17128
+ readonly $id: "openxiangda.configuration-validation-request/v1";
17129
+ readonly type: "object";
17130
+ readonly additionalProperties: false;
17131
+ readonly required: readonly ["schemaVersion", "environmentKey", "clientContractVersion", "required", "configuration", "contract"];
17132
+ readonly properties: {
17133
+ readonly schemaVersion: {
17134
+ readonly const: "openxiangda.configuration-validation-request/v1";
17135
+ };
17136
+ readonly environmentKey: {
17137
+ readonly enum: readonly ["preproduction", "production"];
17138
+ };
17139
+ readonly clientContractVersion: {
17140
+ readonly const: "2.0.0-alpha.4";
17141
+ };
17142
+ readonly required: {
17143
+ readonly type: "object";
17144
+ readonly additionalProperties: false;
17145
+ readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
17146
+ readonly properties: {
17147
+ readonly appPackageSchemaVersion: {
17148
+ readonly type: "string";
17149
+ readonly minLength: 1;
17150
+ };
17151
+ readonly configurationBundleSchemaVersion: {
17152
+ readonly type: "string";
17153
+ readonly minLength: 1;
17154
+ };
17155
+ readonly contractBundleSchemaVersion: {
17156
+ readonly type: "string";
17157
+ readonly minLength: 1;
17158
+ };
17159
+ readonly compilerContractVersion: {
17160
+ readonly type: "string";
17161
+ readonly minLength: 1;
17162
+ };
17163
+ };
17164
+ };
17165
+ readonly configuration: {
17166
+ readonly type: "object";
17167
+ readonly additionalProperties: false;
17168
+ readonly required: readonly ["schemaVersion", "digest", "canonical"];
17169
+ readonly properties: {
17170
+ readonly schemaVersion: {
17171
+ readonly type: "string";
17172
+ readonly minLength: 1;
17173
+ };
17174
+ readonly digest: {
17175
+ readonly type: "string";
17176
+ readonly pattern: "^[0-9a-f]{64}$";
17177
+ };
17178
+ readonly canonical: {
17179
+ readonly type: "string";
17180
+ readonly minLength: 1;
17181
+ readonly maxLength: number;
17182
+ };
17183
+ };
17184
+ };
17185
+ readonly contract: {
17186
+ readonly type: "object";
17187
+ readonly additionalProperties: false;
17188
+ readonly required: readonly ["schemaVersion", "digest", "canonical"];
17189
+ readonly properties: {
17190
+ readonly schemaVersion: {
17191
+ readonly type: "string";
17192
+ readonly minLength: 1;
17193
+ };
17194
+ readonly digest: {
17195
+ readonly type: "string";
17196
+ readonly pattern: "^[0-9a-f]{64}$";
17197
+ };
17198
+ readonly canonical: {
17199
+ readonly type: "string";
17200
+ readonly minLength: 1;
17201
+ readonly maxLength: number;
17202
+ };
17203
+ };
17204
+ };
17205
+ };
17206
+ };
17207
+ readonly configurationValidationResult: {
17208
+ readonly $id: "openxiangda.configuration-validation-result/v1";
17209
+ readonly type: "object";
17210
+ readonly additionalProperties: false;
17211
+ readonly required: readonly ["schemaVersion", "compatible", "environmentKey", "clientContractVersion", "platformVersion", "capability", "required", "supported", "source", "projectionDigest", "counts"];
17212
+ readonly properties: {
17213
+ readonly schemaVersion: {
17214
+ readonly const: "openxiangda.configuration-validation-result/v1";
17215
+ };
17216
+ readonly compatible: {
17217
+ readonly const: true;
17218
+ };
17219
+ readonly environmentKey: {
17220
+ readonly enum: readonly ["preproduction", "production"];
17221
+ };
17222
+ readonly clientContractVersion: {
17223
+ readonly const: "2.0.0-alpha.4";
17224
+ };
17225
+ readonly platformVersion: {
17226
+ readonly type: "string";
17227
+ readonly minLength: 1;
17228
+ };
17229
+ readonly capability: {
17230
+ readonly type: "object";
17231
+ readonly additionalProperties: false;
17232
+ readonly required: readonly ["code", "version", "status"];
17233
+ readonly properties: {
17234
+ readonly code: {
17235
+ readonly const: "configuration.compatibility-preflight";
17236
+ };
17237
+ readonly version: {
17238
+ readonly type: "string";
17239
+ readonly minLength: 1;
17240
+ };
17241
+ readonly status: {
17242
+ readonly const: "available";
17243
+ };
17244
+ };
17245
+ };
17246
+ readonly required: {
17247
+ readonly type: "object";
17248
+ readonly additionalProperties: false;
17249
+ readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
17250
+ readonly properties: {
17251
+ readonly appPackageSchemaVersion: {
17252
+ readonly type: "string";
17253
+ readonly minLength: 1;
17254
+ };
17255
+ readonly configurationBundleSchemaVersion: {
17256
+ readonly type: "string";
17257
+ readonly minLength: 1;
17258
+ };
17259
+ readonly contractBundleSchemaVersion: {
17260
+ readonly type: "string";
17261
+ readonly minLength: 1;
17262
+ };
17263
+ readonly compilerContractVersion: {
17264
+ readonly type: "string";
17265
+ readonly minLength: 1;
17266
+ };
17267
+ };
17268
+ };
17269
+ readonly supported: {
17270
+ readonly type: "array";
17271
+ readonly minItems: 1;
17272
+ readonly maxItems: 8;
17273
+ readonly uniqueItems: true;
17274
+ readonly items: {
17275
+ readonly type: "object";
17276
+ readonly additionalProperties: false;
17277
+ readonly required: readonly ["appPackageSchemaVersion", "configurationBundleSchemaVersion", "contractBundleSchemaVersion", "compilerContractVersion"];
17278
+ readonly properties: {
17279
+ readonly appPackageSchemaVersion: {
17280
+ readonly type: "string";
17281
+ readonly minLength: 1;
17282
+ };
17283
+ readonly configurationBundleSchemaVersion: {
17284
+ readonly type: "string";
17285
+ readonly minLength: 1;
17286
+ };
17287
+ readonly contractBundleSchemaVersion: {
17288
+ readonly type: "string";
17289
+ readonly minLength: 1;
17290
+ };
17291
+ readonly compilerContractVersion: {
17292
+ readonly type: "string";
17293
+ readonly minLength: 1;
17294
+ };
17295
+ };
17296
+ };
17297
+ };
17298
+ readonly source: {
17299
+ readonly type: "object";
17300
+ readonly additionalProperties: false;
17301
+ readonly required: readonly ["configurationDigest", "contractDigest"];
17302
+ readonly properties: {
17303
+ readonly configurationDigest: {
17304
+ readonly type: "string";
17305
+ readonly pattern: "^[0-9a-f]{64}$";
17306
+ };
17307
+ readonly contractDigest: {
17308
+ readonly type: "string";
17309
+ readonly pattern: "^[0-9a-f]{64}$";
17310
+ };
17311
+ };
17312
+ };
17313
+ readonly projectionDigest: {
17314
+ readonly type: "string";
17315
+ readonly pattern: "^[0-9a-f]{64}$";
17316
+ };
17317
+ readonly counts: {
17318
+ readonly type: "object";
17319
+ readonly additionalProperties: false;
17320
+ readonly required: readonly ["resources", "perspectives", "capabilities", "eventProducers", "workflowDefinitions"];
17321
+ readonly properties: {
17322
+ [k: string]: {
17323
+ type: string;
17324
+ minimum: number;
17325
+ };
17326
+ };
17327
+ };
17328
+ };
17329
+ };
16654
17330
  readonly configurationBundle: {
16655
17331
  readonly $id: "openxiangda.config-bundle/v3";
16656
17332
  readonly type: "object";