@prefecthq/prefect-ui-library 3.12.4 → 3.12.5
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/{RunsPageWithDefaultFilter-Bel6u2h6.mjs → RunsPageWithDefaultFilter-CQFT67so.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-Bel6u2h6.mjs.map → RunsPageWithDefaultFilter-CQFT67so.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-C8oMxvjr.mjs → WorkQueueToWorkPoolQueueRedirect-ChKFvzsT.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-C8oMxvjr.mjs.map → WorkQueueToWorkPoolQueueRedirect-ChKFvzsT.mjs.map} +1 -1
- package/dist/{index-2RteLIrR.mjs → index-SgClbU4m.mjs} +4 -4
- package/dist/{index-2RteLIrR.mjs.map → index-SgClbU4m.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +1 -1
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/components/AutomationMenu.vue.d.ts +4 -1
- package/dist/types/src/components/BlockTypeCardPreview.vue.d.ts +4 -1
- package/dist/types/src/components/DeploymentCustomRunOverflowMenuItem.vue.d.ts +4 -1
- package/dist/types/src/components/DeploymentDetails.vue.d.ts +4 -1
- package/dist/types/src/components/DeploymentMenu.vue.d.ts +4 -1
- package/dist/types/src/components/FlowMenu.vue.d.ts +4 -1
- package/dist/types/src/components/FlowRouterLink.vue.d.ts +4 -1
- package/dist/types/src/components/FlowRunArtifacts.vue.d.ts +4 -1
- package/dist/types/src/components/FlowRunMenu.vue.d.ts +4 -1
- package/dist/types/src/components/PageHeadingFlowRunCreate.vue.d.ts +1 -0
- package/dist/types/src/components/TaskRunArtifacts.vue.d.ts +4 -1
- package/dist/types/src/components/WorkPoolMenu.vue.d.ts +4 -1
- package/dist/types/src/components/WorkPoolQueueMenu.vue.d.ts +4 -1
- package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +4 -1
- package/dist/types/src/router/routes.d.ts +10 -6
- package/package.json +1 -1
- package/src/router/routes.ts +2 -1
|
@@ -182,7 +182,9 @@ declare const routes: {
|
|
|
182
182
|
readonly workspaceId?: string | undefined;
|
|
183
183
|
};
|
|
184
184
|
};
|
|
185
|
-
deployment: (deploymentId: string, versionId?: string
|
|
185
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
186
|
+
tab?: string;
|
|
187
|
+
} & import("vue-router").LocationQuery) => {
|
|
186
188
|
readonly name: "workspace.deployments.deployment";
|
|
187
189
|
readonly params: {
|
|
188
190
|
readonly accountId?: string | undefined;
|
|
@@ -190,6 +192,7 @@ declare const routes: {
|
|
|
190
192
|
readonly deploymentId: string;
|
|
191
193
|
};
|
|
192
194
|
readonly query: {
|
|
195
|
+
readonly tab?: string;
|
|
193
196
|
readonly versionId: string | undefined;
|
|
194
197
|
};
|
|
195
198
|
};
|
|
@@ -179,7 +179,9 @@ declare const routes: {
|
|
|
179
179
|
readonly workspaceId?: string | undefined;
|
|
180
180
|
};
|
|
181
181
|
};
|
|
182
|
-
deployment: (deploymentId: string, versionId?: string
|
|
182
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
183
|
+
tab?: string;
|
|
184
|
+
} & import("vue-router").LocationQuery) => {
|
|
183
185
|
readonly name: "workspace.deployments.deployment";
|
|
184
186
|
readonly params: {
|
|
185
187
|
readonly accountId?: string | undefined;
|
|
@@ -187,6 +189,7 @@ declare const routes: {
|
|
|
187
189
|
readonly deploymentId: string;
|
|
188
190
|
};
|
|
189
191
|
readonly query: {
|
|
192
|
+
readonly tab?: string;
|
|
190
193
|
readonly versionId: string | undefined;
|
|
191
194
|
};
|
|
192
195
|
};
|
|
@@ -178,7 +178,9 @@ declare const routes: {
|
|
|
178
178
|
readonly workspaceId?: string | undefined;
|
|
179
179
|
};
|
|
180
180
|
};
|
|
181
|
-
deployment: (deploymentId: string, versionId?: string
|
|
181
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
182
|
+
tab?: string;
|
|
183
|
+
} & import("vue-router").LocationQuery) => {
|
|
182
184
|
readonly name: "workspace.deployments.deployment";
|
|
183
185
|
readonly params: {
|
|
184
186
|
readonly accountId?: string | undefined;
|
|
@@ -186,6 +188,7 @@ declare const routes: {
|
|
|
186
188
|
readonly deploymentId: string;
|
|
187
189
|
};
|
|
188
190
|
readonly query: {
|
|
191
|
+
readonly tab?: string;
|
|
189
192
|
readonly versionId: string | undefined;
|
|
190
193
|
};
|
|
191
194
|
};
|
|
@@ -193,7 +193,9 @@ declare const routes: {
|
|
|
193
193
|
readonly workspaceId?: string | undefined;
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
|
-
deployment: (deploymentId: string, versionId?: string
|
|
196
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
197
|
+
tab?: string;
|
|
198
|
+
} & import("vue-router").LocationQuery) => {
|
|
197
199
|
readonly name: "workspace.deployments.deployment";
|
|
198
200
|
readonly params: {
|
|
199
201
|
readonly accountId?: string | undefined;
|
|
@@ -201,6 +203,7 @@ declare const routes: {
|
|
|
201
203
|
readonly deploymentId: string;
|
|
202
204
|
};
|
|
203
205
|
readonly query: {
|
|
206
|
+
readonly tab?: string;
|
|
204
207
|
readonly versionId: string | undefined;
|
|
205
208
|
};
|
|
206
209
|
};
|
|
@@ -184,7 +184,9 @@ declare const routes: {
|
|
|
184
184
|
readonly workspaceId?: string | undefined;
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
|
-
deployment: (deploymentId: string, versionId?: string
|
|
187
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
188
|
+
tab?: string;
|
|
189
|
+
} & import("vue-router").LocationQuery) => {
|
|
188
190
|
readonly name: "workspace.deployments.deployment";
|
|
189
191
|
readonly params: {
|
|
190
192
|
readonly accountId?: string | undefined;
|
|
@@ -192,6 +194,7 @@ declare const routes: {
|
|
|
192
194
|
readonly deploymentId: string;
|
|
193
195
|
};
|
|
194
196
|
readonly query: {
|
|
197
|
+
readonly tab?: string;
|
|
195
198
|
readonly versionId: string | undefined;
|
|
196
199
|
};
|
|
197
200
|
};
|
|
@@ -181,7 +181,9 @@ declare const routes: {
|
|
|
181
181
|
readonly workspaceId?: string | undefined;
|
|
182
182
|
};
|
|
183
183
|
};
|
|
184
|
-
deployment: (deploymentId: string, versionId?: string
|
|
184
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
185
|
+
tab?: string;
|
|
186
|
+
} & import("vue-router").LocationQuery) => {
|
|
185
187
|
readonly name: "workspace.deployments.deployment";
|
|
186
188
|
readonly params: {
|
|
187
189
|
readonly accountId?: string | undefined;
|
|
@@ -189,6 +191,7 @@ declare const routes: {
|
|
|
189
191
|
readonly deploymentId: string;
|
|
190
192
|
};
|
|
191
193
|
readonly query: {
|
|
194
|
+
readonly tab?: string;
|
|
192
195
|
readonly versionId: string | undefined;
|
|
193
196
|
};
|
|
194
197
|
};
|
|
@@ -179,7 +179,9 @@ declare const routes: {
|
|
|
179
179
|
readonly workspaceId?: string | undefined;
|
|
180
180
|
};
|
|
181
181
|
};
|
|
182
|
-
deployment: (deploymentId: string, versionId?: string
|
|
182
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
183
|
+
tab?: string;
|
|
184
|
+
} & import("vue-router").LocationQuery) => {
|
|
183
185
|
readonly name: "workspace.deployments.deployment";
|
|
184
186
|
readonly params: {
|
|
185
187
|
readonly accountId?: string | undefined;
|
|
@@ -187,6 +189,7 @@ declare const routes: {
|
|
|
187
189
|
readonly deploymentId: string;
|
|
188
190
|
};
|
|
189
191
|
readonly query: {
|
|
192
|
+
readonly tab?: string;
|
|
190
193
|
readonly versionId: string | undefined;
|
|
191
194
|
};
|
|
192
195
|
};
|
|
@@ -184,7 +184,9 @@ declare const routes: {
|
|
|
184
184
|
readonly workspaceId?: string | undefined;
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
|
-
deployment: (deploymentId: string, versionId?: string
|
|
187
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
188
|
+
tab?: string;
|
|
189
|
+
} & import("vue-router").LocationQuery) => {
|
|
188
190
|
readonly name: "workspace.deployments.deployment";
|
|
189
191
|
readonly params: {
|
|
190
192
|
readonly accountId?: string | undefined;
|
|
@@ -192,6 +194,7 @@ declare const routes: {
|
|
|
192
194
|
readonly deploymentId: string;
|
|
193
195
|
};
|
|
194
196
|
readonly query: {
|
|
197
|
+
readonly tab?: string;
|
|
195
198
|
readonly versionId: string | undefined;
|
|
196
199
|
};
|
|
197
200
|
};
|
|
@@ -183,7 +183,9 @@ declare const routes: {
|
|
|
183
183
|
readonly workspaceId?: string | undefined;
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
|
-
deployment: (deploymentId: string, versionId?: string
|
|
186
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
187
|
+
tab?: string;
|
|
188
|
+
} & import("vue-router").LocationQuery) => {
|
|
187
189
|
readonly name: "workspace.deployments.deployment";
|
|
188
190
|
readonly params: {
|
|
189
191
|
readonly accountId?: string | undefined;
|
|
@@ -191,6 +193,7 @@ declare const routes: {
|
|
|
191
193
|
readonly deploymentId: string;
|
|
192
194
|
};
|
|
193
195
|
readonly query: {
|
|
196
|
+
readonly tab?: string;
|
|
194
197
|
readonly versionId: string | undefined;
|
|
195
198
|
};
|
|
196
199
|
};
|
|
@@ -183,7 +183,9 @@ declare const routes: {
|
|
|
183
183
|
readonly workspaceId?: string | undefined;
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
|
-
deployment: (deploymentId: string, versionId?: string
|
|
186
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
187
|
+
tab?: string;
|
|
188
|
+
} & import("vue-router").LocationQuery) => {
|
|
187
189
|
readonly name: "workspace.deployments.deployment";
|
|
188
190
|
readonly params: {
|
|
189
191
|
readonly accountId?: string | undefined;
|
|
@@ -191,6 +193,7 @@ declare const routes: {
|
|
|
191
193
|
readonly deploymentId: string;
|
|
192
194
|
};
|
|
193
195
|
readonly query: {
|
|
196
|
+
readonly tab?: string;
|
|
194
197
|
readonly versionId: string | undefined;
|
|
195
198
|
};
|
|
196
199
|
};
|
|
@@ -179,7 +179,9 @@ declare const routes: {
|
|
|
179
179
|
readonly workspaceId?: string | undefined;
|
|
180
180
|
};
|
|
181
181
|
};
|
|
182
|
-
deployment: (deploymentId: string, versionId?: string
|
|
182
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
183
|
+
tab?: string;
|
|
184
|
+
} & import("vue-router").LocationQuery) => {
|
|
183
185
|
readonly name: "workspace.deployments.deployment";
|
|
184
186
|
readonly params: {
|
|
185
187
|
readonly accountId?: string | undefined;
|
|
@@ -187,6 +189,7 @@ declare const routes: {
|
|
|
187
189
|
readonly deploymentId: string;
|
|
188
190
|
};
|
|
189
191
|
readonly query: {
|
|
192
|
+
readonly tab?: string;
|
|
190
193
|
readonly versionId: string | undefined;
|
|
191
194
|
};
|
|
192
195
|
};
|
|
@@ -181,7 +181,9 @@ declare const routes: {
|
|
|
181
181
|
readonly workspaceId?: string | undefined;
|
|
182
182
|
};
|
|
183
183
|
};
|
|
184
|
-
deployment: (deploymentId: string, versionId?: string
|
|
184
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
185
|
+
tab?: string;
|
|
186
|
+
} & import("vue-router").LocationQuery) => {
|
|
185
187
|
readonly name: "workspace.deployments.deployment";
|
|
186
188
|
readonly params: {
|
|
187
189
|
readonly accountId?: string | undefined;
|
|
@@ -189,6 +191,7 @@ declare const routes: {
|
|
|
189
191
|
readonly deploymentId: string;
|
|
190
192
|
};
|
|
191
193
|
readonly query: {
|
|
194
|
+
readonly tab?: string;
|
|
192
195
|
readonly versionId: string | undefined;
|
|
193
196
|
};
|
|
194
197
|
};
|
|
@@ -174,7 +174,9 @@ export declare function useWorkspaceRoutes(): {
|
|
|
174
174
|
readonly workspaceId?: string | undefined;
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
|
-
deployment: (deploymentId: string, versionId?: string
|
|
177
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
178
|
+
tab?: string;
|
|
179
|
+
} & import("vue-router").LocationQuery) => {
|
|
178
180
|
readonly name: "workspace.deployments.deployment";
|
|
179
181
|
readonly params: {
|
|
180
182
|
readonly accountId?: string | undefined;
|
|
@@ -182,6 +184,7 @@ export declare function useWorkspaceRoutes(): {
|
|
|
182
184
|
readonly deploymentId: string;
|
|
183
185
|
};
|
|
184
186
|
readonly query: {
|
|
187
|
+
readonly tab?: string;
|
|
185
188
|
readonly versionId: string | undefined;
|
|
186
189
|
};
|
|
187
190
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LocationQuery } from 'vue-router';
|
|
1
2
|
import { AutomationAction } from '../automations/types/actions';
|
|
2
3
|
import { CreateAutomationQuery } from '../automations/types/createAutomationQuery';
|
|
3
4
|
import { WorkspaceEvent } from '../models';
|
|
@@ -27,7 +28,7 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
|
|
|
27
28
|
readonly accountId?: string | undefined;
|
|
28
29
|
readonly workspaceId?: string | undefined;
|
|
29
30
|
};
|
|
30
|
-
readonly query:
|
|
31
|
+
readonly query: LocationQuery | undefined;
|
|
31
32
|
};
|
|
32
33
|
automationEdit: (automationId: string) => {
|
|
33
34
|
readonly name: "workspace.automation.edit";
|
|
@@ -43,7 +44,7 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
|
|
|
43
44
|
readonly accountId?: string | undefined;
|
|
44
45
|
readonly workspaceId?: string | undefined;
|
|
45
46
|
};
|
|
46
|
-
readonly query:
|
|
47
|
+
readonly query: LocationQuery;
|
|
47
48
|
};
|
|
48
49
|
automateFlow: (flowId: string, actions?: AutomationAction[]) => {
|
|
49
50
|
readonly name: "workspace.automation.create";
|
|
@@ -51,7 +52,7 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
|
|
|
51
52
|
readonly accountId?: string | undefined;
|
|
52
53
|
readonly workspaceId?: string | undefined;
|
|
53
54
|
};
|
|
54
|
-
readonly query:
|
|
55
|
+
readonly query: LocationQuery;
|
|
55
56
|
};
|
|
56
57
|
automateWorkPool: (workPoolId: string, actions?: AutomationAction[]) => {
|
|
57
58
|
readonly name: "workspace.automation.create";
|
|
@@ -59,7 +60,7 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
|
|
|
59
60
|
readonly accountId?: string | undefined;
|
|
60
61
|
readonly workspaceId?: string | undefined;
|
|
61
62
|
};
|
|
62
|
-
readonly query:
|
|
63
|
+
readonly query: LocationQuery;
|
|
63
64
|
};
|
|
64
65
|
automateWorkPoolQueue: (workPoolQueueId: string, actions?: AutomationAction[]) => {
|
|
65
66
|
readonly name: "workspace.automation.create";
|
|
@@ -67,7 +68,7 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
|
|
|
67
68
|
readonly accountId?: string | undefined;
|
|
68
69
|
readonly workspaceId?: string | undefined;
|
|
69
70
|
};
|
|
70
|
-
readonly query:
|
|
71
|
+
readonly query: LocationQuery;
|
|
71
72
|
};
|
|
72
73
|
events: () => {
|
|
73
74
|
readonly name: "workspace.events";
|
|
@@ -182,7 +183,9 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
|
|
|
182
183
|
readonly workspaceId?: string | undefined;
|
|
183
184
|
};
|
|
184
185
|
};
|
|
185
|
-
deployment: (deploymentId: string, versionId?: string
|
|
186
|
+
deployment: (deploymentId: string, versionId?: string, query?: {
|
|
187
|
+
tab?: string;
|
|
188
|
+
} & LocationQuery) => {
|
|
186
189
|
readonly name: "workspace.deployments.deployment";
|
|
187
190
|
readonly params: {
|
|
188
191
|
readonly accountId?: string | undefined;
|
|
@@ -190,6 +193,7 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
|
|
|
190
193
|
readonly deploymentId: string;
|
|
191
194
|
};
|
|
192
195
|
readonly query: {
|
|
196
|
+
readonly tab?: string;
|
|
193
197
|
readonly versionId: string | undefined;
|
|
194
198
|
};
|
|
195
199
|
};
|
package/package.json
CHANGED
package/src/router/routes.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LocationQuery } from 'vue-router'
|
|
1
2
|
import { AutomationAction } from '@/automations/types/actions'
|
|
2
3
|
import { CreateAutomationQuery } from '@/automations/types/createAutomationQuery'
|
|
3
4
|
import { WorkspaceEvent } from '@/models'
|
|
@@ -79,7 +80,7 @@ export function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConfig) {
|
|
|
79
80
|
flowCollections: () => ({ name: 'workspace.flows.collections', params: { ...config } }) as const,
|
|
80
81
|
flowCollection: (name: string) => ({ name: 'workspace.flows.collections.collection', params: { name, ...config } }) as const,
|
|
81
82
|
deployments: () => ({ name: 'workspace.deployments', params: { ...config } }) as const,
|
|
82
|
-
deployment: (deploymentId: string, versionId?: string) => ({ name: 'workspace.deployments.deployment', params: { deploymentId, ...config }, query: { versionId } }) as const,
|
|
83
|
+
deployment: (deploymentId: string, versionId?: string, query?: { tab?: string } & LocationQuery) => ({ name: 'workspace.deployments.deployment', params: { deploymentId, ...config }, query: { versionId, ...query } }) as const,
|
|
83
84
|
deploymentEdit: (deploymentId: string) => ({ name: 'workspace.deployments.deployment-edit', params: { deploymentId, ...config } }) as const,
|
|
84
85
|
deploymentDuplicate: (deploymentId: string) => ({ name: 'workspace.deployments.deployment-duplicate', params: { deploymentId, ...config } }) as const,
|
|
85
86
|
deploymentFlowRunCreate: (deploymentId: string, parameters?: Record<string, unknown>) => {
|