@oomol-lab/open-flow 0.1.0-beta.70 → 0.1.0-beta.71
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/browser/{FlowCanvas-CqtUDPGj.js → FlowCanvas-Dtf8_cQp.js} +31 -31
- package/dist/browser/{createResourceDialog-BAHYW9yu.js → createResourceDialog-BWJkjiOO.js} +2 -2
- package/dist/browser/{dialog-DcGOzUP2.js → dialog-CUy_fwx9.js} +4586 -4586
- package/dist/browser/{exportSvg-Dv5Qgrq7.js → exportSvg-BOoy7-Db.js} +1 -1
- package/dist/browser/flow-authoring.js +9467 -9467
- package/dist/browser/flow-change.d.ts +2 -14
- package/dist/browser/flow-change.js +23 -21
- package/dist/browser/{flowChanges-CYyehKer.js → flowChanges-9Ir2rdLx.js} +5731 -5637
- package/dist/browser/{flowWorkspace-qYUZPJHR.js → flowWorkspace-LvZ6HuMM.js} +4 -4
- package/dist/browser/preview.js +5278 -5182
- package/dist/browser/workbench.js +1576 -1461
- package/dist/browser/{workbenchSelect-D8_vP2p5.js → workbenchSelect-C3e4J93X.js} +1 -1
- package/dist/command/index.js +22 -22
- package/dist/common/connector-proxy.d.ts +4 -1
- package/dist/common/control-api-conformance.js +23 -21
- package/dist/common/control-api.js +3454 -3452
- package/dist/common/control-requests.js +2032 -2032
- package/dist/common/decision.js +29 -6403
- package/dist/common/event-source-definition.d.ts +45 -0
- package/dist/common/event-source.d.ts +200 -1
- package/dist/common/event-source.js +22 -1
- package/dist/common/flow-schema.d.ts +2 -1
- package/dist/common/flow-schemaKeywords.d.ts +15 -0
- package/dist/common/flow-semantics.js +9797 -9795
- package/dist/common/integration-trigger.js +53 -6517
- package/dist/common/mcp.js +3389 -3389
- package/dist/common/openapi.js +29 -6493
- package/dist/common/poll-trigger.js +29 -6517
- package/dist/common/provider-triggers.js +6 -65
- package/dist/common/webhook-trigger.js +5 -6449
- package/dist/common/workflow.js +31 -916
- package/package.json +1 -1
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import type { SourceOperation } from './event-source-definition.js';
|
|
1
|
+
import type { SourceOperation, SourceReferenceOperation } from './event-source-definition.js';
|
|
2
2
|
import type { JsonValue } from '../browser/flow-change.js';
|
|
3
3
|
export type TriggerOperationRequest = {
|
|
4
|
+
readonly operation: 'sourceReference';
|
|
5
|
+
readonly request: SourceReferenceOperation;
|
|
6
|
+
} | {
|
|
4
7
|
readonly operation: 'source';
|
|
5
8
|
readonly request: SourceOperation;
|
|
6
9
|
} | {
|
|
@@ -8490,6 +8490,29 @@ function createSchemaComparer() {
|
|
|
8490
8490
|
}
|
|
8491
8491
|
createSchemaComparer();
|
|
8492
8492
|
//#endregion
|
|
8493
|
+
//#region src/flow/common/schemaKeywords.ts
|
|
8494
|
+
var schemaKeywords = /* @__PURE__ */ new Set([
|
|
8495
|
+
"const",
|
|
8496
|
+
"enum",
|
|
8497
|
+
"exclusiveMaximum",
|
|
8498
|
+
"exclusiveMinimum",
|
|
8499
|
+
"maximum",
|
|
8500
|
+
"maxItems",
|
|
8501
|
+
"maxLength",
|
|
8502
|
+
"maxProperties",
|
|
8503
|
+
"minimum",
|
|
8504
|
+
"minItems",
|
|
8505
|
+
"minLength",
|
|
8506
|
+
"minProperties",
|
|
8507
|
+
"multipleOf",
|
|
8508
|
+
"pattern",
|
|
8509
|
+
"required",
|
|
8510
|
+
"type"
|
|
8511
|
+
]);
|
|
8512
|
+
function isSchemaKeyword(value) {
|
|
8513
|
+
return schemaKeywords.has(value);
|
|
8514
|
+
}
|
|
8515
|
+
//#endregion
|
|
8493
8516
|
//#region src/decision/common/decision.ts
|
|
8494
8517
|
var decisionLimits = {
|
|
8495
8518
|
choice: 255,
|
|
@@ -9327,27 +9350,6 @@ function checkModelVersion(content) {
|
|
|
9327
9350
|
}
|
|
9328
9351
|
//#endregion
|
|
9329
9352
|
//#region src/flow/common/change.ts
|
|
9330
|
-
var schemaKeywords = /* @__PURE__ */ new Set([
|
|
9331
|
-
"const",
|
|
9332
|
-
"enum",
|
|
9333
|
-
"exclusiveMaximum",
|
|
9334
|
-
"exclusiveMinimum",
|
|
9335
|
-
"maximum",
|
|
9336
|
-
"maxItems",
|
|
9337
|
-
"maxLength",
|
|
9338
|
-
"maxProperties",
|
|
9339
|
-
"minimum",
|
|
9340
|
-
"minItems",
|
|
9341
|
-
"minLength",
|
|
9342
|
-
"minProperties",
|
|
9343
|
-
"multipleOf",
|
|
9344
|
-
"pattern",
|
|
9345
|
-
"required",
|
|
9346
|
-
"type"
|
|
9347
|
-
]);
|
|
9348
|
-
function isSchemaKeyword(value) {
|
|
9349
|
-
return schemaKeywords.has(value);
|
|
9350
|
-
}
|
|
9351
9353
|
/** Lossless upgrade of readable content. Historical content and its encoding stay unchanged. */
|
|
9352
9354
|
function upgradeRevisionContent(content) {
|
|
9353
9355
|
const upgraded = upgradeDecodedRevisionContent(decodeRevisionContent(content));
|