@ixo/editor 6.16.1 → 6.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-manifest.json +1 -1
- package/dist/{chunk-WYIBJ24C.js → chunk-7GS4HTDO.js} +16 -1
- package/dist/chunk-7GS4HTDO.js.map +1 -0
- package/dist/{chunk-EWKSBZ62.js → chunk-KRBHLUGP.js} +2 -2
- package/dist/{chunk-SSHQ3OTO.js → chunk-WMWHTVQF.js} +2 -2
- package/dist/core/index.js +2 -2
- package/dist/index.js +3 -3
- package/dist/mantine/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-WYIBJ24C.js.map +0 -1
- /package/dist/{chunk-EWKSBZ62.js.map → chunk-KRBHLUGP.js.map} +0 -0
- /package/dist/{chunk-SSHQ3OTO.js.map → chunk-WMWHTVQF.js.map} +0 -0
|
@@ -1185,7 +1185,7 @@
|
|
|
1185
1185
|
"hasDynamicEvents": true,
|
|
1186
1186
|
"hasDynamicOutputSchema": true,
|
|
1187
1187
|
"eligibleForEventTrigger": false,
|
|
1188
|
-
"hasCustomInputValidation":
|
|
1188
|
+
"hasCustomInputValidation": true,
|
|
1189
1189
|
"can": "collection/lifecycle",
|
|
1190
1190
|
"requiredCapability": "flow/block/execute",
|
|
1191
1191
|
"inputSchema": {
|
|
@@ -7439,6 +7439,21 @@ registerAction({
|
|
|
7439
7439
|
intents: { type: "object", description: "create/updateIntents \u2014 intent configuration." }
|
|
7440
7440
|
}
|
|
7441
7441
|
},
|
|
7442
|
+
// Mirrors run()'s throw-preamble: `operation` selects the branch, `create`
|
|
7443
|
+
// needs the entity + protocol DIDs, and every other op targets an existing
|
|
7444
|
+
// collection so it needs `collectionId`. Per-op value validity (state enum,
|
|
7445
|
+
// quota vs count, at-least-one-date) stays with run().
|
|
7446
|
+
getMissingInputs: (inputs) => {
|
|
7447
|
+
const operation = String(inputs?.operation || "").trim();
|
|
7448
|
+
if (!operation) return ["operation"];
|
|
7449
|
+
if (operation === "create") {
|
|
7450
|
+
const missing = [];
|
|
7451
|
+
if (!String(inputs?.entity || "").trim()) missing.push("entity");
|
|
7452
|
+
if (!String(inputs?.protocol || "").trim()) missing.push("protocol");
|
|
7453
|
+
return missing;
|
|
7454
|
+
}
|
|
7455
|
+
return String(inputs?.collectionId || "").trim() ? [] : ["collectionId"];
|
|
7456
|
+
},
|
|
7442
7457
|
run: async (inputs, ctx) => {
|
|
7443
7458
|
const service = ctx.services.collection;
|
|
7444
7459
|
if (!service) {
|
|
@@ -15206,4 +15221,4 @@ export {
|
|
|
15206
15221
|
executeQueuedFlowAgentCoreCommands,
|
|
15207
15222
|
FlowAgentService
|
|
15208
15223
|
};
|
|
15209
|
-
//# sourceMappingURL=chunk-
|
|
15224
|
+
//# sourceMappingURL=chunk-7GS4HTDO.js.map
|