@powerhousedao/workflow 6.2.3-dev.48 → 6.2.3-dev.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{BlockSelector-Do2fNhEF.js → BlockSelector-eaXC56EC.js} +11 -6
- package/dist/browser/BlockSelector-eaXC56EC.js.map +1 -0
- package/dist/browser/assets/{entry-CtB3hwiW.js → entry-E7pSm84X.js} +3 -2
- package/dist/browser/assets/{projection-entry-Cd33KgnS.js → projection-entry-UE4mfnXc.js} +3 -2
- package/dist/browser/{connection-form-BfIxO-uq.js → connection-form-Db1YlNk2.js} +3 -3
- package/dist/browser/{connection-form-BfIxO-uq.js.map → connection-form-Db1YlNk2.js.map} +1 -1
- package/dist/browser/{data-tree-CEBkvtSf.js → data-tree-ClKfWUgI.js} +2 -2
- package/dist/browser/{data-tree-CEBkvtSf.js.map → data-tree-ClKfWUgI.js.map} +1 -1
- package/dist/browser/document-models/index.js +2 -2
- package/dist/browser/document-models/workflow/index.js +2 -2
- package/dist/browser/{document-models-B7IwLbfO.js → document-models-DDiMjugM.js} +22 -3
- package/dist/browser/{document-models-B7IwLbfO.js.map → document-models-DDiMjugM.js.map} +1 -1
- package/dist/{node/editor-DKpQGzMS.mjs → browser/editor-BgJ0RzSj.js} +7 -7
- package/dist/{node/editor-DKpQGzMS.mjs.map → browser/editor-BgJ0RzSj.js.map} +1 -1
- package/dist/browser/{editor-C3l2HgXA.js → editor-DFS8U1MR.js} +27 -9
- package/dist/browser/editor-DFS8U1MR.js.map +1 -0
- package/dist/browser/{editor-C6NhkZ3S.js → editor-aRP2k9qa.js} +5 -5
- package/dist/browser/{editor-C6NhkZ3S.js.map → editor-aRP2k9qa.js.map} +1 -1
- 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 +3 -3
- package/dist/browser/{module-D4UiG9ii.js → module-ozS5EVRx.js} +2 -2
- package/dist/browser/module-ozS5EVRx.js.map +1 -0
- package/dist/browser/reactor/index.js +2 -2
- package/dist/browser/{runtime-queries-IZG_nonR.js → runtime-queries-Bcd7IS3T.js} +2 -2
- package/dist/browser/runtime-queries-Bcd7IS3T.js.map +1 -0
- package/dist/browser/{trigger-text-Dwaxi16C.js → trigger-text-DxpCRgMq.js} +5 -5
- package/dist/browser/{trigger-text-Dwaxi16C.js.map → trigger-text-DxpCRgMq.js.map} +1 -1
- package/dist/browser/{upgrade-manifests-C_9cyumV.js → upgrade-manifests-DHGmgHKW.js} +2 -2
- package/dist/browser/{upgrade-manifests-C_9cyumV.js.map → upgrade-manifests-DHGmgHKW.js.map} +1 -1
- package/dist/browser/{workflow-DFLQ2cFr.js → workflow-DoewHe4K.js} +2 -2
- package/dist/browser/{workflow-DFLQ2cFr.js.map → workflow-DoewHe4K.js.map} +1 -1
- package/dist/node/{BlockSelector-CrPnitOU.mjs → BlockSelector-DidV3yJx.mjs} +11 -6
- package/dist/node/BlockSelector-DidV3yJx.mjs.map +1 -0
- package/dist/node/{connection-form-MHDKPohk.mjs → connection-form-BitMCIRb.mjs} +3 -3
- package/dist/node/{connection-form-MHDKPohk.mjs.map → connection-form-BitMCIRb.mjs.map} +1 -1
- package/dist/node/{data-tree-Ccyc8y8I.mjs → data-tree-Cn50TNYN.mjs} +2 -2
- package/dist/node/{data-tree-Ccyc8y8I.mjs.map → data-tree-Cn50TNYN.mjs.map} +1 -1
- package/dist/node/document-models/index.mjs +2 -2
- package/dist/node/document-models/workflow/index.mjs +2 -2
- package/dist/node/{editor-J42uGqnf.mjs → editor-BsWzr32t.mjs} +5 -5
- package/dist/node/{editor-J42uGqnf.mjs.map → editor-BsWzr32t.mjs.map} +1 -1
- package/dist/{browser/editor-BXxj5Do5.js → node/editor-D7GDdxR3.mjs} +7 -7
- package/dist/node/editor-D7GDdxR3.mjs.map +1 -0
- package/dist/node/{editor-B4TEgA0j.mjs → editor-i7ovccfO.mjs} +27 -9
- package/dist/node/editor-i7ovccfO.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 +23 -4
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/{module-BsqRZox1.mjs → module-uKdoLIga.mjs} +2 -2
- package/dist/node/module-uKdoLIga.mjs.map +1 -0
- package/dist/node/pieces/reactor/descriptor.json +1 -1
- package/dist/node/pieces/reactor/package.json +1 -1
- package/dist/node/{runtime-queries-BM6I7dDA.mjs → runtime-queries-CZ7vFHoG.mjs} +2 -2
- package/dist/node/runtime-queries-CZ7vFHoG.mjs.map +1 -0
- package/dist/node/{trigger-text-qK_Nr5Pw.mjs → trigger-text-aHI7jqvP.mjs} +5 -5
- package/dist/node/{trigger-text-qK_Nr5Pw.mjs.map → trigger-text-aHI7jqvP.mjs.map} +1 -1
- package/dist/node/{upgrade-manifests-CYZfts3a.mjs → upgrade-manifests-D-pLniUG.mjs} +2 -2
- package/dist/node/{upgrade-manifests-CYZfts3a.mjs.map → upgrade-manifests-D-pLniUG.mjs.map} +1 -1
- package/dist/node/{workflow-BpfdBHyS.mjs → workflow-Dy-309pE.mjs} +2 -2
- package/dist/node/{workflow-BpfdBHyS.mjs.map → workflow-Dy-309pE.mjs.map} +1 -1
- package/dist/powerhouse.manifest.json +21 -2
- package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts +13 -6
- package/dist/types/document-models/workflow/v1/gen/schema/types.d.ts.map +1 -1
- package/dist/types/editors/workflow-editor/runtime-client.d.ts +1 -1
- package/dist/types/editors/workflow-editor/runtime-client.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/forms.d.ts +1 -1
- package/dist/types/editors/workflow-editor/ui/forms.d.ts.map +1 -1
- 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-studio/components/RunsTable.d.ts.map +1 -1
- package/dist/types/editors/workflow-studio/components/run-format.d.ts +4 -0
- package/dist/types/editors/workflow-studio/components/run-format.d.ts.map +1 -1
- package/package.json +10 -10
- package/dist/browser/BlockSelector-Do2fNhEF.js.map +0 -1
- package/dist/browser/editor-BXxj5Do5.js.map +0 -1
- package/dist/browser/editor-C3l2HgXA.js.map +0 -1
- package/dist/browser/module-D4UiG9ii.js.map +0 -1
- package/dist/browser/runtime-queries-IZG_nonR.js.map +0 -1
- package/dist/node/BlockSelector-CrPnitOU.mjs.map +0 -1
- package/dist/node/editor-B4TEgA0j.mjs.map +0 -1
- package/dist/node/module-BsqRZox1.mjs.map +0 -1
- package/dist/node/runtime-queries-BM6I7dDA.mjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as workflowUpgradeManifest } from "./module-
|
|
1
|
+
import { m as workflowUpgradeManifest } from "./module-ozS5EVRx.js";
|
|
2
2
|
import { m as connectionUpgradeManifest } from "./module-B2BMwu5E.js";
|
|
3
3
|
//#region document-models/upgrade-manifests.ts
|
|
4
4
|
const upgradeManifests = [connectionUpgradeManifest, workflowUpgradeManifest];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { upgradeManifests as t };
|
|
7
7
|
|
|
8
|
-
//# sourceMappingURL=upgrade-manifests-
|
|
8
|
+
//# sourceMappingURL=upgrade-manifests-DHGmgHKW.js.map
|
package/dist/browser/{upgrade-manifests-C_9cyumV.js.map → upgrade-manifests-DHGmgHKW.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgrade-manifests-
|
|
1
|
+
{"version":3,"file":"upgrade-manifests-DHGmgHKW.js","names":[],"sources":["../../document-models/upgrade-manifests.ts"],"sourcesContent":["/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { UpgradeManifest } from \"document-model\";\nimport { connectionUpgradeManifest } from \"document-models/connection/upgrades\";\nimport { workflowUpgradeManifest } from \"document-models/workflow/upgrades\";\n\nexport const upgradeManifests: UpgradeManifest<readonly number[]>[] = [\n connectionUpgradeManifest,\n workflowUpgradeManifest,\n];\n"],"mappings":";;;AAQA,MAAa,mBAAyD,CACpE,2BACA,uBACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as utils, d as isWorkflowDocument, l as assertIsWorkflowDocument, t as Workflow } from "./module-
|
|
1
|
+
import { a as utils, d as isWorkflowDocument, l as assertIsWorkflowDocument, t as Workflow } from "./module-ozS5EVRx.js";
|
|
2
2
|
import { PHDocumentController, createBaseState, defaultBaseState } from "document-model";
|
|
3
3
|
import { useDocumentById, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useSelectedDocument } from "@powerhousedao/reactor-browser";
|
|
4
4
|
//#region document-models/workflow/v1/gen/controller.ts
|
|
@@ -105,4 +105,4 @@ function useWorkflowDocumentsInSelectedFolder() {
|
|
|
105
105
|
//#endregion
|
|
106
106
|
export { createState$1 as a, defaultLocalState as c, useWorkflowDocumentsInSelectedFolder as i, defaultPHState as l, useWorkflowDocumentById as n, createWorkflowDocument as o, useWorkflowDocumentsInSelectedDrive as r, defaultGlobalState as s, useSelectedWorkflowDocument as t, WorkflowController as u };
|
|
107
107
|
|
|
108
|
-
//# sourceMappingURL=workflow-
|
|
108
|
+
//# sourceMappingURL=workflow-DoewHe4K.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-
|
|
1
|
+
{"version":3,"file":"workflow-DoewHe4K.js","names":["createState"],"sources":["../../document-models/workflow/v1/gen/controller.ts","../../document-models/workflow/v1/gen/ph-factories.ts","../../document-models/workflow/v1/hooks.ts"],"sourcesContent":["/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport { PHDocumentController } from \"document-model\";\nimport { Workflow } from \"../module.js\";\nimport type { WorkflowAction, WorkflowPHState } from \"./types.js\";\n\nexport const WorkflowController = PHDocumentController.forDocumentModel<\n WorkflowPHState,\n WorkflowAction\n>(Workflow);\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n * Factory methods for creating WorkflowDocument instances\n */\nimport type { PHAuthState, PHBaseState, PHDocumentState } from \"document-model\";\nimport { createBaseState, defaultBaseState } from \"document-model\";\nimport type {\n WorkflowDocument,\n WorkflowGlobalState,\n WorkflowLocalState,\n WorkflowPHState,\n} from \"./types.js\";\nimport { utils } from \"./utils.js\";\n\nexport function defaultGlobalState(): WorkflowGlobalState {\n return {\n name: \"\",\n description: null,\n status: \"DRAFT\",\n version: 0,\n trigger: null,\n steps: [],\n edges: [],\n variables: [],\n policy: {\n concurrency: \"QUEUE\",\n maxParallelRuns: null,\n runTimeoutSeconds: 3600,\n maxSuspensionDays: 30,\n defaultRetry: {\n maxAttempts: 1,\n backoff: \"FIXED\",\n initialDelaySeconds: 5,\n maxDelaySeconds: 300,\n retryOn: [],\n },\n onFailure: \"PARK\",\n retainRunsDays: 30,\n journalAsDocument: false,\n },\n published: null,\n lastRunAt: null,\n lastRunStatus: null,\n };\n}\n\nexport function defaultLocalState(): WorkflowLocalState {\n return {};\n}\n\nexport function defaultPHState(): WorkflowPHState {\n return {\n ...defaultBaseState(),\n global: defaultGlobalState(),\n local: defaultLocalState(),\n };\n}\n\nexport function createGlobalState(\n state?: Partial<WorkflowGlobalState>,\n): WorkflowGlobalState {\n return {\n ...defaultGlobalState(),\n ...(state || {}),\n };\n}\n\nexport function createLocalState(\n state?: Partial<WorkflowLocalState>,\n): WorkflowLocalState {\n return {\n ...defaultLocalState(),\n ...(state || {}),\n } as WorkflowLocalState;\n}\n\nexport function createState(\n baseState?: Partial<PHBaseState>,\n globalState?: Partial<WorkflowGlobalState>,\n localState?: Partial<WorkflowLocalState>,\n): WorkflowPHState {\n return {\n ...createBaseState(baseState?.auth, baseState?.document),\n global: createGlobalState(globalState),\n local: createLocalState(localState),\n };\n}\n\n/**\n * Creates a WorkflowDocument with custom global and local state\n * This properly handles the PHBaseState requirements while allowing\n * document-specific state to be set.\n */\nexport function createWorkflowDocument(\n state?: Partial<{\n auth?: Partial<PHAuthState>;\n document?: Partial<PHDocumentState>;\n global?: Partial<WorkflowGlobalState>;\n local?: Partial<WorkflowLocalState>;\n }>,\n): WorkflowDocument {\n const document = utils.createDocument(\n createState(\n createBaseState(state?.auth, { version: 1, ...state?.document }),\n state?.global,\n state?.local,\n ),\n );\n\n return document;\n}\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentDispatch } from \"@powerhousedao/reactor-browser\";\nimport {\n useDocumentById,\n useDocumentsInSelectedDrive,\n useDocumentsInSelectedFolder,\n useSelectedDocument,\n} from \"@powerhousedao/reactor-browser\";\nimport type {\n WorkflowAction,\n WorkflowDocument,\n} from \"document-models/workflow/v1\";\nimport {\n assertIsWorkflowDocument,\n isWorkflowDocument,\n} from \"./gen/document-schema.js\";\n\n/** Hook to get a Workflow document by its id */\nexport function useWorkflowDocumentById(\n documentId: string | null | undefined,\n):\n | [WorkflowDocument, DocumentDispatch<WorkflowAction>]\n | [undefined, undefined] {\n const [document, dispatch] = useDocumentById(documentId);\n if (!isWorkflowDocument(document)) return [undefined, undefined];\n return [document, dispatch];\n}\n\n/** Hook to get the selected Workflow document */\nexport function useSelectedWorkflowDocument(): [\n WorkflowDocument,\n DocumentDispatch<WorkflowAction>,\n] {\n const [document, dispatch] = useSelectedDocument();\n\n assertIsWorkflowDocument(document);\n return [document, dispatch] as const;\n}\n\n/** Hook to get all Workflow documents in the selected drive */\nexport function useWorkflowDocumentsInSelectedDrive() {\n const documentsInSelectedDrive = useDocumentsInSelectedDrive();\n return documentsInSelectedDrive?.filter(isWorkflowDocument);\n}\n\n/** Hook to get all Workflow documents in the selected folder */\nexport function useWorkflowDocumentsInSelectedFolder() {\n const documentsInSelectedFolder = useDocumentsInSelectedFolder();\n return documentsInSelectedFolder?.filter(isWorkflowDocument);\n}\n"],"mappings":";;;;;;;;AAQA,MAAa,qBAAqB,qBAAqB,iBAGrD,QAAQ;;;ACIV,SAAgB,qBAA0C;CACxD,OAAO;EACL,MAAM;EACN,aAAa;EACb,QAAQ;EACR,SAAS;EACT,SAAS;EACT,OAAO,CAAC;EACR,OAAO,CAAC;EACR,WAAW,CAAC;EACZ,QAAQ;GACN,aAAa;GACb,iBAAiB;GACjB,mBAAmB;GACnB,mBAAmB;GACnB,cAAc;IACZ,aAAa;IACb,SAAS;IACT,qBAAqB;IACrB,iBAAiB;IACjB,SAAS,CAAC;GACZ;GACA,WAAW;GACX,gBAAgB;GAChB,mBAAmB;EACrB;EACA,WAAW;EACX,WAAW;EACX,eAAe;CACjB;AACF;AAEA,SAAgB,oBAAwC;CACtD,OAAO,CAAC;AACV;AAEA,SAAgB,iBAAkC;CAChD,OAAO;EACL,GAAG,iBAAiB;EACpB,QAAQ,mBAAmB;EAC3B,OAAO,kBAAkB;CAC3B;AACF;AAEA,SAAgB,kBACd,OACqB;CACrB,OAAO;EACL,GAAG,mBAAmB;EACtB,GAAI,SAAS,CAAC;CAChB;AACF;AAEA,SAAgB,iBACd,OACoB;CACpB,OAAO;EACL,GAAG,kBAAkB;EACrB,GAAI,SAAS,CAAC;CAChB;AACF;AAEA,SAAgBA,cACd,WACA,aACA,YACiB;CACjB,OAAO;EACL,GAAG,gBAAgB,WAAW,MAAM,WAAW,QAAQ;EACvD,QAAQ,kBAAkB,WAAW;EACrC,OAAO,iBAAiB,UAAU;CACpC;AACF;;;;;;AAOA,SAAgB,uBACd,OAMkB;CASlB,OARiB,MAAM,eACrBA,cACE,gBAAgB,OAAO,MAAM;EAAE,SAAS;EAAG,GAAG,OAAO;CAAS,CAAC,GAC/D,OAAO,QACP,OAAO,KACT,CAGY;AAChB;;;;AC1FA,SAAgB,wBACd,YAGyB;CACzB,MAAM,CAAC,UAAU,YAAY,gBAAgB,UAAU;CACvD,IAAI,CAAC,mBAAmB,QAAQ,GAAG,OAAO,CAAC,KAAA,GAAW,KAAA,CAAS;CAC/D,OAAO,CAAC,UAAU,QAAQ;AAC5B;;AAGA,SAAgB,8BAGd;CACA,MAAM,CAAC,UAAU,YAAY,oBAAoB;CAEjD,yBAAyB,QAAQ;CACjC,OAAO,CAAC,UAAU,QAAQ;AAC5B;;AAGA,SAAgB,sCAAsC;CAEpD,OADiC,4BACH,CAAC,EAAE,OAAO,kBAAkB;AAC5D;;AAGA,SAAgB,uCAAuC;CAErD,OADkC,6BACH,CAAC,EAAE,OAAO,kBAAkB;AAC7D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as isCoreBlock, A as keepPreviousData, B as Subscribable, C as infiniteQueryBehavior, D as focusManager, E as pendingThenable, F as resolveStaleTime, G as BRANCH_BLOCK, H as createRuntimeClient, I as shallowEqualObjects, L as shouldThrowError, M as replaceData, N as replaceEqualDeep, O as isServer, P as resolveEnabled, Q as WEBHOOK_TRIGGER, R as timeUntilStale, S as hasPreviousPage, T as notifyManager, U as isSyncingError, W as ASSERT_BLOCK, Y as SCHEDULE_TRIGGER, _ as runtimeKeys, a as pieceActionsQuery, b as QueryClient, c as runQuery, d as secretStatQuery, et as pinBlock, g as queryKind, gt as scheduleConfigIssue, h as blockRefKey, j as noop, k as isValidTimeout, lt as checkTriggerStrategy, m as SHARED_STALE_MS, n as catalogQuery, nt as stepBlock, o as pieceTriggersQuery, p as RESOLVER_STALE_MS, q as MANUAL_TRIGGER, r as createRuntimeQueryClient, s as runPagesQuery, u as runsQuery, w as fetchState, x as hasNextPage, z as timeoutManager } from "./runtime-queries-
|
|
2
|
-
import { Rt as blockKey, zt as compareVersions } from "./module-
|
|
1
|
+
import { $ as isCoreBlock, A as keepPreviousData, B as Subscribable, C as infiniteQueryBehavior, D as focusManager, E as pendingThenable, F as resolveStaleTime, G as BRANCH_BLOCK, H as createRuntimeClient, I as shallowEqualObjects, L as shouldThrowError, M as replaceData, N as replaceEqualDeep, O as isServer, P as resolveEnabled, Q as WEBHOOK_TRIGGER, R as timeUntilStale, S as hasPreviousPage, T as notifyManager, U as isSyncingError, W as ASSERT_BLOCK, Y as SCHEDULE_TRIGGER, _ as runtimeKeys, a as pieceActionsQuery, b as QueryClient, c as runQuery, d as secretStatQuery, et as pinBlock, g as queryKind, gt as scheduleConfigIssue, h as blockRefKey, j as noop, k as isValidTimeout, lt as checkTriggerStrategy, m as SHARED_STALE_MS, n as catalogQuery, nt as stepBlock, o as pieceTriggersQuery, p as RESOLVER_STALE_MS, q as MANUAL_TRIGGER, r as createRuntimeQueryClient, s as runPagesQuery, u as runsQuery, w as fetchState, x as hasNextPage, z as timeoutManager } from "./runtime-queries-CZ7vFHoG.mjs";
|
|
2
|
+
import { Rt as blockKey, zt as compareVersions } from "./module-uKdoLIga.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { Component, Fragment, createContext, useContext, useEffect, useId, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -5998,7 +5998,7 @@ function usePieceSource() {
|
|
|
5998
5998
|
return useContext(PieceSourceContext);
|
|
5999
5999
|
}
|
|
6000
6000
|
//#endregion
|
|
6001
|
-
//#region ../reactor/dist/drive-container-types-
|
|
6001
|
+
//#region ../reactor/dist/drive-container-types-Ci1pdv4X.js
|
|
6002
6002
|
const DRIVE_COLLECTION_PREFIX = "drive.";
|
|
6003
6003
|
/**
|
|
6004
6004
|
* Identifies the collection a remote synchronizes. Collections are drive-level
|
|
@@ -6751,7 +6751,8 @@ const RUN_TONE = {
|
|
|
6751
6751
|
const STEP_TONE = {
|
|
6752
6752
|
...RUN_TONE,
|
|
6753
6753
|
SKIPPED: "idle",
|
|
6754
|
-
REPLAYED: "run"
|
|
6754
|
+
REPLAYED: "run",
|
|
6755
|
+
INDETERMINATE: "warn"
|
|
6755
6756
|
};
|
|
6756
6757
|
function runTone(run) {
|
|
6757
6758
|
if (run.status === "SUCCEEDED" && (run.warningNotes?.length ?? 0) > 0) return "warn";
|
|
@@ -6847,6 +6848,10 @@ function runStats(runs) {
|
|
|
6847
6848
|
successRate: finished === 0 ? null : Math.round(succeeded / finished * 100)
|
|
6848
6849
|
};
|
|
6849
6850
|
}
|
|
6851
|
+
const RUN_DEADLINE_ERROR_NAME = "RunDeadlineExceeded";
|
|
6852
|
+
function canRerun(run) {
|
|
6853
|
+
return run.status === "FAILED" || run.status === "CANCELLED" && run.errorName === RUN_DEADLINE_ERROR_NAME;
|
|
6854
|
+
}
|
|
6850
6855
|
//#endregion
|
|
6851
6856
|
//#region editors/workflow-editor/ui/block-meta.ts
|
|
6852
6857
|
const CORE_META = {
|
|
@@ -7630,6 +7635,6 @@ function BlockSelector(props) {
|
|
|
7630
7635
|
});
|
|
7631
7636
|
}
|
|
7632
7637
|
//#endregion
|
|
7633
|
-
export {
|
|
7638
|
+
export { useWebhookEndpoint as $, runTimeline as A, Toggle as At, useBlockResolutions as B, useQuery as Bt, formatAbsolute as C, FieldLabel as Ct, formatWhen as D, Select as Dt, formatTrigger as E, Segmented as Et, DesignTimeProvider as F, Icon as Ft, useDynamicLookup as G, useConnectionList as H, useBlockForm as I, isIconName as It, useOptionSearch as J, useDynamicPrefetch as K, useBlockFormLoader as L, DocumentErrorBoundary as Lt, statusLabel as M, invalidClass as Mt, toneOf as N, textAreaClass as Nt, runStats as O, Switch as Ot, workflowHealth as P, textInputClass as Pt, useTestTrigger as Q, useBlockForms as R, DocumentLoadError as Rt, durationMs as S, FieldError as St, formatMs as T, IconButton as Tt, useDesignTime as U, useCachedBlockForm as V, useDynamicCache as W, useRunById as X, useResolvedProp as Y, useTestStepRunner as Z, RUN_TONE as _, useRunsQuery as _t, resolutionText as a, settingFor as at, TONE_TEXT as b, useSecretStat as bt, useResolution as c, undeclaredPortIssues as ct, pieceDisplayName as d, WorkflowRuntimeProvider as dt, blockMissing as et, pieceLogo as f, useOAuthAttempt as ft, RUN_STATUSES as g, useRunQuery as gt, CONNECTION_TONE as h, useRunPagesQuery as ht, VersionSummary as i, resolverInputFor as it, runTone as j, Tooltip as jt, runStatusLabel as k, Tabs as kt, versionBadge as l, withSetting as lt, usePieceLogos as m, usePieceCatalog as mt, BlockSelector as n, isPropVisible as nt, runsDifferentVersion as o, storedSchema as ot, useBlockMeta as p, useOAuthRedirectUri as pt, useLatestRun as q, BlockResolutionsProvider as r, parsePropList as rt, updateVersion as s, stripOptions as st, BlockLogo as t, isEmptyValue as tt, blockMeta as u, workflowReadiness as ut, STEP_TONE as v, useRuntime as vt, formatDuration as w, Hint as wt, canRerun as x, Button as xt, TONE_DOT as y, useRuntimeActions as yt, useBlockPorts as z, errorMessage as zt };
|
|
7634
7639
|
|
|
7635
|
-
//# sourceMappingURL=BlockSelector-
|
|
7640
|
+
//# sourceMappingURL=BlockSelector-DidV3yJx.mjs.map
|