openxiangda-contracts 2.82.0 → 2.83.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/data-query-validation.d.ts +1 -2
- package/dist/data-query-validation.d.ts.map +1 -1
- package/dist/data-query-validation.js +2 -22
- package/dist/data-query-validation.js.map +1 -1
- package/dist/event-worker-effect.d.ts +2 -0
- package/dist/event-worker-effect.d.ts.map +1 -0
- package/dist/event-worker-effect.js +2 -0
- package/dist/event-worker-effect.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/native-compiler/compiler.d.ts.map +1 -1
- package/dist/native-compiler/compiler.js +6 -4
- package/dist/native-compiler/compiler.js.map +1 -1
- package/dist/native-compiler/data-query-operators.d.ts +3 -0
- package/dist/native-compiler/data-query-operators.d.ts.map +1 -0
- package/dist/native-compiler/data-query-operators.js +23 -0
- package/dist/native-compiler/data-query-operators.js.map +1 -0
- package/dist/native-compiler/event-action.d.ts +6 -2
- package/dist/native-compiler/event-action.d.ts.map +1 -1
- package/dist/native-compiler/event-action.js +7 -1
- package/dist/native-compiler/event-action.js.map +1 -1
- package/dist/native-compiler/event-worker-effect.d.ts +76 -0
- package/dist/native-compiler/event-worker-effect.d.ts.map +1 -0
- package/dist/native-compiler/event-worker-effect.js +208 -0
- package/dist/native-compiler/event-worker-effect.js.map +1 -0
- package/dist/native-compiler/index.cjs +4 -3
- package/dist/native-compiler/index.d.ts +1 -0
- package/dist/native-compiler/index.d.ts.map +1 -1
- package/dist/native-compiler/index.js +4 -3
- package/dist/native-version.d.ts +1 -0
- package/dist/native-version.d.ts.map +1 -1
- package/dist/native-version.js +1 -0
- package/dist/native-version.js.map +1 -1
- package/dist/native.d.ts +3 -2
- package/dist/native.d.ts.map +1 -1
- package/dist/native.js.map +1 -1
- package/dist/schemas.d.ts +464 -86
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +40 -13
- package/dist/schemas.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -11067,6 +11067,188 @@ export declare const eventSchemaDefinitionSchema: {
|
|
|
11067
11067
|
};
|
|
11068
11068
|
};
|
|
11069
11069
|
};
|
|
11070
|
+
export declare const eventWorkerEffectDeclarationSchema: {
|
|
11071
|
+
readonly type: "object";
|
|
11072
|
+
readonly additionalProperties: false;
|
|
11073
|
+
readonly required: readonly ["kind", "version", "resources", "emitEventTypes", "maxOperations", "maxGuards", "maxQueryRecords", "maxIntentsPerEvent"];
|
|
11074
|
+
readonly properties: {
|
|
11075
|
+
readonly kind: {
|
|
11076
|
+
readonly const: "worker-effect";
|
|
11077
|
+
};
|
|
11078
|
+
readonly version: {
|
|
11079
|
+
readonly const: 1;
|
|
11080
|
+
};
|
|
11081
|
+
readonly maxOperations: {
|
|
11082
|
+
readonly type: "integer";
|
|
11083
|
+
readonly minimum: 1;
|
|
11084
|
+
readonly maximum: 8;
|
|
11085
|
+
};
|
|
11086
|
+
readonly maxGuards: {
|
|
11087
|
+
readonly type: "integer";
|
|
11088
|
+
readonly minimum: 1;
|
|
11089
|
+
readonly maximum: 24;
|
|
11090
|
+
};
|
|
11091
|
+
readonly maxQueryRecords: {
|
|
11092
|
+
readonly type: "integer";
|
|
11093
|
+
readonly minimum: 1;
|
|
11094
|
+
readonly maximum: 500;
|
|
11095
|
+
};
|
|
11096
|
+
readonly maxIntentsPerEvent: {
|
|
11097
|
+
readonly type: "integer";
|
|
11098
|
+
readonly minimum: 1;
|
|
11099
|
+
readonly maximum: 100;
|
|
11100
|
+
};
|
|
11101
|
+
readonly emitEventTypes: {
|
|
11102
|
+
readonly type: "array";
|
|
11103
|
+
readonly maxItems: 16;
|
|
11104
|
+
readonly uniqueItems: true;
|
|
11105
|
+
readonly items: {
|
|
11106
|
+
readonly type: "string";
|
|
11107
|
+
readonly minLength: 1;
|
|
11108
|
+
};
|
|
11109
|
+
};
|
|
11110
|
+
readonly resources: {
|
|
11111
|
+
readonly type: "array";
|
|
11112
|
+
readonly minItems: 1;
|
|
11113
|
+
readonly maxItems: 16;
|
|
11114
|
+
readonly items: {
|
|
11115
|
+
readonly type: "object";
|
|
11116
|
+
readonly additionalProperties: false;
|
|
11117
|
+
readonly required: readonly ["resourceCode", "readFields", "writeOperations", "writeFields"];
|
|
11118
|
+
readonly properties: {
|
|
11119
|
+
readonly resourceCode: {
|
|
11120
|
+
readonly type: "string";
|
|
11121
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
11122
|
+
};
|
|
11123
|
+
readonly readFields: {
|
|
11124
|
+
readonly type: "array";
|
|
11125
|
+
readonly minItems: 1;
|
|
11126
|
+
readonly maxItems: 64;
|
|
11127
|
+
readonly uniqueItems: true;
|
|
11128
|
+
readonly items: {
|
|
11129
|
+
readonly type: "string";
|
|
11130
|
+
readonly minLength: 1;
|
|
11131
|
+
};
|
|
11132
|
+
};
|
|
11133
|
+
readonly writeFields: {
|
|
11134
|
+
readonly type: "array";
|
|
11135
|
+
readonly maxItems: 64;
|
|
11136
|
+
readonly uniqueItems: true;
|
|
11137
|
+
readonly items: {
|
|
11138
|
+
readonly type: "string";
|
|
11139
|
+
readonly minLength: 1;
|
|
11140
|
+
};
|
|
11141
|
+
};
|
|
11142
|
+
readonly writeOperations: {
|
|
11143
|
+
readonly type: "array";
|
|
11144
|
+
readonly maxItems: 2;
|
|
11145
|
+
readonly uniqueItems: true;
|
|
11146
|
+
readonly items: {
|
|
11147
|
+
readonly enum: readonly ["create", "update"];
|
|
11148
|
+
};
|
|
11149
|
+
};
|
|
11150
|
+
};
|
|
11151
|
+
};
|
|
11152
|
+
};
|
|
11153
|
+
};
|
|
11154
|
+
};
|
|
11155
|
+
export declare const eventWorkerEffectPlanSchema: {
|
|
11156
|
+
readonly required: readonly ["kind", "version", "resources", "emitEventTypes", "maxOperations", "maxGuards", "maxQueryRecords", "maxIntentsPerEvent", "resourceDigests", "digest"];
|
|
11157
|
+
readonly properties: {
|
|
11158
|
+
readonly digest: {
|
|
11159
|
+
readonly type: "string";
|
|
11160
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
11161
|
+
};
|
|
11162
|
+
readonly resourceDigests: {
|
|
11163
|
+
readonly type: "object";
|
|
11164
|
+
readonly maxProperties: 16;
|
|
11165
|
+
readonly additionalProperties: {
|
|
11166
|
+
readonly type: "string";
|
|
11167
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
11168
|
+
};
|
|
11169
|
+
};
|
|
11170
|
+
readonly kind: {
|
|
11171
|
+
readonly const: "worker-effect";
|
|
11172
|
+
};
|
|
11173
|
+
readonly version: {
|
|
11174
|
+
readonly const: 1;
|
|
11175
|
+
};
|
|
11176
|
+
readonly maxOperations: {
|
|
11177
|
+
readonly type: "integer";
|
|
11178
|
+
readonly minimum: 1;
|
|
11179
|
+
readonly maximum: 8;
|
|
11180
|
+
};
|
|
11181
|
+
readonly maxGuards: {
|
|
11182
|
+
readonly type: "integer";
|
|
11183
|
+
readonly minimum: 1;
|
|
11184
|
+
readonly maximum: 24;
|
|
11185
|
+
};
|
|
11186
|
+
readonly maxQueryRecords: {
|
|
11187
|
+
readonly type: "integer";
|
|
11188
|
+
readonly minimum: 1;
|
|
11189
|
+
readonly maximum: 500;
|
|
11190
|
+
};
|
|
11191
|
+
readonly maxIntentsPerEvent: {
|
|
11192
|
+
readonly type: "integer";
|
|
11193
|
+
readonly minimum: 1;
|
|
11194
|
+
readonly maximum: 100;
|
|
11195
|
+
};
|
|
11196
|
+
readonly emitEventTypes: {
|
|
11197
|
+
readonly type: "array";
|
|
11198
|
+
readonly maxItems: 16;
|
|
11199
|
+
readonly uniqueItems: true;
|
|
11200
|
+
readonly items: {
|
|
11201
|
+
readonly type: "string";
|
|
11202
|
+
readonly minLength: 1;
|
|
11203
|
+
};
|
|
11204
|
+
};
|
|
11205
|
+
readonly resources: {
|
|
11206
|
+
readonly type: "array";
|
|
11207
|
+
readonly minItems: 1;
|
|
11208
|
+
readonly maxItems: 16;
|
|
11209
|
+
readonly items: {
|
|
11210
|
+
readonly type: "object";
|
|
11211
|
+
readonly additionalProperties: false;
|
|
11212
|
+
readonly required: readonly ["resourceCode", "readFields", "writeOperations", "writeFields"];
|
|
11213
|
+
readonly properties: {
|
|
11214
|
+
readonly resourceCode: {
|
|
11215
|
+
readonly type: "string";
|
|
11216
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
11217
|
+
};
|
|
11218
|
+
readonly readFields: {
|
|
11219
|
+
readonly type: "array";
|
|
11220
|
+
readonly minItems: 1;
|
|
11221
|
+
readonly maxItems: 64;
|
|
11222
|
+
readonly uniqueItems: true;
|
|
11223
|
+
readonly items: {
|
|
11224
|
+
readonly type: "string";
|
|
11225
|
+
readonly minLength: 1;
|
|
11226
|
+
};
|
|
11227
|
+
};
|
|
11228
|
+
readonly writeFields: {
|
|
11229
|
+
readonly type: "array";
|
|
11230
|
+
readonly maxItems: 64;
|
|
11231
|
+
readonly uniqueItems: true;
|
|
11232
|
+
readonly items: {
|
|
11233
|
+
readonly type: "string";
|
|
11234
|
+
readonly minLength: 1;
|
|
11235
|
+
};
|
|
11236
|
+
};
|
|
11237
|
+
readonly writeOperations: {
|
|
11238
|
+
readonly type: "array";
|
|
11239
|
+
readonly maxItems: 2;
|
|
11240
|
+
readonly uniqueItems: true;
|
|
11241
|
+
readonly items: {
|
|
11242
|
+
readonly enum: readonly ["create", "update"];
|
|
11243
|
+
};
|
|
11244
|
+
};
|
|
11245
|
+
};
|
|
11246
|
+
};
|
|
11247
|
+
};
|
|
11248
|
+
};
|
|
11249
|
+
readonly type: "object";
|
|
11250
|
+
readonly additionalProperties: false;
|
|
11251
|
+
};
|
|
11070
11252
|
export declare const eventSubscriptionSchema: {
|
|
11071
11253
|
readonly $id: "openxiangda.event-subscription/v2";
|
|
11072
11254
|
readonly type: "object";
|
|
@@ -11077,58 +11259,156 @@ export declare const eventSubscriptionSchema: {
|
|
|
11077
11259
|
readonly const: "openxiangda.event-subscription/v2";
|
|
11078
11260
|
};
|
|
11079
11261
|
readonly execution: {
|
|
11080
|
-
readonly
|
|
11081
|
-
|
|
11082
|
-
|
|
11083
|
-
|
|
11084
|
-
readonly
|
|
11085
|
-
readonly
|
|
11086
|
-
|
|
11087
|
-
|
|
11088
|
-
readonly
|
|
11089
|
-
|
|
11090
|
-
|
|
11091
|
-
readonly
|
|
11092
|
-
readonly pattern: "^[0-9a-f]{64}$";
|
|
11093
|
-
};
|
|
11094
|
-
readonly resourceDigests: {
|
|
11095
|
-
readonly type: "object";
|
|
11096
|
-
readonly maxProperties: 16;
|
|
11097
|
-
readonly additionalProperties: {
|
|
11262
|
+
readonly oneOf: readonly [{
|
|
11263
|
+
readonly type: "object";
|
|
11264
|
+
readonly additionalProperties: false;
|
|
11265
|
+
readonly required: readonly ["kind", "version", "operations", "resourceDigests", "digest"];
|
|
11266
|
+
readonly properties: {
|
|
11267
|
+
readonly kind: {
|
|
11268
|
+
readonly const: "native-data";
|
|
11269
|
+
};
|
|
11270
|
+
readonly version: {
|
|
11271
|
+
readonly const: 1;
|
|
11272
|
+
};
|
|
11273
|
+
readonly digest: {
|
|
11098
11274
|
readonly type: "string";
|
|
11099
11275
|
readonly pattern: "^[0-9a-f]{64}$";
|
|
11100
11276
|
};
|
|
11101
|
-
|
|
11102
|
-
readonly operations: {
|
|
11103
|
-
readonly type: "array";
|
|
11104
|
-
readonly minItems: 1;
|
|
11105
|
-
readonly maxItems: 16;
|
|
11106
|
-
readonly items: {
|
|
11277
|
+
readonly resourceDigests: {
|
|
11107
11278
|
readonly type: "object";
|
|
11108
|
-
readonly
|
|
11109
|
-
readonly
|
|
11110
|
-
|
|
11111
|
-
readonly
|
|
11112
|
-
|
|
11113
|
-
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
readonly
|
|
11123
|
-
readonly
|
|
11279
|
+
readonly maxProperties: 16;
|
|
11280
|
+
readonly additionalProperties: {
|
|
11281
|
+
readonly type: "string";
|
|
11282
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
11283
|
+
};
|
|
11284
|
+
};
|
|
11285
|
+
readonly operations: {
|
|
11286
|
+
readonly type: "array";
|
|
11287
|
+
readonly minItems: 1;
|
|
11288
|
+
readonly maxItems: 16;
|
|
11289
|
+
readonly items: {
|
|
11290
|
+
readonly type: "object";
|
|
11291
|
+
readonly additionalProperties: false;
|
|
11292
|
+
readonly required: readonly ["operation", "resourceCode"];
|
|
11293
|
+
readonly properties: {
|
|
11294
|
+
readonly operation: {
|
|
11295
|
+
readonly enum: readonly ["create", "update", "delete"];
|
|
11296
|
+
};
|
|
11297
|
+
readonly resourceCode: {
|
|
11298
|
+
readonly type: "string";
|
|
11299
|
+
readonly minLength: 1;
|
|
11300
|
+
};
|
|
11301
|
+
readonly data: {
|
|
11302
|
+
readonly type: "object";
|
|
11303
|
+
readonly maxProperties: 32;
|
|
11304
|
+
};
|
|
11305
|
+
readonly id: {
|
|
11306
|
+
readonly type: "object";
|
|
11307
|
+
};
|
|
11308
|
+
readonly expectedRevision: {
|
|
11309
|
+
readonly type: "object";
|
|
11310
|
+
};
|
|
11124
11311
|
};
|
|
11125
|
-
|
|
11126
|
-
|
|
11312
|
+
};
|
|
11313
|
+
};
|
|
11314
|
+
};
|
|
11315
|
+
}, {
|
|
11316
|
+
readonly required: readonly ["kind", "version", "resources", "emitEventTypes", "maxOperations", "maxGuards", "maxQueryRecords", "maxIntentsPerEvent", "resourceDigests", "digest"];
|
|
11317
|
+
readonly properties: {
|
|
11318
|
+
readonly digest: {
|
|
11319
|
+
readonly type: "string";
|
|
11320
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
11321
|
+
};
|
|
11322
|
+
readonly resourceDigests: {
|
|
11323
|
+
readonly type: "object";
|
|
11324
|
+
readonly maxProperties: 16;
|
|
11325
|
+
readonly additionalProperties: {
|
|
11326
|
+
readonly type: "string";
|
|
11327
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
11328
|
+
};
|
|
11329
|
+
};
|
|
11330
|
+
readonly kind: {
|
|
11331
|
+
readonly const: "worker-effect";
|
|
11332
|
+
};
|
|
11333
|
+
readonly version: {
|
|
11334
|
+
readonly const: 1;
|
|
11335
|
+
};
|
|
11336
|
+
readonly maxOperations: {
|
|
11337
|
+
readonly type: "integer";
|
|
11338
|
+
readonly minimum: 1;
|
|
11339
|
+
readonly maximum: 8;
|
|
11340
|
+
};
|
|
11341
|
+
readonly maxGuards: {
|
|
11342
|
+
readonly type: "integer";
|
|
11343
|
+
readonly minimum: 1;
|
|
11344
|
+
readonly maximum: 24;
|
|
11345
|
+
};
|
|
11346
|
+
readonly maxQueryRecords: {
|
|
11347
|
+
readonly type: "integer";
|
|
11348
|
+
readonly minimum: 1;
|
|
11349
|
+
readonly maximum: 500;
|
|
11350
|
+
};
|
|
11351
|
+
readonly maxIntentsPerEvent: {
|
|
11352
|
+
readonly type: "integer";
|
|
11353
|
+
readonly minimum: 1;
|
|
11354
|
+
readonly maximum: 100;
|
|
11355
|
+
};
|
|
11356
|
+
readonly emitEventTypes: {
|
|
11357
|
+
readonly type: "array";
|
|
11358
|
+
readonly maxItems: 16;
|
|
11359
|
+
readonly uniqueItems: true;
|
|
11360
|
+
readonly items: {
|
|
11361
|
+
readonly type: "string";
|
|
11362
|
+
readonly minLength: 1;
|
|
11363
|
+
};
|
|
11364
|
+
};
|
|
11365
|
+
readonly resources: {
|
|
11366
|
+
readonly type: "array";
|
|
11367
|
+
readonly minItems: 1;
|
|
11368
|
+
readonly maxItems: 16;
|
|
11369
|
+
readonly items: {
|
|
11370
|
+
readonly type: "object";
|
|
11371
|
+
readonly additionalProperties: false;
|
|
11372
|
+
readonly required: readonly ["resourceCode", "readFields", "writeOperations", "writeFields"];
|
|
11373
|
+
readonly properties: {
|
|
11374
|
+
readonly resourceCode: {
|
|
11375
|
+
readonly type: "string";
|
|
11376
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
11377
|
+
};
|
|
11378
|
+
readonly readFields: {
|
|
11379
|
+
readonly type: "array";
|
|
11380
|
+
readonly minItems: 1;
|
|
11381
|
+
readonly maxItems: 64;
|
|
11382
|
+
readonly uniqueItems: true;
|
|
11383
|
+
readonly items: {
|
|
11384
|
+
readonly type: "string";
|
|
11385
|
+
readonly minLength: 1;
|
|
11386
|
+
};
|
|
11387
|
+
};
|
|
11388
|
+
readonly writeFields: {
|
|
11389
|
+
readonly type: "array";
|
|
11390
|
+
readonly maxItems: 64;
|
|
11391
|
+
readonly uniqueItems: true;
|
|
11392
|
+
readonly items: {
|
|
11393
|
+
readonly type: "string";
|
|
11394
|
+
readonly minLength: 1;
|
|
11395
|
+
};
|
|
11396
|
+
};
|
|
11397
|
+
readonly writeOperations: {
|
|
11398
|
+
readonly type: "array";
|
|
11399
|
+
readonly maxItems: 2;
|
|
11400
|
+
readonly uniqueItems: true;
|
|
11401
|
+
readonly items: {
|
|
11402
|
+
readonly enum: readonly ["create", "update"];
|
|
11403
|
+
};
|
|
11404
|
+
};
|
|
11127
11405
|
};
|
|
11128
11406
|
};
|
|
11129
11407
|
};
|
|
11130
11408
|
};
|
|
11131
|
-
|
|
11409
|
+
readonly type: "object";
|
|
11410
|
+
readonly additionalProperties: false;
|
|
11411
|
+
}];
|
|
11132
11412
|
};
|
|
11133
11413
|
readonly id: {
|
|
11134
11414
|
readonly type: "string";
|
|
@@ -30814,58 +31094,156 @@ export declare const contractSchemas: {
|
|
|
30814
31094
|
readonly const: "openxiangda.event-subscription/v2";
|
|
30815
31095
|
};
|
|
30816
31096
|
readonly execution: {
|
|
30817
|
-
readonly
|
|
30818
|
-
|
|
30819
|
-
|
|
30820
|
-
|
|
30821
|
-
readonly
|
|
30822
|
-
readonly
|
|
30823
|
-
|
|
30824
|
-
|
|
30825
|
-
readonly
|
|
30826
|
-
|
|
30827
|
-
|
|
30828
|
-
readonly
|
|
30829
|
-
readonly pattern: "^[0-9a-f]{64}$";
|
|
30830
|
-
};
|
|
30831
|
-
readonly resourceDigests: {
|
|
30832
|
-
readonly type: "object";
|
|
30833
|
-
readonly maxProperties: 16;
|
|
30834
|
-
readonly additionalProperties: {
|
|
31097
|
+
readonly oneOf: readonly [{
|
|
31098
|
+
readonly type: "object";
|
|
31099
|
+
readonly additionalProperties: false;
|
|
31100
|
+
readonly required: readonly ["kind", "version", "operations", "resourceDigests", "digest"];
|
|
31101
|
+
readonly properties: {
|
|
31102
|
+
readonly kind: {
|
|
31103
|
+
readonly const: "native-data";
|
|
31104
|
+
};
|
|
31105
|
+
readonly version: {
|
|
31106
|
+
readonly const: 1;
|
|
31107
|
+
};
|
|
31108
|
+
readonly digest: {
|
|
30835
31109
|
readonly type: "string";
|
|
30836
31110
|
readonly pattern: "^[0-9a-f]{64}$";
|
|
30837
31111
|
};
|
|
30838
|
-
|
|
30839
|
-
readonly operations: {
|
|
30840
|
-
readonly type: "array";
|
|
30841
|
-
readonly minItems: 1;
|
|
30842
|
-
readonly maxItems: 16;
|
|
30843
|
-
readonly items: {
|
|
31112
|
+
readonly resourceDigests: {
|
|
30844
31113
|
readonly type: "object";
|
|
30845
|
-
readonly
|
|
30846
|
-
readonly
|
|
30847
|
-
|
|
30848
|
-
readonly
|
|
30849
|
-
|
|
30850
|
-
|
|
30851
|
-
|
|
30852
|
-
|
|
30853
|
-
|
|
30854
|
-
|
|
30855
|
-
|
|
30856
|
-
|
|
30857
|
-
|
|
30858
|
-
|
|
30859
|
-
readonly
|
|
30860
|
-
readonly
|
|
31114
|
+
readonly maxProperties: 16;
|
|
31115
|
+
readonly additionalProperties: {
|
|
31116
|
+
readonly type: "string";
|
|
31117
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
31118
|
+
};
|
|
31119
|
+
};
|
|
31120
|
+
readonly operations: {
|
|
31121
|
+
readonly type: "array";
|
|
31122
|
+
readonly minItems: 1;
|
|
31123
|
+
readonly maxItems: 16;
|
|
31124
|
+
readonly items: {
|
|
31125
|
+
readonly type: "object";
|
|
31126
|
+
readonly additionalProperties: false;
|
|
31127
|
+
readonly required: readonly ["operation", "resourceCode"];
|
|
31128
|
+
readonly properties: {
|
|
31129
|
+
readonly operation: {
|
|
31130
|
+
readonly enum: readonly ["create", "update", "delete"];
|
|
31131
|
+
};
|
|
31132
|
+
readonly resourceCode: {
|
|
31133
|
+
readonly type: "string";
|
|
31134
|
+
readonly minLength: 1;
|
|
31135
|
+
};
|
|
31136
|
+
readonly data: {
|
|
31137
|
+
readonly type: "object";
|
|
31138
|
+
readonly maxProperties: 32;
|
|
31139
|
+
};
|
|
31140
|
+
readonly id: {
|
|
31141
|
+
readonly type: "object";
|
|
31142
|
+
};
|
|
31143
|
+
readonly expectedRevision: {
|
|
31144
|
+
readonly type: "object";
|
|
31145
|
+
};
|
|
30861
31146
|
};
|
|
30862
|
-
|
|
30863
|
-
|
|
31147
|
+
};
|
|
31148
|
+
};
|
|
31149
|
+
};
|
|
31150
|
+
}, {
|
|
31151
|
+
readonly required: readonly ["kind", "version", "resources", "emitEventTypes", "maxOperations", "maxGuards", "maxQueryRecords", "maxIntentsPerEvent", "resourceDigests", "digest"];
|
|
31152
|
+
readonly properties: {
|
|
31153
|
+
readonly digest: {
|
|
31154
|
+
readonly type: "string";
|
|
31155
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
31156
|
+
};
|
|
31157
|
+
readonly resourceDigests: {
|
|
31158
|
+
readonly type: "object";
|
|
31159
|
+
readonly maxProperties: 16;
|
|
31160
|
+
readonly additionalProperties: {
|
|
31161
|
+
readonly type: "string";
|
|
31162
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
31163
|
+
};
|
|
31164
|
+
};
|
|
31165
|
+
readonly kind: {
|
|
31166
|
+
readonly const: "worker-effect";
|
|
31167
|
+
};
|
|
31168
|
+
readonly version: {
|
|
31169
|
+
readonly const: 1;
|
|
31170
|
+
};
|
|
31171
|
+
readonly maxOperations: {
|
|
31172
|
+
readonly type: "integer";
|
|
31173
|
+
readonly minimum: 1;
|
|
31174
|
+
readonly maximum: 8;
|
|
31175
|
+
};
|
|
31176
|
+
readonly maxGuards: {
|
|
31177
|
+
readonly type: "integer";
|
|
31178
|
+
readonly minimum: 1;
|
|
31179
|
+
readonly maximum: 24;
|
|
31180
|
+
};
|
|
31181
|
+
readonly maxQueryRecords: {
|
|
31182
|
+
readonly type: "integer";
|
|
31183
|
+
readonly minimum: 1;
|
|
31184
|
+
readonly maximum: 500;
|
|
31185
|
+
};
|
|
31186
|
+
readonly maxIntentsPerEvent: {
|
|
31187
|
+
readonly type: "integer";
|
|
31188
|
+
readonly minimum: 1;
|
|
31189
|
+
readonly maximum: 100;
|
|
31190
|
+
};
|
|
31191
|
+
readonly emitEventTypes: {
|
|
31192
|
+
readonly type: "array";
|
|
31193
|
+
readonly maxItems: 16;
|
|
31194
|
+
readonly uniqueItems: true;
|
|
31195
|
+
readonly items: {
|
|
31196
|
+
readonly type: "string";
|
|
31197
|
+
readonly minLength: 1;
|
|
31198
|
+
};
|
|
31199
|
+
};
|
|
31200
|
+
readonly resources: {
|
|
31201
|
+
readonly type: "array";
|
|
31202
|
+
readonly minItems: 1;
|
|
31203
|
+
readonly maxItems: 16;
|
|
31204
|
+
readonly items: {
|
|
31205
|
+
readonly type: "object";
|
|
31206
|
+
readonly additionalProperties: false;
|
|
31207
|
+
readonly required: readonly ["resourceCode", "readFields", "writeOperations", "writeFields"];
|
|
31208
|
+
readonly properties: {
|
|
31209
|
+
readonly resourceCode: {
|
|
31210
|
+
readonly type: "string";
|
|
31211
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
31212
|
+
};
|
|
31213
|
+
readonly readFields: {
|
|
31214
|
+
readonly type: "array";
|
|
31215
|
+
readonly minItems: 1;
|
|
31216
|
+
readonly maxItems: 64;
|
|
31217
|
+
readonly uniqueItems: true;
|
|
31218
|
+
readonly items: {
|
|
31219
|
+
readonly type: "string";
|
|
31220
|
+
readonly minLength: 1;
|
|
31221
|
+
};
|
|
31222
|
+
};
|
|
31223
|
+
readonly writeFields: {
|
|
31224
|
+
readonly type: "array";
|
|
31225
|
+
readonly maxItems: 64;
|
|
31226
|
+
readonly uniqueItems: true;
|
|
31227
|
+
readonly items: {
|
|
31228
|
+
readonly type: "string";
|
|
31229
|
+
readonly minLength: 1;
|
|
31230
|
+
};
|
|
31231
|
+
};
|
|
31232
|
+
readonly writeOperations: {
|
|
31233
|
+
readonly type: "array";
|
|
31234
|
+
readonly maxItems: 2;
|
|
31235
|
+
readonly uniqueItems: true;
|
|
31236
|
+
readonly items: {
|
|
31237
|
+
readonly enum: readonly ["create", "update"];
|
|
31238
|
+
};
|
|
31239
|
+
};
|
|
30864
31240
|
};
|
|
30865
31241
|
};
|
|
30866
31242
|
};
|
|
30867
31243
|
};
|
|
30868
|
-
|
|
31244
|
+
readonly type: "object";
|
|
31245
|
+
readonly additionalProperties: false;
|
|
31246
|
+
}];
|
|
30869
31247
|
};
|
|
30870
31248
|
readonly id: {
|
|
30871
31249
|
readonly type: "string";
|