@powerhousedao/workflow 6.2.3-dev.30 → 6.2.3-dev.31
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/README.md +8 -8
- package/dist/browser/BlockSelector-BHJQOhie.js +3051 -0
- package/dist/browser/BlockSelector-BHJQOhie.js.map +1 -0
- package/dist/browser/{connection-form-D-NETdDQ.js → connection-form-CaduwBiu.js} +349 -50
- package/dist/browser/connection-form-CaduwBiu.js.map +1 -0
- package/dist/browser/{data-tree-DA4sc7B7.js → data-tree-8219PVfh.js} +2 -2
- package/dist/browser/{data-tree-DA4sc7B7.js.map → data-tree-8219PVfh.js.map} +1 -1
- package/dist/browser/document-models/index.js +2 -2
- package/dist/browser/document-models/workflow/index.js +3 -3
- package/dist/browser/{document-models-BohsduV4.js → document-models-C1ZgIZyV.js} +7 -2
- package/dist/browser/{document-models-BohsduV4.js.map → document-models-C1ZgIZyV.js.map} +1 -1
- package/dist/browser/{editor-B6N0PCuZ.js → editor-BHV1MZS8.js} +2437 -6283
- package/dist/browser/editor-BHV1MZS8.js.map +1 -0
- package/dist/{node/editor-StBssjcQ.mjs → browser/editor-C0C1eB0R.js} +385 -119
- package/dist/browser/editor-C0C1eB0R.js.map +1 -0
- package/dist/browser/{editor-BkdwuOC-.js → editor-CFcXlZY2.js} +14 -24
- package/dist/browser/editor-CFcXlZY2.js.map +1 -0
- package/dist/browser/editors/connection-editor/module.js +1 -1
- package/dist/browser/editors/workflow-editor/module.js +1 -1
- package/dist/browser/editors/workflow-studio/module.js +1 -1
- package/dist/browser/index.js +97 -43
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/{module-Bkms70LV.js → module-DU2vb3FH.js} +574 -94
- package/dist/browser/module-DU2vb3FH.js.map +1 -0
- package/dist/browser/{piece-auth-Z4mZEOtL.js → piece-auth-BS5CtQOG.js} +45 -12
- package/dist/browser/piece-auth-BS5CtQOG.js.map +1 -0
- package/dist/browser/reactor/index.js +2 -2
- package/dist/browser/runtime-queries-Ds2kk-Ow.js +2535 -0
- package/dist/browser/runtime-queries-Ds2kk-Ow.js.map +1 -0
- package/dist/browser/trigger-text-BkcklsMX.js +5569 -0
- package/dist/browser/trigger-text-BkcklsMX.js.map +1 -0
- package/dist/browser/{upgrade-manifests-BLrv3cf2.js → upgrade-manifests-BpakVE9l.js} +2 -2
- package/dist/browser/{upgrade-manifests-BLrv3cf2.js.map → upgrade-manifests-BpakVE9l.js.map} +1 -1
- package/dist/browser/{workflow-CGtVlhr8.js → workflow-BxShRhVy.js} +3 -2
- package/dist/browser/workflow-BxShRhVy.js.map +1 -0
- package/dist/node/BlockSelector-lOcIiaqt.mjs +3055 -0
- package/dist/node/BlockSelector-lOcIiaqt.mjs.map +1 -0
- package/dist/node/{connection-form-C9vbfSnA.mjs → connection-form-DWt29kft.mjs} +349 -50
- package/dist/node/connection-form-DWt29kft.mjs.map +1 -0
- package/dist/node/{data-tree-CbqpF3lC.mjs → data-tree-Cdx85Y19.mjs} +2 -2
- package/dist/node/{data-tree-CbqpF3lC.mjs.map → data-tree-Cdx85Y19.mjs.map} +1 -1
- package/dist/node/document-models/index.mjs +2 -2
- package/dist/node/document-models/workflow/index.mjs +3 -3
- package/dist/{browser/editor-CZ5NvCyv.js → node/editor-CR823u-y.mjs} +385 -119
- package/dist/node/editor-CR823u-y.mjs.map +1 -0
- package/dist/node/{editor-DP36YDk5.mjs → editor-CwX-G2Jv.mjs} +2437 -7479
- package/dist/node/editor-CwX-G2Jv.mjs.map +1 -0
- package/dist/node/{editor-By9BHI8e.mjs → editor-D_t8OtZn.mjs} +14 -24
- package/dist/node/editor-D_t8OtZn.mjs.map +1 -0
- package/dist/node/editors/connection-editor/module.mjs +1 -1
- package/dist/node/editors/workflow-editor/module.mjs +1 -1
- package/dist/node/editors/workflow-studio/module.mjs +1 -1
- package/dist/node/index.mjs +102 -43
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/{module-DuxxhgKs.mjs → module-Dhe5E-VA.mjs} +574 -94
- package/dist/node/module-Dhe5E-VA.mjs.map +1 -0
- package/dist/node/{piece-auth-Z4mZEOtL.mjs → piece-auth-BS5CtQOG.mjs} +45 -12
- package/dist/node/piece-auth-BS5CtQOG.mjs.map +1 -0
- package/dist/node/pieces/index.mjs +0 -1
- package/dist/node/pieces/index.mjs.map +1 -1
- package/dist/node/pieces/reactor/descriptor.json +85 -3
- package/dist/node/pieces/reactor/index.mjs +14843 -163
- package/dist/node/pieces/reactor/index.mjs.map +1 -1
- package/dist/node/pieces/reactor/package.json +1 -1
- package/dist/node/runtime-queries-D5EGaCrH.mjs +2544 -0
- package/dist/node/runtime-queries-D5EGaCrH.mjs.map +1 -0
- package/dist/node/trigger-text-DJIAQBWg.mjs +6765 -0
- package/dist/node/trigger-text-DJIAQBWg.mjs.map +1 -0
- package/dist/node/{upgrade-manifests-C1sl_M-H.mjs → upgrade-manifests-CmNd742Y.mjs} +2 -2
- package/dist/node/{upgrade-manifests-C1sl_M-H.mjs.map → upgrade-manifests-CmNd742Y.mjs.map} +1 -1
- package/dist/node/{workflow-C-uuQPnf.mjs → workflow-CGzYGZnr.mjs} +3 -2
- package/dist/node/workflow-CGzYGZnr.mjs.map +1 -0
- package/dist/powerhouse.manifest.json +6 -1
- package/dist/style.css +151 -19
- package/dist/types/ai/tools.d.ts +3 -1
- package/dist/types/ai/tools.d.ts.map +1 -1
- package/dist/types/ai/workflow-tools.d.ts.map +1 -1
- package/dist/types/document-models/document-models.d.ts +3 -0
- package/dist/types/document-models/document-models.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/actions.d.ts +3 -0
- package/dist/types/document-models/workflow/v1/actions.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/actions.d.ts +3 -1
- package/dist/types/document-models/workflow/v1/gen/actions.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/creators.d.ts +2 -0
- package/dist/types/document-models/workflow/v1/gen/creators.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/document-model.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/document-schema.d.ts +3 -0
- package/dist/types/document-models/workflow/v1/gen/document-schema.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/index.d.ts +1 -0
- package/dist/types/document-models/workflow/v1/gen/index.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/ph-factories.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/publishing/actions.d.ts +16 -0
- package/dist/types/document-models/workflow/v1/gen/publishing/actions.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/gen/publishing/creators.d.ts +5 -0
- package/dist/types/document-models/workflow/v1/gen/publishing/creators.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/gen/publishing/error.d.ts +14 -0
- package/dist/types/document-models/workflow/v1/gen/publishing/error.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/gen/publishing/operations.d.ts +12 -0
- package/dist/types/document-models/workflow/v1/gen/publishing/operations.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/gen/reducer.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/runtime/actions.d.ts +6 -2
- package/dist/types/document-models/workflow/v1/gen/runtime/actions.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/runtime/creators.d.ts +3 -2
- package/dist/types/document-models/workflow/v1/gen/runtime/creators.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/runtime/error.d.ts +13 -1
- package/dist/types/document-models/workflow/v1/gen/runtime/error.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/runtime/operations.d.ts +2 -1
- package/dist/types/document-models/workflow/v1/gen/runtime/operations.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts +102 -12
- package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/schema/zod.d.ts +21 -1
- package/dist/types/document-models/workflow/v1/gen/schema/zod.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/steps/error.d.ts +26 -1
- package/dist/types/document-models/workflow/v1/gen/steps/error.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/error.d.ts +13 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/error.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/utils.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/variables/error.d.ts +13 -1
- package/dist/types/document-models/workflow/v1/gen/variables/error.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/workflow/error.d.ts +13 -1
- package/dist/types/document-models/workflow/v1/gen/workflow/error.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/module.d.ts +3 -0
- package/dist/types/document-models/workflow/v1/module.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/src/helpers.d.ts +15 -0
- package/dist/types/document-models/workflow/v1/src/helpers.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/src/reducers/edges.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/src/reducers/publishing.d.ts +3 -0
- package/dist/types/document-models/workflow/v1/src/reducers/publishing.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/src/reducers/runtime.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/src/reducers/steps.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/src/reducers/trigger.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/src/reducers/variables.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/src/reducers/workflow.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/tests/block-validation-and-enable.test.d.ts +2 -0
- package/dist/types/document-models/workflow/v1/tests/block-validation-and-enable.test.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/tests/config-and-variables.test.d.ts +2 -0
- package/dist/types/document-models/workflow/v1/tests/config-and-variables.test.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/tests/draft-and-publish.test.d.ts +2 -0
- package/dist/types/document-models/workflow/v1/tests/draft-and-publish.test.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/tests/updated-at.test.d.ts +2 -0
- package/dist/types/document-models/workflow/v1/tests/updated-at.test.d.ts.map +1 -0
- package/dist/types/editors/connection-editor/ConnectionToolbar.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/UsedBy.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/connection-callbacks.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/connection-form.d.ts +2 -1
- package/dist/types/editors/connection-editor/connection-form.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/connection-usage.d.ts +3 -2
- package/dist/types/editors/connection-editor/connection-usage.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/editor.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/piece-auth.d.ts +7 -1
- package/dist/types/editors/connection-editor/piece-auth.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/status.d.ts +2 -1
- package/dist/types/editors/connection-editor/status.d.ts.map +1 -1
- package/dist/types/editors/shared/controls.d.ts +17 -1
- package/dist/types/editors/shared/controls.d.ts.map +1 -1
- package/dist/types/editors/shared/editor-chrome.d.ts +2 -0
- package/dist/types/editors/shared/editor-chrome.d.ts.map +1 -1
- package/dist/types/editors/shared/icons.d.ts +2 -0
- package/dist/types/editors/shared/icons.d.ts.map +1 -1
- package/dist/types/editors/shared/undo-plan.d.ts +20 -0
- package/dist/types/editors/shared/undo-plan.d.ts.map +1 -0
- package/dist/types/editors/shared/undo-plan.test.d.ts +2 -0
- package/dist/types/editors/shared/undo-plan.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/document/useWorkflowModel.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/editor.d.ts +0 -1
- package/dist/types/editors/workflow-editor/editor.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/run-kinds.d.ts +5 -0
- package/dist/types/editors/workflow-editor/run-kinds.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/runtime-api.d.ts +12 -139
- package/dist/types/editors/workflow-editor/runtime-api.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/runtime-client.d.ts +260 -0
- package/dist/types/editors/workflow-editor/runtime-client.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/runtime-client.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/runtime-client.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/runtime-context.d.ts +45 -0
- package/dist/types/editors/workflow-editor/runtime-context.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/runtime-persist.d.ts +23 -0
- package/dist/types/editors/workflow-editor/runtime-persist.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/runtime-persist.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/runtime-persist.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/runtime-queries.d.ts +128 -0
- package/dist/types/editors/workflow-editor/runtime-queries.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/BlockSelector.d.ts +3 -3
- package/dist/types/editors/workflow-editor/ui/BlockSelector.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/CanvasContextMenu.d.ts +4 -3
- package/dist/types/editors/workflow-editor/ui/CanvasContextMenu.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ConnectionField.d.ts +2 -3
- package/dist/types/editors/workflow-editor/ui/ConnectionField.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/CreateConnectionModal.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ExpressionPicker.d.ts +6 -5
- package/dist/types/editors/workflow-editor/ui/ExpressionPicker.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts +7 -1
- package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/PublishControls.d.ts +34 -0
- package/dist/types/editors/workflow-editor/ui/PublishControls.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/ScheduleBuilder.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts +2 -3
- package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/StepTest.d.ts +11 -0
- package/dist/types/editors/workflow-editor/ui/StepTest.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/VariablesEditor.d.ts +0 -1
- package/dist/types/editors/workflow-editor/ui/VariablesEditor.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/WorkflowCanvas.d.ts +1 -3
- package/dist/types/editors/workflow-editor/ui/WorkflowCanvas.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/WorkflowEditorApp.d.ts +1 -3
- package/dist/types/editors/workflow-editor/ui/WorkflowEditorApp.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/add-follow-up.d.ts +31 -0
- package/dist/types/editors/workflow-editor/ui/add-follow-up.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/add-follow-up.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/add-follow-up.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/ap-edge.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ap-layout.d.ts +2 -1
- package/dist/types/editors/workflow-editor/ui/ap-layout.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ap-nodes.d.ts +7 -9
- package/dist/types/editors/workflow-editor/ui/ap-nodes.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/block-meta.d.ts +10 -5
- package/dist/types/editors/workflow-editor/ui/block-meta.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/blocks.d.ts +43 -2
- package/dist/types/editors/workflow-editor/ui/blocks.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/blocks.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/blocks.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/canvas-menu.d.ts +4 -2
- package/dist/types/editors/workflow-editor/ui/canvas-menu.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/connection-create.d.ts +3 -3
- package/dist/types/editors/workflow-editor/ui/connection-create.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/design-time.d.ts +92 -0
- package/dist/types/editors/workflow-editor/ui/design-time.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/design-time.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/design-time.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/expression-scope.d.ts +10 -2
- package/dist/types/editors/workflow-editor/ui/expression-scope.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/forms.d.ts +35 -6
- package/dist/types/editors/workflow-editor/ui/forms.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/model.d.ts +58 -13
- package/dist/types/editors/workflow-editor/ui/model.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/piece-source.d.ts +11 -6
- package/dist/types/editors/workflow-editor/ui/piece-source.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/prop-controls.d.ts +5 -0
- package/dist/types/editors/workflow-editor/ui/prop-controls.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/prop-controls.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/prop-controls.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/prop-defaults.d.ts +4 -0
- package/dist/types/editors/workflow-editor/ui/prop-defaults.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/prop-defaults.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/prop-defaults.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/query-keys.d.ts +54 -0
- package/dist/types/editors/workflow-editor/ui/query-keys.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/schedule-draft.d.ts +3 -8
- package/dist/types/editors/workflow-editor/ui/schedule-draft.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/secret-ref.d.ts +18 -0
- package/dist/types/editors/workflow-editor/ui/secret-ref.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/step-test.d.ts +14 -0
- package/dist/types/editors/workflow-editor/ui/step-test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/step-test.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/step-test.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/test-state.d.ts +7 -0
- package/dist/types/editors/workflow-editor/ui/test-state.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/trigger-text.d.ts +2 -1
- package/dist/types/editors/workflow-editor/ui/trigger-text.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/use-validity.d.ts +28 -0
- package/dist/types/editors/workflow-editor/ui/use-validity.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/validation.d.ts +33 -1
- package/dist/types/editors/workflow-editor/ui/validation.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/variable-types.d.ts +14 -0
- package/dist/types/editors/workflow-editor/ui/variable-types.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/variable-types.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/variable-types.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/version-badge.d.ts +33 -0
- package/dist/types/editors/workflow-editor/ui/version-badge.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/version-badge.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/version-badge.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/use-runtime-url.d.ts +0 -1
- package/dist/types/editors/workflow-editor/use-runtime-url.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/RunsTable.d.ts +1 -1
- package/dist/types/editors/workflow-studio/components/RunsTable.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/RunsView.d.ts +4 -1
- package/dist/types/editors/workflow-studio/components/RunsView.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/Sidebar.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/WorkflowBoard.d.ts +1 -1
- package/dist/types/editors/workflow-studio/components/WorkflowBoard.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/WorkflowHeader.d.ts +2 -1
- package/dist/types/editors/workflow-studio/components/WorkflowHeader.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/WorkflowMenu.d.ts +13 -0
- package/dist/types/editors/workflow-studio/components/WorkflowMenu.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/WorkflowSteps.d.ts +1 -1
- package/dist/types/editors/workflow-studio/components/WorkflowSteps.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/WorkflowStudio.d.ts +0 -1
- package/dist/types/editors/workflow-studio/components/WorkflowStudio.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/chain.d.ts +5 -3
- package/dist/types/editors/workflow-studio/components/chain.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/run-format.d.ts +11 -2
- package/dist/types/editors/workflow-studio/components/run-format.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/step-outline.d.ts +3 -1
- package/dist/types/editors/workflow-studio/components/step-outline.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/ui.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/ui.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/useRuns.d.ts +4 -1
- package/dist/types/editors/workflow-studio/components/useRuns.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/editor.d.ts.map +1 -1
- package/dist/types/pieces/index.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/action-list-prop.test.d.ts +2 -0
- package/dist/types/pieces/reactor/lib/actions/action-list-prop.test.d.ts.map +1 -0
- package/dist/types/pieces/reactor/lib/actions/document-create.d.ts +14 -1
- package/dist/types/pieces/reactor/lib/actions/document-create.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-dispatch.d.ts +14 -1
- package/dist/types/pieces/reactor/lib/actions/document-dispatch.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-get.d.ts +1 -0
- package/dist/types/pieces/reactor/lib/actions/document-get.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-schema.d.ts +1 -0
- package/dist/types/pieces/reactor/lib/actions/document-schema.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/input-props.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/input-schema.d.ts +11 -2
- package/dist/types/pieces/reactor/lib/input-schema.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/parse.d.ts +22 -4
- package/dist/types/pieces/reactor/lib/parse.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/reactor.d.ts +15 -1
- package/dist/types/pieces/reactor/lib/reactor.d.ts.map +1 -1
- package/dist/types/scripts/ui-stack.d.ts +53 -11
- package/dist/types/scripts/ui-stack.d.ts.map +1 -1
- package/dist/types/test/ui/block-picker.spec.d.ts +2 -0
- package/dist/types/test/ui/block-picker.spec.d.ts.map +1 -0
- package/dist/types/test/ui/branch.spec.d.ts +2 -0
- package/dist/types/test/ui/branch.spec.d.ts.map +1 -0
- package/dist/types/test/ui/canvas-logos.spec.d.ts +2 -0
- package/dist/types/test/ui/canvas-logos.spec.d.ts.map +1 -0
- package/dist/types/test/ui/fixtures.d.ts +1 -0
- package/dist/types/test/ui/fixtures.d.ts.map +1 -1
- package/dist/types/test/ui/global-setup.d.ts.map +1 -1
- package/dist/types/test/ui/harness/prop-controls.d.ts.map +1 -1
- package/dist/types/test/ui/piece-version.spec.d.ts +2 -0
- package/dist/types/test/ui/piece-version.spec.d.ts.map +1 -0
- package/dist/types/test/ui/ports.spec.d.ts +2 -0
- package/dist/types/test/ui/ports.spec.d.ts.map +1 -0
- package/dist/types/test/ui/publish.spec.d.ts +2 -0
- package/dist/types/test/ui/publish.spec.d.ts.map +1 -0
- package/dist/types/test/ui/step-test.spec.d.ts +2 -0
- package/dist/types/test/ui/step-test.spec.d.ts.map +1 -0
- package/dist/types/test/ui/variables.spec.d.ts +2 -0
- package/dist/types/test/ui/variables.spec.d.ts.map +1 -0
- package/dist/types/test/ui/webhook.spec.d.ts +2 -0
- package/dist/types/test/ui/webhook.spec.d.ts.map +1 -0
- package/dist/types/test/ui/workflow-menu.spec.d.ts +2 -0
- package/dist/types/test/ui/workflow-menu.spec.d.ts.map +1 -0
- package/package.json +11 -10
- package/dist/browser/BlockSelector-D24DIiSX.js +0 -1388
- package/dist/browser/BlockSelector-D24DIiSX.js.map +0 -1
- package/dist/browser/connection-form-D-NETdDQ.js.map +0 -1
- package/dist/browser/editor-B6N0PCuZ.js.map +0 -1
- package/dist/browser/editor-BkdwuOC-.js.map +0 -1
- package/dist/browser/editor-CZ5NvCyv.js.map +0 -1
- package/dist/browser/module-Bkms70LV.js.map +0 -1
- package/dist/browser/piece-auth-Z4mZEOtL.js.map +0 -1
- package/dist/browser/runtime-api-DDMQc4PB.js +0 -558
- package/dist/browser/runtime-api-DDMQc4PB.js.map +0 -1
- package/dist/browser/trigger-text-CUv5Z2Uk.js +0 -551
- package/dist/browser/trigger-text-CUv5Z2Uk.js.map +0 -1
- package/dist/browser/workflow-CGtVlhr8.js.map +0 -1
- package/dist/node/BlockSelector-CTmmpYxu.mjs +0 -1388
- package/dist/node/BlockSelector-CTmmpYxu.mjs.map +0 -1
- package/dist/node/connection-form-C9vbfSnA.mjs.map +0 -1
- package/dist/node/editor-By9BHI8e.mjs.map +0 -1
- package/dist/node/editor-DP36YDk5.mjs.map +0 -1
- package/dist/node/editor-StBssjcQ.mjs.map +0 -1
- package/dist/node/module-DuxxhgKs.mjs.map +0 -1
- package/dist/node/piece-auth-Z4mZEOtL.mjs.map +0 -1
- package/dist/node/runtime-api-DDMQc4PB.mjs +0 -558
- package/dist/node/runtime-api-DDMQc4PB.mjs.map +0 -1
- package/dist/node/trigger-text-Bzq6VfOQ.mjs +0 -551
- package/dist/node/trigger-text-Bzq6VfOQ.mjs.map +0 -1
- package/dist/node/workflow-C-uuQPnf.mjs.map +0 -1
- package/dist/types/editors/workflow-editor/runtime-api.test.d.ts +0 -2
- package/dist/types/editors/workflow-editor/runtime-api.test.d.ts.map +0 -1
- package/dist/types/editors/workflow-editor/runtime-piece-source.d.ts +0 -2
- package/dist/types/editors/workflow-editor/runtime-piece-source.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/gen/trigger/error.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/gen/trigger/error.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GACjB,0BAA0B,GAC1B,6BAA6B,GAC7B,oBAAoB,CAAC;AAEzB,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,qBAAa,wBAAyB,SAAQ,KAAM,YAAW,YAAY;IACzE,SAAS,EAAiC,SAAS,CAAC;IACpD,YAAY,OAAO,SAA6B,EAE/C;CACF;AAED,qBAAa,2BAA4B,SAAQ,KAAM,YAAW,YAAY;IAC5E,SAAS,EAAoC,SAAS,CAAC;IACvD,YAAY,OAAO,SAAgC,EAElD;CACF;AAED,qBAAa,kBAAmB,SAAQ,KAAM,YAAW,YAAY;IACnE,SAAS,EAA2B,SAAS,CAAC;IAC9C,YAAY,OAAO,SAAuB,EAEzC;CACF;AAED,eAAO,MAAM,MAAM;;;;;;;;CAIlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../document-models/workflow/v1/gen/utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAwB,MAAM,gBAAgB,CAAC;AAgB/E,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EAChB,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../document-models/workflow/v1/gen/utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAwB,MAAM,gBAAgB,CAAC;AAgB/E,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,EAChB,MAAM,YAAY,CAAC;AAEpB,eAAO,MAAM,kBAAkB,EAAE,mBA4BhC,CAAC;AACF,eAAO,MAAM,iBAAiB,EAAE,kBAAuB,CAAC;AAExD,eAAO,MAAM,KAAK,EAAE,kBAAkB,CAAC,eAAe,CAiCrD,CAAC"}
|
|
@@ -1,12 +1,24 @@
|
|
|
1
|
-
export type ErrorCode = "VariableNotFoundError";
|
|
1
|
+
export type ErrorCode = "SecretVariableValueError" | "DuplicateVariableKeyError" | "VariableNotFoundError";
|
|
2
2
|
export interface ReducerError {
|
|
3
3
|
errorCode: ErrorCode;
|
|
4
4
|
}
|
|
5
|
+
export declare class SecretVariableValueError extends Error implements ReducerError {
|
|
6
|
+
errorCode: ErrorCode;
|
|
7
|
+
constructor(message?: string);
|
|
8
|
+
}
|
|
9
|
+
export declare class DuplicateVariableKeyError extends Error implements ReducerError {
|
|
10
|
+
errorCode: ErrorCode;
|
|
11
|
+
constructor(message?: string);
|
|
12
|
+
}
|
|
5
13
|
export declare class VariableNotFoundError extends Error implements ReducerError {
|
|
6
14
|
errorCode: ErrorCode;
|
|
7
15
|
constructor(message?: string);
|
|
8
16
|
}
|
|
9
17
|
export declare const errors: {
|
|
18
|
+
SetVariable: {
|
|
19
|
+
SecretVariableValueError: typeof SecretVariableValueError;
|
|
20
|
+
DuplicateVariableKeyError: typeof DuplicateVariableKeyError;
|
|
21
|
+
};
|
|
10
22
|
RemoveVariable: {
|
|
11
23
|
VariableNotFoundError: typeof VariableNotFoundError;
|
|
12
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/gen/variables/error.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/gen/variables/error.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GACjB,0BAA0B,GAC1B,2BAA2B,GAC3B,uBAAuB,CAAC;AAE5B,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,qBAAa,wBAAyB,SAAQ,KAAM,YAAW,YAAY;IACzE,SAAS,EAAiC,SAAS,CAAC;IACpD,YAAY,OAAO,SAA6B,EAE/C;CACF;AAED,qBAAa,yBAA0B,SAAQ,KAAM,YAAW,YAAY;IAC1E,SAAS,EAAkC,SAAS,CAAC;IACrD,YAAY,OAAO,SAA8B,EAEhD;CACF;AAED,qBAAa,qBAAsB,SAAQ,KAAM,YAAW,YAAY;IACtE,SAAS,EAA8B,SAAS,CAAC;IACjD,YAAY,OAAO,SAA0B,EAE5C;CACF;AAED,eAAO,MAAM,MAAM;;;;;;;;CAIlB,CAAC"}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ErrorCode = "WorkflowNotPublishedError";
|
|
2
|
+
export interface ReducerError {
|
|
3
|
+
errorCode: ErrorCode;
|
|
4
|
+
}
|
|
5
|
+
export declare class WorkflowNotPublishedError extends Error implements ReducerError {
|
|
6
|
+
errorCode: ErrorCode;
|
|
7
|
+
constructor(message?: string);
|
|
8
|
+
}
|
|
9
|
+
export declare const errors: {
|
|
10
|
+
SetWorkflowStatus: {
|
|
11
|
+
WorkflowNotPublishedError: typeof WorkflowNotPublishedError;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
2
14
|
//# sourceMappingURL=error.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/gen/workflow/error.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/gen/workflow/error.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,2BAA2B,CAAC;AAEpD,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,qBAAa,yBAA0B,SAAQ,KAAM,YAAW,YAAY;IAC1E,SAAS,EAAkC,SAAS,CAAC;IACrD,YAAY,OAAO,SAA8B,EAEhD;CACF;AAED,eAAO,MAAM,MAAM;;;;CAElB,CAAC"}
|
|
@@ -12,7 +12,10 @@ export declare const Workflow: {
|
|
|
12
12
|
addEdge: (input: import("./gen/types.js").AddEdgeInput) => import("./index.ts").AddEdgeAction;
|
|
13
13
|
removeEdge: (input: import("./gen/types.js").RemoveEdgeInput) => import("./index.ts").RemoveEdgeAction;
|
|
14
14
|
setPolicy: (input: import("./gen/types.js").SetPolicyInput) => import("./index.ts").SetPolicyAction;
|
|
15
|
+
publishWorkflow: (input: import("./gen/types.js").PublishWorkflowInput) => import("./index.ts").PublishWorkflowAction;
|
|
16
|
+
revertToPublished: (input: import("./gen/types.js").RevertToPublishedInput) => import("./index.ts").RevertToPublishedAction;
|
|
15
17
|
setLastRun: (input: import("./gen/types.js").SetLastRunInput) => import("./index.ts").SetLastRunAction;
|
|
18
|
+
setLastTest: (input: import("./gen/types.js").SetLastTestInput) => import("./index.ts").SetLastTestAction;
|
|
16
19
|
addStep: (input: import("./gen/types.js").AddStepInput) => import("./index.ts").AddStepAction;
|
|
17
20
|
updateStep: (input: import("./gen/types.js").UpdateStepInput) => import("./index.ts").UpdateStepAction;
|
|
18
21
|
removeStep: (input: import("./gen/types.js").RemoveStepInput) => import("./index.ts").RemoveStepAction;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../document-models/workflow/v1/module.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,2DAA2D;AAC3D,eAAO,MAAM,QAAQ;sBACV,CAAC
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../document-models/workflow/v1/module.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAGtD,2DAA2D;AAC3D,eAAO,MAAM,QAAQ;sBACV,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK6C,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PropertyMode, PropertySetting, TriggerBinding, WorkflowGlobalState, WorkflowStep } from "../gen/types.js";
|
|
2
|
+
export declare function invalidBlock(kind: "action" | "trigger", block: {
|
|
3
|
+
pieceName?: string | null;
|
|
4
|
+
pieceVersion?: string | null;
|
|
5
|
+
name?: string | null;
|
|
6
|
+
}): string | undefined;
|
|
7
|
+
export declare function findStepOrTrigger(state: WorkflowGlobalState, id: string): WorkflowStep | TriggerBinding | undefined;
|
|
8
|
+
export declare function toPropertySettings(input: readonly {
|
|
9
|
+
prop: string;
|
|
10
|
+
mode: PropertyMode;
|
|
11
|
+
schema?: unknown;
|
|
12
|
+
}[]): PropertySetting[];
|
|
13
|
+
export declare function cloneJson<T>(value: T): T;
|
|
14
|
+
export declare function isConfigObject(config: unknown): boolean;
|
|
15
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../../document-models/workflow/v1/src/helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,YAAY,EACb,MAAM,iBAAiB,CAAC;AAIzB,wBAAgB,YAAY,CAC1B,IAAI,EAAE,QAAQ,GAAG,SAAS,EAC1B,KAAK,EAAE;IACL,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,GACA,MAAM,GAAG,SAAS,CAOpB;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,mBAAmB,EAC1B,EAAE,EAAE,MAAM,GACT,YAAY,GAAG,cAAc,GAAG,SAAS,CAG3C;AAED,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,SAAS;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,YAAY,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,EAAE,GACvE,eAAe,EAAE,CAMnB;AAGD,wBAAgB,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAExC;AAGD,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAIvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edges.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/edges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AA2BrC,eAAO,MAAM,uBAAuB,EAAE,
|
|
1
|
+
{"version":3,"file":"edges.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/edges.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AA2BrC,eAAO,MAAM,uBAAuB,EAAE,uBAuCrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"publishing.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/publishing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAIhF,eAAO,MAAM,4BAA4B,EAAE,4BAwB1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAI7E,eAAO,MAAM,yBAAyB,EAAE,yBAevC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/steps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/steps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAoB3E,eAAO,MAAM,uBAAuB,EAAE,uBAiIrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/trigger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"trigger.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/trigger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAY7E,eAAO,MAAM,yBAAyB,EAAE,yBAmDvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/variables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/variables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAO/E,eAAO,MAAM,2BAA2B,EAAE,2BAsDzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../../../../../../document-models/workflow/v1/src/reducers/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAG9E,eAAO,MAAM,0BAA0B,EAAE,0BAgBxC,CAAC"}
|
package/dist/types/document-models/workflow/v1/tests/block-validation-and-enable.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block-validation-and-enable.test.d.ts","sourceRoot":"","sources":["../../../../../../document-models/workflow/v1/tests/block-validation-and-enable.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-and-variables.test.d.ts","sourceRoot":"","sources":["../../../../../../document-models/workflow/v1/tests/config-and-variables.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"draft-and-publish.test.d.ts","sourceRoot":"","sources":["../../../../../../document-models/workflow/v1/tests/draft-and-publish.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updated-at.test.d.ts","sourceRoot":"","sources":["../../../../../../document-models/workflow/v1/tests/updated-at.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectionToolbar.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/ConnectionToolbar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAkClE,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,YAAY,EAAE,MAAM,CAAC;IAErB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,KAAK,EAAE,eAAe,CAAC;IACvB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,WAAW,EAAE,CAAC,MAAM,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAChD,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,
|
|
1
|
+
{"version":3,"file":"ConnectionToolbar.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/ConnectionToolbar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAkClE,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,YAAY,EAAE,MAAM,CAAC;IAErB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,KAAK,EAAE,eAAe,CAAC;IACvB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,WAAW,EAAE,CAAC,MAAM,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAChD,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,2CAgHA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UsedBy.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/UsedBy.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UsedBy.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/UsedBy.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,eAAe,EAErB,MAAM,uBAAuB,CAAC;AAE/B,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,MAAM,qBAYtD;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,eAAe,EAAE,CAAA;CAAE,2CA+CzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection-callbacks.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-callbacks.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"connection-callbacks.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-callbacks.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAOhE,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,GAC3C,mBAAmB,CA8DrB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ConnectionAuthType, ConnectionState, ConnectionStatus } from "document-models/connection";
|
|
2
|
-
import {
|
|
2
|
+
import type { PieceSummary } from "../workflow-editor/runtime-client.js";
|
|
3
3
|
export interface ConnectionCallbacks {
|
|
4
4
|
setName: (name: string) => void;
|
|
5
5
|
pickPiece: (piece: PieceSummary) => void;
|
|
@@ -15,5 +15,6 @@ export interface ConnectionCallbacks {
|
|
|
15
15
|
export declare function ConnectionForm(props: {
|
|
16
16
|
state: ConnectionState;
|
|
17
17
|
callbacks: ConnectionCallbacks;
|
|
18
|
+
connectionId?: string;
|
|
18
19
|
}): import("react/jsx-runtime").JSX.Element;
|
|
19
20
|
//# sourceMappingURL=connection-form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection-form.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-form.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,
|
|
1
|
+
{"version":3,"file":"connection-form.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-form.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,YAAY,EAEb,MAAM,sCAAsC,CAAC;AAiC9C,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,SAAS,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IAEzC,WAAW,EAAE,CACX,QAAQ,EAAE,kBAAkB,EAC5B,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAAC,OAAO,EAAE,MAAM,EAAE,CAAA;KAAE,KAC1C,IAAI,CAAC;IACV,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACvD,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC/C;AAmgBD,wBAAgB,cAAc,CAAC,KAAK,EAAE;IACpC,KAAK,EAAE,eAAe,CAAC;IACvB,SAAS,EAAE,mBAAmB,CAAC;IAE/B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,2CAyLA"}
|
|
@@ -2,14 +2,15 @@ export interface UsageStep {
|
|
|
2
2
|
id: string;
|
|
3
3
|
key: string;
|
|
4
4
|
name: string;
|
|
5
|
-
|
|
5
|
+
pieceName: string;
|
|
6
|
+
pieceVersion: string;
|
|
7
|
+
actionName: string;
|
|
6
8
|
}
|
|
7
9
|
export interface UsageWorkflow {
|
|
8
10
|
id: string;
|
|
9
11
|
name: string;
|
|
10
12
|
status: string;
|
|
11
13
|
trigger?: {
|
|
12
|
-
blockType: string;
|
|
13
14
|
connectionId?: string | null;
|
|
14
15
|
} | null;
|
|
15
16
|
steps: readonly UsageStep[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection-usage.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-usage.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"connection-usage.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/connection-usage.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC;IAClD,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,aAAa,CAAC;IAExB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB;AAED,wBAAgB,eAAe,CAC7B,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,SAAS,aAAa,EAAE,GAClC,eAAe,EAAE,CAYnB;AAID,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,MAAM,CAElE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/editor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/editor.tsx"],"names":[],"mappings":"AAmDA,MAAM,CAAC,OAAO,UAAU,MAAM,4CAS7B"}
|
|
@@ -10,16 +10,22 @@ export interface AuthField {
|
|
|
10
10
|
value: unknown;
|
|
11
11
|
}[];
|
|
12
12
|
}
|
|
13
|
+
export declare const UNKNOWN_AUTH = "UNKNOWN";
|
|
13
14
|
export interface AuthPlan {
|
|
14
|
-
authType: ConnectionAuthType;
|
|
15
|
+
authType: ConnectionAuthType | typeof UNKNOWN_AUTH;
|
|
15
16
|
displayName?: string;
|
|
16
17
|
description?: string;
|
|
17
18
|
configFields: AuthField[];
|
|
18
19
|
secretFields: AuthField[];
|
|
19
20
|
supported: boolean;
|
|
21
|
+
oauth2?: boolean;
|
|
22
|
+
declaredType?: string;
|
|
20
23
|
}
|
|
21
24
|
export declare function isConfigValueMissing(value: unknown): boolean;
|
|
22
25
|
export declare function isAuthComplete(plan: AuthPlan, config: Record<string, unknown>, refs: Map<string, string>): boolean;
|
|
26
|
+
export declare const OAUTH_CLIENT_ID = "client_id";
|
|
27
|
+
export declare const OAUTH_CLIENT_SECRET = "client_secret";
|
|
28
|
+
export declare const OAUTH_TOKEN = "token";
|
|
23
29
|
export declare function plansFromAuth(auth: unknown): AuthPlan[];
|
|
24
30
|
export declare function planForConnection(auth: unknown, authType: ConnectionAuthType): AuthPlan;
|
|
25
31
|
export declare function planFromAuth(auth: unknown): AuthPlan;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"piece-auth.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/piece-auth.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;CAC/C;
|
|
1
|
+
{"version":3,"file":"piece-auth.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/piece-auth.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;CAC/C;AAGD,eAAO,MAAM,YAAY,YAAY,CAAC;AAEtC,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,kBAAkB,GAAG,OAAO,YAAY,CAAC;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,SAAS,EAAE,CAAC;IAC1B,YAAY,EAAE,SAAS,EAAE,CAAC;IAE1B,SAAS,EAAE,OAAO,CAAC;IAEnB,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAGD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE5D;AAID,wBAAgB,cAAc,CAC5B,IAAI,EAAE,QAAQ,EACd,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACxB,OAAO,CAQT;AAuBD,eAAO,MAAM,eAAe,cAAc,CAAC;AAC3C,eAAO,MAAM,mBAAmB,kBAAkB,CAAC;AACnD,eAAO,MAAM,WAAW,UAAU,CAAC;AA8BnC,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,EAAE,CAMvD;AAID,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,kBAAkB,GAC3B,QAAQ,CAMV;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,CAcpD;AAgHD,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAO/D;AAGD,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAMlE"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ConnectionAuthType, ConnectionStatus } from "document-models/connection";
|
|
2
|
+
import { UNKNOWN_AUTH } from "./piece-auth.js";
|
|
2
3
|
export declare const CONNECTION_STATUS_STYLES: Record<ConnectionStatus, string>;
|
|
3
4
|
export declare const CONNECTION_STATUS_LABEL: Record<ConnectionStatus, string>;
|
|
4
|
-
export declare const AUTH_TYPE_LABEL: Record<ConnectionAuthType, string>;
|
|
5
|
+
export declare const AUTH_TYPE_LABEL: Record<ConnectionAuthType | typeof UNKNOWN_AUTH, string>;
|
|
5
6
|
//# sourceMappingURL=status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/status.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../../editors/connection-editor/status.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAKrE,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAKpE,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,CAClC,kBAAkB,GAAG,OAAO,YAAY,EACxC,MAAM,CASP,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ButtonHTMLAttributes, type ReactNode } from "react";
|
|
1
|
+
import { type ButtonHTMLAttributes, type ReactNode, type Ref } from "react";
|
|
2
2
|
import { type IconName } from "./icons.js";
|
|
3
3
|
declare const BUTTON_SIZE: {
|
|
4
4
|
sm: string;
|
|
@@ -9,8 +9,10 @@ declare const BUTTON_VARIANT: {
|
|
|
9
9
|
secondary: string;
|
|
10
10
|
ghost: string;
|
|
11
11
|
danger: string;
|
|
12
|
+
destructive: string;
|
|
12
13
|
};
|
|
13
14
|
export declare function Button(props: ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
15
|
+
ref?: Ref<HTMLButtonElement>;
|
|
14
16
|
variant?: keyof typeof BUTTON_VARIANT;
|
|
15
17
|
size?: keyof typeof BUTTON_SIZE;
|
|
16
18
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -46,6 +48,19 @@ export declare function Switch(props: {
|
|
|
46
48
|
description?: string;
|
|
47
49
|
disabled?: boolean;
|
|
48
50
|
}): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export declare function Toggle(props: {
|
|
52
|
+
checked: boolean;
|
|
53
|
+
onChange: (checked: boolean) => void;
|
|
54
|
+
label: string;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export declare function Tooltip(props: {
|
|
58
|
+
content: ReactNode;
|
|
59
|
+
children: ReactNode;
|
|
60
|
+
enabled?: boolean;
|
|
61
|
+
align?: "start" | "end";
|
|
62
|
+
side?: "below" | "left";
|
|
63
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
49
64
|
export declare function Tabs<T extends string>(props: {
|
|
50
65
|
value: T;
|
|
51
66
|
onChange: (value: T) => void;
|
|
@@ -79,6 +94,7 @@ interface SelectProps {
|
|
|
79
94
|
disabled?: boolean;
|
|
80
95
|
invalid?: boolean;
|
|
81
96
|
id?: string;
|
|
97
|
+
ariaLabel?: string;
|
|
82
98
|
onRefresh?: () => void;
|
|
83
99
|
emptyText?: string;
|
|
84
100
|
searchable?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../editors/shared/controls.tsx"],"names":[],"mappings":"AAEA,OAAO,EAOL,KAAK,oBAAoB,EAEzB,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../editors/shared/controls.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { type UndoPolicy } from "./undo-plan.js";
|
|
1
2
|
export declare function BackButton(props: {
|
|
2
3
|
label?: string;
|
|
3
4
|
}): import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
export declare function UndoRedo(props: {
|
|
5
6
|
documentId: string;
|
|
7
|
+
policy?: UndoPolicy;
|
|
6
8
|
}): import("react/jsx-runtime").JSX.Element;
|
|
7
9
|
//# sourceMappingURL=editor-chrome.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor-chrome.d.ts","sourceRoot":"","sources":["../../../../editors/shared/editor-chrome.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"editor-chrome.d.ts","sourceRoot":"","sources":["../../../../editors/shared/editor-chrome.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAML,KAAK,UAAU,EAChB,MAAM,gBAAgB,CAAC;AAExB,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,2CAYnD;AA2CD,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,UAAU,CAAA;CAAE,2CA+H1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../editors/shared/icons.tsx"],"names":[],"mappings":"AACA,QAAA,MAAM,UAAU;IACd,MAAM;IACN,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,WAAW;IACX,KAAK;IACL,IAAI;IACJ,KAAK;IACL,KAAK;IACL,MAAM;IACN,MAAM;IAEN,IAAI;IACJ,UAAU;IACV,KAAK;IAEL,IAAI;IACJ,OAAO;IACP,GAAG;IACH,MAAM;IAEN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,MAAM;IAEN,IAAI;
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../editors/shared/icons.tsx"],"names":[],"mappings":"AACA,QAAA,MAAM,UAAU;IACd,MAAM;IACN,KAAK;IACL,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,WAAW;IACX,KAAK;IACL,IAAI;IACJ,KAAK;IACL,KAAK;IACL,MAAM;IACN,MAAM;IAEN,IAAI;IACJ,UAAU;IACV,KAAK;IAEL,IAAI;IACJ,OAAO;IACP,GAAG;IACH,MAAM;IAEN,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,MAAM;IAEN,IAAI;IACJ,IAAI;IACJ,OAAO;CACR,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,UAAU,CAAC;AAG/C,wBAAgB,UAAU,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,QAAQ,CAE1D;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE;IAC1B,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,2CAiBA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type Action, type Operation } from "@powerhousedao/shared/document-model";
|
|
2
|
+
export interface UndoPolicy {
|
|
3
|
+
skip: ReadonlySet<string>;
|
|
4
|
+
replay?: (action: Action) => Action | undefined;
|
|
5
|
+
}
|
|
6
|
+
export interface UndoPlan {
|
|
7
|
+
undos: number;
|
|
8
|
+
replay: Action[];
|
|
9
|
+
undone: Action[];
|
|
10
|
+
}
|
|
11
|
+
export declare function newUndoGroup(): string;
|
|
12
|
+
export declare function groupedAction<A extends Action>(action: A, group: string): A;
|
|
13
|
+
export declare function undoGroupOf(action: Action): string | undefined;
|
|
14
|
+
export declare function effectiveOperations(operations: readonly Operation[], protocolVersion: number): Operation[];
|
|
15
|
+
export declare function planUndo(effective: readonly Operation[], policy: UndoPolicy): UndoPlan | null;
|
|
16
|
+
export declare function headIndex(operations: readonly Operation[]): number;
|
|
17
|
+
export declare function editedSince(operations: readonly Operation[], head: number, policy: UndoPolicy): boolean;
|
|
18
|
+
export declare function redoAction(action: Action): Action;
|
|
19
|
+
export declare function redoActions(actions: readonly Action[]): Action[];
|
|
20
|
+
//# sourceMappingURL=undo-plan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-plan.d.ts","sourceRoot":"","sources":["../../../../editors/shared/undo-plan.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,MAAM,EACX,KAAK,SAAS,EACf,MAAM,sCAAsC,CAAC;AAE9C,MAAM,WAAW,UAAU;IAEzB,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAE1B,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;CACjD;AAED,MAAM,WAAW,QAAQ;IAEvB,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAKD,wBAAgB,YAAY,IAAI,MAAM,CAErC;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,CAE3E;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM9D;AAGD,wBAAgB,mBAAmB,CACjC,UAAU,EAAE,SAAS,SAAS,EAAE,EAChC,eAAe,EAAE,MAAM,GACtB,SAAS,EAAE,CAKb;AAqBD,wBAAgB,QAAQ,CACtB,SAAS,EAAE,SAAS,SAAS,EAAE,EAC/B,MAAM,EAAE,UAAU,GACjB,QAAQ,GAAG,IAAI,CAwBjB;AAGD,wBAAgB,SAAS,CAAC,UAAU,EAAE,SAAS,SAAS,EAAE,GAAG,MAAM,CAElE;AAGD,wBAAgB,WAAW,CACzB,UAAU,EAAE,SAAS,SAAS,EAAE,EAChC,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,UAAU,GACjB,OAAO,CAOT;AAGD,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAQjD;AAGD,wBAAgB,WAAW,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,EAAE,CAIhE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-plan.test.d.ts","sourceRoot":"","sources":["../../../../editors/shared/undo-plan.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWorkflowModel.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/document/useWorkflowModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useWorkflowModel.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/document/useWorkflowModel.ts"],"names":[],"mappings":"AAcA,OAAO,EAIL,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EACnB,MAAM,gBAAgB,CAAC;AAmGxB,wBAAgB,gBAAgB,IAAI;IAClC,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,EAAE,uBAAuB,CAAC;CACpC,CA+QA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/editor.tsx"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AACtC,OAAO,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/editor.tsx"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AACtC,OAAO,iBAAiB,CAAC;AAwPzB,MAAM,CAAC,OAAO,UAAU,MAAM,4CAS7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-kinds.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/run-kinds.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,SAAS,CAAC;AAGxC,wBAAgB,QAAQ,CAAC,CAAC,SAAS;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAE1E"}
|