@prefecthq/prefect-ui-library 3.12.3 → 3.12.4

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.
Files changed (26) hide show
  1. package/dist/{RunsPageWithDefaultFilter-D7VEOalx.mjs → RunsPageWithDefaultFilter-Bel6u2h6.mjs} +2 -2
  2. package/dist/{RunsPageWithDefaultFilter-D7VEOalx.mjs.map → RunsPageWithDefaultFilter-Bel6u2h6.mjs.map} +1 -1
  3. package/dist/{WorkQueueToWorkPoolQueueRedirect-BVJmBPIC.mjs → WorkQueueToWorkPoolQueueRedirect-C8oMxvjr.mjs} +2 -2
  4. package/dist/{WorkQueueToWorkPoolQueueRedirect-BVJmBPIC.mjs.map → WorkQueueToWorkPoolQueueRedirect-C8oMxvjr.mjs.map} +1 -1
  5. package/dist/{index-OKWFTjew.mjs → index-2RteLIrR.mjs} +4 -4
  6. package/dist/{index-OKWFTjew.mjs.map → index-2RteLIrR.mjs.map} +1 -1
  7. package/dist/prefect-ui-library.mjs +1 -1
  8. package/dist/prefect-ui-library.umd.js +1 -1
  9. package/dist/prefect-ui-library.umd.js.map +1 -1
  10. package/dist/types/src/components/AutomationMenu.vue.d.ts +4 -1
  11. package/dist/types/src/components/BlockTypeCardPreview.vue.d.ts +4 -1
  12. package/dist/types/src/components/DeploymentCustomRunOverflowMenuItem.vue.d.ts +4 -1
  13. package/dist/types/src/components/DeploymentDetails.vue.d.ts +4 -1
  14. package/dist/types/src/components/DeploymentMenu.vue.d.ts +4 -1
  15. package/dist/types/src/components/FlowMenu.vue.d.ts +4 -1
  16. package/dist/types/src/components/FlowRouterLink.vue.d.ts +4 -1
  17. package/dist/types/src/components/FlowRunArtifacts.vue.d.ts +4 -1
  18. package/dist/types/src/components/FlowRunMenu.vue.d.ts +4 -1
  19. package/dist/types/src/components/PageHeadingFlowRunCreate.vue.d.ts +3 -0
  20. package/dist/types/src/components/TaskRunArtifacts.vue.d.ts +4 -1
  21. package/dist/types/src/components/WorkPoolMenu.vue.d.ts +4 -1
  22. package/dist/types/src/components/WorkPoolQueueMenu.vue.d.ts +4 -1
  23. package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +4 -1
  24. package/dist/types/src/router/routes.d.ts +4 -1
  25. package/package.json +1 -1
  26. package/src/router/routes.ts +1 -1
@@ -182,13 +182,16 @@ declare const routes: {
182
182
  readonly workspaceId?: string | undefined;
183
183
  };
184
184
  };
185
- deployment: (deploymentId: string) => {
185
+ deployment: (deploymentId: string, versionId?: string) => {
186
186
  readonly name: "workspace.deployments.deployment";
187
187
  readonly params: {
188
188
  readonly accountId?: string | undefined;
189
189
  readonly workspaceId?: string | undefined;
190
190
  readonly deploymentId: string;
191
191
  };
192
+ readonly query: {
193
+ readonly versionId: string | undefined;
194
+ };
192
195
  };
193
196
  deploymentEdit: (deploymentId: string) => {
194
197
  readonly name: "workspace.deployments.deployment-edit";
@@ -179,13 +179,16 @@ declare const routes: {
179
179
  readonly workspaceId?: string | undefined;
180
180
  };
181
181
  };
182
- deployment: (deploymentId: string) => {
182
+ deployment: (deploymentId: string, versionId?: string) => {
183
183
  readonly name: "workspace.deployments.deployment";
184
184
  readonly params: {
185
185
  readonly accountId?: string | undefined;
186
186
  readonly workspaceId?: string | undefined;
187
187
  readonly deploymentId: string;
188
188
  };
189
+ readonly query: {
190
+ readonly versionId: string | undefined;
191
+ };
189
192
  };
190
193
  deploymentEdit: (deploymentId: string) => {
191
194
  readonly name: "workspace.deployments.deployment-edit";
@@ -178,13 +178,16 @@ declare const routes: {
178
178
  readonly workspaceId?: string | undefined;
179
179
  };
180
180
  };
181
- deployment: (deploymentId: string) => {
181
+ deployment: (deploymentId: string, versionId?: string) => {
182
182
  readonly name: "workspace.deployments.deployment";
183
183
  readonly params: {
184
184
  readonly accountId?: string | undefined;
185
185
  readonly workspaceId?: string | undefined;
186
186
  readonly deploymentId: string;
187
187
  };
188
+ readonly query: {
189
+ readonly versionId: string | undefined;
190
+ };
188
191
  };
189
192
  deploymentEdit: (deploymentId: string) => {
190
193
  readonly name: "workspace.deployments.deployment-edit";
@@ -193,13 +193,16 @@ declare const routes: {
193
193
  readonly workspaceId?: string | undefined;
194
194
  };
195
195
  };
196
- deployment: (deploymentId: string) => {
196
+ deployment: (deploymentId: string, versionId?: string) => {
197
197
  readonly name: "workspace.deployments.deployment";
198
198
  readonly params: {
199
199
  readonly accountId?: string | undefined;
200
200
  readonly workspaceId?: string | undefined;
201
201
  readonly deploymentId: string;
202
202
  };
203
+ readonly query: {
204
+ readonly versionId: string | undefined;
205
+ };
203
206
  };
204
207
  deploymentEdit: (deploymentId: string) => {
205
208
  readonly name: "workspace.deployments.deployment-edit";
@@ -184,13 +184,16 @@ declare const routes: {
184
184
  readonly workspaceId?: string | undefined;
185
185
  };
186
186
  };
187
- deployment: (deploymentId: string) => {
187
+ deployment: (deploymentId: string, versionId?: string) => {
188
188
  readonly name: "workspace.deployments.deployment";
189
189
  readonly params: {
190
190
  readonly accountId?: string | undefined;
191
191
  readonly workspaceId?: string | undefined;
192
192
  readonly deploymentId: string;
193
193
  };
194
+ readonly query: {
195
+ readonly versionId: string | undefined;
196
+ };
194
197
  };
195
198
  deploymentEdit: (deploymentId: string) => {
196
199
  readonly name: "workspace.deployments.deployment-edit";
@@ -181,13 +181,16 @@ declare const routes: {
181
181
  readonly workspaceId?: string | undefined;
182
182
  };
183
183
  };
184
- deployment: (deploymentId: string) => {
184
+ deployment: (deploymentId: string, versionId?: string) => {
185
185
  readonly name: "workspace.deployments.deployment";
186
186
  readonly params: {
187
187
  readonly accountId?: string | undefined;
188
188
  readonly workspaceId?: string | undefined;
189
189
  readonly deploymentId: string;
190
190
  };
191
+ readonly query: {
192
+ readonly versionId: string | undefined;
193
+ };
191
194
  };
192
195
  deploymentEdit: (deploymentId: string) => {
193
196
  readonly name: "workspace.deployments.deployment-edit";
@@ -179,13 +179,16 @@ declare const routes: {
179
179
  readonly workspaceId?: string | undefined;
180
180
  };
181
181
  };
182
- deployment: (deploymentId: string) => {
182
+ deployment: (deploymentId: string, versionId?: string) => {
183
183
  readonly name: "workspace.deployments.deployment";
184
184
  readonly params: {
185
185
  readonly accountId?: string | undefined;
186
186
  readonly workspaceId?: string | undefined;
187
187
  readonly deploymentId: string;
188
188
  };
189
+ readonly query: {
190
+ readonly versionId: string | undefined;
191
+ };
189
192
  };
190
193
  deploymentEdit: (deploymentId: string) => {
191
194
  readonly name: "workspace.deployments.deployment-edit";
@@ -184,13 +184,16 @@ declare const routes: {
184
184
  readonly workspaceId?: string | undefined;
185
185
  };
186
186
  };
187
- deployment: (deploymentId: string) => {
187
+ deployment: (deploymentId: string, versionId?: string) => {
188
188
  readonly name: "workspace.deployments.deployment";
189
189
  readonly params: {
190
190
  readonly accountId?: string | undefined;
191
191
  readonly workspaceId?: string | undefined;
192
192
  readonly deploymentId: string;
193
193
  };
194
+ readonly query: {
195
+ readonly versionId: string | undefined;
196
+ };
194
197
  };
195
198
  deploymentEdit: (deploymentId: string) => {
196
199
  readonly name: "workspace.deployments.deployment-edit";
@@ -183,13 +183,16 @@ declare const routes: {
183
183
  readonly workspaceId?: string | undefined;
184
184
  };
185
185
  };
186
- deployment: (deploymentId: string) => {
186
+ deployment: (deploymentId: string, versionId?: string) => {
187
187
  readonly name: "workspace.deployments.deployment";
188
188
  readonly params: {
189
189
  readonly accountId?: string | undefined;
190
190
  readonly workspaceId?: string | undefined;
191
191
  readonly deploymentId: string;
192
192
  };
193
+ readonly query: {
194
+ readonly versionId: string | undefined;
195
+ };
193
196
  };
194
197
  deploymentEdit: (deploymentId: string) => {
195
198
  readonly name: "workspace.deployments.deployment-edit";
@@ -22,6 +22,9 @@ declare const crumbs: import("vue").ComputedRef<({
22
22
  readonly workspaceId?: string | undefined;
23
23
  readonly deploymentId: string;
24
24
  };
25
+ readonly query: {
26
+ readonly versionId: string | undefined;
27
+ };
25
28
  };
26
29
  } | {
27
30
  text: string;
@@ -183,13 +183,16 @@ declare const routes: {
183
183
  readonly workspaceId?: string | undefined;
184
184
  };
185
185
  };
186
- deployment: (deploymentId: string) => {
186
+ deployment: (deploymentId: string, versionId?: string) => {
187
187
  readonly name: "workspace.deployments.deployment";
188
188
  readonly params: {
189
189
  readonly accountId?: string | undefined;
190
190
  readonly workspaceId?: string | undefined;
191
191
  readonly deploymentId: string;
192
192
  };
193
+ readonly query: {
194
+ readonly versionId: string | undefined;
195
+ };
193
196
  };
194
197
  deploymentEdit: (deploymentId: string) => {
195
198
  readonly name: "workspace.deployments.deployment-edit";
@@ -179,13 +179,16 @@ declare const routes: {
179
179
  readonly workspaceId?: string | undefined;
180
180
  };
181
181
  };
182
- deployment: (deploymentId: string) => {
182
+ deployment: (deploymentId: string, versionId?: string) => {
183
183
  readonly name: "workspace.deployments.deployment";
184
184
  readonly params: {
185
185
  readonly accountId?: string | undefined;
186
186
  readonly workspaceId?: string | undefined;
187
187
  readonly deploymentId: string;
188
188
  };
189
+ readonly query: {
190
+ readonly versionId: string | undefined;
191
+ };
189
192
  };
190
193
  deploymentEdit: (deploymentId: string) => {
191
194
  readonly name: "workspace.deployments.deployment-edit";
@@ -181,13 +181,16 @@ declare const routes: {
181
181
  readonly workspaceId?: string | undefined;
182
182
  };
183
183
  };
184
- deployment: (deploymentId: string) => {
184
+ deployment: (deploymentId: string, versionId?: string) => {
185
185
  readonly name: "workspace.deployments.deployment";
186
186
  readonly params: {
187
187
  readonly accountId?: string | undefined;
188
188
  readonly workspaceId?: string | undefined;
189
189
  readonly deploymentId: string;
190
190
  };
191
+ readonly query: {
192
+ readonly versionId: string | undefined;
193
+ };
191
194
  };
192
195
  deploymentEdit: (deploymentId: string) => {
193
196
  readonly name: "workspace.deployments.deployment-edit";
@@ -174,13 +174,16 @@ export declare function useWorkspaceRoutes(): {
174
174
  readonly workspaceId?: string | undefined;
175
175
  };
176
176
  };
177
- deployment: (deploymentId: string) => {
177
+ deployment: (deploymentId: string, versionId?: string) => {
178
178
  readonly name: "workspace.deployments.deployment";
179
179
  readonly params: {
180
180
  readonly accountId?: string | undefined;
181
181
  readonly workspaceId?: string | undefined;
182
182
  readonly deploymentId: string;
183
183
  };
184
+ readonly query: {
185
+ readonly versionId: string | undefined;
186
+ };
184
187
  };
185
188
  deploymentEdit: (deploymentId: string) => {
186
189
  readonly name: "workspace.deployments.deployment-edit";
@@ -182,13 +182,16 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
182
182
  readonly workspaceId?: string | undefined;
183
183
  };
184
184
  };
185
- deployment: (deploymentId: string) => {
185
+ deployment: (deploymentId: string, versionId?: string) => {
186
186
  readonly name: "workspace.deployments.deployment";
187
187
  readonly params: {
188
188
  readonly accountId?: string | undefined;
189
189
  readonly workspaceId?: string | undefined;
190
190
  readonly deploymentId: string;
191
191
  };
192
+ readonly query: {
193
+ readonly versionId: string | undefined;
194
+ };
192
195
  };
193
196
  deploymentEdit: (deploymentId: string) => {
194
197
  readonly name: "workspace.deployments.deployment-edit";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefecthq/prefect-ui-library",
3
- "version": "3.12.3",
3
+ "version": "3.12.4",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -79,7 +79,7 @@ export function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConfig) {
79
79
  flowCollections: () => ({ name: 'workspace.flows.collections', params: { ...config } }) as const,
80
80
  flowCollection: (name: string) => ({ name: 'workspace.flows.collections.collection', params: { name, ...config } }) as const,
81
81
  deployments: () => ({ name: 'workspace.deployments', params: { ...config } }) as const,
82
- deployment: (deploymentId: string) => ({ name: 'workspace.deployments.deployment', params: { deploymentId, ...config } }) as const,
82
+ deployment: (deploymentId: string, versionId?: string) => ({ name: 'workspace.deployments.deployment', params: { deploymentId, ...config }, query: { versionId } }) as const,
83
83
  deploymentEdit: (deploymentId: string) => ({ name: 'workspace.deployments.deployment-edit', params: { deploymentId, ...config } }) as const,
84
84
  deploymentDuplicate: (deploymentId: string) => ({ name: 'workspace.deployments.deployment-duplicate', params: { deploymentId, ...config } }) as const,
85
85
  deploymentFlowRunCreate: (deploymentId: string, parameters?: Record<string, unknown>) => {