@hcmai/sdk 0.19.0 → 0.21.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/index.d.ts +46 -17
- package/dist/index.js +3110 -475
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -443,11 +443,13 @@ function mergeEffectiveActions(fromMeta, effective) {
|
|
|
443
443
|
// src/meta/action-effect.ts
|
|
444
444
|
var EFFECT_READ_ONLY = "READ_ONLY";
|
|
445
445
|
var EFFECT_WRITES = "WRITES";
|
|
446
|
+
var EFFECT_ACCOUNTING_ONLY = "ACCOUNTING_ONLY";
|
|
446
447
|
var EFFECT_UNKNOWN = "UNKNOWN";
|
|
447
448
|
function classifyEffect(effect) {
|
|
448
449
|
if (effect === void 0) return "absent";
|
|
449
450
|
if (effect === EFFECT_READ_ONLY) return "read-only";
|
|
450
451
|
if (effect === EFFECT_WRITES) return "writes";
|
|
452
|
+
if (effect === EFFECT_ACCOUNTING_ONLY) return "accounting-only";
|
|
451
453
|
if (effect === EFFECT_UNKNOWN) return "declared-unknown";
|
|
452
454
|
return "unrecognized-effect";
|
|
453
455
|
}
|
|
@@ -483,7 +485,7 @@ function attachEnvironmentSafety(http, safety) {
|
|
|
483
485
|
const candidate = candidates[0];
|
|
484
486
|
const effect = classifyEffect(candidate.effect);
|
|
485
487
|
if (effect === "read-only" || effect === "absent" && candidate.readOnly === true) return request;
|
|
486
|
-
reason += `\uFF08effect=${String(candidate.effect ?? "\u672A\u58F0\u660E")}\uFF09`;
|
|
488
|
+
reason += effect === "accounting-only" ? "\uFF08effect=ACCOUNTING_ONLY\uFF0C\u5DF2\u5224\u5B9A\u4F1A\u4EA7\u751F\u8BB0\u8D26\u7C7B\u526F\u4F5C\u7528\uFF09" : `\uFF08effect=${String(candidate.effect ?? "\u672A\u58F0\u660E")}\uFF09`;
|
|
487
489
|
} else reason += `\uFF08\u672A\u53D6\u5F97\u552F\u4E00\u5339\u914D\u7684\u526F\u4F5C\u7528\u58F0\u660E\uFF0C\u5339\u914D ${candidates.length} \u9879\uFF09`;
|
|
488
490
|
} catch (e) {
|
|
489
491
|
reason += `\uFF08\u8BFB\u53D6\u526F\u4F5C\u7528\u58F0\u660E\u5931\u8D25\uFF1A${e.message}\uFF09`;
|
|
@@ -917,7 +919,7 @@ async function findEnvByEndpoint(endpoint, tenant, opts = {}) {
|
|
|
917
919
|
if (!matches.length) return null;
|
|
918
920
|
const active = opts.activeEnv ?? (await loadGlobalConfig()).activeEnv;
|
|
919
921
|
const usable = matches.filter((match) => match.hasIdentity);
|
|
920
|
-
const pick = usable.find((match) => match.name === active) ?? (tenant ? usable.find((match) => (match.config.tenantId ?? "1") === tenant) : void 0) ?? usable[0] ?? matches.find((match) => match.name === active) ?? matches[0];
|
|
922
|
+
const pick = matches.find((match) => match.name === opts.preferredName) ?? usable.find((match) => match.name === active) ?? (tenant ? usable.find((match) => (match.config.tenantId ?? "1") === tenant) : void 0) ?? usable[0] ?? matches.find((match) => match.name === active) ?? matches[0];
|
|
921
923
|
return { name: pick.name, config: pick.config };
|
|
922
924
|
}
|
|
923
925
|
async function resolveEnvContext(args, env2, global) {
|
|
@@ -925,7 +927,7 @@ async function resolveEnvContext(args, env2, global) {
|
|
|
925
927
|
const requested = requestedEnv(args, env2);
|
|
926
928
|
const selected = projectSelection(project, requested);
|
|
927
929
|
if (selected) {
|
|
928
|
-
const found = await findEnvByEndpoint(selected.environment.endpoint, selected.environment.tenant, { strictTenant: true, activeEnv: global.activeEnv });
|
|
930
|
+
const found = await findEnvByEndpoint(selected.environment.endpoint, selected.environment.tenant, { strictTenant: true, activeEnv: global.activeEnv, preferredName: selected.name });
|
|
929
931
|
if (!found) throw new CliError({
|
|
930
932
|
code: "ENV_NOT_FOUND" /* ENV_NOT_FOUND */,
|
|
931
933
|
message: `${selected.path} \u7684\u73AF\u5883 '${selected.name}'\uFF08${selected.environment.endpoint} \xB7 \u79DF\u6237 ${selected.environment.tenant}\uFF09\u6CA1\u6709\u5339\u914D\u7684\u672C\u673A\u69FD\uFF1B\u4E0D\u4F1A\u56DE\u843D\u5230 activeEnv '${global.activeEnv}'\u3002`,
|
|
@@ -3046,6 +3048,7 @@ async function releasePendingImpersonationSessions() {
|
|
|
3046
3048
|
// src/auth/impersonation.ts
|
|
3047
3049
|
var AUTH_SESSION_INFO_PATH = "/api/auth/info";
|
|
3048
3050
|
var IMPERSONATION_START_PATH = "/api/admin/impersonation/start";
|
|
3051
|
+
var USER_LOOKUP_PATH = "/api/models/User/list/dsl";
|
|
3049
3052
|
var IMPERSONATION_ACTIVE_PATH = "/api/admin/impersonation/active";
|
|
3050
3053
|
var UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
3051
3054
|
function protocolError(message) {
|
|
@@ -3088,14 +3091,24 @@ async function startImpersonation(input) {
|
|
|
3088
3091
|
throw new CliError({
|
|
3089
3092
|
code: "IDENTITY_NOT_IN_ENV" /* IDENTITY_NOT_IN_ENV */,
|
|
3090
3093
|
message: `\u5F53\u524D token \u7684\u5B9E\u9645\u7528\u6237\u540D '${principal.username}' \u4E0E\u64CD\u4F5C\u8005 '${input.actorUsername}' \u4E0D\u4E00\u81F4\uFF0C\u5DF2\u505C\u6B62\u4EE3\u7406`,
|
|
3091
|
-
context: {
|
|
3094
|
+
context: {
|
|
3095
|
+
mismatch: "username",
|
|
3096
|
+
actual: principal.username,
|
|
3097
|
+
expected: input.actorUsername,
|
|
3098
|
+
nextStep: `hcm login --env ${input.actor.env} \u91CD\u65B0\u767B\u5F55\u7BA1\u7406\u5458\u8EAB\u4EFD`
|
|
3099
|
+
}
|
|
3092
3100
|
});
|
|
3093
3101
|
}
|
|
3094
3102
|
if (principal.tenantId !== input.actor.tenantId) {
|
|
3095
3103
|
throw new CliError({
|
|
3096
3104
|
code: "IDENTITY_NOT_IN_ENV" /* IDENTITY_NOT_IN_ENV */,
|
|
3097
3105
|
message: `\u5F53\u524D token \u5C5E\u4E8E\u79DF\u6237 '${principal.tenantId}'\uFF0C\u9884\u671F '${input.actor.tenantId}'\uFF0C\u5DF2\u505C\u6B62\u4EE3\u7406`,
|
|
3098
|
-
context: {
|
|
3106
|
+
context: {
|
|
3107
|
+
mismatch: "tenant",
|
|
3108
|
+
actual: principal.tenantId,
|
|
3109
|
+
expected: input.actor.tenantId,
|
|
3110
|
+
nextStep: `hcm login --env ${input.actor.env} \u91CD\u65B0\u767B\u5F55\u6B63\u786E\u79DF\u6237`
|
|
3111
|
+
}
|
|
3099
3112
|
});
|
|
3100
3113
|
}
|
|
3101
3114
|
if (principal.impersonated || principal.actSub != null) {
|
|
@@ -3114,7 +3127,7 @@ async function startImpersonation(input) {
|
|
|
3114
3127
|
}
|
|
3115
3128
|
let targetUserId = input.target;
|
|
3116
3129
|
if (!UUID.test(targetUserId)) {
|
|
3117
|
-
const { data: data2 } = await http.post(
|
|
3130
|
+
const { data: data2 } = await http.post(USER_LOOKUP_PATH, {
|
|
3118
3131
|
filter: { field: "name", op: "eq", value: input.target },
|
|
3119
3132
|
fields: ["id", "name"],
|
|
3120
3133
|
page: 0,
|
|
@@ -7066,7 +7079,7 @@ async function deleteTenantMeta(http, path24) {
|
|
|
7066
7079
|
import yaml9 from "js-yaml";
|
|
7067
7080
|
|
|
7068
7081
|
// src/meta/generated/meta-schemas.ts
|
|
7069
|
-
var META_SCHEMA_SOURCE_COMMIT = "
|
|
7082
|
+
var META_SCHEMA_SOURCE_COMMIT = "9512b2124ea6cc36d91e9a6fdcd58bc153e74264";
|
|
7070
7083
|
var META_SCHEMAS = {
|
|
7071
7084
|
list: {
|
|
7072
7085
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -7085,86 +7098,540 @@ var META_SCHEMAS = {
|
|
|
7085
7098
|
"JsonNode": {
|
|
7086
7099
|
"type": "object"
|
|
7087
7100
|
},
|
|
7088
|
-
"
|
|
7089
|
-
"type": "object"
|
|
7090
|
-
},
|
|
7091
|
-
"Map(String,String)": {
|
|
7092
|
-
"type": "object"
|
|
7093
|
-
},
|
|
7094
|
-
"ServiceActionConfig": {
|
|
7095
|
-
"type": "object",
|
|
7096
|
-
"required": ["agentKey", "serviceKey"],
|
|
7097
|
-
"properties": {
|
|
7098
|
-
"agentKey": { "type": "string", "minLength": 1 },
|
|
7099
|
-
"serviceKey": { "type": "string", "minLength": 1 },
|
|
7100
|
-
"mode": { "type": "string", "enum": ["sync", "async"] },
|
|
7101
|
-
"timeoutMs": { "type": "integer", "minimum": 1e3 },
|
|
7102
|
-
"pollIntervalMs": { "type": "integer", "minimum": 100 }
|
|
7103
|
-
}
|
|
7104
|
-
},
|
|
7105
|
-
"ActionExecutionConfig": {
|
|
7106
|
-
"type": "object",
|
|
7107
|
-
"properties": {
|
|
7108
|
-
"returnOn": { "type": "string", "enum": ["terminal", "accepted"] }
|
|
7109
|
-
}
|
|
7110
|
-
},
|
|
7111
|
-
"CompositeActionConfig": {
|
|
7101
|
+
"ListActionMeta": {
|
|
7112
7102
|
"type": "object",
|
|
7113
|
-
"required": ["steps"],
|
|
7114
7103
|
"properties": {
|
|
7115
|
-
"
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7104
|
+
"after": {
|
|
7105
|
+
"type": "object",
|
|
7106
|
+
"properties": {
|
|
7107
|
+
"onBlock": {
|
|
7108
|
+
"type": "array",
|
|
7109
|
+
"items": {
|
|
7110
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7111
|
+
}
|
|
7112
|
+
},
|
|
7113
|
+
"onError": {
|
|
7114
|
+
"type": "array",
|
|
7115
|
+
"items": {
|
|
7116
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7117
|
+
}
|
|
7118
|
+
},
|
|
7119
|
+
"onEscalate": {
|
|
7120
|
+
"type": "array",
|
|
7121
|
+
"items": {
|
|
7122
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7123
|
+
}
|
|
7124
|
+
},
|
|
7125
|
+
"onFinally": {
|
|
7126
|
+
"type": "array",
|
|
7127
|
+
"items": {
|
|
7128
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7129
|
+
}
|
|
7130
|
+
},
|
|
7131
|
+
"onInfo": {
|
|
7132
|
+
"type": "array",
|
|
7133
|
+
"items": {
|
|
7134
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7135
|
+
}
|
|
7136
|
+
},
|
|
7137
|
+
"onPass": {
|
|
7138
|
+
"type": "array",
|
|
7139
|
+
"items": {
|
|
7140
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7141
|
+
}
|
|
7142
|
+
},
|
|
7143
|
+
"onSuccess": {
|
|
7144
|
+
"type": "array",
|
|
7145
|
+
"items": {
|
|
7146
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7147
|
+
}
|
|
7148
|
+
},
|
|
7149
|
+
"onWarn": {
|
|
7150
|
+
"type": "array",
|
|
7151
|
+
"items": {
|
|
7152
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7153
|
+
}
|
|
7154
|
+
}
|
|
7155
|
+
}
|
|
7156
|
+
},
|
|
7157
|
+
"api": {
|
|
7158
|
+
"type": "object",
|
|
7159
|
+
"properties": {
|
|
7160
|
+
"actionName": {
|
|
7161
|
+
"type": "string"
|
|
7162
|
+
},
|
|
7163
|
+
"awaitTask": {
|
|
7164
|
+
"type": "object",
|
|
7165
|
+
"properties": {
|
|
7166
|
+
"completionEventType": {
|
|
7167
|
+
"type": "string"
|
|
7168
|
+
},
|
|
7169
|
+
"completionStatus": {
|
|
7170
|
+
"type": "string"
|
|
7171
|
+
},
|
|
7172
|
+
"enabled": {
|
|
7173
|
+
"type": "boolean"
|
|
7174
|
+
},
|
|
7175
|
+
"pollIntervalMs": {
|
|
7176
|
+
"type": "integer"
|
|
7177
|
+
},
|
|
7178
|
+
"resultModel": {
|
|
7179
|
+
"type": "string"
|
|
7180
|
+
},
|
|
7181
|
+
"taskIdPath": {
|
|
7182
|
+
"type": "string"
|
|
7183
|
+
},
|
|
7184
|
+
"timeoutMs": {
|
|
7185
|
+
"type": "integer"
|
|
7129
7186
|
}
|
|
7130
7187
|
}
|
|
7131
|
-
|
|
7188
|
+
},
|
|
7189
|
+
"i18n": {
|
|
7190
|
+
"type": "boolean"
|
|
7191
|
+
},
|
|
7192
|
+
"idempotencyKeyInHeader": {
|
|
7193
|
+
"type": "boolean"
|
|
7194
|
+
},
|
|
7195
|
+
"method": {
|
|
7196
|
+
"type": "string"
|
|
7197
|
+
},
|
|
7198
|
+
"responseType": {
|
|
7199
|
+
"type": "string"
|
|
7200
|
+
},
|
|
7201
|
+
"silent": {
|
|
7202
|
+
"type": "boolean"
|
|
7203
|
+
},
|
|
7204
|
+
"successMessage": {
|
|
7205
|
+
"type": "string"
|
|
7206
|
+
},
|
|
7207
|
+
"target": {
|
|
7208
|
+
"type": "string"
|
|
7209
|
+
},
|
|
7210
|
+
"targetModel": {
|
|
7211
|
+
"type": "string"
|
|
7212
|
+
}
|
|
7132
7213
|
}
|
|
7133
|
-
}
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
"
|
|
7144
|
-
|
|
7145
|
-
"
|
|
7214
|
+
},
|
|
7215
|
+
"buttonType": {
|
|
7216
|
+
"type": "string"
|
|
7217
|
+
},
|
|
7218
|
+
"children": {
|
|
7219
|
+
"type": "array",
|
|
7220
|
+
"items": {
|
|
7221
|
+
"$ref": "#/$defs/ListActionMeta"
|
|
7222
|
+
}
|
|
7223
|
+
},
|
|
7224
|
+
"composite": {
|
|
7225
|
+
"type": "object",
|
|
7226
|
+
"properties": {
|
|
7227
|
+
"mode": {
|
|
7228
|
+
"type": "string"
|
|
7229
|
+
},
|
|
7230
|
+
"steps": {
|
|
7231
|
+
"type": "array",
|
|
7232
|
+
"items": {}
|
|
7233
|
+
},
|
|
7234
|
+
"stopOnError": {
|
|
7235
|
+
"type": "boolean"
|
|
7236
|
+
}
|
|
7237
|
+
}
|
|
7238
|
+
},
|
|
7239
|
+
"confirmPreview": {
|
|
7240
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7241
|
+
},
|
|
7242
|
+
"confirmText": {
|
|
7243
|
+
"type": "string"
|
|
7244
|
+
},
|
|
7245
|
+
"confirmTitle": {
|
|
7246
|
+
"type": "string"
|
|
7247
|
+
},
|
|
7248
|
+
"custom": {
|
|
7249
|
+
"type": "object",
|
|
7250
|
+
"properties": {
|
|
7251
|
+
"key": {
|
|
7252
|
+
"type": "string"
|
|
7253
|
+
},
|
|
7254
|
+
"options": {
|
|
7255
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7256
|
+
}
|
|
7257
|
+
}
|
|
7258
|
+
},
|
|
7259
|
+
"description": {
|
|
7260
|
+
"type": "string"
|
|
7261
|
+
},
|
|
7262
|
+
"dialog": {
|
|
7263
|
+
"type": "object",
|
|
7264
|
+
"properties": {
|
|
7265
|
+
"actionTarget": {
|
|
7266
|
+
"type": "string"
|
|
7267
|
+
},
|
|
7268
|
+
"component": {
|
|
7269
|
+
"type": "string"
|
|
7270
|
+
},
|
|
7271
|
+
"createDefaults": {
|
|
7272
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
7273
|
+
},
|
|
7274
|
+
"dialogType": {
|
|
7275
|
+
"type": "string"
|
|
7276
|
+
},
|
|
7277
|
+
"filterMapping": {
|
|
7278
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
7279
|
+
},
|
|
7280
|
+
"form": {
|
|
7281
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7282
|
+
},
|
|
7283
|
+
"i18n": {
|
|
7284
|
+
"type": "boolean"
|
|
7285
|
+
},
|
|
7286
|
+
"initDataMapping": {
|
|
7287
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
7288
|
+
},
|
|
7289
|
+
"listHeight": {
|
|
7290
|
+
"type": "string"
|
|
7291
|
+
},
|
|
7292
|
+
"listSelection": {
|
|
7293
|
+
"type": "boolean"
|
|
7294
|
+
},
|
|
7295
|
+
"plugin": {
|
|
7296
|
+
"type": "string"
|
|
7297
|
+
},
|
|
7298
|
+
"result": {
|
|
7299
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7300
|
+
},
|
|
7301
|
+
"showFilter": {
|
|
7302
|
+
"type": "boolean"
|
|
7303
|
+
},
|
|
7304
|
+
"showSearch": {
|
|
7305
|
+
"type": "boolean"
|
|
7306
|
+
},
|
|
7307
|
+
"targetAction": {
|
|
7308
|
+
"type": "string"
|
|
7309
|
+
},
|
|
7310
|
+
"targetModel": {
|
|
7311
|
+
"type": "string"
|
|
7312
|
+
},
|
|
7313
|
+
"targetState": {
|
|
7314
|
+
"type": "string"
|
|
7315
|
+
},
|
|
7316
|
+
"targetStateMapping": {
|
|
7317
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7318
|
+
},
|
|
7319
|
+
"title": {
|
|
7320
|
+
"type": "string"
|
|
7321
|
+
},
|
|
7322
|
+
"width": {
|
|
7323
|
+
"type": "string"
|
|
7324
|
+
}
|
|
7325
|
+
}
|
|
7326
|
+
},
|
|
7327
|
+
"disabled": {},
|
|
7328
|
+
"execution": {
|
|
7329
|
+
"type": "object",
|
|
7330
|
+
"properties": {
|
|
7331
|
+
"returnOn": {
|
|
7332
|
+
"type": "string"
|
|
7333
|
+
}
|
|
7334
|
+
}
|
|
7335
|
+
},
|
|
7336
|
+
"icon": {
|
|
7337
|
+
"type": "string"
|
|
7338
|
+
},
|
|
7339
|
+
"isDefault": {
|
|
7340
|
+
"type": "boolean"
|
|
7341
|
+
},
|
|
7342
|
+
"key": {
|
|
7343
|
+
"type": "string"
|
|
7344
|
+
},
|
|
7345
|
+
"label": {
|
|
7346
|
+
"type": "string"
|
|
7347
|
+
},
|
|
7348
|
+
"monitor": {
|
|
7349
|
+
"type": "object",
|
|
7350
|
+
"properties": {
|
|
7351
|
+
"scenario": {
|
|
7352
|
+
"type": "string"
|
|
7353
|
+
}
|
|
7354
|
+
}
|
|
7355
|
+
},
|
|
7356
|
+
"more": {
|
|
7357
|
+
"type": "boolean"
|
|
7358
|
+
},
|
|
7359
|
+
"navigate": {
|
|
7360
|
+
"type": "object",
|
|
7361
|
+
"properties": {
|
|
7362
|
+
"navigateType": {
|
|
7363
|
+
"type": "string"
|
|
7364
|
+
},
|
|
7365
|
+
"newWindow": {
|
|
7366
|
+
"type": "boolean"
|
|
7367
|
+
},
|
|
7368
|
+
"params": {
|
|
7369
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
7370
|
+
},
|
|
7371
|
+
"path": {
|
|
7372
|
+
"type": "string"
|
|
7373
|
+
},
|
|
7374
|
+
"query": {
|
|
7375
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
7376
|
+
},
|
|
7377
|
+
"routeName": {
|
|
7378
|
+
"type": "string"
|
|
7379
|
+
},
|
|
7380
|
+
"url": {
|
|
7381
|
+
"type": "string"
|
|
7382
|
+
}
|
|
7383
|
+
}
|
|
7384
|
+
},
|
|
7385
|
+
"needConfirm": {
|
|
7386
|
+
"type": "boolean"
|
|
7387
|
+
},
|
|
7388
|
+
"order": {
|
|
7389
|
+
"type": "integer"
|
|
7390
|
+
},
|
|
7391
|
+
"pageMode": {
|
|
7392
|
+
"type": "array",
|
|
7393
|
+
"items": {
|
|
7394
|
+
"type": "string"
|
|
7395
|
+
}
|
|
7396
|
+
},
|
|
7397
|
+
"params": {
|
|
7398
|
+
"type": "array",
|
|
7399
|
+
"items": {
|
|
7146
7400
|
"type": "object",
|
|
7147
7401
|
"properties": {
|
|
7148
|
-
"
|
|
7149
|
-
|
|
7150
|
-
"
|
|
7151
|
-
"$ref": "#/$defs/AfterHandler"
|
|
7152
|
-
}
|
|
7153
|
-
},
|
|
7154
|
-
"onError": {
|
|
7155
|
-
"type": "array",
|
|
7156
|
-
"items": {
|
|
7157
|
-
"$ref": "#/$defs/AfterHandler"
|
|
7158
|
-
}
|
|
7402
|
+
"defaultValue": {},
|
|
7403
|
+
"expr": {
|
|
7404
|
+
"type": "string"
|
|
7159
7405
|
},
|
|
7160
|
-
"
|
|
7161
|
-
"type": "
|
|
7162
|
-
"
|
|
7163
|
-
"
|
|
7406
|
+
"formRef": {
|
|
7407
|
+
"type": "object",
|
|
7408
|
+
"properties": {
|
|
7409
|
+
"fields": {
|
|
7410
|
+
"type": "array",
|
|
7411
|
+
"items": {
|
|
7412
|
+
"type": "string"
|
|
7413
|
+
}
|
|
7414
|
+
},
|
|
7415
|
+
"model": {
|
|
7416
|
+
"type": "string"
|
|
7417
|
+
}
|
|
7164
7418
|
}
|
|
7165
7419
|
},
|
|
7166
|
-
"
|
|
7167
|
-
"type": "
|
|
7420
|
+
"formSchema": {
|
|
7421
|
+
"type": "object",
|
|
7422
|
+
"properties": {
|
|
7423
|
+
"fields": {
|
|
7424
|
+
"type": "array",
|
|
7425
|
+
"items": {
|
|
7426
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7427
|
+
}
|
|
7428
|
+
},
|
|
7429
|
+
"submitLabel": {
|
|
7430
|
+
"type": "string"
|
|
7431
|
+
},
|
|
7432
|
+
"title": {
|
|
7433
|
+
"type": "string"
|
|
7434
|
+
},
|
|
7435
|
+
"width": {
|
|
7436
|
+
"type": "string"
|
|
7437
|
+
}
|
|
7438
|
+
}
|
|
7439
|
+
},
|
|
7440
|
+
"inputType": {
|
|
7441
|
+
"type": "string"
|
|
7442
|
+
},
|
|
7443
|
+
"into": {
|
|
7444
|
+
"type": "string"
|
|
7445
|
+
},
|
|
7446
|
+
"keyPath": {
|
|
7447
|
+
"type": "string"
|
|
7448
|
+
},
|
|
7449
|
+
"name": {
|
|
7450
|
+
"type": "string"
|
|
7451
|
+
},
|
|
7452
|
+
"path": {
|
|
7453
|
+
"type": "string"
|
|
7454
|
+
},
|
|
7455
|
+
"promptLabel": {
|
|
7456
|
+
"type": "string"
|
|
7457
|
+
},
|
|
7458
|
+
"promptText": {
|
|
7459
|
+
"type": "string"
|
|
7460
|
+
},
|
|
7461
|
+
"required": {
|
|
7462
|
+
"type": "boolean"
|
|
7463
|
+
},
|
|
7464
|
+
"source": {
|
|
7465
|
+
"type": "string",
|
|
7466
|
+
"description": "\u53C2\u6570\u6765\u6E90: row|selection|route|query|state|masterData|chainResult|chainStep|form|prompt|constant|expression|idempotency\uFF1Bidempotency \u5728\u6BCF\u6B21\u53C2\u6570\u6536\u96C6\u4E2D\u81EA\u52A8\u751F\u6210\u5E76\u590D\u7528 UUID\uFF0C\u4E0D\u5C55\u793A\u7ED9\u7528\u6237"
|
|
7467
|
+
},
|
|
7468
|
+
"value": {}
|
|
7469
|
+
}
|
|
7470
|
+
}
|
|
7471
|
+
},
|
|
7472
|
+
"position": {
|
|
7473
|
+
"type": "string"
|
|
7474
|
+
},
|
|
7475
|
+
"requiredPermission": {
|
|
7476
|
+
"type": "string"
|
|
7477
|
+
},
|
|
7478
|
+
"requiresEntityId": {
|
|
7479
|
+
"type": "boolean"
|
|
7480
|
+
},
|
|
7481
|
+
"script": {
|
|
7482
|
+
"type": "object",
|
|
7483
|
+
"properties": {
|
|
7484
|
+
"mode": {
|
|
7485
|
+
"type": "string"
|
|
7486
|
+
},
|
|
7487
|
+
"params": {
|
|
7488
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7489
|
+
},
|
|
7490
|
+
"readOnly": {
|
|
7491
|
+
"type": "boolean"
|
|
7492
|
+
},
|
|
7493
|
+
"scriptKey": {
|
|
7494
|
+
"type": "string"
|
|
7495
|
+
},
|
|
7496
|
+
"timeout": {
|
|
7497
|
+
"type": "integer"
|
|
7498
|
+
}
|
|
7499
|
+
}
|
|
7500
|
+
},
|
|
7501
|
+
"service": {
|
|
7502
|
+
"type": "object",
|
|
7503
|
+
"properties": {
|
|
7504
|
+
"agentKey": {
|
|
7505
|
+
"type": "string"
|
|
7506
|
+
},
|
|
7507
|
+
"mode": {
|
|
7508
|
+
"type": "string"
|
|
7509
|
+
},
|
|
7510
|
+
"pollIntervalMs": {
|
|
7511
|
+
"type": "integer"
|
|
7512
|
+
},
|
|
7513
|
+
"serviceKey": {
|
|
7514
|
+
"type": "string"
|
|
7515
|
+
},
|
|
7516
|
+
"timeoutMs": {
|
|
7517
|
+
"type": "integer"
|
|
7518
|
+
}
|
|
7519
|
+
}
|
|
7520
|
+
},
|
|
7521
|
+
"type": {
|
|
7522
|
+
"type": "string"
|
|
7523
|
+
},
|
|
7524
|
+
"visible": {}
|
|
7525
|
+
}
|
|
7526
|
+
},
|
|
7527
|
+
"Map(String,Object)": {
|
|
7528
|
+
"type": "object"
|
|
7529
|
+
},
|
|
7530
|
+
"Map(String,String)": {
|
|
7531
|
+
"type": "object"
|
|
7532
|
+
},
|
|
7533
|
+
"ServiceActionConfig": {
|
|
7534
|
+
"type": "object",
|
|
7535
|
+
"required": ["agentKey", "serviceKey"],
|
|
7536
|
+
"properties": {
|
|
7537
|
+
"agentKey": {
|
|
7538
|
+
"type": "string",
|
|
7539
|
+
"minLength": 1
|
|
7540
|
+
},
|
|
7541
|
+
"serviceKey": {
|
|
7542
|
+
"type": "string",
|
|
7543
|
+
"minLength": 1
|
|
7544
|
+
},
|
|
7545
|
+
"mode": {
|
|
7546
|
+
"type": "string",
|
|
7547
|
+
"enum": ["sync", "async"]
|
|
7548
|
+
},
|
|
7549
|
+
"timeoutMs": {
|
|
7550
|
+
"type": "integer",
|
|
7551
|
+
"minimum": 1e3
|
|
7552
|
+
},
|
|
7553
|
+
"pollIntervalMs": {
|
|
7554
|
+
"type": "integer",
|
|
7555
|
+
"minimum": 100
|
|
7556
|
+
}
|
|
7557
|
+
}
|
|
7558
|
+
},
|
|
7559
|
+
"ActionExecutionConfig": {
|
|
7560
|
+
"type": "object",
|
|
7561
|
+
"properties": {
|
|
7562
|
+
"returnOn": {
|
|
7563
|
+
"type": "string",
|
|
7564
|
+
"enum": ["terminal", "accepted"]
|
|
7565
|
+
}
|
|
7566
|
+
}
|
|
7567
|
+
},
|
|
7568
|
+
"CompositeActionConfig": {
|
|
7569
|
+
"type": "object",
|
|
7570
|
+
"required": ["steps"],
|
|
7571
|
+
"properties": {
|
|
7572
|
+
"mode": {
|
|
7573
|
+
"type": "string",
|
|
7574
|
+
"enum": ["sequential", "parallel"]
|
|
7575
|
+
},
|
|
7576
|
+
"stopOnError": {
|
|
7577
|
+
"type": "boolean"
|
|
7578
|
+
},
|
|
7579
|
+
"steps": {
|
|
7580
|
+
"type": "array",
|
|
7581
|
+
"minItems": 1,
|
|
7582
|
+
"items": {
|
|
7583
|
+
"oneOf": [{
|
|
7584
|
+
"type": "string",
|
|
7585
|
+
"minLength": 1
|
|
7586
|
+
}, {
|
|
7587
|
+
"type": "object",
|
|
7588
|
+
"required": ["action"],
|
|
7589
|
+
"properties": {
|
|
7590
|
+
"action": {
|
|
7591
|
+
"type": ["string", "object"]
|
|
7592
|
+
},
|
|
7593
|
+
"saveAs": {
|
|
7594
|
+
"type": "string",
|
|
7595
|
+
"minLength": 1
|
|
7596
|
+
}
|
|
7597
|
+
}
|
|
7598
|
+
}]
|
|
7599
|
+
}
|
|
7600
|
+
}
|
|
7601
|
+
}
|
|
7602
|
+
}
|
|
7603
|
+
},
|
|
7604
|
+
"type": "object",
|
|
7605
|
+
"properties": {
|
|
7606
|
+
"actions": {
|
|
7607
|
+
"description": "\u5217\u8868\u64CD\u4F5C\u6309\u94AE(\u5168\u5C40\u65B0\u589E + \u884C\u7EA7\u7F16\u8F91/\u5220\u9664 + \u6279\u91CF\u7B49);\u901A\u5E38\u7531 ListMetaEngine \u81EA\u52A8\u751F\u6210",
|
|
7608
|
+
"type": "array",
|
|
7609
|
+
"items": {
|
|
7610
|
+
"type": "object",
|
|
7611
|
+
"properties": {
|
|
7612
|
+
"after": {
|
|
7613
|
+
"type": "object",
|
|
7614
|
+
"properties": {
|
|
7615
|
+
"onBlock": {
|
|
7616
|
+
"type": "array",
|
|
7617
|
+
"items": {
|
|
7618
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7619
|
+
}
|
|
7620
|
+
},
|
|
7621
|
+
"onError": {
|
|
7622
|
+
"type": "array",
|
|
7623
|
+
"items": {
|
|
7624
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7625
|
+
}
|
|
7626
|
+
},
|
|
7627
|
+
"onEscalate": {
|
|
7628
|
+
"type": "array",
|
|
7629
|
+
"items": {
|
|
7630
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7631
|
+
}
|
|
7632
|
+
},
|
|
7633
|
+
"onFinally": {
|
|
7634
|
+
"type": "array",
|
|
7168
7635
|
"items": {
|
|
7169
7636
|
"$ref": "#/$defs/AfterHandler"
|
|
7170
7637
|
}
|
|
@@ -7230,6 +7697,9 @@ var META_SCHEMAS = {
|
|
|
7230
7697
|
"i18n": {
|
|
7231
7698
|
"type": "boolean"
|
|
7232
7699
|
},
|
|
7700
|
+
"idempotencyKeyInHeader": {
|
|
7701
|
+
"type": "boolean"
|
|
7702
|
+
},
|
|
7233
7703
|
"method": {
|
|
7234
7704
|
"type": "string"
|
|
7235
7705
|
},
|
|
@@ -7314,7 +7784,7 @@ var META_SCHEMAS = {
|
|
|
7314
7784
|
},
|
|
7315
7785
|
"result": {
|
|
7316
7786
|
"type": "object",
|
|
7317
|
-
"description": "dialogType=action \u7684\u7ED3\u679C\u5C55\u793A\u3002\u624B\u5DE5\u6536\u7A84\uFF08generator \u53EA\u4EA7\u51FA Map(String,Object)\uFF09\uFF1Adisplay \u9650 table/json\uFF0Cpath/summaryField \u9650\u5B57\u7B26\u4E32\uFF1B\u672A\u5217\u51FA\u7684\u952E\u4ECD\u653E\u884C\u3002",
|
|
7787
|
+
"description": "dialogType=action \u7684\u7ED3\u679C\u5C55\u793A\u3002\u624B\u5DE5\u6536\u7A84\uFF08generator \u53EA\u4EA7\u51FA Map(String,Object)\uFF09\uFF1Adisplay \u9650 table/json\uFF0Cpath/summaryField \u9650\u5B57\u7B26\u4E32\uFF1B\u672A\u5217\u51FA\u7684\u952E\u4ECD\u653E\u884C\uFF1B\u5217\u8868\u80FD\u529B runOnOpen / pagination / summaryFields / rowActions \u4E0E fields[].mask / type / emptyText / reasonField \u89C1 semantic/actions/dialog.md\uFF08ADR-401 \u5200 E4 \u9996\u7528\uFF09\u3002",
|
|
7318
7788
|
"properties": {
|
|
7319
7789
|
"display": {
|
|
7320
7790
|
"type": "string",
|
|
@@ -7326,7 +7796,127 @@ var META_SCHEMAS = {
|
|
|
7326
7796
|
},
|
|
7327
7797
|
"summaryField": {
|
|
7328
7798
|
"type": "string",
|
|
7329
|
-
"description": "\u54CD\u5E94\u4F53\u91CC\u90A3\u53E5\u4EBA\u8BDD\u603B\u7ED3\u7684\u5B57\u6BB5\u540D\uFF08\u5982 notice\uFF09\uFF0C\u6E32\u67D3\u5728\u7ED3\u679C\u8868\u4E0A\u65B9\u3002\u7ED3\u679C\u8868\u5B58\u5728\u65F6\u5F39\u7A97\u4E0D\u81EA\u52A8\u5173\u95ED\
|
|
7799
|
+
"description": "\u54CD\u5E94\u4F53\u91CC\u90A3\u53E5\u4EBA\u8BDD\u603B\u7ED3\u7684\u5B57\u6BB5\u540D\uFF08\u5982 notice\uFF09\uFF0C\u6E32\u67D3\u5728\u7ED3\u679C\u8868\u4E0A\u65B9\u3002\u7ED3\u679C\u8868\u5B58\u5728\u65F6\u5F39\u7A97\u4E0D\u81EA\u52A8\u5173\u95ED\uFF0C\u603B\u7ED3\u4E0E\u660E\u7EC6\u540C\u5C4F\uFF1Bafter.onSuccess \u7684 notify \u4ECD\u80FD\u62FF\u5230 data\uFF08silent cancel \u4F1A\u628A\u54CD\u5E94\u4F53\u900F\u4F20\u7ED9 onSuccess\uFF09\uFF0C\u4F46\u53EA\u62A5\u8BA1\u6570\u7684 toast \u4F1A\u76D6\u4F4F\u660E\u7EC6\uFF0C\u7EDF\u8BA1\u4F18\u5148\u4ECE\u8FD9\u91CC\u51FA\u3002"
|
|
7800
|
+
},
|
|
7801
|
+
"runOnOpen": {
|
|
7802
|
+
"type": "boolean",
|
|
7803
|
+
"description": "\u6253\u5F00\u5F39\u7A97\u5373\u6267\u884C\uFF08\u65E0\u8868\u5355\u7684\u67E5\u8BE2\u7C7B Action\uFF09\u3002\u6267\u884C\u540E\u4FDD\u7559\u5728\u5217\u8868\u6001\uFF1A\u53EF\u7FFB\u9875\u3001\u53EF\u70B9\u884C\u6309\u94AE\u3002\u672A\u58F0\u660E\u65F6\u884C\u4E3A\u4E0D\u53D8\uFF08\u4EC5 GET \u4E14\u65E0\u8868\u5355\u65F6\u81EA\u52A8\u6267\u884C\uFF09\u3002"
|
|
7804
|
+
},
|
|
7805
|
+
"pagination": {
|
|
7806
|
+
"type": "object",
|
|
7807
|
+
"description": "\u7ED3\u679C\u5206\u9875\uFF1A\u7FFB\u9875\u91CD\u8DD1\u540C\u4E00 Action\u3002total \u53EA\u53D6 totalPath \u6307\u5411\u7684\u670D\u52A1\u7AEF\u5B9E\u6D4B\u503C\uFF0C\u53D6\u4E0D\u5230\u65F6\u663E\u793A\u300C\u603B\u6570\u672A\u8FD4\u56DE\u300D\uFF0C\u4E0D\u62FF\u672C\u9875\u6761\u6570\u5192\u5145\uFF1BtotalLowerBoundPath \u4E3A true \u65F6\u663E\u793A\u300C\u81F3\u5C11 N \u6761\u300D\u3002",
|
|
7808
|
+
"properties": {
|
|
7809
|
+
"pageParam": {
|
|
7810
|
+
"type": "string"
|
|
7811
|
+
},
|
|
7812
|
+
"pageSizeParam": {
|
|
7813
|
+
"type": "string"
|
|
7814
|
+
},
|
|
7815
|
+
"totalPath": {
|
|
7816
|
+
"type": "string"
|
|
7817
|
+
},
|
|
7818
|
+
"totalLowerBoundPath": {
|
|
7819
|
+
"type": "string"
|
|
7820
|
+
},
|
|
7821
|
+
"pageBase": {
|
|
7822
|
+
"type": "integer",
|
|
7823
|
+
"enum": [0, 1]
|
|
7824
|
+
},
|
|
7825
|
+
"pageSize": {
|
|
7826
|
+
"type": "integer",
|
|
7827
|
+
"minimum": 1
|
|
7828
|
+
}
|
|
7829
|
+
},
|
|
7830
|
+
"required": ["pageParam", "pageSizeParam"]
|
|
7831
|
+
},
|
|
7832
|
+
"summaryFields": {
|
|
7833
|
+
"type": "array",
|
|
7834
|
+
"description": "\u8868\u4E0A\u65B9\u9010\u9879\u663E\u793A\u56DE\u6267\u91CC\u7684\u6C47\u603B\u5B57\u6BB5\uFF1Bvisible \u4E3A `=\u8868\u8FBE\u5F0F`\uFF0C\u4EE5 data \u6307\u56DE\u6267\uFF08\u5982 `=data.unavailableCount > 0`\uFF09\u3002",
|
|
7835
|
+
"items": {
|
|
7836
|
+
"type": "object",
|
|
7837
|
+
"properties": {
|
|
7838
|
+
"key": {
|
|
7839
|
+
"type": "string"
|
|
7840
|
+
},
|
|
7841
|
+
"label": {
|
|
7842
|
+
"type": "string"
|
|
7843
|
+
},
|
|
7844
|
+
"visible": {
|
|
7845
|
+
"type": "string"
|
|
7846
|
+
},
|
|
7847
|
+
"emptyText": {
|
|
7848
|
+
"type": "string",
|
|
7849
|
+
"description": "\u56DE\u6267\u91CC\u6CA1\u6709\u8FD9\u4E2A\u503C\u65F6\u663E\u793A\u7684\u6587\u6848\uFF08\u5982\u300C\u672A\u81EA\u68C0\u300D\uFF09\uFF0C\u4E0D\u7559\u7A7A\u3001\u4E0D\u7F16\u503C\u3002"
|
|
7850
|
+
},
|
|
7851
|
+
"format": {
|
|
7852
|
+
"type": "string",
|
|
7853
|
+
"enum": ["qrcode"],
|
|
7854
|
+
"description": "qrcode\uFF1A\u503C\u662F\u94FE\u63A5\u65F6\u540C\u65F6\u753B\u4E8C\u7EF4\u7801\uFF08ADR-413 \u7AEF\u81EA\u68C0\u5165\u53E3\u9996\u7528\uFF09\u3002"
|
|
7855
|
+
}
|
|
7856
|
+
},
|
|
7857
|
+
"required": ["key", "label"]
|
|
7858
|
+
}
|
|
7859
|
+
},
|
|
7860
|
+
"rowActions": {
|
|
7861
|
+
"type": "array",
|
|
7862
|
+
"description": "\u7ED3\u679C\u8868\u6BCF\u884C\u6309\u94AE\u3002type=api\uFF1A\u8C03 targetModel \u7684 actionName\uFF08actionTarget class/object\uFF1Bparams \u503C\u4E3A {{row.xxx}} \u6A21\u677F\uFF1BidempotencyParam \u6BCF\u6B21\u70B9\u51FB\u653E\u4E00\u4E2A\u65B0\u8BF7\u6C42\u6807\u8BC6\uFF1BneedConfirm/confirmText \u5148\u786E\u8BA4\uFF09\uFF0C\u6210\u529F\u540E\u91CD\u8DD1\u672C Action\uFF0C\u5931\u8D25\u663E\u793A errorCode \u4E0E\u670D\u52A1\u7AEF nextStep\uFF1Btype=navigate\uFF1A\u5173\u7A97\u540E\u6309 path \u6A21\u677F\u8DF3\u8F6C\u3002visible \u4E3A `=\u8868\u8FBE\u5F0F`\uFF08row \u6307\u5F53\u524D\u884C\uFF09\u3002\u8DE8\u6A21\u578B\u65F6\u5FC5\u987B\u5199 targetModel\uFF08ClassActionUiCoverageTest \u636E\u6B64\u8BA4\u9886\uFF09\u3002",
|
|
7863
|
+
"items": {
|
|
7864
|
+
"type": "object",
|
|
7865
|
+
"properties": {
|
|
7866
|
+
"key": {
|
|
7867
|
+
"type": "string"
|
|
7868
|
+
},
|
|
7869
|
+
"label": {
|
|
7870
|
+
"type": "string"
|
|
7871
|
+
},
|
|
7872
|
+
"type": {
|
|
7873
|
+
"type": "string",
|
|
7874
|
+
"enum": ["api", "navigate"]
|
|
7875
|
+
},
|
|
7876
|
+
"targetModel": {
|
|
7877
|
+
"type": "string"
|
|
7878
|
+
},
|
|
7879
|
+
"actionName": {
|
|
7880
|
+
"type": "string"
|
|
7881
|
+
},
|
|
7882
|
+
"actionTarget": {
|
|
7883
|
+
"type": "string",
|
|
7884
|
+
"enum": ["class", "object"]
|
|
7885
|
+
},
|
|
7886
|
+
"method": {
|
|
7887
|
+
"type": "string",
|
|
7888
|
+
"enum": ["GET", "POST", "PUT", "DELETE"]
|
|
7889
|
+
},
|
|
7890
|
+
"visible": {
|
|
7891
|
+
"type": "string"
|
|
7892
|
+
},
|
|
7893
|
+
"needConfirm": {
|
|
7894
|
+
"type": "boolean"
|
|
7895
|
+
},
|
|
7896
|
+
"confirmTitle": {
|
|
7897
|
+
"type": "string"
|
|
7898
|
+
},
|
|
7899
|
+
"confirmText": {
|
|
7900
|
+
"type": "string"
|
|
7901
|
+
},
|
|
7902
|
+
"params": {
|
|
7903
|
+
"type": "object",
|
|
7904
|
+
"additionalProperties": {
|
|
7905
|
+
"type": "string"
|
|
7906
|
+
}
|
|
7907
|
+
},
|
|
7908
|
+
"idempotencyParam": {
|
|
7909
|
+
"type": "string"
|
|
7910
|
+
},
|
|
7911
|
+
"successMessage": {
|
|
7912
|
+
"type": "string"
|
|
7913
|
+
},
|
|
7914
|
+
"path": {
|
|
7915
|
+
"type": "string"
|
|
7916
|
+
}
|
|
7917
|
+
},
|
|
7918
|
+
"required": ["key", "label", "type"]
|
|
7919
|
+
}
|
|
7330
7920
|
}
|
|
7331
7921
|
}
|
|
7332
7922
|
},
|
|
@@ -7547,6 +8137,64 @@ var META_SCHEMAS = {
|
|
|
7547
8137
|
}
|
|
7548
8138
|
}
|
|
7549
8139
|
},
|
|
8140
|
+
"boundState": {
|
|
8141
|
+
"type": "string",
|
|
8142
|
+
"description": "\u8BF7\u6C42 state \u5B9E\u9645\u547D\u4E2D\u7684\u5217\u8868\u5C42\uFF1B\u5177\u540D\u5C42\u7F3A\u5931\u65F6\u4E3A default"
|
|
8143
|
+
},
|
|
8144
|
+
"capabilities": {
|
|
8145
|
+
"type": "object",
|
|
8146
|
+
"properties": {
|
|
8147
|
+
"bulkSelect": {
|
|
8148
|
+
"type": "boolean",
|
|
8149
|
+
"description": "\u662F\u5426\u652F\u6301\u6279\u91CF\u9009\u62E9(\u663E\u793A checkbox \u5217 + \u6279\u91CF\u6309\u94AE);aggregate v1 \u6052\u4E3A false"
|
|
8150
|
+
},
|
|
8151
|
+
"confirmPreview": {
|
|
8152
|
+
"type": "boolean",
|
|
8153
|
+
"description": "\u662F\u5426\u652F\u6301 confirmPreview \u7C7B Action;aggregate \u6052\u4E3A false(ListActionMeta.confirmPreview \u4F9D\u8D56 row.id)"
|
|
8154
|
+
},
|
|
8155
|
+
"export": {
|
|
8156
|
+
"type": "boolean",
|
|
8157
|
+
"description": "\u662F\u5426\u652F\u6301 /export \u7AEF\u70B9\u5BFC\u51FA\u5F53\u524D\u7ED3\u679C\u96C6;aggregate \u8DEF\u5F84\u652F\u6301,\u8BE6\u89C1 AC-C12"
|
|
8158
|
+
},
|
|
8159
|
+
"filter": {
|
|
8160
|
+
"type": "boolean",
|
|
8161
|
+
"description": "\u662F\u5426\u652F\u6301\u9876\u90E8 filter \u533A\u57DF(\u6761\u4EF6\u7B5B\u9009);\u9ED8\u8BA4 true"
|
|
8162
|
+
},
|
|
8163
|
+
"hardDelete": {
|
|
8164
|
+
"type": "boolean",
|
|
8165
|
+
"description": "\u662F\u5426\u652F\u6301\u884C\u7EA7\u786C\u5220\u9664;aggregate \u8DEF\u5F84\u6052\u4E3A false"
|
|
8166
|
+
},
|
|
8167
|
+
"inlineEdit": {
|
|
8168
|
+
"type": "boolean",
|
|
8169
|
+
"description": "\u662F\u5426\u652F\u6301\u884C\u5185\u7F16\u8F91(inline edit);aggregate \u8DEF\u5F84\u6052\u4E3A false(\u65E0 entity id \u65E0\u6CD5 UPDATE)"
|
|
8170
|
+
},
|
|
8171
|
+
"refresh": {
|
|
8172
|
+
"type": "boolean",
|
|
8173
|
+
"description": "\u662F\u5426\u652F\u6301\u624B\u52A8\u5237\u65B0\u6574\u5217\u8868;\u9ED8\u8BA4 true"
|
|
8174
|
+
},
|
|
8175
|
+
"rowHoverPreview": {
|
|
8176
|
+
"type": "boolean",
|
|
8177
|
+
"description": "\u662F\u5426\u652F\u6301\u884C hover \u62C9\u8BE6\u60C5\u9884\u89C8;aggregate v1 \u6052\u4E3A false(\u907F\u514D N+1 enrichment \u98CE\u66B4)"
|
|
8178
|
+
},
|
|
8179
|
+
"rowIdentity": {
|
|
8180
|
+
"type": "string",
|
|
8181
|
+
"description": "\u884C\u8EAB\u4EFD\u6807\u8BC6;\u95ED\u679A\u4E3E: rowKey(aggregate \u8DEF\u5F84) | entityId(list \u8DEF\u5F84)\u3002aggregate \u6052\u4E3A rowKey,list \u6052\u4E3A entityId"
|
|
8182
|
+
},
|
|
8183
|
+
"rowSelection": {
|
|
8184
|
+
"type": "boolean",
|
|
8185
|
+
"description": "\u662F\u5426\u652F\u6301\u5355\u884C\u9009\u4E2D(\u7528\u4E8E\u884C\u7EA7 Action / \u6DF1\u94FE\u951A\u5B9A);aggregate \u57FA\u4E8E __rowKey \u4ECD\u53EF\u652F\u6301"
|
|
8186
|
+
},
|
|
8187
|
+
"softDelete": {
|
|
8188
|
+
"type": "boolean",
|
|
8189
|
+
"description": "\u662F\u5426\u652F\u6301\u884C\u7EA7\u8F6F\u5220\u9664;aggregate \u8DEF\u5F84\u6052\u4E3A false(\u65E0 entity id \u65E0\u6CD5 DELETE)"
|
|
8190
|
+
},
|
|
8191
|
+
"sort": {
|
|
8192
|
+
"type": "boolean",
|
|
8193
|
+
"description": "\u662F\u5426\u652F\u6301\u70B9\u51FB\u8868\u5934\u6392\u5E8F;\u9ED8\u8BA4 true"
|
|
8194
|
+
}
|
|
8195
|
+
},
|
|
8196
|
+
"description": "\u884C\u4E3A\u80FD\u529B\u5F00\u5173;\u524D\u7AEF ListView \u636E\u6B64\u51B3\u5B9A\u6E32\u67D3\u4EC0\u4E48(\u66FF\u4EE3\u6309 kind \u5206\u53C9)\u3002\u7F3A\u7701\u89C6\u4F5C\u5168\u5F00,\u5411\u540E\u517C\u5BB9\u3002\u8BE6\u89C1 CapabilitiesMeta"
|
|
8197
|
+
},
|
|
7550
8198
|
"defaultSort": {
|
|
7551
8199
|
"description": "\u9ED8\u8BA4\u6392\u5E8F;\u5F62\u5982 [{field:'name',order:'asc'},...]\u3002\u5220\u9664\u8BF7\u7528 {__remove:true}",
|
|
7552
8200
|
"type": "array",
|
|
@@ -7558,6 +8206,17 @@ var META_SCHEMAS = {
|
|
|
7558
8206
|
"type": "string",
|
|
7559
8207
|
"description": "\u5143\u6570\u636E\u8BE6\u7EC6\u63CF\u8FF0,\u53EF\u9009;\u524D\u7AEF\u4E0D\u76F4\u63A5\u6E32\u67D3,\u4E3B\u8981\u7ED9\u5F00\u53D1/\u8FD0\u7EF4\u770B"
|
|
7560
8208
|
},
|
|
8209
|
+
"display": {
|
|
8210
|
+
"type": "object",
|
|
8211
|
+
"properties": {
|
|
8212
|
+
"showColumnBorder": {
|
|
8213
|
+
"type": "boolean",
|
|
8214
|
+
"description": "\u662F\u5426\u663E\u793A\u8868\u683C\u7EB5\u5411\u5217\u5206\u5272\u7EBF(\u7AD6\u7EBF);\u9ED8\u8BA4 false(\u4EC5\u6A2A\u5411\u884C\u7EBF)\u3002true \u663E\u793A\u5B8C\u6574\u7F51\u683C\u3002\u5217\u5BBD\u62D6\u62FD\u4E0D\u53D7\u5F71\u54CD"
|
|
8215
|
+
}
|
|
8216
|
+
},
|
|
8217
|
+
"description": "\u5217\u8868\u663E\u793A(\u5916\u89C2)\u65B9\u6848;\u627F\u8F7D\u8868\u683C\u5C55\u793A\u5F00\u5173(\u7AD6\u7EBF showColumnBorder \u7B49)\u3002\u6574\u5757\u53EF\u9009,\u7F3A\u7701\u5168\u90E8\u9ED8\u8BA4",
|
|
8218
|
+
"additionalProperties": false
|
|
8219
|
+
},
|
|
7561
8220
|
"fields": {
|
|
7562
8221
|
"description": "\u5217\u8868\u5217\u5B9A\u4E49;Moirai patch-ops \u4E2D\u7531 spec.ops[] \u63A5\u7BA1,topPatches \u4E0D\u5E94\u518D\u5199 fields",
|
|
7563
8222
|
"type": "array",
|
|
@@ -7571,34 +8230,66 @@ var META_SCHEMAS = {
|
|
|
7571
8230
|
"autoGenerate": {
|
|
7572
8231
|
"type": "boolean"
|
|
7573
8232
|
},
|
|
8233
|
+
"clickActionKey": {
|
|
8234
|
+
"type": "string"
|
|
8235
|
+
},
|
|
8236
|
+
"codeRuleConfigurable": {
|
|
8237
|
+
"type": "boolean"
|
|
8238
|
+
},
|
|
8239
|
+
"component": {
|
|
8240
|
+
"type": "string"
|
|
8241
|
+
},
|
|
7574
8242
|
"field": {
|
|
7575
8243
|
"type": "string"
|
|
7576
8244
|
},
|
|
7577
8245
|
"filter": {
|
|
7578
8246
|
"type": "boolean"
|
|
7579
8247
|
},
|
|
8248
|
+
"fixed": {
|
|
8249
|
+
"type": "string",
|
|
8250
|
+
"description": "\u56FA\u5B9A\u5217\u65B9\u4F4D;\u4EC5\u5141\u8BB8 left \u6216 right",
|
|
8251
|
+
"enum": ["left", "right"]
|
|
8252
|
+
},
|
|
7580
8253
|
"format": {
|
|
7581
8254
|
"type": "string",
|
|
7582
8255
|
"enum": ["date", "datetime", "number"]
|
|
7583
8256
|
},
|
|
7584
8257
|
"formatOptions": {
|
|
7585
8258
|
"type": "object",
|
|
7586
|
-
"additionalProperties": false,
|
|
7587
8259
|
"properties": {
|
|
7588
|
-
"
|
|
7589
|
-
"type": "boolean"
|
|
7590
|
-
},
|
|
7591
|
-
"minimumFractionDigits": {
|
|
8260
|
+
"maximumFractionDigits": {
|
|
7592
8261
|
"type": "integer",
|
|
7593
8262
|
"minimum": 0,
|
|
7594
8263
|
"maximum": 20
|
|
7595
8264
|
},
|
|
7596
|
-
"
|
|
8265
|
+
"minimumFractionDigits": {
|
|
7597
8266
|
"type": "integer",
|
|
7598
8267
|
"minimum": 0,
|
|
7599
8268
|
"maximum": 20
|
|
8269
|
+
},
|
|
8270
|
+
"useGrouping": {
|
|
8271
|
+
"type": "boolean"
|
|
7600
8272
|
}
|
|
7601
|
-
}
|
|
8273
|
+
},
|
|
8274
|
+
"additionalProperties": false
|
|
8275
|
+
},
|
|
8276
|
+
"group": {
|
|
8277
|
+
"type": "object",
|
|
8278
|
+
"properties": {
|
|
8279
|
+
"key": {
|
|
8280
|
+
"type": "string",
|
|
8281
|
+
"description": "\u5206\u7EC4\u7A33\u5B9A\u6807\u8BC6;\u76F8\u90BB\u4E14 key \u76F8\u540C\u7684\u53F6\u5B50\u5217\u5408\u5E76\u4E3A\u4E00\u4E2A\u8868\u5934\u5206\u7EC4",
|
|
8282
|
+
"minLength": 1
|
|
8283
|
+
},
|
|
8284
|
+
"label": {
|
|
8285
|
+
"type": "string",
|
|
8286
|
+
"description": "\u5206\u7EC4\u8868\u5934\u663E\u793A\u6587\u672C",
|
|
8287
|
+
"minLength": 1
|
|
8288
|
+
}
|
|
8289
|
+
},
|
|
8290
|
+
"description": "\u4E8C\u7EA7\u5206\u7EC4\u8868\u5934;\u76F8\u90BB\u4E14 group.key \u76F8\u540C\u7684\u53F6\u5B50\u5217\u5408\u5E76\u5C55\u793A",
|
|
8291
|
+
"required": ["key", "label"],
|
|
8292
|
+
"additionalProperties": false
|
|
7602
8293
|
},
|
|
7603
8294
|
"helpText": {
|
|
7604
8295
|
"type": "string",
|
|
@@ -7616,8 +8307,14 @@ var META_SCHEMAS = {
|
|
|
7616
8307
|
"minWidth": {
|
|
7617
8308
|
"type": "string"
|
|
7618
8309
|
},
|
|
7619
|
-
"
|
|
7620
|
-
"
|
|
8310
|
+
"options": {
|
|
8311
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8312
|
+
},
|
|
8313
|
+
"order": {
|
|
8314
|
+
"type": "integer"
|
|
8315
|
+
},
|
|
8316
|
+
"readonly": {
|
|
8317
|
+
"type": "boolean"
|
|
7621
8318
|
},
|
|
7622
8319
|
"render": {
|
|
7623
8320
|
"$ref": "#/$defs/Map(String,Object)"
|
|
@@ -7692,24 +8389,84 @@ var META_SCHEMAS = {
|
|
|
7692
8389
|
},
|
|
7693
8390
|
"description": "\u5217\u8868\u5916\u5C42\u5E03\u5C40,\u5982 tree-list(\u5DE6\u6811\u53F3\u5217\u8868)\u3002\u8BE6\u89C1 ListLayout \u7C7B\u578B"
|
|
7694
8391
|
},
|
|
8392
|
+
"mobileCard": {
|
|
8393
|
+
"type": "object",
|
|
8394
|
+
"properties": {
|
|
8395
|
+
"subtitle": {
|
|
8396
|
+
"type": "string",
|
|
8397
|
+
"description": "\u5361\u7247\u526F\u6807\u9898\u5B57\u6BB5 key\uFF0C\u53EF\u9009",
|
|
8398
|
+
"minLength": 1
|
|
8399
|
+
},
|
|
8400
|
+
"tag": {
|
|
8401
|
+
"type": "string",
|
|
8402
|
+
"description": "\u5361\u7247\u6807\u7B7E\u5B57\u6BB5 key\uFF0C\u53EF\u9009",
|
|
8403
|
+
"minLength": 1
|
|
8404
|
+
},
|
|
8405
|
+
"title": {
|
|
8406
|
+
"type": "string",
|
|
8407
|
+
"description": "\u5361\u7247\u4E3B\u6807\u9898\u5B57\u6BB5 key\uFF0C\u5FC5\u987B\u547D\u4E2D\u540C\u4E00\u5217\u8868 fields[].key",
|
|
8408
|
+
"minLength": 1
|
|
8409
|
+
},
|
|
8410
|
+
"value": {
|
|
8411
|
+
"type": "string",
|
|
8412
|
+
"description": "\u5361\u7247\u53F3\u4FA7\u6570\u503C\u5B57\u6BB5 key\uFF0C\u53EF\u9009",
|
|
8413
|
+
"minLength": 1
|
|
8414
|
+
}
|
|
8415
|
+
},
|
|
8416
|
+
"description": "\u79FB\u52A8\u5361\u7247\u69FD\u4F4D;title \u5FC5\u586B,subtitle/tag/value \u53EF\u9009,\u53D6\u503C\u4E3A\u672C\u5217\u8868 fields[].key\u3002\u9700 frontend capability 1.43.0",
|
|
8417
|
+
"required": ["title"],
|
|
8418
|
+
"additionalProperties": false
|
|
8419
|
+
},
|
|
7695
8420
|
"name": {
|
|
7696
8421
|
"type": "string",
|
|
7697
8422
|
"description": '\u5143\u6570\u636E\u663E\u793A\u540D\u79F0(\u5982 "\u7EC4\u7EC7\u5355\u5143");\u901A\u5E38\u7528\u4E8E\u9875\u9762\u6807\u9898\u6216\u5143\u6570\u636E\u6D4F\u89C8'
|
|
7698
8423
|
},
|
|
7699
|
-
"
|
|
8424
|
+
"readOnly": {
|
|
7700
8425
|
"type": "boolean",
|
|
7701
|
-
"description": "\
|
|
8426
|
+
"description": "\u6A21\u578B\u5929\u7136\u53EA\u8BFB;\u9690\u85CF\u65B0\u5EFA/\u7F16\u8F91/\u5220\u9664/\u6279\u91CF\u5220\u9664\uFF0C\u4FDD\u7559\u67E5\u770B\u4E0E\u5BFC\u822A\u3002\u533A\u522B\u4E8E ?readonly=1 \u7684\u300C\u672C\u6B21\u8FDB\u5165\u53EA\u8BFB\u300D"
|
|
7702
8427
|
},
|
|
7703
|
-
"
|
|
8428
|
+
"scopeSwitch": {
|
|
7704
8429
|
"type": "object",
|
|
7705
|
-
"description": "\u5217\u8868\u663E\u793A(\u5916\u89C2)\u65B9\u6848;\u627F\u8F7D\u8868\u683C\u5C55\u793A\u5F00\u5173(\u7AD6\u7EBF showColumnBorder \u7B49)\u3002\u6574\u5757\u53EF\u9009,\u7F3A\u7701\u5168\u90E8\u9ED8\u8BA4",
|
|
7706
|
-
"additionalProperties": false,
|
|
7707
8430
|
"properties": {
|
|
7708
|
-
"
|
|
7709
|
-
"type": "
|
|
7710
|
-
"description": "\
|
|
8431
|
+
"default": {
|
|
8432
|
+
"type": "string",
|
|
8433
|
+
"description": "\u9ED8\u8BA4\u9009\u4E2D\u9879\u7684 key;\u5FC5\u987B\u547D\u4E2D options \u91CC\u7684\u67D0\u4E2A key",
|
|
8434
|
+
"minLength": 1
|
|
8435
|
+
},
|
|
8436
|
+
"options": {
|
|
8437
|
+
"description": "\u8303\u56F4\u9009\u9879;\u6BCF\u9879 {key,label,filter?},filter \u7F3A\u7701\u8868\u793A\u8BE5\u9879\u4E0D\u8FFD\u52A0\u8FC7\u6EE4",
|
|
8438
|
+
"type": "array",
|
|
8439
|
+
"items": {
|
|
8440
|
+
"type": "object",
|
|
8441
|
+
"properties": {
|
|
8442
|
+
"filter": {
|
|
8443
|
+
"$ref": "#/$defs/JsonNode",
|
|
8444
|
+
"description": "\u9009\u4E2D\u8BE5\u9879\u65F6 AND \u8FDB\u67E5\u8BE2\u7684\u8FC7\u6EE4\u53F6\u5B50(Cube AST);\u7F3A\u7701\u8868\u793A\u4E0D\u8FFD\u52A0\u4EFB\u4F55\u8FC7\u6EE4"
|
|
8445
|
+
},
|
|
8446
|
+
"key": {
|
|
8447
|
+
"type": "string",
|
|
8448
|
+
"description": "\u9009\u9879\u6807\u8BC6;\u524D\u7AEF\u4E0B\u62C9\u7684 value,\u4E5F\u662F\u8DEF\u7531 query scope= \u7684\u5B57\u9762\u91CF",
|
|
8449
|
+
"minLength": 1
|
|
8450
|
+
},
|
|
8451
|
+
"label": {
|
|
8452
|
+
"type": "string",
|
|
8453
|
+
"description": "\u9009\u9879\u663E\u793A\u540D(\u5982\u300C\u6211\u53EF\u7528\u7684\u300D/\u300C\u6211\u53EF\u7BA1\u7406\u7684\u300D)",
|
|
8454
|
+
"minLength": 1
|
|
8455
|
+
}
|
|
8456
|
+
},
|
|
8457
|
+
"additionalProperties": false,
|
|
8458
|
+
"required": ["key", "label"]
|
|
8459
|
+
},
|
|
8460
|
+
"minItems": 1
|
|
7711
8461
|
}
|
|
7712
|
-
}
|
|
8462
|
+
},
|
|
8463
|
+
"description": "\u5217\u8868\u8303\u56F4\u5F00\u5173;\u5DE5\u5177\u680F\u524D\u5BFC\u4F4D\u7684\u547D\u540D\u9009\u9879\u4E0B\u62C9,\u9009\u4E2D\u9879 filter \u53F6\u5B50 AND \u8FDB\u67E5\u8BE2\u3002UI \u58F0\u660E,\u975E\u5B89\u5168\u8FB9\u754C(\u53EA\u80FD\u6536\u7A84)",
|
|
8464
|
+
"additionalProperties": false,
|
|
8465
|
+
"required": ["default", "options"]
|
|
8466
|
+
},
|
|
8467
|
+
"selectable": {
|
|
8468
|
+
"type": "boolean",
|
|
8469
|
+
"description": "\u662F\u5426\u542F\u7528\u884C\u9009\u62E9;true \u65F6\u5217\u8868\u663E\u793A\u590D\u9009\u6846,\u652F\u6301\u6279\u91CF\u64CD\u4F5C(\u6279\u91CF\u5220\u9664\u7B49)\u3002\u9ED8\u8BA4 false"
|
|
7713
8470
|
},
|
|
7714
8471
|
"serverFilter": {
|
|
7715
8472
|
"$ref": "#/$defs/JsonNode",
|
|
@@ -7717,14 +8474,46 @@ var META_SCHEMAS = {
|
|
|
7717
8474
|
},
|
|
7718
8475
|
"statBar": {
|
|
7719
8476
|
"type": "object",
|
|
7720
|
-
"description": "\u5217\u8868\u9876\u90E8\u7EDF\u8BA1 Tab \u914D\u7F6E;\u6309 groupField \u805A\u5408\u8BA1\u6570,\u70B9\u51FB Tab \u9644\u52A0\u8FC7\u6EE4\u6761\u4EF6",
|
|
7721
|
-
"additionalProperties": false,
|
|
7722
|
-
"required": ["groupField"],
|
|
7723
8477
|
"properties": {
|
|
8478
|
+
"defaultValue": {
|
|
8479
|
+
"type": ["string", "null"],
|
|
8480
|
+
"description": "\u9ED8\u8BA4\u9009\u4E2D\u7684 groupField \u503C;\u4E3A\u7A7A\u6216 null \u4FDD\u6301\u73B0\u72B6(\u5168\u90E8)\u3002state \u8986\u76D6\u987B\u663E\u5F0F\u5199 null \u624D\u80FD\u53D6\u6D88\u57FA\u5EA7\u58F0\u660E\u7684\u9ED8\u8BA4\u6BB5\u2014\u2014\u7701\u7565\u8BE5\u952E\u65F6 mergeMap \u4F1A\u4FDD\u7559\u57FA\u5EA7\u503C"
|
|
8481
|
+
},
|
|
7724
8482
|
"groupField": {
|
|
7725
8483
|
"type": "string",
|
|
7726
8484
|
"description": "\u5206\u7EC4\u5B57\u6BB5 key,\u987B\u4E0E\u5217\u8868\u7684\u8FC7\u6EE4/\u663E\u793A\u5B57\u6BB5\u4E00\u81F4"
|
|
7727
8485
|
},
|
|
8486
|
+
"optionSource": {
|
|
8487
|
+
"$ref": "#/$defs/Map(String,Object)",
|
|
8488
|
+
"description": "\u53EF\u9009\u7684\u4F5C\u7528\u57DF\u5206\u7EC4 Action \u9009\u9879\u6E90;params \u4E2D\u7684 ${field} \u4ECE externalFilter \u540C\u540D eq \u6761\u4EF6\u89E3\u6790",
|
|
8489
|
+
"type": "object",
|
|
8490
|
+
"additionalProperties": false,
|
|
8491
|
+
"required": ["type", "model", "action"],
|
|
8492
|
+
"properties": {
|
|
8493
|
+
"type": {
|
|
8494
|
+
"const": "action"
|
|
8495
|
+
},
|
|
8496
|
+
"model": {
|
|
8497
|
+
"type": "string",
|
|
8498
|
+
"minLength": 1
|
|
8499
|
+
},
|
|
8500
|
+
"action": {
|
|
8501
|
+
"type": "string",
|
|
8502
|
+
"minLength": 1
|
|
8503
|
+
},
|
|
8504
|
+
"labelField": {
|
|
8505
|
+
"type": "string",
|
|
8506
|
+
"minLength": 1
|
|
8507
|
+
},
|
|
8508
|
+
"valueField": {
|
|
8509
|
+
"type": "string",
|
|
8510
|
+
"minLength": 1
|
|
8511
|
+
},
|
|
8512
|
+
"params": {
|
|
8513
|
+
"$ref": "#/$defs/JsonNode"
|
|
8514
|
+
}
|
|
8515
|
+
}
|
|
8516
|
+
},
|
|
7728
8517
|
"showAll": {
|
|
7729
8518
|
"type": "boolean",
|
|
7730
8519
|
"description": "\u662F\u5426\u663E\u793A\u300C\u5168\u90E8\u300DTab(\u9ED8\u8BA4 true)"
|
|
@@ -7732,36 +8521,30 @@ var META_SCHEMAS = {
|
|
|
7732
8521
|
"showEmptyGroups": {
|
|
7733
8522
|
"type": "boolean",
|
|
7734
8523
|
"description": "\u662F\u5426\u663E\u793A\u8BA1\u6570\u4E3A 0 \u7684\u5DF2\u77E5\u5206\u7EC4(\u9ED8\u8BA4 false)"
|
|
7735
|
-
},
|
|
7736
|
-
"defaultValue": {
|
|
7737
|
-
"type": ["string", "null"],
|
|
7738
|
-
"description": "\u9ED8\u8BA4\u9009\u4E2D\u7684 groupField \u503C;\u4E3A\u7A7A\u6216 null \u4FDD\u6301\u73B0\u72B6(\u5168\u90E8)\u3002state \u8986\u76D6\u987B\u663E\u5F0F\u5199 null \u624D\u80FD\u53D6\u6D88\u57FA\u5EA7\u58F0\u660E\u7684\u9ED8\u8BA4\u6BB5\u2014\u2014\u7701\u7565\u8BE5\u952E\u65F6 mergeMap \u4F1A\u4FDD\u7559\u57FA\u5EA7\u503C"
|
|
7739
8524
|
}
|
|
7740
|
-
}
|
|
8525
|
+
},
|
|
8526
|
+
"description": "\u5217\u8868\u9876\u90E8\u7EDF\u8BA1 Tab \u914D\u7F6E;\u6309 groupField \u805A\u5408\u8BA1\u6570,\u70B9\u51FB Tab \u9644\u52A0\u8FC7\u6EE4\u6761\u4EF6",
|
|
8527
|
+
"additionalProperties": false,
|
|
8528
|
+
"required": ["groupField"]
|
|
7741
8529
|
},
|
|
7742
8530
|
"toolbar": {
|
|
7743
8531
|
"type": "object",
|
|
7744
|
-
"description": "\u5217\u8868\u5DE5\u5177\u680F\u914D\u7F6E;\u58F0\u660E TopBar \u5404\u5143\u7D20\u663E\u9690\u4E0E\u641C\u7D22\u5F62\u6001\u3002\u6574\u5757\u53CA\u5404\u5B57\u6BB5\u5747\u53EF\u9009,\u7F3A\u7701\u5168\u5F00+\u5173\u952E\u8BCD\u641C\u7D22",
|
|
7745
|
-
"additionalProperties": false,
|
|
7746
8532
|
"properties": {
|
|
7747
|
-
"search": {
|
|
7748
|
-
"type": "string",
|
|
7749
|
-
"enum": ["keyword", "ai", "none"],
|
|
7750
|
-
"description": "\u641C\u7D22\u5F62\u6001:keyword(\u5173\u952E\u8BCD\u6846,\u9ED8\u8BA4)|ai(AI \u81EA\u7136\u8BED\u8A00\u641C\u7D22\u6846,\u4E0E\u5173\u952E\u8BCD\u6846\u4E92\u65A5\u540C\u4F4D\u7F6E)|none(\u4E0D\u663E\u793A)"
|
|
7751
|
-
},
|
|
7752
8533
|
"aiSearchExamples": {
|
|
8534
|
+
"description": "AI \u641C\u7D22\u300C\u8BD5\u8BD5\u8FD9\u6837\u95EE\u300D\u793A\u4F8B\u63D0\u793A\u8BCD\u5217\u8868(\u6BCF\u6761\u4E00\u53E5\u81EA\u7136\u8BED\u8A00);\u4EC5 search=ai \u751F\u6548",
|
|
7753
8535
|
"type": "array",
|
|
7754
|
-
"items": {
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
"filterButton": {
|
|
7758
|
-
"type": "boolean",
|
|
7759
|
-
"description": "\u662F\u5426\u663E\u793A\u300C\u7B5B\u9009\u5B57\u6BB5\u300D\u6309\u94AE\u4E0E\u5DF2\u5E94\u7528\u6761\u4EF6 bar(\u9ED8\u8BA4 true)"
|
|
8536
|
+
"items": {
|
|
8537
|
+
"type": "string"
|
|
8538
|
+
}
|
|
7760
8539
|
},
|
|
7761
8540
|
"density": {
|
|
7762
8541
|
"type": "boolean",
|
|
7763
8542
|
"description": "\u662F\u5426\u663E\u793A\u5BC6\u5EA6(\u884C\u8DDD)\u4E0B\u62C9(\u9ED8\u8BA4 true)"
|
|
7764
8543
|
},
|
|
8544
|
+
"filterButton": {
|
|
8545
|
+
"type": "boolean",
|
|
8546
|
+
"description": "\u662F\u5426\u663E\u793A\u300C\u7B5B\u9009\u5B57\u6BB5\u300D\u6309\u94AE\u4E0E\u5DF2\u5E94\u7528\u6761\u4EF6 bar(\u9ED8\u8BA4 true)"
|
|
8547
|
+
},
|
|
7765
8548
|
"refresh": {
|
|
7766
8549
|
"type": "boolean",
|
|
7767
8550
|
"description": "\u662F\u5426\u663E\u793A\u5237\u65B0\u6309\u94AE(\u9ED8\u8BA4 true)"
|
|
@@ -7769,8 +8552,15 @@ var META_SCHEMAS = {
|
|
|
7769
8552
|
"resetLayout": {
|
|
7770
8553
|
"type": "boolean",
|
|
7771
8554
|
"description": "\u662F\u5426\u663E\u793A\u300C\u6062\u590D\u9ED8\u8BA4\u5E03\u5C40\u300D\u6309\u94AE(\u9ED8\u8BA4 true)"
|
|
8555
|
+
},
|
|
8556
|
+
"search": {
|
|
8557
|
+
"type": "string",
|
|
8558
|
+
"description": "\u641C\u7D22\u5F62\u6001:keyword(\u5173\u952E\u8BCD\u6846,\u9ED8\u8BA4)|ai(AI \u81EA\u7136\u8BED\u8A00\u641C\u7D22\u6846,\u4E0E\u5173\u952E\u8BCD\u6846\u4E92\u65A5\u540C\u4F4D\u7F6E)|none(\u4E0D\u663E\u793A)",
|
|
8559
|
+
"enum": ["keyword", "ai", "none"]
|
|
7772
8560
|
}
|
|
7773
|
-
}
|
|
8561
|
+
},
|
|
8562
|
+
"description": "\u5217\u8868\u5DE5\u5177\u680F\u914D\u7F6E;\u58F0\u660E TopBar \u5404\u5143\u7D20\u663E\u9690\u4E0E\u641C\u7D22\u5F62\u6001\u3002\u6574\u5757\u53CA\u5404\u5B57\u6BB5\u5747\u53EF\u9009,\u7F3A\u7701\u5168\u5F00+\u5173\u952E\u8BCD\u641C\u7D22",
|
|
8563
|
+
"additionalProperties": false
|
|
7774
8564
|
}
|
|
7775
8565
|
}
|
|
7776
8566
|
},
|
|
@@ -7791,64 +8581,120 @@ var META_SCHEMAS = {
|
|
|
7791
8581
|
"Map(String,Object)": {
|
|
7792
8582
|
"type": "object"
|
|
7793
8583
|
},
|
|
8584
|
+
"Map(String,String)": {
|
|
8585
|
+
"type": "object"
|
|
8586
|
+
},
|
|
7794
8587
|
"ParamConfig": {
|
|
7795
8588
|
"type": "object",
|
|
7796
8589
|
"required": ["name", "source"],
|
|
7797
8590
|
"properties": {
|
|
7798
|
-
"name": {
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
8591
|
+
"name": {
|
|
8592
|
+
"type": "string",
|
|
8593
|
+
"minLength": 1
|
|
8594
|
+
},
|
|
8595
|
+
"source": {
|
|
8596
|
+
"type": "string"
|
|
8597
|
+
},
|
|
8598
|
+
"path": {
|
|
8599
|
+
"type": "string"
|
|
8600
|
+
},
|
|
8601
|
+
"keyPath": {
|
|
8602
|
+
"type": "string"
|
|
8603
|
+
},
|
|
7802
8604
|
"value": {},
|
|
7803
|
-
"expr": {
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
"
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
"
|
|
8605
|
+
"expr": {
|
|
8606
|
+
"type": "string"
|
|
8607
|
+
},
|
|
8608
|
+
"promptText": {
|
|
8609
|
+
"type": "string"
|
|
8610
|
+
},
|
|
8611
|
+
"promptLabel": {
|
|
8612
|
+
"type": "string"
|
|
8613
|
+
},
|
|
8614
|
+
"inputType": {
|
|
8615
|
+
"type": "string"
|
|
8616
|
+
},
|
|
8617
|
+
"formSchema": {
|
|
8618
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8619
|
+
},
|
|
8620
|
+
"formRef": {
|
|
8621
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8622
|
+
},
|
|
8623
|
+
"required": {
|
|
8624
|
+
"type": "boolean"
|
|
8625
|
+
},
|
|
7810
8626
|
"defaultValue": {},
|
|
7811
|
-
"into": {
|
|
8627
|
+
"into": {
|
|
8628
|
+
"type": "string"
|
|
8629
|
+
}
|
|
7812
8630
|
}
|
|
7813
8631
|
},
|
|
7814
8632
|
"ServiceActionConfig": {
|
|
7815
8633
|
"type": "object",
|
|
7816
8634
|
"required": ["agentKey", "serviceKey"],
|
|
7817
8635
|
"properties": {
|
|
7818
|
-
"agentKey": {
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
"
|
|
8636
|
+
"agentKey": {
|
|
8637
|
+
"type": "string",
|
|
8638
|
+
"minLength": 1
|
|
8639
|
+
},
|
|
8640
|
+
"serviceKey": {
|
|
8641
|
+
"type": "string",
|
|
8642
|
+
"minLength": 1
|
|
8643
|
+
},
|
|
8644
|
+
"mode": {
|
|
8645
|
+
"type": "string",
|
|
8646
|
+
"enum": ["sync", "async"]
|
|
8647
|
+
},
|
|
8648
|
+
"timeoutMs": {
|
|
8649
|
+
"type": "integer",
|
|
8650
|
+
"minimum": 1e3
|
|
8651
|
+
},
|
|
8652
|
+
"pollIntervalMs": {
|
|
8653
|
+
"type": "integer",
|
|
8654
|
+
"minimum": 100
|
|
8655
|
+
}
|
|
7823
8656
|
}
|
|
7824
8657
|
},
|
|
7825
8658
|
"ActionExecutionConfig": {
|
|
7826
8659
|
"type": "object",
|
|
7827
8660
|
"properties": {
|
|
7828
|
-
"returnOn": {
|
|
8661
|
+
"returnOn": {
|
|
8662
|
+
"type": "string",
|
|
8663
|
+
"enum": ["terminal", "accepted"]
|
|
8664
|
+
}
|
|
7829
8665
|
}
|
|
7830
8666
|
},
|
|
7831
8667
|
"CompositeActionConfig": {
|
|
7832
8668
|
"type": "object",
|
|
7833
8669
|
"required": ["steps"],
|
|
7834
8670
|
"properties": {
|
|
7835
|
-
"mode": {
|
|
7836
|
-
|
|
8671
|
+
"mode": {
|
|
8672
|
+
"type": "string",
|
|
8673
|
+
"enum": ["sequential", "parallel"]
|
|
8674
|
+
},
|
|
8675
|
+
"stopOnError": {
|
|
8676
|
+
"type": "boolean"
|
|
8677
|
+
},
|
|
7837
8678
|
"steps": {
|
|
7838
8679
|
"type": "array",
|
|
7839
8680
|
"minItems": 1,
|
|
7840
8681
|
"items": {
|
|
7841
|
-
"oneOf": [
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
8682
|
+
"oneOf": [{
|
|
8683
|
+
"type": "string",
|
|
8684
|
+
"minLength": 1
|
|
8685
|
+
}, {
|
|
8686
|
+
"type": "object",
|
|
8687
|
+
"required": ["action"],
|
|
8688
|
+
"properties": {
|
|
8689
|
+
"action": {
|
|
8690
|
+
"type": ["string", "object"]
|
|
8691
|
+
},
|
|
8692
|
+
"saveAs": {
|
|
8693
|
+
"type": "string",
|
|
8694
|
+
"minLength": 1
|
|
7849
8695
|
}
|
|
7850
8696
|
}
|
|
7851
|
-
]
|
|
8697
|
+
}]
|
|
7852
8698
|
}
|
|
7853
8699
|
}
|
|
7854
8700
|
}
|
|
@@ -7950,6 +8796,9 @@ var META_SCHEMAS = {
|
|
|
7950
8796
|
"i18n": {
|
|
7951
8797
|
"type": "boolean"
|
|
7952
8798
|
},
|
|
8799
|
+
"idempotencyKeyInHeader": {
|
|
8800
|
+
"type": "boolean"
|
|
8801
|
+
},
|
|
7953
8802
|
"method": {
|
|
7954
8803
|
"type": "string"
|
|
7955
8804
|
},
|
|
@@ -7970,28 +8819,93 @@ var META_SCHEMAS = {
|
|
|
7970
8819
|
}
|
|
7971
8820
|
}
|
|
7972
8821
|
},
|
|
8822
|
+
"buttonType": {
|
|
8823
|
+
"type": "string"
|
|
8824
|
+
},
|
|
8825
|
+
"composite": {
|
|
8826
|
+
"type": "object",
|
|
8827
|
+
"properties": {
|
|
8828
|
+
"mode": {
|
|
8829
|
+
"type": "string"
|
|
8830
|
+
},
|
|
8831
|
+
"steps": {
|
|
8832
|
+
"type": "array",
|
|
8833
|
+
"items": {}
|
|
8834
|
+
},
|
|
8835
|
+
"stopOnError": {
|
|
8836
|
+
"type": "boolean"
|
|
8837
|
+
}
|
|
8838
|
+
},
|
|
8839
|
+
"$ref": "#/$defs/CompositeActionConfig"
|
|
8840
|
+
},
|
|
8841
|
+
"confirmText": {
|
|
8842
|
+
"type": "string"
|
|
8843
|
+
},
|
|
8844
|
+
"confirmTitle": {
|
|
8845
|
+
"type": "string"
|
|
8846
|
+
},
|
|
7973
8847
|
"dialog": {
|
|
7974
8848
|
"type": "object",
|
|
7975
8849
|
"properties": {
|
|
8850
|
+
"actionTarget": {
|
|
8851
|
+
"type": "string"
|
|
8852
|
+
},
|
|
8853
|
+
"component": {
|
|
8854
|
+
"type": "string"
|
|
8855
|
+
},
|
|
8856
|
+
"createDefaults": {
|
|
8857
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
8858
|
+
},
|
|
7976
8859
|
"dialogType": {
|
|
7977
8860
|
"type": "string"
|
|
7978
8861
|
},
|
|
7979
|
-
"
|
|
7980
|
-
"
|
|
7981
|
-
|
|
8862
|
+
"filterMapping": {
|
|
8863
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
8864
|
+
},
|
|
8865
|
+
"form": {
|
|
8866
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8867
|
+
},
|
|
8868
|
+
"i18n": {
|
|
8869
|
+
"type": "boolean"
|
|
7982
8870
|
},
|
|
7983
8871
|
"initDataMapping": {
|
|
8872
|
+
"$ref": "#/$defs/Map(String,String)",
|
|
7984
8873
|
"type": "object",
|
|
7985
8874
|
"additionalProperties": {
|
|
7986
8875
|
"type": "string"
|
|
7987
8876
|
}
|
|
7988
8877
|
},
|
|
8878
|
+
"listHeight": {
|
|
8879
|
+
"type": "string"
|
|
8880
|
+
},
|
|
8881
|
+
"listSelection": {
|
|
8882
|
+
"type": "boolean",
|
|
8883
|
+
"description": "dialogType=list \u65F6\u662F\u5426\u663E\u793A\u884C\u9009\u62E9\u6846\uFF0C\u9ED8\u8BA4 true"
|
|
8884
|
+
},
|
|
8885
|
+
"plugin": {
|
|
8886
|
+
"type": "string"
|
|
8887
|
+
},
|
|
8888
|
+
"result": {
|
|
8889
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8890
|
+
},
|
|
8891
|
+
"showFilter": {
|
|
8892
|
+
"type": "boolean"
|
|
8893
|
+
},
|
|
8894
|
+
"showSearch": {
|
|
8895
|
+
"type": "boolean"
|
|
8896
|
+
},
|
|
8897
|
+
"targetAction": {
|
|
8898
|
+
"type": "string"
|
|
8899
|
+
},
|
|
7989
8900
|
"targetModel": {
|
|
7990
8901
|
"type": "string"
|
|
7991
8902
|
},
|
|
7992
8903
|
"targetState": {
|
|
7993
8904
|
"type": "string"
|
|
7994
8905
|
},
|
|
8906
|
+
"targetStateMapping": {
|
|
8907
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8908
|
+
},
|
|
7995
8909
|
"title": {
|
|
7996
8910
|
"type": "string"
|
|
7997
8911
|
},
|
|
@@ -8000,14 +8914,14 @@ var META_SCHEMAS = {
|
|
|
8000
8914
|
}
|
|
8001
8915
|
}
|
|
8002
8916
|
},
|
|
8003
|
-
"
|
|
8004
|
-
"type": "
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
"
|
|
8917
|
+
"execution": {
|
|
8918
|
+
"type": "object",
|
|
8919
|
+
"properties": {
|
|
8920
|
+
"returnOn": {
|
|
8921
|
+
"type": "string"
|
|
8922
|
+
}
|
|
8923
|
+
},
|
|
8924
|
+
"$ref": "#/$defs/ActionExecutionConfig"
|
|
8011
8925
|
},
|
|
8012
8926
|
"icon": {
|
|
8013
8927
|
"type": "string"
|
|
@@ -8038,19 +8952,107 @@ var META_SCHEMAS = {
|
|
|
8038
8952
|
"order": {
|
|
8039
8953
|
"type": "integer"
|
|
8040
8954
|
},
|
|
8041
|
-
"
|
|
8042
|
-
"type": "
|
|
8043
|
-
"
|
|
8955
|
+
"pageMode": {
|
|
8956
|
+
"type": "array",
|
|
8957
|
+
"items": {
|
|
8958
|
+
"type": "string"
|
|
8959
|
+
}
|
|
8044
8960
|
},
|
|
8045
|
-
"
|
|
8046
|
-
"type": "
|
|
8047
|
-
"
|
|
8048
|
-
"
|
|
8961
|
+
"params": {
|
|
8962
|
+
"type": "array",
|
|
8963
|
+
"items": {
|
|
8964
|
+
"type": "object",
|
|
8965
|
+
"properties": {
|
|
8966
|
+
"defaultValue": {},
|
|
8967
|
+
"expr": {
|
|
8968
|
+
"type": "string"
|
|
8969
|
+
},
|
|
8970
|
+
"formRef": {
|
|
8971
|
+
"type": "object",
|
|
8972
|
+
"properties": {
|
|
8973
|
+
"fields": {
|
|
8974
|
+
"type": "array",
|
|
8975
|
+
"items": {
|
|
8976
|
+
"type": "string"
|
|
8977
|
+
}
|
|
8978
|
+
},
|
|
8979
|
+
"model": {
|
|
8980
|
+
"type": "string"
|
|
8981
|
+
}
|
|
8982
|
+
}
|
|
8983
|
+
},
|
|
8984
|
+
"formSchema": {
|
|
8985
|
+
"type": "object",
|
|
8986
|
+
"properties": {
|
|
8987
|
+
"fields": {
|
|
8988
|
+
"type": "array",
|
|
8989
|
+
"items": {
|
|
8990
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8991
|
+
}
|
|
8992
|
+
},
|
|
8993
|
+
"submitLabel": {
|
|
8994
|
+
"type": "string"
|
|
8995
|
+
},
|
|
8996
|
+
"title": {
|
|
8997
|
+
"type": "string"
|
|
8998
|
+
},
|
|
8999
|
+
"width": {
|
|
9000
|
+
"type": "string"
|
|
9001
|
+
}
|
|
9002
|
+
}
|
|
9003
|
+
},
|
|
9004
|
+
"inputType": {
|
|
9005
|
+
"type": "string"
|
|
9006
|
+
},
|
|
9007
|
+
"into": {
|
|
9008
|
+
"type": "string"
|
|
9009
|
+
},
|
|
9010
|
+
"keyPath": {
|
|
9011
|
+
"type": "string"
|
|
9012
|
+
},
|
|
9013
|
+
"name": {
|
|
9014
|
+
"type": "string"
|
|
9015
|
+
},
|
|
9016
|
+
"path": {
|
|
9017
|
+
"type": "string"
|
|
9018
|
+
},
|
|
9019
|
+
"promptLabel": {
|
|
9020
|
+
"type": "string"
|
|
9021
|
+
},
|
|
9022
|
+
"promptText": {
|
|
9023
|
+
"type": "string"
|
|
9024
|
+
},
|
|
9025
|
+
"required": {
|
|
9026
|
+
"type": "boolean"
|
|
9027
|
+
},
|
|
9028
|
+
"source": {
|
|
9029
|
+
"type": "string",
|
|
9030
|
+
"description": "\u53C2\u6570\u6765\u6E90: row|selection|route|query|state|masterData|chainResult|chainStep|form|prompt|constant|expression|idempotency\uFF1Bidempotency \u5728\u6BCF\u6B21\u53C2\u6570\u6536\u96C6\u4E2D\u81EA\u52A8\u751F\u6210\u5E76\u590D\u7528 UUID\uFF0C\u4E0D\u5C55\u793A\u7ED9\u7528\u6237"
|
|
9031
|
+
},
|
|
9032
|
+
"value": {}
|
|
9033
|
+
},
|
|
9034
|
+
"$ref": "#/$defs/ParamConfig"
|
|
9035
|
+
}
|
|
9036
|
+
},
|
|
9037
|
+
"position": {
|
|
9038
|
+
"type": "string",
|
|
9039
|
+
"enum": ["footer-left", "footer-right"]
|
|
9040
|
+
},
|
|
9041
|
+
"requiredPermission": {
|
|
9042
|
+
"type": "string"
|
|
9043
|
+
},
|
|
9044
|
+
"script": {
|
|
9045
|
+
"type": "object",
|
|
9046
|
+
"properties": {
|
|
9047
|
+
"mode": {
|
|
8049
9048
|
"type": "string"
|
|
8050
9049
|
},
|
|
8051
9050
|
"params": {
|
|
8052
9051
|
"$ref": "#/$defs/Map(String,Object)"
|
|
8053
9052
|
},
|
|
9053
|
+
"readOnly": {
|
|
9054
|
+
"type": "boolean"
|
|
9055
|
+
},
|
|
8054
9056
|
"scriptKey": {
|
|
8055
9057
|
"type": "string"
|
|
8056
9058
|
},
|
|
@@ -8059,19 +9061,27 @@ var META_SCHEMAS = {
|
|
|
8059
9061
|
}
|
|
8060
9062
|
}
|
|
8061
9063
|
},
|
|
8062
|
-
"params": {
|
|
8063
|
-
"type": "array",
|
|
8064
|
-
"items": { "$ref": "#/$defs/ParamConfig" }
|
|
8065
|
-
},
|
|
8066
9064
|
"service": {
|
|
9065
|
+
"type": "object",
|
|
9066
|
+
"properties": {
|
|
9067
|
+
"agentKey": {
|
|
9068
|
+
"type": "string"
|
|
9069
|
+
},
|
|
9070
|
+
"mode": {
|
|
9071
|
+
"type": "string"
|
|
9072
|
+
},
|
|
9073
|
+
"pollIntervalMs": {
|
|
9074
|
+
"type": "integer"
|
|
9075
|
+
},
|
|
9076
|
+
"serviceKey": {
|
|
9077
|
+
"type": "string"
|
|
9078
|
+
},
|
|
9079
|
+
"timeoutMs": {
|
|
9080
|
+
"type": "integer"
|
|
9081
|
+
}
|
|
9082
|
+
},
|
|
8067
9083
|
"$ref": "#/$defs/ServiceActionConfig"
|
|
8068
9084
|
},
|
|
8069
|
-
"composite": {
|
|
8070
|
-
"$ref": "#/$defs/CompositeActionConfig"
|
|
8071
|
-
},
|
|
8072
|
-
"execution": {
|
|
8073
|
-
"$ref": "#/$defs/ActionExecutionConfig"
|
|
8074
|
-
},
|
|
8075
9085
|
"submitMethod": {
|
|
8076
9086
|
"type": "string"
|
|
8077
9087
|
},
|
|
@@ -8085,6 +9095,10 @@ var META_SCHEMAS = {
|
|
|
8085
9095
|
}
|
|
8086
9096
|
}
|
|
8087
9097
|
},
|
|
9098
|
+
"aiPanelEnabled": {
|
|
9099
|
+
"type": "boolean",
|
|
9100
|
+
"description": "AI \u5D4C\u5165\u9762\u677F\u662F\u5426\u542F\u7528;true(\u9ED8\u8BA4)\u65F6\u6E32\u67D3 EmbeddedAIPanel \u4FA7\u8FB9\u680F;info.<state>.yml \u53EF\u8BBE false \u5173\u95ED(\u5982 scoreForm \u8BC4\u5206\u9875)"
|
|
9101
|
+
},
|
|
8088
9102
|
"childrens": {
|
|
8089
9103
|
"description": "\u9876\u5C42 childrens[] \u8282\u70B9;\u58F0\u660E\u5F0F\u5B50\u8868\u7ED1\u5B9A(ADR-074);\u4E0E fields[].component=hc-field-list \u901A\u8FC7 key \u53CC\u5411\u914D\u5BF9",
|
|
8090
9104
|
"type": "array",
|
|
@@ -8107,6 +9121,10 @@ var META_SCHEMAS = {
|
|
|
8107
9121
|
"type": "string",
|
|
8108
9122
|
"description": "\u5B50\u8868 Model \u540D\uFF1B\u5FC5\u987B\u5DF2\u5728 ModelRegistry \u6CE8\u518C"
|
|
8109
9123
|
},
|
|
9124
|
+
"plugin": {
|
|
9125
|
+
"type": "string",
|
|
9126
|
+
"description": "\u6269\u5C55\u63D2\u4EF6\u53C2\u6570\uFF08\u4F20\u7ED9\u540E\u7AEF ?plugin= \u53C2\u6570\uFF09\uFF1B\u652F\u6301 {{parent.fieldName}} \u5360\u4F4D\u7B26\uFF0C\u7531\u524D\u7AEF\u8FD0\u884C\u65F6\u66FF\u6362\uFF08spec D v1.2.0\uFF09"
|
|
9127
|
+
},
|
|
8110
9128
|
"relationField": {
|
|
8111
9129
|
"type": "string",
|
|
8112
9130
|
"description": "\u5B50\u8868\u56DE\u6307\u7236\u8868\u7684 FK \u5B57\u6BB5\uFF1B\u7C7B\u578B\u5FC5\u987B\u4E0E\u7236\u8868\u4E3B\u952E\u53EF\u8D4B\u503C\u517C\u5BB9"
|
|
@@ -8133,6 +9151,9 @@ var META_SCHEMAS = {
|
|
|
8133
9151
|
"autoGenerate": {
|
|
8134
9152
|
"type": "boolean"
|
|
8135
9153
|
},
|
|
9154
|
+
"codeRuleConfigurable": {
|
|
9155
|
+
"type": "boolean"
|
|
9156
|
+
},
|
|
8136
9157
|
"component": {
|
|
8137
9158
|
"type": "string"
|
|
8138
9159
|
},
|
|
@@ -8149,6 +9170,16 @@ var META_SCHEMAS = {
|
|
|
8149
9170
|
"options": {
|
|
8150
9171
|
"$ref": "#/$defs/Map(String,Object)"
|
|
8151
9172
|
},
|
|
9173
|
+
"pageMode": {
|
|
9174
|
+
"type": "array",
|
|
9175
|
+
"items": {
|
|
9176
|
+
"type": "string",
|
|
9177
|
+
"enum": ["create", "edit", "view", "list"]
|
|
9178
|
+
},
|
|
9179
|
+
"minItems": 1,
|
|
9180
|
+
"maxItems": 4,
|
|
9181
|
+
"uniqueItems": true
|
|
9182
|
+
},
|
|
8152
9183
|
"readonly": {
|
|
8153
9184
|
"type": "boolean"
|
|
8154
9185
|
},
|
|
@@ -8162,13 +9193,17 @@ var META_SCHEMAS = {
|
|
|
8162
9193
|
"type": "object",
|
|
8163
9194
|
"properties": {
|
|
8164
9195
|
"field": {
|
|
8165
|
-
"type": "string"
|
|
9196
|
+
"type": "string",
|
|
9197
|
+
"minLength": 1
|
|
8166
9198
|
},
|
|
8167
9199
|
"operator": {
|
|
8168
|
-
"type": "string"
|
|
9200
|
+
"type": "string",
|
|
9201
|
+
"enum": ["eq", "ne", "in", "notIn"]
|
|
8169
9202
|
},
|
|
8170
9203
|
"value": {}
|
|
8171
|
-
}
|
|
9204
|
+
},
|
|
9205
|
+
"required": ["field", "operator", "value"],
|
|
9206
|
+
"additionalProperties": false
|
|
8172
9207
|
},
|
|
8173
9208
|
"width": {
|
|
8174
9209
|
"type": "integer"
|
|
@@ -8206,8 +9241,8 @@ var META_SCHEMAS = {
|
|
|
8206
9241
|
},
|
|
8207
9242
|
"labelPosition": {
|
|
8208
9243
|
"type": "string",
|
|
8209
|
-
"
|
|
8210
|
-
"
|
|
9244
|
+
"description": "\u8868\u5355\u6807\u7B7E\u4F4D\u7F6E;form/\u9875\u9762\u7EA7(\u975E field \u7EA7),\u503C\u57DF top|left|right;YAML \u7F3A\u7701\u65F6\u540E\u7AEF\u5F15\u64CE\u8865\u9ED8\u8BA4 top \u4E0B\u53D1,\u79DF\u6237\u5C42\u53EF\u8986\u76D6",
|
|
9245
|
+
"enum": ["top", "left", "right"]
|
|
8211
9246
|
},
|
|
8212
9247
|
"name": {
|
|
8213
9248
|
"type": "string",
|
|
@@ -8216,10 +9251,6 @@ var META_SCHEMAS = {
|
|
|
8216
9251
|
"tip": {
|
|
8217
9252
|
"type": "string",
|
|
8218
9253
|
"description": "\u8868\u5355\u9876\u90E8\u63D0\u793A\u6587\u6848(\u652F\u6301\u6362\u884C);\u5E38\u7528\u4E8E\u6DFB\u52A0\u4E1A\u52A1\u8BF4\u660E\u3001\u8B66\u793A\u4FE1\u606F,\u663E\u793A\u5728\u6240\u6709\u5B57\u6BB5\u4E4B\u524D"
|
|
8219
|
-
},
|
|
8220
|
-
"aiPanelEnabled": {
|
|
8221
|
-
"type": "boolean",
|
|
8222
|
-
"description": "AI \u5D4C\u5165\u9762\u677F\u662F\u5426\u542F\u7528;true(\u9ED8\u8BA4)\u65F6\u6E32\u67D3 EmbeddedAIPanel \u4FA7\u8FB9\u680F;info.<state>.yml \u53EF\u8BBE false \u5173\u95ED(\u5982 scoreForm \u8BC4\u5206\u9875)"
|
|
8223
9254
|
}
|
|
8224
9255
|
}
|
|
8225
9256
|
},
|
|
@@ -8247,60 +9278,113 @@ var META_SCHEMAS = {
|
|
|
8247
9278
|
"type": "object",
|
|
8248
9279
|
"required": ["name", "source"],
|
|
8249
9280
|
"properties": {
|
|
8250
|
-
"name": {
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
|
|
9281
|
+
"name": {
|
|
9282
|
+
"type": "string",
|
|
9283
|
+
"minLength": 1
|
|
9284
|
+
},
|
|
9285
|
+
"source": {
|
|
9286
|
+
"type": "string"
|
|
9287
|
+
},
|
|
9288
|
+
"path": {
|
|
9289
|
+
"type": "string"
|
|
9290
|
+
},
|
|
9291
|
+
"keyPath": {
|
|
9292
|
+
"type": "string"
|
|
9293
|
+
},
|
|
8254
9294
|
"value": {},
|
|
8255
|
-
"expr": {
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
"
|
|
8259
|
-
|
|
8260
|
-
|
|
8261
|
-
"
|
|
9295
|
+
"expr": {
|
|
9296
|
+
"type": "string"
|
|
9297
|
+
},
|
|
9298
|
+
"promptText": {
|
|
9299
|
+
"type": "string"
|
|
9300
|
+
},
|
|
9301
|
+
"promptLabel": {
|
|
9302
|
+
"type": "string"
|
|
9303
|
+
},
|
|
9304
|
+
"inputType": {
|
|
9305
|
+
"type": "string"
|
|
9306
|
+
},
|
|
9307
|
+
"formSchema": {
|
|
9308
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
9309
|
+
},
|
|
9310
|
+
"formRef": {
|
|
9311
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
9312
|
+
},
|
|
9313
|
+
"required": {
|
|
9314
|
+
"type": "boolean"
|
|
9315
|
+
},
|
|
8262
9316
|
"defaultValue": {},
|
|
8263
|
-
"into": {
|
|
9317
|
+
"into": {
|
|
9318
|
+
"type": "string"
|
|
9319
|
+
}
|
|
8264
9320
|
}
|
|
8265
9321
|
},
|
|
8266
9322
|
"ServiceActionConfig": {
|
|
8267
9323
|
"type": "object",
|
|
8268
9324
|
"required": ["agentKey", "serviceKey"],
|
|
8269
9325
|
"properties": {
|
|
8270
|
-
"agentKey": {
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
"
|
|
9326
|
+
"agentKey": {
|
|
9327
|
+
"type": "string",
|
|
9328
|
+
"minLength": 1
|
|
9329
|
+
},
|
|
9330
|
+
"serviceKey": {
|
|
9331
|
+
"type": "string",
|
|
9332
|
+
"minLength": 1
|
|
9333
|
+
},
|
|
9334
|
+
"mode": {
|
|
9335
|
+
"type": "string",
|
|
9336
|
+
"enum": ["sync", "async"]
|
|
9337
|
+
},
|
|
9338
|
+
"timeoutMs": {
|
|
9339
|
+
"type": "integer",
|
|
9340
|
+
"minimum": 1e3
|
|
9341
|
+
},
|
|
9342
|
+
"pollIntervalMs": {
|
|
9343
|
+
"type": "integer",
|
|
9344
|
+
"minimum": 100
|
|
9345
|
+
}
|
|
8275
9346
|
}
|
|
8276
9347
|
},
|
|
8277
9348
|
"ActionExecutionConfig": {
|
|
8278
9349
|
"type": "object",
|
|
8279
9350
|
"properties": {
|
|
8280
|
-
"returnOn": {
|
|
9351
|
+
"returnOn": {
|
|
9352
|
+
"type": "string",
|
|
9353
|
+
"enum": ["terminal", "accepted"]
|
|
9354
|
+
}
|
|
8281
9355
|
}
|
|
8282
9356
|
},
|
|
8283
9357
|
"CompositeActionConfig": {
|
|
8284
9358
|
"type": "object",
|
|
8285
9359
|
"required": ["steps"],
|
|
8286
9360
|
"properties": {
|
|
8287
|
-
"mode": {
|
|
8288
|
-
|
|
9361
|
+
"mode": {
|
|
9362
|
+
"type": "string",
|
|
9363
|
+
"enum": ["sequential", "parallel"]
|
|
9364
|
+
},
|
|
9365
|
+
"stopOnError": {
|
|
9366
|
+
"type": "boolean"
|
|
9367
|
+
},
|
|
8289
9368
|
"steps": {
|
|
8290
9369
|
"type": "array",
|
|
8291
9370
|
"minItems": 1,
|
|
8292
9371
|
"items": {
|
|
8293
|
-
"oneOf": [
|
|
8294
|
-
|
|
8295
|
-
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
9372
|
+
"oneOf": [{
|
|
9373
|
+
"type": "string",
|
|
9374
|
+
"minLength": 1
|
|
9375
|
+
}, {
|
|
9376
|
+
"type": "object",
|
|
9377
|
+
"required": ["action"],
|
|
9378
|
+
"properties": {
|
|
9379
|
+
"action": {
|
|
9380
|
+
"type": ["string", "object"]
|
|
9381
|
+
},
|
|
9382
|
+
"saveAs": {
|
|
9383
|
+
"type": "string",
|
|
9384
|
+
"minLength": 1
|
|
8301
9385
|
}
|
|
8302
9386
|
}
|
|
8303
|
-
]
|
|
9387
|
+
}]
|
|
8304
9388
|
}
|
|
8305
9389
|
}
|
|
8306
9390
|
}
|
|
@@ -8402,6 +9486,9 @@ var META_SCHEMAS = {
|
|
|
8402
9486
|
"i18n": {
|
|
8403
9487
|
"type": "boolean"
|
|
8404
9488
|
},
|
|
9489
|
+
"idempotencyKeyInHeader": {
|
|
9490
|
+
"type": "boolean"
|
|
9491
|
+
},
|
|
8405
9492
|
"method": {
|
|
8406
9493
|
"type": "string"
|
|
8407
9494
|
},
|
|
@@ -8425,6 +9512,22 @@ var META_SCHEMAS = {
|
|
|
8425
9512
|
"buttonType": {
|
|
8426
9513
|
"type": "string"
|
|
8427
9514
|
},
|
|
9515
|
+
"composite": {
|
|
9516
|
+
"type": "object",
|
|
9517
|
+
"properties": {
|
|
9518
|
+
"mode": {
|
|
9519
|
+
"type": "string"
|
|
9520
|
+
},
|
|
9521
|
+
"steps": {
|
|
9522
|
+
"type": "array",
|
|
9523
|
+
"items": {}
|
|
9524
|
+
},
|
|
9525
|
+
"stopOnError": {
|
|
9526
|
+
"type": "boolean"
|
|
9527
|
+
}
|
|
9528
|
+
},
|
|
9529
|
+
"$ref": "#/$defs/CompositeActionConfig"
|
|
9530
|
+
},
|
|
8428
9531
|
"confirmText": {
|
|
8429
9532
|
"type": "string"
|
|
8430
9533
|
},
|
|
@@ -8445,9 +9548,15 @@ var META_SCHEMAS = {
|
|
|
8445
9548
|
"dialog": {
|
|
8446
9549
|
"type": "object",
|
|
8447
9550
|
"properties": {
|
|
9551
|
+
"actionTarget": {
|
|
9552
|
+
"type": "string"
|
|
9553
|
+
},
|
|
8448
9554
|
"component": {
|
|
8449
9555
|
"type": "string"
|
|
8450
9556
|
},
|
|
9557
|
+
"createDefaults": {
|
|
9558
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
9559
|
+
},
|
|
8451
9560
|
"dialogType": {
|
|
8452
9561
|
"type": "string"
|
|
8453
9562
|
},
|
|
@@ -8476,6 +9585,12 @@ var META_SCHEMAS = {
|
|
|
8476
9585
|
"result": {
|
|
8477
9586
|
"$ref": "#/$defs/Map(String,Object)"
|
|
8478
9587
|
},
|
|
9588
|
+
"showFilter": {
|
|
9589
|
+
"type": "boolean"
|
|
9590
|
+
},
|
|
9591
|
+
"showSearch": {
|
|
9592
|
+
"type": "boolean"
|
|
9593
|
+
},
|
|
8479
9594
|
"targetAction": {
|
|
8480
9595
|
"type": "string"
|
|
8481
9596
|
},
|
|
@@ -8497,6 +9612,15 @@ var META_SCHEMAS = {
|
|
|
8497
9612
|
}
|
|
8498
9613
|
},
|
|
8499
9614
|
"disabled": {},
|
|
9615
|
+
"execution": {
|
|
9616
|
+
"type": "object",
|
|
9617
|
+
"properties": {
|
|
9618
|
+
"returnOn": {
|
|
9619
|
+
"type": "string"
|
|
9620
|
+
}
|
|
9621
|
+
},
|
|
9622
|
+
"$ref": "#/$defs/ActionExecutionConfig"
|
|
9623
|
+
},
|
|
8500
9624
|
"icon": {
|
|
8501
9625
|
"type": "string"
|
|
8502
9626
|
},
|
|
@@ -8555,47 +9679,137 @@ var META_SCHEMAS = {
|
|
|
8555
9679
|
"type": "string"
|
|
8556
9680
|
}
|
|
8557
9681
|
},
|
|
8558
|
-
"position": {
|
|
8559
|
-
"type": "string"
|
|
8560
|
-
},
|
|
8561
|
-
"script": {
|
|
8562
|
-
"type": "object",
|
|
8563
|
-
"properties": {
|
|
8564
|
-
"mode": {
|
|
8565
|
-
"type": "string"
|
|
8566
|
-
},
|
|
8567
|
-
"params": {
|
|
8568
|
-
"$ref": "#/$defs/Map(String,Object)"
|
|
8569
|
-
},
|
|
8570
|
-
"scriptKey": {
|
|
8571
|
-
"type": "string"
|
|
8572
|
-
},
|
|
8573
|
-
"timeout": {
|
|
8574
|
-
"type": "integer"
|
|
8575
|
-
}
|
|
8576
|
-
}
|
|
8577
|
-
},
|
|
8578
9682
|
"params": {
|
|
8579
9683
|
"type": "array",
|
|
8580
|
-
"items": {
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
|
|
8593
|
-
|
|
8594
|
-
|
|
8595
|
-
|
|
8596
|
-
|
|
8597
|
-
|
|
8598
|
-
|
|
9684
|
+
"items": {
|
|
9685
|
+
"type": "object",
|
|
9686
|
+
"properties": {
|
|
9687
|
+
"defaultValue": {},
|
|
9688
|
+
"expr": {
|
|
9689
|
+
"type": "string"
|
|
9690
|
+
},
|
|
9691
|
+
"formRef": {
|
|
9692
|
+
"type": "object",
|
|
9693
|
+
"properties": {
|
|
9694
|
+
"fields": {
|
|
9695
|
+
"type": "array",
|
|
9696
|
+
"items": {
|
|
9697
|
+
"type": "string"
|
|
9698
|
+
}
|
|
9699
|
+
},
|
|
9700
|
+
"model": {
|
|
9701
|
+
"type": "string"
|
|
9702
|
+
}
|
|
9703
|
+
}
|
|
9704
|
+
},
|
|
9705
|
+
"formSchema": {
|
|
9706
|
+
"type": "object",
|
|
9707
|
+
"properties": {
|
|
9708
|
+
"fields": {
|
|
9709
|
+
"type": "array",
|
|
9710
|
+
"items": {
|
|
9711
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
9712
|
+
}
|
|
9713
|
+
},
|
|
9714
|
+
"submitLabel": {
|
|
9715
|
+
"type": "string"
|
|
9716
|
+
},
|
|
9717
|
+
"title": {
|
|
9718
|
+
"type": "string"
|
|
9719
|
+
},
|
|
9720
|
+
"width": {
|
|
9721
|
+
"type": "string"
|
|
9722
|
+
}
|
|
9723
|
+
}
|
|
9724
|
+
},
|
|
9725
|
+
"inputType": {
|
|
9726
|
+
"type": "string"
|
|
9727
|
+
},
|
|
9728
|
+
"into": {
|
|
9729
|
+
"type": "string"
|
|
9730
|
+
},
|
|
9731
|
+
"keyPath": {
|
|
9732
|
+
"type": "string"
|
|
9733
|
+
},
|
|
9734
|
+
"name": {
|
|
9735
|
+
"type": "string"
|
|
9736
|
+
},
|
|
9737
|
+
"path": {
|
|
9738
|
+
"type": "string"
|
|
9739
|
+
},
|
|
9740
|
+
"promptLabel": {
|
|
9741
|
+
"type": "string"
|
|
9742
|
+
},
|
|
9743
|
+
"promptText": {
|
|
9744
|
+
"type": "string"
|
|
9745
|
+
},
|
|
9746
|
+
"required": {
|
|
9747
|
+
"type": "boolean"
|
|
9748
|
+
},
|
|
9749
|
+
"source": {
|
|
9750
|
+
"type": "string",
|
|
9751
|
+
"description": "\u53C2\u6570\u6765\u6E90: row|selection|route|query|state|masterData|chainResult|chainStep|form|prompt|constant|expression|idempotency\uFF1Bidempotency \u5728\u6BCF\u6B21\u53C2\u6570\u6536\u96C6\u4E2D\u81EA\u52A8\u751F\u6210\u5E76\u590D\u7528 UUID\uFF0C\u4E0D\u5C55\u793A\u7ED9\u7528\u6237"
|
|
9752
|
+
},
|
|
9753
|
+
"value": {}
|
|
9754
|
+
},
|
|
9755
|
+
"$ref": "#/$defs/ParamConfig"
|
|
9756
|
+
}
|
|
9757
|
+
},
|
|
9758
|
+
"position": {
|
|
9759
|
+
"type": "string"
|
|
9760
|
+
},
|
|
9761
|
+
"requiredPermission": {
|
|
9762
|
+
"type": "string"
|
|
9763
|
+
},
|
|
9764
|
+
"script": {
|
|
9765
|
+
"type": "object",
|
|
9766
|
+
"properties": {
|
|
9767
|
+
"mode": {
|
|
9768
|
+
"type": "string"
|
|
9769
|
+
},
|
|
9770
|
+
"params": {
|
|
9771
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
9772
|
+
},
|
|
9773
|
+
"readOnly": {
|
|
9774
|
+
"type": "boolean"
|
|
9775
|
+
},
|
|
9776
|
+
"scriptKey": {
|
|
9777
|
+
"type": "string"
|
|
9778
|
+
},
|
|
9779
|
+
"timeout": {
|
|
9780
|
+
"type": "integer"
|
|
9781
|
+
}
|
|
9782
|
+
}
|
|
9783
|
+
},
|
|
9784
|
+
"service": {
|
|
9785
|
+
"type": "object",
|
|
9786
|
+
"properties": {
|
|
9787
|
+
"agentKey": {
|
|
9788
|
+
"type": "string"
|
|
9789
|
+
},
|
|
9790
|
+
"mode": {
|
|
9791
|
+
"type": "string"
|
|
9792
|
+
},
|
|
9793
|
+
"pollIntervalMs": {
|
|
9794
|
+
"type": "integer"
|
|
9795
|
+
},
|
|
9796
|
+
"serviceKey": {
|
|
9797
|
+
"type": "string"
|
|
9798
|
+
},
|
|
9799
|
+
"timeoutMs": {
|
|
9800
|
+
"type": "integer"
|
|
9801
|
+
}
|
|
9802
|
+
},
|
|
9803
|
+
"$ref": "#/$defs/ServiceActionConfig"
|
|
9804
|
+
},
|
|
9805
|
+
"type": {
|
|
9806
|
+
"type": "string"
|
|
9807
|
+
},
|
|
9808
|
+
"visible": {}
|
|
9809
|
+
}
|
|
9810
|
+
}
|
|
9811
|
+
},
|
|
9812
|
+
"additions": {
|
|
8599
9813
|
"description": "\u5173\u8054\u6570\u636E\u914D\u7F6E;\u67E5\u770B\u8BE6\u60C5\u65F6\u8054\u8868\u62C9\u5173\u8054\u5BF9\u8C61(\u7801\u8868/\u5173\u8054\u5B9E\u4F53)\u3002ViewMetaEngine \u81EA\u52A8\u6309 object \u751F\u6210",
|
|
8600
9814
|
"type": "array",
|
|
8601
9815
|
"items": {
|
|
@@ -8641,6 +9855,9 @@ var META_SCHEMAS = {
|
|
|
8641
9855
|
"autoGenerate": {
|
|
8642
9856
|
"type": "boolean"
|
|
8643
9857
|
},
|
|
9858
|
+
"codeRuleConfigurable": {
|
|
9859
|
+
"type": "boolean"
|
|
9860
|
+
},
|
|
8644
9861
|
"component": {
|
|
8645
9862
|
"type": "string"
|
|
8646
9863
|
},
|
|
@@ -8698,8 +9915,8 @@ var META_SCHEMAS = {
|
|
|
8698
9915
|
},
|
|
8699
9916
|
"labelPosition": {
|
|
8700
9917
|
"type": "string",
|
|
8701
|
-
"
|
|
8702
|
-
"
|
|
9918
|
+
"description": "\u67E5\u770B\u9875\u6807\u7B7E\u4F4D\u7F6E;\u9875\u9762\u7EA7(\u975E field \u7EA7),\u503C\u57DF top|left|right;top=label \u5728\u503C\u4E0A\u65B9,left/right=\u6A2A\u5411\u6392\u5E03;YAML \u7F3A\u7701\u65F6\u540E\u7AEF\u5F15\u64CE\u8865\u9ED8\u8BA4 top \u4E0B\u53D1,\u79DF\u6237\u5C42\u53EF\u8986\u76D6",
|
|
9919
|
+
"enum": ["top", "left", "right"]
|
|
8703
9920
|
},
|
|
8704
9921
|
"name": {
|
|
8705
9922
|
"type": "string",
|
|
@@ -8727,6 +9944,9 @@ var META_SCHEMAS = {
|
|
|
8727
9944
|
"bindsEffectiveDate": {
|
|
8728
9945
|
"type": "boolean"
|
|
8729
9946
|
},
|
|
9947
|
+
"codeRuleConfigurable": {
|
|
9948
|
+
"type": "boolean"
|
|
9949
|
+
},
|
|
8730
9950
|
"component": {
|
|
8731
9951
|
"type": "string"
|
|
8732
9952
|
},
|
|
@@ -8744,12 +9964,18 @@ var META_SCHEMAS = {
|
|
|
8744
9964
|
"type": "array",
|
|
8745
9965
|
"items": {
|
|
8746
9966
|
"type": "string",
|
|
8747
|
-
"enum": ["EQUAL", "NOT_EQUAL", "GREATER_THAN", "LESS_THAN", "GREATER_THAN_OR_EQUAL", "LESS_THAN_OR_EQUAL", "LIKE", "NOT_LIKE", "CONTAINS", "STARTSWITH", "ENDSWITH", "IN", "NOT_IN", "IS_NULL", "IS_NOT_NULL", "ARRAY_CONTAINS", "BETWEEN", "CHILD_OF", "PARENT_OF", "ORG_SUBTREE_OF"]
|
|
9967
|
+
"enum": ["EQUAL", "NOT_EQUAL", "GREATER_THAN", "LESS_THAN", "GREATER_THAN_OR_EQUAL", "LESS_THAN_OR_EQUAL", "LIKE", "NOT_LIKE", "CONTAINS", "STARTSWITH", "ENDSWITH", "IN", "NOT_IN", "IS_NULL", "IS_NOT_NULL", "ARRAY_CONTAINS", "BETWEEN", "ANNUAL_WITHIN", "CHILD_OF", "PARENT_OF", "ORG_SUBTREE_OF", "MANAGED_ORG_SCOPE"]
|
|
8748
9968
|
}
|
|
8749
9969
|
},
|
|
8750
9970
|
"options": {
|
|
8751
9971
|
"type": "object"
|
|
8752
9972
|
},
|
|
9973
|
+
"pageMode": {
|
|
9974
|
+
"type": "array",
|
|
9975
|
+
"items": {
|
|
9976
|
+
"type": "string"
|
|
9977
|
+
}
|
|
9978
|
+
},
|
|
8753
9979
|
"periodEndKey": {
|
|
8754
9980
|
"type": "string"
|
|
8755
9981
|
},
|
|
@@ -8796,16 +10022,33 @@ var META_SCHEMAS = {
|
|
|
8796
10022
|
model: {
|
|
8797
10023
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
8798
10024
|
"$defs": {
|
|
10025
|
+
"ActionRiskFlag": {
|
|
10026
|
+
"type": "string",
|
|
10027
|
+
"enum": ["YES", "NO", "UNKNOWN"]
|
|
10028
|
+
},
|
|
8799
10029
|
"DerivedValueType": {
|
|
8800
10030
|
"type": "string",
|
|
8801
10031
|
"enum": ["STRING", "INTEGER", "LONG", "DECIMAL", "BOOLEAN", "DATE", "DATETIME", "JSON"]
|
|
8802
10032
|
},
|
|
10033
|
+
"FieldPolicyDefault": {
|
|
10034
|
+
"type": "string",
|
|
10035
|
+
"enum": ["INHERIT", "DENY"]
|
|
10036
|
+
},
|
|
10037
|
+
"JsonNode": {
|
|
10038
|
+
"type": "object"
|
|
10039
|
+
},
|
|
8803
10040
|
"Map(String,Object)": {
|
|
8804
10041
|
"type": "object"
|
|
8805
10042
|
},
|
|
8806
10043
|
"ModelScriptTriggerMeta": {
|
|
8807
10044
|
"type": "object",
|
|
8808
10045
|
"properties": {
|
|
10046
|
+
"actions": {
|
|
10047
|
+
"type": "array",
|
|
10048
|
+
"items": {
|
|
10049
|
+
"type": "string"
|
|
10050
|
+
}
|
|
10051
|
+
},
|
|
8809
10052
|
"event": {
|
|
8810
10053
|
"type": "string"
|
|
8811
10054
|
},
|
|
@@ -8820,6 +10063,33 @@ var META_SCHEMAS = {
|
|
|
8820
10063
|
}
|
|
8821
10064
|
}
|
|
8822
10065
|
},
|
|
10066
|
+
"PermissionFieldAccess": {
|
|
10067
|
+
"type": "object",
|
|
10068
|
+
"properties": {
|
|
10069
|
+
"fields": {
|
|
10070
|
+
"type": "array",
|
|
10071
|
+
"items": {
|
|
10072
|
+
"type": "string",
|
|
10073
|
+
"minLength": 1
|
|
10074
|
+
},
|
|
10075
|
+
"minItems": 1,
|
|
10076
|
+
"uniqueItems": true
|
|
10077
|
+
},
|
|
10078
|
+
"includeFutureFields": {
|
|
10079
|
+
"type": "boolean"
|
|
10080
|
+
},
|
|
10081
|
+
"read": {
|
|
10082
|
+
"type": "string",
|
|
10083
|
+
"enum": ["NONE", "MASKED", "FULL"]
|
|
10084
|
+
},
|
|
10085
|
+
"write": {
|
|
10086
|
+
"type": "string",
|
|
10087
|
+
"enum": ["DENY", "ALLOW"]
|
|
10088
|
+
}
|
|
10089
|
+
},
|
|
10090
|
+
"required": ["fields", "read", "write"],
|
|
10091
|
+
"additionalProperties": false
|
|
10092
|
+
},
|
|
8823
10093
|
"QueryAddition": {
|
|
8824
10094
|
"type": "object",
|
|
8825
10095
|
"properties": {
|
|
@@ -8861,6 +10131,9 @@ var META_SCHEMAS = {
|
|
|
8861
10131
|
"field": {
|
|
8862
10132
|
"type": "string"
|
|
8863
10133
|
},
|
|
10134
|
+
"mainFilter": {
|
|
10135
|
+
"$ref": "#/$defs/JsonNode"
|
|
10136
|
+
},
|
|
8864
10137
|
"type": {
|
|
8865
10138
|
"type": "string"
|
|
8866
10139
|
}
|
|
@@ -8897,6 +10170,9 @@ var META_SCHEMAS = {
|
|
|
8897
10170
|
"$ref": "#/$defs/ToolParameter"
|
|
8898
10171
|
}
|
|
8899
10172
|
},
|
|
10173
|
+
"rawJsonSchema": {
|
|
10174
|
+
"type": "string"
|
|
10175
|
+
},
|
|
8900
10176
|
"required": {
|
|
8901
10177
|
"type": "boolean"
|
|
8902
10178
|
},
|
|
@@ -8913,9 +10189,20 @@ var META_SCHEMAS = {
|
|
|
8913
10189
|
"items": {
|
|
8914
10190
|
"type": "object",
|
|
8915
10191
|
"properties": {
|
|
10192
|
+
"confirm": {
|
|
10193
|
+
"type": "string",
|
|
10194
|
+
"enum": ["DEFAULT", "REQUIRED", "SKIP"]
|
|
10195
|
+
},
|
|
8916
10196
|
"description": {
|
|
8917
10197
|
"type": "string"
|
|
8918
10198
|
},
|
|
10199
|
+
"effect": {
|
|
10200
|
+
"type": "string",
|
|
10201
|
+
"enum": ["READ_ONLY", "ACCOUNTING_ONLY", "WRITES", "UNKNOWN"]
|
|
10202
|
+
},
|
|
10203
|
+
"hasExternalDep": {
|
|
10204
|
+
"$ref": "#/$defs/ActionRiskFlag"
|
|
10205
|
+
},
|
|
8919
10206
|
"httpMethod": {
|
|
8920
10207
|
"type": "string"
|
|
8921
10208
|
},
|
|
@@ -8952,12 +10239,30 @@ var META_SCHEMAS = {
|
|
|
8952
10239
|
"scope": {
|
|
8953
10240
|
"type": "string"
|
|
8954
10241
|
},
|
|
10242
|
+
"sensitiveData": {
|
|
10243
|
+
"$ref": "#/$defs/ActionRiskFlag"
|
|
10244
|
+
},
|
|
8955
10245
|
"source": {
|
|
8956
10246
|
"type": "string"
|
|
8957
10247
|
}
|
|
8958
10248
|
}
|
|
8959
10249
|
}
|
|
8960
10250
|
},
|
|
10251
|
+
"dataPackage": {
|
|
10252
|
+
"type": "object",
|
|
10253
|
+
"properties": {
|
|
10254
|
+
"installable": {
|
|
10255
|
+
"type": "boolean"
|
|
10256
|
+
},
|
|
10257
|
+
"note": {
|
|
10258
|
+
"type": "string"
|
|
10259
|
+
},
|
|
10260
|
+
"reason": {
|
|
10261
|
+
"type": "string",
|
|
10262
|
+
"enum": ["BUSINESS_DATA", "PLATFORM_RUNTIME", "EXTERNAL_IDENTITY_OR_SECRET", "PROTECTED_SYSTEM_MODEL", "NON_CANONICAL_MODEL_VIEW", "DERIVED_PROJECTION", "EXTERNAL_OBJECT_DEPENDENT", "INSTALL_WRITE_CLOSED", "AUDIT_OR_LOG", "USER_BOUND_STATE", "TIMED_VERSION_HISTORY", "IMPLEMENTATION_IMPORT_ONLY"]
|
|
10263
|
+
}
|
|
10264
|
+
}
|
|
10265
|
+
},
|
|
8961
10266
|
"description": {
|
|
8962
10267
|
"type": "string",
|
|
8963
10268
|
"description": "\u5143\u6570\u636E\u8BE6\u7EC6\u63CF\u8FF0,\u53EF\u9009;\u524D\u7AEF\u4E0D\u76F4\u63A5\u6E32\u67D3,\u4E3B\u8981\u7ED9\u5F00\u53D1/\u8FD0\u7EF4\u770B"
|
|
@@ -8992,6 +10297,9 @@ var META_SCHEMAS = {
|
|
|
8992
10297
|
"params": {
|
|
8993
10298
|
"$ref": "#/$defs/Map(String,Object)"
|
|
8994
10299
|
},
|
|
10300
|
+
"readOnly": {
|
|
10301
|
+
"type": "boolean"
|
|
10302
|
+
},
|
|
8995
10303
|
"scriptKey": {
|
|
8996
10304
|
"type": "string"
|
|
8997
10305
|
},
|
|
@@ -9023,10 +10331,79 @@ var META_SCHEMAS = {
|
|
|
9023
10331
|
"autoGenerate": {
|
|
9024
10332
|
"type": "boolean"
|
|
9025
10333
|
},
|
|
10334
|
+
"bareTextOperator": {
|
|
10335
|
+
"type": ["string", "null"],
|
|
10336
|
+
"enum": ["contains", "eq", null]
|
|
10337
|
+
},
|
|
10338
|
+
"codeRuleConfigurable": {
|
|
10339
|
+
"type": "boolean"
|
|
10340
|
+
},
|
|
10341
|
+
"columnDefinition": {
|
|
10342
|
+
"type": "string"
|
|
10343
|
+
},
|
|
9026
10344
|
"columnSlot": {
|
|
9027
10345
|
"type": "string"
|
|
9028
10346
|
},
|
|
10347
|
+
"dataMask": {
|
|
10348
|
+
"type": "object",
|
|
10349
|
+
"properties": {
|
|
10350
|
+
"keepEnd": {
|
|
10351
|
+
"type": "integer",
|
|
10352
|
+
"minimum": 0
|
|
10353
|
+
},
|
|
10354
|
+
"keepStart": {
|
|
10355
|
+
"type": "integer",
|
|
10356
|
+
"minimum": 0
|
|
10357
|
+
},
|
|
10358
|
+
"maskCharacter": {
|
|
10359
|
+
"type": "string",
|
|
10360
|
+
"minLength": 1,
|
|
10361
|
+
"maxLength": 1
|
|
10362
|
+
},
|
|
10363
|
+
"strategy": {
|
|
10364
|
+
"type": "string",
|
|
10365
|
+
"enum": ["MOBILE", "ID_NUMBER", "BANK_CARD", "FULL", "CUSTOM"]
|
|
10366
|
+
},
|
|
10367
|
+
"unmaskedRoles": {
|
|
10368
|
+
"type": "array",
|
|
10369
|
+
"items": {
|
|
10370
|
+
"type": "string"
|
|
10371
|
+
},
|
|
10372
|
+
"uniqueItems": true
|
|
10373
|
+
}
|
|
10374
|
+
},
|
|
10375
|
+
"required": ["strategy"],
|
|
10376
|
+
"allOf": [{
|
|
10377
|
+
"if": {
|
|
10378
|
+
"properties": {
|
|
10379
|
+
"strategy": {
|
|
10380
|
+
"const": "CUSTOM"
|
|
10381
|
+
}
|
|
10382
|
+
}
|
|
10383
|
+
},
|
|
10384
|
+
"else": {
|
|
10385
|
+
"not": {
|
|
10386
|
+
"anyOf": [{
|
|
10387
|
+
"required": ["keepStart"]
|
|
10388
|
+
}, {
|
|
10389
|
+
"required": ["keepEnd"]
|
|
10390
|
+
}]
|
|
10391
|
+
}
|
|
10392
|
+
}
|
|
10393
|
+
}],
|
|
10394
|
+
"additionalProperties": false
|
|
10395
|
+
},
|
|
10396
|
+
"decimalNumber": {
|
|
10397
|
+
"type": "boolean"
|
|
10398
|
+
},
|
|
9029
10399
|
"defaultValue": {},
|
|
10400
|
+
"defaultValueSource": {
|
|
10401
|
+
"type": "string"
|
|
10402
|
+
},
|
|
10403
|
+
"definitionId": {
|
|
10404
|
+
"type": "string",
|
|
10405
|
+
"minLength": 1
|
|
10406
|
+
},
|
|
9030
10407
|
"derived": {
|
|
9031
10408
|
"anyOf": [{
|
|
9032
10409
|
"type": "object",
|
|
@@ -9111,6 +10488,9 @@ var META_SCHEMAS = {
|
|
|
9111
10488
|
"description": {
|
|
9112
10489
|
"type": "string"
|
|
9113
10490
|
},
|
|
10491
|
+
"elementType": {
|
|
10492
|
+
"type": "string"
|
|
10493
|
+
},
|
|
9114
10494
|
"encrypted": {
|
|
9115
10495
|
"type": "object",
|
|
9116
10496
|
"properties": {
|
|
@@ -9191,6 +10571,9 @@ var META_SCHEMAS = {
|
|
|
9191
10571
|
"isView": {
|
|
9192
10572
|
"type": "boolean"
|
|
9193
10573
|
},
|
|
10574
|
+
"jsonObject": {
|
|
10575
|
+
"type": "boolean"
|
|
10576
|
+
},
|
|
9194
10577
|
"jsonSchema": {
|
|
9195
10578
|
"type": "array",
|
|
9196
10579
|
"items": {
|
|
@@ -9206,12 +10589,24 @@ var META_SCHEMAS = {
|
|
|
9206
10589
|
"length": {
|
|
9207
10590
|
"type": "integer"
|
|
9208
10591
|
},
|
|
10592
|
+
"modelDefaultAvailable": {
|
|
10593
|
+
"type": "boolean"
|
|
10594
|
+
},
|
|
10595
|
+
"multiple": {
|
|
10596
|
+
"type": "boolean"
|
|
10597
|
+
},
|
|
9209
10598
|
"name": {
|
|
9210
10599
|
"type": "string"
|
|
9211
10600
|
},
|
|
9212
10601
|
"numericCast": {
|
|
9213
10602
|
"type": "boolean"
|
|
9214
10603
|
},
|
|
10604
|
+
"numericPrecision": {
|
|
10605
|
+
"type": "integer"
|
|
10606
|
+
},
|
|
10607
|
+
"numericScale": {
|
|
10608
|
+
"type": "integer"
|
|
10609
|
+
},
|
|
9215
10610
|
"object": {
|
|
9216
10611
|
"type": "string"
|
|
9217
10612
|
},
|
|
@@ -9221,31 +10616,231 @@ var META_SCHEMAS = {
|
|
|
9221
10616
|
"refer": {
|
|
9222
10617
|
"type": "string"
|
|
9223
10618
|
},
|
|
10619
|
+
"referenceDisplaySynonyms": {
|
|
10620
|
+
"description": "\u5F15\u7528\u5C55\u793A\u503C\u79F0\u8C13\uFF1B\u5FC5\u987B\u662F\u5355\u503C object \u5B57\u6BB5\u6709\u6548 name/synonyms \u7684\u5B50\u96C6\uFF1Bnull/\u7A7A\u6570\u7EC4\u53D6\u6D88\u58F0\u660E",
|
|
10621
|
+
"type": ["array", "null"],
|
|
10622
|
+
"items": {
|
|
10623
|
+
"type": "string",
|
|
10624
|
+
"minLength": 1
|
|
10625
|
+
},
|
|
10626
|
+
"uniqueItems": true
|
|
10627
|
+
},
|
|
10628
|
+
"security": {
|
|
10629
|
+
"type": "object",
|
|
10630
|
+
"properties": {
|
|
10631
|
+
"classification": {
|
|
10632
|
+
"type": "string",
|
|
10633
|
+
"minLength": 1
|
|
10634
|
+
},
|
|
10635
|
+
"maskPolicy": {
|
|
10636
|
+
"type": "string",
|
|
10637
|
+
"minLength": 1
|
|
10638
|
+
},
|
|
10639
|
+
"sources": {
|
|
10640
|
+
"type": "array",
|
|
10641
|
+
"items": {
|
|
10642
|
+
"type": "string",
|
|
10643
|
+
"minLength": 1
|
|
10644
|
+
},
|
|
10645
|
+
"uniqueItems": true
|
|
10646
|
+
}
|
|
10647
|
+
},
|
|
10648
|
+
"additionalProperties": false
|
|
10649
|
+
},
|
|
9224
10650
|
"sequence": {
|
|
9225
10651
|
"type": "integer"
|
|
9226
10652
|
},
|
|
9227
10653
|
"storage": {
|
|
9228
10654
|
"type": "string"
|
|
9229
10655
|
},
|
|
10656
|
+
"storageRequired": {
|
|
10657
|
+
"type": "boolean"
|
|
10658
|
+
},
|
|
9230
10659
|
"synonyms": {
|
|
9231
10660
|
"type": "array",
|
|
9232
10661
|
"items": {
|
|
9233
10662
|
"type": "string"
|
|
9234
10663
|
}
|
|
9235
10664
|
},
|
|
10665
|
+
"systemManaged": {
|
|
10666
|
+
"type": "boolean"
|
|
10667
|
+
},
|
|
9236
10668
|
"treeLoadMode": {
|
|
9237
10669
|
"type": "string"
|
|
9238
10670
|
},
|
|
9239
10671
|
"type": {
|
|
9240
10672
|
"type": "string",
|
|
9241
10673
|
"enum": ["uuid", "string", "boolean", "integer", "float", "date", "datetime", "time"]
|
|
10674
|
+
},
|
|
10675
|
+
"typeFallback": {
|
|
10676
|
+
"type": "boolean"
|
|
10677
|
+
},
|
|
10678
|
+
"unit": {
|
|
10679
|
+
"type": "string",
|
|
10680
|
+
"description": "\u6570\u91CF\u5B57\u6BB5\u7684\u5B58\u50A8\u5355\u4F4D\uFF1B\u7F3A\u7701\u8868\u793A\u672A\u58F0\u660E\uFF0C\u4E0D\u9690\u542B\u6362\u7B97\u6216\u820D\u5165"
|
|
10681
|
+
},
|
|
10682
|
+
"validateTargetExists": {
|
|
10683
|
+
"type": "boolean",
|
|
10684
|
+
"description": "\u5199\u5165\u65F6\u662F\u5426\u6821\u9A8C object \u6307\u5411\u7684\u76EE\u6807\u884C\u5728\u540C\u79DF\u6237\uFF08\u6216 __SYSTEM__ \u9884\u7F6E\uFF09\u5185\u771F\u5B9E\u5B58\u5728\uFF08issue #2070\uFF09\u3002\u9ED8\u8BA4 false\uFF0C\u9700\u663E\u5F0F\u5F00\u542F\uFF1A\u5168\u4ED3\u628A\u5173\u7CFB id \u5F53\u4E0D\u900F\u660E\u952E\u7528\u662F\u65E2\u6709\u7EA6\u5B9A\uFF0C\u9ED8\u8BA4\u5168\u5F00\u4F1A\u8BEF\u62D2\u5927\u91CF\u5408\u6CD5\u5199\u5165\u3002\u5178\u578B\u8BE5\u5F00\u7684\u573A\u666F\u662F\u5BA2\u6237\u53F0\u8D26/\u5355\u636E\u91CC\u7531 Excel \u5BFC\u5165\u6216\u4EBA\u5DE5\u5F55\u5165\u7684\u5173\u7CFB\u5217\u3002"
|
|
10685
|
+
},
|
|
10686
|
+
"valueMatch": {
|
|
10687
|
+
"type": "boolean"
|
|
9242
10688
|
}
|
|
9243
10689
|
}
|
|
9244
10690
|
}
|
|
9245
10691
|
},
|
|
9246
|
-
"
|
|
9247
|
-
"type": "
|
|
9248
|
-
"
|
|
10692
|
+
"immutableWhen": {
|
|
10693
|
+
"type": "object",
|
|
10694
|
+
"properties": {
|
|
10695
|
+
"field": {
|
|
10696
|
+
"type": "string",
|
|
10697
|
+
"minLength": 1,
|
|
10698
|
+
"description": "\u5224\u5B9A\u5B57\u6BB5\u7684 key\uFF0C\u5982 status"
|
|
10699
|
+
},
|
|
10700
|
+
"in": {
|
|
10701
|
+
"type": "array",
|
|
10702
|
+
"items": {
|
|
10703
|
+
"type": ["string", "object"],
|
|
10704
|
+
"oneOf": [{
|
|
10705
|
+
"type": "string",
|
|
10706
|
+
"minLength": 1
|
|
10707
|
+
}, {
|
|
10708
|
+
"type": "object",
|
|
10709
|
+
"properties": {
|
|
10710
|
+
"__replace": {
|
|
10711
|
+
"const": true
|
|
10712
|
+
}
|
|
10713
|
+
},
|
|
10714
|
+
"required": ["__replace"],
|
|
10715
|
+
"additionalProperties": false
|
|
10716
|
+
}]
|
|
10717
|
+
},
|
|
10718
|
+
"uniqueItems": true,
|
|
10719
|
+
"description": "\u547D\u4E2D\u5373\u51BB\u7ED3\u7684\u53D6\u503C\u96C6\u5408\uFF1B\u7A7A\u6570\u7EC4\u7B49\u4E8E\u672C\u58F0\u660E\u4E0D\u751F\u6548\uFF1B\u5206\u5C42\u8986\u76D6\u9700\u4EE5\u9996\u9879 {__replace: true} \u6E05\u7A7A\u4E0A\u5C42\u5217\u8868\u540E\u518D\u58F0\u660E\u672C\u5C42\u503C"
|
|
10720
|
+
}
|
|
10721
|
+
},
|
|
10722
|
+
"description": "\u7EC8\u6001\u6574\u884C\u51BB\u7ED3\uFF08issue #2009\uFF09\uFF1A\u5E93\u4E2D\u5F53\u524D\u884C\u7684 field \u53D6\u503C\u843D\u5728 in \u91CC\u65F6\uFF0C\u6574\u884C\u4E0D\u518D\u63A5\u53D7\u901A\u7528 update \u6216 delete\u3002\u751F\u6548\u5165\u53E3\u4E3A\u901A\u7528 mutation \u7BA1\u7EBF\uFF1AREST PUT\u3001REST DELETE\u3001DataPackage reconcile\u3001CommonExcel \u5BFC\u5165\uFF1B\u811A\u672C Action / \u6D41\u7A0B\u94A9\u5B50 / \u72B6\u6001\u673A\u6D41\u8F6C\u4E0D\u62E6\u3002\u503C\u5339\u914D\u4E3A\u5B57\u7B26\u4E32\u7CBE\u786E\u5339\u914D\u3001\u5927\u5C0F\u5199\u654F\u611F\uFF1B\u591A\u8BED\u8A00\u4E0E\u591A\u9009\u5B57\u6BB5\u4E0D\u9002\u5408\u505A\u5224\u5B9A\u5B57\u6BB5\u3002",
|
|
10723
|
+
"required": ["field", "in"],
|
|
10724
|
+
"additionalProperties": false
|
|
10725
|
+
},
|
|
10726
|
+
"importPolicy": {
|
|
10727
|
+
"type": "object",
|
|
10728
|
+
"properties": {
|
|
10729
|
+
"states": {
|
|
10730
|
+
"type": "array",
|
|
10731
|
+
"items": {
|
|
10732
|
+
"type": "object",
|
|
10733
|
+
"properties": {
|
|
10734
|
+
"actionKey": {
|
|
10735
|
+
"type": "string"
|
|
10736
|
+
},
|
|
10737
|
+
"allowedBusinessKeys": {
|
|
10738
|
+
"type": "array",
|
|
10739
|
+
"items": {
|
|
10740
|
+
"type": "array",
|
|
10741
|
+
"items": {
|
|
10742
|
+
"type": "string"
|
|
10743
|
+
}
|
|
10744
|
+
}
|
|
10745
|
+
},
|
|
10746
|
+
"capabilityVersion": {
|
|
10747
|
+
"type": "string"
|
|
10748
|
+
},
|
|
10749
|
+
"contextFields": {
|
|
10750
|
+
"type": "array",
|
|
10751
|
+
"items": {
|
|
10752
|
+
"type": "object",
|
|
10753
|
+
"properties": {
|
|
10754
|
+
"key": {
|
|
10755
|
+
"type": "string"
|
|
10756
|
+
},
|
|
10757
|
+
"label": {
|
|
10758
|
+
"type": "string"
|
|
10759
|
+
},
|
|
10760
|
+
"on_conflict": {
|
|
10761
|
+
"type": "string"
|
|
10762
|
+
},
|
|
10763
|
+
"override": {
|
|
10764
|
+
"type": "string"
|
|
10765
|
+
},
|
|
10766
|
+
"required": {
|
|
10767
|
+
"type": "boolean"
|
|
10768
|
+
},
|
|
10769
|
+
"source": {
|
|
10770
|
+
"type": "string"
|
|
10771
|
+
}
|
|
10772
|
+
}
|
|
10773
|
+
}
|
|
10774
|
+
},
|
|
10775
|
+
"defaults": {
|
|
10776
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
10777
|
+
},
|
|
10778
|
+
"document": {
|
|
10779
|
+
"type": "object",
|
|
10780
|
+
"properties": {
|
|
10781
|
+
"categoryNumber": {
|
|
10782
|
+
"type": "string"
|
|
10783
|
+
},
|
|
10784
|
+
"formId": {
|
|
10785
|
+
"type": "string"
|
|
10786
|
+
}
|
|
10787
|
+
}
|
|
10788
|
+
},
|
|
10789
|
+
"domain": {
|
|
10790
|
+
"type": "string"
|
|
10791
|
+
},
|
|
10792
|
+
"employeeSubset": {
|
|
10793
|
+
"type": "boolean"
|
|
10794
|
+
},
|
|
10795
|
+
"employeeSubsetMeta": {
|
|
10796
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
10797
|
+
},
|
|
10798
|
+
"enabled": {
|
|
10799
|
+
"type": "boolean"
|
|
10800
|
+
},
|
|
10801
|
+
"fields": {
|
|
10802
|
+
"type": "array",
|
|
10803
|
+
"items": {
|
|
10804
|
+
"type": "string"
|
|
10805
|
+
}
|
|
10806
|
+
},
|
|
10807
|
+
"importModes": {
|
|
10808
|
+
"type": "array",
|
|
10809
|
+
"items": {
|
|
10810
|
+
"type": "string"
|
|
10811
|
+
}
|
|
10812
|
+
},
|
|
10813
|
+
"key": {
|
|
10814
|
+
"type": "string"
|
|
10815
|
+
},
|
|
10816
|
+
"layout": {
|
|
10817
|
+
"type": "object",
|
|
10818
|
+
"properties": {
|
|
10819
|
+
"dataStartRow": {
|
|
10820
|
+
"type": "integer"
|
|
10821
|
+
},
|
|
10822
|
+
"descRow": {
|
|
10823
|
+
"type": "integer"
|
|
10824
|
+
},
|
|
10825
|
+
"hasDescRow": {
|
|
10826
|
+
"type": "boolean"
|
|
10827
|
+
},
|
|
10828
|
+
"keyRow": {
|
|
10829
|
+
"type": "integer"
|
|
10830
|
+
},
|
|
10831
|
+
"sheetName": {
|
|
10832
|
+
"type": "string"
|
|
10833
|
+
}
|
|
10834
|
+
}
|
|
10835
|
+
}
|
|
10836
|
+
}
|
|
10837
|
+
}
|
|
10838
|
+
}
|
|
10839
|
+
}
|
|
10840
|
+
},
|
|
10841
|
+
"key": {
|
|
10842
|
+
"type": "string",
|
|
10843
|
+
"description": "\u6A21\u578B\u6807\u8BC6\u7B26,YAML \u91CC\u5199\u4F5C modelKey;\u7531 spec.modelKey \u627F\u62C5,topPatches \u4E0D\u5E94\u518D\u5199"
|
|
9249
10844
|
},
|
|
9250
10845
|
"name": {
|
|
9251
10846
|
"type": "string",
|
|
@@ -9254,6 +10849,45 @@ var META_SCHEMAS = {
|
|
|
9254
10849
|
"permission": {
|
|
9255
10850
|
"type": "object",
|
|
9256
10851
|
"properties": {
|
|
10852
|
+
"fieldGrants": {
|
|
10853
|
+
"type": "array",
|
|
10854
|
+
"items": {
|
|
10855
|
+
"type": "object",
|
|
10856
|
+
"properties": {
|
|
10857
|
+
"access": {
|
|
10858
|
+
"type": "array",
|
|
10859
|
+
"items": {
|
|
10860
|
+
"$ref": "#/$defs/PermissionFieldAccess"
|
|
10861
|
+
}
|
|
10862
|
+
},
|
|
10863
|
+
"match": {
|
|
10864
|
+
"type": "string"
|
|
10865
|
+
},
|
|
10866
|
+
"role": {
|
|
10867
|
+
"type": "string",
|
|
10868
|
+
"minLength": 1
|
|
10869
|
+
}
|
|
10870
|
+
},
|
|
10871
|
+
"required": ["role", "access"],
|
|
10872
|
+
"additionalProperties": false
|
|
10873
|
+
}
|
|
10874
|
+
},
|
|
10875
|
+
"fieldPolicy": {
|
|
10876
|
+
"type": "object",
|
|
10877
|
+
"properties": {
|
|
10878
|
+
"mode": {
|
|
10879
|
+
"type": "string",
|
|
10880
|
+
"enum": ["LEGACY", "AUDIT", "ENFORCE"]
|
|
10881
|
+
},
|
|
10882
|
+
"ordinaryDefault": {
|
|
10883
|
+
"$ref": "#/$defs/FieldPolicyDefault"
|
|
10884
|
+
},
|
|
10885
|
+
"protectedDefault": {
|
|
10886
|
+
"$ref": "#/$defs/FieldPolicyDefault"
|
|
10887
|
+
}
|
|
10888
|
+
},
|
|
10889
|
+
"additionalProperties": false
|
|
10890
|
+
},
|
|
9257
10891
|
"grants": {
|
|
9258
10892
|
"type": "array",
|
|
9259
10893
|
"items": {
|
|
@@ -9265,8 +10899,16 @@ var META_SCHEMAS = {
|
|
|
9265
10899
|
"type": "string"
|
|
9266
10900
|
}
|
|
9267
10901
|
},
|
|
10902
|
+
"fieldAccess": {
|
|
10903
|
+
"type": "array",
|
|
10904
|
+
"items": {
|
|
10905
|
+
"$ref": "#/$defs/PermissionFieldAccess"
|
|
10906
|
+
}
|
|
10907
|
+
},
|
|
9268
10908
|
"match": {
|
|
9269
|
-
"type": "string"
|
|
10909
|
+
"type": "string",
|
|
10910
|
+
"pattern": "^[\\u0000-\\u0020]*(?:[A-Za-z\u212A][A-Za-z0-9_\u212A]*[\\u0000-\\u0020]*)?$",
|
|
10911
|
+
"description": "\u5185\u5EFA\u503C none/org/owner/wf_role/orgInherited\uFF0C\u6216\u7EE7\u627F\u540E\u5DF2\u58F0\u660E\u7684\u5177\u540D scope \u952E\uFF1B\u4E0D\u80FD\u5199\u8868\u8FBE\u5F0F\u3002\u7F3A\u7701/\u7A7A\u767D\u6309 org\u3002\u6B64\u5904\u53EA\u6821\u9A8C\u503C\u5F62\u6001\uFF0C\u5F15\u7528\u5B58\u5728\u6027\u7531\u670D\u52A1\u7AEF\u5B8C\u6574\u5019\u9009\u5408\u5E76\u6821\u9A8C\u3002"
|
|
9270
10912
|
},
|
|
9271
10913
|
"role": {
|
|
9272
10914
|
"type": "string"
|
|
@@ -9277,6 +10919,9 @@ var META_SCHEMAS = {
|
|
|
9277
10919
|
"scope": {
|
|
9278
10920
|
"type": "object",
|
|
9279
10921
|
"properties": {
|
|
10922
|
+
"options": {
|
|
10923
|
+
"type": "object"
|
|
10924
|
+
},
|
|
9280
10925
|
"org": {
|
|
9281
10926
|
"$ref": "#/$defs/ScopeResolverMeta"
|
|
9282
10927
|
},
|
|
@@ -9330,7 +10975,6 @@ var META_SCHEMAS = {
|
|
|
9330
10975
|
},
|
|
9331
10976
|
"systemPreset": {
|
|
9332
10977
|
"type": "object",
|
|
9333
|
-
"additionalProperties": false,
|
|
9334
10978
|
"properties": {
|
|
9335
10979
|
"enabled": {
|
|
9336
10980
|
"type": "boolean"
|
|
@@ -9340,7 +10984,8 @@ var META_SCHEMAS = {
|
|
|
9340
10984
|
"type": "string",
|
|
9341
10985
|
"enum": ["A1", "A2"]
|
|
9342
10986
|
}
|
|
9343
|
-
}
|
|
10987
|
+
},
|
|
10988
|
+
"additionalProperties": false
|
|
9344
10989
|
},
|
|
9345
10990
|
"typicalQueries": {
|
|
9346
10991
|
"type": "array",
|
|
@@ -9353,10 +10998,22 @@ var META_SCHEMAS = {
|
|
|
9353
10998
|
page: {
|
|
9354
10999
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9355
11000
|
"$defs": {
|
|
11001
|
+
"BadgeConfig": {
|
|
11002
|
+
"type": "object",
|
|
11003
|
+
"properties": {
|
|
11004
|
+
"expression": {
|
|
11005
|
+
"type": "string"
|
|
11006
|
+
},
|
|
11007
|
+
"type": {
|
|
11008
|
+
"type": "string"
|
|
11009
|
+
}
|
|
11010
|
+
}
|
|
11011
|
+
},
|
|
9356
11012
|
"DetailPanelConfig": {
|
|
9357
11013
|
"type": "object",
|
|
9358
11014
|
"properties": {
|
|
9359
11015
|
"badge": {
|
|
11016
|
+
"$ref": "#/$defs/BadgeConfig",
|
|
9360
11017
|
"type": "object",
|
|
9361
11018
|
"properties": {
|
|
9362
11019
|
"expression": {
|
|
@@ -9367,6 +11024,10 @@ var META_SCHEMAS = {
|
|
|
9367
11024
|
}
|
|
9368
11025
|
}
|
|
9369
11026
|
},
|
|
11027
|
+
"changeModel": {
|
|
11028
|
+
"type": "string",
|
|
11029
|
+
"description": "\u5458\u5DE5\u81EA\u52A9\u6863\u6848\u5B50\u96C6\u5BF9\u5E94\u7684\u6574\u5355\u4FEE\u6539\u6A21\u578B\uFF1B\u672A\u914D\u7F6E\u65F6\u5361\u7247\u4FDD\u6301\u53EA\u8BFB"
|
|
11030
|
+
},
|
|
9370
11031
|
"display": {
|
|
9371
11032
|
"type": "string"
|
|
9372
11033
|
},
|
|
@@ -9383,6 +11044,12 @@ var META_SCHEMAS = {
|
|
|
9383
11044
|
"hidden": {
|
|
9384
11045
|
"type": "boolean"
|
|
9385
11046
|
},
|
|
11047
|
+
"hideFields": {
|
|
11048
|
+
"type": "array",
|
|
11049
|
+
"items": {
|
|
11050
|
+
"type": "string"
|
|
11051
|
+
}
|
|
11052
|
+
},
|
|
9386
11053
|
"hint": {
|
|
9387
11054
|
"type": "string",
|
|
9388
11055
|
"description": "master-detail \u5B50\u96C6\u5185\u5BB9\u533A\u9876\u90E8\u7684\u9759\u6001\u63D0\u793A\u6761\u6587\u6848\uFF1B\u72B6\u6001 Provider \u7684\u52A8\u6001\u63D0\u793A\u4F18\u5148\uFF0C\u672C\u5B57\u6BB5\u515C\u5E95"
|
|
@@ -9390,6 +11057,9 @@ var META_SCHEMAS = {
|
|
|
9390
11057
|
"icon": {
|
|
9391
11058
|
"type": "string"
|
|
9392
11059
|
},
|
|
11060
|
+
"infoCreatable": {
|
|
11061
|
+
"type": "boolean"
|
|
11062
|
+
},
|
|
9393
11063
|
"infoEditable": {
|
|
9394
11064
|
"type": "boolean",
|
|
9395
11065
|
"description": "display:info \u9762\u677F\u5141\u8BB8\u5185\u8054\u7F16\u8F91\u672C\u8BB0\u5F55\u5B57\u6BB5\uFF1B\u9ED8\u8BA4 false\uFF0C\u672A\u5F00\u542F\u7EF4\u6301\u53EA\u8BFB"
|
|
@@ -9404,6 +11074,7 @@ var META_SCHEMAS = {
|
|
|
9404
11074
|
"type": "string"
|
|
9405
11075
|
},
|
|
9406
11076
|
"relation": {
|
|
11077
|
+
"$ref": "#/$defs/RelationConfig",
|
|
9407
11078
|
"type": "object",
|
|
9408
11079
|
"properties": {
|
|
9409
11080
|
"additionalKeys": {
|
|
@@ -9483,22 +11154,18 @@ var META_SCHEMAS = {
|
|
|
9483
11154
|
}
|
|
9484
11155
|
}
|
|
9485
11156
|
},
|
|
9486
|
-
"DetailStatusConfig": {
|
|
9487
|
-
"type": "object",
|
|
9488
|
-
"properties": {
|
|
9489
|
-
"anchor": {
|
|
9490
|
-
"type": "string",
|
|
9491
|
-
"description": "Provider \u8FD4\u56DE\u7684\u72B6\u6001\u951A\u70B9;\u9ED8\u8BA4\u5EFA\u8BAE\u4E0E detail key \u4E00\u81F4"
|
|
9492
|
-
},
|
|
9493
|
-
"providerKey": {
|
|
9494
|
-
"type": "string",
|
|
9495
|
-
"description": "\u5F15\u7528 layout.statusProviders \u4E2D\u58F0\u660E\u7684 provider key"
|
|
9496
|
-
}
|
|
9497
|
-
}
|
|
9498
|
-
},
|
|
9499
11157
|
"ListPanelConfig": {
|
|
9500
11158
|
"type": "object",
|
|
9501
11159
|
"properties": {
|
|
11160
|
+
"metaPlugin": {
|
|
11161
|
+
"type": "string"
|
|
11162
|
+
},
|
|
11163
|
+
"metaPluginFilterKeys": {
|
|
11164
|
+
"type": "array",
|
|
11165
|
+
"items": {
|
|
11166
|
+
"type": "string"
|
|
11167
|
+
}
|
|
11168
|
+
},
|
|
9502
11169
|
"model": {
|
|
9503
11170
|
"type": "string"
|
|
9504
11171
|
},
|
|
@@ -9507,82 +11174,70 @@ var META_SCHEMAS = {
|
|
|
9507
11174
|
}
|
|
9508
11175
|
}
|
|
9509
11176
|
},
|
|
9510
|
-
"Map(String,Object)": {
|
|
9511
|
-
"type": "object"
|
|
9512
|
-
},
|
|
9513
11177
|
"Map(String,String)": {
|
|
9514
11178
|
"type": "object"
|
|
9515
11179
|
},
|
|
9516
|
-
"
|
|
9517
|
-
"type": "object",
|
|
9518
|
-
"properties": {
|
|
9519
|
-
"enabled": {
|
|
9520
|
-
"type": "boolean"
|
|
9521
|
-
},
|
|
9522
|
-
"source": {
|
|
9523
|
-
"type": "string",
|
|
9524
|
-
"enum": ["listSnapshot", "route", "provider"]
|
|
9525
|
-
}
|
|
9526
|
-
}
|
|
9527
|
-
},
|
|
9528
|
-
"MasterSummaryProviderConfig": {
|
|
11180
|
+
"RelationConfig": {
|
|
9529
11181
|
"type": "object",
|
|
9530
11182
|
"properties": {
|
|
9531
|
-
"
|
|
9532
|
-
"type": "
|
|
9533
|
-
"
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
11183
|
+
"additionalKeys": {
|
|
11184
|
+
"type": "array",
|
|
11185
|
+
"items": {
|
|
11186
|
+
"type": "object",
|
|
11187
|
+
"properties": {
|
|
11188
|
+
"operator": {
|
|
11189
|
+
"type": "string"
|
|
11190
|
+
},
|
|
11191
|
+
"sourceField": {
|
|
11192
|
+
"type": "string"
|
|
11193
|
+
},
|
|
11194
|
+
"targetField": {
|
|
11195
|
+
"type": "string"
|
|
11196
|
+
}
|
|
11197
|
+
}
|
|
11198
|
+
}
|
|
9545
11199
|
},
|
|
9546
|
-
"
|
|
11200
|
+
"sourceField": {
|
|
9547
11201
|
"type": "string"
|
|
9548
11202
|
},
|
|
9549
|
-
"
|
|
9550
|
-
"type": "
|
|
11203
|
+
"staticFilters": {
|
|
11204
|
+
"type": "array",
|
|
11205
|
+
"items": {
|
|
11206
|
+
"type": "object",
|
|
11207
|
+
"properties": {
|
|
11208
|
+
"field": {
|
|
11209
|
+
"type": "string"
|
|
11210
|
+
},
|
|
11211
|
+
"operator": {
|
|
11212
|
+
"type": "string"
|
|
11213
|
+
},
|
|
11214
|
+
"value": {}
|
|
11215
|
+
}
|
|
11216
|
+
}
|
|
9551
11217
|
},
|
|
9552
|
-
"
|
|
9553
|
-
"type": "
|
|
9554
|
-
"description": "\u662F\u5426\u5141\u8BB8\u70B9\u51FB\u5206\u7EC4\u6807\u9898\u5C55\u5F00/\u6536\u8D77,\u9ED8\u8BA4 true"
|
|
11218
|
+
"targetField": {
|
|
11219
|
+
"type": "string"
|
|
9555
11220
|
},
|
|
9556
|
-
"
|
|
9557
|
-
"type": "
|
|
9558
|
-
"description": "\u662F\u5426\u9ED8\u8BA4\u6536\u8D77,\u5F53\u524D\u6FC0\u6D3B\u9879\u6240\u5728\u5206\u7EC4\u4F1A\u81EA\u52A8\u5C55\u5F00"
|
|
11221
|
+
"type": {
|
|
11222
|
+
"type": "string"
|
|
9559
11223
|
}
|
|
9560
11224
|
}
|
|
9561
11225
|
},
|
|
9562
|
-
"
|
|
9563
|
-
"type": "
|
|
9564
|
-
"
|
|
9565
|
-
"type": "string"
|
|
9566
|
-
},
|
|
9567
|
-
"description": 'Provider \u53C2\u6570\u7ED1\u5B9A\u8868\u8FBE\u5F0F,\u5982 employeeId: "$master.id"'
|
|
11226
|
+
"StatsMethod": {
|
|
11227
|
+
"type": "string",
|
|
11228
|
+
"enum": ["GET", "POST"]
|
|
9568
11229
|
},
|
|
9569
|
-
"
|
|
11230
|
+
"StatusConfig": {
|
|
9570
11231
|
"type": "object",
|
|
9571
11232
|
"properties": {
|
|
9572
|
-
"
|
|
9573
|
-
"
|
|
11233
|
+
"anchor": {
|
|
11234
|
+
"type": "string"
|
|
9574
11235
|
},
|
|
9575
|
-
"
|
|
11236
|
+
"providerKey": {
|
|
9576
11237
|
"type": "string"
|
|
9577
11238
|
}
|
|
9578
11239
|
}
|
|
9579
11240
|
},
|
|
9580
|
-
"StatusProviderMap": {
|
|
9581
|
-
"type": "object",
|
|
9582
|
-
"additionalProperties": {
|
|
9583
|
-
"$ref": "#/$defs/StatusProviderConfig"
|
|
9584
|
-
}
|
|
9585
|
-
},
|
|
9586
11241
|
"TreeListInteraction": {
|
|
9587
11242
|
"type": "object",
|
|
9588
11243
|
"properties": {
|
|
@@ -9598,6 +11253,9 @@ var META_SCHEMAS = {
|
|
|
9598
11253
|
"filterOperator": {
|
|
9599
11254
|
"type": "string"
|
|
9600
11255
|
},
|
|
11256
|
+
"nodeValueField": {
|
|
11257
|
+
"type": "string"
|
|
11258
|
+
},
|
|
9601
11259
|
"searchScope": {
|
|
9602
11260
|
"type": "object",
|
|
9603
11261
|
"properties": {
|
|
@@ -9611,6 +11269,9 @@ var META_SCHEMAS = {
|
|
|
9611
11269
|
},
|
|
9612
11270
|
"showAllOnRoot": {
|
|
9613
11271
|
"type": "boolean"
|
|
11272
|
+
},
|
|
11273
|
+
"showScopeSelector": {
|
|
11274
|
+
"type": "boolean"
|
|
9614
11275
|
}
|
|
9615
11276
|
}
|
|
9616
11277
|
},
|
|
@@ -9667,26 +11328,163 @@ var META_SCHEMAS = {
|
|
|
9667
11328
|
"parentField": {
|
|
9668
11329
|
"type": "string"
|
|
9669
11330
|
},
|
|
9670
|
-
"rootValue": {},
|
|
9671
|
-
"
|
|
11331
|
+
"rootValue": {},
|
|
11332
|
+
"scopeRole": {
|
|
11333
|
+
"type": "string"
|
|
11334
|
+
},
|
|
11335
|
+
"searchPlaceholder": {
|
|
11336
|
+
"type": "string"
|
|
11337
|
+
},
|
|
11338
|
+
"showDateControl": {
|
|
11339
|
+
"type": "boolean"
|
|
11340
|
+
},
|
|
11341
|
+
"showSearch": {
|
|
11342
|
+
"type": "boolean"
|
|
11343
|
+
},
|
|
11344
|
+
"state": {
|
|
11345
|
+
"type": "string"
|
|
11346
|
+
},
|
|
11347
|
+
"title": {
|
|
11348
|
+
"type": "string"
|
|
11349
|
+
},
|
|
11350
|
+
"treeAction": {
|
|
11351
|
+
"type": "string"
|
|
11352
|
+
},
|
|
11353
|
+
"width": {}
|
|
11354
|
+
}
|
|
11355
|
+
},
|
|
11356
|
+
"WorkbenchTabConfig": {
|
|
11357
|
+
"allOf": [{
|
|
11358
|
+
"$ref": "#/$defs/DetailPanelConfig"
|
|
11359
|
+
}, {
|
|
11360
|
+
"type": "object",
|
|
11361
|
+
"properties": {
|
|
11362
|
+
"requiredPermissions": {
|
|
11363
|
+
"type": "array",
|
|
11364
|
+
"minItems": 1,
|
|
11365
|
+
"maxItems": 16,
|
|
11366
|
+
"uniqueItems": true,
|
|
11367
|
+
"items": {
|
|
11368
|
+
"type": "string",
|
|
11369
|
+
"pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*)*$"
|
|
11370
|
+
}
|
|
11371
|
+
},
|
|
11372
|
+
"queryFilters": {
|
|
11373
|
+
"type": "array",
|
|
11374
|
+
"minItems": 1,
|
|
11375
|
+
"maxItems": 16,
|
|
11376
|
+
"items": {
|
|
11377
|
+
"type": "object",
|
|
11378
|
+
"additionalProperties": false,
|
|
11379
|
+
"properties": {
|
|
11380
|
+
"field": {
|
|
11381
|
+
"type": "string",
|
|
11382
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$"
|
|
11383
|
+
},
|
|
11384
|
+
"source": {
|
|
11385
|
+
"const": "query"
|
|
11386
|
+
},
|
|
11387
|
+
"path": {
|
|
11388
|
+
"type": "string",
|
|
11389
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$"
|
|
11390
|
+
},
|
|
11391
|
+
"required": {
|
|
11392
|
+
"type": "boolean"
|
|
11393
|
+
},
|
|
11394
|
+
"operator": {
|
|
11395
|
+
"const": "EQUAL"
|
|
11396
|
+
}
|
|
11397
|
+
},
|
|
11398
|
+
"required": ["field", "source", "path"]
|
|
11399
|
+
}
|
|
11400
|
+
}
|
|
11401
|
+
}
|
|
11402
|
+
}]
|
|
11403
|
+
},
|
|
11404
|
+
"DetailStatusConfig": {
|
|
11405
|
+
"type": "object",
|
|
11406
|
+
"properties": {
|
|
11407
|
+
"anchor": {
|
|
11408
|
+
"type": "string",
|
|
11409
|
+
"description": "Provider \u8FD4\u56DE\u7684\u72B6\u6001\u951A\u70B9;\u9ED8\u8BA4\u5EFA\u8BAE\u4E0E detail key \u4E00\u81F4"
|
|
11410
|
+
},
|
|
11411
|
+
"providerKey": {
|
|
11412
|
+
"type": "string",
|
|
11413
|
+
"description": "\u5F15\u7528 layout.statusProviders \u4E2D\u58F0\u660E\u7684 provider key"
|
|
11414
|
+
}
|
|
11415
|
+
}
|
|
11416
|
+
},
|
|
11417
|
+
"Map(String,Object)": {
|
|
11418
|
+
"type": "object"
|
|
11419
|
+
},
|
|
11420
|
+
"MasterNavigationConfig": {
|
|
11421
|
+
"type": "object",
|
|
11422
|
+
"properties": {
|
|
11423
|
+
"enabled": {
|
|
11424
|
+
"type": "boolean"
|
|
11425
|
+
},
|
|
11426
|
+
"source": {
|
|
11427
|
+
"type": "string",
|
|
11428
|
+
"enum": ["listSnapshot", "route", "provider"]
|
|
11429
|
+
}
|
|
11430
|
+
}
|
|
11431
|
+
},
|
|
11432
|
+
"MasterSummaryProviderConfig": {
|
|
11433
|
+
"type": "object",
|
|
11434
|
+
"properties": {
|
|
11435
|
+
"kind": {
|
|
11436
|
+
"type": "string",
|
|
11437
|
+
"enum": ["percent", "count", "badge", "text"]
|
|
11438
|
+
},
|
|
11439
|
+
"providerKey": {
|
|
11440
|
+
"type": "string"
|
|
11441
|
+
}
|
|
11442
|
+
}
|
|
11443
|
+
},
|
|
11444
|
+
"MenuGroupConfig": {
|
|
11445
|
+
"type": "object",
|
|
11446
|
+
"properties": {
|
|
11447
|
+
"key": {
|
|
11448
|
+
"type": "string"
|
|
11449
|
+
},
|
|
11450
|
+
"label": {
|
|
9672
11451
|
"type": "string"
|
|
9673
11452
|
},
|
|
9674
|
-
"
|
|
9675
|
-
"type": "
|
|
9676
|
-
},
|
|
9677
|
-
"showSearch": {
|
|
9678
|
-
"type": "boolean"
|
|
11453
|
+
"order": {
|
|
11454
|
+
"type": "integer"
|
|
9679
11455
|
},
|
|
9680
|
-
"
|
|
9681
|
-
"type": "
|
|
11456
|
+
"collapsible": {
|
|
11457
|
+
"type": "boolean",
|
|
11458
|
+
"description": "\u662F\u5426\u5141\u8BB8\u70B9\u51FB\u5206\u7EC4\u6807\u9898\u5C55\u5F00/\u6536\u8D77,\u9ED8\u8BA4 true"
|
|
9682
11459
|
},
|
|
9683
|
-
"
|
|
9684
|
-
"type": "
|
|
11460
|
+
"defaultCollapsed": {
|
|
11461
|
+
"type": "boolean",
|
|
11462
|
+
"description": "\u662F\u5426\u9ED8\u8BA4\u6536\u8D77,\u5F53\u524D\u6FC0\u6D3B\u9879\u6240\u5728\u5206\u7EC4\u4F1A\u81EA\u52A8\u5C55\u5F00"
|
|
11463
|
+
}
|
|
11464
|
+
}
|
|
11465
|
+
},
|
|
11466
|
+
"StatusProviderBindConfig": {
|
|
11467
|
+
"type": "object",
|
|
11468
|
+
"additionalProperties": {
|
|
11469
|
+
"type": "string"
|
|
11470
|
+
},
|
|
11471
|
+
"description": 'Provider \u53C2\u6570\u7ED1\u5B9A\u8868\u8FBE\u5F0F,\u5982 employeeId: "$master.id"'
|
|
11472
|
+
},
|
|
11473
|
+
"StatusProviderConfig": {
|
|
11474
|
+
"type": "object",
|
|
11475
|
+
"properties": {
|
|
11476
|
+
"bind": {
|
|
11477
|
+
"$ref": "#/$defs/StatusProviderBindConfig"
|
|
9685
11478
|
},
|
|
9686
|
-
"
|
|
11479
|
+
"provider": {
|
|
9687
11480
|
"type": "string"
|
|
9688
|
-
}
|
|
9689
|
-
|
|
11481
|
+
}
|
|
11482
|
+
}
|
|
11483
|
+
},
|
|
11484
|
+
"StatusProviderMap": {
|
|
11485
|
+
"type": "object",
|
|
11486
|
+
"additionalProperties": {
|
|
11487
|
+
"$ref": "#/$defs/StatusProviderConfig"
|
|
9690
11488
|
}
|
|
9691
11489
|
}
|
|
9692
11490
|
},
|
|
@@ -9741,7 +11539,16 @@ var META_SCHEMAS = {
|
|
|
9741
11539
|
"details": {
|
|
9742
11540
|
"type": "array",
|
|
9743
11541
|
"items": {
|
|
9744
|
-
"
|
|
11542
|
+
"allOf": [{
|
|
11543
|
+
"$ref": "#/$defs/DetailPanelConfig"
|
|
11544
|
+
}],
|
|
11545
|
+
"not": {
|
|
11546
|
+
"anyOf": [{
|
|
11547
|
+
"required": ["requiredPermissions"]
|
|
11548
|
+
}, {
|
|
11549
|
+
"required": ["queryFilters"]
|
|
11550
|
+
}]
|
|
11551
|
+
}
|
|
9745
11552
|
}
|
|
9746
11553
|
},
|
|
9747
11554
|
"displayMode": {
|
|
@@ -9785,6 +11592,17 @@ var META_SCHEMAS = {
|
|
|
9785
11592
|
"defaultActive": {
|
|
9786
11593
|
"type": "string"
|
|
9787
11594
|
},
|
|
11595
|
+
"allLabel": {
|
|
11596
|
+
"description": "\u52A8\u6001\u5206\u7C7B\u5217\u8868\u4E2D\u2018\u5168\u90E8\u2019\u9879\u7684\u6807\u7B7E\uFF0C\u652F\u6301\u5B57\u7B26\u4E32\u6216\u591A\u8BED\u8A00\u6620\u5C04",
|
|
11597
|
+
"oneOf": [{
|
|
11598
|
+
"type": "string"
|
|
11599
|
+
}, {
|
|
11600
|
+
"type": "object",
|
|
11601
|
+
"additionalProperties": {
|
|
11602
|
+
"type": "string"
|
|
11603
|
+
}
|
|
11604
|
+
}]
|
|
11605
|
+
},
|
|
9788
11606
|
"groups": {
|
|
9789
11607
|
"type": "array",
|
|
9790
11608
|
"items": {
|
|
@@ -9794,6 +11612,10 @@ var META_SCHEMAS = {
|
|
|
9794
11612
|
"position": {
|
|
9795
11613
|
"type": "string"
|
|
9796
11614
|
},
|
|
11615
|
+
"showAll": {
|
|
11616
|
+
"type": "boolean",
|
|
11617
|
+
"description": "style=list \u65F6\u662F\u5426\u5728\u52A8\u6001\u5206\u7C7B\u9876\u90E8\u5C55\u793A\u2018\u5168\u90E8\u2019\u9879"
|
|
11618
|
+
},
|
|
9797
11619
|
"style": {
|
|
9798
11620
|
"type": "string",
|
|
9799
11621
|
"description": "\u83DC\u5355\u5C55\u793A\u98CE\u683C\uFF1Amenu=\u9759\u6001\u83DC\u5355\uFF0Ctabs=\u6807\u7B7E\u9875\uFF0Clist=\u52A8\u6001\u5206\u7C7B\u5217\u8868\uFF0Csteps=\u5411\u5BFC\u6B65\u9AA4\u6761\uFF08\u4E00\u4E2A menu.groups \u9879\u4E00\u4E2A\u9636\u6BB5\uFF0C\u9636\u6BB5\u5185\u591A\u5B50\u96C6\u964D\u4E3A\u4E8C\u7EA7\u9875\u7B7E\uFF0C\u6545 details \u6570\u53EF\u591A\u4E8E groups \u6570\uFF09\u3002enum \u662F\u624B\u5DE5\u6536\u7A84\uFF08generator \u53EA\u4EA7\u51FA type:string\uFF09\uFF0C\u52FF\u76F2\u8DD1 generateMetaSchema \u8986\u76D6\u3002",
|
|
@@ -9819,7 +11641,18 @@ var META_SCHEMAS = {
|
|
|
9819
11641
|
"tabs": {
|
|
9820
11642
|
"type": "array",
|
|
9821
11643
|
"items": {
|
|
9822
|
-
"
|
|
11644
|
+
"allOf": [{
|
|
11645
|
+
"$ref": "#/$defs/DetailPanelConfig"
|
|
11646
|
+
}],
|
|
11647
|
+
"not": {
|
|
11648
|
+
"anyOf": [{
|
|
11649
|
+
"required": ["requiredPermissions"]
|
|
11650
|
+
}, {
|
|
11651
|
+
"required": ["queryFilters"]
|
|
11652
|
+
}, {
|
|
11653
|
+
"required": ["relation"]
|
|
11654
|
+
}]
|
|
11655
|
+
}
|
|
9823
11656
|
}
|
|
9824
11657
|
},
|
|
9825
11658
|
"type": {
|
|
@@ -9850,12 +11683,78 @@ var META_SCHEMAS = {
|
|
|
9850
11683
|
}
|
|
9851
11684
|
}
|
|
9852
11685
|
},
|
|
11686
|
+
"contextParams": {
|
|
11687
|
+
"type": "array",
|
|
11688
|
+
"description": "\u4F5C\u7528\u57DF\u9009\u62E9\u5668\uFF1A\u628A\u5468\u671F/\u7EC4\u7EC7\u8FD9\u7C7B\u53C2\u6570\u5199\u8FDB route query\uFF0C\u4F9B stats.params / tabs[].queryFilters \u7684 source:query \u7ED1\u5B9A\u8BFB\u53D6\u3002\u58F0\u660E\u4E86\u5FC5\u586B query \u7ED1\u5B9A\u5C31\u5FC5\u987B\u914D\u5B83\uFF0C\u5426\u5219\u4ECE\u83DC\u5355\u8FDB\u5165\u65F6\u53C2\u6570\u6052\u7F3A\u3002\u7EA6\u675F\u4E3A\u624B\u5DE5\u6536\u7D27\uFF0C\u52FF\u76F2\u8DD1 generateMetaSchema \u8986\u76D6\u3002",
|
|
11689
|
+
"minItems": 1,
|
|
11690
|
+
"maxItems": 8,
|
|
11691
|
+
"items": {
|
|
11692
|
+
"type": "object",
|
|
11693
|
+
"additionalProperties": false,
|
|
11694
|
+
"properties": {
|
|
11695
|
+
"key": {
|
|
11696
|
+
"type": "string",
|
|
11697
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$",
|
|
11698
|
+
"not": {
|
|
11699
|
+
"enum": ["tab", "state", "effectiveDate", "plugin"]
|
|
11700
|
+
}
|
|
11701
|
+
},
|
|
11702
|
+
"label": {
|
|
11703
|
+
"type": "string",
|
|
11704
|
+
"minLength": 1
|
|
11705
|
+
},
|
|
11706
|
+
"model": {
|
|
11707
|
+
"type": "string",
|
|
11708
|
+
"minLength": 1
|
|
11709
|
+
},
|
|
11710
|
+
"required": {
|
|
11711
|
+
"type": "boolean"
|
|
11712
|
+
},
|
|
11713
|
+
"valueField": {
|
|
11714
|
+
"type": "string"
|
|
11715
|
+
},
|
|
11716
|
+
"labelField": {
|
|
11717
|
+
"type": "string"
|
|
11718
|
+
},
|
|
11719
|
+
"filter": {
|
|
11720
|
+
"type": "string"
|
|
11721
|
+
},
|
|
11722
|
+
"order": {
|
|
11723
|
+
"type": "string",
|
|
11724
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*(:(asc|desc|ASC|DESC))?(,[A-Za-z][A-Za-z0-9]*(:(asc|desc|ASC|DESC))?)*$"
|
|
11725
|
+
},
|
|
11726
|
+
"autoSelectFirst": {
|
|
11727
|
+
"type": "boolean"
|
|
11728
|
+
}
|
|
11729
|
+
},
|
|
11730
|
+
"required": ["key", "label", "model"]
|
|
11731
|
+
}
|
|
11732
|
+
},
|
|
9853
11733
|
"hero": {
|
|
9854
11734
|
"$ref": "#/$defs/Map(String,Object)"
|
|
9855
11735
|
},
|
|
9856
11736
|
"stageFlow": {
|
|
9857
11737
|
"type": "object",
|
|
9858
11738
|
"properties": {
|
|
11739
|
+
"source": {
|
|
11740
|
+
"type": "object",
|
|
11741
|
+
"additionalProperties": false,
|
|
11742
|
+
"properties": {
|
|
11743
|
+
"model": {
|
|
11744
|
+
"type": "string",
|
|
11745
|
+
"minLength": 1
|
|
11746
|
+
},
|
|
11747
|
+
"action": {
|
|
11748
|
+
"type": "string",
|
|
11749
|
+
"minLength": 1
|
|
11750
|
+
},
|
|
11751
|
+
"method": {
|
|
11752
|
+
"type": "string",
|
|
11753
|
+
"enum": ["GET", "POST"]
|
|
11754
|
+
}
|
|
11755
|
+
},
|
|
11756
|
+
"required": ["model", "action"]
|
|
11757
|
+
},
|
|
9859
11758
|
"steps": {
|
|
9860
11759
|
"type": "array",
|
|
9861
11760
|
"items": {
|
|
@@ -9886,8 +11785,88 @@ var META_SCHEMAS = {
|
|
|
9886
11785
|
},
|
|
9887
11786
|
"cards": {
|
|
9888
11787
|
"type": "array",
|
|
11788
|
+
"minItems": 1,
|
|
9889
11789
|
"items": {
|
|
9890
|
-
"type": "object"
|
|
11790
|
+
"type": "object",
|
|
11791
|
+
"additionalProperties": false,
|
|
11792
|
+
"properties": {
|
|
11793
|
+
"key": {
|
|
11794
|
+
"type": "string",
|
|
11795
|
+
"minLength": 1
|
|
11796
|
+
},
|
|
11797
|
+
"label": {
|
|
11798
|
+
"type": "string",
|
|
11799
|
+
"minLength": 1
|
|
11800
|
+
},
|
|
11801
|
+
"description": {
|
|
11802
|
+
"type": "string"
|
|
11803
|
+
},
|
|
11804
|
+
"tone": {
|
|
11805
|
+
"type": "string"
|
|
11806
|
+
},
|
|
11807
|
+
"tab": {
|
|
11808
|
+
"type": "string",
|
|
11809
|
+
"minLength": 1
|
|
11810
|
+
},
|
|
11811
|
+
"filters": {
|
|
11812
|
+
"type": "array",
|
|
11813
|
+
"minItems": 1,
|
|
11814
|
+
"maxItems": 8,
|
|
11815
|
+
"items": {
|
|
11816
|
+
"type": "object",
|
|
11817
|
+
"additionalProperties": false,
|
|
11818
|
+
"properties": {
|
|
11819
|
+
"field": {
|
|
11820
|
+
"type": "string",
|
|
11821
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$"
|
|
11822
|
+
},
|
|
11823
|
+
"operator": {
|
|
11824
|
+
"type": "string",
|
|
11825
|
+
"enum": ["EQUAL", "IN"]
|
|
11826
|
+
},
|
|
11827
|
+
"value": {
|
|
11828
|
+
"oneOf": [{
|
|
11829
|
+
"type": ["string", "number", "boolean"]
|
|
11830
|
+
}, {
|
|
11831
|
+
"type": "array",
|
|
11832
|
+
"minItems": 1,
|
|
11833
|
+
"maxItems": 32,
|
|
11834
|
+
"items": {
|
|
11835
|
+
"type": ["string", "number", "boolean"]
|
|
11836
|
+
}
|
|
11837
|
+
}]
|
|
11838
|
+
}
|
|
11839
|
+
},
|
|
11840
|
+
"required": ["field", "operator", "value"]
|
|
11841
|
+
}
|
|
11842
|
+
}
|
|
11843
|
+
},
|
|
11844
|
+
"required": ["key", "label"]
|
|
11845
|
+
}
|
|
11846
|
+
},
|
|
11847
|
+
"params": {
|
|
11848
|
+
"type": "array",
|
|
11849
|
+
"maxItems": 16,
|
|
11850
|
+
"items": {
|
|
11851
|
+
"type": "object",
|
|
11852
|
+
"additionalProperties": false,
|
|
11853
|
+
"properties": {
|
|
11854
|
+
"name": {
|
|
11855
|
+
"type": "string",
|
|
11856
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$"
|
|
11857
|
+
},
|
|
11858
|
+
"source": {
|
|
11859
|
+
"const": "query"
|
|
11860
|
+
},
|
|
11861
|
+
"path": {
|
|
11862
|
+
"type": "string",
|
|
11863
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$"
|
|
11864
|
+
},
|
|
11865
|
+
"required": {
|
|
11866
|
+
"type": "boolean"
|
|
11867
|
+
}
|
|
11868
|
+
},
|
|
11869
|
+
"required": ["name", "source", "path"]
|
|
9891
11870
|
}
|
|
9892
11871
|
},
|
|
9893
11872
|
"method": {
|
|
@@ -9903,7 +11882,7 @@ var META_SCHEMAS = {
|
|
|
9903
11882
|
"tabs": {
|
|
9904
11883
|
"type": "array",
|
|
9905
11884
|
"items": {
|
|
9906
|
-
"$ref": "#/$defs/
|
|
11885
|
+
"$ref": "#/$defs/WorkbenchTabConfig"
|
|
9907
11886
|
}
|
|
9908
11887
|
},
|
|
9909
11888
|
"tabsPosition": {
|
|
@@ -9938,7 +11917,16 @@ var META_SCHEMAS = {
|
|
|
9938
11917
|
"tabs": {
|
|
9939
11918
|
"type": "array",
|
|
9940
11919
|
"items": {
|
|
9941
|
-
"
|
|
11920
|
+
"allOf": [{
|
|
11921
|
+
"$ref": "#/$defs/DetailPanelConfig"
|
|
11922
|
+
}],
|
|
11923
|
+
"not": {
|
|
11924
|
+
"anyOf": [{
|
|
11925
|
+
"required": ["requiredPermissions"]
|
|
11926
|
+
}, {
|
|
11927
|
+
"required": ["queryFilters"]
|
|
11928
|
+
}]
|
|
11929
|
+
}
|
|
9942
11930
|
}
|
|
9943
11931
|
},
|
|
9944
11932
|
"tree": {
|
|
@@ -9988,26 +11976,82 @@ var META_SCHEMAS = {
|
|
|
9988
11976
|
"title": "HCM WizMeta v1",
|
|
9989
11977
|
"type": "object",
|
|
9990
11978
|
"additionalProperties": false,
|
|
9991
|
-
"required": [
|
|
11979
|
+
"required": [
|
|
11980
|
+
"capabilityVersion",
|
|
11981
|
+
"name",
|
|
11982
|
+
"persistence",
|
|
11983
|
+
"steps"
|
|
11984
|
+
],
|
|
9992
11985
|
"properties": {
|
|
9993
|
-
"key": {
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
"
|
|
9998
|
-
|
|
9999
|
-
|
|
11986
|
+
"key": {
|
|
11987
|
+
"type": "string",
|
|
11988
|
+
"minLength": 1
|
|
11989
|
+
},
|
|
11990
|
+
"name": {
|
|
11991
|
+
"type": "string",
|
|
11992
|
+
"minLength": 1
|
|
11993
|
+
},
|
|
11994
|
+
"description": {
|
|
11995
|
+
"type": "string"
|
|
11996
|
+
},
|
|
11997
|
+
"capabilityVersion": {
|
|
11998
|
+
"enum": [
|
|
11999
|
+
"1.22.0",
|
|
12000
|
+
"1.23.0",
|
|
12001
|
+
"1.25.0",
|
|
12002
|
+
"1.26.0",
|
|
12003
|
+
"1.27.0",
|
|
12004
|
+
"1.28.0",
|
|
12005
|
+
"1.29.0"
|
|
12006
|
+
]
|
|
12007
|
+
},
|
|
12008
|
+
"persistence": {
|
|
12009
|
+
"$ref": "#/$defs/persistence"
|
|
12010
|
+
},
|
|
12011
|
+
"display": {
|
|
12012
|
+
"$ref": "#/$defs/display"
|
|
12013
|
+
},
|
|
12014
|
+
"contextDefaults": {
|
|
12015
|
+
"type": "object"
|
|
12016
|
+
},
|
|
12017
|
+
"initialLoad": {
|
|
12018
|
+
"$ref": "#/$defs/initialLoad"
|
|
12019
|
+
},
|
|
10000
12020
|
"steps": {
|
|
10001
12021
|
"type": "array",
|
|
10002
12022
|
"minItems": 2,
|
|
10003
|
-
"items": {
|
|
12023
|
+
"items": {
|
|
12024
|
+
"$ref": "#/$defs/step"
|
|
12025
|
+
}
|
|
10004
12026
|
},
|
|
10005
12027
|
"resetOnChange": {
|
|
10006
12028
|
"type": "array",
|
|
10007
|
-
"items": {
|
|
12029
|
+
"items": {
|
|
12030
|
+
"$ref": "#/$defs/resetRule"
|
|
12031
|
+
}
|
|
10008
12032
|
}
|
|
10009
12033
|
},
|
|
10010
12034
|
"$defs": {
|
|
12035
|
+
"initialLoad": {
|
|
12036
|
+
"type": "object",
|
|
12037
|
+
"additionalProperties": false,
|
|
12038
|
+
"required": [
|
|
12039
|
+
"action",
|
|
12040
|
+
"resultBindings"
|
|
12041
|
+
],
|
|
12042
|
+
"properties": {
|
|
12043
|
+
"action": {
|
|
12044
|
+
"$ref": "#/$defs/action"
|
|
12045
|
+
},
|
|
12046
|
+
"resultBindings": {
|
|
12047
|
+
"type": "array",
|
|
12048
|
+
"minItems": 1,
|
|
12049
|
+
"items": {
|
|
12050
|
+
"$ref": "#/$defs/resultBinding"
|
|
12051
|
+
}
|
|
12052
|
+
}
|
|
12053
|
+
}
|
|
12054
|
+
},
|
|
10011
12055
|
"safePath": {
|
|
10012
12056
|
"type": "string",
|
|
10013
12057
|
"minLength": 1,
|
|
@@ -10016,182 +12060,530 @@ var META_SCHEMAS = {
|
|
|
10016
12060
|
"persistence": {
|
|
10017
12061
|
"type": "object",
|
|
10018
12062
|
"additionalProperties": false,
|
|
10019
|
-
"required": [
|
|
12063
|
+
"required": [
|
|
12064
|
+
"mode"
|
|
12065
|
+
],
|
|
10020
12066
|
"properties": {
|
|
10021
|
-
"mode": {
|
|
12067
|
+
"mode": {
|
|
12068
|
+
"enum": [
|
|
12069
|
+
"final",
|
|
12070
|
+
"per-step"
|
|
12071
|
+
]
|
|
12072
|
+
}
|
|
10022
12073
|
}
|
|
10023
12074
|
},
|
|
10024
12075
|
"display": {
|
|
10025
12076
|
"type": "object",
|
|
10026
12077
|
"additionalProperties": false,
|
|
10027
12078
|
"properties": {
|
|
10028
|
-
"dialogWidth": {
|
|
10029
|
-
|
|
10030
|
-
|
|
12079
|
+
"dialogWidth": {
|
|
12080
|
+
"type": "string",
|
|
12081
|
+
"minLength": 1
|
|
12082
|
+
},
|
|
12083
|
+
"pageMaxWidth": {
|
|
12084
|
+
"type": "string",
|
|
12085
|
+
"minLength": 1
|
|
12086
|
+
},
|
|
12087
|
+
"closeOnBackdrop": {
|
|
12088
|
+
"type": "boolean"
|
|
12089
|
+
},
|
|
12090
|
+
"stepper": {
|
|
12091
|
+
"type": "object",
|
|
12092
|
+
"additionalProperties": false,
|
|
12093
|
+
"required": [
|
|
12094
|
+
"style"
|
|
12095
|
+
],
|
|
12096
|
+
"properties": {
|
|
12097
|
+
"style": {
|
|
12098
|
+
"enum": [
|
|
12099
|
+
"simple",
|
|
12100
|
+
"numbered",
|
|
12101
|
+
"compact"
|
|
12102
|
+
]
|
|
12103
|
+
}
|
|
12104
|
+
}
|
|
12105
|
+
},
|
|
12106
|
+
"showStepHeader": {
|
|
12107
|
+
"type": "boolean",
|
|
12108
|
+
"description": "Wiz 1.28: omitted means true; false hides the visible step heading while preserving accessible focus."
|
|
12109
|
+
}
|
|
10031
12110
|
}
|
|
10032
12111
|
},
|
|
10033
12112
|
"step": {
|
|
10034
12113
|
"type": "object",
|
|
10035
12114
|
"additionalProperties": false,
|
|
10036
|
-
"required": [
|
|
12115
|
+
"required": [
|
|
12116
|
+
"key",
|
|
12117
|
+
"name",
|
|
12118
|
+
"sequence"
|
|
12119
|
+
],
|
|
10037
12120
|
"properties": {
|
|
10038
|
-
"key": {
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
|
|
12121
|
+
"key": {
|
|
12122
|
+
"type": "string",
|
|
12123
|
+
"minLength": 1
|
|
12124
|
+
},
|
|
12125
|
+
"name": {
|
|
12126
|
+
"type": "string",
|
|
12127
|
+
"minLength": 1
|
|
12128
|
+
},
|
|
12129
|
+
"description": {
|
|
12130
|
+
"type": "string"
|
|
12131
|
+
},
|
|
12132
|
+
"sequence": {
|
|
12133
|
+
"type": "integer"
|
|
12134
|
+
},
|
|
10042
12135
|
"infos": {
|
|
10043
12136
|
"type": "array",
|
|
10044
|
-
"items": {
|
|
12137
|
+
"items": {
|
|
12138
|
+
"$ref": "#/$defs/infoRef"
|
|
12139
|
+
}
|
|
10045
12140
|
},
|
|
10046
12141
|
"confirmations": {
|
|
10047
12142
|
"type": "array",
|
|
10048
|
-
"items": {
|
|
12143
|
+
"items": {
|
|
12144
|
+
"$ref": "#/$defs/confirmation"
|
|
12145
|
+
}
|
|
10049
12146
|
},
|
|
10050
12147
|
"previous": {
|
|
10051
12148
|
"oneOf": [
|
|
10052
|
-
{
|
|
10053
|
-
|
|
12149
|
+
{
|
|
12150
|
+
"const": false
|
|
12151
|
+
},
|
|
12152
|
+
{
|
|
12153
|
+
"$ref": "#/$defs/previous"
|
|
12154
|
+
}
|
|
10054
12155
|
]
|
|
10055
12156
|
},
|
|
10056
|
-
"next": {
|
|
10057
|
-
|
|
10058
|
-
|
|
12157
|
+
"next": {
|
|
12158
|
+
"$ref": "#/$defs/transition"
|
|
12159
|
+
},
|
|
12160
|
+
"terminal": {
|
|
12161
|
+
"type": "boolean"
|
|
12162
|
+
},
|
|
12163
|
+
"finish": {
|
|
12164
|
+
"$ref": "#/$defs/finish"
|
|
12165
|
+
}
|
|
12166
|
+
},
|
|
12167
|
+
"allOf": [
|
|
12168
|
+
{
|
|
12169
|
+
"if": {
|
|
12170
|
+
"required": [
|
|
12171
|
+
"finish"
|
|
12172
|
+
]
|
|
12173
|
+
},
|
|
12174
|
+
"then": {
|
|
12175
|
+
"required": [
|
|
12176
|
+
"terminal"
|
|
12177
|
+
],
|
|
12178
|
+
"properties": {
|
|
12179
|
+
"terminal": {
|
|
12180
|
+
"const": true
|
|
12181
|
+
}
|
|
12182
|
+
}
|
|
12183
|
+
}
|
|
12184
|
+
}
|
|
12185
|
+
]
|
|
10059
12186
|
},
|
|
10060
12187
|
"infoRef": {
|
|
10061
12188
|
"type": "object",
|
|
10062
12189
|
"additionalProperties": false,
|
|
10063
|
-
"required": [
|
|
12190
|
+
"required": [
|
|
12191
|
+
"key",
|
|
12192
|
+
"model",
|
|
12193
|
+
"bind",
|
|
12194
|
+
"mode"
|
|
12195
|
+
],
|
|
10064
12196
|
"properties": {
|
|
10065
|
-
"key": {
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
10069
|
-
"
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
"
|
|
10074
|
-
|
|
12197
|
+
"key": {
|
|
12198
|
+
"type": "string",
|
|
12199
|
+
"minLength": 1
|
|
12200
|
+
},
|
|
12201
|
+
"model": {
|
|
12202
|
+
"type": "string",
|
|
12203
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12204
|
+
},
|
|
12205
|
+
"state": {
|
|
12206
|
+
"type": "string",
|
|
12207
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12208
|
+
},
|
|
12209
|
+
"bind": {
|
|
12210
|
+
"$ref": "#/$defs/safePath"
|
|
12211
|
+
},
|
|
12212
|
+
"mode": {
|
|
12213
|
+
"enum": [
|
|
12214
|
+
"create",
|
|
12215
|
+
"edit",
|
|
12216
|
+
"view"
|
|
12217
|
+
]
|
|
12218
|
+
},
|
|
12219
|
+
"collection": {
|
|
12220
|
+
"type": "boolean"
|
|
12221
|
+
},
|
|
12222
|
+
"minItems": {
|
|
12223
|
+
"type": "integer",
|
|
12224
|
+
"minimum": 0
|
|
12225
|
+
},
|
|
12226
|
+
"maxItems": {
|
|
12227
|
+
"type": "integer",
|
|
12228
|
+
"minimum": 0
|
|
12229
|
+
},
|
|
12230
|
+
"addLabel": {
|
|
12231
|
+
"type": "string"
|
|
12232
|
+
},
|
|
12233
|
+
"removable": {
|
|
12234
|
+
"type": "boolean"
|
|
12235
|
+
},
|
|
12236
|
+
"display": {
|
|
12237
|
+
"enum": [
|
|
12238
|
+
"form",
|
|
12239
|
+
"table"
|
|
12240
|
+
]
|
|
12241
|
+
},
|
|
12242
|
+
"contextBindings": {
|
|
12243
|
+
"type": "object",
|
|
12244
|
+
"minProperties": 1,
|
|
12245
|
+
"propertyNames": {
|
|
12246
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12247
|
+
},
|
|
12248
|
+
"additionalProperties": {
|
|
12249
|
+
"$ref": "#/$defs/safePath"
|
|
12250
|
+
}
|
|
12251
|
+
}
|
|
10075
12252
|
}
|
|
10076
12253
|
},
|
|
10077
12254
|
"confirmation": {
|
|
10078
12255
|
"type": "object",
|
|
10079
12256
|
"additionalProperties": false,
|
|
10080
|
-
"required": [
|
|
12257
|
+
"required": [
|
|
12258
|
+
"key",
|
|
12259
|
+
"label",
|
|
12260
|
+
"bind"
|
|
12261
|
+
],
|
|
10081
12262
|
"properties": {
|
|
10082
|
-
"key": {
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
12263
|
+
"key": {
|
|
12264
|
+
"type": "string",
|
|
12265
|
+
"minLength": 1
|
|
12266
|
+
},
|
|
12267
|
+
"label": {
|
|
12268
|
+
"type": "string",
|
|
12269
|
+
"minLength": 1
|
|
12270
|
+
},
|
|
12271
|
+
"required": {
|
|
12272
|
+
"type": "boolean"
|
|
12273
|
+
},
|
|
12274
|
+
"bind": {
|
|
12275
|
+
"$ref": "#/$defs/safePath"
|
|
12276
|
+
}
|
|
10086
12277
|
}
|
|
10087
12278
|
},
|
|
10088
12279
|
"previous": {
|
|
10089
12280
|
"type": "object",
|
|
10090
12281
|
"additionalProperties": false,
|
|
10091
|
-
"required": [
|
|
12282
|
+
"required": [
|
|
12283
|
+
"target"
|
|
12284
|
+
],
|
|
10092
12285
|
"properties": {
|
|
10093
|
-
"label": {
|
|
10094
|
-
|
|
12286
|
+
"label": {
|
|
12287
|
+
"type": "string"
|
|
12288
|
+
},
|
|
12289
|
+
"target": {
|
|
12290
|
+
"type": "string",
|
|
12291
|
+
"minLength": 1
|
|
12292
|
+
},
|
|
10095
12293
|
"clear": {
|
|
10096
12294
|
"type": "array",
|
|
10097
|
-
"items": {
|
|
12295
|
+
"items": {
|
|
12296
|
+
"$ref": "#/$defs/safePath"
|
|
12297
|
+
}
|
|
10098
12298
|
}
|
|
10099
12299
|
}
|
|
10100
12300
|
},
|
|
10101
12301
|
"transition": {
|
|
10102
12302
|
"type": "object",
|
|
10103
12303
|
"additionalProperties": false,
|
|
10104
|
-
"required": [
|
|
12304
|
+
"required": [
|
|
12305
|
+
"label",
|
|
12306
|
+
"target",
|
|
12307
|
+
"persistence"
|
|
12308
|
+
],
|
|
10105
12309
|
"properties": {
|
|
10106
|
-
"label": {
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
|
|
10110
|
-
"
|
|
12310
|
+
"label": {
|
|
12311
|
+
"type": "string",
|
|
12312
|
+
"minLength": 1
|
|
12313
|
+
},
|
|
12314
|
+
"target": {
|
|
12315
|
+
"type": "string",
|
|
12316
|
+
"minLength": 1
|
|
12317
|
+
},
|
|
12318
|
+
"validate": {
|
|
12319
|
+
"type": "boolean"
|
|
12320
|
+
},
|
|
12321
|
+
"persistence": {
|
|
12322
|
+
"enum": [
|
|
12323
|
+
"none",
|
|
12324
|
+
"commit"
|
|
12325
|
+
]
|
|
12326
|
+
},
|
|
12327
|
+
"action": {
|
|
12328
|
+
"$ref": "#/$defs/action"
|
|
12329
|
+
},
|
|
10111
12330
|
"resultBindings": {
|
|
10112
12331
|
"type": "array",
|
|
10113
|
-
"items": {
|
|
12332
|
+
"items": {
|
|
12333
|
+
"$ref": "#/$defs/resultBinding"
|
|
12334
|
+
}
|
|
10114
12335
|
},
|
|
10115
|
-
"idempotency": {
|
|
12336
|
+
"idempotency": {
|
|
12337
|
+
"$ref": "#/$defs/idempotency"
|
|
12338
|
+
}
|
|
10116
12339
|
}
|
|
10117
12340
|
},
|
|
10118
12341
|
"action": {
|
|
10119
12342
|
"type": "object",
|
|
10120
12343
|
"additionalProperties": false,
|
|
10121
|
-
"required": [
|
|
12344
|
+
"required": [
|
|
12345
|
+
"key",
|
|
12346
|
+
"label",
|
|
12347
|
+
"type"
|
|
12348
|
+
],
|
|
10122
12349
|
"properties": {
|
|
10123
|
-
"key": {
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
"
|
|
10128
|
-
|
|
10129
|
-
|
|
10130
|
-
|
|
10131
|
-
"
|
|
12350
|
+
"key": {
|
|
12351
|
+
"type": "string",
|
|
12352
|
+
"minLength": 1
|
|
12353
|
+
},
|
|
12354
|
+
"label": {
|
|
12355
|
+
"type": "string",
|
|
12356
|
+
"minLength": 1
|
|
12357
|
+
},
|
|
12358
|
+
"type": {
|
|
12359
|
+
"enum": [
|
|
12360
|
+
"api",
|
|
12361
|
+
"service",
|
|
12362
|
+
"composite"
|
|
12363
|
+
]
|
|
12364
|
+
},
|
|
12365
|
+
"needConfirm": {
|
|
12366
|
+
"type": "boolean"
|
|
12367
|
+
},
|
|
12368
|
+
"confirmTitle": {
|
|
12369
|
+
"type": "string"
|
|
12370
|
+
},
|
|
12371
|
+
"confirmText": {
|
|
12372
|
+
"type": "string"
|
|
12373
|
+
},
|
|
12374
|
+
"api": {
|
|
12375
|
+
"$ref": "#/$defs/api"
|
|
12376
|
+
},
|
|
12377
|
+
"service": {
|
|
12378
|
+
"$ref": "#/$defs/service"
|
|
12379
|
+
},
|
|
12380
|
+
"execution": {
|
|
12381
|
+
"$ref": "#/$defs/execution"
|
|
12382
|
+
},
|
|
10132
12383
|
"params": {
|
|
10133
12384
|
"type": "array",
|
|
10134
|
-
"items": {
|
|
12385
|
+
"items": {
|
|
12386
|
+
"$ref": "#/$defs/param"
|
|
12387
|
+
}
|
|
12388
|
+
},
|
|
12389
|
+
"composite": {
|
|
12390
|
+
"$ref": "#/$defs/composite"
|
|
10135
12391
|
}
|
|
10136
12392
|
},
|
|
10137
12393
|
"oneOf": [
|
|
10138
12394
|
{
|
|
10139
|
-
"properties": {
|
|
10140
|
-
|
|
10141
|
-
|
|
12395
|
+
"properties": {
|
|
12396
|
+
"type": {
|
|
12397
|
+
"const": "api"
|
|
12398
|
+
}
|
|
12399
|
+
},
|
|
12400
|
+
"required": [
|
|
12401
|
+
"api"
|
|
12402
|
+
],
|
|
12403
|
+
"not": {
|
|
12404
|
+
"anyOf": [
|
|
12405
|
+
{
|
|
12406
|
+
"required": [
|
|
12407
|
+
"service"
|
|
12408
|
+
]
|
|
12409
|
+
},
|
|
12410
|
+
{
|
|
12411
|
+
"required": [
|
|
12412
|
+
"composite"
|
|
12413
|
+
]
|
|
12414
|
+
}
|
|
12415
|
+
]
|
|
12416
|
+
}
|
|
12417
|
+
},
|
|
12418
|
+
{
|
|
12419
|
+
"properties": {
|
|
12420
|
+
"type": {
|
|
12421
|
+
"const": "service"
|
|
12422
|
+
}
|
|
12423
|
+
},
|
|
12424
|
+
"required": [
|
|
12425
|
+
"service"
|
|
12426
|
+
],
|
|
12427
|
+
"not": {
|
|
12428
|
+
"anyOf": [
|
|
12429
|
+
{
|
|
12430
|
+
"required": [
|
|
12431
|
+
"api"
|
|
12432
|
+
]
|
|
12433
|
+
},
|
|
12434
|
+
{
|
|
12435
|
+
"required": [
|
|
12436
|
+
"composite"
|
|
12437
|
+
]
|
|
12438
|
+
}
|
|
12439
|
+
]
|
|
12440
|
+
}
|
|
10142
12441
|
},
|
|
10143
12442
|
{
|
|
10144
|
-
"properties": {
|
|
10145
|
-
|
|
10146
|
-
|
|
12443
|
+
"properties": {
|
|
12444
|
+
"type": {
|
|
12445
|
+
"const": "composite"
|
|
12446
|
+
}
|
|
12447
|
+
},
|
|
12448
|
+
"required": [
|
|
12449
|
+
"composite"
|
|
12450
|
+
],
|
|
12451
|
+
"not": {
|
|
12452
|
+
"anyOf": [
|
|
12453
|
+
{
|
|
12454
|
+
"required": [
|
|
12455
|
+
"api"
|
|
12456
|
+
]
|
|
12457
|
+
},
|
|
12458
|
+
{
|
|
12459
|
+
"required": [
|
|
12460
|
+
"service"
|
|
12461
|
+
]
|
|
12462
|
+
},
|
|
12463
|
+
{
|
|
12464
|
+
"required": [
|
|
12465
|
+
"params"
|
|
12466
|
+
]
|
|
12467
|
+
},
|
|
12468
|
+
{
|
|
12469
|
+
"required": [
|
|
12470
|
+
"execution"
|
|
12471
|
+
]
|
|
12472
|
+
}
|
|
12473
|
+
]
|
|
12474
|
+
}
|
|
10147
12475
|
}
|
|
10148
12476
|
]
|
|
10149
12477
|
},
|
|
10150
12478
|
"api": {
|
|
10151
12479
|
"type": "object",
|
|
10152
12480
|
"additionalProperties": false,
|
|
10153
|
-
"required": [
|
|
12481
|
+
"required": [
|
|
12482
|
+
"target",
|
|
12483
|
+
"targetModel",
|
|
12484
|
+
"method",
|
|
12485
|
+
"actionName"
|
|
12486
|
+
],
|
|
10154
12487
|
"properties": {
|
|
10155
|
-
"target": {
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
"
|
|
12488
|
+
"target": {
|
|
12489
|
+
"type": "string"
|
|
12490
|
+
},
|
|
12491
|
+
"targetModel": {
|
|
12492
|
+
"type": "string",
|
|
12493
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12494
|
+
},
|
|
12495
|
+
"method": {
|
|
12496
|
+
"enum": [
|
|
12497
|
+
"GET",
|
|
12498
|
+
"POST",
|
|
12499
|
+
"PUT",
|
|
12500
|
+
"DELETE"
|
|
12501
|
+
]
|
|
12502
|
+
},
|
|
12503
|
+
"actionName": {
|
|
12504
|
+
"type": "string",
|
|
12505
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12506
|
+
}
|
|
10159
12507
|
}
|
|
10160
12508
|
},
|
|
10161
12509
|
"service": {
|
|
10162
12510
|
"type": "object",
|
|
10163
12511
|
"additionalProperties": false,
|
|
10164
|
-
"required": [
|
|
12512
|
+
"required": [
|
|
12513
|
+
"agentKey",
|
|
12514
|
+
"serviceKey"
|
|
12515
|
+
],
|
|
10165
12516
|
"properties": {
|
|
10166
|
-
"agentKey": {
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10170
|
-
"
|
|
12517
|
+
"agentKey": {
|
|
12518
|
+
"type": "string",
|
|
12519
|
+
"minLength": 1
|
|
12520
|
+
},
|
|
12521
|
+
"serviceKey": {
|
|
12522
|
+
"type": "string",
|
|
12523
|
+
"minLength": 1
|
|
12524
|
+
},
|
|
12525
|
+
"mode": {
|
|
12526
|
+
"enum": [
|
|
12527
|
+
"sync",
|
|
12528
|
+
"async"
|
|
12529
|
+
]
|
|
12530
|
+
},
|
|
12531
|
+
"timeoutMs": {
|
|
12532
|
+
"type": "integer",
|
|
12533
|
+
"minimum": 1e3
|
|
12534
|
+
},
|
|
12535
|
+
"pollIntervalMs": {
|
|
12536
|
+
"type": "integer",
|
|
12537
|
+
"minimum": 100
|
|
12538
|
+
}
|
|
10171
12539
|
}
|
|
10172
12540
|
},
|
|
10173
12541
|
"execution": {
|
|
10174
12542
|
"type": "object",
|
|
10175
12543
|
"additionalProperties": false,
|
|
10176
12544
|
"properties": {
|
|
10177
|
-
"returnOn": {
|
|
12545
|
+
"returnOn": {
|
|
12546
|
+
"const": "terminal"
|
|
12547
|
+
}
|
|
10178
12548
|
}
|
|
10179
12549
|
},
|
|
10180
12550
|
"param": {
|
|
10181
12551
|
"type": "object",
|
|
10182
12552
|
"additionalProperties": false,
|
|
10183
|
-
"required": [
|
|
12553
|
+
"required": [
|
|
12554
|
+
"name",
|
|
12555
|
+
"source"
|
|
12556
|
+
],
|
|
10184
12557
|
"properties": {
|
|
10185
|
-
"name": {
|
|
10186
|
-
|
|
10187
|
-
|
|
12558
|
+
"name": {
|
|
12559
|
+
"type": "string",
|
|
12560
|
+
"minLength": 1
|
|
12561
|
+
},
|
|
12562
|
+
"source": {
|
|
12563
|
+
"enum": [
|
|
12564
|
+
"state",
|
|
12565
|
+
"constant",
|
|
12566
|
+
"idempotency",
|
|
12567
|
+
"chainResult",
|
|
12568
|
+
"chainStep"
|
|
12569
|
+
]
|
|
12570
|
+
},
|
|
12571
|
+
"path": {
|
|
12572
|
+
"$ref": "#/$defs/safePath"
|
|
12573
|
+
},
|
|
10188
12574
|
"value": {},
|
|
10189
|
-
"required": {
|
|
12575
|
+
"required": {
|
|
12576
|
+
"type": "boolean"
|
|
12577
|
+
},
|
|
10190
12578
|
"defaultValue": {},
|
|
10191
12579
|
"into": {
|
|
10192
12580
|
"oneOf": [
|
|
10193
|
-
{
|
|
10194
|
-
|
|
12581
|
+
{
|
|
12582
|
+
"const": "$root"
|
|
12583
|
+
},
|
|
12584
|
+
{
|
|
12585
|
+
"$ref": "#/$defs/safePath"
|
|
12586
|
+
}
|
|
10195
12587
|
]
|
|
10196
12588
|
}
|
|
10197
12589
|
}
|
|
@@ -10199,50 +12591,246 @@ var META_SCHEMAS = {
|
|
|
10199
12591
|
"resultBinding": {
|
|
10200
12592
|
"type": "object",
|
|
10201
12593
|
"additionalProperties": false,
|
|
10202
|
-
"required": [
|
|
12594
|
+
"required": [
|
|
12595
|
+
"key",
|
|
12596
|
+
"from",
|
|
12597
|
+
"to"
|
|
12598
|
+
],
|
|
10203
12599
|
"properties": {
|
|
10204
|
-
"key": {
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
12600
|
+
"key": {
|
|
12601
|
+
"type": "string",
|
|
12602
|
+
"minLength": 1
|
|
12603
|
+
},
|
|
12604
|
+
"from": {
|
|
12605
|
+
"$ref": "#/$defs/safePath"
|
|
12606
|
+
},
|
|
12607
|
+
"to": {
|
|
12608
|
+
"$ref": "#/$defs/safePath"
|
|
12609
|
+
},
|
|
12610
|
+
"required": {
|
|
12611
|
+
"type": "boolean"
|
|
12612
|
+
}
|
|
10208
12613
|
}
|
|
10209
12614
|
},
|
|
10210
12615
|
"idempotency": {
|
|
10211
12616
|
"type": "object",
|
|
10212
12617
|
"additionalProperties": false,
|
|
10213
|
-
"required": [
|
|
12618
|
+
"required": [
|
|
12619
|
+
"key",
|
|
12620
|
+
"required",
|
|
12621
|
+
"retry"
|
|
12622
|
+
],
|
|
10214
12623
|
"properties": {
|
|
10215
|
-
"key": {
|
|
10216
|
-
|
|
10217
|
-
|
|
12624
|
+
"key": {
|
|
12625
|
+
"type": "string",
|
|
12626
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12627
|
+
},
|
|
12628
|
+
"required": {
|
|
12629
|
+
"type": "boolean"
|
|
12630
|
+
},
|
|
12631
|
+
"retry": {
|
|
12632
|
+
"const": "retain-on-unknown"
|
|
12633
|
+
}
|
|
10218
12634
|
}
|
|
10219
12635
|
},
|
|
10220
12636
|
"resetRule": {
|
|
10221
12637
|
"type": "object",
|
|
10222
12638
|
"additionalProperties": false,
|
|
10223
|
-
"required": [
|
|
12639
|
+
"required": [
|
|
12640
|
+
"key",
|
|
12641
|
+
"path",
|
|
12642
|
+
"goTo",
|
|
12643
|
+
"clear"
|
|
12644
|
+
],
|
|
10224
12645
|
"properties": {
|
|
10225
|
-
"key": {
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
|
|
12646
|
+
"key": {
|
|
12647
|
+
"type": "string",
|
|
12648
|
+
"minLength": 1
|
|
12649
|
+
},
|
|
12650
|
+
"path": {
|
|
12651
|
+
"$ref": "#/$defs/safePath"
|
|
12652
|
+
},
|
|
12653
|
+
"whenAfterStep": {
|
|
12654
|
+
"type": "string",
|
|
12655
|
+
"minLength": 1
|
|
12656
|
+
},
|
|
12657
|
+
"goTo": {
|
|
12658
|
+
"type": "string",
|
|
12659
|
+
"minLength": 1
|
|
12660
|
+
},
|
|
10229
12661
|
"clear": {
|
|
10230
12662
|
"type": "array",
|
|
10231
|
-
"items": {
|
|
12663
|
+
"items": {
|
|
12664
|
+
"$ref": "#/$defs/safePath"
|
|
12665
|
+
}
|
|
12666
|
+
}
|
|
12667
|
+
}
|
|
12668
|
+
},
|
|
12669
|
+
"composite": {
|
|
12670
|
+
"type": "object",
|
|
12671
|
+
"additionalProperties": false,
|
|
12672
|
+
"required": [
|
|
12673
|
+
"mode",
|
|
12674
|
+
"stopOnError",
|
|
12675
|
+
"steps"
|
|
12676
|
+
],
|
|
12677
|
+
"properties": {
|
|
12678
|
+
"mode": {
|
|
12679
|
+
"const": "sequential"
|
|
12680
|
+
},
|
|
12681
|
+
"stopOnError": {
|
|
12682
|
+
"const": true
|
|
12683
|
+
},
|
|
12684
|
+
"steps": {
|
|
12685
|
+
"type": "array",
|
|
12686
|
+
"minItems": 1,
|
|
12687
|
+
"maxItems": 20,
|
|
12688
|
+
"items": {
|
|
12689
|
+
"type": "object",
|
|
12690
|
+
"additionalProperties": false,
|
|
12691
|
+
"required": [
|
|
12692
|
+
"action",
|
|
12693
|
+
"saveAs"
|
|
12694
|
+
],
|
|
12695
|
+
"properties": {
|
|
12696
|
+
"action": {
|
|
12697
|
+
"$ref": "#/$defs/action"
|
|
12698
|
+
},
|
|
12699
|
+
"saveAs": {
|
|
12700
|
+
"type": "string",
|
|
12701
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12702
|
+
}
|
|
12703
|
+
}
|
|
12704
|
+
}
|
|
12705
|
+
}
|
|
12706
|
+
}
|
|
12707
|
+
},
|
|
12708
|
+
"finish": {
|
|
12709
|
+
"type": "object",
|
|
12710
|
+
"additionalProperties": false,
|
|
12711
|
+
"required": [
|
|
12712
|
+
"label",
|
|
12713
|
+
"persistence"
|
|
12714
|
+
],
|
|
12715
|
+
"properties": {
|
|
12716
|
+
"label": {
|
|
12717
|
+
"type": "string",
|
|
12718
|
+
"minLength": 1
|
|
12719
|
+
},
|
|
12720
|
+
"validate": {
|
|
12721
|
+
"type": "boolean"
|
|
12722
|
+
},
|
|
12723
|
+
"persistence": {
|
|
12724
|
+
"enum": [
|
|
12725
|
+
"none",
|
|
12726
|
+
"commit"
|
|
12727
|
+
]
|
|
12728
|
+
},
|
|
12729
|
+
"action": {
|
|
12730
|
+
"$ref": "#/$defs/action"
|
|
12731
|
+
},
|
|
12732
|
+
"resultBindings": {
|
|
12733
|
+
"type": "array",
|
|
12734
|
+
"items": {
|
|
12735
|
+
"$ref": "#/$defs/resultBinding"
|
|
12736
|
+
}
|
|
12737
|
+
},
|
|
12738
|
+
"idempotency": {
|
|
12739
|
+
"$ref": "#/$defs/idempotency"
|
|
10232
12740
|
}
|
|
10233
12741
|
}
|
|
10234
12742
|
}
|
|
10235
|
-
}
|
|
12743
|
+
},
|
|
12744
|
+
"allOf": [
|
|
12745
|
+
{
|
|
12746
|
+
"if": {
|
|
12747
|
+
"properties": {
|
|
12748
|
+
"display": {
|
|
12749
|
+
"anyOf": [
|
|
12750
|
+
{
|
|
12751
|
+
"required": [
|
|
12752
|
+
"stepper"
|
|
12753
|
+
]
|
|
12754
|
+
},
|
|
12755
|
+
{
|
|
12756
|
+
"required": [
|
|
12757
|
+
"showStepHeader"
|
|
12758
|
+
]
|
|
12759
|
+
}
|
|
12760
|
+
]
|
|
12761
|
+
}
|
|
12762
|
+
},
|
|
12763
|
+
"required": [
|
|
12764
|
+
"display"
|
|
12765
|
+
]
|
|
12766
|
+
},
|
|
12767
|
+
"then": {
|
|
12768
|
+
"properties": {
|
|
12769
|
+
"capabilityVersion": {
|
|
12770
|
+
"enum": [
|
|
12771
|
+
"1.28.0",
|
|
12772
|
+
"1.29.0"
|
|
12773
|
+
]
|
|
12774
|
+
}
|
|
12775
|
+
}
|
|
12776
|
+
}
|
|
12777
|
+
},
|
|
12778
|
+
{
|
|
12779
|
+
"if": {
|
|
12780
|
+
"properties": {
|
|
12781
|
+
"steps": {
|
|
12782
|
+
"contains": {
|
|
12783
|
+
"required": [
|
|
12784
|
+
"finish"
|
|
12785
|
+
]
|
|
12786
|
+
}
|
|
12787
|
+
}
|
|
12788
|
+
},
|
|
12789
|
+
"required": [
|
|
12790
|
+
"steps"
|
|
12791
|
+
]
|
|
12792
|
+
},
|
|
12793
|
+
"then": {
|
|
12794
|
+
"properties": {
|
|
12795
|
+
"capabilityVersion": {
|
|
12796
|
+
"const": "1.29.0"
|
|
12797
|
+
},
|
|
12798
|
+
"persistence": {
|
|
12799
|
+
"properties": {
|
|
12800
|
+
"mode": {
|
|
12801
|
+
"const": "per-step"
|
|
12802
|
+
}
|
|
12803
|
+
}
|
|
12804
|
+
}
|
|
12805
|
+
}
|
|
12806
|
+
}
|
|
12807
|
+
}
|
|
12808
|
+
]
|
|
10236
12809
|
},
|
|
10237
12810
|
impexp: {
|
|
10238
12811
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10239
12812
|
"$defs": {
|
|
10240
12813
|
"Map(String,Object)": {
|
|
10241
12814
|
"type": "object"
|
|
12815
|
+
},
|
|
12816
|
+
"Map(String,String)": {
|
|
12817
|
+
"type": "object"
|
|
10242
12818
|
}
|
|
10243
12819
|
},
|
|
10244
12820
|
"type": "object",
|
|
10245
12821
|
"properties": {
|
|
12822
|
+
"actionKey": {
|
|
12823
|
+
"type": "string"
|
|
12824
|
+
},
|
|
12825
|
+
"allowedBusinessKeys": {
|
|
12826
|
+
"type": "array",
|
|
12827
|
+
"items": {
|
|
12828
|
+
"type": "array",
|
|
12829
|
+
"items": {
|
|
12830
|
+
"type": "string"
|
|
12831
|
+
}
|
|
12832
|
+
}
|
|
12833
|
+
},
|
|
10246
12834
|
"business_config": {
|
|
10247
12835
|
"type": "object",
|
|
10248
12836
|
"properties": {
|
|
@@ -10289,6 +12877,15 @@ var META_SCHEMAS = {
|
|
|
10289
12877
|
"capabilityVersion": {
|
|
10290
12878
|
"type": "string"
|
|
10291
12879
|
},
|
|
12880
|
+
"declaredImportModes": {
|
|
12881
|
+
"type": "array",
|
|
12882
|
+
"items": {
|
|
12883
|
+
"type": "string"
|
|
12884
|
+
}
|
|
12885
|
+
},
|
|
12886
|
+
"defaultSources": {
|
|
12887
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
12888
|
+
},
|
|
10292
12889
|
"defaults": {
|
|
10293
12890
|
"$ref": "#/$defs/Map(String,Object)"
|
|
10294
12891
|
},
|
|
@@ -10307,6 +12904,15 @@ var META_SCHEMAS = {
|
|
|
10307
12904
|
}
|
|
10308
12905
|
}
|
|
10309
12906
|
},
|
|
12907
|
+
"employeeSubset": {
|
|
12908
|
+
"type": "boolean"
|
|
12909
|
+
},
|
|
12910
|
+
"employeeSubsetMeta": {
|
|
12911
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
12912
|
+
},
|
|
12913
|
+
"exportFormat": {
|
|
12914
|
+
"type": "string"
|
|
12915
|
+
},
|
|
10310
12916
|
"fields": {
|
|
10311
12917
|
"type": "array",
|
|
10312
12918
|
"items": {
|
|
@@ -10315,7 +12921,7 @@ var META_SCHEMAS = {
|
|
|
10315
12921
|
"column_config": {
|
|
10316
12922
|
"type": "array",
|
|
10317
12923
|
"items": {
|
|
10318
|
-
"
|
|
12924
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
10319
12925
|
}
|
|
10320
12926
|
},
|
|
10321
12927
|
"comment": {
|
|
@@ -10370,6 +12976,9 @@ var META_SCHEMAS = {
|
|
|
10370
12976
|
"importDomain": {
|
|
10371
12977
|
"type": "string"
|
|
10372
12978
|
},
|
|
12979
|
+
"importPolicyRef": {
|
|
12980
|
+
"type": "string"
|
|
12981
|
+
},
|
|
10373
12982
|
"key": {
|
|
10374
12983
|
"type": "string",
|
|
10375
12984
|
"description": "\u6A21\u578B\u6807\u8BC6\u7B26,YAML \u91CC\u5199\u4F5C modelKey;\u7531 spec.modelKey \u627F\u62C5,topPatches \u4E0D\u5E94\u518D\u5199"
|
|
@@ -10383,6 +12992,9 @@ var META_SCHEMAS = {
|
|
|
10383
12992
|
"descRow": {
|
|
10384
12993
|
"type": "integer"
|
|
10385
12994
|
},
|
|
12995
|
+
"hasDescRow": {
|
|
12996
|
+
"type": "boolean"
|
|
12997
|
+
},
|
|
10386
12998
|
"keyRow": {
|
|
10387
12999
|
"type": "integer"
|
|
10388
13000
|
},
|
|
@@ -10426,6 +13038,9 @@ var META_SCHEMAS = {
|
|
|
10426
13038
|
},
|
|
10427
13039
|
"required": ["mode"]
|
|
10428
13040
|
},
|
|
13041
|
+
"source": {
|
|
13042
|
+
"type": "string"
|
|
13043
|
+
},
|
|
10429
13044
|
"type": {
|
|
10430
13045
|
"type": "string"
|
|
10431
13046
|
}
|
|
@@ -11310,6 +13925,18 @@ function lowerHeaders(raw) {
|
|
|
11310
13925
|
}
|
|
11311
13926
|
return out;
|
|
11312
13927
|
}
|
|
13928
|
+
var MAX_BATCH_CONCURRENCY = 8;
|
|
13929
|
+
async function runBatch(items, request) {
|
|
13930
|
+
const pairs = new Array(items.length);
|
|
13931
|
+
let next = 0;
|
|
13932
|
+
await Promise.all(Array.from({ length: Math.min(MAX_BATCH_CONCURRENCY, items.length) }, async () => {
|
|
13933
|
+
while (next < items.length) {
|
|
13934
|
+
const index = next++;
|
|
13935
|
+
pairs[index] = await request(items[index]);
|
|
13936
|
+
}
|
|
13937
|
+
}));
|
|
13938
|
+
return Object.fromEntries(pairs);
|
|
13939
|
+
}
|
|
11313
13940
|
function toOutcome(status, data, headers) {
|
|
11314
13941
|
const cls = classifyStatus(status);
|
|
11315
13942
|
if (status === 204) return { status, body: null, error: "ok", headers };
|
|
@@ -11360,22 +13987,16 @@ function httpProbe(http, capabilities) {
|
|
|
11360
13987
|
* 🔴 一路炸不许拖垮整批——逐路径独立归类。
|
|
11361
13988
|
*/
|
|
11362
13989
|
async getMany(paths) {
|
|
11363
|
-
|
|
11364
|
-
paths
|
|
11365
|
-
|
|
11366
|
-
await probe.get(p).catch(() => networkOutcome())
|
|
11367
|
-
])
|
|
13990
|
+
return runBatch(
|
|
13991
|
+
paths,
|
|
13992
|
+
async (p) => [p, await probe.get(p).catch(() => networkOutcome())]
|
|
11368
13993
|
);
|
|
11369
|
-
return Object.fromEntries(pairs);
|
|
11370
13994
|
},
|
|
11371
13995
|
async postMany(jobs) {
|
|
11372
|
-
|
|
11373
|
-
jobs
|
|
11374
|
-
|
|
11375
|
-
await probe.post(j.path, j.body).catch(() => networkOutcome())
|
|
11376
|
-
])
|
|
13996
|
+
return runBatch(
|
|
13997
|
+
jobs,
|
|
13998
|
+
async (j) => [j.path, await probe.post(j.path, j.body).catch(() => networkOutcome())]
|
|
11377
13999
|
);
|
|
11378
|
-
return Object.fromEntries(pairs);
|
|
11379
14000
|
}
|
|
11380
14001
|
};
|
|
11381
14002
|
return probe;
|
|
@@ -11639,9 +14260,10 @@ function writeFieldsIndex(layout, rows) {
|
|
|
11639
14260
|
var WORDING = "\u672C\u6587\u4EF6\u767B\u8BB0\u7684\u662F**\u663E\u5F0F\u58F0\u660E**\u4E3A\u53EA\u8BFB\u7684\u52A8\u4F5C\u3002kit \u53EA\u80FD\u8D70 RBAC \u88C1\u526A\u540E\u7684 REST\u3001\u89C2\u6D4B\u7A97\u53E3\u6709\u9650\uFF0C\u56E0\u6B64\u4EFB\u4F55\u7ED3\u8BBA\u7684\u53E3\u5F84\u90FD\u662F\u300C\u5728\u58F0\u660E\u5F71\u54CD\u9762\u5185\u672A\u89C2\u6D4B\u5230\u53D8\u5316\u300D\uFF0C\u800C**\u4E0D\u662F**\u300C\u65E0\u526F\u4F5C\u7528\u300D\u3002guard=declared-only \u7684\u6761\u76EE\u8FDE\u670D\u52A1\u7AEF\u9759\u6001\u5B88\u536B\u90FD\u6CA1\u6709\uFF0C\u53EA\u6709\u4E00\u53E5\u58F0\u660E\u3002";
|
|
11640
14261
|
var KIT_SCHEMA_VERSION_KEY = "_kitSchemaVersion";
|
|
11641
14262
|
var GATES_SCHEMA_CHANGELOG = {
|
|
11642
|
-
1: "coverage \u65B0\u589E undetermined\uFF08\u4EA7\u54C1\u4FA7\u58F0\u660E effect=UNKNOWN\u3001**\u6CA1\u4EBA\u5224\u8FC7**\u5199\u4E0D\u5199\u5E93\u7684\u52A8\u4F5C\uFF0CADR-332 \u4E09\u6001\uFF09\u4EE5\u53CA\u5B83\u7684\u8BB0\u8D26/\u5B9A\u4E49\u57DF\u5B57\u6BB5 actionsSeen / actionsGated / actionsWriting / actionsWithEffect / actionAccountingBalanced"
|
|
14263
|
+
1: "coverage \u65B0\u589E undetermined\uFF08\u4EA7\u54C1\u4FA7\u58F0\u660E effect=UNKNOWN\u3001**\u6CA1\u4EBA\u5224\u8FC7**\u5199\u4E0D\u5199\u5E93\u7684\u52A8\u4F5C\uFF0CADR-332 \u4E09\u6001\uFF09\u4EE5\u53CA\u5B83\u7684\u8BB0\u8D26/\u5B9A\u4E49\u57DF\u5B57\u6BB5 actionsSeen / actionsGated / actionsWriting / actionsWithEffect / actionAccountingBalanced",
|
|
14264
|
+
2: "coverage \u65B0\u589E accountingOnly\uFF0C\u9010\u6761\u4FDD\u7559\u5DF2\u5224\u5B9A\u7684\u8BB0\u8D26\u7C7B\u526F\u4F5C\u7528\uFF1B\u8BB0\u8D26\u7B49\u5F0F\u5355\u5217\u8FD9\u4E00\u6863"
|
|
11643
14265
|
};
|
|
11644
|
-
var GATES_SCHEMA_VERSION =
|
|
14266
|
+
var GATES_SCHEMA_VERSION = 2;
|
|
11645
14267
|
function gatesSchemaChangesSince(from) {
|
|
11646
14268
|
return Object.entries(GATES_SCHEMA_CHANGELOG).filter(([v]) => Number(v) > from && Number(v) <= GATES_SCHEMA_VERSION).map(([v, what]) => `schema ${v}\uFF1A${what}`).join("\uFF1B");
|
|
11647
14269
|
}
|
|
@@ -11659,7 +14281,7 @@ var REJECT_NOTES = {
|
|
|
11659
14281
|
};
|
|
11660
14282
|
var UNDETERMINED_NOTES = {
|
|
11661
14283
|
"declared-unknown": "\u4EA7\u54C1\u4FA7\u628A\u8FD9\u4E2A\u52A8\u4F5C\u58F0\u660E\u6210 effect=UNKNOWN\uFF1A**\u6CA1\u4EBA\u5224\u8FC7**\u5B83\u5199\u4E0D\u5199\u5E93\u3002\u5B83\u65E2\u4E0D\u662F\u95F8\uFF08\u4E0D\u80FD\u514D\u786E\u8BA4\u6267\u884C\uFF09\uFF0C\u4E5F\u4E0D\u662F rejected\uFF08\u90A3\u662F**\u5224\u8FC7**\u3001\u53EA\u662F\u6CA1\u901A\u8FC7 fail-closed \u5173\uFF09\u3002\u4E0B\u4E00\u6B65\u5728\u4EA7\u54C1\u4FA7\u2014\u2014\u7ED9\u8FD9\u4E2A @ClassAction \u628A effect \u5224\u6389\uFF0C\u800C\u4E0D\u662F\u5728 kit \u8FD9\u8FB9\u653E\u5BBD",
|
|
11662
|
-
"unrecognized-effect": "effect \u7684\u53D6\u503C\u4E0D\u5728 READ_ONLY / WRITES / UNKNOWN \
|
|
14284
|
+
"unrecognized-effect": "effect \u7684\u53D6\u503C\u4E0D\u5728 READ_ONLY / WRITES / ACCOUNTING_ONLY / UNKNOWN \u56DB\u6863\u5185\uFF08\u62FC\u5199\u6F02\u79FB\uFF1F\u670D\u52A1\u7AEF\u6BD4\u672C kit \u65B0\u3001\u591A\u4E86\u4E00\u6863\uFF1F\uFF09\u3002fail-closed\uFF1A\u4E00\u5F8B**\u6309 UNKNOWN \u5904\u7F6E**\u5E76\u539F\u6837\u7559\u4E0B\u8FD9\u4E2A\u503C\uFF0C\u4E0D\u731C\u6210\u53EA\u8BFB\u3001\u4E5F\u4E0D\u9759\u9ED8\u4E22\u6389\u3002\u4E0B\u4E00\u6B65\u662F\u62FF\u672C\u6761\u7684 effect \u539F\u503C\u53BB\u5BF9\u4EA7\u54C1\u4FA7\u7684 ActionEffect \u5B9A\u4E49\uFF0C\u5FC5\u8981\u65F6\u5347\u7EA7 kit"
|
|
11663
14285
|
};
|
|
11664
14286
|
function actionsPath(modelKey, state = "") {
|
|
11665
14287
|
const base = `/api/models/${modelKey}/actions`;
|
|
@@ -11683,6 +14305,7 @@ async function collectActionGates(probe, modelKeys2, state = "") {
|
|
|
11683
14305
|
const gates = [];
|
|
11684
14306
|
const rejected = [];
|
|
11685
14307
|
const undetermined = [];
|
|
14308
|
+
const accountingOnly = [];
|
|
11686
14309
|
const unavailable = [];
|
|
11687
14310
|
let actionsSeen = 0;
|
|
11688
14311
|
let actionsWriting = 0;
|
|
@@ -11743,6 +14366,15 @@ async function collectActionGates(probe, modelKeys2, state = "") {
|
|
|
11743
14366
|
});
|
|
11744
14367
|
continue;
|
|
11745
14368
|
}
|
|
14369
|
+
if (effectClass === "accounting-only") {
|
|
14370
|
+
accountingOnly.push({
|
|
14371
|
+
model,
|
|
14372
|
+
key: keyOrNull(action3.key),
|
|
14373
|
+
effect: EFFECT_ACCOUNTING_ONLY,
|
|
14374
|
+
note: "\u5DF2\u5224\u5B9A\uFF1A\u4E0D\u5199\u4E1A\u52A1\u6570\u636E\uFF0C\u53EA\u4EA7\u751F\u767B\u8BB0\u5728\u518C\u7684\u8BB0\u8D26\u7C7B\u526F\u4F5C\u7528\uFF1B\u9700\u663E\u5F0F\u786E\u8BA4\uFF0C\u4E0D\u8FDB\u5165\u53EA\u8BFB\u95F8\u3002"
|
|
14375
|
+
});
|
|
14376
|
+
continue;
|
|
14377
|
+
}
|
|
11746
14378
|
if (effectClass === "writes") {
|
|
11747
14379
|
actionsWriting += 1;
|
|
11748
14380
|
continue;
|
|
@@ -11816,15 +14448,16 @@ async function collectActionGates(probe, modelKeys2, state = "") {
|
|
|
11816
14448
|
unavailable,
|
|
11817
14449
|
rejected,
|
|
11818
14450
|
undetermined,
|
|
14451
|
+
accountingOnly,
|
|
11819
14452
|
actionsSeen,
|
|
11820
14453
|
actionsGated: gates.length,
|
|
11821
14454
|
actionsWriting,
|
|
11822
14455
|
actionsWithEffect,
|
|
11823
|
-
// 前提显式断言:不平 ⇒ 有 action
|
|
11824
|
-
actionAccountingBalanced: actionsSeen === gates.length + rejected.length + undetermined.length + actionsWriting,
|
|
14456
|
+
// 前提显式断言:不平 ⇒ 有 action 落在五个格子之外,这几个数就都不能用。
|
|
14457
|
+
actionAccountingBalanced: actionsSeen === gates.length + rejected.length + undetermined.length + accountingOnly.length + actionsWriting,
|
|
11825
14458
|
endpointGates: false,
|
|
11826
14459
|
// 普通 Controller 端点闸不在本产物内
|
|
11827
|
-
note: "scope \u6052\u4E3A state-scoped\uFF1Astate \u4E0D\u53EF\u679A\u4E3E\uFF0C\u672C\u4EA7\u7269\u53EA\u8986\u76D6 stateRequested \u8BF7\u6C42\u5230\u7684\u90A3\u4E00\u4E2A\uFF1Bunavailable = \u6CA1\u626B\u6210\u7684\u6A21\u578B\uFF08\u4E0E\u300C\u8FD9\u4E2A\u6A21\u578B\u6CA1\u6709\u53EA\u8BFB\u95F8\u300D\u662F\u4E24\u56DE\u4E8B\uFF09\uFF1Brejected = \u58F0\u660E\u4E86\u53EA\u8BFB\u5374\u88AB fail-closed \u89C4\u5219\u62D2\u6389\u7684\u52A8\u4F5C\uFF0C\u5B83\u4EEC\u4E0D\u662F\u95F8\uFF1Bsources = \u672C\u8F6E\u89C1\u5230\u7684**\u5168\u90E8** action\uFF08\u542B\u5199\u52A8\u4F5C\u3001\u542B\u88AB rejected \u7684\u6761\u76EE\uFF09\u7684\u5019\u9009 source \u53BB\u91CD\uFF0C**\u4E0D\u662F**\u95F8\u7684\u6765\u6E90\uFF1B\u95F8\u81EA\u5DF1\u7684\u6765\u6E90\u770B\u6BCF\u6761 gate \u7684 source \u5B57\u6BB5\uFF1Bundetermined = \u4EA7\u54C1\u4FA7\u58F0\u660E\u4E3A UNKNOWN\uFF08**\u6CA1\u4EBA\u5224\u8FC7**\uFF09\u7684\u52A8\u4F5C\uFF0C\u4E0E rejected\uFF08**\u5224\u8FC7**\u3001\u53EA\u662F\u6CA1\u901A\u8FC7 fail-closed \u5173\uFF09\u548C\u5199\u52A8\u4F5C\u90FD\u4E0D\u662F\u4E00\u56DE\u4E8B\uFF1Beffect \u952E\u7F3A\u5931\uFF08\u670D\u52A1\u7AEF\u8FD8\u6CA1\u6709\
|
|
14460
|
+
note: "scope \u6052\u4E3A state-scoped\uFF1Astate \u4E0D\u53EF\u679A\u4E3E\uFF0C\u672C\u4EA7\u7269\u53EA\u8986\u76D6 stateRequested \u8BF7\u6C42\u5230\u7684\u90A3\u4E00\u4E2A\uFF1Bunavailable = \u6CA1\u626B\u6210\u7684\u6A21\u578B\uFF08\u4E0E\u300C\u8FD9\u4E2A\u6A21\u578B\u6CA1\u6709\u53EA\u8BFB\u95F8\u300D\u662F\u4E24\u56DE\u4E8B\uFF09\uFF1Brejected = \u58F0\u660E\u4E86\u53EA\u8BFB\u5374\u88AB fail-closed \u89C4\u5219\u62D2\u6389\u7684\u52A8\u4F5C\uFF0C\u5B83\u4EEC\u4E0D\u662F\u95F8\uFF1Bsources = \u672C\u8F6E\u89C1\u5230\u7684**\u5168\u90E8** action\uFF08\u542B\u5199\u52A8\u4F5C\u3001\u542B\u88AB rejected \u7684\u6761\u76EE\uFF09\u7684\u5019\u9009 source \u53BB\u91CD\uFF0C**\u4E0D\u662F**\u95F8\u7684\u6765\u6E90\uFF1B\u95F8\u81EA\u5DF1\u7684\u6765\u6E90\u770B\u6BCF\u6761 gate \u7684 source \u5B57\u6BB5\uFF1Bundetermined = \u4EA7\u54C1\u4FA7\u58F0\u660E\u4E3A UNKNOWN\uFF08**\u6CA1\u4EBA\u5224\u8FC7**\uFF09\u7684\u52A8\u4F5C\uFF0C\u4E0E rejected\uFF08**\u5224\u8FC7**\u3001\u53EA\u662F\u6CA1\u901A\u8FC7 fail-closed \u5173\uFF09\u548C\u5199\u52A8\u4F5C\u90FD\u4E0D\u662F\u4E00\u56DE\u4E8B\uFF1BaccountingOnly = \u5DF2\u5224\u5B9A\u4E3A\u8BB0\u8D26\u7C7B\u526F\u4F5C\u7528\u3001\u9700\u663E\u5F0F\u786E\u8BA4\u7684\u52A8\u4F5C\uFF1B\u65E2\u975E\u53EA\u8BFB\u95F8\uFF0C\u4E5F\u975E\u6CA1\u4EBA\u5224\u8FC7\uFF1BaccountingOnly \u4E3A\u7A7A\u53EF\u80FD\u53EA\u662F\u670D\u52A1\u7AEF\u8FD8\u6CA1\u6709 ACCOUNTING_ONLY \u8FD9\u4E00\u6863\uFF08\u65E7 Core\uFF09\uFF0C\u4E0D\u7B49\u4E8E\u300C\u6CA1\u6709\u8BB0\u8D26\u7C7B\u52A8\u4F5C\u300D\uFF1Beffect \u952E\u7F3A\u5931\uFF08\u670D\u52A1\u7AEF\u8FD8\u6CA1\u6709 effect \u58F0\u660E\uFF09\u65F6\u56DE\u843D readOnly \u65E7\u5224\u5B9A\u3001**\u4E0D**\u8BB0\u8FDB undetermined\uFF0C\u6240\u4EE5 actionsWithEffect=0 \u65F6 undetermined \u6052\u4E3A\u7A7A\u2014\u2014\u90A3\u662F\u300C\u8FD9\u4E2A\u670D\u52A1\u7AEF\u6CA1\u6709\u8FD9\u4E2A\u6982\u5FF5\u300D\uFF0C\u4E0D\u662F\u300C\u5168\u90FD\u5224\u8FC7\u4E86\u300D\uFF1BactionAccountingBalanced \u65AD\u7684\u662F actionsSeen == actionsGated + rejected \u6761\u6570 + undetermined \u6761\u6570 + accountingOnly \u6761\u6570 + actionsWriting"
|
|
11828
14461
|
};
|
|
11829
14462
|
return { gates, coverage };
|
|
11830
14463
|
}
|
|
@@ -22743,6 +25376,7 @@ export {
|
|
|
22743
25376
|
DRY_RUN_NOTE,
|
|
22744
25377
|
DRY_RUN_TAIL,
|
|
22745
25378
|
DriftDetected,
|
|
25379
|
+
EFFECT_ACCOUNTING_ONLY,
|
|
22746
25380
|
EFFECT_READ_ONLY,
|
|
22747
25381
|
EFFECT_UNKNOWN,
|
|
22748
25382
|
EFFECT_WRITES,
|
|
@@ -22877,6 +25511,7 @@ export {
|
|
|
22877
25511
|
VERDICTS3 as TRIAGE_VERDICTS,
|
|
22878
25512
|
TargetModelNotFound,
|
|
22879
25513
|
TokenStore,
|
|
25514
|
+
USER_LOOKUP_PATH,
|
|
22880
25515
|
VALUE_CELL_MISSING,
|
|
22881
25516
|
VALUE_FOOTNOTE,
|
|
22882
25517
|
VALUE_STATE_DISABLED,
|