@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.
- package/dist/{index-2d08e6ac.mjs → index-289c99c9.mjs} +5655 -5617
- package/dist/{index-2d08e6ac.mjs.map → index-289c99c9.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +64 -64
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/compositions/useFlowRun.d.ts +2 -1
- package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +7 -0
- package/dist/types/src/localization/index.d.ts +1 -0
- package/dist/types/src/localization/locale/en.d.ts +1 -0
- package/dist/types/src/models/WorkPoolQueue.d.ts +2 -0
- package/dist/types/src/models/WorkPoolQueueTableData.d.ts +2 -2
- package/dist/types/src/models/WorkQueue.d.ts +2 -0
- package/dist/types/src/models/api/WorkPoolQueueResponse.d.ts +1 -0
- package/dist/types/src/models/api/WorkQueueResponse.d.ts +1 -0
- package/dist/types/src/router/routes.d.ts +7 -0
- package/dist/types/src/services/can.d.ts +1 -1
- package/dist/{viewport.es-ae91b8e8-ae737582.mjs → viewport.es-ae91b8e8-25f6445e.mjs} +2 -2
- package/dist/{viewport.es-ae91b8e8-ae737582.mjs.map → viewport.es-ae91b8e8-25f6445e.mjs.map} +1 -1
- package/package.json +5 -5
|
@@ -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
|
|
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: {
|
|
@@ -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:
|
|
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
|
}
|
|
@@ -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-
|
|
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-
|
|
1538
|
+
//# sourceMappingURL=viewport.es-ae91b8e8-25f6445e.mjs.map
|