@acmekit/dashboard 2.13.33 → 2.13.35
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/{api-key-management-create-4AG76FJV.mjs → api-key-management-create-U37VC624.mjs} +3 -3
- package/dist/{api-key-management-detail-T2TB4KST.mjs → api-key-management-detail-ZYKL4ATI.mjs} +10 -10
- package/dist/{api-key-management-edit-R44OHS7B.mjs → api-key-management-edit-TSZGMIBL.mjs} +3 -3
- package/dist/{api-key-management-list-QK4Q7Y5I.mjs → api-key-management-list-HCJFJWWB.mjs} +3 -3
- package/dist/app.css +31 -0
- package/dist/app.js +3726 -1386
- package/dist/app.mjs +240 -38
- package/dist/{chunk-GBFVWROS.mjs → chunk-5IEHCYJO.mjs} +1 -1
- package/dist/{chunk-DQCEH3X2.mjs → chunk-7F3CWXUH.mjs} +1 -1
- package/dist/chunk-A7ULKHDE.mjs +126 -0
- package/dist/{chunk-DN3MIYQH.mjs → chunk-FKTMBR44.mjs} +1 -1
- package/dist/chunk-GBPAZAJK.mjs +34 -0
- package/dist/{chunk-YRWSG3YM.mjs → chunk-HHPPTD3B.mjs} +1 -1
- package/dist/chunk-LP6CPB7N.mjs +213 -0
- package/dist/{chunk-EFRMWHRX.mjs → chunk-PFZQYK7R.mjs} +1 -1
- package/dist/{chunk-XIM7X4FB.mjs → chunk-SYACY6AL.mjs} +1 -1
- package/dist/{chunk-2U3RK3JG.mjs → chunk-VEI6HW6L.mjs} +3 -5
- package/dist/{chunk-ST2YB7JN.mjs → chunk-WLRJXEKL.mjs} +1 -1
- package/dist/{chunk-ULSPL3DR.mjs → chunk-XIP35KXF.mjs} +1 -1
- package/dist/{chunk-DTY37DDZ.mjs → chunk-YKIWIMJX.mjs} +1 -0
- package/dist/en.json +132 -3
- package/dist/{invite-XGPZZBUP.mjs → invite-3JSNOA2B.mjs} +3 -3
- package/dist/{login-GNP3QIPI.mjs → login-BEJ5EFGE.mjs} +9 -9
- package/dist/{profile-detail-YX27F7N6.mjs → profile-detail-QVTJC4JC.mjs} +3 -3
- package/dist/{profile-edit-2VRDU75O.mjs → profile-edit-MIO62TWH.mjs} +3 -3
- package/dist/{reset-password-TWRNZO6Z.mjs → reset-password-BN4KAJQL.mjs} +2 -2
- package/dist/{settings-3XWLL5LG.mjs → settings-GH5IWXHE.mjs} +3 -3
- package/dist/{translation-list-CCEQJNED.mjs → translation-list-JA22BUKN.mjs} +10 -10
- package/dist/{translations-edit-E57GVUFV.mjs → translations-edit-STTMANVT.mjs} +11 -11
- package/dist/{user-detail-KUSRRVNX.mjs → user-detail-WCXBFRGS.mjs} +3 -3
- package/dist/{user-edit-HTN3ZGCL.mjs → user-edit-XDVMJOS4.mjs} +3 -3
- package/dist/{user-invite-E3FAAU3V.mjs → user-invite-73ZDSDFC.mjs} +3 -3
- package/dist/{user-list-KNJ5S3IM.mjs → user-list-MPJXE3CA.mjs} +5 -5
- package/dist/{user-metadata-5GQK75DT.mjs → user-metadata-ADNTL3LT.mjs} +10 -10
- package/dist/workflow-analytics-4WCI4ODQ.mjs +152 -0
- package/dist/workflow-definition-detail-GI6CFBMG.mjs +94 -0
- package/dist/workflow-definition-list-GF3XAEPS.mjs +142 -0
- package/dist/workflow-execution-complete-step-WSRLO572.mjs +245 -0
- package/dist/workflow-execution-detail-3RH6EQSS.mjs +1411 -0
- package/dist/workflow-execution-list-AQEGAME4.mjs +596 -0
- package/dist/workflow-execution-rerun-WCYLYL3Q.mjs +138 -0
- package/dist/workflow-execution-run-MWN5KWNY.mjs +135 -0
- package/dist/workflow-scheduled-list-ZPXR7CZM.mjs +174 -0
- package/package.json +9 -9
- package/src/components/layout/main-layout/main-layout.tsx +28 -1
- package/src/dashboard-app/routes/get-route.map.tsx +71 -0
- package/src/hooks/api/workflow-definitions.tsx +79 -0
- package/src/hooks/api/workflow-executions.tsx +145 -1
- package/src/hooks/api/workflow-metrics.tsx +48 -0
- package/src/hooks/use-workflow-sse.tsx +78 -0
- package/src/i18n/translations/$schema.json +534 -4
- package/src/i18n/translations/en.json +132 -3
- package/src/routes/workflow-analytics/workflow-analytics.tsx +167 -0
- package/src/routes/workflow-definitions/workflow-definition-detail/workflow-definition-detail.tsx +98 -0
- package/src/routes/workflow-definitions/workflow-definition-list/components/workflow-definition-list-table/use-workflow-definition-table-columns.tsx +78 -0
- package/src/routes/workflow-definitions/workflow-definition-list/components/workflow-definition-list-table/workflow-definition-list-table.tsx +65 -0
- package/src/routes/workflow-definitions/workflow-definition-list/workflow-definition-list.tsx +15 -0
- package/src/routes/workflow-executions/constants.ts +16 -0
- package/src/routes/workflow-executions/utils.ts +170 -14
- package/src/routes/workflow-executions/workflow-execution-complete-step/workflow-execution-complete-step.tsx +270 -0
- package/src/routes/workflow-executions/workflow-execution-detail/breadcrumb.tsx +7 -1
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-action-bar/index.ts +1 -0
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-action-bar/workflow-execution-action-bar.tsx +212 -0
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-error-card/index.ts +1 -0
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-error-card/workflow-execution-error-card.tsx +59 -0
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-history-section/workflow-execution-history-section.tsx +157 -6
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-payload-section/workflow-execution-payload-section.tsx +122 -6
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-timeline-section/workflow-execution-timeline-section.tsx +7 -1
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-waiting-banner/index.ts +1 -0
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-waiting-banner/workflow-execution-waiting-banner.tsx +63 -0
- package/src/routes/workflow-executions/workflow-execution-detail/workflow-detail.tsx +46 -1
- package/src/routes/workflow-executions/workflow-execution-list/components/workflow-execution-list-table/use-workflow-execution-table-columns.tsx +7 -0
- package/src/routes/workflow-executions/workflow-execution-list/components/workflow-execution-list-table/use-workflow-execution-table-filters.tsx +7 -1
- package/src/routes/workflow-executions/workflow-execution-list/components/workflow-execution-list-table/use-workflow-execution-table-query.tsx +4 -2
- package/src/routes/workflow-executions/workflow-execution-list/components/workflow-execution-list-table/workflow-execution-auto-refresh.tsx +73 -0
- package/src/routes/workflow-executions/workflow-execution-list/components/workflow-execution-list-table/workflow-execution-list-table.tsx +17 -1
- package/src/routes/workflow-executions/workflow-execution-list/components/workflow-execution-list-table/workflow-execution-row-actions.tsx +116 -0
- package/src/routes/workflow-executions/workflow-execution-list/components/workflow-execution-list-table/workflow-execution-saved-views.tsx +84 -0
- package/src/routes/workflow-executions/workflow-execution-list/workflow-execution-list.tsx +1 -1
- package/src/routes/workflow-executions/workflow-execution-rerun/workflow-execution-rerun.tsx +159 -0
- package/src/routes/workflow-executions/workflow-execution-run/workflow-execution-run.tsx +139 -0
- package/src/routes/workflow-scheduled/workflow-scheduled-list.tsx +269 -0
- package/dist/chunk-LKWTBYYC.mjs +0 -35
- package/dist/chunk-RPAL6FHW.mjs +0 -73
- package/dist/workflow-execution-detail-5O5VCXL3.mjs +0 -870
- package/dist/workflow-execution-list-DETG4MRT.mjs +0 -347
- /package/dist/{chunk-22YYMH6M.mjs → chunk-RISX76YT.mjs} +0 -0
package/dist/app.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
FeatureFlagProvider,
|
|
6
6
|
useFeatureFlag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7F3CWXUH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isFetchError
|
|
10
10
|
} from "./chunk-TCNCAWYD.mjs";
|
|
@@ -21,15 +21,15 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
notificationQueryKeys,
|
|
23
23
|
useNotifications
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-WLRJXEKL.mjs";
|
|
25
25
|
import {
|
|
26
26
|
useLogout
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-5IEHCYJO.mjs";
|
|
28
|
+
import "./chunk-XIP35KXF.mjs";
|
|
29
|
+
import "./chunk-PFZQYK7R.mjs";
|
|
30
|
+
import "./chunk-A7ULKHDE.mjs";
|
|
31
|
+
import "./chunk-FKTMBR44.mjs";
|
|
32
|
+
import "./chunk-SYACY6AL.mjs";
|
|
33
33
|
import {
|
|
34
34
|
Skeleton
|
|
35
35
|
} from "./chunk-ITNQKZQQ.mjs";
|
|
@@ -42,14 +42,14 @@ import {
|
|
|
42
42
|
import "./chunk-ND3ODI36.mjs";
|
|
43
43
|
import {
|
|
44
44
|
useMe
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-HHPPTD3B.mjs";
|
|
46
46
|
import {
|
|
47
47
|
queryClient
|
|
48
48
|
} from "./chunk-FXYH54JP.mjs";
|
|
49
49
|
import "./chunk-774WSTCC.mjs";
|
|
50
50
|
import {
|
|
51
51
|
sdk
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-YKIWIMJX.mjs";
|
|
53
53
|
import {
|
|
54
54
|
__publicField
|
|
55
55
|
} from "./chunk-QZ7TP4HQ.mjs";
|
|
@@ -11890,7 +11890,10 @@ var en_default = {
|
|
|
11890
11890
|
stepsCompletedLabel_one: "{{completed}} of {{count}} step",
|
|
11891
11891
|
stepsCompletedLabel_other: "{{completed}} of {{count}} steps",
|
|
11892
11892
|
list: {
|
|
11893
|
-
noRecordsMessage: "No workflows have been executed, yet."
|
|
11893
|
+
noRecordsMessage: "No workflows have been executed, yet.",
|
|
11894
|
+
noFilterResults: "No executions match your current filters.",
|
|
11895
|
+
clearFilters: "Clear filters",
|
|
11896
|
+
viewAll: "View all executions"
|
|
11894
11897
|
},
|
|
11895
11898
|
history: {
|
|
11896
11899
|
sectionTitle: "History",
|
|
@@ -11903,7 +11906,11 @@ var en_default = {
|
|
|
11903
11906
|
outputLabel: "Output",
|
|
11904
11907
|
compensateInputLabel: "Compensate input",
|
|
11905
11908
|
revertedLabel: "Reverted",
|
|
11906
|
-
errorLabel: "Error"
|
|
11909
|
+
errorLabel: "Error",
|
|
11910
|
+
idempotencyKeyLabel: "Idempotency key",
|
|
11911
|
+
showCompensation: "Show compensation",
|
|
11912
|
+
showInvoke: "Show invoke",
|
|
11913
|
+
retryFromStep: "Retry from this step"
|
|
11907
11914
|
},
|
|
11908
11915
|
state: {
|
|
11909
11916
|
done: "Done",
|
|
@@ -11911,7 +11918,8 @@ var en_default = {
|
|
|
11911
11918
|
reverted: "Reverted",
|
|
11912
11919
|
invoking: "Invoking",
|
|
11913
11920
|
compensating: "Compensating",
|
|
11914
|
-
notStarted: "Not started"
|
|
11921
|
+
notStarted: "Not started",
|
|
11922
|
+
waitingResponse: "Waiting for response"
|
|
11915
11923
|
},
|
|
11916
11924
|
transaction: {
|
|
11917
11925
|
state: {
|
|
@@ -11925,6 +11933,127 @@ var en_default = {
|
|
|
11925
11933
|
dormant: "Dormant",
|
|
11926
11934
|
timeout: "Timeout"
|
|
11927
11935
|
}
|
|
11936
|
+
},
|
|
11937
|
+
actions: {
|
|
11938
|
+
retry: "Retry",
|
|
11939
|
+
retryWithSameInput: "Retry with same input",
|
|
11940
|
+
retryWithNewInput: "Retry with new input...",
|
|
11941
|
+
cancel: "Cancel execution",
|
|
11942
|
+
cancelConfirmTitle: "Cancel workflow execution?",
|
|
11943
|
+
cancelConfirmDescription: "This will stop {{workflow_id}} and run compensation for all completed steps.",
|
|
11944
|
+
cancelReasonLabel: "Reason (optional)",
|
|
11945
|
+
cancelSuccess: "Workflow execution cancelled successfully",
|
|
11946
|
+
retrySuccess: "Workflow re-run started successfully",
|
|
11947
|
+
retryStepSuccess: "Step retry initiated successfully",
|
|
11948
|
+
runWorkflow: "Run workflow",
|
|
11949
|
+
exportJson: "Export as JSON",
|
|
11950
|
+
exportCsv: "Export as CSV",
|
|
11951
|
+
completeStep: "Complete step",
|
|
11952
|
+
markAsSuccessful: "Mark as successful",
|
|
11953
|
+
markAsFailed: "Mark as failed",
|
|
11954
|
+
viewDetails: "View details"
|
|
11955
|
+
},
|
|
11956
|
+
rerun: {
|
|
11957
|
+
title: "Re-run workflow",
|
|
11958
|
+
inputLabel: "Input (JSON)",
|
|
11959
|
+
transactionIdLabel: "Transaction ID (optional)",
|
|
11960
|
+
submit: "Run workflow",
|
|
11961
|
+
autoGenerated: "auto-generated",
|
|
11962
|
+
success: "Workflow re-run started successfully"
|
|
11963
|
+
},
|
|
11964
|
+
error: {
|
|
11965
|
+
failureAtStep: "Failure at step: {{step}}",
|
|
11966
|
+
jumpToStep: "Jump to step",
|
|
11967
|
+
attemptInfo: "Attempt {{attempt}} of {{maxAttempts}}",
|
|
11968
|
+
failedAt: "Failed at {{time}}"
|
|
11969
|
+
},
|
|
11970
|
+
filters: {
|
|
11971
|
+
savedViews: "Saved views",
|
|
11972
|
+
saveCurrentFilter: "Save current filter",
|
|
11973
|
+
savedViewName: "View name",
|
|
11974
|
+
autoRefresh: "Auto-refresh",
|
|
11975
|
+
refreshNow: "Refresh now",
|
|
11976
|
+
everyNSeconds: "Every {{n}}s",
|
|
11977
|
+
off: "Off",
|
|
11978
|
+
hasErrors: "Has errors",
|
|
11979
|
+
all: "All",
|
|
11980
|
+
allExecutions: "All executions",
|
|
11981
|
+
running: "Running",
|
|
11982
|
+
failedToday: "Failed today"
|
|
11983
|
+
},
|
|
11984
|
+
definitions: {
|
|
11985
|
+
domain: "Definitions",
|
|
11986
|
+
subtitle: "Browse all registered workflow definitions.",
|
|
11987
|
+
name: "Name",
|
|
11988
|
+
steps: "Steps",
|
|
11989
|
+
stepCount: "Steps",
|
|
11990
|
+
handlers: "Handlers",
|
|
11991
|
+
lastRun: "Last run",
|
|
11992
|
+
nextRun: "Next run",
|
|
11993
|
+
scheduled: "Scheduled",
|
|
11994
|
+
runThisWorkflow: "Run this workflow",
|
|
11995
|
+
noRecordsMessage: "No workflow definitions found."
|
|
11996
|
+
},
|
|
11997
|
+
scheduled: {
|
|
11998
|
+
domain: "Scheduled",
|
|
11999
|
+
subtitle: "View and manage scheduled workflow executions.",
|
|
12000
|
+
schedule: "Schedule",
|
|
12001
|
+
nextRun: "Next run",
|
|
12002
|
+
lastRun: "Last run",
|
|
12003
|
+
pause: "Pause",
|
|
12004
|
+
resume: "Resume",
|
|
12005
|
+
runNow: "Run now",
|
|
12006
|
+
noRecordsMessage: "No scheduled workflows found."
|
|
12007
|
+
},
|
|
12008
|
+
analytics: {
|
|
12009
|
+
domain: "Analytics",
|
|
12010
|
+
subtitle: "Workflow execution metrics and trends.",
|
|
12011
|
+
executions24h: "Executions (24h)",
|
|
12012
|
+
successRate: "Success rate",
|
|
12013
|
+
avgDuration: "Avg duration",
|
|
12014
|
+
runningNow: "Running now",
|
|
12015
|
+
executionsOverTime: "Executions over time",
|
|
12016
|
+
perWorkflowBreakdown: "Per-workflow breakdown",
|
|
12017
|
+
slowestSteps: "Slowest steps",
|
|
12018
|
+
noDataMessage: "No metrics data available yet."
|
|
12019
|
+
},
|
|
12020
|
+
asyncStep: {
|
|
12021
|
+
waitingBanner: "Waiting for external response",
|
|
12022
|
+
waitingDescription: "Step {{step}} is awaiting a webhook callback.",
|
|
12023
|
+
idempotencyKey: "Idempotency key",
|
|
12024
|
+
completeTitle: "Complete step: {{step}}",
|
|
12025
|
+
responsePayload: "Response payload (JSON)",
|
|
12026
|
+
expiresIn: "Expires in {{time}}",
|
|
12027
|
+
stepLabel: "Step",
|
|
12028
|
+
outcomeLabel: "Outcome",
|
|
12029
|
+
success: "Success",
|
|
12030
|
+
failure: "Failure",
|
|
12031
|
+
markSuccess: "Mark as success",
|
|
12032
|
+
markFailure: "Mark as failure",
|
|
12033
|
+
completedSuccess: "Step completed successfully"
|
|
12034
|
+
},
|
|
12035
|
+
tabs: {
|
|
12036
|
+
executions: "Executions",
|
|
12037
|
+
definitions: "Definitions",
|
|
12038
|
+
scheduled: "Scheduled",
|
|
12039
|
+
analytics: "Analytics"
|
|
12040
|
+
},
|
|
12041
|
+
payload: {
|
|
12042
|
+
inputPayload: "Input payload",
|
|
12043
|
+
fullCheckpoint: "Full checkpoint",
|
|
12044
|
+
stepOutputs: "Step outputs",
|
|
12045
|
+
errors: "Errors",
|
|
12046
|
+
copyAll: "Copy all",
|
|
12047
|
+
downloadJson: "Download as JSON"
|
|
12048
|
+
},
|
|
12049
|
+
codeSnippet: {
|
|
12050
|
+
curl: "cURL",
|
|
12051
|
+
sdk: "SDK",
|
|
12052
|
+
replicateCall: "Replicate this call"
|
|
12053
|
+
},
|
|
12054
|
+
compare: {
|
|
12055
|
+
title: "Compare executions",
|
|
12056
|
+
selectExecution: "Select execution to compare"
|
|
11928
12057
|
}
|
|
11929
12058
|
},
|
|
11930
12059
|
shippingOptionTypes: {
|
|
@@ -93794,6 +93923,7 @@ var ProtectedRoute = () => {
|
|
|
93794
93923
|
|
|
93795
93924
|
// src/components/layout/main-layout/main-layout.tsx
|
|
93796
93925
|
import {
|
|
93926
|
+
Bolt,
|
|
93797
93927
|
ChevronDownMini,
|
|
93798
93928
|
CogSixTooth,
|
|
93799
93929
|
EllipsisHorizontal as EllipsisHorizontal2,
|
|
@@ -94981,7 +95111,32 @@ var Header = () => {
|
|
|
94981
95111
|
] }) });
|
|
94982
95112
|
};
|
|
94983
95113
|
var useCoreRoutes = () => {
|
|
94984
|
-
|
|
95114
|
+
const { t: t2 } = useTranslation8();
|
|
95115
|
+
return [
|
|
95116
|
+
{
|
|
95117
|
+
icon: /* @__PURE__ */ jsx17(Bolt, {}),
|
|
95118
|
+
label: t2("workflowExecutions.domain"),
|
|
95119
|
+
to: "/settings/workflows",
|
|
95120
|
+
items: [
|
|
95121
|
+
{
|
|
95122
|
+
label: t2("workflowExecutions.tabs.executions"),
|
|
95123
|
+
to: "/settings/workflows"
|
|
95124
|
+
},
|
|
95125
|
+
{
|
|
95126
|
+
label: t2("workflowExecutions.tabs.definitions"),
|
|
95127
|
+
to: "/settings/workflows/definitions"
|
|
95128
|
+
},
|
|
95129
|
+
{
|
|
95130
|
+
label: t2("workflowExecutions.tabs.scheduled"),
|
|
95131
|
+
to: "/settings/workflows/scheduled"
|
|
95132
|
+
},
|
|
95133
|
+
{
|
|
95134
|
+
label: t2("workflowExecutions.tabs.analytics"),
|
|
95135
|
+
to: "/settings/workflows/analytics"
|
|
95136
|
+
}
|
|
95137
|
+
]
|
|
95138
|
+
}
|
|
95139
|
+
];
|
|
94985
95140
|
};
|
|
94986
95141
|
var Searchbar = () => {
|
|
94987
95142
|
const { t: t2 } = useTranslation8();
|
|
@@ -95297,12 +95452,12 @@ var defaultSettingsRouteChildren = [
|
|
|
95297
95452
|
{
|
|
95298
95453
|
path: "profile",
|
|
95299
95454
|
errorElement: /* @__PURE__ */ jsx21(ErrorBoundary, {}),
|
|
95300
|
-
lazy: () => import("./profile-detail-
|
|
95455
|
+
lazy: () => import("./profile-detail-QVTJC4JC.mjs"),
|
|
95301
95456
|
handle: { breadcrumb: () => t("profile.domain") },
|
|
95302
95457
|
children: [
|
|
95303
95458
|
{
|
|
95304
95459
|
path: "edit",
|
|
95305
|
-
lazy: () => import("./profile-edit-
|
|
95460
|
+
lazy: () => import("./profile-edit-MIO62TWH.mjs")
|
|
95306
95461
|
}
|
|
95307
95462
|
]
|
|
95308
95463
|
},
|
|
@@ -95314,18 +95469,18 @@ var defaultSettingsRouteChildren = [
|
|
|
95314
95469
|
children: [
|
|
95315
95470
|
{
|
|
95316
95471
|
path: "",
|
|
95317
|
-
lazy: () => import("./user-list-
|
|
95472
|
+
lazy: () => import("./user-list-MPJXE3CA.mjs"),
|
|
95318
95473
|
children: [
|
|
95319
95474
|
{
|
|
95320
95475
|
path: "invite",
|
|
95321
|
-
lazy: () => import("./user-invite-
|
|
95476
|
+
lazy: () => import("./user-invite-73ZDSDFC.mjs")
|
|
95322
95477
|
}
|
|
95323
95478
|
]
|
|
95324
95479
|
},
|
|
95325
95480
|
{
|
|
95326
95481
|
path: ":id",
|
|
95327
95482
|
lazy: async () => {
|
|
95328
|
-
const { Component, Breadcrumb, loader } = await import("./user-detail-
|
|
95483
|
+
const { Component, Breadcrumb, loader } = await import("./user-detail-WCXBFRGS.mjs");
|
|
95329
95484
|
return {
|
|
95330
95485
|
Component,
|
|
95331
95486
|
loader,
|
|
@@ -95335,10 +95490,10 @@ var defaultSettingsRouteChildren = [
|
|
|
95335
95490
|
};
|
|
95336
95491
|
},
|
|
95337
95492
|
children: [
|
|
95338
|
-
{ path: "edit", lazy: () => import("./user-edit-
|
|
95493
|
+
{ path: "edit", lazy: () => import("./user-edit-XDVMJOS4.mjs") },
|
|
95339
95494
|
{
|
|
95340
95495
|
path: "metadata/edit",
|
|
95341
|
-
lazy: () => import("./user-metadata-
|
|
95496
|
+
lazy: () => import("./user-metadata-ADNTL3LT.mjs")
|
|
95342
95497
|
}
|
|
95343
95498
|
]
|
|
95344
95499
|
}
|
|
@@ -95355,11 +95510,11 @@ var defaultSettingsRouteChildren = [
|
|
|
95355
95510
|
children: [
|
|
95356
95511
|
{
|
|
95357
95512
|
path: "",
|
|
95358
|
-
lazy: () => import("./api-key-management-list-
|
|
95513
|
+
lazy: () => import("./api-key-management-list-HCJFJWWB.mjs"),
|
|
95359
95514
|
children: [
|
|
95360
95515
|
{
|
|
95361
95516
|
path: "create",
|
|
95362
|
-
lazy: () => import("./api-key-management-create-
|
|
95517
|
+
lazy: () => import("./api-key-management-create-U37VC624.mjs")
|
|
95363
95518
|
}
|
|
95364
95519
|
]
|
|
95365
95520
|
}
|
|
@@ -95368,7 +95523,7 @@ var defaultSettingsRouteChildren = [
|
|
|
95368
95523
|
{
|
|
95369
95524
|
path: ":id",
|
|
95370
95525
|
lazy: async () => {
|
|
95371
|
-
const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
95526
|
+
const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-ZYKL4ATI.mjs");
|
|
95372
95527
|
return {
|
|
95373
95528
|
Component,
|
|
95374
95529
|
loader,
|
|
@@ -95380,7 +95535,7 @@ var defaultSettingsRouteChildren = [
|
|
|
95380
95535
|
children: [
|
|
95381
95536
|
{
|
|
95382
95537
|
path: "edit",
|
|
95383
|
-
lazy: () => import("./api-key-management-edit-
|
|
95538
|
+
lazy: () => import("./api-key-management-edit-TSZGMIBL.mjs")
|
|
95384
95539
|
}
|
|
95385
95540
|
]
|
|
95386
95541
|
}
|
|
@@ -95397,11 +95552,11 @@ var defaultSettingsRouteChildren = [
|
|
|
95397
95552
|
children: [
|
|
95398
95553
|
{
|
|
95399
95554
|
path: "",
|
|
95400
|
-
lazy: () => import("./api-key-management-list-
|
|
95555
|
+
lazy: () => import("./api-key-management-list-HCJFJWWB.mjs"),
|
|
95401
95556
|
children: [
|
|
95402
95557
|
{
|
|
95403
95558
|
path: "create",
|
|
95404
|
-
lazy: () => import("./api-key-management-create-
|
|
95559
|
+
lazy: () => import("./api-key-management-create-U37VC624.mjs")
|
|
95405
95560
|
}
|
|
95406
95561
|
]
|
|
95407
95562
|
}
|
|
@@ -95410,7 +95565,7 @@ var defaultSettingsRouteChildren = [
|
|
|
95410
95565
|
{
|
|
95411
95566
|
path: ":id",
|
|
95412
95567
|
lazy: async () => {
|
|
95413
|
-
const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
95568
|
+
const { Component, Breadcrumb, loader } = await import("./api-key-management-detail-ZYKL4ATI.mjs");
|
|
95414
95569
|
return {
|
|
95415
95570
|
Component,
|
|
95416
95571
|
loader,
|
|
@@ -95422,7 +95577,7 @@ var defaultSettingsRouteChildren = [
|
|
|
95422
95577
|
children: [
|
|
95423
95578
|
{
|
|
95424
95579
|
path: "edit",
|
|
95425
|
-
lazy: () => import("./api-key-management-edit-
|
|
95580
|
+
lazy: () => import("./api-key-management-edit-TSZGMIBL.mjs")
|
|
95426
95581
|
}
|
|
95427
95582
|
]
|
|
95428
95583
|
}
|
|
@@ -95436,12 +95591,18 @@ var defaultSettingsRouteChildren = [
|
|
|
95436
95591
|
children: [
|
|
95437
95592
|
{
|
|
95438
95593
|
path: "",
|
|
95439
|
-
lazy: () => import("./workflow-execution-list-
|
|
95594
|
+
lazy: () => import("./workflow-execution-list-AQEGAME4.mjs"),
|
|
95595
|
+
children: [
|
|
95596
|
+
{
|
|
95597
|
+
path: "run",
|
|
95598
|
+
lazy: () => import("./workflow-execution-run-MWN5KWNY.mjs")
|
|
95599
|
+
}
|
|
95600
|
+
]
|
|
95440
95601
|
},
|
|
95441
95602
|
{
|
|
95442
95603
|
path: ":id",
|
|
95443
95604
|
lazy: async () => {
|
|
95444
|
-
const { Component, Breadcrumb, loader } = await import("./workflow-execution-detail-
|
|
95605
|
+
const { Component, Breadcrumb, loader } = await import("./workflow-execution-detail-3RH6EQSS.mjs");
|
|
95445
95606
|
return {
|
|
95446
95607
|
Component,
|
|
95447
95608
|
loader,
|
|
@@ -95449,7 +95610,48 @@ var defaultSettingsRouteChildren = [
|
|
|
95449
95610
|
breadcrumb: (match) => /* @__PURE__ */ jsx21(Breadcrumb, { ...match })
|
|
95450
95611
|
}
|
|
95451
95612
|
};
|
|
95452
|
-
}
|
|
95613
|
+
},
|
|
95614
|
+
children: [
|
|
95615
|
+
{
|
|
95616
|
+
path: "rerun",
|
|
95617
|
+
lazy: () => import("./workflow-execution-rerun-WCYLYL3Q.mjs")
|
|
95618
|
+
},
|
|
95619
|
+
{
|
|
95620
|
+
path: "complete-step",
|
|
95621
|
+
lazy: () => import("./workflow-execution-complete-step-WSRLO572.mjs")
|
|
95622
|
+
}
|
|
95623
|
+
]
|
|
95624
|
+
},
|
|
95625
|
+
{
|
|
95626
|
+
path: "definitions",
|
|
95627
|
+
element: /* @__PURE__ */ jsx21(Outlet4, {}),
|
|
95628
|
+
handle: {
|
|
95629
|
+
breadcrumb: () => t("workflowExecutions.definitions.domain")
|
|
95630
|
+
},
|
|
95631
|
+
children: [
|
|
95632
|
+
{
|
|
95633
|
+
path: "",
|
|
95634
|
+
lazy: () => import("./workflow-definition-list-GF3XAEPS.mjs")
|
|
95635
|
+
},
|
|
95636
|
+
{
|
|
95637
|
+
path: ":id",
|
|
95638
|
+
lazy: () => import("./workflow-definition-detail-GI6CFBMG.mjs"),
|
|
95639
|
+
children: [
|
|
95640
|
+
{
|
|
95641
|
+
path: "run",
|
|
95642
|
+
lazy: () => import("./workflow-execution-run-MWN5KWNY.mjs")
|
|
95643
|
+
}
|
|
95644
|
+
]
|
|
95645
|
+
}
|
|
95646
|
+
]
|
|
95647
|
+
},
|
|
95648
|
+
{
|
|
95649
|
+
path: "analytics",
|
|
95650
|
+
lazy: () => import("./workflow-analytics-4WCI4ODQ.mjs")
|
|
95651
|
+
},
|
|
95652
|
+
{
|
|
95653
|
+
path: "scheduled",
|
|
95654
|
+
lazy: () => import("./workflow-scheduled-list-ZPXR7CZM.mjs")
|
|
95453
95655
|
}
|
|
95454
95656
|
]
|
|
95455
95657
|
},
|
|
@@ -95460,17 +95662,17 @@ var defaultSettingsRouteChildren = [
|
|
|
95460
95662
|
children: [
|
|
95461
95663
|
{
|
|
95462
95664
|
path: "",
|
|
95463
|
-
lazy: () => import("./translation-list-
|
|
95665
|
+
lazy: () => import("./translation-list-JA22BUKN.mjs"),
|
|
95464
95666
|
children: [
|
|
95465
95667
|
{
|
|
95466
95668
|
path: "settings",
|
|
95467
|
-
lazy: () => import("./settings-
|
|
95669
|
+
lazy: () => import("./settings-GH5IWXHE.mjs")
|
|
95468
95670
|
}
|
|
95469
95671
|
]
|
|
95470
95672
|
},
|
|
95471
95673
|
{
|
|
95472
95674
|
path: "edit",
|
|
95473
|
-
lazy: () => import("./translations-edit-
|
|
95675
|
+
lazy: () => import("./translations-edit-STTMANVT.mjs")
|
|
95474
95676
|
}
|
|
95475
95677
|
]
|
|
95476
95678
|
}
|
|
@@ -95522,15 +95724,15 @@ function getRouteMap({
|
|
|
95522
95724
|
children: [
|
|
95523
95725
|
{
|
|
95524
95726
|
path: "/login",
|
|
95525
|
-
lazy: () => import("./login-
|
|
95727
|
+
lazy: () => import("./login-BEJ5EFGE.mjs")
|
|
95526
95728
|
},
|
|
95527
95729
|
{
|
|
95528
95730
|
path: "/reset-password",
|
|
95529
|
-
lazy: () => import("./reset-password-
|
|
95731
|
+
lazy: () => import("./reset-password-BN4KAJQL.mjs")
|
|
95530
95732
|
},
|
|
95531
95733
|
{
|
|
95532
95734
|
path: "/invite",
|
|
95533
|
-
lazy: () => import("./invite-
|
|
95735
|
+
lazy: () => import("./invite-3JSNOA2B.mjs")
|
|
95534
95736
|
},
|
|
95535
95737
|
{
|
|
95536
95738
|
path: "*",
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import {
|
|
2
|
+
queryClient
|
|
3
|
+
} from "./chunk-FXYH54JP.mjs";
|
|
4
|
+
import {
|
|
5
|
+
queryKeysFactory
|
|
6
|
+
} from "./chunk-774WSTCC.mjs";
|
|
7
|
+
import {
|
|
8
|
+
sdk
|
|
9
|
+
} from "./chunk-YKIWIMJX.mjs";
|
|
10
|
+
|
|
11
|
+
// src/hooks/api/workflow-executions.tsx
|
|
12
|
+
import {
|
|
13
|
+
useMutation,
|
|
14
|
+
useQuery
|
|
15
|
+
} from "@tanstack/react-query";
|
|
16
|
+
var WORKFLOW_EXECUTIONS_QUERY_KEY = "workflow_executions";
|
|
17
|
+
var workflowExecutionsQueryKeys = queryKeysFactory(
|
|
18
|
+
WORKFLOW_EXECUTIONS_QUERY_KEY
|
|
19
|
+
);
|
|
20
|
+
var useWorkflowExecutions = (query, options) => {
|
|
21
|
+
const { data, ...rest } = useQuery({
|
|
22
|
+
queryFn: () => sdk.admin.workflowExecution.list(query),
|
|
23
|
+
queryKey: workflowExecutionsQueryKeys.list(query),
|
|
24
|
+
...options
|
|
25
|
+
});
|
|
26
|
+
return { ...data, ...rest };
|
|
27
|
+
};
|
|
28
|
+
var useWorkflowExecution = (id, options) => {
|
|
29
|
+
const { data, ...rest } = useQuery({
|
|
30
|
+
queryFn: () => sdk.admin.workflowExecution.retrieve(id),
|
|
31
|
+
queryKey: workflowExecutionsQueryKeys.detail(id),
|
|
32
|
+
...options
|
|
33
|
+
});
|
|
34
|
+
return { ...data, ...rest };
|
|
35
|
+
};
|
|
36
|
+
var useRunWorkflow = (workflowId, options) => {
|
|
37
|
+
return useMutation({
|
|
38
|
+
mutationFn: (payload) => sdk.admin.workflowExecution.run(workflowId, payload),
|
|
39
|
+
onSuccess: (data, variables, context) => {
|
|
40
|
+
queryClient.invalidateQueries({
|
|
41
|
+
queryKey: workflowExecutionsQueryKeys.lists()
|
|
42
|
+
});
|
|
43
|
+
options?.onSuccess?.(data, variables, context);
|
|
44
|
+
},
|
|
45
|
+
...options
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
var useCancelWorkflowExecution = (workflowId, transactionId, options) => {
|
|
49
|
+
return useMutation({
|
|
50
|
+
mutationFn: (payload) => sdk.admin.workflowExecution.cancel(
|
|
51
|
+
workflowId,
|
|
52
|
+
transactionId,
|
|
53
|
+
payload || {}
|
|
54
|
+
),
|
|
55
|
+
onSuccess: (data, variables, context) => {
|
|
56
|
+
queryClient.invalidateQueries({
|
|
57
|
+
queryKey: workflowExecutionsQueryKeys.lists()
|
|
58
|
+
});
|
|
59
|
+
queryClient.invalidateQueries({
|
|
60
|
+
queryKey: workflowExecutionsQueryKeys.details()
|
|
61
|
+
});
|
|
62
|
+
options?.onSuccess?.(data, variables, context);
|
|
63
|
+
},
|
|
64
|
+
...options
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
var useRetryStep = (workflowId, transactionId, options) => {
|
|
68
|
+
return useMutation({
|
|
69
|
+
mutationFn: (payload) => sdk.admin.workflowExecution.retryStep(
|
|
70
|
+
workflowId,
|
|
71
|
+
transactionId,
|
|
72
|
+
payload
|
|
73
|
+
),
|
|
74
|
+
onSuccess: (data, variables, context) => {
|
|
75
|
+
queryClient.invalidateQueries({
|
|
76
|
+
queryKey: workflowExecutionsQueryKeys.lists()
|
|
77
|
+
});
|
|
78
|
+
queryClient.invalidateQueries({
|
|
79
|
+
queryKey: workflowExecutionsQueryKeys.details()
|
|
80
|
+
});
|
|
81
|
+
options?.onSuccess?.(data, variables, context);
|
|
82
|
+
},
|
|
83
|
+
...options
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
var useSetStepSuccess = (workflowId, options) => {
|
|
87
|
+
return useMutation({
|
|
88
|
+
mutationFn: (payload) => sdk.admin.workflowExecution.setStepSuccess(workflowId, payload),
|
|
89
|
+
onSuccess: (data, variables, context) => {
|
|
90
|
+
queryClient.invalidateQueries({
|
|
91
|
+
queryKey: workflowExecutionsQueryKeys.lists()
|
|
92
|
+
});
|
|
93
|
+
queryClient.invalidateQueries({
|
|
94
|
+
queryKey: workflowExecutionsQueryKeys.details()
|
|
95
|
+
});
|
|
96
|
+
options?.onSuccess?.(data, variables, context);
|
|
97
|
+
},
|
|
98
|
+
...options
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
var useSetStepFailure = (workflowId, options) => {
|
|
102
|
+
return useMutation({
|
|
103
|
+
mutationFn: (payload) => sdk.admin.workflowExecution.setStepFailure(workflowId, payload),
|
|
104
|
+
onSuccess: (data, variables, context) => {
|
|
105
|
+
queryClient.invalidateQueries({
|
|
106
|
+
queryKey: workflowExecutionsQueryKeys.lists()
|
|
107
|
+
});
|
|
108
|
+
queryClient.invalidateQueries({
|
|
109
|
+
queryKey: workflowExecutionsQueryKeys.details()
|
|
110
|
+
});
|
|
111
|
+
options?.onSuccess?.(data, variables, context);
|
|
112
|
+
},
|
|
113
|
+
...options
|
|
114
|
+
});
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
export {
|
|
118
|
+
workflowExecutionsQueryKeys,
|
|
119
|
+
useWorkflowExecutions,
|
|
120
|
+
useWorkflowExecution,
|
|
121
|
+
useRunWorkflow,
|
|
122
|
+
useCancelWorkflowExecution,
|
|
123
|
+
useRetryStep,
|
|
124
|
+
useSetStepSuccess,
|
|
125
|
+
useSetStepFailure
|
|
126
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
queryKeysFactory
|
|
3
|
+
} from "./chunk-774WSTCC.mjs";
|
|
4
|
+
import {
|
|
5
|
+
sdk
|
|
6
|
+
} from "./chunk-YKIWIMJX.mjs";
|
|
7
|
+
|
|
8
|
+
// src/hooks/api/workflow-definitions.tsx
|
|
9
|
+
import { useQuery } from "@tanstack/react-query";
|
|
10
|
+
var WORKFLOW_DEFINITIONS_QUERY_KEY = "workflow_definitions";
|
|
11
|
+
var workflowDefinitionsQueryKeys = queryKeysFactory(
|
|
12
|
+
WORKFLOW_DEFINITIONS_QUERY_KEY
|
|
13
|
+
);
|
|
14
|
+
var useWorkflowDefinitions = (query, options) => {
|
|
15
|
+
const { data, ...rest } = useQuery({
|
|
16
|
+
queryFn: () => sdk.admin.workflowDefinition.list(query),
|
|
17
|
+
queryKey: workflowDefinitionsQueryKeys.list(query),
|
|
18
|
+
...options
|
|
19
|
+
});
|
|
20
|
+
return { ...data, ...rest };
|
|
21
|
+
};
|
|
22
|
+
var useWorkflowDefinition = (id, options) => {
|
|
23
|
+
const { data, ...rest } = useQuery({
|
|
24
|
+
queryFn: () => sdk.admin.workflowDefinition.retrieve(id),
|
|
25
|
+
queryKey: workflowDefinitionsQueryKeys.detail(id),
|
|
26
|
+
...options
|
|
27
|
+
});
|
|
28
|
+
return { ...data, ...rest };
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
useWorkflowDefinitions,
|
|
33
|
+
useWorkflowDefinition
|
|
34
|
+
};
|