@powerhousedao/workflow 6.2.3 → 6.3.0-dev.2
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 +3 -1
- package/dist/{node/BlockSelector-C3XYZfPY.mjs → browser/BlockSelector-CEdYUqjx.js} +2006 -1692
- package/dist/browser/BlockSelector-CEdYUqjx.js.map +1 -0
- package/dist/browser/PieceMarkdown-DSdZd-Jc.js +92 -0
- package/dist/browser/PieceMarkdown-DSdZd-Jc.js.map +1 -0
- package/dist/browser/connection-form-Biksq2jW.js +1524 -0
- package/dist/browser/connection-form-Biksq2jW.js.map +1 -0
- package/dist/browser/{connection-BUum0hJI.js → connection-ilYFCRUK.js} +2 -2
- package/dist/browser/{connection-BUum0hJI.js.map → connection-ilYFCRUK.js.map} +1 -1
- package/dist/browser/data-tree-Cq-s6bJp.js +76 -0
- package/dist/browser/data-tree-Cq-s6bJp.js.map +1 -0
- package/dist/browser/document-models/connection/index.js +3 -3
- package/dist/browser/document-models/index.js +3 -3
- package/dist/browser/document-models/workflow/index.js +3 -3
- package/dist/browser/document-models-C2SAP1SX.js +164 -0
- package/dist/browser/{document-models-C1ZgIZyV.js.map → document-models-C2SAP1SX.js.map} +1 -1
- package/dist/browser/editor-CIqKi7XK.js +3219 -0
- package/dist/browser/editor-CIqKi7XK.js.map +1 -0
- package/dist/browser/editor-DYjoPfta.js +4669 -0
- package/dist/browser/editor-DYjoPfta.js.map +1 -0
- package/dist/browser/{editor-BCH8vdej.js → editor-GeRXGdie.js} +174 -48
- package/dist/browser/editor-GeRXGdie.js.map +1 -0
- package/dist/browser/editors/connection-editor/module.js +1 -1
- package/dist/browser/editors/connection-editor/module.js.map +1 -1
- package/dist/browser/editors/runtime/index.js +2 -0
- package/dist/browser/editors/workflow-editor/module.js +1 -1
- package/dist/browser/editors/workflow-editor/module.js.map +1 -1
- package/dist/browser/editors/workflow-studio/module.js +1 -1
- package/dist/browser/index.js +164 -88
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/{module-jDZ4pq3W.js → module-DJz6oTX0.js} +237 -30
- package/dist/browser/module-DJz6oTX0.js.map +1 -0
- package/dist/browser/{module-DU2vb3FH.js → module-mFCt9WHJ.js} +267 -89
- package/dist/browser/module-mFCt9WHJ.js.map +1 -0
- package/dist/{node/piece-auth-BS5CtQOG.mjs → browser/piece-auth-63iuNFTs.js} +11 -3
- package/dist/browser/piece-auth-63iuNFTs.js.map +1 -0
- package/dist/browser/reactor/index.js +2 -2
- package/dist/browser/rolldown-runtime-D7D4PA-g.js +13 -0
- package/dist/browser/runtime-queries-FmEzElOY.js +993 -0
- package/dist/browser/runtime-queries-FmEzElOY.js.map +1 -0
- package/dist/browser/trigger-text-DH6HIeoa.js +3210 -0
- package/dist/browser/trigger-text-DH6HIeoa.js.map +1 -0
- package/dist/browser/upgrade-manifests-C2Qa6myy.js +8 -0
- package/dist/browser/{upgrade-manifests-BpakVE9l.js.map → upgrade-manifests-C2Qa6myy.js.map} +1 -1
- package/dist/{node/workflow-CGzYGZnr.mjs → browser/workflow-2gR2JXUS.js} +4 -3
- package/dist/browser/workflow-2gR2JXUS.js.map +1 -0
- package/dist/node/document-models/connection/index.mjs +67 -3
- package/dist/node/document-models/connection/index.mjs.map +1 -0
- package/dist/node/document-models/index.mjs +3 -3
- package/dist/node/document-models/workflow/index.mjs +86 -3
- package/dist/node/document-models/workflow/index.mjs.map +1 -0
- package/dist/node/editors/index.mjs +6 -4
- package/dist/node/editors/index.mjs.map +1 -0
- package/dist/node/index.mjs +69 -381
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/{module-Dhe5E-VA.mjs → module-BXKUB58R.mjs} +273 -90
- package/dist/node/module-BXKUB58R.mjs.map +1 -0
- package/dist/node/{module-BMwJQh65.mjs → module-CaBtkQmd.mjs} +226 -19
- package/dist/node/module-CaBtkQmd.mjs.map +1 -0
- package/dist/node/pieces/ai/descriptor.json +857 -0
- package/dist/node/pieces/ai/index.mjs +624 -0
- package/dist/node/pieces/ai/package.json +9 -0
- package/dist/node/pieces/index.mjs +3 -0
- package/dist/node/pieces/index.mjs.map +1 -1
- package/dist/node/pieces/reactor/descriptor.json +104 -18
- package/dist/node/pieces/reactor/index.mjs +48 -17670
- package/dist/node/pieces/reactor/package.json +2 -2
- package/dist/node/rolldown-runtime-D7D4PA-g.mjs +13 -0
- package/dist/node/upgrade-manifests-BCCpSD1J.mjs +8 -0
- package/dist/node/{upgrade-manifests-CmNd742Y.mjs.map → upgrade-manifests-BCCpSD1J.mjs.map} +1 -1
- package/dist/powerhouse.manifest.json +72 -6
- package/dist/style.css +3 -2520
- package/dist/types/ai/runtime.d.ts +13 -0
- package/dist/types/ai/runtime.d.ts.map +1 -0
- package/dist/types/ai/tools.d.ts +10 -6
- 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/connection/v1/actions.d.ts +3 -0
- package/dist/types/document-models/connection/v1/actions.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/config/actions.d.ts +10 -2
- package/dist/types/document-models/connection/v1/gen/config/actions.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/config/creators.d.ts +4 -2
- package/dist/types/document-models/connection/v1/gen/config/creators.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/config/error.d.ts +29 -1
- package/dist/types/document-models/connection/v1/gen/config/error.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/config/operations.d.ts +3 -1
- package/dist/types/document-models/connection/v1/gen/config/operations.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/connection/error.d.ts +13 -1
- package/dist/types/document-models/connection/v1/gen/connection/error.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/document-model.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/reducer.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/schema/types.d.ts +18 -2
- package/dist/types/document-models/connection/v1/gen/schema/types.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/gen/schema/zod.d.ts +5 -1
- package/dist/types/document-models/connection/v1/gen/schema/zod.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/module.d.ts +3 -0
- package/dist/types/document-models/connection/v1/module.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/src/reactor-connection.d.ts +17 -0
- package/dist/types/document-models/connection/v1/src/reactor-connection.d.ts.map +1 -0
- package/dist/types/document-models/connection/v1/src/reducers/config.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/src/reducers/connection.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/src/utils.d.ts +1 -1
- package/dist/types/document-models/connection/v1/src/utils.d.ts.map +1 -1
- package/dist/types/document-models/connection/v1/tests/config-values.test.d.ts +2 -0
- package/dist/types/document-models/connection/v1/tests/config-values.test.d.ts.map +1 -0
- package/dist/types/document-models/connection/v1/tests/reactor-connection.test.d.ts +2 -0
- package/dist/types/document-models/connection/v1/tests/reactor-connection.test.d.ts.map +1 -0
- package/dist/types/document-models/document-models.d.ts +8 -0
- package/dist/types/document-models/document-models.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/actions.d.ts +5 -0
- package/dist/types/document-models/workflow/v1/actions.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/ph-factories.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/reducer.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts +52 -6
- 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 +7 -1
- package/dist/types/document-models/workflow/v1/gen/schema/zod.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/actions.d.ts +14 -2
- package/dist/types/document-models/workflow/v1/gen/trigger/actions.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/creators.d.ts +5 -2
- package/dist/types/document-models/workflow/v1/gen/trigger/creators.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/error.d.ts +32 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/error.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/operations.d.ts +4 -1
- package/dist/types/document-models/workflow/v1/gen/trigger/operations.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/workflow/actions.d.ts +6 -2
- package/dist/types/document-models/workflow/v1/gen/workflow/actions.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/workflow/creators.d.ts +3 -2
- package/dist/types/document-models/workflow/v1/gen/workflow/creators.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/gen/workflow/operations.d.ts +2 -1
- package/dist/types/document-models/workflow/v1/gen/workflow/operations.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/module.d.ts +5 -0
- package/dist/types/document-models/workflow/v1/module.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/workflow.d.ts.map +1 -1
- package/dist/types/document-models/workflow/v1/tests/managed-by.test.d.ts +2 -0
- package/dist/types/document-models/workflow/v1/tests/managed-by.test.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/tests/reactor-connection.test.d.ts +2 -0
- package/dist/types/document-models/workflow/v1/tests/reactor-connection.test.d.ts.map +1 -0
- package/dist/types/document-models/workflow/v1/tests/trigger-fields.test.d.ts +2 -0
- package/dist/types/document-models/workflow/v1/tests/trigger-fields.test.d.ts.map +1 -0
- package/dist/types/editors/connection-editor/ConnectionToolbar.d.ts +1 -1
- package/dist/types/editors/connection-editor/ConnectionToolbar.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/ReactorBindings.d.ts +6 -0
- package/dist/types/editors/connection-editor/ReactorBindings.d.ts.map +1 -0
- package/dist/types/editors/connection-editor/ReactorConnectionSettings.d.ts +7 -0
- package/dist/types/editors/connection-editor/ReactorConnectionSettings.d.ts.map +1 -0
- 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 +4 -1
- package/dist/types/editors/connection-editor/connection-form.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/connection-usage.d.ts +13 -3
- package/dist/types/editors/connection-editor/connection-usage.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/editor.d.ts +3 -1
- package/dist/types/editors/connection-editor/editor.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/module.d.ts +2 -1
- package/dist/types/editors/connection-editor/module.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/piece-auth.d.ts +6 -1
- package/dist/types/editors/connection-editor/piece-auth.d.ts.map +1 -1
- package/dist/types/editors/connection-editor/status.d.ts.map +1 -1
- package/dist/types/editors/runtime/index.d.ts +21 -0
- package/dist/types/editors/runtime/index.d.ts.map +1 -0
- package/dist/types/editors/runtime/runtime-export.test.d.ts +2 -0
- package/dist/types/editors/runtime/runtime-export.test.d.ts.map +1 -0
- package/dist/types/editors/shared/DocumentErrorBoundary.d.ts.map +1 -1
- package/dist/types/editors/shared/controls.d.ts +1 -0
- package/dist/types/editors/shared/controls.d.ts.map +1 -1
- package/dist/types/editors/shared/data-tree.d.ts.map +1 -1
- package/dist/types/editors/shared/data-viewer.d.ts.map +1 -1
- package/dist/types/editors/shared/document-ref.d.ts +5 -0
- package/dist/types/editors/shared/document-ref.d.ts.map +1 -0
- package/dist/types/editors/shared/editor-chrome.d.ts +6 -1
- package/dist/types/editors/shared/editor-chrome.d.ts.map +1 -1
- package/dist/types/editors/shared/editor-chrome.test.d.ts +2 -0
- package/dist/types/editors/shared/editor-chrome.test.d.ts.map +1 -0
- package/dist/types/editors/shared/icons.d.ts +5 -0
- package/dist/types/editors/shared/icons.d.ts.map +1 -1
- package/dist/types/editors/shared/pending-echo.d.ts +9 -0
- package/dist/types/editors/shared/pending-echo.d.ts.map +1 -0
- package/dist/types/editors/shared/undo-plan.d.ts +12 -5
- package/dist/types/editors/shared/undo-plan.d.ts.map +1 -1
- package/dist/types/editors/shared/url-param.d.ts +14 -0
- package/dist/types/editors/shared/url-param.d.ts.map +1 -0
- package/dist/types/editors/shared/url-param.test.d.ts +2 -0
- package/dist/types/editors/shared/url-param.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 +3 -1
- package/dist/types/editors/workflow-editor/editor.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/module.d.ts +2 -1
- package/dist/types/editors/workflow-editor/module.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/reactor-hooks.d.ts +25 -0
- package/dist/types/editors/workflow-editor/reactor-hooks.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/runtime-api.d.ts +13 -11
- package/dist/types/editors/workflow-editor/runtime-api.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/runtime-client.d.ts +96 -9
- package/dist/types/editors/workflow-editor/runtime-client.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/runtime-context.d.ts +12 -3
- package/dist/types/editors/workflow-editor/runtime-context.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/runtime-contract.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/runtime-contract.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/runtime-persist.d.ts +1 -1
- package/dist/types/editors/workflow-editor/runtime-queries.d.ts +21 -1
- package/dist/types/editors/workflow-editor/runtime-queries.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/BlockSelector.d.ts +15 -2
- package/dist/types/editors/workflow-editor/ui/BlockSelector.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/CanvasContextMenu.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ConnectionField.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ConnectionName.d.ts +8 -0
- package/dist/types/editors/workflow-editor/ui/ConnectionName.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/CreateConnectionModal.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/PanelResizer.d.ts +12 -0
- package/dist/types/editors/workflow-editor/ui/PanelResizer.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/PickerPopover.d.ts +12 -0
- package/dist/types/editors/workflow-editor/ui/PickerPopover.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/PieceMarkdown.d.ts +2 -1
- package/dist/types/editors/workflow-editor/ui/PieceMarkdown.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts +9 -0
- package/dist/types/editors/workflow-editor/ui/PropertyForm.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/PublishControls.d.ts +17 -0
- package/dist/types/editors/workflow-editor/ui/PublishControls.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ReactorConnectionField.d.ts +9 -0
- package/dist/types/editors/workflow-editor/ui/ReactorConnectionField.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/SignInPrompt.d.ts +6 -0
- package/dist/types/editors/workflow-editor/ui/SignInPrompt.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/StepError.d.ts +4 -0
- package/dist/types/editors/workflow-editor/ui/StepError.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts +1 -0
- package/dist/types/editors/workflow-editor/ui/StepPanel.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/StepTest.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/SwitchboardGrants.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/SwitchboardGrants.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/VirtualList.d.ts +14 -0
- package/dist/types/editors/workflow-editor/ui/VirtualList.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/WorkflowEditorApp.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ap-edge.d.ts +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.map +1 -1
- package/dist/types/editors/workflow-editor/ui/ap-nodes.d.ts +4 -0
- 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 +3 -0
- package/dist/types/editors/workflow-editor/ui/block-meta.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/block-picker-layout.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/block-picker-layout.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/blocks.d.ts +12 -0
- package/dist/types/editors/workflow-editor/ui/blocks.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/canvas-menu.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/design-time.d.ts +1 -0
- package/dist/types/editors/workflow-editor/ui/design-time.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/document-options.d.ts +24 -0
- package/dist/types/editors/workflow-editor/ui/document-options.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/document-options.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/document-options.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/document-shape.d.ts +8 -0
- package/dist/types/editors/workflow-editor/ui/document-shape.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/document-shape.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/document-shape.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/expression-scope.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/expression-scope.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/flow-control.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/flow-control.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/forms.d.ts +11 -2
- package/dist/types/editors/workflow-editor/ui/forms.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/item-summary.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/item-summary.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/manual-inputs.d.ts +7 -0
- package/dist/types/editors/workflow-editor/ui/manual-inputs.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/manual-inputs.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/manual-inputs.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/model.d.ts +31 -0
- package/dist/types/editors/workflow-editor/ui/model.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/picker-placement.d.ts +19 -0
- package/dist/types/editors/workflow-editor/ui/picker-placement.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/picker-recent.d.ts +4 -0
- package/dist/types/editors/workflow-editor/ui/picker-recent.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/piece-source.d.ts +23 -3
- package/dist/types/editors/workflow-editor/ui/piece-source.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/prop-layout.d.ts +1 -0
- package/dist/types/editors/workflow-editor/ui/prop-layout.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/prop-layout.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/prop-layout.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/query-keys.d.ts +16 -4
- package/dist/types/editors/workflow-editor/ui/query-keys.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/reactor-access.d.ts +43 -0
- package/dist/types/editors/workflow-editor/ui/reactor-access.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/reactor-access.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/reactor-access.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/reactor-connection-create.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/reactor-connection-create.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/reactor-connection-create.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/reactor-connection-create.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/reactor-view.d.ts +25 -0
- package/dist/types/editors/workflow-editor/ui/reactor-view.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/reactor-view.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/reactor-view.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/retry-policy.d.ts +8 -0
- package/dist/types/editors/workflow-editor/ui/retry-policy.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/retry-policy.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/retry-policy.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/step-test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/step-test.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/trigger-text.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/trigger-text.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/use-selected-block.d.ts +4 -0
- package/dist/types/editors/workflow-editor/ui/use-selected-block.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/use-selected-block.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/ui/use-selected-block.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/ui/use-validity.d.ts +1 -0
- package/dist/types/editors/workflow-editor/ui/use-validity.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/ui/validation.d.ts +7 -2
- package/dist/types/editors/workflow-editor/ui/validation.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/use-workflow-runtime.d.ts +13 -0
- package/dist/types/editors/workflow-editor/use-workflow-runtime.d.ts.map +1 -0
- package/dist/types/editors/workflow-editor/use-workflow-runtime.test.d.ts +2 -0
- package/dist/types/editors/workflow-editor/use-workflow-runtime.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/RunDialog.d.ts +7 -0
- package/dist/types/editors/workflow-studio/components/RunDialog.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/RunsTable.d.ts +11 -1
- package/dist/types/editors/workflow-studio/components/RunsTable.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/RunsView.d.ts +3 -1
- package/dist/types/editors/workflow-studio/components/RunsView.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/ScrollFade.d.ts +7 -0
- package/dist/types/editors/workflow-studio/components/ScrollFade.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/Sidebar.d.ts +4 -0
- package/dist/types/editors/workflow-studio/components/Sidebar.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/Waitpoints.d.ts +57 -0
- package/dist/types/editors/workflow-studio/components/Waitpoints.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/WorkflowBoard.d.ts +4 -0
- package/dist/types/editors/workflow-studio/components/WorkflowBoard.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/WorkflowGraph.d.ts +41 -0
- package/dist/types/editors/workflow-studio/components/WorkflowGraph.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/WorkflowMenu.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/WorkflowMenu.d.ts.map +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.map +1 -1
- package/dist/types/editors/workflow-studio/components/chain.d.ts +6 -0
- package/dist/types/editors/workflow-studio/components/chain.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/fit-geometry.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/fit-geometry.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/graph-layout.d.ts +30 -0
- package/dist/types/editors/workflow-studio/components/graph-layout.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/graph-layout.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/graph-layout.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/run-dialog.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/run-dialog.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/run-format.d.ts +6 -1
- package/dist/types/editors/workflow-studio/components/run-format.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/tips.d.ts +23 -0
- package/dist/types/editors/workflow-studio/components/tips.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/use-collapsed.d.ts +5 -0
- package/dist/types/editors/workflow-studio/components/use-collapsed.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/use-item-selection.d.ts +10 -0
- package/dist/types/editors/workflow-studio/components/use-item-selection.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/use-item-selection.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/use-item-selection.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/waitpoints-view.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/waitpoints-view.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/waitpoints.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/waitpoints.test.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/workflow-order.d.ts +19 -0
- package/dist/types/editors/workflow-studio/components/workflow-order.d.ts.map +1 -0
- package/dist/types/editors/workflow-studio/components/workflow-order.test.d.ts +2 -0
- package/dist/types/editors/workflow-studio/components/workflow-order.test.d.ts.map +1 -0
- package/dist/types/pieces/ai/ai-actions.test.d.ts +2 -0
- package/dist/types/pieces/ai/ai-actions.test.d.ts.map +1 -0
- package/dist/types/pieces/ai/ai-documents.test.d.ts +2 -0
- package/dist/types/pieces/ai/ai-documents.test.d.ts.map +1 -0
- package/dist/types/pieces/ai/ai.test.d.ts +2 -0
- package/dist/types/pieces/ai/ai.test.d.ts.map +1 -0
- package/dist/types/pieces/ai/index.d.ts +7 -0
- package/dist/types/pieces/ai/index.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/action-schema.d.ts +11 -0
- package/dist/types/pieces/ai/lib/action-schema.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/ask-ai.d.ts +38 -0
- package/dist/types/pieces/ai/lib/actions/ask-ai.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/decide-on-documents.d.ts +45 -0
- package/dist/types/pieces/ai/lib/actions/decide-on-documents.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/decide.d.ts +39 -0
- package/dist/types/pieces/ai/lib/actions/decide.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/extract.d.ts +41 -0
- package/dist/types/pieces/ai/lib/actions/extract.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/propose-actions.d.ts +55 -0
- package/dist/types/pieces/ai/lib/actions/propose-actions.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/actions/summarize.d.ts +38 -0
- package/dist/types/pieces/ai/lib/actions/summarize.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/auth.d.ts +16 -0
- package/dist/types/pieces/ai/lib/auth.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/decision-model.d.ts +17 -0
- package/dist/types/pieces/ai/lib/decision-model.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/documents.d.ts +11 -0
- package/dist/types/pieces/ai/lib/documents.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/model-list.d.ts +8 -0
- package/dist/types/pieces/ai/lib/model-list.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/models.d.ts +19 -0
- package/dist/types/pieces/ai/lib/models.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/props.d.ts +16 -0
- package/dist/types/pieces/ai/lib/props.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/providers.d.ts +9 -0
- package/dist/types/pieces/ai/lib/providers.d.ts.map +1 -0
- package/dist/types/pieces/ai/lib/questions.d.ts +7 -0
- package/dist/types/pieces/ai/lib/questions.d.ts.map +1 -0
- package/dist/types/pieces/index.d.ts.map +1 -1
- package/dist/types/pieces/reactor/index.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-create.d.ts +5 -2
- 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 +3 -1
- package/dist/types/pieces/reactor/lib/actions/document-dispatch.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-find.d.ts +4 -1
- package/dist/types/pieces/reactor/lib/actions/document-find.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-get.d.ts +3 -1
- 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 +3 -1
- package/dist/types/pieces/reactor/lib/actions/document-schema.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/document-types.d.ts +3 -1
- package/dist/types/pieces/reactor/lib/actions/document-types.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/actions/index-query.d.ts +14 -0
- package/dist/types/pieces/reactor/lib/actions/index-query.d.ts.map +1 -0
- package/dist/types/pieces/reactor/lib/documents.d.ts +33 -0
- package/dist/types/pieces/reactor/lib/documents.d.ts.map +1 -0
- package/dist/types/pieces/reactor/lib/documents.test.d.ts +2 -0
- package/dist/types/pieces/reactor/lib/documents.test.d.ts.map +1 -0
- package/dist/types/pieces/reactor/lib/input-props.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/input-schema.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/parse.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/reactor.d.ts +27 -4
- package/dist/types/pieces/reactor/lib/reactor.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/triggers/document-event.d.ts +6 -6
- package/dist/types/pieces/reactor/lib/triggers/document-event.d.ts.map +1 -1
- package/dist/types/pieces/reactor/lib/writes.d.ts +7 -0
- package/dist/types/pieces/reactor/lib/writes.d.ts.map +1 -0
- package/dist/types/pieces/reactor/reactor.test.d.ts +2 -0
- package/dist/types/pieces/reactor/reactor.test.d.ts.map +1 -0
- package/dist/types/pieces/reactor/test-signer.d.ts +3 -0
- package/dist/types/pieces/reactor/test-signer.d.ts.map +1 -0
- package/dist/types/scripts/ui-stack.d.ts +21 -6
- package/dist/types/scripts/ui-stack.d.ts.map +1 -1
- package/dist/types/test/graphql-server.d.ts +9 -0
- package/dist/types/test/graphql-server.d.ts.map +1 -0
- package/dist/types/test/runtime-schema.d.ts +17 -0
- package/dist/types/test/runtime-schema.d.ts.map +1 -0
- package/dist/types/test/switchboards.d.ts +20 -0
- package/dist/types/test/switchboards.d.ts.map +1 -0
- package/dist/types/test/ui/flow-control.spec.d.ts +2 -0
- package/dist/types/test/ui/flow-control.spec.d.ts.map +1 -0
- package/dist/types/test/ui/harness/property-form-echo.d.ts +12 -0
- package/dist/types/test/ui/harness/property-form-echo.d.ts.map +1 -0
- package/dist/types/test/ui/harness/schedule-builder.d.ts +8 -0
- package/dist/types/test/ui/harness/schedule-builder.d.ts.map +1 -0
- package/dist/types/test/ui/manual-inputs.spec.d.ts +2 -0
- package/dist/types/test/ui/manual-inputs.spec.d.ts.map +1 -0
- package/dist/types/test/ui/property-form-echo.spec.d.ts +2 -0
- package/dist/types/test/ui/property-form-echo.spec.d.ts.map +1 -0
- package/dist/types/test/ui/reactor-connection.spec.d.ts +2 -0
- package/dist/types/test/ui/reactor-connection.spec.d.ts.map +1 -0
- package/dist/types/test/ui/schedule-builder.spec.d.ts +2 -0
- package/dist/types/test/ui/schedule-builder.spec.d.ts.map +1 -0
- package/dist/types/test/waitpoint-record.d.ts +3 -0
- package/dist/types/test/waitpoint-record.d.ts.map +1 -0
- package/dist/workflow.css +68 -0
- package/package.json +40 -11
- package/dist/browser/BlockSelector-BQDqIbRZ.js +0 -3053
- package/dist/browser/BlockSelector-BQDqIbRZ.js.map +0 -1
- package/dist/browser/PieceMarkdown-B8EEaQgT.js +0 -21435
- package/dist/browser/PieceMarkdown-B8EEaQgT.js.map +0 -1
- package/dist/browser/assets/entry-D62sYiFV.js +0 -318
- package/dist/browser/assets/projection-entry-BGcu_9-p.js +0 -446
- package/dist/browser/connection-form-BCxGD8Zk.js +0 -831
- package/dist/browser/connection-form-BCxGD8Zk.js.map +0 -1
- package/dist/browser/data-tree-CZZkfzSH.js +0 -1896
- package/dist/browser/data-tree-CZZkfzSH.js.map +0 -1
- package/dist/browser/document-models-C1ZgIZyV.js +0 -103
- package/dist/browser/editor-BCH8vdej.js.map +0 -1
- package/dist/browser/editor-Bd2Cu8Mx.js +0 -1793
- package/dist/browser/editor-Bd2Cu8Mx.js.map +0 -1
- package/dist/browser/editor-Bl1Xp7N8.js +0 -17234
- package/dist/browser/editor-Bl1Xp7N8.js.map +0 -1
- package/dist/browser/module-DU2vb3FH.js.map +0 -1
- package/dist/browser/module-jDZ4pq3W.js.map +0 -1
- package/dist/browser/piece-auth-BS5CtQOG.js +0 -146
- package/dist/browser/piece-auth-BS5CtQOG.js.map +0 -1
- package/dist/browser/rolldown-runtime-DC62tzP2.js +0 -33
- package/dist/browser/runtime-queries-Ds2kk-Ow.js +0 -2535
- package/dist/browser/runtime-queries-Ds2kk-Ow.js.map +0 -1
- package/dist/browser/trigger-text-Ld2uv0Cf.js +0 -5569
- package/dist/browser/trigger-text-Ld2uv0Cf.js.map +0 -1
- package/dist/browser/upgrade-manifests-BpakVE9l.js +0 -8
- package/dist/browser/workflow-BxShRhVy.js +0 -108
- package/dist/browser/workflow-BxShRhVy.js.map +0 -1
- package/dist/node/BlockSelector-C3XYZfPY.mjs.map +0 -1
- package/dist/node/PieceMarkdown-BMhBGa4t.mjs +0 -23281
- package/dist/node/PieceMarkdown-BMhBGa4t.mjs.map +0 -1
- package/dist/node/connection-D544oqVW.mjs +0 -90
- package/dist/node/connection-D544oqVW.mjs.map +0 -1
- package/dist/node/connection-form-CjUay_qz.mjs +0 -831
- package/dist/node/connection-form-CjUay_qz.mjs.map +0 -1
- package/dist/node/data-tree-CGfeCLr7.mjs +0 -1903
- package/dist/node/data-tree-CGfeCLr7.mjs.map +0 -1
- package/dist/node/editor-BXtXOryt.mjs +0 -247
- package/dist/node/editor-BXtXOryt.mjs.map +0 -1
- package/dist/node/editor-CXGHkwd9.mjs +0 -1793
- package/dist/node/editor-CXGHkwd9.mjs.map +0 -1
- package/dist/node/editor-D0FCvyPb.mjs +0 -17365
- package/dist/node/editor-D0FCvyPb.mjs.map +0 -1
- package/dist/node/editors/connection-editor/module.mjs +0 -15
- package/dist/node/editors/connection-editor/module.mjs.map +0 -1
- package/dist/node/editors/workflow-editor/module.mjs +0 -15
- package/dist/node/editors/workflow-editor/module.mjs.map +0 -1
- package/dist/node/editors/workflow-studio/module.mjs +0 -15
- package/dist/node/editors/workflow-studio/module.mjs.map +0 -1
- package/dist/node/module-BMwJQh65.mjs.map +0 -1
- package/dist/node/module-Dhe5E-VA.mjs.map +0 -1
- package/dist/node/piece-auth-BS5CtQOG.mjs.map +0 -1
- package/dist/node/pieces/reactor/index.mjs.map +0 -1
- package/dist/node/rolldown-runtime-BMI-E3GI.mjs +0 -44
- package/dist/node/runtime-queries-D5EGaCrH.mjs +0 -2544
- package/dist/node/runtime-queries-D5EGaCrH.mjs.map +0 -1
- package/dist/node/style.css +0 -667
- package/dist/node/trigger-text-CMWxL7t_.mjs +0 -6765
- package/dist/node/trigger-text-CMWxL7t_.mjs.map +0 -1
- package/dist/node/upgrade-manifests-CmNd742Y.mjs +0 -8
- package/dist/node/workflow-CGzYGZnr.mjs.map +0 -1
- package/dist/types/ai/runtime-url.d.ts +0 -2
- package/dist/types/ai/runtime-url.d.ts.map +0 -1
- package/dist/types/ai/runtime-url.test.d.ts +0 -2
- package/dist/types/ai/runtime-url.test.d.ts.map +0 -1
- package/dist/types/editors/workflow-editor/use-runtime-url.d.ts +0 -2
- package/dist/types/editors/workflow-editor/use-runtime-url.d.ts.map +0 -1
- package/dist/types/editors/workflow-studio/components/use-hash-selection.d.ts +0 -5
- package/dist/types/editors/workflow-studio/components/use-hash-selection.d.ts.map +0 -1
- package/dist/types/pieces/reactor/lib/actions/dispatch-outcome.test.d.ts +0 -2
- package/dist/types/pieces/reactor/lib/actions/dispatch-outcome.test.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"picker-recent.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/picker-recent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAa,WAAW,EAAE,MAAM,aAAa,CAAC;AAiCrE,wBAAgB,WAAW,CAAC,IAAI,EAAE,SAAS,GAAG,WAAW,EAAE,CAS1D;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CA0BtD"}
|
|
@@ -6,6 +6,7 @@ export interface PieceSummaryUi {
|
|
|
6
6
|
actionCount: number;
|
|
7
7
|
triggerCount: number;
|
|
8
8
|
categories: string[];
|
|
9
|
+
source?: PieceSourceKind;
|
|
9
10
|
unsupported?: string | null;
|
|
10
11
|
deprecated?: boolean;
|
|
11
12
|
version?: string;
|
|
@@ -23,11 +24,30 @@ export interface BlockSearchHitUi {
|
|
|
23
24
|
strategy: string | null;
|
|
24
25
|
unsupported?: string | null;
|
|
25
26
|
}
|
|
26
|
-
export
|
|
27
|
+
export type PieceSourceKind = "local" | "registry" | "activepieces";
|
|
28
|
+
export interface PieceSearchMatchUi {
|
|
29
|
+
pieceName: string;
|
|
30
|
+
pieceVersion: string;
|
|
31
|
+
displayName: string;
|
|
32
|
+
description: string;
|
|
33
|
+
logoUrl: string;
|
|
34
|
+
categories: string[];
|
|
35
|
+
source: PieceSourceKind;
|
|
36
|
+
deprecated?: boolean | null;
|
|
37
|
+
unsupported?: string | null;
|
|
38
|
+
namedPiece: boolean;
|
|
39
|
+
blocks: BlockSearchHitUi[];
|
|
40
|
+
}
|
|
41
|
+
export interface PieceSearchResultUi {
|
|
27
42
|
status: "ready" | "indexing" | "error";
|
|
28
|
-
|
|
43
|
+
pieces: PieceSearchMatchUi[];
|
|
29
44
|
error: string | null;
|
|
30
45
|
}
|
|
46
|
+
export interface PieceSearchFilterUi {
|
|
47
|
+
kind: "action" | "trigger";
|
|
48
|
+
sources?: readonly PieceSourceKind[];
|
|
49
|
+
categories?: readonly string[];
|
|
50
|
+
}
|
|
31
51
|
export interface PieceActionUi {
|
|
32
52
|
pieceName: string;
|
|
33
53
|
pieceVersion: string;
|
|
@@ -55,7 +75,7 @@ export interface PieceCatalogSource {
|
|
|
55
75
|
reloadCatalog?: () => Promise<PieceSummaryUi[]>;
|
|
56
76
|
loadActions: (packageName: string) => Promise<PieceActionUi[]>;
|
|
57
77
|
loadTriggers: (packageName: string) => Promise<PieceTriggerUi[]>;
|
|
58
|
-
|
|
78
|
+
searchPieces?: (query: string, filter: PieceSearchFilterUi) => Promise<PieceSearchResultUi>;
|
|
59
79
|
}
|
|
60
80
|
export declare const PieceSourceProvider: import("react").Provider<PieceCatalogSource | undefined>;
|
|
61
81
|
export declare function usePieceSource(): PieceCatalogSource | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"piece-source.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/piece-source.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IAErB,UAAU,EAAE,MAAM,EAAE,CAAC;IAErB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IAErB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC3B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC;IACvC,
|
|
1
|
+
{"version":3,"file":"piece-source.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/piece-source.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IAErB,UAAU,EAAE,MAAM,EAAE,CAAC;IAErB,MAAM,CAAC,EAAE,eAAe,CAAC;IAEzB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,OAAO,CAAC,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CAAC;AAE/D,wBAAgB,cAAc,IAAI,kBAAkB,GAAG,SAAS,CAE/D"}
|
|
@@ -7,6 +7,7 @@ interface LayoutProps {
|
|
|
7
7
|
renderField: (prop: BlockFormProp) => ReactNode;
|
|
8
8
|
onCommit: (name: string, value: unknown) => void;
|
|
9
9
|
}
|
|
10
|
+
export declare function essentialNames(props: BlockFormProp[], groups: PropertyGroup[] | undefined): Set<string>;
|
|
10
11
|
export declare function PropLayout(props: LayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export {};
|
|
12
13
|
//# sourceMappingURL=prop-layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-layout.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/prop-layout.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3D,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG/D,UAAU,WAAW;IACnB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,WAAW,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,SAAS,CAAC;IAChD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAClD;
|
|
1
|
+
{"version":3,"file":"prop-layout.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/prop-layout.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3D,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG/D,UAAU,WAAW;IACnB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE,aAAa,EAAE,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,WAAW,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,SAAS,CAAC;IAChD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAClD;AAiRD,wBAAgB,cAAc,CAC5B,KAAK,EAAE,aAAa,EAAE,EACtB,MAAM,EAAE,aAAa,EAAE,GAAG,SAAS,GAClC,GAAG,CAAC,MAAM,CAAC,CAkBb;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,WAAW,2CAgH5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-layout.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/prop-layout.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { BlockRef } from "@powerhousedao/pieces-framework/block-type";
|
|
2
2
|
export declare function blockPart(block: BlockRef): readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string];
|
|
3
3
|
export declare function blockRefKey(block: BlockRef): string;
|
|
4
|
-
export type RuntimeQueryKind = "catalog" | "form" | "pieceActions" | "pieceTriggers" | "
|
|
4
|
+
export type RuntimeQueryKind = "catalog" | "form" | "pieceActions" | "pieceTriggers" | "searchPieces" | "outputTree" | "options" | "dynamic" | "connections" | "webhook" | "latestRun" | "runs" | "run" | "secret" | "blockResolutions" | "reactorAccess" | "reactorDenial";
|
|
5
5
|
export interface ResolverKeyInput {
|
|
6
6
|
block: BlockRef;
|
|
7
7
|
propName: string;
|
|
8
8
|
refreshers: unknown[];
|
|
9
9
|
connectionId?: string | null;
|
|
10
10
|
searchValue?: string | null;
|
|
11
|
+
reactorConnectionId?: string | null;
|
|
11
12
|
}
|
|
12
13
|
export declare const runtimeKeys: {
|
|
13
14
|
all: (scope: string) => readonly [string];
|
|
@@ -15,12 +16,12 @@ export declare const runtimeKeys: {
|
|
|
15
16
|
form: (scope: string, block: BlockRef) => readonly [string, "form", readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string]];
|
|
16
17
|
pieceActions: (scope: string, packageName: string) => readonly [string, "pieceActions", string];
|
|
17
18
|
pieceTriggers: (scope: string, packageName: string) => readonly [string, "pieceTriggers", string];
|
|
18
|
-
|
|
19
|
+
searchPieces: (scope: string, query: string, filter: unknown) => readonly [string, "searchPieces", string, unknown];
|
|
19
20
|
outputTrees: (scope: string) => readonly [string, "outputTree"];
|
|
20
21
|
outputTree: (scope: string, block: BlockRef, config: unknown) => readonly [string, "outputTree", readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string], {}];
|
|
21
22
|
stepOutputTree: (scope: string, workflowId: string, stepId: string, testedAt: string | null) => readonly [string, "outputTree", "step", string, string, string | null];
|
|
22
|
-
options: (scope: string, input: ResolverKeyInput) => readonly [string, "dynamic" | "options", readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string], string, unknown[], string | null, string | null];
|
|
23
|
-
dynamic: (scope: string, input: ResolverKeyInput) => readonly [string, "dynamic" | "options", readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string], string, unknown[], string | null, string | null];
|
|
23
|
+
options: (scope: string, input: ResolverKeyInput) => readonly [string, "dynamic" | "options", readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string], string, unknown[], string | null, string | null, string | null];
|
|
24
|
+
dynamic: (scope: string, input: ResolverKeyInput) => readonly [string, "dynamic" | "options", readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string], string, unknown[], string | null, string | null, string | null];
|
|
24
25
|
connections: (scope: string, filter?: string | null) => readonly [string, "connections"] | readonly [string, "connections", string | null];
|
|
25
26
|
webhook: (scope: string, workflowId: string) => readonly [string, "webhook", string];
|
|
26
27
|
latestRun: (scope: string, workflowId: string) => readonly [string, "latestRun", string];
|
|
@@ -43,7 +44,18 @@ export declare const runtimeKeys: {
|
|
|
43
44
|
readonly driveId: string | null;
|
|
44
45
|
readonly limit: number | null;
|
|
45
46
|
}];
|
|
47
|
+
waitingRuns: (scope: string, waiting: {
|
|
48
|
+
driveId?: string;
|
|
49
|
+
workflowId?: string;
|
|
50
|
+
first?: number;
|
|
51
|
+
}) => readonly [string, "runs", "waiting", {
|
|
52
|
+
readonly driveId: string | null;
|
|
53
|
+
readonly workflowId: string | null;
|
|
54
|
+
readonly first: number | null;
|
|
55
|
+
}];
|
|
46
56
|
run: (scope: string, runId: string) => readonly [string, "run", string];
|
|
57
|
+
reactorAccess: (scope: string, viewer: string | null) => readonly [string, "reactorAccess", string | null];
|
|
58
|
+
reactorDenial: (scope: string, workflowId: string) => readonly [string, "reactorDenial", string];
|
|
47
59
|
secret: (scope: string, ref: string) => readonly [string, "secret", string];
|
|
48
60
|
allBlockResolutions: (scope: string, workflowId: string) => readonly [string, "blockResolutions", string];
|
|
49
61
|
blockResolutions: (scope: string, workflowId: string, blocks: readonly BlockRef[]) => readonly [string, "blockResolutions", string, (readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string])[]];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-keys.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/query-keys.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AAG3E,wBAAgB,SAAS,CAAC,KAAK,EAAE,QAAQ,qGAExC;AAGD,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,CAEnD;AAED,MAAM,MAAM,gBAAgB,GACxB,SAAS,GACT,MAAM,GACN,cAAc,GACd,eAAe,GACf,cAAc,GACd,YAAY,GACZ,SAAS,GACT,SAAS,GACT,aAAa,GACb,SAAS,GACT,WAAW,GACX,MAAM,GACN,KAAK,GACL,QAAQ,GACR,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"query-keys.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/query-keys.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AAG3E,wBAAgB,SAAS,CAAC,KAAK,EAAE,QAAQ,qGAExC;AAGD,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM,CAEnD;AAED,MAAM,MAAM,gBAAgB,GACxB,SAAS,GACT,MAAM,GACN,cAAc,GACd,eAAe,GACf,cAAc,GACd,YAAY,GACZ,SAAS,GACT,SAAS,GACT,aAAa,GACb,SAAS,GACT,WAAW,GACX,MAAM,GACN,KAAK,GACL,QAAQ,GACR,kBAAkB,GAClB,eAAe,GACf,eAAe,CAAC;AAEpB,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,QAAQ,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IAEjB,UAAU,EAAE,OAAO,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAmBD,eAAO,MAAM,WAAW;IACtB,GAAG,UAAU,MAAM;IACnB,OAAO,UAAU,MAAM,uBAAa,SAAS;IAC7C,IAAI,UAAU,MAAM,SAAS,QAAQ,uBAC3B,MAAM;IAChB,YAAY,UAAU,MAAM,eAAe,MAAM,uBACvC,cAAc;IACxB,aAAa,UAAU,MAAM,eAAe,MAAM,uBACxC,eAAe;IACzB,YAAY,UAAU,MAAM,SAAS,MAAM,UAAU,OAAO,uBAClD,cAAc;IACxB,WAAW,UAAU,MAAM,uBAAa,YAAY;IACpD,UAAU,UAAU,MAAM,SAAS,QAAQ,UAAU,OAAO,uBAClD,YAAY;IAEtB,cAAc,UACL,MAAM,cACD,MAAM,UACV,MAAM,YACJ,MAAM,GAAG,I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E,uBAChB,kBAAkB;CAChC,CAAC;AAEF,wBAAgB,SAAS,CAAC,GAAG,EAAE,SAAS,OAAO,EAAE,GAAG,MAAM,GAAG,SAAS,CAErE;AAGD,eAAO,MAAM,eAAe,QAAc,CAAC;AAE3C,eAAO,MAAM,iBAAiB,QAAa,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type Grant, type PHAuthState } from "@powerhousedao/shared/document-model";
|
|
2
|
+
export declare const REACTOR_AUTH_TYPE = "REACTOR";
|
|
3
|
+
export declare function isReactorConnection(connection: {
|
|
4
|
+
connectorId: string;
|
|
5
|
+
authType: string;
|
|
6
|
+
}): boolean;
|
|
7
|
+
export declare function reactorConnections<T extends {
|
|
8
|
+
connectorId: string;
|
|
9
|
+
authType: string;
|
|
10
|
+
}>(connections: readonly T[]): T[];
|
|
11
|
+
export declare function signInRequired(access: {
|
|
12
|
+
authEnforcement: boolean;
|
|
13
|
+
} | undefined, signedIn: boolean): boolean;
|
|
14
|
+
export interface ReactorIdentityView {
|
|
15
|
+
address: string | null;
|
|
16
|
+
key: string;
|
|
17
|
+
}
|
|
18
|
+
export declare function switchboardGrantId(identity: ReactorIdentityView): string;
|
|
19
|
+
export declare const SWITCHBOARD_DOCUMENT_OPERATIONS: readonly ["DELETE_DOCUMENT", "ADD_RELATIONSHIP", "REMOVE_RELATIONSHIP"];
|
|
20
|
+
export declare function switchboardGrants(identity: ReactorIdentityView | null | undefined, authConditions: boolean | null | undefined): Grant[];
|
|
21
|
+
export declare function switchboardMayWrite(auth: PHAuthState | undefined, identity: ReactorIdentityView): boolean;
|
|
22
|
+
export interface GrantSubject {
|
|
23
|
+
address?: string;
|
|
24
|
+
key?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare function canChangeGrants(auth: PHAuthState | undefined, subject: GrantSubject): boolean;
|
|
27
|
+
export interface GrantPlan {
|
|
28
|
+
grantable: string[];
|
|
29
|
+
noPermission: string[];
|
|
30
|
+
notHere: string[];
|
|
31
|
+
}
|
|
32
|
+
export declare function planGrants(ids: readonly string[], authOf: (id: string) => PHAuthState | undefined | null, subject: GrantSubject): GrantPlan;
|
|
33
|
+
export interface ReactorConfigDraft {
|
|
34
|
+
access?: "read";
|
|
35
|
+
}
|
|
36
|
+
export declare function withReactorConfig(current: ReactorConfigDraft, patch: {
|
|
37
|
+
access?: "read" | "write";
|
|
38
|
+
}): {
|
|
39
|
+
endpoint: "local";
|
|
40
|
+
access?: "read";
|
|
41
|
+
};
|
|
42
|
+
export declare function accessMismatch(requireReactor: "read" | "write" | null | undefined, access: "read" | undefined): string | null;
|
|
43
|
+
//# sourceMappingURL=reactor-access.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reactor-access.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/reactor-access.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,WAAW,EACjB,MAAM,sCAAsC,CAAC;AAG9C,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAE3C,wBAAgB,mBAAmB,CAAC,UAAU,EAAE;IAC9C,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB,GAAG,OAAO,CAKV;AAED,wBAAgB,kBAAkB,CAChC,CAAC,SAAS;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,EACnD,WAAW,EAAE,SAAS,CAAC,EAAE,GAAG,CAAC,EAAE,CAEhC;AAGD,wBAAgB,cAAc,CAC5B,MAAM,EAAE;IAAE,eAAe,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,EAChD,QAAQ,EAAE,OAAO,GAChB,OAAO,CAET;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;CACb;AAGD,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,mBAAmB,GAAG,M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M,EAAE,MAAM,GAAG,SAAS,GACzB,MAAM,GAAG,IAAI,CAIf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reactor-access.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/reactor-access.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare function newReactorConnectionActions(name: string, requireReactor: "read" | "write"): (import("document-models/connection").RecordCheckResultAction | import("document-models/connection").SetConfigAction | import("document-models/connection").SetConnectionNameAction | import("document-models/connection").SetConnectorAction | import("document-model").SetNameAction)[];
|
|
2
|
+
//# sourceMappingURL=reactor-connection-create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reactor-connection-create.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/reactor-connection-create.ts"],"names":[],"mappings":"AAOA,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,MAAM,EACZ,cAAc,EAAE,MAAM,GAAG,OAAO,6RAqBjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reactor-connection-create.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/reactor-connection-create.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare function shortAddress(address: string): string;
|
|
2
|
+
export interface PublishOperation {
|
|
3
|
+
index: number;
|
|
4
|
+
error?: string | null;
|
|
5
|
+
action: {
|
|
6
|
+
type: string;
|
|
7
|
+
context?: {
|
|
8
|
+
signer?: {
|
|
9
|
+
user?: {
|
|
10
|
+
address?: string | null;
|
|
11
|
+
} | null;
|
|
12
|
+
signatures?: readonly unknown[] | null;
|
|
13
|
+
} | null;
|
|
14
|
+
} | null;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export declare function publisherOf(operations: readonly PublishOperation[]): string | null | undefined;
|
|
18
|
+
export declare function runsAsText(publisher: string | null | undefined, loading: boolean, hostAddress?: string | null): string | null;
|
|
19
|
+
export interface PublishedBlock {
|
|
20
|
+
label: string;
|
|
21
|
+
reactorConnectionId?: string | null;
|
|
22
|
+
requireReactor: "read" | "write" | null | undefined;
|
|
23
|
+
}
|
|
24
|
+
export declare function missingInPublished(blocks: readonly PublishedBlock[]): string[];
|
|
25
|
+
//# sourceMappingURL=reactor-view.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reactor-view.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/reactor-view.ts"],"names":[],"mappings":"AAGA,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAIpD;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE;YACR,MAAM,CAAC,EAAE;gBACP,IAAI,CAAC,EAAE;oBAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;iBAAE,GAAG,IAAI,CAAC;gBAC1C,UAAU,CAAC,EAAE,SAAS,OAAO,EAAE,GAAG,IAAI,CAAC;aACxC,GAAG,IAAI,CAAC;SACV,GAAG,IAAI,CAAC;KACV,CAAC;CACH;AAID,wBAAgB,WAAW,CACzB,UAAU,EAAE,SAAS,gBAAgB,EAAE,GACtC,MAAM,GAAG,IAAI,GAAG,SAAS,CAW3B;AAGD,wBAAgB,UAAU,CACxB,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,EAAE,OAAO,EAChB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAC1B,MAAM,GAAG,IAAI,CAgBf;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,cAAc,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;CACrD;AAGD,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,SAAS,cAAc,EAAE,GAChC,MAAM,EAAE,CAIV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reactor-view.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/reactor-view.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RetryPolicyModel } from "./model.js";
|
|
2
|
+
export declare const MAX_STEP_ATTEMPTS = 10;
|
|
3
|
+
export declare const MAX_RETRY_DELAY_SECONDS = 300;
|
|
4
|
+
export declare const DEFAULT_RETRY: RetryPolicyModel;
|
|
5
|
+
export declare function normalizeRetry(policy: RetryPolicyModel): RetryPolicyModel;
|
|
6
|
+
export declare function inheritedRetryHint(workflowAttempts: number | undefined, actionAttempts: number | undefined): string | null;
|
|
7
|
+
export declare function parseRetryOn(raw: string): string[];
|
|
8
|
+
//# sourceMappingURL=retry-policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retry-policy.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/retry-policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAGnD,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAE3C,eAAO,MAAM,aAAa,EAAE,gBAM3B,CAAC;AAQF,wBAAgB,cAAc,CAAC,MAAM,EAAE,gBAAgB,GAAG,gBAAgB,CAiBzE;AAID,wBAAgB,kBAAkB,CAChC,gBAAgB,EAAE,MAAM,GAAG,SAAS,EACpC,cAAc,EAAE,MAAM,GAAG,SAAS,GACjC,MAAM,GAAG,IAAI,CAUf;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,CAKlD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retry-policy.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/retry-policy.test.ts"],"names":[],"mappings":""}
|
|
@@ -11,4 +11,6 @@ export interface TestErrorExplained {
|
|
|
11
11
|
targets: TestErrorTarget[];
|
|
12
12
|
}
|
|
13
13
|
export declare function explainTestError(error: string): TestErrorExplained;
|
|
14
|
+
export type TestOutcomeView = "output" | "failed" | "indeterminate";
|
|
15
|
+
export declare function testOutcomeView(status: string): TestOutcomeView;
|
|
14
16
|
//# sourceMappingURL=step-test.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step-test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/step-test.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,eAAe,GACvB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAC7B;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,GACnB;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,CAAC;AAE1B,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAiBD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB,CAgBlE"}
|
|
1
|
+
{"version":3,"file":"step-test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/step-test.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,eAAe,GACvB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAC7B;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,GACnB;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,CAAC;AAE1B,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAiBD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB,CAgBlE;AAGD,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,QAAQ,GAAG,eAAe,CAAC;AAIpE,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,CAI/D"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/** Describes a five-field cron expression, or returns undefined. */
|
|
2
2
|
export declare function describeCron(cron: string): string | undefined;
|
|
3
3
|
export declare function describeSchedule(config: unknown): string;
|
|
4
|
+
/** Describes a reactor document trigger by what it filters on. */
|
|
5
|
+
export declare function describeDocumentTrigger(triggerName: string, config: unknown): string | undefined;
|
|
4
6
|
/** When a workflow starts, from its trigger. */
|
|
5
7
|
export declare function describeTrigger(trigger: {
|
|
6
8
|
pieceName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger-text.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/trigger-text.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trigger-text.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/trigger-text.ts"],"names":[],"mappings":"AA8CA,oEAAoE;AACpE,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAoC7D;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAiBxD;AA+BD,kEAAkE;AAClE,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,OAAO,GACd,MAAM,GAAG,SAAS,CAsBpB;AAED,gDAAgD;AAChD,wBAAgB,eAAe,CAC7B,OAAO,EACH;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,GAC3D,IAAI,GACJ,SAAS,GACZ,MAAM,CA4BR"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** The open panel, kept in the `step` param. Each pick is a history entry, so
|
|
2
|
+
* back closes it; a new pick starts on the step's first tab. */
|
|
3
|
+
export declare function useSelectedBlock(): readonly [string | null, (id: string | null) => void];
|
|
4
|
+
//# sourceMappingURL=use-selected-block.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-selected-block.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/use-selected-block.ts"],"names":[],"mappings":"AAKA;gEACgE;AAChE,wBAAgB,gBAAgB,kCAGV,MAAM,GAAG,IAAI,WAKlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-selected-block.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/use-selected-block.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-validity.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/use-validity.ts"],"names":[],"mappings":"AAUA,OAAO,EAA2B,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAQL,KAAK,iBAAiB,EACvB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,QAAQ,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,gBAAgB,CAAC,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAC;IACjD,IAAI,CAAC,EAAE,O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;IAEnB,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAEzB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,aAAa,EAAE,GAAG,SAAS,CAAC;CAClE;AA2CD,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,CAqB7D;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC;CAC/C;AAID,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa,GAAG,aAAa,CA6DpE"}
|
|
@@ -5,7 +5,7 @@ import type { ResolverKeyInput } from "./query-keys.js";
|
|
|
5
5
|
export declare function isEmptyValue(value: unknown): boolean;
|
|
6
6
|
export declare function isPropVisible(prop: BlockFormProp, config: Record<string, unknown>): boolean;
|
|
7
7
|
export declare function missingRequired(props: BlockFormProp[], config: unknown): string[];
|
|
8
|
-
export declare function resolverInputFor(block: BlockRef, prop: BlockFormProp, config: Record<string, unknown>, connectionId: string | null | undefined): ResolverKeyInput;
|
|
8
|
+
export declare function resolverInputFor(block: BlockRef, prop: BlockFormProp, config: Record<string, unknown>, connectionId: string | null | undefined, reactorConnectionId?: string | null): ResolverKeyInput;
|
|
9
9
|
export declare function settingFor(settings: readonly PropertySettingModel[] | null | undefined, prop: string): PropertySettingModel | undefined;
|
|
10
10
|
export declare function parsePropList(result: unknown): BlockFormProp[];
|
|
11
11
|
export declare function storedSchema(settings: readonly PropertySettingModel[] | null | undefined, prop: string): BlockFormProp[] | undefined;
|
|
@@ -19,12 +19,17 @@ export interface ValidityInput {
|
|
|
19
19
|
block: BlockRef;
|
|
20
20
|
config: unknown;
|
|
21
21
|
connectionId: string | null | undefined;
|
|
22
|
+
reactorConnectionId?: string | null;
|
|
22
23
|
propertySettings?: readonly PropertySettingModel[] | null;
|
|
23
24
|
skip?: boolean | null;
|
|
24
25
|
resolveDynamic?: (input: ResolverKeyInput) => BlockFormProp[] | undefined;
|
|
25
26
|
}
|
|
27
|
+
export declare const REACTOR_CONNECTION_LABEL = "Reactor connection";
|
|
26
28
|
export declare function blockMissing(input: ValidityInput): string[] | null;
|
|
27
|
-
export declare function undeclaredPortIssues(form: BlockForm | null | "loading" | undefined, outgoingPorts: readonly string[] | undefined
|
|
29
|
+
export declare function undeclaredPortIssues(form: BlockForm | null | "loading" | undefined, outgoingPorts: readonly string[] | undefined, step?: {
|
|
30
|
+
block: BlockRef;
|
|
31
|
+
config: unknown;
|
|
32
|
+
}): string[];
|
|
28
33
|
export interface WorkflowReadiness {
|
|
29
34
|
ready: boolean;
|
|
30
35
|
hasTrigger: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/validation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/validation.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAExD,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAKpD;AAID,wBAAgB,aAAa,CAC3B,IAAI,EAAE,aAAa,EACnB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9B,OAAO,CAIT;AASD,wBAAgB,eAAe,CAC7B,KAAK,EAAE,aAAa,EAAE,EACtB,MAAM,EAAE,OAAO,GACd,MAAM,EAAE,CAWV;A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AC1D,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAEtB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,aAAa,EAAE,GAAG,SAAS,CAAC;CAC3E;AAED,eAAO,MAAM,wBAAwB,uBAAuB,CAAC;AAI7D,wBAAgB,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,EAAE,GAAG,IAAI,CA6ClE;AAID,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,EAC9C,aAAa,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EAC5C,IAAI,CAAC,EAAE;IAAE,KAAK,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,GAC1C,MAAM,EAAE,CASV;AAED,MAAM,WAAW,iBAAiB;IAEhC,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IAEpB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B,QAAQ,EAAE,OAAO,CAAC;CACnB;AAGD,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAAA;CAAE,EAAE,EAC3D,UAAU,EAAE,OAAO,GAClB,iBAAiB,CAWnB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type SwitchboardEntry } from "@powerhousedao/reactor-browser";
|
|
2
|
+
export type WorkflowRuntimeState = {
|
|
3
|
+
status: "resolving";
|
|
4
|
+
} | {
|
|
5
|
+
status: "ready";
|
|
6
|
+
url: string;
|
|
7
|
+
switchboard: SwitchboardEntry;
|
|
8
|
+
} | {
|
|
9
|
+
status: "unavailable";
|
|
10
|
+
error: Error;
|
|
11
|
+
};
|
|
12
|
+
export declare function useWorkflowRuntime(): WorkflowRuntimeState;
|
|
13
|
+
//# sourceMappingURL=use-workflow-runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-workflow-runtime.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/use-workflow-runtime.ts"],"names":[],"mappings":"AAGA,OAAO,EAIL,KAAK,gBAAgB,EACtB,MAAM,gCAAgC,CAAC;AAIxC,MAAM,MAAM,oBAAoB,GAC5B;IAAE,MAAM,EAAE,WAAW,CAAA;CAAE,GACvB;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,gBAAgB,CAAA;CAAE,GAC/D;IAAE,MAAM,EAAE,aAAa,CAAC;IAAC,KAAK,EAAE,KAAK,CAAA;CAAE,CAAC;AAE5C,wBAAgB,kBAAkB,IAAI,oBAAoB,CAmCzD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-workflow-runtime.test.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/use-workflow-runtime.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ManualInput } from "../../workflow-editor/ui/manual-inputs.js";
|
|
2
|
+
export declare function RunDialog(props: {
|
|
3
|
+
inputs: ManualInput[];
|
|
4
|
+
onCancel: () => void;
|
|
5
|
+
onFire: (payload: unknown) => Promise<string | null>;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=RunDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunDialog.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/RunDialog.tsx"],"names":[],"mappings":"AAKA,OAAO,EAIL,KAAK,WAAW,EACjB,MAAM,2CAA2C,CAAC;AAGnD,wBAAgB,SAAS,CAAC,KAAK,EAAE;IAC/B,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IAErB,MAAM,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CACtD,2CA8HA"}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
1
|
+
import type { RunRecord, RunStepRecord } from "../../workflow-editor/runtime-client.js";
|
|
2
|
+
/** The runs table's query params. */
|
|
3
|
+
export declare const RUNS_PARAMS: {
|
|
4
|
+
readonly status: "runs.status";
|
|
5
|
+
readonly query: "runs.q";
|
|
6
|
+
readonly workflow: "runs.workflow";
|
|
7
|
+
readonly trigger: "runs.trigger";
|
|
8
|
+
};
|
|
9
|
+
export declare function iterationLabel(path: string): string;
|
|
10
|
+
export declare function cappedIterationsNote(run: RunRecord): string | null;
|
|
11
|
+
export declare function loopIterations(run: RunRecord, loopId: string): RunStepRecord[];
|
|
2
12
|
export declare const TRIGGER_LABEL: Record<string, string>;
|
|
3
13
|
export declare function triggerLabel(kind: string): string;
|
|
4
14
|
export declare function RunsTable(props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunsTable.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/RunsTable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RunsTable.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/RunsTable.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,SAAS,EACT,aAAa,EACd,MAAM,yCAAyC,CAAC;AA0CjD,qCAAqC;AACrC,eAAO,MAAM,WAAW;aACtB,MAAM,EAAE,aAAa;aACrB,KAAK,EAAE,QAAQ;aACf,QAAQ,EAAE,eAAe;aACzB,OAAO,EAAE,cAAc;CACf,CAAC;AA2CX,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGnD;AAGD,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CAIlE;AAGD,wBAAgB,cAAc,CAC5B,GAAG,EAAE,SAAS,EACd,MAAM,EAAE,MAAM,GACb,aAAa,EAAE,CAIjB;AA2GD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAOhD,CAAC;AAEF,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAWjD;AA4OD,wBAAgB,SAAS,CAAC,KAAK,EAAE;IAC/B,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,2CAiVA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
2
|
+
import type { ManualInput } from "../../workflow-editor/ui/manual-inputs.js";
|
|
2
3
|
export declare function RunsView(props: {
|
|
3
4
|
title: string;
|
|
4
5
|
runs: RunRecord[] | null;
|
|
@@ -8,6 +9,7 @@ export declare function RunsView(props: {
|
|
|
8
9
|
hasMore?: boolean;
|
|
9
10
|
loadingMore?: boolean;
|
|
10
11
|
onLoadMore?: () => void;
|
|
11
|
-
onFire?: () => Promise<string | null>;
|
|
12
|
+
onFire?: (payload?: unknown) => Promise<string | null>;
|
|
13
|
+
fireInputs?: ManualInput[];
|
|
12
14
|
}): import("react/jsx-runtime").JSX.Element;
|
|
13
15
|
//# sourceMappingURL=RunsView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunsView.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/RunsView.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"RunsView.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/RunsView.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAK7E,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IAEtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IAExB,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAEvD,UAAU,CAAC,EAAE,WAAW,EAAE,CAAC;CAC5B,2CAiGA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollFade.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/ScrollFade.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAWpE,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAoCA"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import type { FileNode } from "@powerhousedao/shared/document-drive";
|
|
2
|
+
import { type PendingApprovals } from "./Waitpoints.js";
|
|
2
3
|
export declare function Sidebar(props: {
|
|
3
4
|
workflows: FileNode[];
|
|
4
5
|
connections: FileNode[];
|
|
5
6
|
lastRuns: Map<string, string>;
|
|
7
|
+
approvals: PendingApprovals;
|
|
8
|
+
onShowApprovals: (workflowId?: string) => void;
|
|
6
9
|
activeId?: string | null;
|
|
7
10
|
allRunsActive: boolean;
|
|
8
11
|
creating: boolean;
|
|
9
12
|
onShowAllRuns: () => void;
|
|
13
|
+
onReorderWorkflow: (from: number, to: number) => void;
|
|
10
14
|
onOpenWorkflow: (node: FileNode) => void;
|
|
11
15
|
onEditWorkflow: (node: FileNode) => void;
|
|
12
16
|
onOpenConnection: (node: FileNode) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/Sidebar.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/Sidebar.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAYrE,OAAO,EAAiB,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AA8UvE,wBAAgB,OAAO,CAAC,KAAK,EAAE;IAC7B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,WAAW,EAAE,QAAQ,EAAE,CAAC;IAExB,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,SAAS,EAAE,gBAAgB,CAAC;IAE5B,eAAe,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,cAAc,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACzC,gBAAgB,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC3C,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC,2CA6CA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { RunRecord, WaitpointRecord } from "../../workflow-editor/runtime-client.js";
|
|
3
|
+
export declare const WAITING_LIMIT = 100;
|
|
4
|
+
export declare function isOpenApproval(waitpoint: WaitpointRecord): boolean;
|
|
5
|
+
export declare function waitDescription(waitpoint: WaitpointRecord, stepName: string, step?: {
|
|
6
|
+
pieceName: string;
|
|
7
|
+
blockName: string;
|
|
8
|
+
}): string;
|
|
9
|
+
export declare function cancelFailure(result: {
|
|
10
|
+
status: string;
|
|
11
|
+
error: string | null;
|
|
12
|
+
} | null): string | null;
|
|
13
|
+
export interface PendingApprovals {
|
|
14
|
+
total: number;
|
|
15
|
+
byWorkflow: Map<string, number>;
|
|
16
|
+
capped: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare function countPendingApprovals(runs: readonly RunRecord[] | undefined, limit: number): PendingApprovals;
|
|
19
|
+
export declare function approvalCountText(count: number, capped: boolean): string;
|
|
20
|
+
export declare function approvalCountLabel(count: number, capped: boolean): string;
|
|
21
|
+
export declare function usePendingApprovals(driveId: string): PendingApprovals;
|
|
22
|
+
export declare function ApprovalBadge(props: {
|
|
23
|
+
count: number;
|
|
24
|
+
capped: boolean;
|
|
25
|
+
onClick?: () => void;
|
|
26
|
+
className?: string;
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
28
|
+
export declare function reasonRequired(waitpoint: WaitpointRecord, approved: boolean): boolean;
|
|
29
|
+
export declare function ApprovalCard(props: {
|
|
30
|
+
waitpoint: WaitpointRecord;
|
|
31
|
+
stepName?: string;
|
|
32
|
+
meta?: ReactNode;
|
|
33
|
+
onResolved?: () => void;
|
|
34
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export declare function RunWaitpoints(props: {
|
|
36
|
+
waitpoints: WaitpointRecord[];
|
|
37
|
+
names: Map<string, string>;
|
|
38
|
+
steps?: {
|
|
39
|
+
stepKey: string;
|
|
40
|
+
pieceName: string;
|
|
41
|
+
blockName: string;
|
|
42
|
+
}[];
|
|
43
|
+
onChanged: () => void;
|
|
44
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
45
|
+
export declare function CancelRunButton(props: {
|
|
46
|
+
run: RunRecord;
|
|
47
|
+
onChanged: () => void;
|
|
48
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export declare function WaitingApprovals(props: {
|
|
50
|
+
driveId?: string;
|
|
51
|
+
workflowId?: string;
|
|
52
|
+
showWorkflow: boolean;
|
|
53
|
+
stepNames: Map<string, Map<string, string>>;
|
|
54
|
+
onChanged: () => void;
|
|
55
|
+
focusRequest?: number;
|
|
56
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
57
|
+
//# sourceMappingURL=Waitpoints.d.ts.map
|