openxiangda-contracts 2.16.2 → 2.17.1
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-view-validation.d.ts +1 -0
- package/dist/data-view-validation.d.ts.map +1 -1
- package/dist/data-view-validation.js +38 -1
- package/dist/data-view-validation.js.map +1 -1
- package/dist/native-compiler/compiler.d.ts +1 -0
- package/dist/native-compiler/compiler.d.ts.map +1 -1
- package/dist/native-compiler/compiler.js +336 -2
- package/dist/native-compiler/compiler.js.map +1 -1
- package/dist/native-compiler/data-surface.d.ts +2 -1
- package/dist/native-compiler/data-surface.d.ts.map +1 -1
- package/dist/native-compiler/data-surface.js +4 -1
- package/dist/native-compiler/data-surface.js.map +1 -1
- package/dist/native-compiler/draft-state.d.ts +3 -0
- package/dist/native-compiler/draft-state.d.ts.map +1 -0
- package/dist/native-compiler/draft-state.js +101 -0
- package/dist/native-compiler/draft-state.js.map +1 -0
- package/dist/native-compiler/index.cjs +5 -5
- 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 +5 -5
- package/dist/native.d.ts +134 -0
- package/dist/native.d.ts.map +1 -1
- package/dist/native.js.map +1 -1
- package/dist/schemas.d.ts +1090 -30
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +227 -0
- package/dist/schemas.js.map +1 -1
- package/dist/surface.d.ts +26 -0
- package/dist/surface.d.ts.map +1 -1
- package/dist/surface.js.map +1 -1
- package/dist/types.d.ts +9 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +2 -1
- package/dist/validation.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -4600,6 +4600,91 @@ export declare const dataResourceSchema: {
|
|
|
4600
4600
|
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
4601
4601
|
};
|
|
4602
4602
|
};
|
|
4603
|
+
readonly draftState: {
|
|
4604
|
+
readonly type: "object";
|
|
4605
|
+
readonly additionalProperties: false;
|
|
4606
|
+
readonly required: readonly ["version", "maxBytes", "fields"];
|
|
4607
|
+
readonly properties: {
|
|
4608
|
+
readonly version: {
|
|
4609
|
+
readonly type: "integer";
|
|
4610
|
+
readonly minimum: 1;
|
|
4611
|
+
readonly maximum: 1000000;
|
|
4612
|
+
};
|
|
4613
|
+
readonly maxBytes: {
|
|
4614
|
+
readonly type: "integer";
|
|
4615
|
+
readonly minimum: 2;
|
|
4616
|
+
readonly maximum: 196608;
|
|
4617
|
+
};
|
|
4618
|
+
readonly fields: {
|
|
4619
|
+
readonly type: "object";
|
|
4620
|
+
readonly minProperties: 1;
|
|
4621
|
+
readonly maxProperties: 50;
|
|
4622
|
+
readonly propertyNames: {
|
|
4623
|
+
readonly type: "string";
|
|
4624
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
4625
|
+
};
|
|
4626
|
+
readonly additionalProperties: {
|
|
4627
|
+
readonly oneOf: readonly [{
|
|
4628
|
+
readonly type: "object";
|
|
4629
|
+
readonly additionalProperties: false;
|
|
4630
|
+
readonly required: readonly ["type", "maxLength"];
|
|
4631
|
+
readonly properties: {
|
|
4632
|
+
readonly type: {
|
|
4633
|
+
readonly const: "string";
|
|
4634
|
+
};
|
|
4635
|
+
readonly required: {
|
|
4636
|
+
readonly type: "boolean";
|
|
4637
|
+
};
|
|
4638
|
+
readonly maxLength: {
|
|
4639
|
+
readonly type: "integer";
|
|
4640
|
+
readonly minimum: 1;
|
|
4641
|
+
readonly maximum: 196608;
|
|
4642
|
+
};
|
|
4643
|
+
readonly enum: {
|
|
4644
|
+
readonly type: "array";
|
|
4645
|
+
readonly minItems: 1;
|
|
4646
|
+
readonly maxItems: 100;
|
|
4647
|
+
readonly uniqueItems: true;
|
|
4648
|
+
readonly items: {
|
|
4649
|
+
readonly type: "string";
|
|
4650
|
+
readonly maxLength: 255;
|
|
4651
|
+
};
|
|
4652
|
+
};
|
|
4653
|
+
};
|
|
4654
|
+
}, {
|
|
4655
|
+
readonly type: "object";
|
|
4656
|
+
readonly additionalProperties: false;
|
|
4657
|
+
readonly required: readonly ["type"];
|
|
4658
|
+
readonly properties: {
|
|
4659
|
+
readonly type: {
|
|
4660
|
+
readonly enum: readonly ["number", "integer", "boolean"];
|
|
4661
|
+
};
|
|
4662
|
+
readonly required: {
|
|
4663
|
+
readonly type: "boolean";
|
|
4664
|
+
};
|
|
4665
|
+
};
|
|
4666
|
+
}, {
|
|
4667
|
+
readonly type: "object";
|
|
4668
|
+
readonly additionalProperties: false;
|
|
4669
|
+
readonly required: readonly ["type", "maxBytes"];
|
|
4670
|
+
readonly properties: {
|
|
4671
|
+
readonly type: {
|
|
4672
|
+
readonly const: "json.object";
|
|
4673
|
+
};
|
|
4674
|
+
readonly required: {
|
|
4675
|
+
readonly type: "boolean";
|
|
4676
|
+
};
|
|
4677
|
+
readonly maxBytes: {
|
|
4678
|
+
readonly type: "integer";
|
|
4679
|
+
readonly minimum: 2;
|
|
4680
|
+
readonly maximum: 65536;
|
|
4681
|
+
};
|
|
4682
|
+
};
|
|
4683
|
+
}];
|
|
4684
|
+
};
|
|
4685
|
+
};
|
|
4686
|
+
};
|
|
4687
|
+
};
|
|
4603
4688
|
};
|
|
4604
4689
|
};
|
|
4605
4690
|
readonly detail: {
|
|
@@ -5051,6 +5136,91 @@ export declare const dataResourceSchema: {
|
|
|
5051
5136
|
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
5052
5137
|
};
|
|
5053
5138
|
};
|
|
5139
|
+
readonly draftState: {
|
|
5140
|
+
readonly type: "object";
|
|
5141
|
+
readonly additionalProperties: false;
|
|
5142
|
+
readonly required: readonly ["version", "maxBytes", "fields"];
|
|
5143
|
+
readonly properties: {
|
|
5144
|
+
readonly version: {
|
|
5145
|
+
readonly type: "integer";
|
|
5146
|
+
readonly minimum: 1;
|
|
5147
|
+
readonly maximum: 1000000;
|
|
5148
|
+
};
|
|
5149
|
+
readonly maxBytes: {
|
|
5150
|
+
readonly type: "integer";
|
|
5151
|
+
readonly minimum: 2;
|
|
5152
|
+
readonly maximum: 196608;
|
|
5153
|
+
};
|
|
5154
|
+
readonly fields: {
|
|
5155
|
+
readonly type: "object";
|
|
5156
|
+
readonly minProperties: 1;
|
|
5157
|
+
readonly maxProperties: 50;
|
|
5158
|
+
readonly propertyNames: {
|
|
5159
|
+
readonly type: "string";
|
|
5160
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
5161
|
+
};
|
|
5162
|
+
readonly additionalProperties: {
|
|
5163
|
+
readonly oneOf: readonly [{
|
|
5164
|
+
readonly type: "object";
|
|
5165
|
+
readonly additionalProperties: false;
|
|
5166
|
+
readonly required: readonly ["type", "maxLength"];
|
|
5167
|
+
readonly properties: {
|
|
5168
|
+
readonly type: {
|
|
5169
|
+
readonly const: "string";
|
|
5170
|
+
};
|
|
5171
|
+
readonly required: {
|
|
5172
|
+
readonly type: "boolean";
|
|
5173
|
+
};
|
|
5174
|
+
readonly maxLength: {
|
|
5175
|
+
readonly type: "integer";
|
|
5176
|
+
readonly minimum: 1;
|
|
5177
|
+
readonly maximum: 196608;
|
|
5178
|
+
};
|
|
5179
|
+
readonly enum: {
|
|
5180
|
+
readonly type: "array";
|
|
5181
|
+
readonly minItems: 1;
|
|
5182
|
+
readonly maxItems: 100;
|
|
5183
|
+
readonly uniqueItems: true;
|
|
5184
|
+
readonly items: {
|
|
5185
|
+
readonly type: "string";
|
|
5186
|
+
readonly maxLength: 255;
|
|
5187
|
+
};
|
|
5188
|
+
};
|
|
5189
|
+
};
|
|
5190
|
+
}, {
|
|
5191
|
+
readonly type: "object";
|
|
5192
|
+
readonly additionalProperties: false;
|
|
5193
|
+
readonly required: readonly ["type"];
|
|
5194
|
+
readonly properties: {
|
|
5195
|
+
readonly type: {
|
|
5196
|
+
readonly enum: readonly ["number", "integer", "boolean"];
|
|
5197
|
+
};
|
|
5198
|
+
readonly required: {
|
|
5199
|
+
readonly type: "boolean";
|
|
5200
|
+
};
|
|
5201
|
+
};
|
|
5202
|
+
}, {
|
|
5203
|
+
readonly type: "object";
|
|
5204
|
+
readonly additionalProperties: false;
|
|
5205
|
+
readonly required: readonly ["type", "maxBytes"];
|
|
5206
|
+
readonly properties: {
|
|
5207
|
+
readonly type: {
|
|
5208
|
+
readonly const: "json.object";
|
|
5209
|
+
};
|
|
5210
|
+
readonly required: {
|
|
5211
|
+
readonly type: "boolean";
|
|
5212
|
+
};
|
|
5213
|
+
readonly maxBytes: {
|
|
5214
|
+
readonly type: "integer";
|
|
5215
|
+
readonly minimum: 2;
|
|
5216
|
+
readonly maximum: 65536;
|
|
5217
|
+
};
|
|
5218
|
+
};
|
|
5219
|
+
}];
|
|
5220
|
+
};
|
|
5221
|
+
};
|
|
5222
|
+
};
|
|
5223
|
+
};
|
|
5054
5224
|
};
|
|
5055
5225
|
};
|
|
5056
5226
|
readonly detail: {
|
|
@@ -10720,6 +10890,56 @@ export declare const businessProcessCommitSchema: {
|
|
|
10720
10890
|
};
|
|
10721
10891
|
};
|
|
10722
10892
|
};
|
|
10893
|
+
readonly formDraft: {
|
|
10894
|
+
readonly type: "object";
|
|
10895
|
+
readonly additionalProperties: false;
|
|
10896
|
+
readonly required: readonly ["resourceCode", "id", "expectedRevision", "mode"];
|
|
10897
|
+
readonly properties: {
|
|
10898
|
+
readonly resourceCode: {
|
|
10899
|
+
readonly type: "string";
|
|
10900
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
10901
|
+
};
|
|
10902
|
+
readonly id: {
|
|
10903
|
+
readonly type: "string";
|
|
10904
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
10905
|
+
};
|
|
10906
|
+
readonly expectedRevision: {
|
|
10907
|
+
readonly type: "integer";
|
|
10908
|
+
readonly minimum: 1;
|
|
10909
|
+
};
|
|
10910
|
+
readonly mode: {
|
|
10911
|
+
readonly enum: readonly ["create", "update"];
|
|
10912
|
+
};
|
|
10913
|
+
readonly recordId: {
|
|
10914
|
+
readonly type: "string";
|
|
10915
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
10916
|
+
};
|
|
10917
|
+
readonly viewCode: {
|
|
10918
|
+
readonly type: "string";
|
|
10919
|
+
readonly minLength: 1;
|
|
10920
|
+
readonly maxLength: 64;
|
|
10921
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
10922
|
+
};
|
|
10923
|
+
};
|
|
10924
|
+
readonly allOf: readonly [{
|
|
10925
|
+
readonly if: {
|
|
10926
|
+
readonly properties: {
|
|
10927
|
+
readonly mode: {
|
|
10928
|
+
readonly const: "update";
|
|
10929
|
+
};
|
|
10930
|
+
};
|
|
10931
|
+
readonly required: readonly ["mode"];
|
|
10932
|
+
};
|
|
10933
|
+
readonly then: {
|
|
10934
|
+
readonly required: readonly ["recordId"];
|
|
10935
|
+
};
|
|
10936
|
+
readonly else: {
|
|
10937
|
+
readonly not: {
|
|
10938
|
+
readonly required: readonly ["recordId"];
|
|
10939
|
+
};
|
|
10940
|
+
};
|
|
10941
|
+
}];
|
|
10942
|
+
};
|
|
10723
10943
|
readonly workflow: {
|
|
10724
10944
|
readonly type: "object";
|
|
10725
10945
|
readonly additionalProperties: false;
|
|
@@ -14803,6 +15023,106 @@ export declare const configurationBundleSchema: {
|
|
|
14803
15023
|
};
|
|
14804
15024
|
};
|
|
14805
15025
|
};
|
|
15026
|
+
readonly browser: {
|
|
15027
|
+
readonly type: "object";
|
|
15028
|
+
readonly additionalProperties: false;
|
|
15029
|
+
readonly required: readonly ["exposure", "behavior", "idempotency", "subject"];
|
|
15030
|
+
readonly properties: {
|
|
15031
|
+
readonly exposure: {
|
|
15032
|
+
readonly const: "authenticated";
|
|
15033
|
+
};
|
|
15034
|
+
readonly behavior: {
|
|
15035
|
+
readonly enum: readonly ["read", "controlled"];
|
|
15036
|
+
};
|
|
15037
|
+
readonly idempotency: {
|
|
15038
|
+
readonly enum: readonly ["none", "required"];
|
|
15039
|
+
};
|
|
15040
|
+
readonly subject: {
|
|
15041
|
+
readonly type: "object";
|
|
15042
|
+
readonly additionalProperties: false;
|
|
15043
|
+
readonly required: readonly ["resourceCode", "inputField"];
|
|
15044
|
+
readonly properties: {
|
|
15045
|
+
readonly resourceCode: {
|
|
15046
|
+
readonly type: "string";
|
|
15047
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
15048
|
+
};
|
|
15049
|
+
readonly inputField: {
|
|
15050
|
+
readonly type: "string";
|
|
15051
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
15052
|
+
};
|
|
15053
|
+
};
|
|
15054
|
+
};
|
|
15055
|
+
readonly refreshTargets: {
|
|
15056
|
+
readonly type: "array";
|
|
15057
|
+
readonly maxItems: 16;
|
|
15058
|
+
readonly items: {
|
|
15059
|
+
readonly type: "object";
|
|
15060
|
+
readonly additionalProperties: false;
|
|
15061
|
+
readonly required: readonly ["kind", "code"];
|
|
15062
|
+
readonly properties: {
|
|
15063
|
+
readonly kind: {
|
|
15064
|
+
readonly const: "subject-surface";
|
|
15065
|
+
};
|
|
15066
|
+
readonly code: {
|
|
15067
|
+
readonly type: "string";
|
|
15068
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
15069
|
+
readonly maxLength: 128;
|
|
15070
|
+
};
|
|
15071
|
+
};
|
|
15072
|
+
};
|
|
15073
|
+
};
|
|
15074
|
+
readonly fileIntent: {
|
|
15075
|
+
readonly type: "object";
|
|
15076
|
+
readonly additionalProperties: false;
|
|
15077
|
+
readonly required: readonly ["recordResourceCode", "recordIdInputField", "relationField", "fileNameField", "contentTypeField", "sizeField", "purposes", "maxTtlSeconds", "maxBytes"];
|
|
15078
|
+
readonly properties: {
|
|
15079
|
+
readonly recordResourceCode: {
|
|
15080
|
+
readonly type: "string";
|
|
15081
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
15082
|
+
};
|
|
15083
|
+
readonly recordIdInputField: {
|
|
15084
|
+
readonly type: "string";
|
|
15085
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
15086
|
+
};
|
|
15087
|
+
readonly relationField: {
|
|
15088
|
+
readonly type: "string";
|
|
15089
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
15090
|
+
};
|
|
15091
|
+
readonly fileNameField: {
|
|
15092
|
+
readonly type: "string";
|
|
15093
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
15094
|
+
};
|
|
15095
|
+
readonly contentTypeField: {
|
|
15096
|
+
readonly type: "string";
|
|
15097
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
15098
|
+
};
|
|
15099
|
+
readonly sizeField: {
|
|
15100
|
+
readonly type: "string";
|
|
15101
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
15102
|
+
};
|
|
15103
|
+
readonly purposes: {
|
|
15104
|
+
readonly type: "array";
|
|
15105
|
+
readonly minItems: 1;
|
|
15106
|
+
readonly maxItems: 2;
|
|
15107
|
+
readonly uniqueItems: true;
|
|
15108
|
+
readonly items: {
|
|
15109
|
+
readonly enum: readonly ["preview", "download"];
|
|
15110
|
+
};
|
|
15111
|
+
};
|
|
15112
|
+
readonly maxTtlSeconds: {
|
|
15113
|
+
readonly type: "integer";
|
|
15114
|
+
readonly minimum: 1;
|
|
15115
|
+
readonly maximum: 300;
|
|
15116
|
+
};
|
|
15117
|
+
readonly maxBytes: {
|
|
15118
|
+
readonly type: "integer";
|
|
15119
|
+
readonly minimum: 1;
|
|
15120
|
+
readonly maximum: 104857600;
|
|
15121
|
+
};
|
|
15122
|
+
};
|
|
15123
|
+
};
|
|
15124
|
+
};
|
|
15125
|
+
};
|
|
14806
15126
|
readonly ai: {
|
|
14807
15127
|
readonly type: "object";
|
|
14808
15128
|
readonly additionalProperties: false;
|
|
@@ -14865,42 +15185,147 @@ export declare const configurationBundleSchema: {
|
|
|
14865
15185
|
readonly $ref: "openxiangda.data-resource/v2";
|
|
14866
15186
|
};
|
|
14867
15187
|
};
|
|
14868
|
-
readonly
|
|
15188
|
+
readonly subjectReadSurfaces: {
|
|
14869
15189
|
readonly type: "array";
|
|
14870
|
-
readonly maxItems:
|
|
15190
|
+
readonly maxItems: 50;
|
|
14871
15191
|
readonly items: {
|
|
14872
15192
|
readonly type: "object";
|
|
14873
15193
|
readonly additionalProperties: false;
|
|
14874
|
-
readonly required: readonly ["
|
|
15194
|
+
readonly required: readonly ["code", "name", "capability", "subject", "relations"];
|
|
14875
15195
|
readonly properties: {
|
|
14876
|
-
readonly
|
|
15196
|
+
readonly code: {
|
|
14877
15197
|
readonly type: "string";
|
|
14878
15198
|
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
14879
15199
|
readonly maxLength: 128;
|
|
14880
15200
|
};
|
|
14881
|
-
readonly
|
|
15201
|
+
readonly name: {
|
|
14882
15202
|
readonly type: "string";
|
|
14883
|
-
readonly
|
|
14884
|
-
readonly maxLength: 128;
|
|
15203
|
+
readonly minLength: 1;
|
|
14885
15204
|
};
|
|
14886
|
-
readonly
|
|
15205
|
+
readonly capability: {
|
|
14887
15206
|
readonly type: "string";
|
|
14888
|
-
readonly pattern: "^[a-z][a-z0-9]*(
|
|
14889
|
-
readonly maxLength:
|
|
15207
|
+
readonly pattern: "^app:[a-z][a-z0-9]*(?:-[a-z0-9]+)*:[A-Za-z0-9:._*-]+$";
|
|
15208
|
+
readonly maxLength: 255;
|
|
14890
15209
|
};
|
|
14891
|
-
|
|
14892
|
-
|
|
14893
|
-
|
|
14894
|
-
|
|
14895
|
-
|
|
14896
|
-
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
|
|
14900
|
-
|
|
14901
|
-
|
|
14902
|
-
|
|
14903
|
-
|
|
15210
|
+
readonly subject: {
|
|
15211
|
+
readonly type: "object";
|
|
15212
|
+
readonly additionalProperties: false;
|
|
15213
|
+
readonly required: readonly ["resourceCode", "fields"];
|
|
15214
|
+
readonly properties: {
|
|
15215
|
+
readonly resourceCode: {
|
|
15216
|
+
readonly type: "string";
|
|
15217
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
15218
|
+
};
|
|
15219
|
+
readonly fields: {
|
|
15220
|
+
readonly type: "array";
|
|
15221
|
+
readonly minItems: 1;
|
|
15222
|
+
readonly maxItems: 100;
|
|
15223
|
+
readonly uniqueItems: true;
|
|
15224
|
+
readonly items: {
|
|
15225
|
+
readonly type: "string";
|
|
15226
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
15227
|
+
};
|
|
15228
|
+
};
|
|
15229
|
+
};
|
|
15230
|
+
};
|
|
15231
|
+
readonly relations: {
|
|
15232
|
+
readonly type: "array";
|
|
15233
|
+
readonly minItems: 1;
|
|
15234
|
+
readonly maxItems: 8;
|
|
15235
|
+
readonly items: {
|
|
15236
|
+
readonly type: "object";
|
|
15237
|
+
readonly additionalProperties: false;
|
|
15238
|
+
readonly required: readonly ["code", "resourceCode", "foreignKeyField", "fields", "limit"];
|
|
15239
|
+
readonly properties: {
|
|
15240
|
+
readonly code: {
|
|
15241
|
+
readonly type: "string";
|
|
15242
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
15243
|
+
readonly maxLength: 128;
|
|
15244
|
+
};
|
|
15245
|
+
readonly resourceCode: {
|
|
15246
|
+
readonly type: "string";
|
|
15247
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
15248
|
+
};
|
|
15249
|
+
readonly foreignKeyField: {
|
|
15250
|
+
readonly type: "string";
|
|
15251
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
15252
|
+
};
|
|
15253
|
+
readonly fields: {
|
|
15254
|
+
readonly type: "array";
|
|
15255
|
+
readonly minItems: 1;
|
|
15256
|
+
readonly maxItems: 100;
|
|
15257
|
+
readonly uniqueItems: true;
|
|
15258
|
+
readonly items: {
|
|
15259
|
+
readonly type: "string";
|
|
15260
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
15261
|
+
};
|
|
15262
|
+
};
|
|
15263
|
+
readonly order: {
|
|
15264
|
+
readonly type: "array";
|
|
15265
|
+
readonly maxItems: 10;
|
|
15266
|
+
readonly items: {
|
|
15267
|
+
readonly type: "object";
|
|
15268
|
+
readonly additionalProperties: false;
|
|
15269
|
+
readonly required: readonly ["field", "direction"];
|
|
15270
|
+
readonly properties: {
|
|
15271
|
+
readonly field: {
|
|
15272
|
+
readonly type: "string";
|
|
15273
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
15274
|
+
readonly maxLength: 128;
|
|
15275
|
+
};
|
|
15276
|
+
readonly direction: {
|
|
15277
|
+
readonly enum: readonly ["asc", "desc"];
|
|
15278
|
+
};
|
|
15279
|
+
};
|
|
15280
|
+
};
|
|
15281
|
+
};
|
|
15282
|
+
readonly limit: {
|
|
15283
|
+
readonly type: "integer";
|
|
15284
|
+
readonly minimum: 1;
|
|
15285
|
+
readonly maximum: 100;
|
|
15286
|
+
};
|
|
15287
|
+
};
|
|
15288
|
+
};
|
|
15289
|
+
};
|
|
15290
|
+
};
|
|
15291
|
+
};
|
|
15292
|
+
};
|
|
15293
|
+
readonly resourceDetailRoutes: {
|
|
15294
|
+
readonly type: "array";
|
|
15295
|
+
readonly maxItems: 100;
|
|
15296
|
+
readonly items: {
|
|
15297
|
+
readonly type: "object";
|
|
15298
|
+
readonly additionalProperties: false;
|
|
15299
|
+
readonly required: readonly ["resourceCode", "desktop", "mobile"];
|
|
15300
|
+
readonly properties: {
|
|
15301
|
+
readonly resourceCode: {
|
|
15302
|
+
readonly type: "string";
|
|
15303
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
15304
|
+
readonly maxLength: 128;
|
|
15305
|
+
};
|
|
15306
|
+
readonly desktop: {
|
|
15307
|
+
readonly type: "string";
|
|
15308
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
15309
|
+
readonly maxLength: 128;
|
|
15310
|
+
};
|
|
15311
|
+
readonly mobile: {
|
|
15312
|
+
readonly type: "string";
|
|
15313
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
15314
|
+
readonly maxLength: 128;
|
|
15315
|
+
};
|
|
15316
|
+
};
|
|
15317
|
+
};
|
|
15318
|
+
};
|
|
15319
|
+
};
|
|
15320
|
+
};
|
|
15321
|
+
readonly events: {
|
|
15322
|
+
readonly type: "object";
|
|
15323
|
+
readonly additionalProperties: false;
|
|
15324
|
+
readonly required: readonly ["schemas", "subscriptions", "timers", "dateTriggers"];
|
|
15325
|
+
readonly properties: {
|
|
15326
|
+
readonly capturePolicies: {
|
|
15327
|
+
readonly type: "array";
|
|
15328
|
+
readonly maxItems: 100;
|
|
14904
15329
|
readonly items: {
|
|
14905
15330
|
readonly type: "object";
|
|
14906
15331
|
readonly additionalProperties: false;
|
|
@@ -16080,6 +16505,111 @@ export declare const contractBundleSchema: {
|
|
|
16080
16505
|
readonly type: "object";
|
|
16081
16506
|
};
|
|
16082
16507
|
};
|
|
16508
|
+
readonly subjectReadSurfaces: {
|
|
16509
|
+
readonly type: "array";
|
|
16510
|
+
readonly maxItems: 50;
|
|
16511
|
+
readonly items: {
|
|
16512
|
+
readonly type: "object";
|
|
16513
|
+
readonly additionalProperties: false;
|
|
16514
|
+
readonly required: readonly ["code", "name", "capability", "subject", "relations"];
|
|
16515
|
+
readonly properties: {
|
|
16516
|
+
readonly code: {
|
|
16517
|
+
readonly type: "string";
|
|
16518
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
16519
|
+
readonly maxLength: 128;
|
|
16520
|
+
};
|
|
16521
|
+
readonly name: {
|
|
16522
|
+
readonly type: "string";
|
|
16523
|
+
readonly minLength: 1;
|
|
16524
|
+
};
|
|
16525
|
+
readonly capability: {
|
|
16526
|
+
readonly type: "string";
|
|
16527
|
+
readonly pattern: "^app:[a-z][a-z0-9]*(?:-[a-z0-9]+)*:[A-Za-z0-9:._*-]+$";
|
|
16528
|
+
readonly maxLength: 255;
|
|
16529
|
+
};
|
|
16530
|
+
readonly subject: {
|
|
16531
|
+
readonly type: "object";
|
|
16532
|
+
readonly additionalProperties: false;
|
|
16533
|
+
readonly required: readonly ["resourceCode", "fields"];
|
|
16534
|
+
readonly properties: {
|
|
16535
|
+
readonly resourceCode: {
|
|
16536
|
+
readonly type: "string";
|
|
16537
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
16538
|
+
};
|
|
16539
|
+
readonly fields: {
|
|
16540
|
+
readonly type: "array";
|
|
16541
|
+
readonly minItems: 1;
|
|
16542
|
+
readonly maxItems: 100;
|
|
16543
|
+
readonly uniqueItems: true;
|
|
16544
|
+
readonly items: {
|
|
16545
|
+
readonly type: "string";
|
|
16546
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
16547
|
+
};
|
|
16548
|
+
};
|
|
16549
|
+
};
|
|
16550
|
+
};
|
|
16551
|
+
readonly relations: {
|
|
16552
|
+
readonly type: "array";
|
|
16553
|
+
readonly minItems: 1;
|
|
16554
|
+
readonly maxItems: 8;
|
|
16555
|
+
readonly items: {
|
|
16556
|
+
readonly type: "object";
|
|
16557
|
+
readonly additionalProperties: false;
|
|
16558
|
+
readonly required: readonly ["code", "resourceCode", "foreignKeyField", "fields", "limit"];
|
|
16559
|
+
readonly properties: {
|
|
16560
|
+
readonly code: {
|
|
16561
|
+
readonly type: "string";
|
|
16562
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
16563
|
+
readonly maxLength: 128;
|
|
16564
|
+
};
|
|
16565
|
+
readonly resourceCode: {
|
|
16566
|
+
readonly type: "string";
|
|
16567
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
16568
|
+
};
|
|
16569
|
+
readonly foreignKeyField: {
|
|
16570
|
+
readonly type: "string";
|
|
16571
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
16572
|
+
};
|
|
16573
|
+
readonly fields: {
|
|
16574
|
+
readonly type: "array";
|
|
16575
|
+
readonly minItems: 1;
|
|
16576
|
+
readonly maxItems: 100;
|
|
16577
|
+
readonly uniqueItems: true;
|
|
16578
|
+
readonly items: {
|
|
16579
|
+
readonly type: "string";
|
|
16580
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
16581
|
+
};
|
|
16582
|
+
};
|
|
16583
|
+
readonly order: {
|
|
16584
|
+
readonly type: "array";
|
|
16585
|
+
readonly maxItems: 10;
|
|
16586
|
+
readonly items: {
|
|
16587
|
+
readonly type: "object";
|
|
16588
|
+
readonly additionalProperties: false;
|
|
16589
|
+
readonly required: readonly ["field", "direction"];
|
|
16590
|
+
readonly properties: {
|
|
16591
|
+
readonly field: {
|
|
16592
|
+
readonly type: "string";
|
|
16593
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
16594
|
+
readonly maxLength: 128;
|
|
16595
|
+
};
|
|
16596
|
+
readonly direction: {
|
|
16597
|
+
readonly enum: readonly ["asc", "desc"];
|
|
16598
|
+
};
|
|
16599
|
+
};
|
|
16600
|
+
};
|
|
16601
|
+
};
|
|
16602
|
+
readonly limit: {
|
|
16603
|
+
readonly type: "integer";
|
|
16604
|
+
readonly minimum: 1;
|
|
16605
|
+
readonly maximum: 100;
|
|
16606
|
+
};
|
|
16607
|
+
};
|
|
16608
|
+
};
|
|
16609
|
+
};
|
|
16610
|
+
};
|
|
16611
|
+
};
|
|
16612
|
+
};
|
|
16083
16613
|
readonly capabilities: {
|
|
16084
16614
|
readonly type: "array";
|
|
16085
16615
|
readonly maxItems: 2000;
|
|
@@ -22256,6 +22786,91 @@ export declare const contractSchemas: {
|
|
|
22256
22786
|
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
22257
22787
|
};
|
|
22258
22788
|
};
|
|
22789
|
+
readonly draftState: {
|
|
22790
|
+
readonly type: "object";
|
|
22791
|
+
readonly additionalProperties: false;
|
|
22792
|
+
readonly required: readonly ["version", "maxBytes", "fields"];
|
|
22793
|
+
readonly properties: {
|
|
22794
|
+
readonly version: {
|
|
22795
|
+
readonly type: "integer";
|
|
22796
|
+
readonly minimum: 1;
|
|
22797
|
+
readonly maximum: 1000000;
|
|
22798
|
+
};
|
|
22799
|
+
readonly maxBytes: {
|
|
22800
|
+
readonly type: "integer";
|
|
22801
|
+
readonly minimum: 2;
|
|
22802
|
+
readonly maximum: 196608;
|
|
22803
|
+
};
|
|
22804
|
+
readonly fields: {
|
|
22805
|
+
readonly type: "object";
|
|
22806
|
+
readonly minProperties: 1;
|
|
22807
|
+
readonly maxProperties: 50;
|
|
22808
|
+
readonly propertyNames: {
|
|
22809
|
+
readonly type: "string";
|
|
22810
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
22811
|
+
};
|
|
22812
|
+
readonly additionalProperties: {
|
|
22813
|
+
readonly oneOf: readonly [{
|
|
22814
|
+
readonly type: "object";
|
|
22815
|
+
readonly additionalProperties: false;
|
|
22816
|
+
readonly required: readonly ["type", "maxLength"];
|
|
22817
|
+
readonly properties: {
|
|
22818
|
+
readonly type: {
|
|
22819
|
+
readonly const: "string";
|
|
22820
|
+
};
|
|
22821
|
+
readonly required: {
|
|
22822
|
+
readonly type: "boolean";
|
|
22823
|
+
};
|
|
22824
|
+
readonly maxLength: {
|
|
22825
|
+
readonly type: "integer";
|
|
22826
|
+
readonly minimum: 1;
|
|
22827
|
+
readonly maximum: 196608;
|
|
22828
|
+
};
|
|
22829
|
+
readonly enum: {
|
|
22830
|
+
readonly type: "array";
|
|
22831
|
+
readonly minItems: 1;
|
|
22832
|
+
readonly maxItems: 100;
|
|
22833
|
+
readonly uniqueItems: true;
|
|
22834
|
+
readonly items: {
|
|
22835
|
+
readonly type: "string";
|
|
22836
|
+
readonly maxLength: 255;
|
|
22837
|
+
};
|
|
22838
|
+
};
|
|
22839
|
+
};
|
|
22840
|
+
}, {
|
|
22841
|
+
readonly type: "object";
|
|
22842
|
+
readonly additionalProperties: false;
|
|
22843
|
+
readonly required: readonly ["type"];
|
|
22844
|
+
readonly properties: {
|
|
22845
|
+
readonly type: {
|
|
22846
|
+
readonly enum: readonly ["number", "integer", "boolean"];
|
|
22847
|
+
};
|
|
22848
|
+
readonly required: {
|
|
22849
|
+
readonly type: "boolean";
|
|
22850
|
+
};
|
|
22851
|
+
};
|
|
22852
|
+
}, {
|
|
22853
|
+
readonly type: "object";
|
|
22854
|
+
readonly additionalProperties: false;
|
|
22855
|
+
readonly required: readonly ["type", "maxBytes"];
|
|
22856
|
+
readonly properties: {
|
|
22857
|
+
readonly type: {
|
|
22858
|
+
readonly const: "json.object";
|
|
22859
|
+
};
|
|
22860
|
+
readonly required: {
|
|
22861
|
+
readonly type: "boolean";
|
|
22862
|
+
};
|
|
22863
|
+
readonly maxBytes: {
|
|
22864
|
+
readonly type: "integer";
|
|
22865
|
+
readonly minimum: 2;
|
|
22866
|
+
readonly maximum: 65536;
|
|
22867
|
+
};
|
|
22868
|
+
};
|
|
22869
|
+
}];
|
|
22870
|
+
};
|
|
22871
|
+
};
|
|
22872
|
+
};
|
|
22873
|
+
};
|
|
22259
22874
|
};
|
|
22260
22875
|
};
|
|
22261
22876
|
readonly detail: {
|
|
@@ -22707,13 +23322,98 @@ export declare const contractSchemas: {
|
|
|
22707
23322
|
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
22708
23323
|
};
|
|
22709
23324
|
};
|
|
22710
|
-
|
|
22711
|
-
|
|
22712
|
-
|
|
22713
|
-
|
|
22714
|
-
|
|
22715
|
-
|
|
22716
|
-
|
|
23325
|
+
readonly draftState: {
|
|
23326
|
+
readonly type: "object";
|
|
23327
|
+
readonly additionalProperties: false;
|
|
23328
|
+
readonly required: readonly ["version", "maxBytes", "fields"];
|
|
23329
|
+
readonly properties: {
|
|
23330
|
+
readonly version: {
|
|
23331
|
+
readonly type: "integer";
|
|
23332
|
+
readonly minimum: 1;
|
|
23333
|
+
readonly maximum: 1000000;
|
|
23334
|
+
};
|
|
23335
|
+
readonly maxBytes: {
|
|
23336
|
+
readonly type: "integer";
|
|
23337
|
+
readonly minimum: 2;
|
|
23338
|
+
readonly maximum: 196608;
|
|
23339
|
+
};
|
|
23340
|
+
readonly fields: {
|
|
23341
|
+
readonly type: "object";
|
|
23342
|
+
readonly minProperties: 1;
|
|
23343
|
+
readonly maxProperties: 50;
|
|
23344
|
+
readonly propertyNames: {
|
|
23345
|
+
readonly type: "string";
|
|
23346
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
23347
|
+
};
|
|
23348
|
+
readonly additionalProperties: {
|
|
23349
|
+
readonly oneOf: readonly [{
|
|
23350
|
+
readonly type: "object";
|
|
23351
|
+
readonly additionalProperties: false;
|
|
23352
|
+
readonly required: readonly ["type", "maxLength"];
|
|
23353
|
+
readonly properties: {
|
|
23354
|
+
readonly type: {
|
|
23355
|
+
readonly const: "string";
|
|
23356
|
+
};
|
|
23357
|
+
readonly required: {
|
|
23358
|
+
readonly type: "boolean";
|
|
23359
|
+
};
|
|
23360
|
+
readonly maxLength: {
|
|
23361
|
+
readonly type: "integer";
|
|
23362
|
+
readonly minimum: 1;
|
|
23363
|
+
readonly maximum: 196608;
|
|
23364
|
+
};
|
|
23365
|
+
readonly enum: {
|
|
23366
|
+
readonly type: "array";
|
|
23367
|
+
readonly minItems: 1;
|
|
23368
|
+
readonly maxItems: 100;
|
|
23369
|
+
readonly uniqueItems: true;
|
|
23370
|
+
readonly items: {
|
|
23371
|
+
readonly type: "string";
|
|
23372
|
+
readonly maxLength: 255;
|
|
23373
|
+
};
|
|
23374
|
+
};
|
|
23375
|
+
};
|
|
23376
|
+
}, {
|
|
23377
|
+
readonly type: "object";
|
|
23378
|
+
readonly additionalProperties: false;
|
|
23379
|
+
readonly required: readonly ["type"];
|
|
23380
|
+
readonly properties: {
|
|
23381
|
+
readonly type: {
|
|
23382
|
+
readonly enum: readonly ["number", "integer", "boolean"];
|
|
23383
|
+
};
|
|
23384
|
+
readonly required: {
|
|
23385
|
+
readonly type: "boolean";
|
|
23386
|
+
};
|
|
23387
|
+
};
|
|
23388
|
+
}, {
|
|
23389
|
+
readonly type: "object";
|
|
23390
|
+
readonly additionalProperties: false;
|
|
23391
|
+
readonly required: readonly ["type", "maxBytes"];
|
|
23392
|
+
readonly properties: {
|
|
23393
|
+
readonly type: {
|
|
23394
|
+
readonly const: "json.object";
|
|
23395
|
+
};
|
|
23396
|
+
readonly required: {
|
|
23397
|
+
readonly type: "boolean";
|
|
23398
|
+
};
|
|
23399
|
+
readonly maxBytes: {
|
|
23400
|
+
readonly type: "integer";
|
|
23401
|
+
readonly minimum: 2;
|
|
23402
|
+
readonly maximum: 65536;
|
|
23403
|
+
};
|
|
23404
|
+
};
|
|
23405
|
+
}];
|
|
23406
|
+
};
|
|
23407
|
+
};
|
|
23408
|
+
};
|
|
23409
|
+
};
|
|
23410
|
+
};
|
|
23411
|
+
};
|
|
23412
|
+
readonly detail: {
|
|
23413
|
+
readonly type: "object";
|
|
23414
|
+
readonly additionalProperties: false;
|
|
23415
|
+
readonly properties: {
|
|
23416
|
+
readonly layout: {
|
|
22717
23417
|
readonly enum: readonly ["flat", "sections"];
|
|
22718
23418
|
};
|
|
22719
23419
|
readonly fieldOrder: {
|
|
@@ -28222,6 +28922,56 @@ export declare const contractSchemas: {
|
|
|
28222
28922
|
};
|
|
28223
28923
|
};
|
|
28224
28924
|
};
|
|
28925
|
+
readonly formDraft: {
|
|
28926
|
+
readonly type: "object";
|
|
28927
|
+
readonly additionalProperties: false;
|
|
28928
|
+
readonly required: readonly ["resourceCode", "id", "expectedRevision", "mode"];
|
|
28929
|
+
readonly properties: {
|
|
28930
|
+
readonly resourceCode: {
|
|
28931
|
+
readonly type: "string";
|
|
28932
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
28933
|
+
};
|
|
28934
|
+
readonly id: {
|
|
28935
|
+
readonly type: "string";
|
|
28936
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
28937
|
+
};
|
|
28938
|
+
readonly expectedRevision: {
|
|
28939
|
+
readonly type: "integer";
|
|
28940
|
+
readonly minimum: 1;
|
|
28941
|
+
};
|
|
28942
|
+
readonly mode: {
|
|
28943
|
+
readonly enum: readonly ["create", "update"];
|
|
28944
|
+
};
|
|
28945
|
+
readonly recordId: {
|
|
28946
|
+
readonly type: "string";
|
|
28947
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
28948
|
+
};
|
|
28949
|
+
readonly viewCode: {
|
|
28950
|
+
readonly type: "string";
|
|
28951
|
+
readonly minLength: 1;
|
|
28952
|
+
readonly maxLength: 64;
|
|
28953
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
28954
|
+
};
|
|
28955
|
+
};
|
|
28956
|
+
readonly allOf: readonly [{
|
|
28957
|
+
readonly if: {
|
|
28958
|
+
readonly properties: {
|
|
28959
|
+
readonly mode: {
|
|
28960
|
+
readonly const: "update";
|
|
28961
|
+
};
|
|
28962
|
+
};
|
|
28963
|
+
readonly required: readonly ["mode"];
|
|
28964
|
+
};
|
|
28965
|
+
readonly then: {
|
|
28966
|
+
readonly required: readonly ["recordId"];
|
|
28967
|
+
};
|
|
28968
|
+
readonly else: {
|
|
28969
|
+
readonly not: {
|
|
28970
|
+
readonly required: readonly ["recordId"];
|
|
28971
|
+
};
|
|
28972
|
+
};
|
|
28973
|
+
}];
|
|
28974
|
+
};
|
|
28225
28975
|
readonly workflow: {
|
|
28226
28976
|
readonly type: "object";
|
|
28227
28977
|
readonly additionalProperties: false;
|
|
@@ -32257,6 +33007,106 @@ export declare const contractSchemas: {
|
|
|
32257
33007
|
};
|
|
32258
33008
|
};
|
|
32259
33009
|
};
|
|
33010
|
+
readonly browser: {
|
|
33011
|
+
readonly type: "object";
|
|
33012
|
+
readonly additionalProperties: false;
|
|
33013
|
+
readonly required: readonly ["exposure", "behavior", "idempotency", "subject"];
|
|
33014
|
+
readonly properties: {
|
|
33015
|
+
readonly exposure: {
|
|
33016
|
+
readonly const: "authenticated";
|
|
33017
|
+
};
|
|
33018
|
+
readonly behavior: {
|
|
33019
|
+
readonly enum: readonly ["read", "controlled"];
|
|
33020
|
+
};
|
|
33021
|
+
readonly idempotency: {
|
|
33022
|
+
readonly enum: readonly ["none", "required"];
|
|
33023
|
+
};
|
|
33024
|
+
readonly subject: {
|
|
33025
|
+
readonly type: "object";
|
|
33026
|
+
readonly additionalProperties: false;
|
|
33027
|
+
readonly required: readonly ["resourceCode", "inputField"];
|
|
33028
|
+
readonly properties: {
|
|
33029
|
+
readonly resourceCode: {
|
|
33030
|
+
readonly type: "string";
|
|
33031
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
33032
|
+
};
|
|
33033
|
+
readonly inputField: {
|
|
33034
|
+
readonly type: "string";
|
|
33035
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
33036
|
+
};
|
|
33037
|
+
};
|
|
33038
|
+
};
|
|
33039
|
+
readonly refreshTargets: {
|
|
33040
|
+
readonly type: "array";
|
|
33041
|
+
readonly maxItems: 16;
|
|
33042
|
+
readonly items: {
|
|
33043
|
+
readonly type: "object";
|
|
33044
|
+
readonly additionalProperties: false;
|
|
33045
|
+
readonly required: readonly ["kind", "code"];
|
|
33046
|
+
readonly properties: {
|
|
33047
|
+
readonly kind: {
|
|
33048
|
+
readonly const: "subject-surface";
|
|
33049
|
+
};
|
|
33050
|
+
readonly code: {
|
|
33051
|
+
readonly type: "string";
|
|
33052
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
33053
|
+
readonly maxLength: 128;
|
|
33054
|
+
};
|
|
33055
|
+
};
|
|
33056
|
+
};
|
|
33057
|
+
};
|
|
33058
|
+
readonly fileIntent: {
|
|
33059
|
+
readonly type: "object";
|
|
33060
|
+
readonly additionalProperties: false;
|
|
33061
|
+
readonly required: readonly ["recordResourceCode", "recordIdInputField", "relationField", "fileNameField", "contentTypeField", "sizeField", "purposes", "maxTtlSeconds", "maxBytes"];
|
|
33062
|
+
readonly properties: {
|
|
33063
|
+
readonly recordResourceCode: {
|
|
33064
|
+
readonly type: "string";
|
|
33065
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
33066
|
+
};
|
|
33067
|
+
readonly recordIdInputField: {
|
|
33068
|
+
readonly type: "string";
|
|
33069
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
33070
|
+
};
|
|
33071
|
+
readonly relationField: {
|
|
33072
|
+
readonly type: "string";
|
|
33073
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
33074
|
+
};
|
|
33075
|
+
readonly fileNameField: {
|
|
33076
|
+
readonly type: "string";
|
|
33077
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
33078
|
+
};
|
|
33079
|
+
readonly contentTypeField: {
|
|
33080
|
+
readonly type: "string";
|
|
33081
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
33082
|
+
};
|
|
33083
|
+
readonly sizeField: {
|
|
33084
|
+
readonly type: "string";
|
|
33085
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
33086
|
+
};
|
|
33087
|
+
readonly purposes: {
|
|
33088
|
+
readonly type: "array";
|
|
33089
|
+
readonly minItems: 1;
|
|
33090
|
+
readonly maxItems: 2;
|
|
33091
|
+
readonly uniqueItems: true;
|
|
33092
|
+
readonly items: {
|
|
33093
|
+
readonly enum: readonly ["preview", "download"];
|
|
33094
|
+
};
|
|
33095
|
+
};
|
|
33096
|
+
readonly maxTtlSeconds: {
|
|
33097
|
+
readonly type: "integer";
|
|
33098
|
+
readonly minimum: 1;
|
|
33099
|
+
readonly maximum: 300;
|
|
33100
|
+
};
|
|
33101
|
+
readonly maxBytes: {
|
|
33102
|
+
readonly type: "integer";
|
|
33103
|
+
readonly minimum: 1;
|
|
33104
|
+
readonly maximum: 104857600;
|
|
33105
|
+
};
|
|
33106
|
+
};
|
|
33107
|
+
};
|
|
33108
|
+
};
|
|
33109
|
+
};
|
|
32260
33110
|
readonly ai: {
|
|
32261
33111
|
readonly type: "object";
|
|
32262
33112
|
readonly additionalProperties: false;
|
|
@@ -32319,6 +33169,111 @@ export declare const contractSchemas: {
|
|
|
32319
33169
|
readonly $ref: "openxiangda.data-resource/v2";
|
|
32320
33170
|
};
|
|
32321
33171
|
};
|
|
33172
|
+
readonly subjectReadSurfaces: {
|
|
33173
|
+
readonly type: "array";
|
|
33174
|
+
readonly maxItems: 50;
|
|
33175
|
+
readonly items: {
|
|
33176
|
+
readonly type: "object";
|
|
33177
|
+
readonly additionalProperties: false;
|
|
33178
|
+
readonly required: readonly ["code", "name", "capability", "subject", "relations"];
|
|
33179
|
+
readonly properties: {
|
|
33180
|
+
readonly code: {
|
|
33181
|
+
readonly type: "string";
|
|
33182
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
33183
|
+
readonly maxLength: 128;
|
|
33184
|
+
};
|
|
33185
|
+
readonly name: {
|
|
33186
|
+
readonly type: "string";
|
|
33187
|
+
readonly minLength: 1;
|
|
33188
|
+
};
|
|
33189
|
+
readonly capability: {
|
|
33190
|
+
readonly type: "string";
|
|
33191
|
+
readonly pattern: "^app:[a-z][a-z0-9]*(?:-[a-z0-9]+)*:[A-Za-z0-9:._*-]+$";
|
|
33192
|
+
readonly maxLength: 255;
|
|
33193
|
+
};
|
|
33194
|
+
readonly subject: {
|
|
33195
|
+
readonly type: "object";
|
|
33196
|
+
readonly additionalProperties: false;
|
|
33197
|
+
readonly required: readonly ["resourceCode", "fields"];
|
|
33198
|
+
readonly properties: {
|
|
33199
|
+
readonly resourceCode: {
|
|
33200
|
+
readonly type: "string";
|
|
33201
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
33202
|
+
};
|
|
33203
|
+
readonly fields: {
|
|
33204
|
+
readonly type: "array";
|
|
33205
|
+
readonly minItems: 1;
|
|
33206
|
+
readonly maxItems: 100;
|
|
33207
|
+
readonly uniqueItems: true;
|
|
33208
|
+
readonly items: {
|
|
33209
|
+
readonly type: "string";
|
|
33210
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
33211
|
+
};
|
|
33212
|
+
};
|
|
33213
|
+
};
|
|
33214
|
+
};
|
|
33215
|
+
readonly relations: {
|
|
33216
|
+
readonly type: "array";
|
|
33217
|
+
readonly minItems: 1;
|
|
33218
|
+
readonly maxItems: 8;
|
|
33219
|
+
readonly items: {
|
|
33220
|
+
readonly type: "object";
|
|
33221
|
+
readonly additionalProperties: false;
|
|
33222
|
+
readonly required: readonly ["code", "resourceCode", "foreignKeyField", "fields", "limit"];
|
|
33223
|
+
readonly properties: {
|
|
33224
|
+
readonly code: {
|
|
33225
|
+
readonly type: "string";
|
|
33226
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
33227
|
+
readonly maxLength: 128;
|
|
33228
|
+
};
|
|
33229
|
+
readonly resourceCode: {
|
|
33230
|
+
readonly type: "string";
|
|
33231
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
33232
|
+
};
|
|
33233
|
+
readonly foreignKeyField: {
|
|
33234
|
+
readonly type: "string";
|
|
33235
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
33236
|
+
};
|
|
33237
|
+
readonly fields: {
|
|
33238
|
+
readonly type: "array";
|
|
33239
|
+
readonly minItems: 1;
|
|
33240
|
+
readonly maxItems: 100;
|
|
33241
|
+
readonly uniqueItems: true;
|
|
33242
|
+
readonly items: {
|
|
33243
|
+
readonly type: "string";
|
|
33244
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
33245
|
+
};
|
|
33246
|
+
};
|
|
33247
|
+
readonly order: {
|
|
33248
|
+
readonly type: "array";
|
|
33249
|
+
readonly maxItems: 10;
|
|
33250
|
+
readonly items: {
|
|
33251
|
+
readonly type: "object";
|
|
33252
|
+
readonly additionalProperties: false;
|
|
33253
|
+
readonly required: readonly ["field", "direction"];
|
|
33254
|
+
readonly properties: {
|
|
33255
|
+
readonly field: {
|
|
33256
|
+
readonly type: "string";
|
|
33257
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
33258
|
+
readonly maxLength: 128;
|
|
33259
|
+
};
|
|
33260
|
+
readonly direction: {
|
|
33261
|
+
readonly enum: readonly ["asc", "desc"];
|
|
33262
|
+
};
|
|
33263
|
+
};
|
|
33264
|
+
};
|
|
33265
|
+
};
|
|
33266
|
+
readonly limit: {
|
|
33267
|
+
readonly type: "integer";
|
|
33268
|
+
readonly minimum: 1;
|
|
33269
|
+
readonly maximum: 100;
|
|
33270
|
+
};
|
|
33271
|
+
};
|
|
33272
|
+
};
|
|
33273
|
+
};
|
|
33274
|
+
};
|
|
33275
|
+
};
|
|
33276
|
+
};
|
|
32322
33277
|
readonly resourceDetailRoutes: {
|
|
32323
33278
|
readonly type: "array";
|
|
32324
33279
|
readonly maxItems: 100;
|
|
@@ -33534,6 +34489,111 @@ export declare const contractSchemas: {
|
|
|
33534
34489
|
readonly type: "object";
|
|
33535
34490
|
};
|
|
33536
34491
|
};
|
|
34492
|
+
readonly subjectReadSurfaces: {
|
|
34493
|
+
readonly type: "array";
|
|
34494
|
+
readonly maxItems: 50;
|
|
34495
|
+
readonly items: {
|
|
34496
|
+
readonly type: "object";
|
|
34497
|
+
readonly additionalProperties: false;
|
|
34498
|
+
readonly required: readonly ["code", "name", "capability", "subject", "relations"];
|
|
34499
|
+
readonly properties: {
|
|
34500
|
+
readonly code: {
|
|
34501
|
+
readonly type: "string";
|
|
34502
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
34503
|
+
readonly maxLength: 128;
|
|
34504
|
+
};
|
|
34505
|
+
readonly name: {
|
|
34506
|
+
readonly type: "string";
|
|
34507
|
+
readonly minLength: 1;
|
|
34508
|
+
};
|
|
34509
|
+
readonly capability: {
|
|
34510
|
+
readonly type: "string";
|
|
34511
|
+
readonly pattern: "^app:[a-z][a-z0-9]*(?:-[a-z0-9]+)*:[A-Za-z0-9:._*-]+$";
|
|
34512
|
+
readonly maxLength: 255;
|
|
34513
|
+
};
|
|
34514
|
+
readonly subject: {
|
|
34515
|
+
readonly type: "object";
|
|
34516
|
+
readonly additionalProperties: false;
|
|
34517
|
+
readonly required: readonly ["resourceCode", "fields"];
|
|
34518
|
+
readonly properties: {
|
|
34519
|
+
readonly resourceCode: {
|
|
34520
|
+
readonly type: "string";
|
|
34521
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
34522
|
+
};
|
|
34523
|
+
readonly fields: {
|
|
34524
|
+
readonly type: "array";
|
|
34525
|
+
readonly minItems: 1;
|
|
34526
|
+
readonly maxItems: 100;
|
|
34527
|
+
readonly uniqueItems: true;
|
|
34528
|
+
readonly items: {
|
|
34529
|
+
readonly type: "string";
|
|
34530
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
34531
|
+
};
|
|
34532
|
+
};
|
|
34533
|
+
};
|
|
34534
|
+
};
|
|
34535
|
+
readonly relations: {
|
|
34536
|
+
readonly type: "array";
|
|
34537
|
+
readonly minItems: 1;
|
|
34538
|
+
readonly maxItems: 8;
|
|
34539
|
+
readonly items: {
|
|
34540
|
+
readonly type: "object";
|
|
34541
|
+
readonly additionalProperties: false;
|
|
34542
|
+
readonly required: readonly ["code", "resourceCode", "foreignKeyField", "fields", "limit"];
|
|
34543
|
+
readonly properties: {
|
|
34544
|
+
readonly code: {
|
|
34545
|
+
readonly type: "string";
|
|
34546
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
34547
|
+
readonly maxLength: 128;
|
|
34548
|
+
};
|
|
34549
|
+
readonly resourceCode: {
|
|
34550
|
+
readonly type: "string";
|
|
34551
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
34552
|
+
};
|
|
34553
|
+
readonly foreignKeyField: {
|
|
34554
|
+
readonly type: "string";
|
|
34555
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
34556
|
+
};
|
|
34557
|
+
readonly fields: {
|
|
34558
|
+
readonly type: "array";
|
|
34559
|
+
readonly minItems: 1;
|
|
34560
|
+
readonly maxItems: 100;
|
|
34561
|
+
readonly uniqueItems: true;
|
|
34562
|
+
readonly items: {
|
|
34563
|
+
readonly type: "string";
|
|
34564
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
|
|
34565
|
+
};
|
|
34566
|
+
};
|
|
34567
|
+
readonly order: {
|
|
34568
|
+
readonly type: "array";
|
|
34569
|
+
readonly maxItems: 10;
|
|
34570
|
+
readonly items: {
|
|
34571
|
+
readonly type: "object";
|
|
34572
|
+
readonly additionalProperties: false;
|
|
34573
|
+
readonly required: readonly ["field", "direction"];
|
|
34574
|
+
readonly properties: {
|
|
34575
|
+
readonly field: {
|
|
34576
|
+
readonly type: "string";
|
|
34577
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
|
|
34578
|
+
readonly maxLength: 128;
|
|
34579
|
+
};
|
|
34580
|
+
readonly direction: {
|
|
34581
|
+
readonly enum: readonly ["asc", "desc"];
|
|
34582
|
+
};
|
|
34583
|
+
};
|
|
34584
|
+
};
|
|
34585
|
+
};
|
|
34586
|
+
readonly limit: {
|
|
34587
|
+
readonly type: "integer";
|
|
34588
|
+
readonly minimum: 1;
|
|
34589
|
+
readonly maximum: 100;
|
|
34590
|
+
};
|
|
34591
|
+
};
|
|
34592
|
+
};
|
|
34593
|
+
};
|
|
34594
|
+
};
|
|
34595
|
+
};
|
|
34596
|
+
};
|
|
33537
34597
|
readonly capabilities: {
|
|
33538
34598
|
readonly type: "array";
|
|
33539
34599
|
readonly maxItems: 2000;
|