@prefecthq/prefect-ui-library 1.6.10 → 1.6.12

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.
@@ -1,5 +1,6 @@
1
+ import { SubscriptionOptions } from '@prefecthq/vue-compositions';
1
2
  import { Ref } from 'vue';
2
3
  import { WorkspaceFlowRunsApi } from '../services';
3
4
  import { UseEntitySubscription } from '../types/useEntitySubscription';
4
5
  export type UseFlowRun = UseEntitySubscription<WorkspaceFlowRunsApi['getFlowRun'], 'flowRun'>;
5
- export declare function useFlowRun(flowRunId: string | Ref<string | null | undefined>): UseFlowRun;
6
+ export declare function useFlowRun(flowRunId: string | Ref<string | null | undefined>, options?: SubscriptionOptions): UseFlowRun;
@@ -22,6 +22,13 @@ export declare function useWorkspaceRoutes(): {
22
22
  readonly workspaceId?: string | undefined;
23
23
  };
24
24
  };
25
+ dashboard: () => {
26
+ readonly name: "workspace.dashboard";
27
+ readonly params: {
28
+ readonly accountId?: string | undefined;
29
+ readonly workspaceId?: string | undefined;
30
+ };
31
+ };
25
32
  flowRuns: () => {
26
33
  readonly name: "workspace.flow-runs";
27
34
  readonly params: {
@@ -175,5 +175,6 @@ export declare const localization: {
175
175
  taskInput: string;
176
176
  workPoolInfrastructureConfigurationInstructions: string;
177
177
  workPoolInfrastructureConfigurationAgent: string;
178
+ disableFlowRunCancel: string;
178
179
  };
179
180
  };
@@ -175,5 +175,6 @@ export declare const en: {
175
175
  taskInput: string;
176
176
  workPoolInfrastructureConfigurationInstructions: string;
177
177
  workPoolInfrastructureConfigurationAgent: string;
178
+ disableFlowRunCancel: string;
178
179
  };
179
180
  };
@@ -3,6 +3,7 @@ export interface IWorkPoolQueue {
3
3
  created: Date;
4
4
  updated: Date;
5
5
  workPoolId: string;
6
+ workPoolName?: string;
6
7
  name: string;
7
8
  description: string | null;
8
9
  isPaused: boolean;
@@ -14,6 +15,7 @@ export declare class WorkPoolQueue implements IWorkPoolQueue {
14
15
  created: Date;
15
16
  updated: Date;
16
17
  workPoolId: string;
18
+ workPoolName?: string;
17
19
  name: string;
18
20
  description: string | null;
19
21
  isPaused: boolean;
@@ -1,8 +1,8 @@
1
+ import { IWorkPoolQueue } from '../models';
1
2
  import { WorkPoolQueue } from '../models/WorkPoolQueue';
2
- import { IWorkQueue } from '../models/WorkQueue';
3
3
  export declare class WorkPoolQueueTableData extends WorkPoolQueue {
4
4
  disabled: boolean;
5
- constructor(workPoolQueue: IWorkQueue & {
5
+ constructor(workPoolQueue: IWorkPoolQueue & {
6
6
  disabled: boolean;
7
7
  });
8
8
  }
@@ -10,6 +10,7 @@ export interface IWorkQueue {
10
10
  concurrencyLimit: number | null;
11
11
  priority: number;
12
12
  workPoolId: string;
13
+ workPoolName?: string;
13
14
  }
14
15
  export declare class WorkQueue implements IWorkQueue {
15
16
  readonly id: string;
@@ -22,6 +23,7 @@ export declare class WorkQueue implements IWorkQueue {
22
23
  concurrencyLimit: number | null;
23
24
  priority: number;
24
25
  workPoolId: string;
26
+ workPoolName?: string;
25
27
  get deprecated(): boolean;
26
28
  constructor(workQueue: IWorkQueue);
27
29
  }
@@ -4,6 +4,7 @@ export type WorkPoolQueueResponse = {
4
4
  created: DateString;
5
5
  updated: DateString;
6
6
  work_pool_id: string;
7
+ work_pool_name?: string;
7
8
  name: string;
8
9
  description: string | null;
9
10
  is_paused: boolean | null;
@@ -11,4 +11,5 @@ export type WorkQueueResponse = {
11
11
  concurrency_limit: number | null;
12
12
  priority: number;
13
13
  work_pool_id: string;
14
+ work_pool_name?: string;
14
15
  };
@@ -26,6 +26,13 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
26
26
  readonly workspaceId?: string | undefined;
27
27
  };
28
28
  };
29
+ dashboard: () => {
30
+ readonly name: "workspace.dashboard";
31
+ readonly params: {
32
+ readonly accountId?: string | undefined;
33
+ readonly workspaceId?: string | undefined;
34
+ };
35
+ };
29
36
  flowRuns: () => {
30
37
  readonly name: "workspace.flow-runs";
31
38
  readonly params: {
@@ -1,6 +1,6 @@
1
1
  import { InjectionKey } from 'vue';
2
2
  import { MaybeRef } from '../types/reactivity';
3
- export declare const workspaceFeatureFlags: readonly ["access:collections", "access:workers", "access:variables"];
3
+ export declare const workspaceFeatureFlags: readonly ["access:collections", "access:workers", "access:variables", "access:dashboard"];
4
4
  export type WorkspaceFeatureFlag = typeof workspaceFeatureFlags[number];
5
5
  export declare const workspacePermissions: readonly ["create:artifact", "create:automation", "create:block", "create:concurrency_limit", "create:deployment", "create:flow_run", "create:flow", "create:log", "create:notification_policy", "create:saved_search", "create:task_run", "create:variable", "create:work_queue", "create:work_pool_queue", "create:work_pool", "create:workspace_bot_access", "create:workspace_user_access", "delete:artifact", "delete:automation", "delete:block", "delete:concurrency_limit", "delete:deployment", "delete:flow_run", "delete:flow", "delete:notification_policy", "delete:saved_search", "delete:task_run", "delete:work_queue", "delete:work_pool_queue", "delete:work_pool", "delete:workspace_bot_access", "delete:workspace_user_access", "delete:variable", "read:artifact", "read:automation", "read:block", "read:concurrency_limit", "read:deployment", "read:flow_run", "read:flow", "read:log", "read:notification_policy", "read:saved_search", "read:task_run", "read:variable", "read:work_queue", "read:work_pool_queue", "read:work_pool", "read:workspace_bot_access", "read:workspace_settings", "read:workspace_user_access", "run:deployment", "update:automation", "update:block", "update:deployment", "update:flow_run", "update:flow", "update:notification_policy", "update:task_run", "update:variable", "update:work_queue", "update:work_pool_queue", "update:work_pool", "update:workspace_bot_access", "update:workspace_settings", "update:workspace_user_access", "update:workspace"];
6
6
  export type WorkspacePermission = typeof workspacePermissions[number];
@@ -1,4 +1,4 @@
1
- import { k as O, f as k, $ as b, l as c } from "./index-2d08e6ac.mjs";
1
+ import { k as O, f as k, $ as b, l as c } from "./index-289c99c9.mjs";
2
2
  import "vue";
3
3
  import "@prefecthq/vue-charts";
4
4
  import "@prefecthq/prefect-design";
@@ -1535,4 +1535,4 @@ export {
1535
1535
  C as Viewport,
1536
1536
  N as Wheel
1537
1537
  };
1538
- //# sourceMappingURL=viewport.es-ae91b8e8-ae737582.mjs.map
1538
+ //# sourceMappingURL=viewport.es-ae91b8e8-25f6445e.mjs.map