@hcmai/sdk 0.20.0 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +26 -8
- package/dist/index.js +3113 -471
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -236,7 +236,14 @@ var CliError = class extends Error {
|
|
|
236
236
|
const detailText = formatDetails(details);
|
|
237
237
|
if (detailText) out += `
|
|
238
238
|
\u8BE6\u60C5: ${detailText}`;
|
|
239
|
-
|
|
239
|
+
const reason = this.context?.reason;
|
|
240
|
+
const reasonText = typeof reason === "string" ? reason.trim() : "";
|
|
241
|
+
if (reasonText && reasonText !== this.message.trim()) out += `
|
|
242
|
+
\u539F\u56E0: ${reasonText}`;
|
|
243
|
+
const note = this.context?.note;
|
|
244
|
+
if (typeof note === "string" && note.trim()) out += `
|
|
245
|
+
\u8BF4\u660E: ${note.trim()}`;
|
|
246
|
+
if (!detailText && !reasonText) {
|
|
240
247
|
const causeText = formatCause(this.cause);
|
|
241
248
|
if (causeText) out += `
|
|
242
249
|
\u539F\u56E0: ${causeText}`;
|
|
@@ -262,11 +269,17 @@ function fromAxiosError(err, profile) {
|
|
|
262
269
|
const status = err.response?.status;
|
|
263
270
|
const traceId = err.response?.headers?.["x-trace-id"];
|
|
264
271
|
const data = err.response?.data;
|
|
265
|
-
const
|
|
266
|
-
const
|
|
267
|
-
const
|
|
272
|
+
const nested = isRecord(data) && isRecord(data.error);
|
|
273
|
+
const body = nested ? data.error : isRecord(data) ? data : void 0;
|
|
274
|
+
const flat = body !== void 0 && !nested;
|
|
275
|
+
const flatError = flat ? nonBlankString(body.error) : void 0;
|
|
276
|
+
const flatErrorIsCode = flatError !== void 0 && CODE_LIKE.test(flatError.trim());
|
|
277
|
+
const respCode = nonBlankString(body?.code) ?? (flat ? nonBlankString(body.errCode) ?? (flatErrorIsCode ? flatError : void 0) : void 0);
|
|
278
|
+
const respMsg = nonBlankString(body?.message) ?? (flat ? nonBlankString(body.error_description) ?? (flatErrorIsCode ? void 0 : flatError) : void 0);
|
|
268
279
|
const respField = body?.field;
|
|
269
280
|
const respDetails = body?.details;
|
|
281
|
+
const respReason = nonBlankString(body?.reason);
|
|
282
|
+
const respNote = nonBlankString(body?.note);
|
|
270
283
|
const respNextStep = body?.next_step ?? body?.nextStep;
|
|
271
284
|
const respRetryable = body?.retryable;
|
|
272
285
|
const localDiagnosis = respCode === REJECTED_BEFORE_ROUTING_CODE ? diagnoseRejectedBeforeRouting(err.config?.url, err.config?.baseURL) : void 0;
|
|
@@ -289,6 +302,8 @@ function fromAxiosError(err, profile) {
|
|
|
289
302
|
// nextStep 是后端给的路标(ADR-166 终局协议)—— 吞掉它等于让命令行用户自己猜下一步。
|
|
290
303
|
...respField ? { field: respField } : {},
|
|
291
304
|
...respDetails !== void 0 ? { details: respDetails } : {},
|
|
305
|
+
...respReason ? { reason: respReason } : {},
|
|
306
|
+
...respNote ? { note: respNote } : {},
|
|
292
307
|
...respNextStep ? { nextStep: respNextStep } : {},
|
|
293
308
|
...respRetryable !== void 0 ? { retryable: respRetryable } : {},
|
|
294
309
|
// 与后端的 nextStep 并存、不互相覆盖:一个是服务端的通用路标,一个是本地对症结论。
|
|
@@ -299,6 +314,13 @@ function fromAxiosError(err, profile) {
|
|
|
299
314
|
cause: err
|
|
300
315
|
});
|
|
301
316
|
}
|
|
317
|
+
var CODE_LIKE = /^(?:[A-Z][A-Z0-9_]*|[a-z][a-z0-9]*(?:_[a-z0-9]+)+)$/;
|
|
318
|
+
function isRecord(value) {
|
|
319
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
320
|
+
}
|
|
321
|
+
function nonBlankString(value) {
|
|
322
|
+
return typeof value === "string" && value.trim() ? value : void 0;
|
|
323
|
+
}
|
|
302
324
|
function formatDetails(details) {
|
|
303
325
|
if (details === void 0 || details === null) return void 0;
|
|
304
326
|
if (typeof details === "string") return details.trim() || void 0;
|
|
@@ -919,7 +941,7 @@ async function findEnvByEndpoint(endpoint, tenant, opts = {}) {
|
|
|
919
941
|
if (!matches.length) return null;
|
|
920
942
|
const active = opts.activeEnv ?? (await loadGlobalConfig()).activeEnv;
|
|
921
943
|
const usable = matches.filter((match) => match.hasIdentity);
|
|
922
|
-
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];
|
|
944
|
+
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];
|
|
923
945
|
return { name: pick.name, config: pick.config };
|
|
924
946
|
}
|
|
925
947
|
async function resolveEnvContext(args, env2, global) {
|
|
@@ -927,7 +949,7 @@ async function resolveEnvContext(args, env2, global) {
|
|
|
927
949
|
const requested = requestedEnv(args, env2);
|
|
928
950
|
const selected = projectSelection(project, requested);
|
|
929
951
|
if (selected) {
|
|
930
|
-
const found = await findEnvByEndpoint(selected.environment.endpoint, selected.environment.tenant, { strictTenant: true, activeEnv: global.activeEnv });
|
|
952
|
+
const found = await findEnvByEndpoint(selected.environment.endpoint, selected.environment.tenant, { strictTenant: true, activeEnv: global.activeEnv, preferredName: selected.name });
|
|
931
953
|
if (!found) throw new CliError({
|
|
932
954
|
code: "ENV_NOT_FOUND" /* ENV_NOT_FOUND */,
|
|
933
955
|
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`,
|
|
@@ -3048,6 +3070,7 @@ async function releasePendingImpersonationSessions() {
|
|
|
3048
3070
|
// src/auth/impersonation.ts
|
|
3049
3071
|
var AUTH_SESSION_INFO_PATH = "/api/auth/info";
|
|
3050
3072
|
var IMPERSONATION_START_PATH = "/api/admin/impersonation/start";
|
|
3073
|
+
var USER_LOOKUP_PATH = "/api/models/User/list/dsl";
|
|
3051
3074
|
var IMPERSONATION_ACTIVE_PATH = "/api/admin/impersonation/active";
|
|
3052
3075
|
var UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
3053
3076
|
function protocolError(message) {
|
|
@@ -3090,14 +3113,24 @@ async function startImpersonation(input) {
|
|
|
3090
3113
|
throw new CliError({
|
|
3091
3114
|
code: "IDENTITY_NOT_IN_ENV" /* IDENTITY_NOT_IN_ENV */,
|
|
3092
3115
|
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`,
|
|
3093
|
-
context: {
|
|
3116
|
+
context: {
|
|
3117
|
+
mismatch: "username",
|
|
3118
|
+
actual: principal.username,
|
|
3119
|
+
expected: input.actorUsername,
|
|
3120
|
+
nextStep: `hcm login --env ${input.actor.env} \u91CD\u65B0\u767B\u5F55\u7BA1\u7406\u5458\u8EAB\u4EFD`
|
|
3121
|
+
}
|
|
3094
3122
|
});
|
|
3095
3123
|
}
|
|
3096
3124
|
if (principal.tenantId !== input.actor.tenantId) {
|
|
3097
3125
|
throw new CliError({
|
|
3098
3126
|
code: "IDENTITY_NOT_IN_ENV" /* IDENTITY_NOT_IN_ENV */,
|
|
3099
3127
|
message: `\u5F53\u524D token \u5C5E\u4E8E\u79DF\u6237 '${principal.tenantId}'\uFF0C\u9884\u671F '${input.actor.tenantId}'\uFF0C\u5DF2\u505C\u6B62\u4EE3\u7406`,
|
|
3100
|
-
context: {
|
|
3128
|
+
context: {
|
|
3129
|
+
mismatch: "tenant",
|
|
3130
|
+
actual: principal.tenantId,
|
|
3131
|
+
expected: input.actor.tenantId,
|
|
3132
|
+
nextStep: `hcm login --env ${input.actor.env} \u91CD\u65B0\u767B\u5F55\u6B63\u786E\u79DF\u6237`
|
|
3133
|
+
}
|
|
3101
3134
|
});
|
|
3102
3135
|
}
|
|
3103
3136
|
if (principal.impersonated || principal.actSub != null) {
|
|
@@ -3116,7 +3149,7 @@ async function startImpersonation(input) {
|
|
|
3116
3149
|
}
|
|
3117
3150
|
let targetUserId = input.target;
|
|
3118
3151
|
if (!UUID.test(targetUserId)) {
|
|
3119
|
-
const { data: data2 } = await http.post(
|
|
3152
|
+
const { data: data2 } = await http.post(USER_LOOKUP_PATH, {
|
|
3120
3153
|
filter: { field: "name", op: "eq", value: input.target },
|
|
3121
3154
|
fields: ["id", "name"],
|
|
3122
3155
|
page: 0,
|
|
@@ -7068,7 +7101,7 @@ async function deleteTenantMeta(http, path24) {
|
|
|
7068
7101
|
import yaml9 from "js-yaml";
|
|
7069
7102
|
|
|
7070
7103
|
// src/meta/generated/meta-schemas.ts
|
|
7071
|
-
var META_SCHEMA_SOURCE_COMMIT = "
|
|
7104
|
+
var META_SCHEMA_SOURCE_COMMIT = "9512b2124ea6cc36d91e9a6fdcd58bc153e74264";
|
|
7072
7105
|
var META_SCHEMAS = {
|
|
7073
7106
|
list: {
|
|
7074
7107
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -7087,82 +7120,536 @@ var META_SCHEMAS = {
|
|
|
7087
7120
|
"JsonNode": {
|
|
7088
7121
|
"type": "object"
|
|
7089
7122
|
},
|
|
7090
|
-
"
|
|
7091
|
-
"type": "object"
|
|
7092
|
-
},
|
|
7093
|
-
"Map(String,String)": {
|
|
7094
|
-
"type": "object"
|
|
7095
|
-
},
|
|
7096
|
-
"ServiceActionConfig": {
|
|
7097
|
-
"type": "object",
|
|
7098
|
-
"required": ["agentKey", "serviceKey"],
|
|
7099
|
-
"properties": {
|
|
7100
|
-
"agentKey": { "type": "string", "minLength": 1 },
|
|
7101
|
-
"serviceKey": { "type": "string", "minLength": 1 },
|
|
7102
|
-
"mode": { "type": "string", "enum": ["sync", "async"] },
|
|
7103
|
-
"timeoutMs": { "type": "integer", "minimum": 1e3 },
|
|
7104
|
-
"pollIntervalMs": { "type": "integer", "minimum": 100 }
|
|
7105
|
-
}
|
|
7106
|
-
},
|
|
7107
|
-
"ActionExecutionConfig": {
|
|
7108
|
-
"type": "object",
|
|
7109
|
-
"properties": {
|
|
7110
|
-
"returnOn": { "type": "string", "enum": ["terminal", "accepted"] }
|
|
7111
|
-
}
|
|
7112
|
-
},
|
|
7113
|
-
"CompositeActionConfig": {
|
|
7123
|
+
"ListActionMeta": {
|
|
7114
7124
|
"type": "object",
|
|
7115
|
-
"required": ["steps"],
|
|
7116
7125
|
"properties": {
|
|
7117
|
-
"
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7126
|
+
"after": {
|
|
7127
|
+
"type": "object",
|
|
7128
|
+
"properties": {
|
|
7129
|
+
"onBlock": {
|
|
7130
|
+
"type": "array",
|
|
7131
|
+
"items": {
|
|
7132
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7133
|
+
}
|
|
7134
|
+
},
|
|
7135
|
+
"onError": {
|
|
7136
|
+
"type": "array",
|
|
7137
|
+
"items": {
|
|
7138
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7139
|
+
}
|
|
7140
|
+
},
|
|
7141
|
+
"onEscalate": {
|
|
7142
|
+
"type": "array",
|
|
7143
|
+
"items": {
|
|
7144
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7145
|
+
}
|
|
7146
|
+
},
|
|
7147
|
+
"onFinally": {
|
|
7148
|
+
"type": "array",
|
|
7149
|
+
"items": {
|
|
7150
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7151
|
+
}
|
|
7152
|
+
},
|
|
7153
|
+
"onInfo": {
|
|
7154
|
+
"type": "array",
|
|
7155
|
+
"items": {
|
|
7156
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7157
|
+
}
|
|
7158
|
+
},
|
|
7159
|
+
"onPass": {
|
|
7160
|
+
"type": "array",
|
|
7161
|
+
"items": {
|
|
7162
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7163
|
+
}
|
|
7164
|
+
},
|
|
7165
|
+
"onSuccess": {
|
|
7166
|
+
"type": "array",
|
|
7167
|
+
"items": {
|
|
7168
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7169
|
+
}
|
|
7170
|
+
},
|
|
7171
|
+
"onWarn": {
|
|
7172
|
+
"type": "array",
|
|
7173
|
+
"items": {
|
|
7174
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7175
|
+
}
|
|
7176
|
+
}
|
|
7177
|
+
}
|
|
7178
|
+
},
|
|
7179
|
+
"api": {
|
|
7180
|
+
"type": "object",
|
|
7181
|
+
"properties": {
|
|
7182
|
+
"actionName": {
|
|
7183
|
+
"type": "string"
|
|
7184
|
+
},
|
|
7185
|
+
"awaitTask": {
|
|
7186
|
+
"type": "object",
|
|
7187
|
+
"properties": {
|
|
7188
|
+
"completionEventType": {
|
|
7189
|
+
"type": "string"
|
|
7190
|
+
},
|
|
7191
|
+
"completionStatus": {
|
|
7192
|
+
"type": "string"
|
|
7193
|
+
},
|
|
7194
|
+
"enabled": {
|
|
7195
|
+
"type": "boolean"
|
|
7196
|
+
},
|
|
7197
|
+
"pollIntervalMs": {
|
|
7198
|
+
"type": "integer"
|
|
7199
|
+
},
|
|
7200
|
+
"resultModel": {
|
|
7201
|
+
"type": "string"
|
|
7202
|
+
},
|
|
7203
|
+
"taskIdPath": {
|
|
7204
|
+
"type": "string"
|
|
7205
|
+
},
|
|
7206
|
+
"timeoutMs": {
|
|
7207
|
+
"type": "integer"
|
|
7131
7208
|
}
|
|
7132
7209
|
}
|
|
7133
|
-
|
|
7210
|
+
},
|
|
7211
|
+
"i18n": {
|
|
7212
|
+
"type": "boolean"
|
|
7213
|
+
},
|
|
7214
|
+
"idempotencyKeyInHeader": {
|
|
7215
|
+
"type": "boolean"
|
|
7216
|
+
},
|
|
7217
|
+
"method": {
|
|
7218
|
+
"type": "string"
|
|
7219
|
+
},
|
|
7220
|
+
"responseType": {
|
|
7221
|
+
"type": "string"
|
|
7222
|
+
},
|
|
7223
|
+
"silent": {
|
|
7224
|
+
"type": "boolean"
|
|
7225
|
+
},
|
|
7226
|
+
"successMessage": {
|
|
7227
|
+
"type": "string"
|
|
7228
|
+
},
|
|
7229
|
+
"target": {
|
|
7230
|
+
"type": "string"
|
|
7231
|
+
},
|
|
7232
|
+
"targetModel": {
|
|
7233
|
+
"type": "string"
|
|
7234
|
+
}
|
|
7134
7235
|
}
|
|
7135
|
-
}
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
"
|
|
7146
|
-
|
|
7147
|
-
"
|
|
7236
|
+
},
|
|
7237
|
+
"buttonType": {
|
|
7238
|
+
"type": "string"
|
|
7239
|
+
},
|
|
7240
|
+
"children": {
|
|
7241
|
+
"type": "array",
|
|
7242
|
+
"items": {
|
|
7243
|
+
"$ref": "#/$defs/ListActionMeta"
|
|
7244
|
+
}
|
|
7245
|
+
},
|
|
7246
|
+
"composite": {
|
|
7247
|
+
"type": "object",
|
|
7248
|
+
"properties": {
|
|
7249
|
+
"mode": {
|
|
7250
|
+
"type": "string"
|
|
7251
|
+
},
|
|
7252
|
+
"steps": {
|
|
7253
|
+
"type": "array",
|
|
7254
|
+
"items": {}
|
|
7255
|
+
},
|
|
7256
|
+
"stopOnError": {
|
|
7257
|
+
"type": "boolean"
|
|
7258
|
+
}
|
|
7259
|
+
}
|
|
7260
|
+
},
|
|
7261
|
+
"confirmPreview": {
|
|
7262
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7263
|
+
},
|
|
7264
|
+
"confirmText": {
|
|
7265
|
+
"type": "string"
|
|
7266
|
+
},
|
|
7267
|
+
"confirmTitle": {
|
|
7268
|
+
"type": "string"
|
|
7269
|
+
},
|
|
7270
|
+
"custom": {
|
|
7271
|
+
"type": "object",
|
|
7272
|
+
"properties": {
|
|
7273
|
+
"key": {
|
|
7274
|
+
"type": "string"
|
|
7275
|
+
},
|
|
7276
|
+
"options": {
|
|
7277
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7278
|
+
}
|
|
7279
|
+
}
|
|
7280
|
+
},
|
|
7281
|
+
"description": {
|
|
7282
|
+
"type": "string"
|
|
7283
|
+
},
|
|
7284
|
+
"dialog": {
|
|
7285
|
+
"type": "object",
|
|
7286
|
+
"properties": {
|
|
7287
|
+
"actionTarget": {
|
|
7288
|
+
"type": "string"
|
|
7289
|
+
},
|
|
7290
|
+
"component": {
|
|
7291
|
+
"type": "string"
|
|
7292
|
+
},
|
|
7293
|
+
"createDefaults": {
|
|
7294
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
7295
|
+
},
|
|
7296
|
+
"dialogType": {
|
|
7297
|
+
"type": "string"
|
|
7298
|
+
},
|
|
7299
|
+
"filterMapping": {
|
|
7300
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
7301
|
+
},
|
|
7302
|
+
"form": {
|
|
7303
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7304
|
+
},
|
|
7305
|
+
"i18n": {
|
|
7306
|
+
"type": "boolean"
|
|
7307
|
+
},
|
|
7308
|
+
"initDataMapping": {
|
|
7309
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
7310
|
+
},
|
|
7311
|
+
"listHeight": {
|
|
7312
|
+
"type": "string"
|
|
7313
|
+
},
|
|
7314
|
+
"listSelection": {
|
|
7315
|
+
"type": "boolean"
|
|
7316
|
+
},
|
|
7317
|
+
"plugin": {
|
|
7318
|
+
"type": "string"
|
|
7319
|
+
},
|
|
7320
|
+
"result": {
|
|
7321
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7322
|
+
},
|
|
7323
|
+
"showFilter": {
|
|
7324
|
+
"type": "boolean"
|
|
7325
|
+
},
|
|
7326
|
+
"showSearch": {
|
|
7327
|
+
"type": "boolean"
|
|
7328
|
+
},
|
|
7329
|
+
"targetAction": {
|
|
7330
|
+
"type": "string"
|
|
7331
|
+
},
|
|
7332
|
+
"targetModel": {
|
|
7333
|
+
"type": "string"
|
|
7334
|
+
},
|
|
7335
|
+
"targetState": {
|
|
7336
|
+
"type": "string"
|
|
7337
|
+
},
|
|
7338
|
+
"targetStateMapping": {
|
|
7339
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7340
|
+
},
|
|
7341
|
+
"title": {
|
|
7342
|
+
"type": "string"
|
|
7343
|
+
},
|
|
7344
|
+
"width": {
|
|
7345
|
+
"type": "string"
|
|
7346
|
+
}
|
|
7347
|
+
}
|
|
7348
|
+
},
|
|
7349
|
+
"disabled": {},
|
|
7350
|
+
"execution": {
|
|
7351
|
+
"type": "object",
|
|
7352
|
+
"properties": {
|
|
7353
|
+
"returnOn": {
|
|
7354
|
+
"type": "string"
|
|
7355
|
+
}
|
|
7356
|
+
}
|
|
7357
|
+
},
|
|
7358
|
+
"icon": {
|
|
7359
|
+
"type": "string"
|
|
7360
|
+
},
|
|
7361
|
+
"isDefault": {
|
|
7362
|
+
"type": "boolean"
|
|
7363
|
+
},
|
|
7364
|
+
"key": {
|
|
7365
|
+
"type": "string"
|
|
7366
|
+
},
|
|
7367
|
+
"label": {
|
|
7368
|
+
"type": "string"
|
|
7369
|
+
},
|
|
7370
|
+
"monitor": {
|
|
7371
|
+
"type": "object",
|
|
7372
|
+
"properties": {
|
|
7373
|
+
"scenario": {
|
|
7374
|
+
"type": "string"
|
|
7375
|
+
}
|
|
7376
|
+
}
|
|
7377
|
+
},
|
|
7378
|
+
"more": {
|
|
7379
|
+
"type": "boolean"
|
|
7380
|
+
},
|
|
7381
|
+
"navigate": {
|
|
7382
|
+
"type": "object",
|
|
7383
|
+
"properties": {
|
|
7384
|
+
"navigateType": {
|
|
7385
|
+
"type": "string"
|
|
7386
|
+
},
|
|
7387
|
+
"newWindow": {
|
|
7388
|
+
"type": "boolean"
|
|
7389
|
+
},
|
|
7390
|
+
"params": {
|
|
7391
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
7392
|
+
},
|
|
7393
|
+
"path": {
|
|
7394
|
+
"type": "string"
|
|
7395
|
+
},
|
|
7396
|
+
"query": {
|
|
7397
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
7398
|
+
},
|
|
7399
|
+
"routeName": {
|
|
7400
|
+
"type": "string"
|
|
7401
|
+
},
|
|
7402
|
+
"url": {
|
|
7403
|
+
"type": "string"
|
|
7404
|
+
}
|
|
7405
|
+
}
|
|
7406
|
+
},
|
|
7407
|
+
"needConfirm": {
|
|
7408
|
+
"type": "boolean"
|
|
7409
|
+
},
|
|
7410
|
+
"order": {
|
|
7411
|
+
"type": "integer"
|
|
7412
|
+
},
|
|
7413
|
+
"pageMode": {
|
|
7414
|
+
"type": "array",
|
|
7415
|
+
"items": {
|
|
7416
|
+
"type": "string"
|
|
7417
|
+
}
|
|
7418
|
+
},
|
|
7419
|
+
"params": {
|
|
7420
|
+
"type": "array",
|
|
7421
|
+
"items": {
|
|
7148
7422
|
"type": "object",
|
|
7149
7423
|
"properties": {
|
|
7150
|
-
"
|
|
7151
|
-
|
|
7152
|
-
"
|
|
7153
|
-
"$ref": "#/$defs/AfterHandler"
|
|
7154
|
-
}
|
|
7424
|
+
"defaultValue": {},
|
|
7425
|
+
"expr": {
|
|
7426
|
+
"type": "string"
|
|
7155
7427
|
},
|
|
7156
|
-
"
|
|
7157
|
-
"type": "
|
|
7158
|
-
"
|
|
7159
|
-
"
|
|
7428
|
+
"formRef": {
|
|
7429
|
+
"type": "object",
|
|
7430
|
+
"properties": {
|
|
7431
|
+
"fields": {
|
|
7432
|
+
"type": "array",
|
|
7433
|
+
"items": {
|
|
7434
|
+
"type": "string"
|
|
7435
|
+
}
|
|
7436
|
+
},
|
|
7437
|
+
"model": {
|
|
7438
|
+
"type": "string"
|
|
7439
|
+
}
|
|
7160
7440
|
}
|
|
7161
7441
|
},
|
|
7162
|
-
"
|
|
7163
|
-
"type": "
|
|
7164
|
-
"
|
|
7165
|
-
"
|
|
7442
|
+
"formSchema": {
|
|
7443
|
+
"type": "object",
|
|
7444
|
+
"properties": {
|
|
7445
|
+
"fields": {
|
|
7446
|
+
"type": "array",
|
|
7447
|
+
"items": {
|
|
7448
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7449
|
+
}
|
|
7450
|
+
},
|
|
7451
|
+
"submitLabel": {
|
|
7452
|
+
"type": "string"
|
|
7453
|
+
},
|
|
7454
|
+
"title": {
|
|
7455
|
+
"type": "string"
|
|
7456
|
+
},
|
|
7457
|
+
"width": {
|
|
7458
|
+
"type": "string"
|
|
7459
|
+
}
|
|
7460
|
+
}
|
|
7461
|
+
},
|
|
7462
|
+
"inputType": {
|
|
7463
|
+
"type": "string"
|
|
7464
|
+
},
|
|
7465
|
+
"into": {
|
|
7466
|
+
"type": "string"
|
|
7467
|
+
},
|
|
7468
|
+
"keyPath": {
|
|
7469
|
+
"type": "string"
|
|
7470
|
+
},
|
|
7471
|
+
"name": {
|
|
7472
|
+
"type": "string"
|
|
7473
|
+
},
|
|
7474
|
+
"path": {
|
|
7475
|
+
"type": "string"
|
|
7476
|
+
},
|
|
7477
|
+
"promptLabel": {
|
|
7478
|
+
"type": "string"
|
|
7479
|
+
},
|
|
7480
|
+
"promptText": {
|
|
7481
|
+
"type": "string"
|
|
7482
|
+
},
|
|
7483
|
+
"required": {
|
|
7484
|
+
"type": "boolean"
|
|
7485
|
+
},
|
|
7486
|
+
"source": {
|
|
7487
|
+
"type": "string",
|
|
7488
|
+
"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"
|
|
7489
|
+
},
|
|
7490
|
+
"value": {}
|
|
7491
|
+
}
|
|
7492
|
+
}
|
|
7493
|
+
},
|
|
7494
|
+
"position": {
|
|
7495
|
+
"type": "string"
|
|
7496
|
+
},
|
|
7497
|
+
"requiredPermission": {
|
|
7498
|
+
"type": "string"
|
|
7499
|
+
},
|
|
7500
|
+
"requiresEntityId": {
|
|
7501
|
+
"type": "boolean"
|
|
7502
|
+
},
|
|
7503
|
+
"script": {
|
|
7504
|
+
"type": "object",
|
|
7505
|
+
"properties": {
|
|
7506
|
+
"mode": {
|
|
7507
|
+
"type": "string"
|
|
7508
|
+
},
|
|
7509
|
+
"params": {
|
|
7510
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
7511
|
+
},
|
|
7512
|
+
"readOnly": {
|
|
7513
|
+
"type": "boolean"
|
|
7514
|
+
},
|
|
7515
|
+
"scriptKey": {
|
|
7516
|
+
"type": "string"
|
|
7517
|
+
},
|
|
7518
|
+
"timeout": {
|
|
7519
|
+
"type": "integer"
|
|
7520
|
+
}
|
|
7521
|
+
}
|
|
7522
|
+
},
|
|
7523
|
+
"service": {
|
|
7524
|
+
"type": "object",
|
|
7525
|
+
"properties": {
|
|
7526
|
+
"agentKey": {
|
|
7527
|
+
"type": "string"
|
|
7528
|
+
},
|
|
7529
|
+
"mode": {
|
|
7530
|
+
"type": "string"
|
|
7531
|
+
},
|
|
7532
|
+
"pollIntervalMs": {
|
|
7533
|
+
"type": "integer"
|
|
7534
|
+
},
|
|
7535
|
+
"serviceKey": {
|
|
7536
|
+
"type": "string"
|
|
7537
|
+
},
|
|
7538
|
+
"timeoutMs": {
|
|
7539
|
+
"type": "integer"
|
|
7540
|
+
}
|
|
7541
|
+
}
|
|
7542
|
+
},
|
|
7543
|
+
"type": {
|
|
7544
|
+
"type": "string"
|
|
7545
|
+
},
|
|
7546
|
+
"visible": {}
|
|
7547
|
+
}
|
|
7548
|
+
},
|
|
7549
|
+
"Map(String,Object)": {
|
|
7550
|
+
"type": "object"
|
|
7551
|
+
},
|
|
7552
|
+
"Map(String,String)": {
|
|
7553
|
+
"type": "object"
|
|
7554
|
+
},
|
|
7555
|
+
"ServiceActionConfig": {
|
|
7556
|
+
"type": "object",
|
|
7557
|
+
"required": ["agentKey", "serviceKey"],
|
|
7558
|
+
"properties": {
|
|
7559
|
+
"agentKey": {
|
|
7560
|
+
"type": "string",
|
|
7561
|
+
"minLength": 1
|
|
7562
|
+
},
|
|
7563
|
+
"serviceKey": {
|
|
7564
|
+
"type": "string",
|
|
7565
|
+
"minLength": 1
|
|
7566
|
+
},
|
|
7567
|
+
"mode": {
|
|
7568
|
+
"type": "string",
|
|
7569
|
+
"enum": ["sync", "async"]
|
|
7570
|
+
},
|
|
7571
|
+
"timeoutMs": {
|
|
7572
|
+
"type": "integer",
|
|
7573
|
+
"minimum": 1e3
|
|
7574
|
+
},
|
|
7575
|
+
"pollIntervalMs": {
|
|
7576
|
+
"type": "integer",
|
|
7577
|
+
"minimum": 100
|
|
7578
|
+
}
|
|
7579
|
+
}
|
|
7580
|
+
},
|
|
7581
|
+
"ActionExecutionConfig": {
|
|
7582
|
+
"type": "object",
|
|
7583
|
+
"properties": {
|
|
7584
|
+
"returnOn": {
|
|
7585
|
+
"type": "string",
|
|
7586
|
+
"enum": ["terminal", "accepted"]
|
|
7587
|
+
}
|
|
7588
|
+
}
|
|
7589
|
+
},
|
|
7590
|
+
"CompositeActionConfig": {
|
|
7591
|
+
"type": "object",
|
|
7592
|
+
"required": ["steps"],
|
|
7593
|
+
"properties": {
|
|
7594
|
+
"mode": {
|
|
7595
|
+
"type": "string",
|
|
7596
|
+
"enum": ["sequential", "parallel"]
|
|
7597
|
+
},
|
|
7598
|
+
"stopOnError": {
|
|
7599
|
+
"type": "boolean"
|
|
7600
|
+
},
|
|
7601
|
+
"steps": {
|
|
7602
|
+
"type": "array",
|
|
7603
|
+
"minItems": 1,
|
|
7604
|
+
"items": {
|
|
7605
|
+
"oneOf": [{
|
|
7606
|
+
"type": "string",
|
|
7607
|
+
"minLength": 1
|
|
7608
|
+
}, {
|
|
7609
|
+
"type": "object",
|
|
7610
|
+
"required": ["action"],
|
|
7611
|
+
"properties": {
|
|
7612
|
+
"action": {
|
|
7613
|
+
"type": ["string", "object"]
|
|
7614
|
+
},
|
|
7615
|
+
"saveAs": {
|
|
7616
|
+
"type": "string",
|
|
7617
|
+
"minLength": 1
|
|
7618
|
+
}
|
|
7619
|
+
}
|
|
7620
|
+
}]
|
|
7621
|
+
}
|
|
7622
|
+
}
|
|
7623
|
+
}
|
|
7624
|
+
}
|
|
7625
|
+
},
|
|
7626
|
+
"type": "object",
|
|
7627
|
+
"properties": {
|
|
7628
|
+
"actions": {
|
|
7629
|
+
"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",
|
|
7630
|
+
"type": "array",
|
|
7631
|
+
"items": {
|
|
7632
|
+
"type": "object",
|
|
7633
|
+
"properties": {
|
|
7634
|
+
"after": {
|
|
7635
|
+
"type": "object",
|
|
7636
|
+
"properties": {
|
|
7637
|
+
"onBlock": {
|
|
7638
|
+
"type": "array",
|
|
7639
|
+
"items": {
|
|
7640
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7641
|
+
}
|
|
7642
|
+
},
|
|
7643
|
+
"onError": {
|
|
7644
|
+
"type": "array",
|
|
7645
|
+
"items": {
|
|
7646
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7647
|
+
}
|
|
7648
|
+
},
|
|
7649
|
+
"onEscalate": {
|
|
7650
|
+
"type": "array",
|
|
7651
|
+
"items": {
|
|
7652
|
+
"$ref": "#/$defs/AfterHandler"
|
|
7166
7653
|
}
|
|
7167
7654
|
},
|
|
7168
7655
|
"onFinally": {
|
|
@@ -7232,6 +7719,9 @@ var META_SCHEMAS = {
|
|
|
7232
7719
|
"i18n": {
|
|
7233
7720
|
"type": "boolean"
|
|
7234
7721
|
},
|
|
7722
|
+
"idempotencyKeyInHeader": {
|
|
7723
|
+
"type": "boolean"
|
|
7724
|
+
},
|
|
7235
7725
|
"method": {
|
|
7236
7726
|
"type": "string"
|
|
7237
7727
|
},
|
|
@@ -7316,7 +7806,7 @@ var META_SCHEMAS = {
|
|
|
7316
7806
|
},
|
|
7317
7807
|
"result": {
|
|
7318
7808
|
"type": "object",
|
|
7319
|
-
"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",
|
|
7809
|
+
"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",
|
|
7320
7810
|
"properties": {
|
|
7321
7811
|
"display": {
|
|
7322
7812
|
"type": "string",
|
|
@@ -7328,7 +7818,127 @@ var META_SCHEMAS = {
|
|
|
7328
7818
|
},
|
|
7329
7819
|
"summaryField": {
|
|
7330
7820
|
"type": "string",
|
|
7331
|
-
"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\
|
|
7821
|
+
"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"
|
|
7822
|
+
},
|
|
7823
|
+
"runOnOpen": {
|
|
7824
|
+
"type": "boolean",
|
|
7825
|
+
"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"
|
|
7826
|
+
},
|
|
7827
|
+
"pagination": {
|
|
7828
|
+
"type": "object",
|
|
7829
|
+
"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",
|
|
7830
|
+
"properties": {
|
|
7831
|
+
"pageParam": {
|
|
7832
|
+
"type": "string"
|
|
7833
|
+
},
|
|
7834
|
+
"pageSizeParam": {
|
|
7835
|
+
"type": "string"
|
|
7836
|
+
},
|
|
7837
|
+
"totalPath": {
|
|
7838
|
+
"type": "string"
|
|
7839
|
+
},
|
|
7840
|
+
"totalLowerBoundPath": {
|
|
7841
|
+
"type": "string"
|
|
7842
|
+
},
|
|
7843
|
+
"pageBase": {
|
|
7844
|
+
"type": "integer",
|
|
7845
|
+
"enum": [0, 1]
|
|
7846
|
+
},
|
|
7847
|
+
"pageSize": {
|
|
7848
|
+
"type": "integer",
|
|
7849
|
+
"minimum": 1
|
|
7850
|
+
}
|
|
7851
|
+
},
|
|
7852
|
+
"required": ["pageParam", "pageSizeParam"]
|
|
7853
|
+
},
|
|
7854
|
+
"summaryFields": {
|
|
7855
|
+
"type": "array",
|
|
7856
|
+
"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",
|
|
7857
|
+
"items": {
|
|
7858
|
+
"type": "object",
|
|
7859
|
+
"properties": {
|
|
7860
|
+
"key": {
|
|
7861
|
+
"type": "string"
|
|
7862
|
+
},
|
|
7863
|
+
"label": {
|
|
7864
|
+
"type": "string"
|
|
7865
|
+
},
|
|
7866
|
+
"visible": {
|
|
7867
|
+
"type": "string"
|
|
7868
|
+
},
|
|
7869
|
+
"emptyText": {
|
|
7870
|
+
"type": "string",
|
|
7871
|
+
"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"
|
|
7872
|
+
},
|
|
7873
|
+
"format": {
|
|
7874
|
+
"type": "string",
|
|
7875
|
+
"enum": ["qrcode"],
|
|
7876
|
+
"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"
|
|
7877
|
+
}
|
|
7878
|
+
},
|
|
7879
|
+
"required": ["key", "label"]
|
|
7880
|
+
}
|
|
7881
|
+
},
|
|
7882
|
+
"rowActions": {
|
|
7883
|
+
"type": "array",
|
|
7884
|
+
"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",
|
|
7885
|
+
"items": {
|
|
7886
|
+
"type": "object",
|
|
7887
|
+
"properties": {
|
|
7888
|
+
"key": {
|
|
7889
|
+
"type": "string"
|
|
7890
|
+
},
|
|
7891
|
+
"label": {
|
|
7892
|
+
"type": "string"
|
|
7893
|
+
},
|
|
7894
|
+
"type": {
|
|
7895
|
+
"type": "string",
|
|
7896
|
+
"enum": ["api", "navigate"]
|
|
7897
|
+
},
|
|
7898
|
+
"targetModel": {
|
|
7899
|
+
"type": "string"
|
|
7900
|
+
},
|
|
7901
|
+
"actionName": {
|
|
7902
|
+
"type": "string"
|
|
7903
|
+
},
|
|
7904
|
+
"actionTarget": {
|
|
7905
|
+
"type": "string",
|
|
7906
|
+
"enum": ["class", "object"]
|
|
7907
|
+
},
|
|
7908
|
+
"method": {
|
|
7909
|
+
"type": "string",
|
|
7910
|
+
"enum": ["GET", "POST", "PUT", "DELETE"]
|
|
7911
|
+
},
|
|
7912
|
+
"visible": {
|
|
7913
|
+
"type": "string"
|
|
7914
|
+
},
|
|
7915
|
+
"needConfirm": {
|
|
7916
|
+
"type": "boolean"
|
|
7917
|
+
},
|
|
7918
|
+
"confirmTitle": {
|
|
7919
|
+
"type": "string"
|
|
7920
|
+
},
|
|
7921
|
+
"confirmText": {
|
|
7922
|
+
"type": "string"
|
|
7923
|
+
},
|
|
7924
|
+
"params": {
|
|
7925
|
+
"type": "object",
|
|
7926
|
+
"additionalProperties": {
|
|
7927
|
+
"type": "string"
|
|
7928
|
+
}
|
|
7929
|
+
},
|
|
7930
|
+
"idempotencyParam": {
|
|
7931
|
+
"type": "string"
|
|
7932
|
+
},
|
|
7933
|
+
"successMessage": {
|
|
7934
|
+
"type": "string"
|
|
7935
|
+
},
|
|
7936
|
+
"path": {
|
|
7937
|
+
"type": "string"
|
|
7938
|
+
}
|
|
7939
|
+
},
|
|
7940
|
+
"required": ["key", "label", "type"]
|
|
7941
|
+
}
|
|
7332
7942
|
}
|
|
7333
7943
|
}
|
|
7334
7944
|
},
|
|
@@ -7549,6 +8159,64 @@ var META_SCHEMAS = {
|
|
|
7549
8159
|
}
|
|
7550
8160
|
}
|
|
7551
8161
|
},
|
|
8162
|
+
"boundState": {
|
|
8163
|
+
"type": "string",
|
|
8164
|
+
"description": "\u8BF7\u6C42 state \u5B9E\u9645\u547D\u4E2D\u7684\u5217\u8868\u5C42\uFF1B\u5177\u540D\u5C42\u7F3A\u5931\u65F6\u4E3A default"
|
|
8165
|
+
},
|
|
8166
|
+
"capabilities": {
|
|
8167
|
+
"type": "object",
|
|
8168
|
+
"properties": {
|
|
8169
|
+
"bulkSelect": {
|
|
8170
|
+
"type": "boolean",
|
|
8171
|
+
"description": "\u662F\u5426\u652F\u6301\u6279\u91CF\u9009\u62E9(\u663E\u793A checkbox \u5217 + \u6279\u91CF\u6309\u94AE);aggregate v1 \u6052\u4E3A false"
|
|
8172
|
+
},
|
|
8173
|
+
"confirmPreview": {
|
|
8174
|
+
"type": "boolean",
|
|
8175
|
+
"description": "\u662F\u5426\u652F\u6301 confirmPreview \u7C7B Action;aggregate \u6052\u4E3A false(ListActionMeta.confirmPreview \u4F9D\u8D56 row.id)"
|
|
8176
|
+
},
|
|
8177
|
+
"export": {
|
|
8178
|
+
"type": "boolean",
|
|
8179
|
+
"description": "\u662F\u5426\u652F\u6301 /export \u7AEF\u70B9\u5BFC\u51FA\u5F53\u524D\u7ED3\u679C\u96C6;aggregate \u8DEF\u5F84\u652F\u6301,\u8BE6\u89C1 AC-C12"
|
|
8180
|
+
},
|
|
8181
|
+
"filter": {
|
|
8182
|
+
"type": "boolean",
|
|
8183
|
+
"description": "\u662F\u5426\u652F\u6301\u9876\u90E8 filter \u533A\u57DF(\u6761\u4EF6\u7B5B\u9009);\u9ED8\u8BA4 true"
|
|
8184
|
+
},
|
|
8185
|
+
"hardDelete": {
|
|
8186
|
+
"type": "boolean",
|
|
8187
|
+
"description": "\u662F\u5426\u652F\u6301\u884C\u7EA7\u786C\u5220\u9664;aggregate \u8DEF\u5F84\u6052\u4E3A false"
|
|
8188
|
+
},
|
|
8189
|
+
"inlineEdit": {
|
|
8190
|
+
"type": "boolean",
|
|
8191
|
+
"description": "\u662F\u5426\u652F\u6301\u884C\u5185\u7F16\u8F91(inline edit);aggregate \u8DEF\u5F84\u6052\u4E3A false(\u65E0 entity id \u65E0\u6CD5 UPDATE)"
|
|
8192
|
+
},
|
|
8193
|
+
"refresh": {
|
|
8194
|
+
"type": "boolean",
|
|
8195
|
+
"description": "\u662F\u5426\u652F\u6301\u624B\u52A8\u5237\u65B0\u6574\u5217\u8868;\u9ED8\u8BA4 true"
|
|
8196
|
+
},
|
|
8197
|
+
"rowHoverPreview": {
|
|
8198
|
+
"type": "boolean",
|
|
8199
|
+
"description": "\u662F\u5426\u652F\u6301\u884C hover \u62C9\u8BE6\u60C5\u9884\u89C8;aggregate v1 \u6052\u4E3A false(\u907F\u514D N+1 enrichment \u98CE\u66B4)"
|
|
8200
|
+
},
|
|
8201
|
+
"rowIdentity": {
|
|
8202
|
+
"type": "string",
|
|
8203
|
+
"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"
|
|
8204
|
+
},
|
|
8205
|
+
"rowSelection": {
|
|
8206
|
+
"type": "boolean",
|
|
8207
|
+
"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"
|
|
8208
|
+
},
|
|
8209
|
+
"softDelete": {
|
|
8210
|
+
"type": "boolean",
|
|
8211
|
+
"description": "\u662F\u5426\u652F\u6301\u884C\u7EA7\u8F6F\u5220\u9664;aggregate \u8DEF\u5F84\u6052\u4E3A false(\u65E0 entity id \u65E0\u6CD5 DELETE)"
|
|
8212
|
+
},
|
|
8213
|
+
"sort": {
|
|
8214
|
+
"type": "boolean",
|
|
8215
|
+
"description": "\u662F\u5426\u652F\u6301\u70B9\u51FB\u8868\u5934\u6392\u5E8F;\u9ED8\u8BA4 true"
|
|
8216
|
+
}
|
|
8217
|
+
},
|
|
8218
|
+
"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"
|
|
8219
|
+
},
|
|
7552
8220
|
"defaultSort": {
|
|
7553
8221
|
"description": "\u9ED8\u8BA4\u6392\u5E8F;\u5F62\u5982 [{field:'name',order:'asc'},...]\u3002\u5220\u9664\u8BF7\u7528 {__remove:true}",
|
|
7554
8222
|
"type": "array",
|
|
@@ -7560,6 +8228,17 @@ var META_SCHEMAS = {
|
|
|
7560
8228
|
"type": "string",
|
|
7561
8229
|
"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"
|
|
7562
8230
|
},
|
|
8231
|
+
"display": {
|
|
8232
|
+
"type": "object",
|
|
8233
|
+
"properties": {
|
|
8234
|
+
"showColumnBorder": {
|
|
8235
|
+
"type": "boolean",
|
|
8236
|
+
"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"
|
|
8237
|
+
}
|
|
8238
|
+
},
|
|
8239
|
+
"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",
|
|
8240
|
+
"additionalProperties": false
|
|
8241
|
+
},
|
|
7563
8242
|
"fields": {
|
|
7564
8243
|
"description": "\u5217\u8868\u5217\u5B9A\u4E49;Moirai patch-ops \u4E2D\u7531 spec.ops[] \u63A5\u7BA1,topPatches \u4E0D\u5E94\u518D\u5199 fields",
|
|
7565
8244
|
"type": "array",
|
|
@@ -7573,34 +8252,66 @@ var META_SCHEMAS = {
|
|
|
7573
8252
|
"autoGenerate": {
|
|
7574
8253
|
"type": "boolean"
|
|
7575
8254
|
},
|
|
8255
|
+
"clickActionKey": {
|
|
8256
|
+
"type": "string"
|
|
8257
|
+
},
|
|
8258
|
+
"codeRuleConfigurable": {
|
|
8259
|
+
"type": "boolean"
|
|
8260
|
+
},
|
|
8261
|
+
"component": {
|
|
8262
|
+
"type": "string"
|
|
8263
|
+
},
|
|
7576
8264
|
"field": {
|
|
7577
8265
|
"type": "string"
|
|
7578
8266
|
},
|
|
7579
8267
|
"filter": {
|
|
7580
8268
|
"type": "boolean"
|
|
7581
8269
|
},
|
|
8270
|
+
"fixed": {
|
|
8271
|
+
"type": "string",
|
|
8272
|
+
"description": "\u56FA\u5B9A\u5217\u65B9\u4F4D;\u4EC5\u5141\u8BB8 left \u6216 right",
|
|
8273
|
+
"enum": ["left", "right"]
|
|
8274
|
+
},
|
|
7582
8275
|
"format": {
|
|
7583
8276
|
"type": "string",
|
|
7584
8277
|
"enum": ["date", "datetime", "number"]
|
|
7585
8278
|
},
|
|
7586
8279
|
"formatOptions": {
|
|
7587
8280
|
"type": "object",
|
|
7588
|
-
"additionalProperties": false,
|
|
7589
8281
|
"properties": {
|
|
7590
|
-
"
|
|
7591
|
-
"type": "boolean"
|
|
7592
|
-
},
|
|
7593
|
-
"minimumFractionDigits": {
|
|
8282
|
+
"maximumFractionDigits": {
|
|
7594
8283
|
"type": "integer",
|
|
7595
8284
|
"minimum": 0,
|
|
7596
8285
|
"maximum": 20
|
|
7597
8286
|
},
|
|
7598
|
-
"
|
|
8287
|
+
"minimumFractionDigits": {
|
|
7599
8288
|
"type": "integer",
|
|
7600
8289
|
"minimum": 0,
|
|
7601
8290
|
"maximum": 20
|
|
8291
|
+
},
|
|
8292
|
+
"useGrouping": {
|
|
8293
|
+
"type": "boolean"
|
|
7602
8294
|
}
|
|
7603
|
-
}
|
|
8295
|
+
},
|
|
8296
|
+
"additionalProperties": false
|
|
8297
|
+
},
|
|
8298
|
+
"group": {
|
|
8299
|
+
"type": "object",
|
|
8300
|
+
"properties": {
|
|
8301
|
+
"key": {
|
|
8302
|
+
"type": "string",
|
|
8303
|
+
"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",
|
|
8304
|
+
"minLength": 1
|
|
8305
|
+
},
|
|
8306
|
+
"label": {
|
|
8307
|
+
"type": "string",
|
|
8308
|
+
"description": "\u5206\u7EC4\u8868\u5934\u663E\u793A\u6587\u672C",
|
|
8309
|
+
"minLength": 1
|
|
8310
|
+
}
|
|
8311
|
+
},
|
|
8312
|
+
"description": "\u4E8C\u7EA7\u5206\u7EC4\u8868\u5934;\u76F8\u90BB\u4E14 group.key \u76F8\u540C\u7684\u53F6\u5B50\u5217\u5408\u5E76\u5C55\u793A",
|
|
8313
|
+
"required": ["key", "label"],
|
|
8314
|
+
"additionalProperties": false
|
|
7604
8315
|
},
|
|
7605
8316
|
"helpText": {
|
|
7606
8317
|
"type": "string",
|
|
@@ -7618,9 +8329,15 @@ var META_SCHEMAS = {
|
|
|
7618
8329
|
"minWidth": {
|
|
7619
8330
|
"type": "string"
|
|
7620
8331
|
},
|
|
8332
|
+
"options": {
|
|
8333
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8334
|
+
},
|
|
7621
8335
|
"order": {
|
|
7622
8336
|
"type": "integer"
|
|
7623
8337
|
},
|
|
8338
|
+
"readonly": {
|
|
8339
|
+
"type": "boolean"
|
|
8340
|
+
},
|
|
7624
8341
|
"render": {
|
|
7625
8342
|
"$ref": "#/$defs/Map(String,Object)"
|
|
7626
8343
|
},
|
|
@@ -7694,24 +8411,84 @@ var META_SCHEMAS = {
|
|
|
7694
8411
|
},
|
|
7695
8412
|
"description": "\u5217\u8868\u5916\u5C42\u5E03\u5C40,\u5982 tree-list(\u5DE6\u6811\u53F3\u5217\u8868)\u3002\u8BE6\u89C1 ListLayout \u7C7B\u578B"
|
|
7696
8413
|
},
|
|
8414
|
+
"mobileCard": {
|
|
8415
|
+
"type": "object",
|
|
8416
|
+
"properties": {
|
|
8417
|
+
"subtitle": {
|
|
8418
|
+
"type": "string",
|
|
8419
|
+
"description": "\u5361\u7247\u526F\u6807\u9898\u5B57\u6BB5 key\uFF0C\u53EF\u9009",
|
|
8420
|
+
"minLength": 1
|
|
8421
|
+
},
|
|
8422
|
+
"tag": {
|
|
8423
|
+
"type": "string",
|
|
8424
|
+
"description": "\u5361\u7247\u6807\u7B7E\u5B57\u6BB5 key\uFF0C\u53EF\u9009",
|
|
8425
|
+
"minLength": 1
|
|
8426
|
+
},
|
|
8427
|
+
"title": {
|
|
8428
|
+
"type": "string",
|
|
8429
|
+
"description": "\u5361\u7247\u4E3B\u6807\u9898\u5B57\u6BB5 key\uFF0C\u5FC5\u987B\u547D\u4E2D\u540C\u4E00\u5217\u8868 fields[].key",
|
|
8430
|
+
"minLength": 1
|
|
8431
|
+
},
|
|
8432
|
+
"value": {
|
|
8433
|
+
"type": "string",
|
|
8434
|
+
"description": "\u5361\u7247\u53F3\u4FA7\u6570\u503C\u5B57\u6BB5 key\uFF0C\u53EF\u9009",
|
|
8435
|
+
"minLength": 1
|
|
8436
|
+
}
|
|
8437
|
+
},
|
|
8438
|
+
"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",
|
|
8439
|
+
"required": ["title"],
|
|
8440
|
+
"additionalProperties": false
|
|
8441
|
+
},
|
|
7697
8442
|
"name": {
|
|
7698
8443
|
"type": "string",
|
|
7699
8444
|
"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'
|
|
7700
8445
|
},
|
|
7701
|
-
"
|
|
8446
|
+
"readOnly": {
|
|
7702
8447
|
"type": "boolean",
|
|
7703
|
-
"description": "\
|
|
8448
|
+
"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"
|
|
7704
8449
|
},
|
|
7705
|
-
"
|
|
8450
|
+
"scopeSwitch": {
|
|
7706
8451
|
"type": "object",
|
|
7707
|
-
"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",
|
|
7708
|
-
"additionalProperties": false,
|
|
7709
8452
|
"properties": {
|
|
7710
|
-
"
|
|
7711
|
-
"type": "
|
|
7712
|
-
"description": "\
|
|
8453
|
+
"default": {
|
|
8454
|
+
"type": "string",
|
|
8455
|
+
"description": "\u9ED8\u8BA4\u9009\u4E2D\u9879\u7684 key;\u5FC5\u987B\u547D\u4E2D options \u91CC\u7684\u67D0\u4E2A key",
|
|
8456
|
+
"minLength": 1
|
|
8457
|
+
},
|
|
8458
|
+
"options": {
|
|
8459
|
+
"description": "\u8303\u56F4\u9009\u9879;\u6BCF\u9879 {key,label,filter?},filter \u7F3A\u7701\u8868\u793A\u8BE5\u9879\u4E0D\u8FFD\u52A0\u8FC7\u6EE4",
|
|
8460
|
+
"type": "array",
|
|
8461
|
+
"items": {
|
|
8462
|
+
"type": "object",
|
|
8463
|
+
"properties": {
|
|
8464
|
+
"filter": {
|
|
8465
|
+
"$ref": "#/$defs/JsonNode",
|
|
8466
|
+
"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"
|
|
8467
|
+
},
|
|
8468
|
+
"key": {
|
|
8469
|
+
"type": "string",
|
|
8470
|
+
"description": "\u9009\u9879\u6807\u8BC6;\u524D\u7AEF\u4E0B\u62C9\u7684 value,\u4E5F\u662F\u8DEF\u7531 query scope= \u7684\u5B57\u9762\u91CF",
|
|
8471
|
+
"minLength": 1
|
|
8472
|
+
},
|
|
8473
|
+
"label": {
|
|
8474
|
+
"type": "string",
|
|
8475
|
+
"description": "\u9009\u9879\u663E\u793A\u540D(\u5982\u300C\u6211\u53EF\u7528\u7684\u300D/\u300C\u6211\u53EF\u7BA1\u7406\u7684\u300D)",
|
|
8476
|
+
"minLength": 1
|
|
8477
|
+
}
|
|
8478
|
+
},
|
|
8479
|
+
"additionalProperties": false,
|
|
8480
|
+
"required": ["key", "label"]
|
|
8481
|
+
},
|
|
8482
|
+
"minItems": 1
|
|
7713
8483
|
}
|
|
7714
|
-
}
|
|
8484
|
+
},
|
|
8485
|
+
"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)",
|
|
8486
|
+
"additionalProperties": false,
|
|
8487
|
+
"required": ["default", "options"]
|
|
8488
|
+
},
|
|
8489
|
+
"selectable": {
|
|
8490
|
+
"type": "boolean",
|
|
8491
|
+
"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"
|
|
7715
8492
|
},
|
|
7716
8493
|
"serverFilter": {
|
|
7717
8494
|
"$ref": "#/$defs/JsonNode",
|
|
@@ -7719,14 +8496,46 @@ var META_SCHEMAS = {
|
|
|
7719
8496
|
},
|
|
7720
8497
|
"statBar": {
|
|
7721
8498
|
"type": "object",
|
|
7722
|
-
"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",
|
|
7723
|
-
"additionalProperties": false,
|
|
7724
|
-
"required": ["groupField"],
|
|
7725
8499
|
"properties": {
|
|
8500
|
+
"defaultValue": {
|
|
8501
|
+
"type": ["string", "null"],
|
|
8502
|
+
"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"
|
|
8503
|
+
},
|
|
7726
8504
|
"groupField": {
|
|
7727
8505
|
"type": "string",
|
|
7728
8506
|
"description": "\u5206\u7EC4\u5B57\u6BB5 key,\u987B\u4E0E\u5217\u8868\u7684\u8FC7\u6EE4/\u663E\u793A\u5B57\u6BB5\u4E00\u81F4"
|
|
7729
8507
|
},
|
|
8508
|
+
"optionSource": {
|
|
8509
|
+
"$ref": "#/$defs/Map(String,Object)",
|
|
8510
|
+
"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",
|
|
8511
|
+
"type": "object",
|
|
8512
|
+
"additionalProperties": false,
|
|
8513
|
+
"required": ["type", "model", "action"],
|
|
8514
|
+
"properties": {
|
|
8515
|
+
"type": {
|
|
8516
|
+
"const": "action"
|
|
8517
|
+
},
|
|
8518
|
+
"model": {
|
|
8519
|
+
"type": "string",
|
|
8520
|
+
"minLength": 1
|
|
8521
|
+
},
|
|
8522
|
+
"action": {
|
|
8523
|
+
"type": "string",
|
|
8524
|
+
"minLength": 1
|
|
8525
|
+
},
|
|
8526
|
+
"labelField": {
|
|
8527
|
+
"type": "string",
|
|
8528
|
+
"minLength": 1
|
|
8529
|
+
},
|
|
8530
|
+
"valueField": {
|
|
8531
|
+
"type": "string",
|
|
8532
|
+
"minLength": 1
|
|
8533
|
+
},
|
|
8534
|
+
"params": {
|
|
8535
|
+
"$ref": "#/$defs/JsonNode"
|
|
8536
|
+
}
|
|
8537
|
+
}
|
|
8538
|
+
},
|
|
7730
8539
|
"showAll": {
|
|
7731
8540
|
"type": "boolean",
|
|
7732
8541
|
"description": "\u662F\u5426\u663E\u793A\u300C\u5168\u90E8\u300DTab(\u9ED8\u8BA4 true)"
|
|
@@ -7734,36 +8543,30 @@ var META_SCHEMAS = {
|
|
|
7734
8543
|
"showEmptyGroups": {
|
|
7735
8544
|
"type": "boolean",
|
|
7736
8545
|
"description": "\u662F\u5426\u663E\u793A\u8BA1\u6570\u4E3A 0 \u7684\u5DF2\u77E5\u5206\u7EC4(\u9ED8\u8BA4 false)"
|
|
7737
|
-
},
|
|
7738
|
-
"defaultValue": {
|
|
7739
|
-
"type": ["string", "null"],
|
|
7740
|
-
"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"
|
|
7741
8546
|
}
|
|
7742
|
-
}
|
|
8547
|
+
},
|
|
8548
|
+
"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",
|
|
8549
|
+
"additionalProperties": false,
|
|
8550
|
+
"required": ["groupField"]
|
|
7743
8551
|
},
|
|
7744
8552
|
"toolbar": {
|
|
7745
8553
|
"type": "object",
|
|
7746
|
-
"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",
|
|
7747
|
-
"additionalProperties": false,
|
|
7748
8554
|
"properties": {
|
|
7749
|
-
"search": {
|
|
7750
|
-
"type": "string",
|
|
7751
|
-
"enum": ["keyword", "ai", "none"],
|
|
7752
|
-
"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)"
|
|
7753
|
-
},
|
|
7754
8555
|
"aiSearchExamples": {
|
|
8556
|
+
"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",
|
|
7755
8557
|
"type": "array",
|
|
7756
|
-
"items": {
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
"filterButton": {
|
|
7760
|
-
"type": "boolean",
|
|
7761
|
-
"description": "\u662F\u5426\u663E\u793A\u300C\u7B5B\u9009\u5B57\u6BB5\u300D\u6309\u94AE\u4E0E\u5DF2\u5E94\u7528\u6761\u4EF6 bar(\u9ED8\u8BA4 true)"
|
|
8558
|
+
"items": {
|
|
8559
|
+
"type": "string"
|
|
8560
|
+
}
|
|
7762
8561
|
},
|
|
7763
8562
|
"density": {
|
|
7764
8563
|
"type": "boolean",
|
|
7765
8564
|
"description": "\u662F\u5426\u663E\u793A\u5BC6\u5EA6(\u884C\u8DDD)\u4E0B\u62C9(\u9ED8\u8BA4 true)"
|
|
7766
8565
|
},
|
|
8566
|
+
"filterButton": {
|
|
8567
|
+
"type": "boolean",
|
|
8568
|
+
"description": "\u662F\u5426\u663E\u793A\u300C\u7B5B\u9009\u5B57\u6BB5\u300D\u6309\u94AE\u4E0E\u5DF2\u5E94\u7528\u6761\u4EF6 bar(\u9ED8\u8BA4 true)"
|
|
8569
|
+
},
|
|
7767
8570
|
"refresh": {
|
|
7768
8571
|
"type": "boolean",
|
|
7769
8572
|
"description": "\u662F\u5426\u663E\u793A\u5237\u65B0\u6309\u94AE(\u9ED8\u8BA4 true)"
|
|
@@ -7771,8 +8574,15 @@ var META_SCHEMAS = {
|
|
|
7771
8574
|
"resetLayout": {
|
|
7772
8575
|
"type": "boolean",
|
|
7773
8576
|
"description": "\u662F\u5426\u663E\u793A\u300C\u6062\u590D\u9ED8\u8BA4\u5E03\u5C40\u300D\u6309\u94AE(\u9ED8\u8BA4 true)"
|
|
8577
|
+
},
|
|
8578
|
+
"search": {
|
|
8579
|
+
"type": "string",
|
|
8580
|
+
"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)",
|
|
8581
|
+
"enum": ["keyword", "ai", "none"]
|
|
7774
8582
|
}
|
|
7775
|
-
}
|
|
8583
|
+
},
|
|
8584
|
+
"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",
|
|
8585
|
+
"additionalProperties": false
|
|
7776
8586
|
}
|
|
7777
8587
|
}
|
|
7778
8588
|
},
|
|
@@ -7793,64 +8603,120 @@ var META_SCHEMAS = {
|
|
|
7793
8603
|
"Map(String,Object)": {
|
|
7794
8604
|
"type": "object"
|
|
7795
8605
|
},
|
|
8606
|
+
"Map(String,String)": {
|
|
8607
|
+
"type": "object"
|
|
8608
|
+
},
|
|
7796
8609
|
"ParamConfig": {
|
|
7797
8610
|
"type": "object",
|
|
7798
8611
|
"required": ["name", "source"],
|
|
7799
8612
|
"properties": {
|
|
7800
|
-
"name": {
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
8613
|
+
"name": {
|
|
8614
|
+
"type": "string",
|
|
8615
|
+
"minLength": 1
|
|
8616
|
+
},
|
|
8617
|
+
"source": {
|
|
8618
|
+
"type": "string"
|
|
8619
|
+
},
|
|
8620
|
+
"path": {
|
|
8621
|
+
"type": "string"
|
|
8622
|
+
},
|
|
8623
|
+
"keyPath": {
|
|
8624
|
+
"type": "string"
|
|
8625
|
+
},
|
|
7804
8626
|
"value": {},
|
|
7805
|
-
"expr": {
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
"
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
"
|
|
8627
|
+
"expr": {
|
|
8628
|
+
"type": "string"
|
|
8629
|
+
},
|
|
8630
|
+
"promptText": {
|
|
8631
|
+
"type": "string"
|
|
8632
|
+
},
|
|
8633
|
+
"promptLabel": {
|
|
8634
|
+
"type": "string"
|
|
8635
|
+
},
|
|
8636
|
+
"inputType": {
|
|
8637
|
+
"type": "string"
|
|
8638
|
+
},
|
|
8639
|
+
"formSchema": {
|
|
8640
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8641
|
+
},
|
|
8642
|
+
"formRef": {
|
|
8643
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8644
|
+
},
|
|
8645
|
+
"required": {
|
|
8646
|
+
"type": "boolean"
|
|
8647
|
+
},
|
|
7812
8648
|
"defaultValue": {},
|
|
7813
|
-
"into": {
|
|
8649
|
+
"into": {
|
|
8650
|
+
"type": "string"
|
|
8651
|
+
}
|
|
7814
8652
|
}
|
|
7815
8653
|
},
|
|
7816
8654
|
"ServiceActionConfig": {
|
|
7817
8655
|
"type": "object",
|
|
7818
8656
|
"required": ["agentKey", "serviceKey"],
|
|
7819
8657
|
"properties": {
|
|
7820
|
-
"agentKey": {
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
"
|
|
8658
|
+
"agentKey": {
|
|
8659
|
+
"type": "string",
|
|
8660
|
+
"minLength": 1
|
|
8661
|
+
},
|
|
8662
|
+
"serviceKey": {
|
|
8663
|
+
"type": "string",
|
|
8664
|
+
"minLength": 1
|
|
8665
|
+
},
|
|
8666
|
+
"mode": {
|
|
8667
|
+
"type": "string",
|
|
8668
|
+
"enum": ["sync", "async"]
|
|
8669
|
+
},
|
|
8670
|
+
"timeoutMs": {
|
|
8671
|
+
"type": "integer",
|
|
8672
|
+
"minimum": 1e3
|
|
8673
|
+
},
|
|
8674
|
+
"pollIntervalMs": {
|
|
8675
|
+
"type": "integer",
|
|
8676
|
+
"minimum": 100
|
|
8677
|
+
}
|
|
7825
8678
|
}
|
|
7826
8679
|
},
|
|
7827
8680
|
"ActionExecutionConfig": {
|
|
7828
8681
|
"type": "object",
|
|
7829
8682
|
"properties": {
|
|
7830
|
-
"returnOn": {
|
|
8683
|
+
"returnOn": {
|
|
8684
|
+
"type": "string",
|
|
8685
|
+
"enum": ["terminal", "accepted"]
|
|
8686
|
+
}
|
|
7831
8687
|
}
|
|
7832
8688
|
},
|
|
7833
8689
|
"CompositeActionConfig": {
|
|
7834
8690
|
"type": "object",
|
|
7835
8691
|
"required": ["steps"],
|
|
7836
8692
|
"properties": {
|
|
7837
|
-
"mode": {
|
|
7838
|
-
|
|
8693
|
+
"mode": {
|
|
8694
|
+
"type": "string",
|
|
8695
|
+
"enum": ["sequential", "parallel"]
|
|
8696
|
+
},
|
|
8697
|
+
"stopOnError": {
|
|
8698
|
+
"type": "boolean"
|
|
8699
|
+
},
|
|
7839
8700
|
"steps": {
|
|
7840
8701
|
"type": "array",
|
|
7841
8702
|
"minItems": 1,
|
|
7842
8703
|
"items": {
|
|
7843
|
-
"oneOf": [
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
8704
|
+
"oneOf": [{
|
|
8705
|
+
"type": "string",
|
|
8706
|
+
"minLength": 1
|
|
8707
|
+
}, {
|
|
8708
|
+
"type": "object",
|
|
8709
|
+
"required": ["action"],
|
|
8710
|
+
"properties": {
|
|
8711
|
+
"action": {
|
|
8712
|
+
"type": ["string", "object"]
|
|
8713
|
+
},
|
|
8714
|
+
"saveAs": {
|
|
8715
|
+
"type": "string",
|
|
8716
|
+
"minLength": 1
|
|
7851
8717
|
}
|
|
7852
8718
|
}
|
|
7853
|
-
]
|
|
8719
|
+
}]
|
|
7854
8720
|
}
|
|
7855
8721
|
}
|
|
7856
8722
|
}
|
|
@@ -7952,6 +8818,9 @@ var META_SCHEMAS = {
|
|
|
7952
8818
|
"i18n": {
|
|
7953
8819
|
"type": "boolean"
|
|
7954
8820
|
},
|
|
8821
|
+
"idempotencyKeyInHeader": {
|
|
8822
|
+
"type": "boolean"
|
|
8823
|
+
},
|
|
7955
8824
|
"method": {
|
|
7956
8825
|
"type": "string"
|
|
7957
8826
|
},
|
|
@@ -7972,28 +8841,93 @@ var META_SCHEMAS = {
|
|
|
7972
8841
|
}
|
|
7973
8842
|
}
|
|
7974
8843
|
},
|
|
8844
|
+
"buttonType": {
|
|
8845
|
+
"type": "string"
|
|
8846
|
+
},
|
|
8847
|
+
"composite": {
|
|
8848
|
+
"type": "object",
|
|
8849
|
+
"properties": {
|
|
8850
|
+
"mode": {
|
|
8851
|
+
"type": "string"
|
|
8852
|
+
},
|
|
8853
|
+
"steps": {
|
|
8854
|
+
"type": "array",
|
|
8855
|
+
"items": {}
|
|
8856
|
+
},
|
|
8857
|
+
"stopOnError": {
|
|
8858
|
+
"type": "boolean"
|
|
8859
|
+
}
|
|
8860
|
+
},
|
|
8861
|
+
"$ref": "#/$defs/CompositeActionConfig"
|
|
8862
|
+
},
|
|
8863
|
+
"confirmText": {
|
|
8864
|
+
"type": "string"
|
|
8865
|
+
},
|
|
8866
|
+
"confirmTitle": {
|
|
8867
|
+
"type": "string"
|
|
8868
|
+
},
|
|
7975
8869
|
"dialog": {
|
|
7976
8870
|
"type": "object",
|
|
7977
8871
|
"properties": {
|
|
8872
|
+
"actionTarget": {
|
|
8873
|
+
"type": "string"
|
|
8874
|
+
},
|
|
8875
|
+
"component": {
|
|
8876
|
+
"type": "string"
|
|
8877
|
+
},
|
|
8878
|
+
"createDefaults": {
|
|
8879
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
8880
|
+
},
|
|
7978
8881
|
"dialogType": {
|
|
7979
8882
|
"type": "string"
|
|
7980
8883
|
},
|
|
7981
|
-
"
|
|
7982
|
-
"
|
|
7983
|
-
|
|
8884
|
+
"filterMapping": {
|
|
8885
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
8886
|
+
},
|
|
8887
|
+
"form": {
|
|
8888
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8889
|
+
},
|
|
8890
|
+
"i18n": {
|
|
8891
|
+
"type": "boolean"
|
|
7984
8892
|
},
|
|
7985
8893
|
"initDataMapping": {
|
|
8894
|
+
"$ref": "#/$defs/Map(String,String)",
|
|
7986
8895
|
"type": "object",
|
|
7987
8896
|
"additionalProperties": {
|
|
7988
8897
|
"type": "string"
|
|
7989
8898
|
}
|
|
7990
8899
|
},
|
|
8900
|
+
"listHeight": {
|
|
8901
|
+
"type": "string"
|
|
8902
|
+
},
|
|
8903
|
+
"listSelection": {
|
|
8904
|
+
"type": "boolean",
|
|
8905
|
+
"description": "dialogType=list \u65F6\u662F\u5426\u663E\u793A\u884C\u9009\u62E9\u6846\uFF0C\u9ED8\u8BA4 true"
|
|
8906
|
+
},
|
|
8907
|
+
"plugin": {
|
|
8908
|
+
"type": "string"
|
|
8909
|
+
},
|
|
8910
|
+
"result": {
|
|
8911
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8912
|
+
},
|
|
8913
|
+
"showFilter": {
|
|
8914
|
+
"type": "boolean"
|
|
8915
|
+
},
|
|
8916
|
+
"showSearch": {
|
|
8917
|
+
"type": "boolean"
|
|
8918
|
+
},
|
|
8919
|
+
"targetAction": {
|
|
8920
|
+
"type": "string"
|
|
8921
|
+
},
|
|
7991
8922
|
"targetModel": {
|
|
7992
8923
|
"type": "string"
|
|
7993
8924
|
},
|
|
7994
8925
|
"targetState": {
|
|
7995
8926
|
"type": "string"
|
|
7996
8927
|
},
|
|
8928
|
+
"targetStateMapping": {
|
|
8929
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
8930
|
+
},
|
|
7997
8931
|
"title": {
|
|
7998
8932
|
"type": "string"
|
|
7999
8933
|
},
|
|
@@ -8002,14 +8936,14 @@ var META_SCHEMAS = {
|
|
|
8002
8936
|
}
|
|
8003
8937
|
}
|
|
8004
8938
|
},
|
|
8005
|
-
"
|
|
8006
|
-
"type": "
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
"
|
|
8939
|
+
"execution": {
|
|
8940
|
+
"type": "object",
|
|
8941
|
+
"properties": {
|
|
8942
|
+
"returnOn": {
|
|
8943
|
+
"type": "string"
|
|
8944
|
+
}
|
|
8945
|
+
},
|
|
8946
|
+
"$ref": "#/$defs/ActionExecutionConfig"
|
|
8013
8947
|
},
|
|
8014
8948
|
"icon": {
|
|
8015
8949
|
"type": "string"
|
|
@@ -8031,19 +8965,104 @@ var META_SCHEMAS = {
|
|
|
8031
8965
|
}
|
|
8032
8966
|
}
|
|
8033
8967
|
},
|
|
8034
|
-
"more": {
|
|
8035
|
-
"type": "boolean"
|
|
8036
|
-
},
|
|
8037
|
-
"needConfirm": {
|
|
8038
|
-
"type": "boolean"
|
|
8039
|
-
},
|
|
8040
|
-
"order": {
|
|
8041
|
-
"type": "integer"
|
|
8042
|
-
},
|
|
8968
|
+
"more": {
|
|
8969
|
+
"type": "boolean"
|
|
8970
|
+
},
|
|
8971
|
+
"needConfirm": {
|
|
8972
|
+
"type": "boolean"
|
|
8973
|
+
},
|
|
8974
|
+
"order": {
|
|
8975
|
+
"type": "integer"
|
|
8976
|
+
},
|
|
8977
|
+
"pageMode": {
|
|
8978
|
+
"type": "array",
|
|
8979
|
+
"items": {
|
|
8980
|
+
"type": "string"
|
|
8981
|
+
}
|
|
8982
|
+
},
|
|
8983
|
+
"params": {
|
|
8984
|
+
"type": "array",
|
|
8985
|
+
"items": {
|
|
8986
|
+
"type": "object",
|
|
8987
|
+
"properties": {
|
|
8988
|
+
"defaultValue": {},
|
|
8989
|
+
"expr": {
|
|
8990
|
+
"type": "string"
|
|
8991
|
+
},
|
|
8992
|
+
"formRef": {
|
|
8993
|
+
"type": "object",
|
|
8994
|
+
"properties": {
|
|
8995
|
+
"fields": {
|
|
8996
|
+
"type": "array",
|
|
8997
|
+
"items": {
|
|
8998
|
+
"type": "string"
|
|
8999
|
+
}
|
|
9000
|
+
},
|
|
9001
|
+
"model": {
|
|
9002
|
+
"type": "string"
|
|
9003
|
+
}
|
|
9004
|
+
}
|
|
9005
|
+
},
|
|
9006
|
+
"formSchema": {
|
|
9007
|
+
"type": "object",
|
|
9008
|
+
"properties": {
|
|
9009
|
+
"fields": {
|
|
9010
|
+
"type": "array",
|
|
9011
|
+
"items": {
|
|
9012
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
9013
|
+
}
|
|
9014
|
+
},
|
|
9015
|
+
"submitLabel": {
|
|
9016
|
+
"type": "string"
|
|
9017
|
+
},
|
|
9018
|
+
"title": {
|
|
9019
|
+
"type": "string"
|
|
9020
|
+
},
|
|
9021
|
+
"width": {
|
|
9022
|
+
"type": "string"
|
|
9023
|
+
}
|
|
9024
|
+
}
|
|
9025
|
+
},
|
|
9026
|
+
"inputType": {
|
|
9027
|
+
"type": "string"
|
|
9028
|
+
},
|
|
9029
|
+
"into": {
|
|
9030
|
+
"type": "string"
|
|
9031
|
+
},
|
|
9032
|
+
"keyPath": {
|
|
9033
|
+
"type": "string"
|
|
9034
|
+
},
|
|
9035
|
+
"name": {
|
|
9036
|
+
"type": "string"
|
|
9037
|
+
},
|
|
9038
|
+
"path": {
|
|
9039
|
+
"type": "string"
|
|
9040
|
+
},
|
|
9041
|
+
"promptLabel": {
|
|
9042
|
+
"type": "string"
|
|
9043
|
+
},
|
|
9044
|
+
"promptText": {
|
|
9045
|
+
"type": "string"
|
|
9046
|
+
},
|
|
9047
|
+
"required": {
|
|
9048
|
+
"type": "boolean"
|
|
9049
|
+
},
|
|
9050
|
+
"source": {
|
|
9051
|
+
"type": "string",
|
|
9052
|
+
"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"
|
|
9053
|
+
},
|
|
9054
|
+
"value": {}
|
|
9055
|
+
},
|
|
9056
|
+
"$ref": "#/$defs/ParamConfig"
|
|
9057
|
+
}
|
|
9058
|
+
},
|
|
8043
9059
|
"position": {
|
|
8044
9060
|
"type": "string",
|
|
8045
9061
|
"enum": ["footer-left", "footer-right"]
|
|
8046
9062
|
},
|
|
9063
|
+
"requiredPermission": {
|
|
9064
|
+
"type": "string"
|
|
9065
|
+
},
|
|
8047
9066
|
"script": {
|
|
8048
9067
|
"type": "object",
|
|
8049
9068
|
"properties": {
|
|
@@ -8053,6 +9072,9 @@ var META_SCHEMAS = {
|
|
|
8053
9072
|
"params": {
|
|
8054
9073
|
"$ref": "#/$defs/Map(String,Object)"
|
|
8055
9074
|
},
|
|
9075
|
+
"readOnly": {
|
|
9076
|
+
"type": "boolean"
|
|
9077
|
+
},
|
|
8056
9078
|
"scriptKey": {
|
|
8057
9079
|
"type": "string"
|
|
8058
9080
|
},
|
|
@@ -8061,19 +9083,27 @@ var META_SCHEMAS = {
|
|
|
8061
9083
|
}
|
|
8062
9084
|
}
|
|
8063
9085
|
},
|
|
8064
|
-
"params": {
|
|
8065
|
-
"type": "array",
|
|
8066
|
-
"items": { "$ref": "#/$defs/ParamConfig" }
|
|
8067
|
-
},
|
|
8068
9086
|
"service": {
|
|
9087
|
+
"type": "object",
|
|
9088
|
+
"properties": {
|
|
9089
|
+
"agentKey": {
|
|
9090
|
+
"type": "string"
|
|
9091
|
+
},
|
|
9092
|
+
"mode": {
|
|
9093
|
+
"type": "string"
|
|
9094
|
+
},
|
|
9095
|
+
"pollIntervalMs": {
|
|
9096
|
+
"type": "integer"
|
|
9097
|
+
},
|
|
9098
|
+
"serviceKey": {
|
|
9099
|
+
"type": "string"
|
|
9100
|
+
},
|
|
9101
|
+
"timeoutMs": {
|
|
9102
|
+
"type": "integer"
|
|
9103
|
+
}
|
|
9104
|
+
},
|
|
8069
9105
|
"$ref": "#/$defs/ServiceActionConfig"
|
|
8070
9106
|
},
|
|
8071
|
-
"composite": {
|
|
8072
|
-
"$ref": "#/$defs/CompositeActionConfig"
|
|
8073
|
-
},
|
|
8074
|
-
"execution": {
|
|
8075
|
-
"$ref": "#/$defs/ActionExecutionConfig"
|
|
8076
|
-
},
|
|
8077
9107
|
"submitMethod": {
|
|
8078
9108
|
"type": "string"
|
|
8079
9109
|
},
|
|
@@ -8087,6 +9117,10 @@ var META_SCHEMAS = {
|
|
|
8087
9117
|
}
|
|
8088
9118
|
}
|
|
8089
9119
|
},
|
|
9120
|
+
"aiPanelEnabled": {
|
|
9121
|
+
"type": "boolean",
|
|
9122
|
+
"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)"
|
|
9123
|
+
},
|
|
8090
9124
|
"childrens": {
|
|
8091
9125
|
"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",
|
|
8092
9126
|
"type": "array",
|
|
@@ -8109,6 +9143,10 @@ var META_SCHEMAS = {
|
|
|
8109
9143
|
"type": "string",
|
|
8110
9144
|
"description": "\u5B50\u8868 Model \u540D\uFF1B\u5FC5\u987B\u5DF2\u5728 ModelRegistry \u6CE8\u518C"
|
|
8111
9145
|
},
|
|
9146
|
+
"plugin": {
|
|
9147
|
+
"type": "string",
|
|
9148
|
+
"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"
|
|
9149
|
+
},
|
|
8112
9150
|
"relationField": {
|
|
8113
9151
|
"type": "string",
|
|
8114
9152
|
"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"
|
|
@@ -8135,6 +9173,9 @@ var META_SCHEMAS = {
|
|
|
8135
9173
|
"autoGenerate": {
|
|
8136
9174
|
"type": "boolean"
|
|
8137
9175
|
},
|
|
9176
|
+
"codeRuleConfigurable": {
|
|
9177
|
+
"type": "boolean"
|
|
9178
|
+
},
|
|
8138
9179
|
"component": {
|
|
8139
9180
|
"type": "string"
|
|
8140
9181
|
},
|
|
@@ -8151,6 +9192,16 @@ var META_SCHEMAS = {
|
|
|
8151
9192
|
"options": {
|
|
8152
9193
|
"$ref": "#/$defs/Map(String,Object)"
|
|
8153
9194
|
},
|
|
9195
|
+
"pageMode": {
|
|
9196
|
+
"type": "array",
|
|
9197
|
+
"items": {
|
|
9198
|
+
"type": "string",
|
|
9199
|
+
"enum": ["create", "edit", "view", "list"]
|
|
9200
|
+
},
|
|
9201
|
+
"minItems": 1,
|
|
9202
|
+
"maxItems": 4,
|
|
9203
|
+
"uniqueItems": true
|
|
9204
|
+
},
|
|
8154
9205
|
"readonly": {
|
|
8155
9206
|
"type": "boolean"
|
|
8156
9207
|
},
|
|
@@ -8164,13 +9215,17 @@ var META_SCHEMAS = {
|
|
|
8164
9215
|
"type": "object",
|
|
8165
9216
|
"properties": {
|
|
8166
9217
|
"field": {
|
|
8167
|
-
"type": "string"
|
|
9218
|
+
"type": "string",
|
|
9219
|
+
"minLength": 1
|
|
8168
9220
|
},
|
|
8169
9221
|
"operator": {
|
|
8170
|
-
"type": "string"
|
|
9222
|
+
"type": "string",
|
|
9223
|
+
"enum": ["eq", "ne", "in", "notIn"]
|
|
8171
9224
|
},
|
|
8172
9225
|
"value": {}
|
|
8173
|
-
}
|
|
9226
|
+
},
|
|
9227
|
+
"required": ["field", "operator", "value"],
|
|
9228
|
+
"additionalProperties": false
|
|
8174
9229
|
},
|
|
8175
9230
|
"width": {
|
|
8176
9231
|
"type": "integer"
|
|
@@ -8208,8 +9263,8 @@ var META_SCHEMAS = {
|
|
|
8208
9263
|
},
|
|
8209
9264
|
"labelPosition": {
|
|
8210
9265
|
"type": "string",
|
|
8211
|
-
"
|
|
8212
|
-
"
|
|
9266
|
+
"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",
|
|
9267
|
+
"enum": ["top", "left", "right"]
|
|
8213
9268
|
},
|
|
8214
9269
|
"name": {
|
|
8215
9270
|
"type": "string",
|
|
@@ -8218,10 +9273,6 @@ var META_SCHEMAS = {
|
|
|
8218
9273
|
"tip": {
|
|
8219
9274
|
"type": "string",
|
|
8220
9275
|
"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"
|
|
8221
|
-
},
|
|
8222
|
-
"aiPanelEnabled": {
|
|
8223
|
-
"type": "boolean",
|
|
8224
|
-
"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)"
|
|
8225
9276
|
}
|
|
8226
9277
|
}
|
|
8227
9278
|
},
|
|
@@ -8249,60 +9300,113 @@ var META_SCHEMAS = {
|
|
|
8249
9300
|
"type": "object",
|
|
8250
9301
|
"required": ["name", "source"],
|
|
8251
9302
|
"properties": {
|
|
8252
|
-
"name": {
|
|
8253
|
-
|
|
8254
|
-
|
|
8255
|
-
|
|
9303
|
+
"name": {
|
|
9304
|
+
"type": "string",
|
|
9305
|
+
"minLength": 1
|
|
9306
|
+
},
|
|
9307
|
+
"source": {
|
|
9308
|
+
"type": "string"
|
|
9309
|
+
},
|
|
9310
|
+
"path": {
|
|
9311
|
+
"type": "string"
|
|
9312
|
+
},
|
|
9313
|
+
"keyPath": {
|
|
9314
|
+
"type": "string"
|
|
9315
|
+
},
|
|
8256
9316
|
"value": {},
|
|
8257
|
-
"expr": {
|
|
8258
|
-
|
|
8259
|
-
|
|
8260
|
-
"
|
|
8261
|
-
|
|
8262
|
-
|
|
8263
|
-
"
|
|
9317
|
+
"expr": {
|
|
9318
|
+
"type": "string"
|
|
9319
|
+
},
|
|
9320
|
+
"promptText": {
|
|
9321
|
+
"type": "string"
|
|
9322
|
+
},
|
|
9323
|
+
"promptLabel": {
|
|
9324
|
+
"type": "string"
|
|
9325
|
+
},
|
|
9326
|
+
"inputType": {
|
|
9327
|
+
"type": "string"
|
|
9328
|
+
},
|
|
9329
|
+
"formSchema": {
|
|
9330
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
9331
|
+
},
|
|
9332
|
+
"formRef": {
|
|
9333
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
9334
|
+
},
|
|
9335
|
+
"required": {
|
|
9336
|
+
"type": "boolean"
|
|
9337
|
+
},
|
|
8264
9338
|
"defaultValue": {},
|
|
8265
|
-
"into": {
|
|
9339
|
+
"into": {
|
|
9340
|
+
"type": "string"
|
|
9341
|
+
}
|
|
8266
9342
|
}
|
|
8267
9343
|
},
|
|
8268
9344
|
"ServiceActionConfig": {
|
|
8269
9345
|
"type": "object",
|
|
8270
9346
|
"required": ["agentKey", "serviceKey"],
|
|
8271
9347
|
"properties": {
|
|
8272
|
-
"agentKey": {
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
"
|
|
9348
|
+
"agentKey": {
|
|
9349
|
+
"type": "string",
|
|
9350
|
+
"minLength": 1
|
|
9351
|
+
},
|
|
9352
|
+
"serviceKey": {
|
|
9353
|
+
"type": "string",
|
|
9354
|
+
"minLength": 1
|
|
9355
|
+
},
|
|
9356
|
+
"mode": {
|
|
9357
|
+
"type": "string",
|
|
9358
|
+
"enum": ["sync", "async"]
|
|
9359
|
+
},
|
|
9360
|
+
"timeoutMs": {
|
|
9361
|
+
"type": "integer",
|
|
9362
|
+
"minimum": 1e3
|
|
9363
|
+
},
|
|
9364
|
+
"pollIntervalMs": {
|
|
9365
|
+
"type": "integer",
|
|
9366
|
+
"minimum": 100
|
|
9367
|
+
}
|
|
8277
9368
|
}
|
|
8278
9369
|
},
|
|
8279
9370
|
"ActionExecutionConfig": {
|
|
8280
9371
|
"type": "object",
|
|
8281
9372
|
"properties": {
|
|
8282
|
-
"returnOn": {
|
|
9373
|
+
"returnOn": {
|
|
9374
|
+
"type": "string",
|
|
9375
|
+
"enum": ["terminal", "accepted"]
|
|
9376
|
+
}
|
|
8283
9377
|
}
|
|
8284
9378
|
},
|
|
8285
9379
|
"CompositeActionConfig": {
|
|
8286
9380
|
"type": "object",
|
|
8287
9381
|
"required": ["steps"],
|
|
8288
9382
|
"properties": {
|
|
8289
|
-
"mode": {
|
|
8290
|
-
|
|
9383
|
+
"mode": {
|
|
9384
|
+
"type": "string",
|
|
9385
|
+
"enum": ["sequential", "parallel"]
|
|
9386
|
+
},
|
|
9387
|
+
"stopOnError": {
|
|
9388
|
+
"type": "boolean"
|
|
9389
|
+
},
|
|
8291
9390
|
"steps": {
|
|
8292
9391
|
"type": "array",
|
|
8293
9392
|
"minItems": 1,
|
|
8294
9393
|
"items": {
|
|
8295
|
-
"oneOf": [
|
|
8296
|
-
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
8302
|
-
|
|
9394
|
+
"oneOf": [{
|
|
9395
|
+
"type": "string",
|
|
9396
|
+
"minLength": 1
|
|
9397
|
+
}, {
|
|
9398
|
+
"type": "object",
|
|
9399
|
+
"required": ["action"],
|
|
9400
|
+
"properties": {
|
|
9401
|
+
"action": {
|
|
9402
|
+
"type": ["string", "object"]
|
|
9403
|
+
},
|
|
9404
|
+
"saveAs": {
|
|
9405
|
+
"type": "string",
|
|
9406
|
+
"minLength": 1
|
|
8303
9407
|
}
|
|
8304
9408
|
}
|
|
8305
|
-
]
|
|
9409
|
+
}]
|
|
8306
9410
|
}
|
|
8307
9411
|
}
|
|
8308
9412
|
}
|
|
@@ -8404,6 +9508,9 @@ var META_SCHEMAS = {
|
|
|
8404
9508
|
"i18n": {
|
|
8405
9509
|
"type": "boolean"
|
|
8406
9510
|
},
|
|
9511
|
+
"idempotencyKeyInHeader": {
|
|
9512
|
+
"type": "boolean"
|
|
9513
|
+
},
|
|
8407
9514
|
"method": {
|
|
8408
9515
|
"type": "string"
|
|
8409
9516
|
},
|
|
@@ -8427,6 +9534,22 @@ var META_SCHEMAS = {
|
|
|
8427
9534
|
"buttonType": {
|
|
8428
9535
|
"type": "string"
|
|
8429
9536
|
},
|
|
9537
|
+
"composite": {
|
|
9538
|
+
"type": "object",
|
|
9539
|
+
"properties": {
|
|
9540
|
+
"mode": {
|
|
9541
|
+
"type": "string"
|
|
9542
|
+
},
|
|
9543
|
+
"steps": {
|
|
9544
|
+
"type": "array",
|
|
9545
|
+
"items": {}
|
|
9546
|
+
},
|
|
9547
|
+
"stopOnError": {
|
|
9548
|
+
"type": "boolean"
|
|
9549
|
+
}
|
|
9550
|
+
},
|
|
9551
|
+
"$ref": "#/$defs/CompositeActionConfig"
|
|
9552
|
+
},
|
|
8430
9553
|
"confirmText": {
|
|
8431
9554
|
"type": "string"
|
|
8432
9555
|
},
|
|
@@ -8447,9 +9570,15 @@ var META_SCHEMAS = {
|
|
|
8447
9570
|
"dialog": {
|
|
8448
9571
|
"type": "object",
|
|
8449
9572
|
"properties": {
|
|
9573
|
+
"actionTarget": {
|
|
9574
|
+
"type": "string"
|
|
9575
|
+
},
|
|
8450
9576
|
"component": {
|
|
8451
9577
|
"type": "string"
|
|
8452
9578
|
},
|
|
9579
|
+
"createDefaults": {
|
|
9580
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
9581
|
+
},
|
|
8453
9582
|
"dialogType": {
|
|
8454
9583
|
"type": "string"
|
|
8455
9584
|
},
|
|
@@ -8478,6 +9607,12 @@ var META_SCHEMAS = {
|
|
|
8478
9607
|
"result": {
|
|
8479
9608
|
"$ref": "#/$defs/Map(String,Object)"
|
|
8480
9609
|
},
|
|
9610
|
+
"showFilter": {
|
|
9611
|
+
"type": "boolean"
|
|
9612
|
+
},
|
|
9613
|
+
"showSearch": {
|
|
9614
|
+
"type": "boolean"
|
|
9615
|
+
},
|
|
8481
9616
|
"targetAction": {
|
|
8482
9617
|
"type": "string"
|
|
8483
9618
|
},
|
|
@@ -8499,6 +9634,15 @@ var META_SCHEMAS = {
|
|
|
8499
9634
|
}
|
|
8500
9635
|
},
|
|
8501
9636
|
"disabled": {},
|
|
9637
|
+
"execution": {
|
|
9638
|
+
"type": "object",
|
|
9639
|
+
"properties": {
|
|
9640
|
+
"returnOn": {
|
|
9641
|
+
"type": "string"
|
|
9642
|
+
}
|
|
9643
|
+
},
|
|
9644
|
+
"$ref": "#/$defs/ActionExecutionConfig"
|
|
9645
|
+
},
|
|
8502
9646
|
"icon": {
|
|
8503
9647
|
"type": "string"
|
|
8504
9648
|
},
|
|
@@ -8557,9 +9701,88 @@ var META_SCHEMAS = {
|
|
|
8557
9701
|
"type": "string"
|
|
8558
9702
|
}
|
|
8559
9703
|
},
|
|
9704
|
+
"params": {
|
|
9705
|
+
"type": "array",
|
|
9706
|
+
"items": {
|
|
9707
|
+
"type": "object",
|
|
9708
|
+
"properties": {
|
|
9709
|
+
"defaultValue": {},
|
|
9710
|
+
"expr": {
|
|
9711
|
+
"type": "string"
|
|
9712
|
+
},
|
|
9713
|
+
"formRef": {
|
|
9714
|
+
"type": "object",
|
|
9715
|
+
"properties": {
|
|
9716
|
+
"fields": {
|
|
9717
|
+
"type": "array",
|
|
9718
|
+
"items": {
|
|
9719
|
+
"type": "string"
|
|
9720
|
+
}
|
|
9721
|
+
},
|
|
9722
|
+
"model": {
|
|
9723
|
+
"type": "string"
|
|
9724
|
+
}
|
|
9725
|
+
}
|
|
9726
|
+
},
|
|
9727
|
+
"formSchema": {
|
|
9728
|
+
"type": "object",
|
|
9729
|
+
"properties": {
|
|
9730
|
+
"fields": {
|
|
9731
|
+
"type": "array",
|
|
9732
|
+
"items": {
|
|
9733
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
9734
|
+
}
|
|
9735
|
+
},
|
|
9736
|
+
"submitLabel": {
|
|
9737
|
+
"type": "string"
|
|
9738
|
+
},
|
|
9739
|
+
"title": {
|
|
9740
|
+
"type": "string"
|
|
9741
|
+
},
|
|
9742
|
+
"width": {
|
|
9743
|
+
"type": "string"
|
|
9744
|
+
}
|
|
9745
|
+
}
|
|
9746
|
+
},
|
|
9747
|
+
"inputType": {
|
|
9748
|
+
"type": "string"
|
|
9749
|
+
},
|
|
9750
|
+
"into": {
|
|
9751
|
+
"type": "string"
|
|
9752
|
+
},
|
|
9753
|
+
"keyPath": {
|
|
9754
|
+
"type": "string"
|
|
9755
|
+
},
|
|
9756
|
+
"name": {
|
|
9757
|
+
"type": "string"
|
|
9758
|
+
},
|
|
9759
|
+
"path": {
|
|
9760
|
+
"type": "string"
|
|
9761
|
+
},
|
|
9762
|
+
"promptLabel": {
|
|
9763
|
+
"type": "string"
|
|
9764
|
+
},
|
|
9765
|
+
"promptText": {
|
|
9766
|
+
"type": "string"
|
|
9767
|
+
},
|
|
9768
|
+
"required": {
|
|
9769
|
+
"type": "boolean"
|
|
9770
|
+
},
|
|
9771
|
+
"source": {
|
|
9772
|
+
"type": "string",
|
|
9773
|
+
"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"
|
|
9774
|
+
},
|
|
9775
|
+
"value": {}
|
|
9776
|
+
},
|
|
9777
|
+
"$ref": "#/$defs/ParamConfig"
|
|
9778
|
+
}
|
|
9779
|
+
},
|
|
8560
9780
|
"position": {
|
|
8561
9781
|
"type": "string"
|
|
8562
9782
|
},
|
|
9783
|
+
"requiredPermission": {
|
|
9784
|
+
"type": "string"
|
|
9785
|
+
},
|
|
8563
9786
|
"script": {
|
|
8564
9787
|
"type": "object",
|
|
8565
9788
|
"properties": {
|
|
@@ -8569,6 +9792,9 @@ var META_SCHEMAS = {
|
|
|
8569
9792
|
"params": {
|
|
8570
9793
|
"$ref": "#/$defs/Map(String,Object)"
|
|
8571
9794
|
},
|
|
9795
|
+
"readOnly": {
|
|
9796
|
+
"type": "boolean"
|
|
9797
|
+
},
|
|
8572
9798
|
"scriptKey": {
|
|
8573
9799
|
"type": "string"
|
|
8574
9800
|
},
|
|
@@ -8577,19 +9803,27 @@ var META_SCHEMAS = {
|
|
|
8577
9803
|
}
|
|
8578
9804
|
}
|
|
8579
9805
|
},
|
|
8580
|
-
"params": {
|
|
8581
|
-
"type": "array",
|
|
8582
|
-
"items": { "$ref": "#/$defs/ParamConfig" }
|
|
8583
|
-
},
|
|
8584
9806
|
"service": {
|
|
9807
|
+
"type": "object",
|
|
9808
|
+
"properties": {
|
|
9809
|
+
"agentKey": {
|
|
9810
|
+
"type": "string"
|
|
9811
|
+
},
|
|
9812
|
+
"mode": {
|
|
9813
|
+
"type": "string"
|
|
9814
|
+
},
|
|
9815
|
+
"pollIntervalMs": {
|
|
9816
|
+
"type": "integer"
|
|
9817
|
+
},
|
|
9818
|
+
"serviceKey": {
|
|
9819
|
+
"type": "string"
|
|
9820
|
+
},
|
|
9821
|
+
"timeoutMs": {
|
|
9822
|
+
"type": "integer"
|
|
9823
|
+
}
|
|
9824
|
+
},
|
|
8585
9825
|
"$ref": "#/$defs/ServiceActionConfig"
|
|
8586
9826
|
},
|
|
8587
|
-
"composite": {
|
|
8588
|
-
"$ref": "#/$defs/CompositeActionConfig"
|
|
8589
|
-
},
|
|
8590
|
-
"execution": {
|
|
8591
|
-
"$ref": "#/$defs/ActionExecutionConfig"
|
|
8592
|
-
},
|
|
8593
9827
|
"type": {
|
|
8594
9828
|
"type": "string"
|
|
8595
9829
|
},
|
|
@@ -8643,6 +9877,9 @@ var META_SCHEMAS = {
|
|
|
8643
9877
|
"autoGenerate": {
|
|
8644
9878
|
"type": "boolean"
|
|
8645
9879
|
},
|
|
9880
|
+
"codeRuleConfigurable": {
|
|
9881
|
+
"type": "boolean"
|
|
9882
|
+
},
|
|
8646
9883
|
"component": {
|
|
8647
9884
|
"type": "string"
|
|
8648
9885
|
},
|
|
@@ -8700,8 +9937,8 @@ var META_SCHEMAS = {
|
|
|
8700
9937
|
},
|
|
8701
9938
|
"labelPosition": {
|
|
8702
9939
|
"type": "string",
|
|
8703
|
-
"
|
|
8704
|
-
"
|
|
9940
|
+
"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",
|
|
9941
|
+
"enum": ["top", "left", "right"]
|
|
8705
9942
|
},
|
|
8706
9943
|
"name": {
|
|
8707
9944
|
"type": "string",
|
|
@@ -8729,6 +9966,9 @@ var META_SCHEMAS = {
|
|
|
8729
9966
|
"bindsEffectiveDate": {
|
|
8730
9967
|
"type": "boolean"
|
|
8731
9968
|
},
|
|
9969
|
+
"codeRuleConfigurable": {
|
|
9970
|
+
"type": "boolean"
|
|
9971
|
+
},
|
|
8732
9972
|
"component": {
|
|
8733
9973
|
"type": "string"
|
|
8734
9974
|
},
|
|
@@ -8746,12 +9986,18 @@ var META_SCHEMAS = {
|
|
|
8746
9986
|
"type": "array",
|
|
8747
9987
|
"items": {
|
|
8748
9988
|
"type": "string",
|
|
8749
|
-
"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"]
|
|
9989
|
+
"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"]
|
|
8750
9990
|
}
|
|
8751
9991
|
},
|
|
8752
9992
|
"options": {
|
|
8753
9993
|
"type": "object"
|
|
8754
9994
|
},
|
|
9995
|
+
"pageMode": {
|
|
9996
|
+
"type": "array",
|
|
9997
|
+
"items": {
|
|
9998
|
+
"type": "string"
|
|
9999
|
+
}
|
|
10000
|
+
},
|
|
8755
10001
|
"periodEndKey": {
|
|
8756
10002
|
"type": "string"
|
|
8757
10003
|
},
|
|
@@ -8798,16 +10044,33 @@ var META_SCHEMAS = {
|
|
|
8798
10044
|
model: {
|
|
8799
10045
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
8800
10046
|
"$defs": {
|
|
10047
|
+
"ActionRiskFlag": {
|
|
10048
|
+
"type": "string",
|
|
10049
|
+
"enum": ["YES", "NO", "UNKNOWN"]
|
|
10050
|
+
},
|
|
8801
10051
|
"DerivedValueType": {
|
|
8802
10052
|
"type": "string",
|
|
8803
10053
|
"enum": ["STRING", "INTEGER", "LONG", "DECIMAL", "BOOLEAN", "DATE", "DATETIME", "JSON"]
|
|
8804
10054
|
},
|
|
10055
|
+
"FieldPolicyDefault": {
|
|
10056
|
+
"type": "string",
|
|
10057
|
+
"enum": ["INHERIT", "DENY"]
|
|
10058
|
+
},
|
|
10059
|
+
"JsonNode": {
|
|
10060
|
+
"type": "object"
|
|
10061
|
+
},
|
|
8805
10062
|
"Map(String,Object)": {
|
|
8806
10063
|
"type": "object"
|
|
8807
10064
|
},
|
|
8808
10065
|
"ModelScriptTriggerMeta": {
|
|
8809
10066
|
"type": "object",
|
|
8810
10067
|
"properties": {
|
|
10068
|
+
"actions": {
|
|
10069
|
+
"type": "array",
|
|
10070
|
+
"items": {
|
|
10071
|
+
"type": "string"
|
|
10072
|
+
}
|
|
10073
|
+
},
|
|
8811
10074
|
"event": {
|
|
8812
10075
|
"type": "string"
|
|
8813
10076
|
},
|
|
@@ -8822,6 +10085,33 @@ var META_SCHEMAS = {
|
|
|
8822
10085
|
}
|
|
8823
10086
|
}
|
|
8824
10087
|
},
|
|
10088
|
+
"PermissionFieldAccess": {
|
|
10089
|
+
"type": "object",
|
|
10090
|
+
"properties": {
|
|
10091
|
+
"fields": {
|
|
10092
|
+
"type": "array",
|
|
10093
|
+
"items": {
|
|
10094
|
+
"type": "string",
|
|
10095
|
+
"minLength": 1
|
|
10096
|
+
},
|
|
10097
|
+
"minItems": 1,
|
|
10098
|
+
"uniqueItems": true
|
|
10099
|
+
},
|
|
10100
|
+
"includeFutureFields": {
|
|
10101
|
+
"type": "boolean"
|
|
10102
|
+
},
|
|
10103
|
+
"read": {
|
|
10104
|
+
"type": "string",
|
|
10105
|
+
"enum": ["NONE", "MASKED", "FULL"]
|
|
10106
|
+
},
|
|
10107
|
+
"write": {
|
|
10108
|
+
"type": "string",
|
|
10109
|
+
"enum": ["DENY", "ALLOW"]
|
|
10110
|
+
}
|
|
10111
|
+
},
|
|
10112
|
+
"required": ["fields", "read", "write"],
|
|
10113
|
+
"additionalProperties": false
|
|
10114
|
+
},
|
|
8825
10115
|
"QueryAddition": {
|
|
8826
10116
|
"type": "object",
|
|
8827
10117
|
"properties": {
|
|
@@ -8863,6 +10153,9 @@ var META_SCHEMAS = {
|
|
|
8863
10153
|
"field": {
|
|
8864
10154
|
"type": "string"
|
|
8865
10155
|
},
|
|
10156
|
+
"mainFilter": {
|
|
10157
|
+
"$ref": "#/$defs/JsonNode"
|
|
10158
|
+
},
|
|
8866
10159
|
"type": {
|
|
8867
10160
|
"type": "string"
|
|
8868
10161
|
}
|
|
@@ -8899,6 +10192,9 @@ var META_SCHEMAS = {
|
|
|
8899
10192
|
"$ref": "#/$defs/ToolParameter"
|
|
8900
10193
|
}
|
|
8901
10194
|
},
|
|
10195
|
+
"rawJsonSchema": {
|
|
10196
|
+
"type": "string"
|
|
10197
|
+
},
|
|
8902
10198
|
"required": {
|
|
8903
10199
|
"type": "boolean"
|
|
8904
10200
|
},
|
|
@@ -8915,9 +10211,20 @@ var META_SCHEMAS = {
|
|
|
8915
10211
|
"items": {
|
|
8916
10212
|
"type": "object",
|
|
8917
10213
|
"properties": {
|
|
10214
|
+
"confirm": {
|
|
10215
|
+
"type": "string",
|
|
10216
|
+
"enum": ["DEFAULT", "REQUIRED", "SKIP"]
|
|
10217
|
+
},
|
|
8918
10218
|
"description": {
|
|
8919
10219
|
"type": "string"
|
|
8920
10220
|
},
|
|
10221
|
+
"effect": {
|
|
10222
|
+
"type": "string",
|
|
10223
|
+
"enum": ["READ_ONLY", "ACCOUNTING_ONLY", "WRITES", "UNKNOWN"]
|
|
10224
|
+
},
|
|
10225
|
+
"hasExternalDep": {
|
|
10226
|
+
"$ref": "#/$defs/ActionRiskFlag"
|
|
10227
|
+
},
|
|
8921
10228
|
"httpMethod": {
|
|
8922
10229
|
"type": "string"
|
|
8923
10230
|
},
|
|
@@ -8954,12 +10261,30 @@ var META_SCHEMAS = {
|
|
|
8954
10261
|
"scope": {
|
|
8955
10262
|
"type": "string"
|
|
8956
10263
|
},
|
|
10264
|
+
"sensitiveData": {
|
|
10265
|
+
"$ref": "#/$defs/ActionRiskFlag"
|
|
10266
|
+
},
|
|
8957
10267
|
"source": {
|
|
8958
10268
|
"type": "string"
|
|
8959
10269
|
}
|
|
8960
10270
|
}
|
|
8961
10271
|
}
|
|
8962
10272
|
},
|
|
10273
|
+
"dataPackage": {
|
|
10274
|
+
"type": "object",
|
|
10275
|
+
"properties": {
|
|
10276
|
+
"installable": {
|
|
10277
|
+
"type": "boolean"
|
|
10278
|
+
},
|
|
10279
|
+
"note": {
|
|
10280
|
+
"type": "string"
|
|
10281
|
+
},
|
|
10282
|
+
"reason": {
|
|
10283
|
+
"type": "string",
|
|
10284
|
+
"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"]
|
|
10285
|
+
}
|
|
10286
|
+
}
|
|
10287
|
+
},
|
|
8963
10288
|
"description": {
|
|
8964
10289
|
"type": "string",
|
|
8965
10290
|
"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"
|
|
@@ -8994,6 +10319,9 @@ var META_SCHEMAS = {
|
|
|
8994
10319
|
"params": {
|
|
8995
10320
|
"$ref": "#/$defs/Map(String,Object)"
|
|
8996
10321
|
},
|
|
10322
|
+
"readOnly": {
|
|
10323
|
+
"type": "boolean"
|
|
10324
|
+
},
|
|
8997
10325
|
"scriptKey": {
|
|
8998
10326
|
"type": "string"
|
|
8999
10327
|
},
|
|
@@ -9025,10 +10353,79 @@ var META_SCHEMAS = {
|
|
|
9025
10353
|
"autoGenerate": {
|
|
9026
10354
|
"type": "boolean"
|
|
9027
10355
|
},
|
|
10356
|
+
"bareTextOperator": {
|
|
10357
|
+
"type": ["string", "null"],
|
|
10358
|
+
"enum": ["contains", "eq", null]
|
|
10359
|
+
},
|
|
10360
|
+
"codeRuleConfigurable": {
|
|
10361
|
+
"type": "boolean"
|
|
10362
|
+
},
|
|
10363
|
+
"columnDefinition": {
|
|
10364
|
+
"type": "string"
|
|
10365
|
+
},
|
|
9028
10366
|
"columnSlot": {
|
|
9029
10367
|
"type": "string"
|
|
9030
10368
|
},
|
|
10369
|
+
"dataMask": {
|
|
10370
|
+
"type": "object",
|
|
10371
|
+
"properties": {
|
|
10372
|
+
"keepEnd": {
|
|
10373
|
+
"type": "integer",
|
|
10374
|
+
"minimum": 0
|
|
10375
|
+
},
|
|
10376
|
+
"keepStart": {
|
|
10377
|
+
"type": "integer",
|
|
10378
|
+
"minimum": 0
|
|
10379
|
+
},
|
|
10380
|
+
"maskCharacter": {
|
|
10381
|
+
"type": "string",
|
|
10382
|
+
"minLength": 1,
|
|
10383
|
+
"maxLength": 1
|
|
10384
|
+
},
|
|
10385
|
+
"strategy": {
|
|
10386
|
+
"type": "string",
|
|
10387
|
+
"enum": ["MOBILE", "ID_NUMBER", "BANK_CARD", "FULL", "CUSTOM"]
|
|
10388
|
+
},
|
|
10389
|
+
"unmaskedRoles": {
|
|
10390
|
+
"type": "array",
|
|
10391
|
+
"items": {
|
|
10392
|
+
"type": "string"
|
|
10393
|
+
},
|
|
10394
|
+
"uniqueItems": true
|
|
10395
|
+
}
|
|
10396
|
+
},
|
|
10397
|
+
"required": ["strategy"],
|
|
10398
|
+
"allOf": [{
|
|
10399
|
+
"if": {
|
|
10400
|
+
"properties": {
|
|
10401
|
+
"strategy": {
|
|
10402
|
+
"const": "CUSTOM"
|
|
10403
|
+
}
|
|
10404
|
+
}
|
|
10405
|
+
},
|
|
10406
|
+
"else": {
|
|
10407
|
+
"not": {
|
|
10408
|
+
"anyOf": [{
|
|
10409
|
+
"required": ["keepStart"]
|
|
10410
|
+
}, {
|
|
10411
|
+
"required": ["keepEnd"]
|
|
10412
|
+
}]
|
|
10413
|
+
}
|
|
10414
|
+
}
|
|
10415
|
+
}],
|
|
10416
|
+
"additionalProperties": false
|
|
10417
|
+
},
|
|
10418
|
+
"decimalNumber": {
|
|
10419
|
+
"type": "boolean"
|
|
10420
|
+
},
|
|
9031
10421
|
"defaultValue": {},
|
|
10422
|
+
"defaultValueSource": {
|
|
10423
|
+
"type": "string"
|
|
10424
|
+
},
|
|
10425
|
+
"definitionId": {
|
|
10426
|
+
"type": "string",
|
|
10427
|
+
"minLength": 1
|
|
10428
|
+
},
|
|
9032
10429
|
"derived": {
|
|
9033
10430
|
"anyOf": [{
|
|
9034
10431
|
"type": "object",
|
|
@@ -9113,6 +10510,9 @@ var META_SCHEMAS = {
|
|
|
9113
10510
|
"description": {
|
|
9114
10511
|
"type": "string"
|
|
9115
10512
|
},
|
|
10513
|
+
"elementType": {
|
|
10514
|
+
"type": "string"
|
|
10515
|
+
},
|
|
9116
10516
|
"encrypted": {
|
|
9117
10517
|
"type": "object",
|
|
9118
10518
|
"properties": {
|
|
@@ -9193,6 +10593,9 @@ var META_SCHEMAS = {
|
|
|
9193
10593
|
"isView": {
|
|
9194
10594
|
"type": "boolean"
|
|
9195
10595
|
},
|
|
10596
|
+
"jsonObject": {
|
|
10597
|
+
"type": "boolean"
|
|
10598
|
+
},
|
|
9196
10599
|
"jsonSchema": {
|
|
9197
10600
|
"type": "array",
|
|
9198
10601
|
"items": {
|
|
@@ -9208,12 +10611,24 @@ var META_SCHEMAS = {
|
|
|
9208
10611
|
"length": {
|
|
9209
10612
|
"type": "integer"
|
|
9210
10613
|
},
|
|
10614
|
+
"modelDefaultAvailable": {
|
|
10615
|
+
"type": "boolean"
|
|
10616
|
+
},
|
|
10617
|
+
"multiple": {
|
|
10618
|
+
"type": "boolean"
|
|
10619
|
+
},
|
|
9211
10620
|
"name": {
|
|
9212
10621
|
"type": "string"
|
|
9213
10622
|
},
|
|
9214
10623
|
"numericCast": {
|
|
9215
10624
|
"type": "boolean"
|
|
9216
10625
|
},
|
|
10626
|
+
"numericPrecision": {
|
|
10627
|
+
"type": "integer"
|
|
10628
|
+
},
|
|
10629
|
+
"numericScale": {
|
|
10630
|
+
"type": "integer"
|
|
10631
|
+
},
|
|
9217
10632
|
"object": {
|
|
9218
10633
|
"type": "string"
|
|
9219
10634
|
},
|
|
@@ -9223,24 +10638,224 @@ var META_SCHEMAS = {
|
|
|
9223
10638
|
"refer": {
|
|
9224
10639
|
"type": "string"
|
|
9225
10640
|
},
|
|
10641
|
+
"referenceDisplaySynonyms": {
|
|
10642
|
+
"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",
|
|
10643
|
+
"type": ["array", "null"],
|
|
10644
|
+
"items": {
|
|
10645
|
+
"type": "string",
|
|
10646
|
+
"minLength": 1
|
|
10647
|
+
},
|
|
10648
|
+
"uniqueItems": true
|
|
10649
|
+
},
|
|
10650
|
+
"security": {
|
|
10651
|
+
"type": "object",
|
|
10652
|
+
"properties": {
|
|
10653
|
+
"classification": {
|
|
10654
|
+
"type": "string",
|
|
10655
|
+
"minLength": 1
|
|
10656
|
+
},
|
|
10657
|
+
"maskPolicy": {
|
|
10658
|
+
"type": "string",
|
|
10659
|
+
"minLength": 1
|
|
10660
|
+
},
|
|
10661
|
+
"sources": {
|
|
10662
|
+
"type": "array",
|
|
10663
|
+
"items": {
|
|
10664
|
+
"type": "string",
|
|
10665
|
+
"minLength": 1
|
|
10666
|
+
},
|
|
10667
|
+
"uniqueItems": true
|
|
10668
|
+
}
|
|
10669
|
+
},
|
|
10670
|
+
"additionalProperties": false
|
|
10671
|
+
},
|
|
9226
10672
|
"sequence": {
|
|
9227
10673
|
"type": "integer"
|
|
9228
10674
|
},
|
|
9229
10675
|
"storage": {
|
|
9230
10676
|
"type": "string"
|
|
9231
10677
|
},
|
|
10678
|
+
"storageRequired": {
|
|
10679
|
+
"type": "boolean"
|
|
10680
|
+
},
|
|
9232
10681
|
"synonyms": {
|
|
9233
10682
|
"type": "array",
|
|
9234
10683
|
"items": {
|
|
9235
10684
|
"type": "string"
|
|
9236
10685
|
}
|
|
9237
10686
|
},
|
|
10687
|
+
"systemManaged": {
|
|
10688
|
+
"type": "boolean"
|
|
10689
|
+
},
|
|
9238
10690
|
"treeLoadMode": {
|
|
9239
10691
|
"type": "string"
|
|
9240
10692
|
},
|
|
9241
10693
|
"type": {
|
|
9242
10694
|
"type": "string",
|
|
9243
10695
|
"enum": ["uuid", "string", "boolean", "integer", "float", "date", "datetime", "time"]
|
|
10696
|
+
},
|
|
10697
|
+
"typeFallback": {
|
|
10698
|
+
"type": "boolean"
|
|
10699
|
+
},
|
|
10700
|
+
"unit": {
|
|
10701
|
+
"type": "string",
|
|
10702
|
+
"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"
|
|
10703
|
+
},
|
|
10704
|
+
"validateTargetExists": {
|
|
10705
|
+
"type": "boolean",
|
|
10706
|
+
"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"
|
|
10707
|
+
},
|
|
10708
|
+
"valueMatch": {
|
|
10709
|
+
"type": "boolean"
|
|
10710
|
+
}
|
|
10711
|
+
}
|
|
10712
|
+
}
|
|
10713
|
+
},
|
|
10714
|
+
"immutableWhen": {
|
|
10715
|
+
"type": "object",
|
|
10716
|
+
"properties": {
|
|
10717
|
+
"field": {
|
|
10718
|
+
"type": "string",
|
|
10719
|
+
"minLength": 1,
|
|
10720
|
+
"description": "\u5224\u5B9A\u5B57\u6BB5\u7684 key\uFF0C\u5982 status"
|
|
10721
|
+
},
|
|
10722
|
+
"in": {
|
|
10723
|
+
"type": "array",
|
|
10724
|
+
"items": {
|
|
10725
|
+
"type": ["string", "object"],
|
|
10726
|
+
"oneOf": [{
|
|
10727
|
+
"type": "string",
|
|
10728
|
+
"minLength": 1
|
|
10729
|
+
}, {
|
|
10730
|
+
"type": "object",
|
|
10731
|
+
"properties": {
|
|
10732
|
+
"__replace": {
|
|
10733
|
+
"const": true
|
|
10734
|
+
}
|
|
10735
|
+
},
|
|
10736
|
+
"required": ["__replace"],
|
|
10737
|
+
"additionalProperties": false
|
|
10738
|
+
}]
|
|
10739
|
+
},
|
|
10740
|
+
"uniqueItems": true,
|
|
10741
|
+
"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"
|
|
10742
|
+
}
|
|
10743
|
+
},
|
|
10744
|
+
"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",
|
|
10745
|
+
"required": ["field", "in"],
|
|
10746
|
+
"additionalProperties": false
|
|
10747
|
+
},
|
|
10748
|
+
"importPolicy": {
|
|
10749
|
+
"type": "object",
|
|
10750
|
+
"properties": {
|
|
10751
|
+
"states": {
|
|
10752
|
+
"type": "array",
|
|
10753
|
+
"items": {
|
|
10754
|
+
"type": "object",
|
|
10755
|
+
"properties": {
|
|
10756
|
+
"actionKey": {
|
|
10757
|
+
"type": "string"
|
|
10758
|
+
},
|
|
10759
|
+
"allowedBusinessKeys": {
|
|
10760
|
+
"type": "array",
|
|
10761
|
+
"items": {
|
|
10762
|
+
"type": "array",
|
|
10763
|
+
"items": {
|
|
10764
|
+
"type": "string"
|
|
10765
|
+
}
|
|
10766
|
+
}
|
|
10767
|
+
},
|
|
10768
|
+
"capabilityVersion": {
|
|
10769
|
+
"type": "string"
|
|
10770
|
+
},
|
|
10771
|
+
"contextFields": {
|
|
10772
|
+
"type": "array",
|
|
10773
|
+
"items": {
|
|
10774
|
+
"type": "object",
|
|
10775
|
+
"properties": {
|
|
10776
|
+
"key": {
|
|
10777
|
+
"type": "string"
|
|
10778
|
+
},
|
|
10779
|
+
"label": {
|
|
10780
|
+
"type": "string"
|
|
10781
|
+
},
|
|
10782
|
+
"on_conflict": {
|
|
10783
|
+
"type": "string"
|
|
10784
|
+
},
|
|
10785
|
+
"override": {
|
|
10786
|
+
"type": "string"
|
|
10787
|
+
},
|
|
10788
|
+
"required": {
|
|
10789
|
+
"type": "boolean"
|
|
10790
|
+
},
|
|
10791
|
+
"source": {
|
|
10792
|
+
"type": "string"
|
|
10793
|
+
}
|
|
10794
|
+
}
|
|
10795
|
+
}
|
|
10796
|
+
},
|
|
10797
|
+
"defaults": {
|
|
10798
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
10799
|
+
},
|
|
10800
|
+
"document": {
|
|
10801
|
+
"type": "object",
|
|
10802
|
+
"properties": {
|
|
10803
|
+
"categoryNumber": {
|
|
10804
|
+
"type": "string"
|
|
10805
|
+
},
|
|
10806
|
+
"formId": {
|
|
10807
|
+
"type": "string"
|
|
10808
|
+
}
|
|
10809
|
+
}
|
|
10810
|
+
},
|
|
10811
|
+
"domain": {
|
|
10812
|
+
"type": "string"
|
|
10813
|
+
},
|
|
10814
|
+
"employeeSubset": {
|
|
10815
|
+
"type": "boolean"
|
|
10816
|
+
},
|
|
10817
|
+
"employeeSubsetMeta": {
|
|
10818
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
10819
|
+
},
|
|
10820
|
+
"enabled": {
|
|
10821
|
+
"type": "boolean"
|
|
10822
|
+
},
|
|
10823
|
+
"fields": {
|
|
10824
|
+
"type": "array",
|
|
10825
|
+
"items": {
|
|
10826
|
+
"type": "string"
|
|
10827
|
+
}
|
|
10828
|
+
},
|
|
10829
|
+
"importModes": {
|
|
10830
|
+
"type": "array",
|
|
10831
|
+
"items": {
|
|
10832
|
+
"type": "string"
|
|
10833
|
+
}
|
|
10834
|
+
},
|
|
10835
|
+
"key": {
|
|
10836
|
+
"type": "string"
|
|
10837
|
+
},
|
|
10838
|
+
"layout": {
|
|
10839
|
+
"type": "object",
|
|
10840
|
+
"properties": {
|
|
10841
|
+
"dataStartRow": {
|
|
10842
|
+
"type": "integer"
|
|
10843
|
+
},
|
|
10844
|
+
"descRow": {
|
|
10845
|
+
"type": "integer"
|
|
10846
|
+
},
|
|
10847
|
+
"hasDescRow": {
|
|
10848
|
+
"type": "boolean"
|
|
10849
|
+
},
|
|
10850
|
+
"keyRow": {
|
|
10851
|
+
"type": "integer"
|
|
10852
|
+
},
|
|
10853
|
+
"sheetName": {
|
|
10854
|
+
"type": "string"
|
|
10855
|
+
}
|
|
10856
|
+
}
|
|
10857
|
+
}
|
|
10858
|
+
}
|
|
9244
10859
|
}
|
|
9245
10860
|
}
|
|
9246
10861
|
}
|
|
@@ -9256,6 +10871,45 @@ var META_SCHEMAS = {
|
|
|
9256
10871
|
"permission": {
|
|
9257
10872
|
"type": "object",
|
|
9258
10873
|
"properties": {
|
|
10874
|
+
"fieldGrants": {
|
|
10875
|
+
"type": "array",
|
|
10876
|
+
"items": {
|
|
10877
|
+
"type": "object",
|
|
10878
|
+
"properties": {
|
|
10879
|
+
"access": {
|
|
10880
|
+
"type": "array",
|
|
10881
|
+
"items": {
|
|
10882
|
+
"$ref": "#/$defs/PermissionFieldAccess"
|
|
10883
|
+
}
|
|
10884
|
+
},
|
|
10885
|
+
"match": {
|
|
10886
|
+
"type": "string"
|
|
10887
|
+
},
|
|
10888
|
+
"role": {
|
|
10889
|
+
"type": "string",
|
|
10890
|
+
"minLength": 1
|
|
10891
|
+
}
|
|
10892
|
+
},
|
|
10893
|
+
"required": ["role", "access"],
|
|
10894
|
+
"additionalProperties": false
|
|
10895
|
+
}
|
|
10896
|
+
},
|
|
10897
|
+
"fieldPolicy": {
|
|
10898
|
+
"type": "object",
|
|
10899
|
+
"properties": {
|
|
10900
|
+
"mode": {
|
|
10901
|
+
"type": "string",
|
|
10902
|
+
"enum": ["LEGACY", "AUDIT", "ENFORCE"]
|
|
10903
|
+
},
|
|
10904
|
+
"ordinaryDefault": {
|
|
10905
|
+
"$ref": "#/$defs/FieldPolicyDefault"
|
|
10906
|
+
},
|
|
10907
|
+
"protectedDefault": {
|
|
10908
|
+
"$ref": "#/$defs/FieldPolicyDefault"
|
|
10909
|
+
}
|
|
10910
|
+
},
|
|
10911
|
+
"additionalProperties": false
|
|
10912
|
+
},
|
|
9259
10913
|
"grants": {
|
|
9260
10914
|
"type": "array",
|
|
9261
10915
|
"items": {
|
|
@@ -9267,8 +10921,16 @@ var META_SCHEMAS = {
|
|
|
9267
10921
|
"type": "string"
|
|
9268
10922
|
}
|
|
9269
10923
|
},
|
|
10924
|
+
"fieldAccess": {
|
|
10925
|
+
"type": "array",
|
|
10926
|
+
"items": {
|
|
10927
|
+
"$ref": "#/$defs/PermissionFieldAccess"
|
|
10928
|
+
}
|
|
10929
|
+
},
|
|
9270
10930
|
"match": {
|
|
9271
|
-
"type": "string"
|
|
10931
|
+
"type": "string",
|
|
10932
|
+
"pattern": "^[\\u0000-\\u0020]*(?:[A-Za-z\u212A][A-Za-z0-9_\u212A]*[\\u0000-\\u0020]*)?$",
|
|
10933
|
+
"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"
|
|
9272
10934
|
},
|
|
9273
10935
|
"role": {
|
|
9274
10936
|
"type": "string"
|
|
@@ -9279,6 +10941,9 @@ var META_SCHEMAS = {
|
|
|
9279
10941
|
"scope": {
|
|
9280
10942
|
"type": "object",
|
|
9281
10943
|
"properties": {
|
|
10944
|
+
"options": {
|
|
10945
|
+
"type": "object"
|
|
10946
|
+
},
|
|
9282
10947
|
"org": {
|
|
9283
10948
|
"$ref": "#/$defs/ScopeResolverMeta"
|
|
9284
10949
|
},
|
|
@@ -9332,7 +10997,6 @@ var META_SCHEMAS = {
|
|
|
9332
10997
|
},
|
|
9333
10998
|
"systemPreset": {
|
|
9334
10999
|
"type": "object",
|
|
9335
|
-
"additionalProperties": false,
|
|
9336
11000
|
"properties": {
|
|
9337
11001
|
"enabled": {
|
|
9338
11002
|
"type": "boolean"
|
|
@@ -9342,7 +11006,8 @@ var META_SCHEMAS = {
|
|
|
9342
11006
|
"type": "string",
|
|
9343
11007
|
"enum": ["A1", "A2"]
|
|
9344
11008
|
}
|
|
9345
|
-
}
|
|
11009
|
+
},
|
|
11010
|
+
"additionalProperties": false
|
|
9346
11011
|
},
|
|
9347
11012
|
"typicalQueries": {
|
|
9348
11013
|
"type": "array",
|
|
@@ -9355,10 +11020,22 @@ var META_SCHEMAS = {
|
|
|
9355
11020
|
page: {
|
|
9356
11021
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9357
11022
|
"$defs": {
|
|
11023
|
+
"BadgeConfig": {
|
|
11024
|
+
"type": "object",
|
|
11025
|
+
"properties": {
|
|
11026
|
+
"expression": {
|
|
11027
|
+
"type": "string"
|
|
11028
|
+
},
|
|
11029
|
+
"type": {
|
|
11030
|
+
"type": "string"
|
|
11031
|
+
}
|
|
11032
|
+
}
|
|
11033
|
+
},
|
|
9358
11034
|
"DetailPanelConfig": {
|
|
9359
11035
|
"type": "object",
|
|
9360
11036
|
"properties": {
|
|
9361
11037
|
"badge": {
|
|
11038
|
+
"$ref": "#/$defs/BadgeConfig",
|
|
9362
11039
|
"type": "object",
|
|
9363
11040
|
"properties": {
|
|
9364
11041
|
"expression": {
|
|
@@ -9369,6 +11046,10 @@ var META_SCHEMAS = {
|
|
|
9369
11046
|
}
|
|
9370
11047
|
}
|
|
9371
11048
|
},
|
|
11049
|
+
"changeModel": {
|
|
11050
|
+
"type": "string",
|
|
11051
|
+
"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"
|
|
11052
|
+
},
|
|
9372
11053
|
"display": {
|
|
9373
11054
|
"type": "string"
|
|
9374
11055
|
},
|
|
@@ -9385,6 +11066,12 @@ var META_SCHEMAS = {
|
|
|
9385
11066
|
"hidden": {
|
|
9386
11067
|
"type": "boolean"
|
|
9387
11068
|
},
|
|
11069
|
+
"hideFields": {
|
|
11070
|
+
"type": "array",
|
|
11071
|
+
"items": {
|
|
11072
|
+
"type": "string"
|
|
11073
|
+
}
|
|
11074
|
+
},
|
|
9388
11075
|
"hint": {
|
|
9389
11076
|
"type": "string",
|
|
9390
11077
|
"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"
|
|
@@ -9392,6 +11079,9 @@ var META_SCHEMAS = {
|
|
|
9392
11079
|
"icon": {
|
|
9393
11080
|
"type": "string"
|
|
9394
11081
|
},
|
|
11082
|
+
"infoCreatable": {
|
|
11083
|
+
"type": "boolean"
|
|
11084
|
+
},
|
|
9395
11085
|
"infoEditable": {
|
|
9396
11086
|
"type": "boolean",
|
|
9397
11087
|
"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"
|
|
@@ -9406,6 +11096,7 @@ var META_SCHEMAS = {
|
|
|
9406
11096
|
"type": "string"
|
|
9407
11097
|
},
|
|
9408
11098
|
"relation": {
|
|
11099
|
+
"$ref": "#/$defs/RelationConfig",
|
|
9409
11100
|
"type": "object",
|
|
9410
11101
|
"properties": {
|
|
9411
11102
|
"additionalKeys": {
|
|
@@ -9485,22 +11176,18 @@ var META_SCHEMAS = {
|
|
|
9485
11176
|
}
|
|
9486
11177
|
}
|
|
9487
11178
|
},
|
|
9488
|
-
"DetailStatusConfig": {
|
|
9489
|
-
"type": "object",
|
|
9490
|
-
"properties": {
|
|
9491
|
-
"anchor": {
|
|
9492
|
-
"type": "string",
|
|
9493
|
-
"description": "Provider \u8FD4\u56DE\u7684\u72B6\u6001\u951A\u70B9;\u9ED8\u8BA4\u5EFA\u8BAE\u4E0E detail key \u4E00\u81F4"
|
|
9494
|
-
},
|
|
9495
|
-
"providerKey": {
|
|
9496
|
-
"type": "string",
|
|
9497
|
-
"description": "\u5F15\u7528 layout.statusProviders \u4E2D\u58F0\u660E\u7684 provider key"
|
|
9498
|
-
}
|
|
9499
|
-
}
|
|
9500
|
-
},
|
|
9501
11179
|
"ListPanelConfig": {
|
|
9502
11180
|
"type": "object",
|
|
9503
11181
|
"properties": {
|
|
11182
|
+
"metaPlugin": {
|
|
11183
|
+
"type": "string"
|
|
11184
|
+
},
|
|
11185
|
+
"metaPluginFilterKeys": {
|
|
11186
|
+
"type": "array",
|
|
11187
|
+
"items": {
|
|
11188
|
+
"type": "string"
|
|
11189
|
+
}
|
|
11190
|
+
},
|
|
9504
11191
|
"model": {
|
|
9505
11192
|
"type": "string"
|
|
9506
11193
|
},
|
|
@@ -9509,82 +11196,70 @@ var META_SCHEMAS = {
|
|
|
9509
11196
|
}
|
|
9510
11197
|
}
|
|
9511
11198
|
},
|
|
9512
|
-
"Map(String,Object)": {
|
|
9513
|
-
"type": "object"
|
|
9514
|
-
},
|
|
9515
11199
|
"Map(String,String)": {
|
|
9516
11200
|
"type": "object"
|
|
9517
11201
|
},
|
|
9518
|
-
"
|
|
9519
|
-
"type": "object",
|
|
9520
|
-
"properties": {
|
|
9521
|
-
"enabled": {
|
|
9522
|
-
"type": "boolean"
|
|
9523
|
-
},
|
|
9524
|
-
"source": {
|
|
9525
|
-
"type": "string",
|
|
9526
|
-
"enum": ["listSnapshot", "route", "provider"]
|
|
9527
|
-
}
|
|
9528
|
-
}
|
|
9529
|
-
},
|
|
9530
|
-
"MasterSummaryProviderConfig": {
|
|
9531
|
-
"type": "object",
|
|
9532
|
-
"properties": {
|
|
9533
|
-
"kind": {
|
|
9534
|
-
"type": "string",
|
|
9535
|
-
"enum": ["percent", "count", "badge", "text"]
|
|
9536
|
-
},
|
|
9537
|
-
"providerKey": {
|
|
9538
|
-
"type": "string"
|
|
9539
|
-
}
|
|
9540
|
-
}
|
|
9541
|
-
},
|
|
9542
|
-
"MenuGroupConfig": {
|
|
11202
|
+
"RelationConfig": {
|
|
9543
11203
|
"type": "object",
|
|
9544
11204
|
"properties": {
|
|
9545
|
-
"
|
|
9546
|
-
"type": "
|
|
11205
|
+
"additionalKeys": {
|
|
11206
|
+
"type": "array",
|
|
11207
|
+
"items": {
|
|
11208
|
+
"type": "object",
|
|
11209
|
+
"properties": {
|
|
11210
|
+
"operator": {
|
|
11211
|
+
"type": "string"
|
|
11212
|
+
},
|
|
11213
|
+
"sourceField": {
|
|
11214
|
+
"type": "string"
|
|
11215
|
+
},
|
|
11216
|
+
"targetField": {
|
|
11217
|
+
"type": "string"
|
|
11218
|
+
}
|
|
11219
|
+
}
|
|
11220
|
+
}
|
|
9547
11221
|
},
|
|
9548
|
-
"
|
|
11222
|
+
"sourceField": {
|
|
9549
11223
|
"type": "string"
|
|
9550
11224
|
},
|
|
9551
|
-
"
|
|
9552
|
-
"type": "
|
|
11225
|
+
"staticFilters": {
|
|
11226
|
+
"type": "array",
|
|
11227
|
+
"items": {
|
|
11228
|
+
"type": "object",
|
|
11229
|
+
"properties": {
|
|
11230
|
+
"field": {
|
|
11231
|
+
"type": "string"
|
|
11232
|
+
},
|
|
11233
|
+
"operator": {
|
|
11234
|
+
"type": "string"
|
|
11235
|
+
},
|
|
11236
|
+
"value": {}
|
|
11237
|
+
}
|
|
11238
|
+
}
|
|
9553
11239
|
},
|
|
9554
|
-
"
|
|
9555
|
-
"type": "
|
|
9556
|
-
"description": "\u662F\u5426\u5141\u8BB8\u70B9\u51FB\u5206\u7EC4\u6807\u9898\u5C55\u5F00/\u6536\u8D77,\u9ED8\u8BA4 true"
|
|
11240
|
+
"targetField": {
|
|
11241
|
+
"type": "string"
|
|
9557
11242
|
},
|
|
9558
|
-
"
|
|
9559
|
-
"type": "
|
|
9560
|
-
"description": "\u662F\u5426\u9ED8\u8BA4\u6536\u8D77,\u5F53\u524D\u6FC0\u6D3B\u9879\u6240\u5728\u5206\u7EC4\u4F1A\u81EA\u52A8\u5C55\u5F00"
|
|
11243
|
+
"type": {
|
|
11244
|
+
"type": "string"
|
|
9561
11245
|
}
|
|
9562
11246
|
}
|
|
9563
11247
|
},
|
|
9564
|
-
"
|
|
9565
|
-
"type": "
|
|
9566
|
-
"
|
|
9567
|
-
"type": "string"
|
|
9568
|
-
},
|
|
9569
|
-
"description": 'Provider \u53C2\u6570\u7ED1\u5B9A\u8868\u8FBE\u5F0F,\u5982 employeeId: "$master.id"'
|
|
11248
|
+
"StatsMethod": {
|
|
11249
|
+
"type": "string",
|
|
11250
|
+
"enum": ["GET", "POST"]
|
|
9570
11251
|
},
|
|
9571
|
-
"
|
|
11252
|
+
"StatusConfig": {
|
|
9572
11253
|
"type": "object",
|
|
9573
11254
|
"properties": {
|
|
9574
|
-
"
|
|
9575
|
-
"
|
|
11255
|
+
"anchor": {
|
|
11256
|
+
"type": "string"
|
|
9576
11257
|
},
|
|
9577
|
-
"
|
|
11258
|
+
"providerKey": {
|
|
9578
11259
|
"type": "string"
|
|
9579
11260
|
}
|
|
9580
11261
|
}
|
|
9581
11262
|
},
|
|
9582
|
-
"StatusProviderMap": {
|
|
9583
|
-
"type": "object",
|
|
9584
|
-
"additionalProperties": {
|
|
9585
|
-
"$ref": "#/$defs/StatusProviderConfig"
|
|
9586
|
-
}
|
|
9587
|
-
},
|
|
9588
11263
|
"TreeListInteraction": {
|
|
9589
11264
|
"type": "object",
|
|
9590
11265
|
"properties": {
|
|
@@ -9600,6 +11275,9 @@ var META_SCHEMAS = {
|
|
|
9600
11275
|
"filterOperator": {
|
|
9601
11276
|
"type": "string"
|
|
9602
11277
|
},
|
|
11278
|
+
"nodeValueField": {
|
|
11279
|
+
"type": "string"
|
|
11280
|
+
},
|
|
9603
11281
|
"searchScope": {
|
|
9604
11282
|
"type": "object",
|
|
9605
11283
|
"properties": {
|
|
@@ -9613,6 +11291,9 @@ var META_SCHEMAS = {
|
|
|
9613
11291
|
},
|
|
9614
11292
|
"showAllOnRoot": {
|
|
9615
11293
|
"type": "boolean"
|
|
11294
|
+
},
|
|
11295
|
+
"showScopeSelector": {
|
|
11296
|
+
"type": "boolean"
|
|
9616
11297
|
}
|
|
9617
11298
|
}
|
|
9618
11299
|
},
|
|
@@ -9669,26 +11350,163 @@ var META_SCHEMAS = {
|
|
|
9669
11350
|
"parentField": {
|
|
9670
11351
|
"type": "string"
|
|
9671
11352
|
},
|
|
9672
|
-
"rootValue": {},
|
|
9673
|
-
"
|
|
11353
|
+
"rootValue": {},
|
|
11354
|
+
"scopeRole": {
|
|
11355
|
+
"type": "string"
|
|
11356
|
+
},
|
|
11357
|
+
"searchPlaceholder": {
|
|
11358
|
+
"type": "string"
|
|
11359
|
+
},
|
|
11360
|
+
"showDateControl": {
|
|
11361
|
+
"type": "boolean"
|
|
11362
|
+
},
|
|
11363
|
+
"showSearch": {
|
|
11364
|
+
"type": "boolean"
|
|
11365
|
+
},
|
|
11366
|
+
"state": {
|
|
11367
|
+
"type": "string"
|
|
11368
|
+
},
|
|
11369
|
+
"title": {
|
|
11370
|
+
"type": "string"
|
|
11371
|
+
},
|
|
11372
|
+
"treeAction": {
|
|
11373
|
+
"type": "string"
|
|
11374
|
+
},
|
|
11375
|
+
"width": {}
|
|
11376
|
+
}
|
|
11377
|
+
},
|
|
11378
|
+
"WorkbenchTabConfig": {
|
|
11379
|
+
"allOf": [{
|
|
11380
|
+
"$ref": "#/$defs/DetailPanelConfig"
|
|
11381
|
+
}, {
|
|
11382
|
+
"type": "object",
|
|
11383
|
+
"properties": {
|
|
11384
|
+
"requiredPermissions": {
|
|
11385
|
+
"type": "array",
|
|
11386
|
+
"minItems": 1,
|
|
11387
|
+
"maxItems": 16,
|
|
11388
|
+
"uniqueItems": true,
|
|
11389
|
+
"items": {
|
|
11390
|
+
"type": "string",
|
|
11391
|
+
"pattern": "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*)*$"
|
|
11392
|
+
}
|
|
11393
|
+
},
|
|
11394
|
+
"queryFilters": {
|
|
11395
|
+
"type": "array",
|
|
11396
|
+
"minItems": 1,
|
|
11397
|
+
"maxItems": 16,
|
|
11398
|
+
"items": {
|
|
11399
|
+
"type": "object",
|
|
11400
|
+
"additionalProperties": false,
|
|
11401
|
+
"properties": {
|
|
11402
|
+
"field": {
|
|
11403
|
+
"type": "string",
|
|
11404
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$"
|
|
11405
|
+
},
|
|
11406
|
+
"source": {
|
|
11407
|
+
"const": "query"
|
|
11408
|
+
},
|
|
11409
|
+
"path": {
|
|
11410
|
+
"type": "string",
|
|
11411
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$"
|
|
11412
|
+
},
|
|
11413
|
+
"required": {
|
|
11414
|
+
"type": "boolean"
|
|
11415
|
+
},
|
|
11416
|
+
"operator": {
|
|
11417
|
+
"const": "EQUAL"
|
|
11418
|
+
}
|
|
11419
|
+
},
|
|
11420
|
+
"required": ["field", "source", "path"]
|
|
11421
|
+
}
|
|
11422
|
+
}
|
|
11423
|
+
}
|
|
11424
|
+
}]
|
|
11425
|
+
},
|
|
11426
|
+
"DetailStatusConfig": {
|
|
11427
|
+
"type": "object",
|
|
11428
|
+
"properties": {
|
|
11429
|
+
"anchor": {
|
|
11430
|
+
"type": "string",
|
|
11431
|
+
"description": "Provider \u8FD4\u56DE\u7684\u72B6\u6001\u951A\u70B9;\u9ED8\u8BA4\u5EFA\u8BAE\u4E0E detail key \u4E00\u81F4"
|
|
11432
|
+
},
|
|
11433
|
+
"providerKey": {
|
|
11434
|
+
"type": "string",
|
|
11435
|
+
"description": "\u5F15\u7528 layout.statusProviders \u4E2D\u58F0\u660E\u7684 provider key"
|
|
11436
|
+
}
|
|
11437
|
+
}
|
|
11438
|
+
},
|
|
11439
|
+
"Map(String,Object)": {
|
|
11440
|
+
"type": "object"
|
|
11441
|
+
},
|
|
11442
|
+
"MasterNavigationConfig": {
|
|
11443
|
+
"type": "object",
|
|
11444
|
+
"properties": {
|
|
11445
|
+
"enabled": {
|
|
11446
|
+
"type": "boolean"
|
|
11447
|
+
},
|
|
11448
|
+
"source": {
|
|
11449
|
+
"type": "string",
|
|
11450
|
+
"enum": ["listSnapshot", "route", "provider"]
|
|
11451
|
+
}
|
|
11452
|
+
}
|
|
11453
|
+
},
|
|
11454
|
+
"MasterSummaryProviderConfig": {
|
|
11455
|
+
"type": "object",
|
|
11456
|
+
"properties": {
|
|
11457
|
+
"kind": {
|
|
11458
|
+
"type": "string",
|
|
11459
|
+
"enum": ["percent", "count", "badge", "text"]
|
|
11460
|
+
},
|
|
11461
|
+
"providerKey": {
|
|
11462
|
+
"type": "string"
|
|
11463
|
+
}
|
|
11464
|
+
}
|
|
11465
|
+
},
|
|
11466
|
+
"MenuGroupConfig": {
|
|
11467
|
+
"type": "object",
|
|
11468
|
+
"properties": {
|
|
11469
|
+
"key": {
|
|
11470
|
+
"type": "string"
|
|
11471
|
+
},
|
|
11472
|
+
"label": {
|
|
9674
11473
|
"type": "string"
|
|
9675
11474
|
},
|
|
9676
|
-
"
|
|
9677
|
-
"type": "
|
|
9678
|
-
},
|
|
9679
|
-
"showSearch": {
|
|
9680
|
-
"type": "boolean"
|
|
11475
|
+
"order": {
|
|
11476
|
+
"type": "integer"
|
|
9681
11477
|
},
|
|
9682
|
-
"
|
|
9683
|
-
"type": "
|
|
11478
|
+
"collapsible": {
|
|
11479
|
+
"type": "boolean",
|
|
11480
|
+
"description": "\u662F\u5426\u5141\u8BB8\u70B9\u51FB\u5206\u7EC4\u6807\u9898\u5C55\u5F00/\u6536\u8D77,\u9ED8\u8BA4 true"
|
|
9684
11481
|
},
|
|
9685
|
-
"
|
|
9686
|
-
"type": "
|
|
11482
|
+
"defaultCollapsed": {
|
|
11483
|
+
"type": "boolean",
|
|
11484
|
+
"description": "\u662F\u5426\u9ED8\u8BA4\u6536\u8D77,\u5F53\u524D\u6FC0\u6D3B\u9879\u6240\u5728\u5206\u7EC4\u4F1A\u81EA\u52A8\u5C55\u5F00"
|
|
11485
|
+
}
|
|
11486
|
+
}
|
|
11487
|
+
},
|
|
11488
|
+
"StatusProviderBindConfig": {
|
|
11489
|
+
"type": "object",
|
|
11490
|
+
"additionalProperties": {
|
|
11491
|
+
"type": "string"
|
|
11492
|
+
},
|
|
11493
|
+
"description": 'Provider \u53C2\u6570\u7ED1\u5B9A\u8868\u8FBE\u5F0F,\u5982 employeeId: "$master.id"'
|
|
11494
|
+
},
|
|
11495
|
+
"StatusProviderConfig": {
|
|
11496
|
+
"type": "object",
|
|
11497
|
+
"properties": {
|
|
11498
|
+
"bind": {
|
|
11499
|
+
"$ref": "#/$defs/StatusProviderBindConfig"
|
|
9687
11500
|
},
|
|
9688
|
-
"
|
|
11501
|
+
"provider": {
|
|
9689
11502
|
"type": "string"
|
|
9690
|
-
}
|
|
9691
|
-
|
|
11503
|
+
}
|
|
11504
|
+
}
|
|
11505
|
+
},
|
|
11506
|
+
"StatusProviderMap": {
|
|
11507
|
+
"type": "object",
|
|
11508
|
+
"additionalProperties": {
|
|
11509
|
+
"$ref": "#/$defs/StatusProviderConfig"
|
|
9692
11510
|
}
|
|
9693
11511
|
}
|
|
9694
11512
|
},
|
|
@@ -9743,7 +11561,16 @@ var META_SCHEMAS = {
|
|
|
9743
11561
|
"details": {
|
|
9744
11562
|
"type": "array",
|
|
9745
11563
|
"items": {
|
|
9746
|
-
"
|
|
11564
|
+
"allOf": [{
|
|
11565
|
+
"$ref": "#/$defs/DetailPanelConfig"
|
|
11566
|
+
}],
|
|
11567
|
+
"not": {
|
|
11568
|
+
"anyOf": [{
|
|
11569
|
+
"required": ["requiredPermissions"]
|
|
11570
|
+
}, {
|
|
11571
|
+
"required": ["queryFilters"]
|
|
11572
|
+
}]
|
|
11573
|
+
}
|
|
9747
11574
|
}
|
|
9748
11575
|
},
|
|
9749
11576
|
"displayMode": {
|
|
@@ -9787,6 +11614,17 @@ var META_SCHEMAS = {
|
|
|
9787
11614
|
"defaultActive": {
|
|
9788
11615
|
"type": "string"
|
|
9789
11616
|
},
|
|
11617
|
+
"allLabel": {
|
|
11618
|
+
"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",
|
|
11619
|
+
"oneOf": [{
|
|
11620
|
+
"type": "string"
|
|
11621
|
+
}, {
|
|
11622
|
+
"type": "object",
|
|
11623
|
+
"additionalProperties": {
|
|
11624
|
+
"type": "string"
|
|
11625
|
+
}
|
|
11626
|
+
}]
|
|
11627
|
+
},
|
|
9790
11628
|
"groups": {
|
|
9791
11629
|
"type": "array",
|
|
9792
11630
|
"items": {
|
|
@@ -9796,6 +11634,10 @@ var META_SCHEMAS = {
|
|
|
9796
11634
|
"position": {
|
|
9797
11635
|
"type": "string"
|
|
9798
11636
|
},
|
|
11637
|
+
"showAll": {
|
|
11638
|
+
"type": "boolean",
|
|
11639
|
+
"description": "style=list \u65F6\u662F\u5426\u5728\u52A8\u6001\u5206\u7C7B\u9876\u90E8\u5C55\u793A\u2018\u5168\u90E8\u2019\u9879"
|
|
11640
|
+
},
|
|
9799
11641
|
"style": {
|
|
9800
11642
|
"type": "string",
|
|
9801
11643
|
"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",
|
|
@@ -9821,7 +11663,18 @@ var META_SCHEMAS = {
|
|
|
9821
11663
|
"tabs": {
|
|
9822
11664
|
"type": "array",
|
|
9823
11665
|
"items": {
|
|
9824
|
-
"
|
|
11666
|
+
"allOf": [{
|
|
11667
|
+
"$ref": "#/$defs/DetailPanelConfig"
|
|
11668
|
+
}],
|
|
11669
|
+
"not": {
|
|
11670
|
+
"anyOf": [{
|
|
11671
|
+
"required": ["requiredPermissions"]
|
|
11672
|
+
}, {
|
|
11673
|
+
"required": ["queryFilters"]
|
|
11674
|
+
}, {
|
|
11675
|
+
"required": ["relation"]
|
|
11676
|
+
}]
|
|
11677
|
+
}
|
|
9825
11678
|
}
|
|
9826
11679
|
},
|
|
9827
11680
|
"type": {
|
|
@@ -9852,12 +11705,78 @@ var META_SCHEMAS = {
|
|
|
9852
11705
|
}
|
|
9853
11706
|
}
|
|
9854
11707
|
},
|
|
11708
|
+
"contextParams": {
|
|
11709
|
+
"type": "array",
|
|
11710
|
+
"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",
|
|
11711
|
+
"minItems": 1,
|
|
11712
|
+
"maxItems": 8,
|
|
11713
|
+
"items": {
|
|
11714
|
+
"type": "object",
|
|
11715
|
+
"additionalProperties": false,
|
|
11716
|
+
"properties": {
|
|
11717
|
+
"key": {
|
|
11718
|
+
"type": "string",
|
|
11719
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$",
|
|
11720
|
+
"not": {
|
|
11721
|
+
"enum": ["tab", "state", "effectiveDate", "plugin"]
|
|
11722
|
+
}
|
|
11723
|
+
},
|
|
11724
|
+
"label": {
|
|
11725
|
+
"type": "string",
|
|
11726
|
+
"minLength": 1
|
|
11727
|
+
},
|
|
11728
|
+
"model": {
|
|
11729
|
+
"type": "string",
|
|
11730
|
+
"minLength": 1
|
|
11731
|
+
},
|
|
11732
|
+
"required": {
|
|
11733
|
+
"type": "boolean"
|
|
11734
|
+
},
|
|
11735
|
+
"valueField": {
|
|
11736
|
+
"type": "string"
|
|
11737
|
+
},
|
|
11738
|
+
"labelField": {
|
|
11739
|
+
"type": "string"
|
|
11740
|
+
},
|
|
11741
|
+
"filter": {
|
|
11742
|
+
"type": "string"
|
|
11743
|
+
},
|
|
11744
|
+
"order": {
|
|
11745
|
+
"type": "string",
|
|
11746
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*(:(asc|desc|ASC|DESC))?(,[A-Za-z][A-Za-z0-9]*(:(asc|desc|ASC|DESC))?)*$"
|
|
11747
|
+
},
|
|
11748
|
+
"autoSelectFirst": {
|
|
11749
|
+
"type": "boolean"
|
|
11750
|
+
}
|
|
11751
|
+
},
|
|
11752
|
+
"required": ["key", "label", "model"]
|
|
11753
|
+
}
|
|
11754
|
+
},
|
|
9855
11755
|
"hero": {
|
|
9856
11756
|
"$ref": "#/$defs/Map(String,Object)"
|
|
9857
11757
|
},
|
|
9858
11758
|
"stageFlow": {
|
|
9859
11759
|
"type": "object",
|
|
9860
11760
|
"properties": {
|
|
11761
|
+
"source": {
|
|
11762
|
+
"type": "object",
|
|
11763
|
+
"additionalProperties": false,
|
|
11764
|
+
"properties": {
|
|
11765
|
+
"model": {
|
|
11766
|
+
"type": "string",
|
|
11767
|
+
"minLength": 1
|
|
11768
|
+
},
|
|
11769
|
+
"action": {
|
|
11770
|
+
"type": "string",
|
|
11771
|
+
"minLength": 1
|
|
11772
|
+
},
|
|
11773
|
+
"method": {
|
|
11774
|
+
"type": "string",
|
|
11775
|
+
"enum": ["GET", "POST"]
|
|
11776
|
+
}
|
|
11777
|
+
},
|
|
11778
|
+
"required": ["model", "action"]
|
|
11779
|
+
},
|
|
9861
11780
|
"steps": {
|
|
9862
11781
|
"type": "array",
|
|
9863
11782
|
"items": {
|
|
@@ -9888,8 +11807,88 @@ var META_SCHEMAS = {
|
|
|
9888
11807
|
},
|
|
9889
11808
|
"cards": {
|
|
9890
11809
|
"type": "array",
|
|
11810
|
+
"minItems": 1,
|
|
9891
11811
|
"items": {
|
|
9892
|
-
"type": "object"
|
|
11812
|
+
"type": "object",
|
|
11813
|
+
"additionalProperties": false,
|
|
11814
|
+
"properties": {
|
|
11815
|
+
"key": {
|
|
11816
|
+
"type": "string",
|
|
11817
|
+
"minLength": 1
|
|
11818
|
+
},
|
|
11819
|
+
"label": {
|
|
11820
|
+
"type": "string",
|
|
11821
|
+
"minLength": 1
|
|
11822
|
+
},
|
|
11823
|
+
"description": {
|
|
11824
|
+
"type": "string"
|
|
11825
|
+
},
|
|
11826
|
+
"tone": {
|
|
11827
|
+
"type": "string"
|
|
11828
|
+
},
|
|
11829
|
+
"tab": {
|
|
11830
|
+
"type": "string",
|
|
11831
|
+
"minLength": 1
|
|
11832
|
+
},
|
|
11833
|
+
"filters": {
|
|
11834
|
+
"type": "array",
|
|
11835
|
+
"minItems": 1,
|
|
11836
|
+
"maxItems": 8,
|
|
11837
|
+
"items": {
|
|
11838
|
+
"type": "object",
|
|
11839
|
+
"additionalProperties": false,
|
|
11840
|
+
"properties": {
|
|
11841
|
+
"field": {
|
|
11842
|
+
"type": "string",
|
|
11843
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$"
|
|
11844
|
+
},
|
|
11845
|
+
"operator": {
|
|
11846
|
+
"type": "string",
|
|
11847
|
+
"enum": ["EQUAL", "IN"]
|
|
11848
|
+
},
|
|
11849
|
+
"value": {
|
|
11850
|
+
"oneOf": [{
|
|
11851
|
+
"type": ["string", "number", "boolean"]
|
|
11852
|
+
}, {
|
|
11853
|
+
"type": "array",
|
|
11854
|
+
"minItems": 1,
|
|
11855
|
+
"maxItems": 32,
|
|
11856
|
+
"items": {
|
|
11857
|
+
"type": ["string", "number", "boolean"]
|
|
11858
|
+
}
|
|
11859
|
+
}]
|
|
11860
|
+
}
|
|
11861
|
+
},
|
|
11862
|
+
"required": ["field", "operator", "value"]
|
|
11863
|
+
}
|
|
11864
|
+
}
|
|
11865
|
+
},
|
|
11866
|
+
"required": ["key", "label"]
|
|
11867
|
+
}
|
|
11868
|
+
},
|
|
11869
|
+
"params": {
|
|
11870
|
+
"type": "array",
|
|
11871
|
+
"maxItems": 16,
|
|
11872
|
+
"items": {
|
|
11873
|
+
"type": "object",
|
|
11874
|
+
"additionalProperties": false,
|
|
11875
|
+
"properties": {
|
|
11876
|
+
"name": {
|
|
11877
|
+
"type": "string",
|
|
11878
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$"
|
|
11879
|
+
},
|
|
11880
|
+
"source": {
|
|
11881
|
+
"const": "query"
|
|
11882
|
+
},
|
|
11883
|
+
"path": {
|
|
11884
|
+
"type": "string",
|
|
11885
|
+
"pattern": "^[A-Za-z][A-Za-z0-9]*$"
|
|
11886
|
+
},
|
|
11887
|
+
"required": {
|
|
11888
|
+
"type": "boolean"
|
|
11889
|
+
}
|
|
11890
|
+
},
|
|
11891
|
+
"required": ["name", "source", "path"]
|
|
9893
11892
|
}
|
|
9894
11893
|
},
|
|
9895
11894
|
"method": {
|
|
@@ -9905,7 +11904,7 @@ var META_SCHEMAS = {
|
|
|
9905
11904
|
"tabs": {
|
|
9906
11905
|
"type": "array",
|
|
9907
11906
|
"items": {
|
|
9908
|
-
"$ref": "#/$defs/
|
|
11907
|
+
"$ref": "#/$defs/WorkbenchTabConfig"
|
|
9909
11908
|
}
|
|
9910
11909
|
},
|
|
9911
11910
|
"tabsPosition": {
|
|
@@ -9940,7 +11939,16 @@ var META_SCHEMAS = {
|
|
|
9940
11939
|
"tabs": {
|
|
9941
11940
|
"type": "array",
|
|
9942
11941
|
"items": {
|
|
9943
|
-
"
|
|
11942
|
+
"allOf": [{
|
|
11943
|
+
"$ref": "#/$defs/DetailPanelConfig"
|
|
11944
|
+
}],
|
|
11945
|
+
"not": {
|
|
11946
|
+
"anyOf": [{
|
|
11947
|
+
"required": ["requiredPermissions"]
|
|
11948
|
+
}, {
|
|
11949
|
+
"required": ["queryFilters"]
|
|
11950
|
+
}]
|
|
11951
|
+
}
|
|
9944
11952
|
}
|
|
9945
11953
|
},
|
|
9946
11954
|
"tree": {
|
|
@@ -9990,26 +11998,82 @@ var META_SCHEMAS = {
|
|
|
9990
11998
|
"title": "HCM WizMeta v1",
|
|
9991
11999
|
"type": "object",
|
|
9992
12000
|
"additionalProperties": false,
|
|
9993
|
-
"required": [
|
|
12001
|
+
"required": [
|
|
12002
|
+
"capabilityVersion",
|
|
12003
|
+
"name",
|
|
12004
|
+
"persistence",
|
|
12005
|
+
"steps"
|
|
12006
|
+
],
|
|
9994
12007
|
"properties": {
|
|
9995
|
-
"key": {
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
"
|
|
10000
|
-
|
|
10001
|
-
|
|
12008
|
+
"key": {
|
|
12009
|
+
"type": "string",
|
|
12010
|
+
"minLength": 1
|
|
12011
|
+
},
|
|
12012
|
+
"name": {
|
|
12013
|
+
"type": "string",
|
|
12014
|
+
"minLength": 1
|
|
12015
|
+
},
|
|
12016
|
+
"description": {
|
|
12017
|
+
"type": "string"
|
|
12018
|
+
},
|
|
12019
|
+
"capabilityVersion": {
|
|
12020
|
+
"enum": [
|
|
12021
|
+
"1.22.0",
|
|
12022
|
+
"1.23.0",
|
|
12023
|
+
"1.25.0",
|
|
12024
|
+
"1.26.0",
|
|
12025
|
+
"1.27.0",
|
|
12026
|
+
"1.28.0",
|
|
12027
|
+
"1.29.0"
|
|
12028
|
+
]
|
|
12029
|
+
},
|
|
12030
|
+
"persistence": {
|
|
12031
|
+
"$ref": "#/$defs/persistence"
|
|
12032
|
+
},
|
|
12033
|
+
"display": {
|
|
12034
|
+
"$ref": "#/$defs/display"
|
|
12035
|
+
},
|
|
12036
|
+
"contextDefaults": {
|
|
12037
|
+
"type": "object"
|
|
12038
|
+
},
|
|
12039
|
+
"initialLoad": {
|
|
12040
|
+
"$ref": "#/$defs/initialLoad"
|
|
12041
|
+
},
|
|
10002
12042
|
"steps": {
|
|
10003
12043
|
"type": "array",
|
|
10004
12044
|
"minItems": 2,
|
|
10005
|
-
"items": {
|
|
12045
|
+
"items": {
|
|
12046
|
+
"$ref": "#/$defs/step"
|
|
12047
|
+
}
|
|
10006
12048
|
},
|
|
10007
12049
|
"resetOnChange": {
|
|
10008
12050
|
"type": "array",
|
|
10009
|
-
"items": {
|
|
12051
|
+
"items": {
|
|
12052
|
+
"$ref": "#/$defs/resetRule"
|
|
12053
|
+
}
|
|
10010
12054
|
}
|
|
10011
12055
|
},
|
|
10012
12056
|
"$defs": {
|
|
12057
|
+
"initialLoad": {
|
|
12058
|
+
"type": "object",
|
|
12059
|
+
"additionalProperties": false,
|
|
12060
|
+
"required": [
|
|
12061
|
+
"action",
|
|
12062
|
+
"resultBindings"
|
|
12063
|
+
],
|
|
12064
|
+
"properties": {
|
|
12065
|
+
"action": {
|
|
12066
|
+
"$ref": "#/$defs/action"
|
|
12067
|
+
},
|
|
12068
|
+
"resultBindings": {
|
|
12069
|
+
"type": "array",
|
|
12070
|
+
"minItems": 1,
|
|
12071
|
+
"items": {
|
|
12072
|
+
"$ref": "#/$defs/resultBinding"
|
|
12073
|
+
}
|
|
12074
|
+
}
|
|
12075
|
+
}
|
|
12076
|
+
},
|
|
10013
12077
|
"safePath": {
|
|
10014
12078
|
"type": "string",
|
|
10015
12079
|
"minLength": 1,
|
|
@@ -10018,182 +12082,530 @@ var META_SCHEMAS = {
|
|
|
10018
12082
|
"persistence": {
|
|
10019
12083
|
"type": "object",
|
|
10020
12084
|
"additionalProperties": false,
|
|
10021
|
-
"required": [
|
|
12085
|
+
"required": [
|
|
12086
|
+
"mode"
|
|
12087
|
+
],
|
|
10022
12088
|
"properties": {
|
|
10023
|
-
"mode": {
|
|
12089
|
+
"mode": {
|
|
12090
|
+
"enum": [
|
|
12091
|
+
"final",
|
|
12092
|
+
"per-step"
|
|
12093
|
+
]
|
|
12094
|
+
}
|
|
10024
12095
|
}
|
|
10025
12096
|
},
|
|
10026
12097
|
"display": {
|
|
10027
12098
|
"type": "object",
|
|
10028
12099
|
"additionalProperties": false,
|
|
10029
12100
|
"properties": {
|
|
10030
|
-
"dialogWidth": {
|
|
10031
|
-
|
|
10032
|
-
|
|
12101
|
+
"dialogWidth": {
|
|
12102
|
+
"type": "string",
|
|
12103
|
+
"minLength": 1
|
|
12104
|
+
},
|
|
12105
|
+
"pageMaxWidth": {
|
|
12106
|
+
"type": "string",
|
|
12107
|
+
"minLength": 1
|
|
12108
|
+
},
|
|
12109
|
+
"closeOnBackdrop": {
|
|
12110
|
+
"type": "boolean"
|
|
12111
|
+
},
|
|
12112
|
+
"stepper": {
|
|
12113
|
+
"type": "object",
|
|
12114
|
+
"additionalProperties": false,
|
|
12115
|
+
"required": [
|
|
12116
|
+
"style"
|
|
12117
|
+
],
|
|
12118
|
+
"properties": {
|
|
12119
|
+
"style": {
|
|
12120
|
+
"enum": [
|
|
12121
|
+
"simple",
|
|
12122
|
+
"numbered",
|
|
12123
|
+
"compact"
|
|
12124
|
+
]
|
|
12125
|
+
}
|
|
12126
|
+
}
|
|
12127
|
+
},
|
|
12128
|
+
"showStepHeader": {
|
|
12129
|
+
"type": "boolean",
|
|
12130
|
+
"description": "Wiz 1.28: omitted means true; false hides the visible step heading while preserving accessible focus."
|
|
12131
|
+
}
|
|
10033
12132
|
}
|
|
10034
12133
|
},
|
|
10035
12134
|
"step": {
|
|
10036
12135
|
"type": "object",
|
|
10037
12136
|
"additionalProperties": false,
|
|
10038
|
-
"required": [
|
|
12137
|
+
"required": [
|
|
12138
|
+
"key",
|
|
12139
|
+
"name",
|
|
12140
|
+
"sequence"
|
|
12141
|
+
],
|
|
10039
12142
|
"properties": {
|
|
10040
|
-
"key": {
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
|
|
12143
|
+
"key": {
|
|
12144
|
+
"type": "string",
|
|
12145
|
+
"minLength": 1
|
|
12146
|
+
},
|
|
12147
|
+
"name": {
|
|
12148
|
+
"type": "string",
|
|
12149
|
+
"minLength": 1
|
|
12150
|
+
},
|
|
12151
|
+
"description": {
|
|
12152
|
+
"type": "string"
|
|
12153
|
+
},
|
|
12154
|
+
"sequence": {
|
|
12155
|
+
"type": "integer"
|
|
12156
|
+
},
|
|
10044
12157
|
"infos": {
|
|
10045
12158
|
"type": "array",
|
|
10046
|
-
"items": {
|
|
12159
|
+
"items": {
|
|
12160
|
+
"$ref": "#/$defs/infoRef"
|
|
12161
|
+
}
|
|
10047
12162
|
},
|
|
10048
12163
|
"confirmations": {
|
|
10049
12164
|
"type": "array",
|
|
10050
|
-
"items": {
|
|
12165
|
+
"items": {
|
|
12166
|
+
"$ref": "#/$defs/confirmation"
|
|
12167
|
+
}
|
|
10051
12168
|
},
|
|
10052
12169
|
"previous": {
|
|
10053
12170
|
"oneOf": [
|
|
10054
|
-
{
|
|
10055
|
-
|
|
12171
|
+
{
|
|
12172
|
+
"const": false
|
|
12173
|
+
},
|
|
12174
|
+
{
|
|
12175
|
+
"$ref": "#/$defs/previous"
|
|
12176
|
+
}
|
|
10056
12177
|
]
|
|
10057
12178
|
},
|
|
10058
|
-
"next": {
|
|
10059
|
-
|
|
10060
|
-
|
|
12179
|
+
"next": {
|
|
12180
|
+
"$ref": "#/$defs/transition"
|
|
12181
|
+
},
|
|
12182
|
+
"terminal": {
|
|
12183
|
+
"type": "boolean"
|
|
12184
|
+
},
|
|
12185
|
+
"finish": {
|
|
12186
|
+
"$ref": "#/$defs/finish"
|
|
12187
|
+
}
|
|
12188
|
+
},
|
|
12189
|
+
"allOf": [
|
|
12190
|
+
{
|
|
12191
|
+
"if": {
|
|
12192
|
+
"required": [
|
|
12193
|
+
"finish"
|
|
12194
|
+
]
|
|
12195
|
+
},
|
|
12196
|
+
"then": {
|
|
12197
|
+
"required": [
|
|
12198
|
+
"terminal"
|
|
12199
|
+
],
|
|
12200
|
+
"properties": {
|
|
12201
|
+
"terminal": {
|
|
12202
|
+
"const": true
|
|
12203
|
+
}
|
|
12204
|
+
}
|
|
12205
|
+
}
|
|
12206
|
+
}
|
|
12207
|
+
]
|
|
10061
12208
|
},
|
|
10062
12209
|
"infoRef": {
|
|
10063
12210
|
"type": "object",
|
|
10064
12211
|
"additionalProperties": false,
|
|
10065
|
-
"required": [
|
|
12212
|
+
"required": [
|
|
12213
|
+
"key",
|
|
12214
|
+
"model",
|
|
12215
|
+
"bind",
|
|
12216
|
+
"mode"
|
|
12217
|
+
],
|
|
10066
12218
|
"properties": {
|
|
10067
|
-
"key": {
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
"
|
|
10072
|
-
|
|
10073
|
-
|
|
10074
|
-
|
|
10075
|
-
"
|
|
10076
|
-
|
|
12219
|
+
"key": {
|
|
12220
|
+
"type": "string",
|
|
12221
|
+
"minLength": 1
|
|
12222
|
+
},
|
|
12223
|
+
"model": {
|
|
12224
|
+
"type": "string",
|
|
12225
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12226
|
+
},
|
|
12227
|
+
"state": {
|
|
12228
|
+
"type": "string",
|
|
12229
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12230
|
+
},
|
|
12231
|
+
"bind": {
|
|
12232
|
+
"$ref": "#/$defs/safePath"
|
|
12233
|
+
},
|
|
12234
|
+
"mode": {
|
|
12235
|
+
"enum": [
|
|
12236
|
+
"create",
|
|
12237
|
+
"edit",
|
|
12238
|
+
"view"
|
|
12239
|
+
]
|
|
12240
|
+
},
|
|
12241
|
+
"collection": {
|
|
12242
|
+
"type": "boolean"
|
|
12243
|
+
},
|
|
12244
|
+
"minItems": {
|
|
12245
|
+
"type": "integer",
|
|
12246
|
+
"minimum": 0
|
|
12247
|
+
},
|
|
12248
|
+
"maxItems": {
|
|
12249
|
+
"type": "integer",
|
|
12250
|
+
"minimum": 0
|
|
12251
|
+
},
|
|
12252
|
+
"addLabel": {
|
|
12253
|
+
"type": "string"
|
|
12254
|
+
},
|
|
12255
|
+
"removable": {
|
|
12256
|
+
"type": "boolean"
|
|
12257
|
+
},
|
|
12258
|
+
"display": {
|
|
12259
|
+
"enum": [
|
|
12260
|
+
"form",
|
|
12261
|
+
"table"
|
|
12262
|
+
]
|
|
12263
|
+
},
|
|
12264
|
+
"contextBindings": {
|
|
12265
|
+
"type": "object",
|
|
12266
|
+
"minProperties": 1,
|
|
12267
|
+
"propertyNames": {
|
|
12268
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12269
|
+
},
|
|
12270
|
+
"additionalProperties": {
|
|
12271
|
+
"$ref": "#/$defs/safePath"
|
|
12272
|
+
}
|
|
12273
|
+
}
|
|
10077
12274
|
}
|
|
10078
12275
|
},
|
|
10079
12276
|
"confirmation": {
|
|
10080
12277
|
"type": "object",
|
|
10081
12278
|
"additionalProperties": false,
|
|
10082
|
-
"required": [
|
|
12279
|
+
"required": [
|
|
12280
|
+
"key",
|
|
12281
|
+
"label",
|
|
12282
|
+
"bind"
|
|
12283
|
+
],
|
|
10083
12284
|
"properties": {
|
|
10084
|
-
"key": {
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
12285
|
+
"key": {
|
|
12286
|
+
"type": "string",
|
|
12287
|
+
"minLength": 1
|
|
12288
|
+
},
|
|
12289
|
+
"label": {
|
|
12290
|
+
"type": "string",
|
|
12291
|
+
"minLength": 1
|
|
12292
|
+
},
|
|
12293
|
+
"required": {
|
|
12294
|
+
"type": "boolean"
|
|
12295
|
+
},
|
|
12296
|
+
"bind": {
|
|
12297
|
+
"$ref": "#/$defs/safePath"
|
|
12298
|
+
}
|
|
10088
12299
|
}
|
|
10089
12300
|
},
|
|
10090
12301
|
"previous": {
|
|
10091
12302
|
"type": "object",
|
|
10092
12303
|
"additionalProperties": false,
|
|
10093
|
-
"required": [
|
|
12304
|
+
"required": [
|
|
12305
|
+
"target"
|
|
12306
|
+
],
|
|
10094
12307
|
"properties": {
|
|
10095
|
-
"label": {
|
|
10096
|
-
|
|
12308
|
+
"label": {
|
|
12309
|
+
"type": "string"
|
|
12310
|
+
},
|
|
12311
|
+
"target": {
|
|
12312
|
+
"type": "string",
|
|
12313
|
+
"minLength": 1
|
|
12314
|
+
},
|
|
10097
12315
|
"clear": {
|
|
10098
12316
|
"type": "array",
|
|
10099
|
-
"items": {
|
|
12317
|
+
"items": {
|
|
12318
|
+
"$ref": "#/$defs/safePath"
|
|
12319
|
+
}
|
|
10100
12320
|
}
|
|
10101
12321
|
}
|
|
10102
12322
|
},
|
|
10103
12323
|
"transition": {
|
|
10104
12324
|
"type": "object",
|
|
10105
12325
|
"additionalProperties": false,
|
|
10106
|
-
"required": [
|
|
12326
|
+
"required": [
|
|
12327
|
+
"label",
|
|
12328
|
+
"target",
|
|
12329
|
+
"persistence"
|
|
12330
|
+
],
|
|
10107
12331
|
"properties": {
|
|
10108
|
-
"label": {
|
|
10109
|
-
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
"
|
|
12332
|
+
"label": {
|
|
12333
|
+
"type": "string",
|
|
12334
|
+
"minLength": 1
|
|
12335
|
+
},
|
|
12336
|
+
"target": {
|
|
12337
|
+
"type": "string",
|
|
12338
|
+
"minLength": 1
|
|
12339
|
+
},
|
|
12340
|
+
"validate": {
|
|
12341
|
+
"type": "boolean"
|
|
12342
|
+
},
|
|
12343
|
+
"persistence": {
|
|
12344
|
+
"enum": [
|
|
12345
|
+
"none",
|
|
12346
|
+
"commit"
|
|
12347
|
+
]
|
|
12348
|
+
},
|
|
12349
|
+
"action": {
|
|
12350
|
+
"$ref": "#/$defs/action"
|
|
12351
|
+
},
|
|
10113
12352
|
"resultBindings": {
|
|
10114
12353
|
"type": "array",
|
|
10115
|
-
"items": {
|
|
12354
|
+
"items": {
|
|
12355
|
+
"$ref": "#/$defs/resultBinding"
|
|
12356
|
+
}
|
|
10116
12357
|
},
|
|
10117
|
-
"idempotency": {
|
|
12358
|
+
"idempotency": {
|
|
12359
|
+
"$ref": "#/$defs/idempotency"
|
|
12360
|
+
}
|
|
10118
12361
|
}
|
|
10119
12362
|
},
|
|
10120
12363
|
"action": {
|
|
10121
12364
|
"type": "object",
|
|
10122
12365
|
"additionalProperties": false,
|
|
10123
|
-
"required": [
|
|
12366
|
+
"required": [
|
|
12367
|
+
"key",
|
|
12368
|
+
"label",
|
|
12369
|
+
"type"
|
|
12370
|
+
],
|
|
10124
12371
|
"properties": {
|
|
10125
|
-
"key": {
|
|
10126
|
-
|
|
10127
|
-
|
|
10128
|
-
|
|
10129
|
-
"
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
"
|
|
12372
|
+
"key": {
|
|
12373
|
+
"type": "string",
|
|
12374
|
+
"minLength": 1
|
|
12375
|
+
},
|
|
12376
|
+
"label": {
|
|
12377
|
+
"type": "string",
|
|
12378
|
+
"minLength": 1
|
|
12379
|
+
},
|
|
12380
|
+
"type": {
|
|
12381
|
+
"enum": [
|
|
12382
|
+
"api",
|
|
12383
|
+
"service",
|
|
12384
|
+
"composite"
|
|
12385
|
+
]
|
|
12386
|
+
},
|
|
12387
|
+
"needConfirm": {
|
|
12388
|
+
"type": "boolean"
|
|
12389
|
+
},
|
|
12390
|
+
"confirmTitle": {
|
|
12391
|
+
"type": "string"
|
|
12392
|
+
},
|
|
12393
|
+
"confirmText": {
|
|
12394
|
+
"type": "string"
|
|
12395
|
+
},
|
|
12396
|
+
"api": {
|
|
12397
|
+
"$ref": "#/$defs/api"
|
|
12398
|
+
},
|
|
12399
|
+
"service": {
|
|
12400
|
+
"$ref": "#/$defs/service"
|
|
12401
|
+
},
|
|
12402
|
+
"execution": {
|
|
12403
|
+
"$ref": "#/$defs/execution"
|
|
12404
|
+
},
|
|
10134
12405
|
"params": {
|
|
10135
12406
|
"type": "array",
|
|
10136
|
-
"items": {
|
|
12407
|
+
"items": {
|
|
12408
|
+
"$ref": "#/$defs/param"
|
|
12409
|
+
}
|
|
12410
|
+
},
|
|
12411
|
+
"composite": {
|
|
12412
|
+
"$ref": "#/$defs/composite"
|
|
10137
12413
|
}
|
|
10138
12414
|
},
|
|
10139
12415
|
"oneOf": [
|
|
10140
12416
|
{
|
|
10141
|
-
"properties": {
|
|
10142
|
-
|
|
10143
|
-
|
|
12417
|
+
"properties": {
|
|
12418
|
+
"type": {
|
|
12419
|
+
"const": "api"
|
|
12420
|
+
}
|
|
12421
|
+
},
|
|
12422
|
+
"required": [
|
|
12423
|
+
"api"
|
|
12424
|
+
],
|
|
12425
|
+
"not": {
|
|
12426
|
+
"anyOf": [
|
|
12427
|
+
{
|
|
12428
|
+
"required": [
|
|
12429
|
+
"service"
|
|
12430
|
+
]
|
|
12431
|
+
},
|
|
12432
|
+
{
|
|
12433
|
+
"required": [
|
|
12434
|
+
"composite"
|
|
12435
|
+
]
|
|
12436
|
+
}
|
|
12437
|
+
]
|
|
12438
|
+
}
|
|
12439
|
+
},
|
|
12440
|
+
{
|
|
12441
|
+
"properties": {
|
|
12442
|
+
"type": {
|
|
12443
|
+
"const": "service"
|
|
12444
|
+
}
|
|
12445
|
+
},
|
|
12446
|
+
"required": [
|
|
12447
|
+
"service"
|
|
12448
|
+
],
|
|
12449
|
+
"not": {
|
|
12450
|
+
"anyOf": [
|
|
12451
|
+
{
|
|
12452
|
+
"required": [
|
|
12453
|
+
"api"
|
|
12454
|
+
]
|
|
12455
|
+
},
|
|
12456
|
+
{
|
|
12457
|
+
"required": [
|
|
12458
|
+
"composite"
|
|
12459
|
+
]
|
|
12460
|
+
}
|
|
12461
|
+
]
|
|
12462
|
+
}
|
|
10144
12463
|
},
|
|
10145
12464
|
{
|
|
10146
|
-
"properties": {
|
|
10147
|
-
|
|
10148
|
-
|
|
12465
|
+
"properties": {
|
|
12466
|
+
"type": {
|
|
12467
|
+
"const": "composite"
|
|
12468
|
+
}
|
|
12469
|
+
},
|
|
12470
|
+
"required": [
|
|
12471
|
+
"composite"
|
|
12472
|
+
],
|
|
12473
|
+
"not": {
|
|
12474
|
+
"anyOf": [
|
|
12475
|
+
{
|
|
12476
|
+
"required": [
|
|
12477
|
+
"api"
|
|
12478
|
+
]
|
|
12479
|
+
},
|
|
12480
|
+
{
|
|
12481
|
+
"required": [
|
|
12482
|
+
"service"
|
|
12483
|
+
]
|
|
12484
|
+
},
|
|
12485
|
+
{
|
|
12486
|
+
"required": [
|
|
12487
|
+
"params"
|
|
12488
|
+
]
|
|
12489
|
+
},
|
|
12490
|
+
{
|
|
12491
|
+
"required": [
|
|
12492
|
+
"execution"
|
|
12493
|
+
]
|
|
12494
|
+
}
|
|
12495
|
+
]
|
|
12496
|
+
}
|
|
10149
12497
|
}
|
|
10150
12498
|
]
|
|
10151
12499
|
},
|
|
10152
12500
|
"api": {
|
|
10153
12501
|
"type": "object",
|
|
10154
12502
|
"additionalProperties": false,
|
|
10155
|
-
"required": [
|
|
12503
|
+
"required": [
|
|
12504
|
+
"target",
|
|
12505
|
+
"targetModel",
|
|
12506
|
+
"method",
|
|
12507
|
+
"actionName"
|
|
12508
|
+
],
|
|
10156
12509
|
"properties": {
|
|
10157
|
-
"target": {
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
"
|
|
12510
|
+
"target": {
|
|
12511
|
+
"type": "string"
|
|
12512
|
+
},
|
|
12513
|
+
"targetModel": {
|
|
12514
|
+
"type": "string",
|
|
12515
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12516
|
+
},
|
|
12517
|
+
"method": {
|
|
12518
|
+
"enum": [
|
|
12519
|
+
"GET",
|
|
12520
|
+
"POST",
|
|
12521
|
+
"PUT",
|
|
12522
|
+
"DELETE"
|
|
12523
|
+
]
|
|
12524
|
+
},
|
|
12525
|
+
"actionName": {
|
|
12526
|
+
"type": "string",
|
|
12527
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12528
|
+
}
|
|
10161
12529
|
}
|
|
10162
12530
|
},
|
|
10163
12531
|
"service": {
|
|
10164
12532
|
"type": "object",
|
|
10165
12533
|
"additionalProperties": false,
|
|
10166
|
-
"required": [
|
|
12534
|
+
"required": [
|
|
12535
|
+
"agentKey",
|
|
12536
|
+
"serviceKey"
|
|
12537
|
+
],
|
|
10167
12538
|
"properties": {
|
|
10168
|
-
"agentKey": {
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
"
|
|
12539
|
+
"agentKey": {
|
|
12540
|
+
"type": "string",
|
|
12541
|
+
"minLength": 1
|
|
12542
|
+
},
|
|
12543
|
+
"serviceKey": {
|
|
12544
|
+
"type": "string",
|
|
12545
|
+
"minLength": 1
|
|
12546
|
+
},
|
|
12547
|
+
"mode": {
|
|
12548
|
+
"enum": [
|
|
12549
|
+
"sync",
|
|
12550
|
+
"async"
|
|
12551
|
+
]
|
|
12552
|
+
},
|
|
12553
|
+
"timeoutMs": {
|
|
12554
|
+
"type": "integer",
|
|
12555
|
+
"minimum": 1e3
|
|
12556
|
+
},
|
|
12557
|
+
"pollIntervalMs": {
|
|
12558
|
+
"type": "integer",
|
|
12559
|
+
"minimum": 100
|
|
12560
|
+
}
|
|
10173
12561
|
}
|
|
10174
12562
|
},
|
|
10175
12563
|
"execution": {
|
|
10176
12564
|
"type": "object",
|
|
10177
12565
|
"additionalProperties": false,
|
|
10178
12566
|
"properties": {
|
|
10179
|
-
"returnOn": {
|
|
12567
|
+
"returnOn": {
|
|
12568
|
+
"const": "terminal"
|
|
12569
|
+
}
|
|
10180
12570
|
}
|
|
10181
12571
|
},
|
|
10182
12572
|
"param": {
|
|
10183
12573
|
"type": "object",
|
|
10184
12574
|
"additionalProperties": false,
|
|
10185
|
-
"required": [
|
|
12575
|
+
"required": [
|
|
12576
|
+
"name",
|
|
12577
|
+
"source"
|
|
12578
|
+
],
|
|
10186
12579
|
"properties": {
|
|
10187
|
-
"name": {
|
|
10188
|
-
|
|
10189
|
-
|
|
12580
|
+
"name": {
|
|
12581
|
+
"type": "string",
|
|
12582
|
+
"minLength": 1
|
|
12583
|
+
},
|
|
12584
|
+
"source": {
|
|
12585
|
+
"enum": [
|
|
12586
|
+
"state",
|
|
12587
|
+
"constant",
|
|
12588
|
+
"idempotency",
|
|
12589
|
+
"chainResult",
|
|
12590
|
+
"chainStep"
|
|
12591
|
+
]
|
|
12592
|
+
},
|
|
12593
|
+
"path": {
|
|
12594
|
+
"$ref": "#/$defs/safePath"
|
|
12595
|
+
},
|
|
10190
12596
|
"value": {},
|
|
10191
|
-
"required": {
|
|
12597
|
+
"required": {
|
|
12598
|
+
"type": "boolean"
|
|
12599
|
+
},
|
|
10192
12600
|
"defaultValue": {},
|
|
10193
12601
|
"into": {
|
|
10194
12602
|
"oneOf": [
|
|
10195
|
-
{
|
|
10196
|
-
|
|
12603
|
+
{
|
|
12604
|
+
"const": "$root"
|
|
12605
|
+
},
|
|
12606
|
+
{
|
|
12607
|
+
"$ref": "#/$defs/safePath"
|
|
12608
|
+
}
|
|
10197
12609
|
]
|
|
10198
12610
|
}
|
|
10199
12611
|
}
|
|
@@ -10201,50 +12613,246 @@ var META_SCHEMAS = {
|
|
|
10201
12613
|
"resultBinding": {
|
|
10202
12614
|
"type": "object",
|
|
10203
12615
|
"additionalProperties": false,
|
|
10204
|
-
"required": [
|
|
12616
|
+
"required": [
|
|
12617
|
+
"key",
|
|
12618
|
+
"from",
|
|
12619
|
+
"to"
|
|
12620
|
+
],
|
|
10205
12621
|
"properties": {
|
|
10206
|
-
"key": {
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
12622
|
+
"key": {
|
|
12623
|
+
"type": "string",
|
|
12624
|
+
"minLength": 1
|
|
12625
|
+
},
|
|
12626
|
+
"from": {
|
|
12627
|
+
"$ref": "#/$defs/safePath"
|
|
12628
|
+
},
|
|
12629
|
+
"to": {
|
|
12630
|
+
"$ref": "#/$defs/safePath"
|
|
12631
|
+
},
|
|
12632
|
+
"required": {
|
|
12633
|
+
"type": "boolean"
|
|
12634
|
+
}
|
|
10210
12635
|
}
|
|
10211
12636
|
},
|
|
10212
12637
|
"idempotency": {
|
|
10213
12638
|
"type": "object",
|
|
10214
12639
|
"additionalProperties": false,
|
|
10215
|
-
"required": [
|
|
12640
|
+
"required": [
|
|
12641
|
+
"key",
|
|
12642
|
+
"required",
|
|
12643
|
+
"retry"
|
|
12644
|
+
],
|
|
10216
12645
|
"properties": {
|
|
10217
|
-
"key": {
|
|
10218
|
-
|
|
10219
|
-
|
|
12646
|
+
"key": {
|
|
12647
|
+
"type": "string",
|
|
12648
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12649
|
+
},
|
|
12650
|
+
"required": {
|
|
12651
|
+
"type": "boolean"
|
|
12652
|
+
},
|
|
12653
|
+
"retry": {
|
|
12654
|
+
"const": "retain-on-unknown"
|
|
12655
|
+
}
|
|
10220
12656
|
}
|
|
10221
12657
|
},
|
|
10222
12658
|
"resetRule": {
|
|
10223
12659
|
"type": "object",
|
|
10224
12660
|
"additionalProperties": false,
|
|
10225
|
-
"required": [
|
|
12661
|
+
"required": [
|
|
12662
|
+
"key",
|
|
12663
|
+
"path",
|
|
12664
|
+
"goTo",
|
|
12665
|
+
"clear"
|
|
12666
|
+
],
|
|
10226
12667
|
"properties": {
|
|
10227
|
-
"key": {
|
|
10228
|
-
|
|
10229
|
-
|
|
10230
|
-
|
|
12668
|
+
"key": {
|
|
12669
|
+
"type": "string",
|
|
12670
|
+
"minLength": 1
|
|
12671
|
+
},
|
|
12672
|
+
"path": {
|
|
12673
|
+
"$ref": "#/$defs/safePath"
|
|
12674
|
+
},
|
|
12675
|
+
"whenAfterStep": {
|
|
12676
|
+
"type": "string",
|
|
12677
|
+
"minLength": 1
|
|
12678
|
+
},
|
|
12679
|
+
"goTo": {
|
|
12680
|
+
"type": "string",
|
|
12681
|
+
"minLength": 1
|
|
12682
|
+
},
|
|
10231
12683
|
"clear": {
|
|
10232
12684
|
"type": "array",
|
|
10233
|
-
"items": {
|
|
12685
|
+
"items": {
|
|
12686
|
+
"$ref": "#/$defs/safePath"
|
|
12687
|
+
}
|
|
12688
|
+
}
|
|
12689
|
+
}
|
|
12690
|
+
},
|
|
12691
|
+
"composite": {
|
|
12692
|
+
"type": "object",
|
|
12693
|
+
"additionalProperties": false,
|
|
12694
|
+
"required": [
|
|
12695
|
+
"mode",
|
|
12696
|
+
"stopOnError",
|
|
12697
|
+
"steps"
|
|
12698
|
+
],
|
|
12699
|
+
"properties": {
|
|
12700
|
+
"mode": {
|
|
12701
|
+
"const": "sequential"
|
|
12702
|
+
},
|
|
12703
|
+
"stopOnError": {
|
|
12704
|
+
"const": true
|
|
12705
|
+
},
|
|
12706
|
+
"steps": {
|
|
12707
|
+
"type": "array",
|
|
12708
|
+
"minItems": 1,
|
|
12709
|
+
"maxItems": 20,
|
|
12710
|
+
"items": {
|
|
12711
|
+
"type": "object",
|
|
12712
|
+
"additionalProperties": false,
|
|
12713
|
+
"required": [
|
|
12714
|
+
"action",
|
|
12715
|
+
"saveAs"
|
|
12716
|
+
],
|
|
12717
|
+
"properties": {
|
|
12718
|
+
"action": {
|
|
12719
|
+
"$ref": "#/$defs/action"
|
|
12720
|
+
},
|
|
12721
|
+
"saveAs": {
|
|
12722
|
+
"type": "string",
|
|
12723
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
12724
|
+
}
|
|
12725
|
+
}
|
|
12726
|
+
}
|
|
12727
|
+
}
|
|
12728
|
+
}
|
|
12729
|
+
},
|
|
12730
|
+
"finish": {
|
|
12731
|
+
"type": "object",
|
|
12732
|
+
"additionalProperties": false,
|
|
12733
|
+
"required": [
|
|
12734
|
+
"label",
|
|
12735
|
+
"persistence"
|
|
12736
|
+
],
|
|
12737
|
+
"properties": {
|
|
12738
|
+
"label": {
|
|
12739
|
+
"type": "string",
|
|
12740
|
+
"minLength": 1
|
|
12741
|
+
},
|
|
12742
|
+
"validate": {
|
|
12743
|
+
"type": "boolean"
|
|
12744
|
+
},
|
|
12745
|
+
"persistence": {
|
|
12746
|
+
"enum": [
|
|
12747
|
+
"none",
|
|
12748
|
+
"commit"
|
|
12749
|
+
]
|
|
12750
|
+
},
|
|
12751
|
+
"action": {
|
|
12752
|
+
"$ref": "#/$defs/action"
|
|
12753
|
+
},
|
|
12754
|
+
"resultBindings": {
|
|
12755
|
+
"type": "array",
|
|
12756
|
+
"items": {
|
|
12757
|
+
"$ref": "#/$defs/resultBinding"
|
|
12758
|
+
}
|
|
12759
|
+
},
|
|
12760
|
+
"idempotency": {
|
|
12761
|
+
"$ref": "#/$defs/idempotency"
|
|
10234
12762
|
}
|
|
10235
12763
|
}
|
|
10236
12764
|
}
|
|
10237
|
-
}
|
|
12765
|
+
},
|
|
12766
|
+
"allOf": [
|
|
12767
|
+
{
|
|
12768
|
+
"if": {
|
|
12769
|
+
"properties": {
|
|
12770
|
+
"display": {
|
|
12771
|
+
"anyOf": [
|
|
12772
|
+
{
|
|
12773
|
+
"required": [
|
|
12774
|
+
"stepper"
|
|
12775
|
+
]
|
|
12776
|
+
},
|
|
12777
|
+
{
|
|
12778
|
+
"required": [
|
|
12779
|
+
"showStepHeader"
|
|
12780
|
+
]
|
|
12781
|
+
}
|
|
12782
|
+
]
|
|
12783
|
+
}
|
|
12784
|
+
},
|
|
12785
|
+
"required": [
|
|
12786
|
+
"display"
|
|
12787
|
+
]
|
|
12788
|
+
},
|
|
12789
|
+
"then": {
|
|
12790
|
+
"properties": {
|
|
12791
|
+
"capabilityVersion": {
|
|
12792
|
+
"enum": [
|
|
12793
|
+
"1.28.0",
|
|
12794
|
+
"1.29.0"
|
|
12795
|
+
]
|
|
12796
|
+
}
|
|
12797
|
+
}
|
|
12798
|
+
}
|
|
12799
|
+
},
|
|
12800
|
+
{
|
|
12801
|
+
"if": {
|
|
12802
|
+
"properties": {
|
|
12803
|
+
"steps": {
|
|
12804
|
+
"contains": {
|
|
12805
|
+
"required": [
|
|
12806
|
+
"finish"
|
|
12807
|
+
]
|
|
12808
|
+
}
|
|
12809
|
+
}
|
|
12810
|
+
},
|
|
12811
|
+
"required": [
|
|
12812
|
+
"steps"
|
|
12813
|
+
]
|
|
12814
|
+
},
|
|
12815
|
+
"then": {
|
|
12816
|
+
"properties": {
|
|
12817
|
+
"capabilityVersion": {
|
|
12818
|
+
"const": "1.29.0"
|
|
12819
|
+
},
|
|
12820
|
+
"persistence": {
|
|
12821
|
+
"properties": {
|
|
12822
|
+
"mode": {
|
|
12823
|
+
"const": "per-step"
|
|
12824
|
+
}
|
|
12825
|
+
}
|
|
12826
|
+
}
|
|
12827
|
+
}
|
|
12828
|
+
}
|
|
12829
|
+
}
|
|
12830
|
+
]
|
|
10238
12831
|
},
|
|
10239
12832
|
impexp: {
|
|
10240
12833
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
10241
12834
|
"$defs": {
|
|
10242
12835
|
"Map(String,Object)": {
|
|
10243
12836
|
"type": "object"
|
|
12837
|
+
},
|
|
12838
|
+
"Map(String,String)": {
|
|
12839
|
+
"type": "object"
|
|
10244
12840
|
}
|
|
10245
12841
|
},
|
|
10246
12842
|
"type": "object",
|
|
10247
12843
|
"properties": {
|
|
12844
|
+
"actionKey": {
|
|
12845
|
+
"type": "string"
|
|
12846
|
+
},
|
|
12847
|
+
"allowedBusinessKeys": {
|
|
12848
|
+
"type": "array",
|
|
12849
|
+
"items": {
|
|
12850
|
+
"type": "array",
|
|
12851
|
+
"items": {
|
|
12852
|
+
"type": "string"
|
|
12853
|
+
}
|
|
12854
|
+
}
|
|
12855
|
+
},
|
|
10248
12856
|
"business_config": {
|
|
10249
12857
|
"type": "object",
|
|
10250
12858
|
"properties": {
|
|
@@ -10291,6 +12899,15 @@ var META_SCHEMAS = {
|
|
|
10291
12899
|
"capabilityVersion": {
|
|
10292
12900
|
"type": "string"
|
|
10293
12901
|
},
|
|
12902
|
+
"declaredImportModes": {
|
|
12903
|
+
"type": "array",
|
|
12904
|
+
"items": {
|
|
12905
|
+
"type": "string"
|
|
12906
|
+
}
|
|
12907
|
+
},
|
|
12908
|
+
"defaultSources": {
|
|
12909
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
12910
|
+
},
|
|
10294
12911
|
"defaults": {
|
|
10295
12912
|
"$ref": "#/$defs/Map(String,Object)"
|
|
10296
12913
|
},
|
|
@@ -10309,6 +12926,15 @@ var META_SCHEMAS = {
|
|
|
10309
12926
|
}
|
|
10310
12927
|
}
|
|
10311
12928
|
},
|
|
12929
|
+
"employeeSubset": {
|
|
12930
|
+
"type": "boolean"
|
|
12931
|
+
},
|
|
12932
|
+
"employeeSubsetMeta": {
|
|
12933
|
+
"$ref": "#/$defs/Map(String,Object)"
|
|
12934
|
+
},
|
|
12935
|
+
"exportFormat": {
|
|
12936
|
+
"type": "string"
|
|
12937
|
+
},
|
|
10312
12938
|
"fields": {
|
|
10313
12939
|
"type": "array",
|
|
10314
12940
|
"items": {
|
|
@@ -10317,7 +12943,7 @@ var META_SCHEMAS = {
|
|
|
10317
12943
|
"column_config": {
|
|
10318
12944
|
"type": "array",
|
|
10319
12945
|
"items": {
|
|
10320
|
-
"
|
|
12946
|
+
"$ref": "#/$defs/Map(String,String)"
|
|
10321
12947
|
}
|
|
10322
12948
|
},
|
|
10323
12949
|
"comment": {
|
|
@@ -10372,6 +12998,9 @@ var META_SCHEMAS = {
|
|
|
10372
12998
|
"importDomain": {
|
|
10373
12999
|
"type": "string"
|
|
10374
13000
|
},
|
|
13001
|
+
"importPolicyRef": {
|
|
13002
|
+
"type": "string"
|
|
13003
|
+
},
|
|
10375
13004
|
"key": {
|
|
10376
13005
|
"type": "string",
|
|
10377
13006
|
"description": "\u6A21\u578B\u6807\u8BC6\u7B26,YAML \u91CC\u5199\u4F5C modelKey;\u7531 spec.modelKey \u627F\u62C5,topPatches \u4E0D\u5E94\u518D\u5199"
|
|
@@ -10385,6 +13014,9 @@ var META_SCHEMAS = {
|
|
|
10385
13014
|
"descRow": {
|
|
10386
13015
|
"type": "integer"
|
|
10387
13016
|
},
|
|
13017
|
+
"hasDescRow": {
|
|
13018
|
+
"type": "boolean"
|
|
13019
|
+
},
|
|
10388
13020
|
"keyRow": {
|
|
10389
13021
|
"type": "integer"
|
|
10390
13022
|
},
|
|
@@ -10428,6 +13060,9 @@ var META_SCHEMAS = {
|
|
|
10428
13060
|
},
|
|
10429
13061
|
"required": ["mode"]
|
|
10430
13062
|
},
|
|
13063
|
+
"source": {
|
|
13064
|
+
"type": "string"
|
|
13065
|
+
},
|
|
10431
13066
|
"type": {
|
|
10432
13067
|
"type": "string"
|
|
10433
13068
|
}
|
|
@@ -11312,6 +13947,18 @@ function lowerHeaders(raw) {
|
|
|
11312
13947
|
}
|
|
11313
13948
|
return out;
|
|
11314
13949
|
}
|
|
13950
|
+
var MAX_BATCH_CONCURRENCY = 8;
|
|
13951
|
+
async function runBatch(items, request) {
|
|
13952
|
+
const pairs = new Array(items.length);
|
|
13953
|
+
let next = 0;
|
|
13954
|
+
await Promise.all(Array.from({ length: Math.min(MAX_BATCH_CONCURRENCY, items.length) }, async () => {
|
|
13955
|
+
while (next < items.length) {
|
|
13956
|
+
const index = next++;
|
|
13957
|
+
pairs[index] = await request(items[index]);
|
|
13958
|
+
}
|
|
13959
|
+
}));
|
|
13960
|
+
return Object.fromEntries(pairs);
|
|
13961
|
+
}
|
|
11315
13962
|
function toOutcome(status, data, headers) {
|
|
11316
13963
|
const cls = classifyStatus(status);
|
|
11317
13964
|
if (status === 204) return { status, body: null, error: "ok", headers };
|
|
@@ -11362,22 +14009,16 @@ function httpProbe(http, capabilities) {
|
|
|
11362
14009
|
* 🔴 一路炸不许拖垮整批——逐路径独立归类。
|
|
11363
14010
|
*/
|
|
11364
14011
|
async getMany(paths) {
|
|
11365
|
-
|
|
11366
|
-
paths
|
|
11367
|
-
|
|
11368
|
-
await probe.get(p).catch(() => networkOutcome())
|
|
11369
|
-
])
|
|
14012
|
+
return runBatch(
|
|
14013
|
+
paths,
|
|
14014
|
+
async (p) => [p, await probe.get(p).catch(() => networkOutcome())]
|
|
11370
14015
|
);
|
|
11371
|
-
return Object.fromEntries(pairs);
|
|
11372
14016
|
},
|
|
11373
14017
|
async postMany(jobs) {
|
|
11374
|
-
|
|
11375
|
-
jobs
|
|
11376
|
-
|
|
11377
|
-
await probe.post(j.path, j.body).catch(() => networkOutcome())
|
|
11378
|
-
])
|
|
14018
|
+
return runBatch(
|
|
14019
|
+
jobs,
|
|
14020
|
+
async (j) => [j.path, await probe.post(j.path, j.body).catch(() => networkOutcome())]
|
|
11379
14021
|
);
|
|
11380
|
-
return Object.fromEntries(pairs);
|
|
11381
14022
|
}
|
|
11382
14023
|
};
|
|
11383
14024
|
return probe;
|
|
@@ -11669,7 +14310,7 @@ function actionsPath(modelKey, state = "") {
|
|
|
11669
14310
|
if (!state) return base;
|
|
11670
14311
|
return `${base}?${new URLSearchParams({ state }).toString()}`;
|
|
11671
14312
|
}
|
|
11672
|
-
function
|
|
14313
|
+
function isRecord2(v) {
|
|
11673
14314
|
return Boolean(v) && typeof v === "object" && !Array.isArray(v);
|
|
11674
14315
|
}
|
|
11675
14316
|
function keyOrNull(key) {
|
|
@@ -11711,7 +14352,7 @@ async function collectActionGates(probe, modelKeys2, state = "") {
|
|
|
11711
14352
|
continue;
|
|
11712
14353
|
}
|
|
11713
14354
|
const body = out.body;
|
|
11714
|
-
if (!
|
|
14355
|
+
if (!isRecord2(body) || !Array.isArray(body.actions)) {
|
|
11715
14356
|
unavailable.push({
|
|
11716
14357
|
modelKey: model,
|
|
11717
14358
|
status: out.status,
|
|
@@ -11727,13 +14368,13 @@ async function collectActionGates(probe, modelKeys2, state = "") {
|
|
|
11727
14368
|
else statesEchoed.add(echoed);
|
|
11728
14369
|
for (const action3 of body.actions) {
|
|
11729
14370
|
actionsSeen += 1;
|
|
11730
|
-
if (!
|
|
14371
|
+
if (!isRecord2(action3)) {
|
|
11731
14372
|
reject(rejected, model, null, "malformed-action");
|
|
11732
14373
|
continue;
|
|
11733
14374
|
}
|
|
11734
14375
|
const cands = Array.isArray(action3.candidates) ? action3.candidates : [];
|
|
11735
14376
|
for (const c of cands) {
|
|
11736
|
-
if (
|
|
14377
|
+
if (isRecord2(c) && typeof c.source === "string" && c.source) sources.add(c.source);
|
|
11737
14378
|
}
|
|
11738
14379
|
const effectClass = classifyEffect(action3.effect);
|
|
11739
14380
|
if (effectClass !== "absent") actionsWithEffect += 1;
|
|
@@ -11777,7 +14418,7 @@ async function collectActionGates(probe, modelKeys2, state = "") {
|
|
|
11777
14418
|
reject(rejected, model, key, "no-candidates");
|
|
11778
14419
|
continue;
|
|
11779
14420
|
}
|
|
11780
|
-
if (!cands.every((c) =>
|
|
14421
|
+
if (!cands.every((c) => isRecord2(c))) {
|
|
11781
14422
|
reject(rejected, model, key, "malformed-candidate");
|
|
11782
14423
|
continue;
|
|
11783
14424
|
}
|
|
@@ -12100,7 +14741,7 @@ var badSection = (t) => `\u4F20\u5165\u7684 mutation \u6BB5\u4E0D\u662F\u5BF9\u8
|
|
|
12100
14741
|
var badCell = (op, t) => `\u4F20\u5165\u7684 mutation \u91CC ${op} \u8FD9\u4E00\u9879\u4E0D\u662F\u5BF9\u8C61\uFF08${t}\uFF09\uFF0C\u65E0\u6CD5\u5224\u8BFB`;
|
|
12101
14742
|
var missingCell = (op) => `\u4F20\u5165\u7684 mutation \u91CC\u6CA1\u6709 ${op} \u8FD9\u4E00\u9879`;
|
|
12102
14743
|
var WORDING3 = 'writable=false \u7684\u4E24\u79CD\u539F\u56E0\uFF1Aderived:<kind>\uFF08\u6D3E\u751F\u5B57\u6BB5\uFF0C\u670D\u52A1\u7AEF\u7B97\u51FA\u6765\u7684\uFF09\u3001readonly\uFF08\u5143\u6570\u636E\u58F0\u660E\u53EA\u8BFB\uFF09\u3002autoGenerate=true \u7684\u5B57\u6BB5\uFF08\u5DE5\u53F7 / \u7EC4\u7EC7 / \u5C97\u4F4D / \u6CD5\u4EBA\u7F16\u7801\u7B49\uFF09**\u4E0D\u662F**\u4E0D\u53EF\u5199\uFF1A\u670D\u52A1\u7AEF\u53EA\u5728\u5B57\u6BB5\u4E3A\u7A7A\u65F6\u751F\u6210\uFF0C\u8C03\u7528\u65B9\u624B\u5DE5\u6307\u5B9A\u7684\u503C\u4F18\u5148 \u2014\u2014 \u7531\u72EC\u7ACB\u6807\u8BB0 `autoGeneratedIfAbsent` \u70B9\u540D\uFF08\u4E0D\u9001\u5219\u751F\u6210\u3001\u9001\u5219\u91C7\u7EB3\uFF09\uFF0C\u4E0D\u518D\u8FDB notWritableReason\u3002\u{1F534} writable=true **\u53EA\u8868\u793A\u5143\u6570\u636E\u6CA1\u58F0\u660E\u8FD9\u4E24\u79CD\u4E0D\u53EF\u5199**\uFF0C\u4E0D\u8868\u793A\u8FD9\u4E2A\u5B57\u6BB5\u8BE5\u7531\u987E\u95EE\u586B \u2014\u2014 \u5B9E\u6D4B createById / updateById \u8FD9 1476 \u4E2A\u5BA1\u8BA1\u5B57\u6BB5\u56DB\u4E2A\u6807\u5FD7\u5168\u662F false\uFF0C\u7167\u6837\u662F writable=true\uFF0C\u5B83\u4EEC\u7531 ref.auditBackref=true \u70B9\u540D\uFF08topology \u628A\u540C\u4E00\u6279\u8FB9\u6392\u9664\u51FA\u4F9D\u8D56\u56FE\uFF0C\u8FD9\u91CC\u4E0D\u6392\u9664\uFF1Amapping \u662F\u5B57\u6BB5\u6E05\u5355\uFF0C\u4E0D\u662F\u4F9D\u8D56\u56FE\uFF09\u3002ref.valueDomain \u53EA\u5728\u76EE\u6807\u662F\u7801\u8868\uFF08DYNAMIC / CO_*\uFF09\u65F6\u7ED9\u51FA\uFF1B\u6307\u5411\u4E1A\u52A1\u6A21\u578B\u65F6\u4E3A null \u2014\u2014 \u5B9E\u6D4B 234 \u4E2A\u58F0\u660E\u51FA\u6765\u7684\u5F15\u7528\u76EE\u6807\u91CC\uFF0C230 \u4E2A\u5728\u540D\u518C\u4E2D\uFF1A\u5176\u4E2D 32 \u4E2A\u662F\u7801\u8868\u3001198 \u4E2A\u662F\u4E1A\u52A1\u6A21\u578B\uFF08User 1564 / OrgUnit 292 / Employee 199 \u2026\uFF09\u8981\u6309\u4E1A\u52A1\u952E\u73B0\u67E5\uFF1B\u53E6\u6709 4 \u4E2A\u60AC\u7A7A\u76EE\u6807\uFF08\u58F0\u660E\u4E86\u5F15\u7528\u4F46\u4E0D\u5728 /api/system/models \u540D\u518C\u91CC\uFF0C\u89C1 topology.json \u7684 dangling\uFF09\u3002valuedomain \u91CC\u6CA1\u6709\u4E1A\u52A1\u6A21\u578B\u7684\u5BF9\u7167\u8868\uFF0C\u6307\u4E00\u4E2A\u4E0D\u5B58\u5728\u7684\u6587\u4EF6\u6BD4\u4E0D\u6307\u66F4\u7CDF\uFF1A\u987E\u95EE\u4F1A\u4EE5\u4E3A\u90A3\u4EFD\u5BF9\u7167\u8868\u53EA\u662F\u8FD8\u6CA1\u751F\u6210\u3002ref.labelFieldSource=unknown \u8868\u793A\u4EA7\u54C1\u6CA1\u58F0\u660E\u663E\u793A\u5B57\u6BB5\u540D\uFF08\u5B9E\u6D4B\u8FDB\u56FE\u7684 2923 \u6761\u8FB9\u91CC 1366 \u6761\u6CA1\u58F0\u660E\uFF09\uFF0C**\u4E0D\u662F**\u300C\u9ED8\u8BA4\u7528 name\u300D\u2014\u2014 \u90A3 1366 \u6761\u6307\u5411 224 \u4E2A\u5728\u518C\u76EE\u6807\uFF0C\u5176\u4E2D 60 \u4E2A\uFF0827%\uFF0C\u76EE\u6807\u6A21\u578B\u53E3\u5F84\uFF09\u8FDE name \u5B57\u6BB5\u90FD\u6CA1\u6709\uFF0C\u6309\u8FB9\u7B97 152 \u6761\uFF0811%\uFF0C\u5B57\u6BB5\u53E3\u5F84\uFF09\u843D\u5728\u5B83\u4EEC\u8EAB\u4E0A\u3002mutation.allowed \u6052\u4E3A\u4E09\u4E2A\u503C\u4E4B\u4E00\uFF1Atrue / false / "unknown"\u3002"unknown" \u8868\u793A\u8BE5\u6A21\u578B\u8FD9\u4E00\u9879\u6CA1\u67E5\u5230\uFF0C**\u4E0D\u662F**\u300C\u5141\u8BB8\u300D\uFF1B\u5177\u4F53\u662F\u54EA\u4E00\u79CD\u6CA1\u67E5\u5230\u770B reason\uFF08\u670D\u52A1\u7AEF\u4FA7\uFF1A\u6CA1\u5E94\u7B54 / \u54CD\u5E94\u7F3A\u8FD9\u4E00\u9879 / allowed \u4E0D\u662F\u5E03\u5C14\uFF1B\u5DE5\u5177\u4FA7\uFF1A\u5E76\u53D1\u6279\u6B21\u91CC\u6CA1\u62FF\u5230\u8FD9\u4E2A\u6A21\u578B\u7684\u7ED3\u679C\uFF1B\u8C03\u7528\u65B9\u4FA7\uFF1A\u672C\u8F6E\u6CA1\u67E5 / \u4F20\u5165\u7684 mutation \u6BB5\u4E0D\u662F\u5BF9\u8C61 / \u4F20\u5165\u7684\u8FD9\u4E00\u9879\u4E0D\u662F\u5BF9\u8C61 / \u4F20\u5165\u7684\u91CC\u6CA1\u6709\u8FD9\u4E00\u9879 \u2014\u2014 \u516B\u79CD\u6210\u56E0\u63AA\u8F9E\u5404\u4E0D\u76F8\u540C\uFF0C\u300C\u4F20\u5165\u7684\u300D\u5F00\u5934\u7684\u662F\u62FC\u8FD9\u4EFD\u57FA\u7EBF\u7684\u4EBA\u641E\u9519\u4E86\uFF0C\u4E0D\u662F\u670D\u52A1\u7AEF\uFF09\u3002enumCount \u6570\u7684\u662F\u8BE5\u5B57\u6BB5\u5019\u9009\u503C\u7684**\u5143\u7D20\u4E2A\u6570**\uFF0C\u4E0E index/fields.jsonl \u91CC\u8BE5\u5B57\u6BB5\u7684 enums \u884C\u6570\u76F8\u7B49\u3002';
|
|
12103
|
-
function
|
|
14744
|
+
function isRecord3(v) {
|
|
12104
14745
|
return Boolean(v) && typeof v === "object" && !Array.isArray(v);
|
|
12105
14746
|
}
|
|
12106
14747
|
function typeName2(v) {
|
|
@@ -12125,7 +14766,7 @@ async function collectMutation(probe, modelKeys2) {
|
|
|
12125
14766
|
continue;
|
|
12126
14767
|
}
|
|
12127
14768
|
const body = out.error === "ok" ? out.body : null;
|
|
12128
|
-
if (!
|
|
14769
|
+
if (!isRecord3(body)) {
|
|
12129
14770
|
const reason = `\u672A\u5E94\u7B54\uFF08HTTP ${out.status} / ${out.error}\uFF09`;
|
|
12130
14771
|
problems.push(`${key}: mutation-capability ${reason}`);
|
|
12131
14772
|
mutation[key] = Object.fromEntries(MUTATION_OPS.map((op) => [op, { allowed: "unknown", reason }]));
|
|
@@ -12134,7 +14775,7 @@ async function collectMutation(probe, modelKeys2) {
|
|
|
12134
14775
|
const entry = {};
|
|
12135
14776
|
for (const op of MUTATION_OPS) {
|
|
12136
14777
|
const cell = body[op];
|
|
12137
|
-
if (!
|
|
14778
|
+
if (!isRecord3(cell) || !("allowed" in cell)) {
|
|
12138
14779
|
entry[op] = { allowed: "unknown", reason: `\u54CD\u5E94\u91CC\u6CA1\u6709 ${op} \u8FD9\u4E00\u9879` };
|
|
12139
14780
|
problems.push(`${key}: mutation-capability \u54CD\u5E94\u7F3A ${op}`);
|
|
12140
14781
|
continue;
|
|
@@ -12155,14 +14796,14 @@ function mutationSection(entry) {
|
|
|
12155
14796
|
if (entry === void 0 || entry === null) {
|
|
12156
14797
|
return Object.fromEntries(MUTATION_OPS.map((op) => [op, { allowed: "unknown", reason: NOT_QUERIED }]));
|
|
12157
14798
|
}
|
|
12158
|
-
if (!
|
|
14799
|
+
if (!isRecord3(entry)) {
|
|
12159
14800
|
const reason = badSection(typeName2(entry));
|
|
12160
14801
|
return Object.fromEntries(MUTATION_OPS.map((op) => [op, { allowed: "unknown", reason }]));
|
|
12161
14802
|
}
|
|
12162
14803
|
const section = {};
|
|
12163
14804
|
for (const op of MUTATION_OPS) {
|
|
12164
14805
|
const cell = entry[op];
|
|
12165
|
-
if (
|
|
14806
|
+
if (isRecord3(cell)) {
|
|
12166
14807
|
section[op] = cell;
|
|
12167
14808
|
} else if (op in entry) {
|
|
12168
14809
|
section[op] = { allowed: "unknown", reason: badCell(op, typeName2(cell)) };
|
|
@@ -12175,7 +14816,7 @@ function mutationSection(entry) {
|
|
|
12175
14816
|
function writability(field) {
|
|
12176
14817
|
const derived = field.derived;
|
|
12177
14818
|
if (derived) {
|
|
12178
|
-
const kind =
|
|
14819
|
+
const kind = isRecord3(derived) ? derived.kind : null;
|
|
12179
14820
|
return { writable: false, reason: `derived:${typeof kind === "string" && kind ? kind : "unknown"}` };
|
|
12180
14821
|
}
|
|
12181
14822
|
if (field.isReadonly) return { writable: false, reason: "readonly" };
|
|
@@ -12190,7 +14831,7 @@ function buildMapping(metas, edges, mutation, codeTables = []) {
|
|
|
12190
14831
|
const { fields, problem: problem6 } = metaFields(metas[modelKey]);
|
|
12191
14832
|
const rows = [];
|
|
12192
14833
|
for (const f of fields) {
|
|
12193
|
-
if (!
|
|
14834
|
+
if (!isRecord3(f)) continue;
|
|
12194
14835
|
const key = f.key;
|
|
12195
14836
|
if (typeof key !== "string" || !key) continue;
|
|
12196
14837
|
const { writable, reason } = writability(f);
|
|
@@ -12233,7 +14874,7 @@ function buildMapping(metas, edges, mutation, codeTables = []) {
|
|
|
12233
14874
|
// 「爬过且这个模型确实没有字段」必须与「没爬过」(文件不存在)区分开。
|
|
12234
14875
|
crawled: true,
|
|
12235
14876
|
wording: WORDING3,
|
|
12236
|
-
mutation: mutationSection(
|
|
14877
|
+
mutation: mutationSection(isRecord3(mutation) ? mutation[modelKey] : mutation),
|
|
12237
14878
|
fieldCount: rows.length,
|
|
12238
14879
|
// 🔴 `null` = 载荷判读正常(fieldCount=0 就是「这个模型确实没字段」);
|
|
12239
14880
|
// 非 null = **爬过、但判不出字段**,此时 fieldCount=0 不代表「没字段」。
|
|
@@ -12245,8 +14886,8 @@ function buildMapping(metas, edges, mutation, codeTables = []) {
|
|
|
12245
14886
|
}
|
|
12246
14887
|
function allowedIn(sheet, op) {
|
|
12247
14888
|
const section = sheet.mutation;
|
|
12248
|
-
const cell =
|
|
12249
|
-
return
|
|
14889
|
+
const cell = isRecord3(section) ? section[op] : void 0;
|
|
14890
|
+
return isRecord3(cell) ? cell.allowed : "unknown";
|
|
12250
14891
|
}
|
|
12251
14892
|
var PATH_SEPARATORS = ["/", String.fromCharCode(92)];
|
|
12252
14893
|
function unsafeKeyReason(modelKey) {
|
|
@@ -12428,7 +15069,7 @@ function writeModelsMd(layout, text3) {
|
|
|
12428
15069
|
// src/fde/recon/pointer-audit.ts
|
|
12429
15070
|
import { existsSync as existsSync4 } from "fs";
|
|
12430
15071
|
import * as path9 from "path";
|
|
12431
|
-
function
|
|
15072
|
+
function isRecord4(v) {
|
|
12432
15073
|
return Boolean(v) && typeof v === "object" && !Array.isArray(v);
|
|
12433
15074
|
}
|
|
12434
15075
|
function auditValueDomainPointers(layout, sheets) {
|
|
@@ -12437,7 +15078,7 @@ function auditValueDomainPointers(layout, sheets) {
|
|
|
12437
15078
|
for (const sheet of sheets) {
|
|
12438
15079
|
for (const field of sheet.fields) {
|
|
12439
15080
|
const ref = field.ref;
|
|
12440
|
-
const pointer =
|
|
15081
|
+
const pointer = isRecord4(ref) ? ref.valueDomain : null;
|
|
12441
15082
|
if (typeof pointer !== "string" || pointer === "") continue;
|
|
12442
15083
|
if (!seen.has(pointer)) {
|
|
12443
15084
|
seen.set(pointer, existsSync4(path9.join(layout.dir, pointer)));
|
|
@@ -12528,18 +15169,18 @@ var WORDING4 = "rows = \u672C\u8F6E\u4EE5\u5F53\u524D\u767B\u5F55\u8EAB\u4EFD\u8
|
|
|
12528
15169
|
function listPath(modelKey) {
|
|
12529
15170
|
return `/api/models/${modelKey}/list/dsl`;
|
|
12530
15171
|
}
|
|
12531
|
-
function
|
|
15172
|
+
function isRecord5(v) {
|
|
12532
15173
|
return Boolean(v) && typeof v === "object" && !Array.isArray(v);
|
|
12533
15174
|
}
|
|
12534
15175
|
function readContent(body) {
|
|
12535
|
-
if (!
|
|
15176
|
+
if (!isRecord5(body)) return { rows: null, total: null, nonDict: 0 };
|
|
12536
15177
|
const rows = body.content;
|
|
12537
15178
|
const total = body.totalElements;
|
|
12538
15179
|
if (!Array.isArray(rows)) return { rows: null, total: null, nonDict: 0 };
|
|
12539
15180
|
if (typeof total !== "number" || !Number.isInteger(total) || total < 0) {
|
|
12540
15181
|
return { rows: null, total: null, nonDict: 0 };
|
|
12541
15182
|
}
|
|
12542
|
-
const kept = rows.filter((r) =>
|
|
15183
|
+
const kept = rows.filter((r) => isRecord5(r));
|
|
12543
15184
|
return { rows: kept, total, nonDict: rows.length - kept.length };
|
|
12544
15185
|
}
|
|
12545
15186
|
async function collectCodeTables(probe, modelEntries2, opts = {}) {
|
|
@@ -12552,7 +15193,7 @@ async function collectCodeTables(probe, modelEntries2, opts = {}) {
|
|
|
12552
15193
|
const problems = [];
|
|
12553
15194
|
const keys = [];
|
|
12554
15195
|
for (const entry of modelEntries2) {
|
|
12555
|
-
if (!
|
|
15196
|
+
if (!isRecord5(entry) || entry.type !== DYNAMIC_TYPE) continue;
|
|
12556
15197
|
const key = entry.modelKey;
|
|
12557
15198
|
if (typeof key !== "string" || !key) {
|
|
12558
15199
|
problems.push(`\u540D\u518C\u91CC\u6709\u4E00\u6761 type=DYNAMIC \u7684\u6761\u76EE\u4F46 modelKey \u4E0D\u53EF\u7528\uFF08${JSON.stringify(key)}\uFF09\uFF0C\u5DF2\u8DF3\u8FC7`);
|
|
@@ -12686,12 +15327,12 @@ function collectEnumDomains(metas) {
|
|
|
12686
15327
|
for (const modelKey of Object.keys(metas).sort()) {
|
|
12687
15328
|
const { fields } = metaFields(metas[modelKey]);
|
|
12688
15329
|
for (const field of fields) {
|
|
12689
|
-
if (!
|
|
15330
|
+
if (!isRecord5(field)) continue;
|
|
12690
15331
|
const fieldKey = field.key;
|
|
12691
15332
|
if (typeof fieldKey !== "string" || !fieldKey) continue;
|
|
12692
15333
|
const enums = field.enums;
|
|
12693
15334
|
if (!Array.isArray(enums) || enums.length === 0) continue;
|
|
12694
|
-
const kept = enums.filter(
|
|
15335
|
+
const kept = enums.filter(isRecord5).map((e) => ({ ...e }));
|
|
12695
15336
|
rows.push({
|
|
12696
15337
|
model: modelKey,
|
|
12697
15338
|
field: fieldKey,
|
|
@@ -12702,7 +15343,7 @@ function collectEnumDomains(metas) {
|
|
|
12702
15343
|
// —— 否则「这个字段的枚举少了一项」这件事没有任何出处。
|
|
12703
15344
|
// 实测 3179 条全是对象,这一档从未观测到;**恒发空列表**而不是条件出键:
|
|
12704
15345
|
// 「有这一列且为空」与「没这一列」是两个值,后者读起来像「没检查过」。
|
|
12705
|
-
nonDictElements: enums.filter((e) => !
|
|
15346
|
+
nonDictElements: enums.filter((e) => !isRecord5(e)).map((e) => JSON.stringify(e) ?? String(e))
|
|
12706
15347
|
});
|
|
12707
15348
|
}
|
|
12708
15349
|
}
|
|
@@ -12747,7 +15388,7 @@ function writeValuedomain(layout, codeTables, enums, opts = {}) {
|
|
|
12747
15388
|
roundId: opts.roundId ?? null,
|
|
12748
15389
|
// 🔴 `identity || {}` 会把「调用方没传身份」和「身份是空的」压成同一个值,
|
|
12749
15390
|
// 而它们的下一步不同(前者去补工具的登录,后者去问服务端为什么不给 user)。
|
|
12750
|
-
identity:
|
|
15391
|
+
identity: isRecord5(opts.identity) ? opts.identity : null,
|
|
12751
15392
|
codeTableCount: Object.keys(codeTables).length,
|
|
12752
15393
|
enumFieldCount: enums.length,
|
|
12753
15394
|
// 🔴 名册里一共看到几条。上游名册加载失败给出空数组时,产物会与
|
|
@@ -12817,7 +15458,7 @@ function parseRoundStamp(stamp2) {
|
|
|
12817
15458
|
function newRoundId(started) {
|
|
12818
15459
|
return `${roundStamp(started)}-${randomBytes3(4).toString("hex")}`;
|
|
12819
15460
|
}
|
|
12820
|
-
function
|
|
15461
|
+
function isRecord6(v) {
|
|
12821
15462
|
return Boolean(v) && typeof v === "object" && !Array.isArray(v);
|
|
12822
15463
|
}
|
|
12823
15464
|
function readJsonSoft(file) {
|
|
@@ -12836,8 +15477,8 @@ function readJsonSoft(file) {
|
|
|
12836
15477
|
}
|
|
12837
15478
|
function readCrawledAt(layout) {
|
|
12838
15479
|
const body = readJsonSoft(path10.join(layout.dir, KIT_CRAWLED_AT_FILE));
|
|
12839
|
-
const models =
|
|
12840
|
-
return
|
|
15480
|
+
const models = isRecord6(body) ? body.models : null;
|
|
15481
|
+
return isRecord6(models) ? models : {};
|
|
12841
15482
|
}
|
|
12842
15483
|
function writeCrawledAt(layout, freshKeys, carriedKeys, roundId, started) {
|
|
12843
15484
|
const previous = readCrawledAt(layout);
|
|
@@ -12885,14 +15526,14 @@ function productRoundId(root, rel) {
|
|
|
12885
15526
|
const p = path10.join(root, rel);
|
|
12886
15527
|
if (!existsSync5(p)) return ["missing", null];
|
|
12887
15528
|
const body = readJsonSoft(p);
|
|
12888
|
-
if (body === void 0 || !
|
|
15529
|
+
if (body === void 0 || !isRecord6(body)) return ["unreadable", null];
|
|
12889
15530
|
const rid = body.roundId;
|
|
12890
15531
|
if (typeof rid !== "string" || !rid) return ["unstamped", null];
|
|
12891
15532
|
return ["stamped", rid];
|
|
12892
15533
|
}
|
|
12893
15534
|
function inspectRound(root) {
|
|
12894
15535
|
const raw = readJsonSoft(path10.join(root, KIT_CRAWLED_AT_FILE));
|
|
12895
|
-
const ledger =
|
|
15536
|
+
const ledger = isRecord6(raw) ? raw : {};
|
|
12896
15537
|
const rid = ledger.roundId;
|
|
12897
15538
|
const roundId = typeof rid === "string" && rid ? rid : null;
|
|
12898
15539
|
const rawWritten = ledger.productsWrittenThisRound;
|
|
@@ -12997,7 +15638,7 @@ function renderRound(result) {
|
|
|
12997
15638
|
}
|
|
12998
15639
|
var SCHEMA_RECRAWL_NEXT = "\u4E0B\u4E00\u6B65\uFF1A\u8DD1\u4E00\u6B21**\u5168\u91CF** `hcm chiron recon`\uFF08\u628A `--model` \u53BB\u6389\uFF09\uFF0C\u6574\u4EFD\u57FA\u7EBF\u624D\u90FD\u51FA\u81EA\u672C\u7248 kit\u3002";
|
|
12999
15640
|
function carriedGatesSchemaProblem(oldGates) {
|
|
13000
|
-
if (!
|
|
15641
|
+
if (!isRecord6(oldGates)) {
|
|
13001
15642
|
const shape = Array.isArray(oldGates) ? "list" : oldGates === null ? "null" : typeof oldGates;
|
|
13002
15643
|
return `gates.json: \u4E0A\u4E00\u8F6E\u7684\u95F8\u8868\u8F7D\u8377\u662F ${shape} \u4E0D\u662F\u5BF9\u8C61\uFF0C\u65E2\u8BFB\u4E0D\u51FA schema \u7248\u672C\u3001\u4E5F\u4E00\u6761\u95F8\u90FD\u6CBF\u7528\u4E0D\u4E86\uFF08\u672C\u8F6E\u7684 gates \u6570\u7EC4\u91CC\u53EA\u6709\u8FD9\u4E00\u8F6E\u771F\u722C\u5230\u7684\uFF09\u3002${SCHEMA_RECRAWL_NEXT}`;
|
|
13003
15644
|
}
|
|
@@ -13038,7 +15679,7 @@ function collectCarryOver(layout, freshMetas) {
|
|
|
13038
15679
|
problems.push(`${name}: \u8BFB\u4E0D\u56DE\u4E0A\u4E00\u8F6E\u7684 meta\uFF08${e.message}\uFF09\uFF0C\u8BE5\u6A21\u578B\u8FD9\u6B21\u4E0D\u8FDB\u7D22\u5F15`);
|
|
13039
15680
|
continue;
|
|
13040
15681
|
}
|
|
13041
|
-
if (
|
|
15682
|
+
if (isRecord6(body)) carriedMetas[key] = body;
|
|
13042
15683
|
else {
|
|
13043
15684
|
problems.push(
|
|
13044
15685
|
`${name}: \u4E0A\u4E00\u8F6E\u7684 meta \u8F7D\u8377\u662F ${Array.isArray(body) ? "list" : body === null ? "null" : typeof body} \u4E0D\u662F\u5BF9\u8C61\uFF0C\u8BE5\u6A21\u578B\u8FD9\u6B21\u4E0D\u8FDB\u7D22\u5F15`
|
|
@@ -13053,9 +15694,9 @@ function collectCarryOver(layout, freshMetas) {
|
|
|
13053
15694
|
const stale = carriedGatesSchemaProblem(oldGates);
|
|
13054
15695
|
if (stale) problems.push(stale);
|
|
13055
15696
|
}
|
|
13056
|
-
const oldList =
|
|
15697
|
+
const oldList = isRecord6(oldGates) && Array.isArray(oldGates.gates) ? oldGates.gates : [];
|
|
13057
15698
|
for (const g of oldList) {
|
|
13058
|
-
if (
|
|
15699
|
+
if (isRecord6(g) && !(String(g.model) in freshMetas)) carriedGates.push(g);
|
|
13059
15700
|
}
|
|
13060
15701
|
return { carriedMetas, carriedGates, problems };
|
|
13061
15702
|
}
|
|
@@ -13179,7 +15820,7 @@ async function runRecon(probe, layout, opts = {}) {
|
|
|
13179
15820
|
products.push(...mappingPaths.map((p) => relOf(layout, p)));
|
|
13180
15821
|
const sheetsWritten = Math.max(mappingPaths.length - 1, 0);
|
|
13181
15822
|
let previous = readJsonSoft(path10.join(layout.dir, "fingerprint.json"));
|
|
13182
|
-
if (!
|
|
15823
|
+
if (!isRecord6(previous)) previous = null;
|
|
13183
15824
|
const current = await computeFingerprint(probe);
|
|
13184
15825
|
products.push(relOf(layout, layout.writeJson("fingerprint.json", current)));
|
|
13185
15826
|
const drift = previous === null ? null : compareFingerprint(previous, current);
|
|
@@ -22892,6 +25533,7 @@ export {
|
|
|
22892
25533
|
VERDICTS3 as TRIAGE_VERDICTS,
|
|
22893
25534
|
TargetModelNotFound,
|
|
22894
25535
|
TokenStore,
|
|
25536
|
+
USER_LOOKUP_PATH,
|
|
22895
25537
|
VALUE_CELL_MISSING,
|
|
22896
25538
|
VALUE_FOOTNOTE,
|
|
22897
25539
|
VALUE_STATE_DISABLED,
|