@prefecthq/prefect-ui-library 1.6.14 → 1.6.16
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-5d88cb75.mjs → index-636b7e2e.mjs} +18089 -17684
- package/dist/index-636b7e2e.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +667 -662
- package/dist/prefect-ui-library.umd.js +90 -90
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/src/components/DashboardWorkPoolCard.vue.d.ts +19 -0
- package/dist/types/src/components/DashboardWorkPoolCardDetail.vue.d.ts +22 -0
- package/dist/types/src/components/DashboardWorkPoolFlowRunCompletes.vue.d.ts +19 -0
- package/dist/types/src/components/DashboardWorkPoolFlowRunsTotal.vue.d.ts +19 -0
- package/dist/types/src/components/DashboardWorkPoolsCard.vue.d.ts +16 -0
- package/dist/types/src/components/DeploymentList.vue.d.ts +3 -3
- package/dist/types/src/components/FlowList.vue.d.ts +3 -3
- package/dist/types/src/components/FlowListItem.vue.d.ts +2 -2
- package/dist/types/src/components/FlowMenu.vue.d.ts +4 -2
- package/dist/types/src/components/FlowRunFilteredList.vue.d.ts +2 -2
- package/dist/types/src/components/FlowRunList.vue.d.ts +4 -4
- package/dist/types/src/components/FlowRunListItem.vue.d.ts +4 -4
- package/dist/types/src/components/StateListItem.vue.d.ts +2 -0
- package/dist/types/src/components/TaskRunList.vue.d.ts +4 -4
- package/dist/types/src/components/TaskRunListItem.vue.d.ts +4 -4
- package/dist/types/src/components/WorkPoolLastPolled.vue.d.ts +19 -0
- package/dist/types/src/components/WorkPoolLateCount.vue.d.ts +18 -0
- package/dist/types/src/components/WorkPoolQueueStatusArray.vue.d.ts +16 -0
- package/dist/types/src/components/index.d.ts +2 -0
- package/dist/types/src/compositions/index.d.ts +2 -0
- package/dist/types/src/compositions/useDashboardSubscriptionOptions.d.ts +2 -0
- package/dist/types/src/compositions/useWorkPoolLastPolled.d.ts +9 -0
- package/dist/types/src/maps/dashboard.d.ts +2 -1
- package/dist/types/src/maps/index.d.ts +1 -0
- package/dist/types/src/services/Mapper.d.ts +1 -0
- package/dist/types/src/utilities/numbers.d.ts +1 -0
- package/dist/{viewport.es-ae91b8e8-d94d0685.mjs → viewport.es-ae91b8e8-5a2294ea.mjs} +2 -2
- package/dist/{viewport.es-ae91b8e8-d94d0685.mjs.map → viewport.es-ae91b8e8-5a2294ea.mjs.map} +1 -1
- package/package.json +5 -5
- package/dist/index-5d88cb75.mjs.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { WorkPool } from '../models';
|
|
2
|
+
import { WorkspaceDashboardFilter } from '../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
workPool: WorkPool;
|
|
5
|
+
filter?: WorkspaceDashboardFilter | undefined;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
workPool: WorkPool;
|
|
8
|
+
filter?: WorkspaceDashboardFilter | undefined;
|
|
9
|
+
}>>>, {}, {}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { WorkPool } from '../models';
|
|
2
|
+
import { WorkspaceDashboardFilter } from '../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
workPool: WorkPool;
|
|
5
|
+
filter?: WorkspaceDashboardFilter | undefined;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
workPool: WorkPool;
|
|
8
|
+
filter?: WorkspaceDashboardFilter | undefined;
|
|
9
|
+
}>>>, {}, {}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WorkspaceDashboardFilter } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
filter: WorkspaceDashboardFilter;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
filter: WorkspaceDashboardFilter;
|
|
6
|
+
}>>>, {}, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DeploymentsFilter } from '../models';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
filter?: DeploymentsFilter | undefined;
|
|
4
|
-
|
|
4
|
+
selectable?: boolean | undefined;
|
|
5
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
delete: (value?: string | undefined) => void;
|
|
7
7
|
update: (value?: string | undefined) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
9
|
filter?: DeploymentsFilter | undefined;
|
|
10
|
-
|
|
10
|
+
selectable?: boolean | undefined;
|
|
11
11
|
}>>> & {
|
|
12
12
|
onDelete?: ((value?: string | undefined) => any) | undefined;
|
|
13
13
|
onUpdate?: ((value?: string | undefined) => any) | undefined;
|
|
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
16
|
default?(_: {
|
|
17
17
|
item: import("../models").Deployment;
|
|
18
18
|
selected: never[];
|
|
19
|
-
|
|
19
|
+
selectable: boolean | undefined;
|
|
20
20
|
update: (deploymentId: string) => void;
|
|
21
21
|
delete: (deploymentId: string) => void;
|
|
22
22
|
}): any;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FlowsFilter } from '../models/Filters';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
filter?: FlowsFilter | undefined;
|
|
4
|
-
|
|
4
|
+
selectable?: boolean | undefined;
|
|
5
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
delete: (value?: string | undefined) => void;
|
|
7
7
|
update: (value?: string | undefined) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
9
|
filter?: FlowsFilter | undefined;
|
|
10
|
-
|
|
10
|
+
selectable?: boolean | undefined;
|
|
11
11
|
}>>> & {
|
|
12
12
|
onDelete?: ((value?: string | undefined) => any) | undefined;
|
|
13
13
|
onUpdate?: ((value?: string | undefined) => any) | undefined;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
default?(_: {
|
|
16
16
|
item: import("../index.js").Flow;
|
|
17
17
|
selected: string[];
|
|
18
|
-
|
|
18
|
+
selectable: boolean | undefined;
|
|
19
19
|
update: (flowId: string) => void;
|
|
20
20
|
delete: (flowId: string) => void;
|
|
21
21
|
}): any;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Flow, FlowsFilter } from '../models';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
selectable?: boolean | undefined;
|
|
3
4
|
flow: Flow;
|
|
4
5
|
filter?: FlowsFilter | undefined;
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
delete: (value: string) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
selectable?: boolean | undefined;
|
|
9
10
|
flow: Flow;
|
|
10
11
|
filter?: FlowsFilter | undefined;
|
|
11
|
-
disabled?: boolean | undefined;
|
|
12
12
|
}>>> & {
|
|
13
13
|
onDelete?: ((value: string) => any) | undefined;
|
|
14
14
|
}, {}, {}>, {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Flow } from '../models';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
flow: Flow;
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "delete"[], "delete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
flow: Flow;
|
|
6
|
-
}
|
|
6
|
+
}>>> & {
|
|
7
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}, {}, {}>, {
|
|
7
9
|
default?(_: {
|
|
8
10
|
flow: Flow;
|
|
9
11
|
}): any;
|
|
@@ -2,13 +2,13 @@ import { FlowRunsFilter } from '../models/Filters';
|
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
flowRunFilter: FlowRunsFilter;
|
|
4
4
|
states?: ("Cancelled" | "Completed" | "Crashed" | "Failed" | "Late" | "Pending" | "Retrying" | "Running" | "Scheduled" | "Resuming" | "Paused" | "Skipped" | "Cancelling" | "TimedOut")[] | undefined;
|
|
5
|
-
|
|
5
|
+
disableDeletion?: boolean | undefined;
|
|
6
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:states": (value: ("Cancelled" | "Completed" | "Crashed" | "Failed" | "Late" | "Pending" | "Retrying" | "Running" | "Scheduled" | "Resuming" | "Paused" | "Skipped" | "Cancelling" | "TimedOut")[]) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
9
|
flowRunFilter: FlowRunsFilter;
|
|
10
10
|
states?: ("Cancelled" | "Completed" | "Crashed" | "Failed" | "Late" | "Pending" | "Retrying" | "Running" | "Scheduled" | "Resuming" | "Paused" | "Skipped" | "Cancelling" | "TimedOut")[] | undefined;
|
|
11
|
-
|
|
11
|
+
disableDeletion?: boolean | undefined;
|
|
12
12
|
}>>> & {
|
|
13
13
|
"onUpdate:states"?: ((value: ("Cancelled" | "Completed" | "Crashed" | "Failed" | "Late" | "Pending" | "Retrying" | "Running" | "Scheduled" | "Resuming" | "Paused" | "Skipped" | "Cancelling" | "TimedOut")[]) => any) | undefined;
|
|
14
14
|
}, {}, {}>, {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { FlowRun } from '../models/FlowRun';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
selected
|
|
3
|
+
selected?: string[] | null | undefined;
|
|
4
4
|
flowRuns: FlowRun[];
|
|
5
|
-
|
|
5
|
+
selectable?: boolean | undefined;
|
|
6
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:selected": (value: string[]) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
selected
|
|
9
|
+
selected?: string[] | null | undefined;
|
|
10
10
|
flowRuns: FlowRun[];
|
|
11
|
-
|
|
11
|
+
selectable?: boolean | undefined;
|
|
12
12
|
}>>> & {
|
|
13
13
|
"onUpdate:selected"?: ((value: string[]) => any) | undefined;
|
|
14
14
|
}, {}, {}>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { CheckboxModel } from '@prefecthq/prefect-design';
|
|
2
2
|
import { FlowRun } from '../models/FlowRun';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
|
|
4
|
+
selectable?: boolean | undefined;
|
|
5
|
+
selected?: CheckboxModel | null;
|
|
5
6
|
flowRun: FlowRun;
|
|
6
|
-
disabled?: boolean | undefined;
|
|
7
7
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:selected": (value: CheckboxModel) => void;
|
|
9
9
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
|
|
10
|
+
selectable?: boolean | undefined;
|
|
11
|
+
selected?: CheckboxModel | null;
|
|
11
12
|
flowRun: FlowRun;
|
|
12
|
-
disabled?: boolean | undefined;
|
|
13
13
|
}>>> & {
|
|
14
14
|
"onUpdate:selected"?: ((value: CheckboxModel) => any) | undefined;
|
|
15
15
|
}, {}, {}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CheckboxModel } from '@prefecthq/prefect-design';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
selectable?: boolean | undefined;
|
|
3
4
|
selected?: CheckboxModel | null;
|
|
4
5
|
value?: unknown;
|
|
5
6
|
stateType?: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused" | null | undefined;
|
|
@@ -7,6 +8,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
9
|
"update:selected": (value: CheckboxModel) => void;
|
|
9
10
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
selectable?: boolean | undefined;
|
|
10
12
|
selected?: CheckboxModel | null;
|
|
11
13
|
value?: unknown;
|
|
12
14
|
stateType?: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused" | null | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { TaskRun } from '../models/TaskRun';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
|
|
3
|
+
selectable?: boolean | undefined;
|
|
4
|
+
selected?: string[] | null | undefined;
|
|
4
5
|
taskRuns: TaskRun[];
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:selected": (value: string[]) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
|
|
9
|
+
selectable?: boolean | undefined;
|
|
10
|
+
selected?: string[] | null | undefined;
|
|
10
11
|
taskRuns: TaskRun[];
|
|
11
|
-
disabled?: boolean | undefined;
|
|
12
12
|
}>>> & {
|
|
13
13
|
"onUpdate:selected"?: ((value: string[]) => any) | undefined;
|
|
14
14
|
}, {}, {}>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { CheckboxModel } from '@prefecthq/prefect-design';
|
|
2
2
|
import { TaskRun } from '../models/TaskRun';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
|
|
4
|
+
selectable?: boolean | undefined;
|
|
5
|
+
selected?: CheckboxModel | null;
|
|
5
6
|
taskRun: TaskRun;
|
|
6
|
-
disabled?: boolean | undefined;
|
|
7
7
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:selected": (value: CheckboxModel) => void;
|
|
9
9
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
|
|
10
|
+
selectable?: boolean | undefined;
|
|
11
|
+
selected?: CheckboxModel | null;
|
|
11
12
|
taskRun: TaskRun;
|
|
12
|
-
disabled?: boolean | undefined;
|
|
13
13
|
}>>> & {
|
|
14
14
|
"onUpdate:selected"?: ((value: CheckboxModel) => any) | undefined;
|
|
15
15
|
}, {}, {}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { WorkPool } from '../models';
|
|
2
|
+
import { WorkspaceDashboardFilter } from '../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
workPool: WorkPool;
|
|
5
|
+
filter?: WorkspaceDashboardFilter | undefined;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
workPool: WorkPool;
|
|
8
|
+
filter?: WorkspaceDashboardFilter | undefined;
|
|
9
|
+
}>>>, {}, {}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FlowRunsFilter, WorkPool } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
workPool: WorkPool;
|
|
4
|
+
filter?: FlowRunsFilter | undefined;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
workPool: WorkPool;
|
|
7
|
+
filter?: FlowRunsFilter | undefined;
|
|
8
|
+
}>>>, {}, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WorkPool } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
workPool: WorkPool;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
workPool: WorkPool;
|
|
6
|
+
}>>>, {}, {}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -55,6 +55,7 @@ export { default as CopyOverflowMenuItem } from './CopyOverflowMenuItem.vue';
|
|
|
55
55
|
export { default as CronScheduleForm } from './CronScheduleForm.vue';
|
|
56
56
|
export { default as DashboardStatistic } from './DashboardStatistic.vue';
|
|
57
57
|
export { default as DashboardTimeSpanFilter } from './DashboardTimeSpanFilter.vue';
|
|
58
|
+
export { default as DashboardWorkPoolsCard } from './DashboardWorkPoolsCard.vue';
|
|
58
59
|
export { default as DateInput } from './DateInput.vue';
|
|
59
60
|
export { default as DateRangeInput } from './DateRangeInput.vue';
|
|
60
61
|
export { default as DayOrDescriptionModal } from './DayOrDescriptionModal.vue';
|
|
@@ -231,6 +232,7 @@ export { default as TimezoneSelect } from './TimezoneSelect.vue';
|
|
|
231
232
|
export { default as ToastFlowRunCreate } from './ToastFlowRunCreate.vue';
|
|
232
233
|
export { default as VariableCreateModal } from './VariableCreateModal.vue';
|
|
233
234
|
export { default as VariableEditModal } from './VariableEditModal.vue';
|
|
235
|
+
export { default as FlowRunBreadCrumbs } from './FlowRunBreadCrumbs.vue';
|
|
234
236
|
export { default as VariableMenu } from './VariableMenu.vue';
|
|
235
237
|
export { default as VariablesDeleteButton } from './VariablesDeleteButton.vue';
|
|
236
238
|
export { default as VariablesTable } from './VariablesTable.vue';
|
|
@@ -6,6 +6,7 @@ export * from './useBlockSchema';
|
|
|
6
6
|
export * from './useBlockType';
|
|
7
7
|
export * from './useCan';
|
|
8
8
|
export * from './useComponent';
|
|
9
|
+
export * from './useDashboardSubscriptionOptions';
|
|
9
10
|
export * from './useDeployment';
|
|
10
11
|
export * from './useDeployments';
|
|
11
12
|
export * from './useDeploymentsCount';
|
|
@@ -31,6 +32,7 @@ export * from './useTaskRunResult';
|
|
|
31
32
|
export * from './useTaskRunsCount';
|
|
32
33
|
export * from './useVariable';
|
|
33
34
|
export * from './useVariables';
|
|
35
|
+
export * from './useWorkPoolLastPolled';
|
|
34
36
|
export * from './useWorkPoolQueue';
|
|
35
37
|
export * from './useWorkQueueStatus';
|
|
36
38
|
export * from './useWorkspaceApi';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SubscriptionOptions, UseSubscription } from '@prefecthq/vue-compositions';
|
|
2
|
+
import { ComputedRef, MaybeRef } from 'vue';
|
|
3
|
+
import { WorkPoolWorkersFilter } from '../models';
|
|
4
|
+
import { WorkspaceWorkPoolWorkersApi } from '../services';
|
|
5
|
+
export type UseWorkPoolLastPolled = {
|
|
6
|
+
subscription: UseSubscription<WorkspaceWorkPoolWorkersApi['getWorkers']>;
|
|
7
|
+
lastPolled: ComputedRef<string | undefined>;
|
|
8
|
+
};
|
|
9
|
+
export declare function useWorkPoolLastPolled(workPoolName: MaybeRef<string>, filter?: MaybeRef<WorkPoolWorkersFilter | undefined>, options?: SubscriptionOptions): UseWorkPoolLastPolled;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { FlowRunsFilter, TaskRunsFilter, TaskRunsHistoryFilter } from '../models/Filters';
|
|
1
|
+
import { FlowRunsFilter, TaskRunsFilter, TaskRunsHistoryFilter, WorkPoolWorkersFilter } from '../models/Filters';
|
|
2
2
|
import { MapFunction } from '../services/Mapper';
|
|
3
3
|
import { WorkspaceDashboardFilter } from '../types/dashboard';
|
|
4
4
|
export declare const mapWorkspaceDashboardFilterToTaskRunsFilter: MapFunction<WorkspaceDashboardFilter, TaskRunsFilter>;
|
|
5
5
|
export declare const mapWorkspaceDashboardFilterToTaskRunsHistoryFilter: MapFunction<WorkspaceDashboardFilter, TaskRunsHistoryFilter>;
|
|
6
6
|
export declare const mapWorkspaceDashboardFilterToFlowRunsFilter: MapFunction<WorkspaceDashboardFilter, FlowRunsFilter>;
|
|
7
|
+
export declare const mapWorkspaceDashboardFilterToWorkPoolWorkersFilter: MapFunction<WorkspaceDashboardFilter, WorkPoolWorkersFilter>;
|
|
@@ -477,6 +477,7 @@ export declare const maps: {
|
|
|
477
477
|
TaskRunsFilter: import("..").MapFunction<import("..").WorkspaceDashboardFilter, import("..").TaskRunsFilter>;
|
|
478
478
|
TaskRunsHistoryFilter: import("..").MapFunction<import("..").WorkspaceDashboardFilter, import("..").TaskRunsHistoryFilter>;
|
|
479
479
|
FlowRunsFilter: import("..").MapFunction<import("..").WorkspaceDashboardFilter, import("..").FlowRunsFilter>;
|
|
480
|
+
WorkPoolWorkersFilter: import("..").MapFunction<import("..").WorkspaceDashboardFilter, import("..").WorkPoolWorkersFilter>;
|
|
480
481
|
};
|
|
481
482
|
TaskRunHistoryStateResponse: {
|
|
482
483
|
TaskRunHistoryState: import("..").MapFunction<import("../models/api/TaskRunHistoryResponse").TaskRunHistoryStateResponse, import("..").TaskRunHistoryState>;
|
|
@@ -501,6 +501,7 @@ export declare const mapper: Mapper<{
|
|
|
501
501
|
TaskRunsFilter: MapFunction<import("..").WorkspaceDashboardFilter, import("..").TaskRunsFilter>;
|
|
502
502
|
TaskRunsHistoryFilter: MapFunction<import("..").WorkspaceDashboardFilter, import("..").TaskRunsHistoryFilter>;
|
|
503
503
|
FlowRunsFilter: MapFunction<import("..").WorkspaceDashboardFilter, import("..").FlowRunsFilter>;
|
|
504
|
+
WorkPoolWorkersFilter: MapFunction<import("..").WorkspaceDashboardFilter, import("..").WorkPoolWorkersFilter>;
|
|
504
505
|
};
|
|
505
506
|
TaskRunHistoryStateResponse: {
|
|
506
507
|
TaskRunHistoryState: MapFunction<import("../models/api/TaskRunHistoryResponse").TaskRunHistoryStateResponse, import("..").TaskRunHistoryState>;
|
|
@@ -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-636b7e2e.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-5a2294ea.mjs.map
|