@powerhousedao/workflow 6.2.3-dev.29 → 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
|
@@ -29,6 +29,7 @@ export declare function NumberStepper(props: {
|
|
|
29
29
|
step?: number;
|
|
30
30
|
invalid: boolean;
|
|
31
31
|
onCommit: (value: unknown) => void;
|
|
32
|
+
onCommitText: (raw: string) => void;
|
|
32
33
|
onFocus?: (event: {
|
|
33
34
|
currentTarget: Element;
|
|
34
35
|
}) => void;
|
|
@@ -38,6 +39,10 @@ export interface DateRangeValue {
|
|
|
38
39
|
after?: string;
|
|
39
40
|
before?: string;
|
|
40
41
|
}
|
|
42
|
+
export declare const DATE_PRESETS: {
|
|
43
|
+
value: "any_time" | "custom" | "last_24_hours" | "last_30_days" | "last_7_days" | "last_90_days" | "this_month";
|
|
44
|
+
label: string;
|
|
45
|
+
}[];
|
|
41
46
|
export declare function asDateRange(value: unknown): DateRangeValue;
|
|
42
47
|
export declare function DateRangeField(props: {
|
|
43
48
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-controls.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/prop-controls.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"prop-controls.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/prop-controls.tsx"],"names":[],"mappings":"AAGA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAQpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAiB7C,8EAA8E;AAC9E,wBAAgB,eAAe,CAAC,KAAK,EAAE;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAkBA;AAID,oEAAoE;AACpE,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAI9D;AAED,+EAA+E;AAC/E,wBAAgB,WAAW,CAAC,KAAK,EAAE;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,MAAM,CAAC;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACpB,2CA0CA;AAID,0EAA0E;AAC1E,wBAAgB,eAAe,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAMzE;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,OAAO,EACd,GAAG,CAAC,EAAE,MAAM,EACZ,GAAG,CAAC,EAAE,MAAM,GACX,MAAM,GAAG,IAAI,CASf;AAED,gFAAgF;AAChF,wBAAgB,aAAa,CAAC,KAAK,EAAE;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAEnC,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,aAAa,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;CACvD,2CA6CA;AAID,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAcD,eAAO,MAAM,YAAY;;;GAEoB,CAAC;AAgB9C,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,CAI1D;AAID,wBAAgB,cAAc,CAAC,KAAK,EAAE;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS,KAAK,IAAI,CAAC;CACvD,2CAwEA;AAMD,8EAA8E;AAC9E,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,aAAa,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;CACvD,2CA0CA;AAMD,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,CAI3E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-controls.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/prop-controls.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { BlockFormProp } from "./forms.js";
|
|
2
|
+
export declare function withPropDefaults(props: readonly BlockFormProp[], config: unknown): Record<string, unknown>;
|
|
3
|
+
export declare function lacksDefaults(props: readonly BlockFormProp[], config: unknown): boolean;
|
|
4
|
+
//# sourceMappingURL=prop-defaults.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-defaults.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/prop-defaults.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAShD,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,SAAS,aAAa,EAAE,EAC/B,MAAM,EAAE,OAAO,GACd,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAOzB;AAGD,wBAAgB,aAAa,CAC3B,KAAK,EAAE,SAAS,aAAa,EAAE,EAC/B,MAAM,EAAE,OAAO,GACd,OAAO,CAQT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-defaults.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/prop-defaults.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { BlockRef } from "@powerhousedao/pieces-framework/block-type";
|
|
2
|
+
export declare function blockPart(block: BlockRef): readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string];
|
|
3
|
+
export declare function blockRefKey(block: BlockRef): string;
|
|
4
|
+
export type RuntimeQueryKind = "catalog" | "form" | "pieceActions" | "pieceTriggers" | "searchBlocks" | "outputTree" | "options" | "dynamic" | "connections" | "webhook" | "latestRun" | "runs" | "run" | "secret" | "blockResolutions";
|
|
5
|
+
export interface ResolverKeyInput {
|
|
6
|
+
block: BlockRef;
|
|
7
|
+
propName: string;
|
|
8
|
+
refreshers: unknown[];
|
|
9
|
+
connectionId?: string | null;
|
|
10
|
+
searchValue?: string | null;
|
|
11
|
+
}
|
|
12
|
+
export declare const runtimeKeys: {
|
|
13
|
+
all: (scope: string) => readonly [string];
|
|
14
|
+
catalog: (scope: string) => readonly [string, "catalog"];
|
|
15
|
+
form: (scope: string, block: BlockRef) => readonly [string, "form", readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string]];
|
|
16
|
+
pieceActions: (scope: string, packageName: string) => readonly [string, "pieceActions", string];
|
|
17
|
+
pieceTriggers: (scope: string, packageName: string) => readonly [string, "pieceTriggers", string];
|
|
18
|
+
searchBlocks: (scope: string, query: string, limit: number) => readonly [string, "searchBlocks", string, number];
|
|
19
|
+
outputTrees: (scope: string) => readonly [string, "outputTree"];
|
|
20
|
+
outputTree: (scope: string, block: BlockRef, config: unknown) => readonly [string, "outputTree", readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string], {}];
|
|
21
|
+
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];
|
|
24
|
+
connections: (scope: string, filter?: string | null) => readonly [string, "connections"] | readonly [string, "connections", string | null];
|
|
25
|
+
webhook: (scope: string, workflowId: string) => readonly [string, "webhook", string];
|
|
26
|
+
latestRun: (scope: string, workflowId: string) => readonly [string, "latestRun", string];
|
|
27
|
+
allRuns: (scope: string) => readonly [string, "runs"];
|
|
28
|
+
runs: (scope: string, runsScope: {
|
|
29
|
+
workflowId?: string;
|
|
30
|
+
driveId?: string;
|
|
31
|
+
limit?: number;
|
|
32
|
+
}) => readonly [string, "runs", {
|
|
33
|
+
readonly workflowId: string | null;
|
|
34
|
+
readonly driveId: string | null;
|
|
35
|
+
readonly limit: number | null;
|
|
36
|
+
}];
|
|
37
|
+
runPages: (scope: string, runsScope: {
|
|
38
|
+
workflowId?: string;
|
|
39
|
+
driveId?: string;
|
|
40
|
+
limit?: number;
|
|
41
|
+
}) => readonly [string, "runs", "pages", {
|
|
42
|
+
readonly workflowId: string | null;
|
|
43
|
+
readonly driveId: string | null;
|
|
44
|
+
readonly limit: number | null;
|
|
45
|
+
}];
|
|
46
|
+
run: (scope: string, runId: string) => readonly [string, "run", string];
|
|
47
|
+
secret: (scope: string, ref: string) => readonly [string, "secret", string];
|
|
48
|
+
allBlockResolutions: (scope: string, workflowId: string) => readonly [string, "blockResolutions", string];
|
|
49
|
+
blockResolutions: (scope: string, workflowId: string, blocks: readonly BlockRef[]) => readonly [string, "blockResolutions", string, (readonly [string, string, import("@powerhousedao/pieces-framework/block-type").BlockKind, string])[]];
|
|
50
|
+
};
|
|
51
|
+
export declare function queryKind(key: readonly unknown[]): string | undefined;
|
|
52
|
+
export declare const SHARED_STALE_MS: number;
|
|
53
|
+
export declare const RESOLVER_STALE_MS: number;
|
|
54
|
+
//# sourceMappingURL=query-keys.d.ts.map
|
|
@@ -0,0 +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;AAEvB,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;CAC7B;AAkBD,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,SAAS,MAAM,uBAChD,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,IAAI,uBACZ,YAAY,EAAE,MAAM;IACjC,OAAO,UAAU,MAAM,SAAS,gBAAgB;IAEhD,OAAO,UAAU,MAAM,SAAS,gBAAgB;IAGhD,WAAW,UAAU,MAAM,WAAW,MAAM,GAAG,IAAI;IAInD,OAAO,UAAU,MAAM,cAAc,MAAM,uBACjC,SAAS;IACnB,SAAS,UAAU,MAAM,cAAc,MAAM,uBACnC,WAAW;IACrB,OAAO,UAAU,MAAM,uBAAa,MAAM;IAC1C,IAAI,UACK,MAAM,aACF;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,uBAIlE,MAAM;iBAEJ,UAAU;iBACV,OAAO;iBACP,KAAK;;IAIX,QAAQ,UACC,MAAM,aACF;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,uBAIlE,MAAM,EACN,OAAO;iBAEL,UAAU;iBACV,OAAO;iBACP,KAAK;;IAGX,GAAG,UAAU,MAAM,SAAS,MAAM,uBAAa,KAAK;IACpD,MAAM,UAAU,MAAM,OAAO,MAAM,uBAAa,QAAQ;IACxD,mBAAmB,UAAU,MAAM,cAAc,MAAM,uBAC7C,kBAAkB;IAE5B,gBAAgB,UACP,MAAM,cACD,MAAM,UACV,SAAS,QAAQ,EAAE,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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { DEFAULT_TIMEZONE, type ScheduleUnit } from "@powerhousedao/pieces-framework/workflow";
|
|
2
|
+
export type IntervalUnit = ScheduleUnit;
|
|
2
3
|
export type ScheduleDraft = {
|
|
3
4
|
kind: "daily";
|
|
4
5
|
time: string;
|
|
@@ -17,13 +18,7 @@ export type ScheduleDraft = {
|
|
|
17
18
|
};
|
|
18
19
|
export type ScheduleKind = ScheduleDraft["kind"];
|
|
19
20
|
export declare const DEFAULT_TIME = "09:00";
|
|
20
|
-
export
|
|
21
|
-
/** An interval config's cadence, from `every` + `unit` or a bare `everyMs`. */
|
|
22
|
-
export declare function intervalOf(record: Record<string, unknown>): {
|
|
23
|
-
every: number;
|
|
24
|
-
unit: IntervalUnit;
|
|
25
|
-
} | undefined;
|
|
26
|
-
/** Reads a stored config back into the builder's terms. */
|
|
21
|
+
export { DEFAULT_TIMEZONE };
|
|
27
22
|
export declare function draftFromConfig(config: unknown): ScheduleDraft;
|
|
28
23
|
/** The cron a draft stands for; undefined for an interval. */
|
|
29
24
|
export declare function cronFromDraft(draft: ScheduleDraft): string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule-draft.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/schedule-draft.ts"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"schedule-draft.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/schedule-draft.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,gBAAgB,EAEhB,KAAK,YAAY,EAClB,MAAM,0CAA0C,CAAC;AAElD,MAAM,MAAM,YAAY,GAAG,YAAY,CAAC;AAExC,MAAM,MAAM,aAAa,GACrB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,OAAO,CAAA;CAAE,GACtD;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,GAChD;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,YAAY,CAAA;CAAE,GACvD;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAErC,MAAM,MAAM,YAAY,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;AAEjD,eAAO,MAAM,YAAY,UAAU,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAmC5B,wBAAgB,eAAe,CAAC,MAAM,EAAE,OAAO,GAAG,aAAa,CAc9D;AAED,8DAA8D;AAC9D,wBAAgB,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,GAAG,SAAS,CAgBtE;AAED,4EAA4E;AAC5E,wBAAgB,eAAe,CAC7B,KAAK,EAAE,aAAa,EACpB,QAAQ,EAAE,MAAM,GACf,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAOzB;AAED,uEAAuE;AACvE,wBAAgB,UAAU,CACxB,KAAK,EAAE,aAAa,EACpB,IAAI,EAAE,YAAY,GACjB,aAAa,CAaf;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAGlD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { SecretFormService, SecretStat } from "./forms.js";
|
|
2
|
+
export declare const SECRET_REF_PREFIX = "secret://v1:";
|
|
3
|
+
export declare function useSecretRef(options: {
|
|
4
|
+
value: unknown;
|
|
5
|
+
secrets?: SecretFormService;
|
|
6
|
+
label: string;
|
|
7
|
+
onCommit: (ref: string) => void;
|
|
8
|
+
}): {
|
|
9
|
+
ref: string;
|
|
10
|
+
managed: boolean;
|
|
11
|
+
draft: string;
|
|
12
|
+
setDraft: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
13
|
+
busy: boolean;
|
|
14
|
+
error: string | null;
|
|
15
|
+
stat: SecretStat | null;
|
|
16
|
+
commit: () => void;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=secret-ref.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret-ref.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/secret-ref.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEhE,eAAO,MAAM,iBAAiB,iBAAiB,CAAC;AAEhD,wBAAgB,YAAY,CAAC,OAAO,EAAE;IACpC,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;;;;;;;;;EAmDA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type TestErrorTarget = {
|
|
2
|
+
kind: "step";
|
|
3
|
+
key: string;
|
|
4
|
+
} | {
|
|
5
|
+
kind: "trigger";
|
|
6
|
+
} | {
|
|
7
|
+
kind: "variables";
|
|
8
|
+
};
|
|
9
|
+
export interface TestErrorExplained {
|
|
10
|
+
message: string;
|
|
11
|
+
targets: TestErrorTarget[];
|
|
12
|
+
}
|
|
13
|
+
export declare function explainTestError(error: string): TestErrorExplained;
|
|
14
|
+
//# sourceMappingURL=step-test.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"step-test.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/step-test.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type BlockIdentity } from "./blocks.js";
|
|
2
|
+
import type { BlockStateModel } from "./model.js";
|
|
3
|
+
export type TestState = "never" | "stale" | "failed" | "passed";
|
|
4
|
+
export declare function testState(block: BlockStateModel, runStatus?: string | null): TestState;
|
|
5
|
+
export declare function isTestableTrigger(block: BlockIdentity): boolean;
|
|
6
|
+
export declare function relativeTime(iso: string, now?: number): string;
|
|
7
|
+
//# sourceMappingURL=test-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-state.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/test-state.ts"],"names":[],"mappings":"AAEA,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEhE,wBAAgB,SAAS,CACvB,KAAK,EAAE,eAAe,EAEtB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GACxB,SAAS,CASX;AAGD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAE/D;AAED,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,SAAa,GAAG,MAAM,CAMlE"}
|
|
@@ -3,7 +3,8 @@ export declare function describeCron(cron: string): string | undefined;
|
|
|
3
3
|
export declare function describeSchedule(config: unknown): string;
|
|
4
4
|
/** When a workflow starts, from its trigger. */
|
|
5
5
|
export declare function describeTrigger(trigger: {
|
|
6
|
-
|
|
6
|
+
pieceName: string;
|
|
7
|
+
triggerName: string;
|
|
7
8
|
config: unknown;
|
|
8
9
|
} | null | undefined): string;
|
|
9
10
|
//# sourceMappingURL=trigger-text.d.ts.map
|
|
@@ -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":"AAyCA,oEAAoE;AACpE,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAoC7D;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAiBxD;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,CAoBR"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type BlockRef } from "./blocks.js";
|
|
2
|
+
import type { BlockForm, BlockFormProp } from "./forms.js";
|
|
3
|
+
import type { PropertySettingModel, WorkflowModel } from "./model.js";
|
|
4
|
+
import type { ResolverKeyInput } from "./query-keys.js";
|
|
5
|
+
import { type WorkflowReadiness } from "./validation.js";
|
|
6
|
+
export interface CheckedBlock {
|
|
7
|
+
id: string;
|
|
8
|
+
block: BlockRef;
|
|
9
|
+
config: unknown;
|
|
10
|
+
connectionId: string | null;
|
|
11
|
+
propertySettings?: PropertySettingModel[] | null;
|
|
12
|
+
skip?: boolean;
|
|
13
|
+
outgoingPorts?: readonly string[];
|
|
14
|
+
}
|
|
15
|
+
export interface BlockCheck {
|
|
16
|
+
form: BlockForm | null | "loading";
|
|
17
|
+
formError?: string;
|
|
18
|
+
missing: string[] | null;
|
|
19
|
+
issues: string[];
|
|
20
|
+
lookup: (input: ResolverKeyInput) => BlockFormProp[] | undefined;
|
|
21
|
+
}
|
|
22
|
+
export declare function useBlockCheck(block: CheckedBlock): BlockCheck;
|
|
23
|
+
export interface WorkflowCheck {
|
|
24
|
+
readiness: WorkflowReadiness;
|
|
25
|
+
missing: ReadonlyMap<string, string[] | null>;
|
|
26
|
+
}
|
|
27
|
+
export declare function useWorkflowCheck(model: WorkflowModel): WorkflowCheck;
|
|
28
|
+
//# sourceMappingURL=use-validity.d.ts.map
|
|
@@ -0,0 +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,OAAO,CAAC;IAEf,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;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;AAqCD,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,CAkB7D;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,CA4DpE"}
|
|
@@ -1,6 +1,38 @@
|
|
|
1
|
+
import type { BlockRef } from "./blocks.js";
|
|
1
2
|
import type { BlockForm, BlockFormProp } from "./forms.js";
|
|
3
|
+
import type { PropertyModeValue, PropertySettingModel } from "./model.js";
|
|
4
|
+
import type { ResolverKeyInput } from "./query-keys.js";
|
|
2
5
|
export declare function isEmptyValue(value: unknown): boolean;
|
|
3
6
|
export declare function isPropVisible(prop: BlockFormProp, config: Record<string, unknown>): boolean;
|
|
4
7
|
export declare function missingRequired(props: BlockFormProp[], config: unknown): string[];
|
|
5
|
-
export declare function
|
|
8
|
+
export declare function resolverInputFor(block: BlockRef, prop: BlockFormProp, config: Record<string, unknown>, connectionId: string | null | undefined): ResolverKeyInput;
|
|
9
|
+
export declare function settingFor(settings: readonly PropertySettingModel[] | null | undefined, prop: string): PropertySettingModel | undefined;
|
|
10
|
+
export declare function parsePropList(result: unknown): BlockFormProp[];
|
|
11
|
+
export declare function storedSchema(settings: readonly PropertySettingModel[] | null | undefined, prop: string): BlockFormProp[] | undefined;
|
|
12
|
+
export declare function stripOptions(props: BlockFormProp[]): BlockFormProp[];
|
|
13
|
+
export declare function withSetting(settings: readonly PropertySettingModel[] | null | undefined, prop: string, patch: {
|
|
14
|
+
mode?: PropertyModeValue;
|
|
15
|
+
schema?: unknown;
|
|
16
|
+
}): PropertySettingModel[];
|
|
17
|
+
export interface ValidityInput {
|
|
18
|
+
form: BlockForm | null | "loading" | undefined;
|
|
19
|
+
block: BlockRef;
|
|
20
|
+
config: unknown;
|
|
21
|
+
connectionId: string | null | undefined;
|
|
22
|
+
propertySettings?: readonly PropertySettingModel[] | null;
|
|
23
|
+
skip?: boolean | null;
|
|
24
|
+
resolveDynamic?: (input: ResolverKeyInput) => BlockFormProp[] | undefined;
|
|
25
|
+
}
|
|
26
|
+
export declare function blockMissing(input: ValidityInput): string[] | null;
|
|
27
|
+
export declare function undeclaredPortIssues(form: BlockForm | null | "loading" | undefined, outgoingPorts: readonly string[] | undefined): string[];
|
|
28
|
+
export interface WorkflowReadiness {
|
|
29
|
+
ready: boolean;
|
|
30
|
+
hasTrigger: boolean;
|
|
31
|
+
firstIncomplete: string | null;
|
|
32
|
+
checking: boolean;
|
|
33
|
+
}
|
|
34
|
+
export declare function workflowReadiness(blocks: readonly {
|
|
35
|
+
id: string;
|
|
36
|
+
missing: string[] | null;
|
|
37
|
+
}[], hasTrigger: boolean): WorkflowReadiness;
|
|
6
38
|
//# sourceMappingURL=validation.d.ts.map
|
|
@@ -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":"AAGA,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;AAGD,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,QAAQ,EACf,IAAI,EAAE,aAAa,EACnB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACtC,gBAAgB,CAQlB;AAED,wBAAgB,UAAU,CACxB,QAAQ,EAAE,SAAS,oBAAoB,EAAE,GAAG,IAAI,GAAG,SAAS,EAC5D,IAAI,EAAE,MAAM,GACX,oBAAoB,GAAG,SAAS,CAElC;AAGD,wBAAgB,aAAa,CAAC,MAAM,EAAE,OAAO,GAAG,aAAa,EAAE,CAQ9D;AAGD,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,SAAS,oBAAoB,EAAE,GAAG,IAAI,GAAG,SAAS,EAC5D,IAAI,EAAE,MAAM,GACX,aAAa,EAAE,GAAG,SAAS,CAS7B;AAGD,wBAAgB,YAAY,CAAC,KAAK,EAAE,aAAa,EAAE,GAAG,aAAa,EAAE,CAOpE;AAGD,wBAAgB,WAAW,CACzB,QAAQ,EAAE,SAAS,oBAAoB,EAAE,GAAG,IAAI,GAAG,SAAS,EAC5D,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE;IAAE,IAAI,CAAC,EAAE,iBAAiB,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,GACpD,oBAAoB,EAAE,CAaxB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,CAAC;IAC/C,KAAK,EAAE,QAAQ,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,gBAAgB,CAAC,EAAE,SAAS,oBAAoB,EAAE,GAAG,IAAI,CAAC;IAC1D,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAEtB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,aAAa,EAAE,GAAG,SAAS,CAAC;CAC3E;AAID,wBAAgB,YAAY,CAAC,KAAK,EAAE,aAAa,GAAG,MAAM,EAAE,GAAG,IAAI,CAoClE;AAGD,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,EAC9C,aAAa,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GAC3C,MAAM,EAAE,CAMV;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,14 @@
|
|
|
1
|
+
import type { VariableTypeValue } from "./model.js";
|
|
2
|
+
export declare const VARIABLE_TYPE_LABEL: Record<VariableTypeValue, string>;
|
|
3
|
+
export declare const VARIABLE_TYPES: VariableTypeValue[];
|
|
4
|
+
export type Parsed = {
|
|
5
|
+
ok: true;
|
|
6
|
+
value: unknown;
|
|
7
|
+
} | {
|
|
8
|
+
ok: false;
|
|
9
|
+
error: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function parseTypedValue(type: VariableTypeValue, raw: string): Parsed;
|
|
12
|
+
export declare function valueMismatch(type: VariableTypeValue, value: unknown): string | null;
|
|
13
|
+
export declare function convertVariableValue(value: unknown, from: VariableTypeValue, to: VariableTypeValue): unknown;
|
|
14
|
+
//# sourceMappingURL=variable-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable-types.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/variable-types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAMjE,CAAC;AAEF,eAAO,MAAM,cAAc,EAEtB,iBAAiB,EAAE,CAAC;AAEzB,MAAM,MAAM,MAAM,GACd;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,GAC5B;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAKjC,wBAAgB,eAAe,CAAC,IAAI,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CA2B5E;AAGD,wBAAgB,aAAa,CAC3B,IAAI,EAAE,iBAAiB,EACvB,KAAK,EAAE,OAAO,GACb,MAAM,GAAG,IAAI,CAcf;AAID,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,OAAO,EACd,IAAI,EAAE,iBAAiB,EACvB,EAAE,EAAE,iBAAiB,GACpB,OAAO,CAaT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variable-types.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/variable-types.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type BlockRef } from "@powerhousedao/pieces-framework/block-type";
|
|
2
|
+
import { type ReactNode } from "react";
|
|
3
|
+
import type { BlockResolutionView } from "./forms.js";
|
|
4
|
+
export type VersionTone = "neutral" | "warn" | "fail";
|
|
5
|
+
export interface VersionBadgeView {
|
|
6
|
+
tone: VersionTone;
|
|
7
|
+
label: string;
|
|
8
|
+
title: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function resolutionText(resolution: BlockResolutionView): string;
|
|
11
|
+
export declare function runsDifferentVersion(resolution: BlockResolutionView): boolean;
|
|
12
|
+
export declare function versionBadge(resolution: BlockResolutionView | undefined): VersionBadgeView | null;
|
|
13
|
+
/** The newer version to offer, when a source has one above the pin. */
|
|
14
|
+
export declare function updateVersion(resolution: BlockResolutionView | undefined): string | null;
|
|
15
|
+
export declare function BlockResolutionsProvider(props: {
|
|
16
|
+
resolutions: readonly BlockResolutionView[];
|
|
17
|
+
blocks: readonly BlockRef[];
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function useDraftBlocks(): readonly BlockRef[];
|
|
21
|
+
export declare function useResolution(id: string, block: BlockRef): BlockResolutionView | undefined;
|
|
22
|
+
export interface VersionSummaryView {
|
|
23
|
+
text: string;
|
|
24
|
+
tone: "neutral" | "warn";
|
|
25
|
+
title: string;
|
|
26
|
+
firstStepId: string;
|
|
27
|
+
}
|
|
28
|
+
export declare function versionSummary(resolutions: readonly BlockResolutionView[]): VersionSummaryView | null;
|
|
29
|
+
export declare function VersionSummary(props: {
|
|
30
|
+
resolutions: readonly BlockResolutionView[];
|
|
31
|
+
onSelect: (id: string) => void;
|
|
32
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
33
|
+
//# sourceMappingURL=version-badge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version-badge.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/version-badge.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,QAAQ,EACd,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,wBAAgB,cAAc,CAAC,UAAU,EAAE,mBAAmB,GAAG,MAAM,CAMtE;AAGD,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,mBAAmB,GAAG,OAAO,CAS7E;AAED,wBAAgB,YAAY,CAC1B,UAAU,EAAE,mBAAmB,GAAG,SAAS,GAC1C,gBAAgB,GAAG,IAAI,CAWzB;AAED,uEAAuE;AACvE,wBAAgB,aAAa,CAC3B,UAAU,EAAE,mBAAmB,GAAG,SAAS,GAC1C,MAAM,GAAG,IAAI,CAUf;AAKD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE;IAC9C,WAAW,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAE5C,MAAM,EAAE,SAAS,QAAQ,EAAE,CAAC;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAQA;AAED,wBAAgB,cAAc,IAAI,SAAS,QAAQ,EAAE,CAEpD;AAGD,wBAAgB,aAAa,CAC3B,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,QAAQ,GACd,mBAAmB,GAAG,SAAS,CAUjC;AAOD,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IAEb,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,cAAc,CAC5B,WAAW,EAAE,SAAS,mBAAmB,EAAE,GAC1C,kBAAkB,GAAG,IAAI,CAmB3B;AAGD,wBAAgB,cAAc,CAAC,KAAK,EAAE;IACpC,WAAW,EAAE,SAAS,mBAAmB,EAAE,CAAC;IAC5C,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,kDAcA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version-badge.test.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-editor/ui/version-badge.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-runtime-url.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/use-runtime-url.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-runtime-url.d.ts","sourceRoot":"","sources":["../../../../editors/workflow-editor/use-runtime-url.ts"],"names":[],"mappings":"AAgCA,wBAAgB,qBAAqB,IAAI,MAAM,CAmC9C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
2
2
|
export declare const TRIGGER_LABEL: Record<string, string>;
|
|
3
3
|
export declare function triggerLabel(kind: string): string;
|
|
4
4
|
export declare function RunsTable(props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunsTable.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/RunsTable.tsx"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"RunsTable.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/RunsTable.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,SAAS,EAEV,MAAM,yCAAyC,CAAC;AAgLjD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAOhD,CAAC;AAEF,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAWjD;AAgMD,wBAAgB,SAAS,CAAC,KAAK,EAAE;IAC/B,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,2CAwTA"}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import type { RunRecord } from "../../workflow-editor/runtime-
|
|
1
|
+
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
2
2
|
export declare function RunsView(props: {
|
|
3
3
|
title: string;
|
|
4
4
|
runs: RunRecord[] | null;
|
|
5
5
|
error: string | null;
|
|
6
6
|
reload: () => void;
|
|
7
7
|
showWorkflow: boolean;
|
|
8
|
+
hasMore?: boolean;
|
|
9
|
+
loadingMore?: boolean;
|
|
10
|
+
onLoadMore?: () => void;
|
|
8
11
|
onFire?: () => Promise<string | null>;
|
|
9
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
10
13
|
//# 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,
|
|
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;AAIzE,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,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CACvC,2CAiFA"}
|
|
@@ -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;AA0NrE,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,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,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,2CA+BA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowBoard.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowBoard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WorkflowBoard.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowBoard.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAoDzE,wBAAgB,aAAa,CAAC,KAAK,EAAE;IACnC,IAAI,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,2CAoKA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { FileNode } from "@powerhousedao/shared/document-drive";
|
|
2
|
-
import type { RunRecord } from "../../workflow-editor/runtime-
|
|
2
|
+
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
3
3
|
export declare function WorkflowHeader(props: {
|
|
4
4
|
node: FileNode;
|
|
5
5
|
runs: RunRecord[] | null;
|
|
6
6
|
onEdit: () => void;
|
|
7
|
+
onDeleted?: () => void;
|
|
7
8
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
8
9
|
//# sourceMappingURL=WorkflowHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowHeader.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WorkflowHeader.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowHeader.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAKrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAsBzE,wBAAgB,cAAc,CAAC,KAAK,EAAE;IACpC,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,kDAgHA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type WorkflowDocument } from "document-models/workflow";
|
|
2
|
+
export declare function DeleteWorkflowDialog(props: {
|
|
3
|
+
name: string;
|
|
4
|
+
onCancel: () => void;
|
|
5
|
+
onConfirm: () => Promise<void>;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function WorkflowMenu(props: {
|
|
8
|
+
document: WorkflowDocument;
|
|
9
|
+
nodeName?: string;
|
|
10
|
+
onDeleted?: () => void;
|
|
11
|
+
subtle?: boolean;
|
|
12
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=WorkflowMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkflowMenu.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowMenu.tsx"],"names":[],"mappings":"AAQA,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,0BAA0B,CAAC;AAKlC,wBAAgB,oBAAoB,CAAC,KAAK,EAAE;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAChC,2CA6EA;AAuBD,wBAAgB,YAAY,CAAC,KAAK,EAAE;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAE3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,2CAyFA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WorkflowState } from "document-models/workflow";
|
|
2
|
-
import type { RunRecord } from "../../workflow-editor/runtime-
|
|
2
|
+
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
3
3
|
export declare function WorkflowSteps(props: {
|
|
4
4
|
state: WorkflowState;
|
|
5
5
|
latestRun?: RunRecord;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowSteps.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowSteps.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"WorkflowSteps.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowSteps.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAoHzE,wBAAgB,aAAa,CAAC,KAAK,EAAE;IACnC,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,2CAmGA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowStudio.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowStudio.tsx"],"names":[],"mappings":"AAYA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"WorkflowStudio.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/WorkflowStudio.tsx"],"names":[],"mappings":"AAYA,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAsBpE,wBAAgB,cAAc,CAAC,KAAK,EAAE;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,2CAM7D"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { RunRecord } from "../../workflow-editor/runtime-
|
|
1
|
+
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
2
|
+
import { type BlockIdentity } from "../../workflow-editor/ui/blocks.js";
|
|
2
3
|
export interface ChainLink {
|
|
3
4
|
id: string;
|
|
4
|
-
|
|
5
|
+
block: BlockIdentity;
|
|
5
6
|
label: string;
|
|
6
7
|
status?: string;
|
|
7
8
|
}
|
|
@@ -9,8 +10,9 @@ export declare function MiniChain(props: {
|
|
|
9
10
|
links: ChainLink[];
|
|
10
11
|
size?: "sm" | "md";
|
|
11
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare function triggerOfKind(kind: string): BlockIdentity;
|
|
12
14
|
/** A run's own chain: the trigger, then every step it recorded. */
|
|
13
|
-
export declare function runLinks(run: RunRecord,
|
|
15
|
+
export declare function runLinks(run: RunRecord, trigger?: BlockIdentity): ChainLink[];
|
|
14
16
|
/** Recent runs as ticks, oldest to newest, padded so strips line up. */
|
|
15
17
|
export declare function RunStrip(props: {
|
|
16
18
|
runs: RunRecord[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/chain.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"chain.d.ts","sourceRoot":"","sources":["../../../../../editors/workflow-studio/components/chain.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,oCAAoC,CAAC;AAU5C,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,aAAa,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAsBD,wBAAgB,SAAS,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,SAAS,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CAAE,2CA0D1E;AAID,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,CAazD;AAED,mEAAmE;AACnE,wBAAgB,QAAQ,CAAC,GAAG,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,EAAE,CAmB7E;AAYD,wEAAwE;AACxE,wBAAgB,QAAQ,CAAC,KAAK,EAAE;IAAE,IAAI,EAAE,SAAS,EAAE,CAAA;CAAE,2CA8BpD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RunRecord } from "../../workflow-editor/runtime-
|
|
1
|
+
import type { RunRecord } from "../../workflow-editor/runtime-client.js";
|
|
2
2
|
export declare const RUN_STATUSES: readonly ["RUNNING", "SUCCEEDED", "FAILED"];
|
|
3
3
|
export type Tone = "ok" | "fail" | "warn" | "run" | "idle";
|
|
4
4
|
export declare const TONE_TEXT: Record<Tone, string>;
|
|
@@ -7,8 +7,17 @@ export declare const TONE_BADGE: Record<Tone, string>;
|
|
|
7
7
|
export declare const RUN_TONE: Record<string, Tone>;
|
|
8
8
|
export declare const STEP_TONE: Record<string, Tone>;
|
|
9
9
|
export declare const WORKFLOW_TONE: Record<string, Tone>;
|
|
10
|
-
export declare function
|
|
10
|
+
export declare function runTone(run: {
|
|
11
|
+
status: string;
|
|
12
|
+
warningNotes?: readonly string[];
|
|
13
|
+
}): Tone;
|
|
14
|
+
export declare function runStatusLabel(run: {
|
|
15
|
+
status: string;
|
|
16
|
+
warningNotes?: readonly string[];
|
|
17
|
+
}): string;
|
|
18
|
+
export declare function workflowHealth(status: string | undefined, lastRunStatus: string | undefined, published: boolean): {
|
|
11
19
|
tone: Tone;
|
|
20
|
+
hollow: boolean;
|
|
12
21
|
label: string;
|
|
13
22
|
};
|
|
14
23
|
export declare const CONNECTION_TONE: Record<string, Tone>;
|