@prefecthq/prefect-ui-library 1.6.13 → 1.6.15
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-fc7f44e9.mjs → index-52f2b143.mjs} +16409 -14836
- package/dist/index-52f2b143.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +672 -664
- package/dist/prefect-ui-library.umd.js +79 -79
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/demo/services/mockWorkspaceTaskRunsApi.d.ts +2 -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/FlowMenu.vue.d.ts +4 -2
- package/dist/types/src/components/FlowRunsBarChart.vue.d.ts +18 -0
- package/dist/types/src/components/StateIcon.vue.d.ts +2 -2
- package/dist/types/src/components/StateListItem.vue.d.ts +4 -2
- 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/WorkspaceDashboardFlowRunsCard.vue.d.ts +16 -0
- package/dist/types/src/components/WorkspaceDashboardTaskRunsCard.vue.d.ts +16 -0
- package/dist/types/src/components/index.d.ts +5 -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/useFlowRuns.d.ts +7 -4
- package/dist/types/src/compositions/useWorkPoolLastPolled.d.ts +9 -0
- package/dist/types/src/maps/dashboard.d.ts +7 -0
- package/dist/types/src/maps/filters.d.ts +3 -2
- package/dist/types/src/maps/index.d.ts +17 -2
- package/dist/types/src/maps/taskRunHistory.d.ts +5 -0
- package/dist/types/src/mocks/index.d.ts +1 -1
- package/dist/types/src/models/Filters.d.ts +5 -0
- package/dist/types/src/models/StateType.d.ts +1 -1
- package/dist/types/src/models/TaskRunHistory.d.ts +12 -0
- package/dist/types/src/models/api/Filters.d.ts +5 -0
- package/dist/types/src/models/api/TaskRunHistoryResponse.d.ts +12 -0
- package/dist/types/src/models/index.d.ts +1 -0
- package/dist/types/src/services/Mapper.d.ts +17 -2
- package/dist/types/src/services/Mocker.d.ts +1 -1
- package/dist/types/src/services/WorkspaceTaskRunsApi.d.ts +3 -1
- package/dist/types/src/types/states.d.ts +1 -1
- package/dist/types/src/utilities/numbers.d.ts +1 -0
- package/dist/{viewport.es-ae91b8e8-6a5b17cf.mjs → viewport.es-ae91b8e8-99340da8.mjs} +2 -2
- package/dist/{viewport.es-ae91b8e8-6a5b17cf.mjs.map → viewport.es-ae91b8e8-99340da8.mjs.map} +1 -1
- package/package.json +7 -5
- package/dist/index-fc7f44e9.mjs.map +0 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
label: string;
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
label: string;
|
|
5
|
+
}>>>, {}, {}>, {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -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,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;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FlowRunsFilter } from '../models/Filters';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
filter: FlowRunsFilter;
|
|
4
|
+
mini?: boolean | 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
|
+
filter: FlowRunsFilter;
|
|
7
|
+
mini?: boolean | 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
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TailwindColor } from '../types/tailwind';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
stateType: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "crashed" | "paused" | null | undefined;
|
|
3
|
+
stateType: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused" | null | undefined;
|
|
4
4
|
shade?: TailwindColor | undefined;
|
|
5
5
|
}>, {
|
|
6
6
|
shade: number;
|
|
7
7
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
stateType: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "crashed" | "paused" | null | undefined;
|
|
8
|
+
stateType: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused" | null | undefined;
|
|
9
9
|
shade?: TailwindColor | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
shade: number;
|
|
@@ -2,15 +2,17 @@ import { CheckboxModel } from '@prefecthq/prefect-design';
|
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
selected?: CheckboxModel | null;
|
|
4
4
|
value?: unknown;
|
|
5
|
-
stateType?: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "crashed" | "paused" | null | undefined;
|
|
5
|
+
stateType?: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused" | null | undefined;
|
|
6
6
|
tags?: string[] | null | undefined;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
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<{
|
|
10
11
|
selected?: CheckboxModel | null;
|
|
11
12
|
value?: unknown;
|
|
12
|
-
stateType?: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "crashed" | "paused" | null | undefined;
|
|
13
|
+
stateType?: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused" | null | undefined;
|
|
13
14
|
tags?: string[] | null | undefined;
|
|
15
|
+
disabled?: boolean | undefined;
|
|
14
16
|
}>>> & {
|
|
15
17
|
"onUpdate:selected"?: ((value: CheckboxModel) => any) | undefined;
|
|
16
18
|
}, {}, {}>, {
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WorkspaceDashboardFilter } from '../types/dashboard';
|
|
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
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WorkspaceDashboardFilter } from '../types/dashboard';
|
|
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
|
+
};
|
|
@@ -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';
|
|
@@ -109,6 +110,7 @@ export { default as FlowRunResumeButton } from './FlowRunResumeButton.vue';
|
|
|
109
110
|
export { default as FlowRunResumeModal } from './FlowRunResumeModal.vue';
|
|
110
111
|
export { default as FlowRunRetryButton } from './FlowRunRetryButton.vue';
|
|
111
112
|
export { default as FlowRunRetryModal } from './FlowRunRetryModal.vue';
|
|
113
|
+
export { default as FlowRunsBarChart } from './FlowRunsBarChart.vue';
|
|
112
114
|
export { default as FlowRunsDeleteButton } from './FlowRunsDeleteButton.vue';
|
|
113
115
|
export { default as FlowRunsFilterGroup } from './FlowRunsFilterGroup.vue';
|
|
114
116
|
export { default as FlowRunsPageEmptyState } from './FlowRunsPageEmptyState.vue';
|
|
@@ -230,6 +232,7 @@ export { default as TimezoneSelect } from './TimezoneSelect.vue';
|
|
|
230
232
|
export { default as ToastFlowRunCreate } from './ToastFlowRunCreate.vue';
|
|
231
233
|
export { default as VariableCreateModal } from './VariableCreateModal.vue';
|
|
232
234
|
export { default as VariableEditModal } from './VariableEditModal.vue';
|
|
235
|
+
export { default as FlowRunBreadCrumbs } from './FlowRunBreadCrumbs.vue';
|
|
233
236
|
export { default as VariableMenu } from './VariableMenu.vue';
|
|
234
237
|
export { default as VariablesDeleteButton } from './VariablesDeleteButton.vue';
|
|
235
238
|
export { default as VariablesTable } from './VariablesTable.vue';
|
|
@@ -282,3 +285,5 @@ export { default as WorkQueuesTable } from './WorkQueuesTable.vue';
|
|
|
282
285
|
export { default as WorkQueueStatusBadge } from './WorkQueueStatusBadge.vue';
|
|
283
286
|
export { default as WorkQueueStatusIcon } from './WorkQueueStatusIcon.vue';
|
|
284
287
|
export { default as WorkQueueToggle } from './WorkQueueToggle.vue';
|
|
288
|
+
export { default as WorkspaceDashboardFlowRunsCard } from './WorkspaceDashboardFlowRunsCard.vue';
|
|
289
|
+
export { default as WorkspaceDashboardTaskRunsCard } from './WorkspaceDashboardTaskRunsCard.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';
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { SubscriptionOptions } from '@prefecthq/vue-compositions';
|
|
2
|
-
import { Ref } from 'vue';
|
|
1
|
+
import { SubscriptionOptions, UseSubscription } from '@prefecthq/vue-compositions';
|
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
3
|
import { FlowRunsFilter } from '../models/Filters';
|
|
4
|
+
import { FlowRun } from '../models/FlowRun';
|
|
4
5
|
import { WorkspaceFlowRunsApi } from '../services';
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
export type UseFlowRuns = {
|
|
7
|
+
subscription: UseSubscription<WorkspaceFlowRunsApi['getFlowRuns']>;
|
|
8
|
+
flowRuns: ComputedRef<FlowRun[]>;
|
|
9
|
+
};
|
|
7
10
|
export declare function useFlowRuns(filter: FlowRunsFilter | Ref<FlowRunsFilter | null | undefined>, options?: SubscriptionOptions): UseFlowRuns;
|
|
@@ -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;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FlowRunsFilter, TaskRunsFilter, TaskRunsHistoryFilter, WorkPoolWorkersFilter } from '../models/Filters';
|
|
2
|
+
import { MapFunction } from '../services/Mapper';
|
|
3
|
+
import { WorkspaceDashboardFilter } from '../types/dashboard';
|
|
4
|
+
export declare const mapWorkspaceDashboardFilterToTaskRunsFilter: MapFunction<WorkspaceDashboardFilter, TaskRunsFilter>;
|
|
5
|
+
export declare const mapWorkspaceDashboardFilterToTaskRunsHistoryFilter: MapFunction<WorkspaceDashboardFilter, TaskRunsHistoryFilter>;
|
|
6
|
+
export declare const mapWorkspaceDashboardFilterToFlowRunsFilter: MapFunction<WorkspaceDashboardFilter, FlowRunsFilter>;
|
|
7
|
+
export declare const mapWorkspaceDashboardFilterToWorkPoolWorkersFilter: MapFunction<WorkspaceDashboardFilter, WorkPoolWorkersFilter>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TagFilterRequest, FlowFilterRequest, FlowRunFilterRequest, StateFilterRequest, TaskRunFilterRequest, DeploymentFilterRequest, FlowsFilterRequest, FlowRunsFilterRequest, TaskRunsFilterRequest, DeploymentsFilterRequest, BlockTypeFilterRequest, BlockSchemaFilterRequest, BlockDocumentFilterRequest, NotificationsFilterRequest, SavedSearchesFilterRequest, LogsFilterRequest, ConcurrencyLimitsFilterRequest, BlockTypesFilterRequest, BlockSchemasFilterRequest, BlockDocumentsFilterRequest, WorkQueuesFilterRequest, WorkPoolFilterRequest, WorkPoolsFilterRequest, WorkPoolQueueFilterRequest, FlowRunsHistoryFilterRequest, WorkPoolWorkersFilterRequest, WorkPoolQueuesFilterRequest, ArtifactsFilterRequest, ArtifactFilterRequest, VariablesFilterRequest, VariableFilterRequest } from '../models/api/Filters';
|
|
2
|
-
import { FlowFilter, FlowRunFilter, StateFilter, TagFilter, TaskRunFilter, DeploymentFilter, FlowsFilter, FlowRunsFilter, TaskRunsFilter, DeploymentsFilter, BlockTypeFilter, BlockSchemaFilter, BlockDocumentFilter, NotificationsFilter, SavedSearchesFilter, LogsFilter, ConcurrencyLimitsFilter, BlockTypesFilter, BlockSchemasFilter, BlockDocumentsFilter, WorkQueuesFilter, WorkPoolFilter, WorkPoolsFilter, WorkPoolQueueFilter, FlowRunsHistoryFilter, WorkPoolWorkersFilter, WorkPoolQueuesFilter, ArtifactsFilter, ArtifactFilter, VariablesFilter, VariableFilter } from '../models/Filters';
|
|
1
|
+
import { TagFilterRequest, FlowFilterRequest, FlowRunFilterRequest, StateFilterRequest, TaskRunFilterRequest, DeploymentFilterRequest, FlowsFilterRequest, FlowRunsFilterRequest, TaskRunsFilterRequest, DeploymentsFilterRequest, BlockTypeFilterRequest, BlockSchemaFilterRequest, BlockDocumentFilterRequest, NotificationsFilterRequest, SavedSearchesFilterRequest, LogsFilterRequest, ConcurrencyLimitsFilterRequest, BlockTypesFilterRequest, BlockSchemasFilterRequest, BlockDocumentsFilterRequest, WorkQueuesFilterRequest, WorkPoolFilterRequest, WorkPoolsFilterRequest, WorkPoolQueueFilterRequest, FlowRunsHistoryFilterRequest, WorkPoolWorkersFilterRequest, WorkPoolQueuesFilterRequest, ArtifactsFilterRequest, ArtifactFilterRequest, VariablesFilterRequest, VariableFilterRequest, TaskRunsHistoryFilterRequest } from '../models/api/Filters';
|
|
2
|
+
import { FlowFilter, FlowRunFilter, StateFilter, TagFilter, TaskRunFilter, DeploymentFilter, FlowsFilter, FlowRunsFilter, TaskRunsFilter, DeploymentsFilter, BlockTypeFilter, BlockSchemaFilter, BlockDocumentFilter, NotificationsFilter, SavedSearchesFilter, LogsFilter, ConcurrencyLimitsFilter, BlockTypesFilter, BlockSchemasFilter, BlockDocumentsFilter, WorkQueuesFilter, WorkPoolFilter, WorkPoolsFilter, WorkPoolQueueFilter, FlowRunsHistoryFilter, WorkPoolWorkersFilter, WorkPoolQueuesFilter, ArtifactsFilter, ArtifactFilter, VariablesFilter, VariableFilter, TaskRunsHistoryFilter } from '../models/Filters';
|
|
3
3
|
import { MapFunction } from '../services';
|
|
4
4
|
export declare const mapTagFilter: MapFunction<TagFilter, TagFilterRequest>;
|
|
5
5
|
export declare const mapStateFilter: MapFunction<StateFilter, StateFilterRequest>;
|
|
@@ -32,3 +32,4 @@ export declare const mapWorkQueuesFilter: MapFunction<WorkQueuesFilter, WorkQueu
|
|
|
32
32
|
export declare const mapWorkPoolsFilter: MapFunction<WorkPoolsFilter, WorkPoolsFilterRequest>;
|
|
33
33
|
export declare const mapWorkPoolWorkersFilter: MapFunction<WorkPoolWorkersFilter, WorkPoolWorkersFilterRequest>;
|
|
34
34
|
export declare const mapWorkPoolQueuesFilter: MapFunction<WorkPoolQueuesFilter, WorkPoolQueuesFilterRequest>;
|
|
35
|
+
export declare const mapTaskRunsHistoryFilter: MapFunction<TaskRunsHistoryFilter, TaskRunsHistoryFilterRequest>;
|
|
@@ -226,7 +226,7 @@ export declare const maps: {
|
|
|
226
226
|
}, import("..").SchemaValues>;
|
|
227
227
|
};
|
|
228
228
|
ServerStateType: {
|
|
229
|
-
StateType: import("..").MapFunction<"COMPLETED" | "RUNNING" | "SCHEDULED" | "PENDING" | "FAILED" | "CANCELLED" | "CRASHED" | "PAUSED", "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "crashed" | "paused">;
|
|
229
|
+
StateType: import("..").MapFunction<"COMPLETED" | "RUNNING" | "SCHEDULED" | "PENDING" | "FAILED" | "CANCELLED" | "CANCELLING" | "CRASHED" | "PAUSED", "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused">;
|
|
230
230
|
};
|
|
231
231
|
State: {
|
|
232
232
|
StateResponse: import("..").MapFunction<import("..").State, import("..").StateResponse>;
|
|
@@ -264,7 +264,7 @@ export declare const maps: {
|
|
|
264
264
|
State: import("..").MapFunction<import("..").StateResponse, import("..").State>;
|
|
265
265
|
};
|
|
266
266
|
StateType: {
|
|
267
|
-
ServerStateType: import("..").MapFunction<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "crashed" | "paused", "COMPLETED" | "RUNNING" | "SCHEDULED" | "PENDING" | "FAILED" | "CANCELLED" | "CRASHED" | "PAUSED">;
|
|
267
|
+
ServerStateType: import("..").MapFunction<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused", "COMPLETED" | "RUNNING" | "SCHEDULED" | "PENDING" | "FAILED" | "CANCELLED" | "CANCELLING" | "CRASHED" | "PAUSED">;
|
|
268
268
|
};
|
|
269
269
|
StateUpdate: {
|
|
270
270
|
StateUpdateRequest: import("..").MapFunction<import("..").StateUpdate, import("..").StateUpdateRequest>;
|
|
@@ -294,6 +294,9 @@ export declare const maps: {
|
|
|
294
294
|
TaskRunsFilter: {
|
|
295
295
|
TaskRunsFilterRequest: import("..").MapFunction<import("..").TaskRunsFilter, import("../models/api/Filters").TaskRunsFilterRequest>;
|
|
296
296
|
};
|
|
297
|
+
TaskRunsHistoryFilter: {
|
|
298
|
+
TaskRunsHistoryFilterRequest: import("..").MapFunction<import("..").TaskRunsHistoryFilter, import("../models/api/Filters").TaskRunsHistoryFilterRequest>;
|
|
299
|
+
};
|
|
297
300
|
UiFlowRunHistory: {
|
|
298
301
|
ScatterPlotItem: import("..").MapFunction<import("..").UiFlowRunHistory, {
|
|
299
302
|
id: string;
|
|
@@ -470,4 +473,16 @@ export declare const maps: {
|
|
|
470
473
|
WorkQueueStatusResponse: {
|
|
471
474
|
WorkQueueStatus: import("..").MapFunction<import("..").WorkQueueStatusResponse, import("..").WorkQueueStatus>;
|
|
472
475
|
};
|
|
476
|
+
WorkspaceDashboardFilter: {
|
|
477
|
+
TaskRunsFilter: import("..").MapFunction<import("..").WorkspaceDashboardFilter, import("..").TaskRunsFilter>;
|
|
478
|
+
TaskRunsHistoryFilter: import("..").MapFunction<import("..").WorkspaceDashboardFilter, import("..").TaskRunsHistoryFilter>;
|
|
479
|
+
FlowRunsFilter: import("..").MapFunction<import("..").WorkspaceDashboardFilter, import("..").FlowRunsFilter>;
|
|
480
|
+
WorkPoolWorkersFilter: import("..").MapFunction<import("..").WorkspaceDashboardFilter, import("..").WorkPoolWorkersFilter>;
|
|
481
|
+
};
|
|
482
|
+
TaskRunHistoryStateResponse: {
|
|
483
|
+
TaskRunHistoryState: import("..").MapFunction<import("../models/api/TaskRunHistoryResponse").TaskRunHistoryStateResponse, import("..").TaskRunHistoryState>;
|
|
484
|
+
};
|
|
485
|
+
TaskRunHistoryResponse: {
|
|
486
|
+
TaskRunHistory: import("..").MapFunction<import("../models/api/TaskRunHistoryResponse").TaskRunHistoryResponse, import("..").TaskRunHistory>;
|
|
487
|
+
};
|
|
473
488
|
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TaskRunHistoryResponse, TaskRunHistoryStateResponse } from '../models/api/TaskRunHistoryResponse';
|
|
2
|
+
import { TaskRunHistory, TaskRunHistoryState } from '../models/TaskRunHistory';
|
|
3
|
+
import { MapFunction } from '../services/Mapper';
|
|
4
|
+
export declare const mapTaskRunHistoryStateResponseToTaskRunHistoryState: MapFunction<TaskRunHistoryStateResponse, TaskRunHistoryState>;
|
|
5
|
+
export declare const mapTaskRunHistoryResponseToTaskRunHistory: MapFunction<TaskRunHistoryResponse, TaskRunHistory>;
|
|
@@ -67,7 +67,7 @@ export declare const mocks: {
|
|
|
67
67
|
schemaProperty: import("..").MockFunction<import("..").SchemaProperty, [(import("..").SchemaProperty | undefined)?]>;
|
|
68
68
|
sentence: import("..").MockFunction<string, []>;
|
|
69
69
|
state: import("..").MockFunction<import("..").State, [(Partial<import("..").State> | undefined)?]>;
|
|
70
|
-
stateType: import("..").MockFunction<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "crashed" | "paused", []>;
|
|
70
|
+
stateType: import("..").MockFunction<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused", []>;
|
|
71
71
|
string: import("..").MockFunction<string, [(number | undefined)?]>;
|
|
72
72
|
table: import("..").MockFunction<import("@prefecthq/prefect-design").TableData[], [(Partial<import("../mocks/table").MockTableOverrides> | undefined)?]>;
|
|
73
73
|
taskRun: import("..").MockFunction<import("..").TaskRun, [(Partial<import("..").TaskRun> | undefined)?]>;
|
|
@@ -224,3 +224,8 @@ export type WorkPoolWorkersFilter = {
|
|
|
224
224
|
limit?: number;
|
|
225
225
|
offset?: number;
|
|
226
226
|
};
|
|
227
|
+
export type TaskRunsHistoryFilter = Pick<TaskRunsFilter, 'deployments' | 'flows' | 'flowRuns' | 'taskRuns'> & {
|
|
228
|
+
historyStart: Date;
|
|
229
|
+
historyEnd: Date;
|
|
230
|
+
historyIntervalSeconds: number;
|
|
231
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const stateType: readonly ["completed", "running", "scheduled", "pending", "failed", "cancelled", "crashed", "paused"];
|
|
1
|
+
export declare const stateType: readonly ["completed", "running", "scheduled", "pending", "failed", "cancelled", "cancelling", "crashed", "paused"];
|
|
2
2
|
export type StateType = typeof stateType[number];
|
|
3
3
|
export type ServerStateType = Uppercase<StateType>;
|
|
4
4
|
export declare function isStateType(value: unknown): value is StateType;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type TaskRunHistoryState = {
|
|
2
|
+
stateType: string;
|
|
3
|
+
stateName: string;
|
|
4
|
+
countRuns: number;
|
|
5
|
+
sumEstimatedRunTime: number;
|
|
6
|
+
sumEstimatedLateness: number;
|
|
7
|
+
};
|
|
8
|
+
export type TaskRunHistory = {
|
|
9
|
+
intervalStart: Date;
|
|
10
|
+
intervalEnd: Date;
|
|
11
|
+
states: TaskRunHistoryState[];
|
|
12
|
+
};
|
|
@@ -243,3 +243,8 @@ export type WorkPoolWorkersFilterRequest = {
|
|
|
243
243
|
limit?: number;
|
|
244
244
|
offset?: number;
|
|
245
245
|
};
|
|
246
|
+
export type TaskRunsHistoryFilterRequest = Pick<TaskRunsFilterRequest, 'deployments' | 'flow_runs' | 'task_runs' | 'flows'> & {
|
|
247
|
+
history_start: string;
|
|
248
|
+
history_end: string;
|
|
249
|
+
history_interval_seconds: number;
|
|
250
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type TaskRunHistoryStateResponse = {
|
|
2
|
+
state_type: string;
|
|
3
|
+
state_name: string;
|
|
4
|
+
count_runs: number;
|
|
5
|
+
sum_estimated_run_time: number;
|
|
6
|
+
sum_estimated_lateness: number;
|
|
7
|
+
};
|
|
8
|
+
export type TaskRunHistoryResponse = {
|
|
9
|
+
interval_start: string;
|
|
10
|
+
interval_end: string;
|
|
11
|
+
states: TaskRunHistoryStateResponse[];
|
|
12
|
+
};
|
|
@@ -250,7 +250,7 @@ export declare const mapper: Mapper<{
|
|
|
250
250
|
}, import("..").SchemaValues>;
|
|
251
251
|
};
|
|
252
252
|
ServerStateType: {
|
|
253
|
-
StateType: MapFunction<"COMPLETED" | "RUNNING" | "SCHEDULED" | "PENDING" | "FAILED" | "CANCELLED" | "CRASHED" | "PAUSED", "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "crashed" | "paused">;
|
|
253
|
+
StateType: MapFunction<"COMPLETED" | "RUNNING" | "SCHEDULED" | "PENDING" | "FAILED" | "CANCELLED" | "CANCELLING" | "CRASHED" | "PAUSED", "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused">;
|
|
254
254
|
};
|
|
255
255
|
State: {
|
|
256
256
|
StateResponse: MapFunction<import("..").State, import("..").StateResponse>;
|
|
@@ -288,7 +288,7 @@ export declare const mapper: Mapper<{
|
|
|
288
288
|
State: MapFunction<import("..").StateResponse, import("..").State>;
|
|
289
289
|
};
|
|
290
290
|
StateType: {
|
|
291
|
-
ServerStateType: MapFunction<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "crashed" | "paused", "COMPLETED" | "RUNNING" | "SCHEDULED" | "PENDING" | "FAILED" | "CANCELLED" | "CRASHED" | "PAUSED">;
|
|
291
|
+
ServerStateType: MapFunction<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused", "COMPLETED" | "RUNNING" | "SCHEDULED" | "PENDING" | "FAILED" | "CANCELLED" | "CANCELLING" | "CRASHED" | "PAUSED">;
|
|
292
292
|
};
|
|
293
293
|
StateUpdate: {
|
|
294
294
|
StateUpdateRequest: MapFunction<import("..").StateUpdate, import("..").StateUpdateRequest>;
|
|
@@ -318,6 +318,9 @@ export declare const mapper: Mapper<{
|
|
|
318
318
|
TaskRunsFilter: {
|
|
319
319
|
TaskRunsFilterRequest: MapFunction<import("..").TaskRunsFilter, import("../models/api/Filters").TaskRunsFilterRequest>;
|
|
320
320
|
};
|
|
321
|
+
TaskRunsHistoryFilter: {
|
|
322
|
+
TaskRunsHistoryFilterRequest: MapFunction<import("..").TaskRunsHistoryFilter, import("../models/api/Filters").TaskRunsHistoryFilterRequest>;
|
|
323
|
+
};
|
|
321
324
|
UiFlowRunHistory: {
|
|
322
325
|
ScatterPlotItem: MapFunction<import("..").UiFlowRunHistory, {
|
|
323
326
|
id: string;
|
|
@@ -494,6 +497,18 @@ export declare const mapper: Mapper<{
|
|
|
494
497
|
WorkQueueStatusResponse: {
|
|
495
498
|
WorkQueueStatus: MapFunction<import("..").WorkQueueStatusResponse, import("..").WorkQueueStatus>;
|
|
496
499
|
};
|
|
500
|
+
WorkspaceDashboardFilter: {
|
|
501
|
+
TaskRunsFilter: MapFunction<import("..").WorkspaceDashboardFilter, import("..").TaskRunsFilter>;
|
|
502
|
+
TaskRunsHistoryFilter: MapFunction<import("..").WorkspaceDashboardFilter, import("..").TaskRunsHistoryFilter>;
|
|
503
|
+
FlowRunsFilter: MapFunction<import("..").WorkspaceDashboardFilter, import("..").FlowRunsFilter>;
|
|
504
|
+
WorkPoolWorkersFilter: MapFunction<import("..").WorkspaceDashboardFilter, import("..").WorkPoolWorkersFilter>;
|
|
505
|
+
};
|
|
506
|
+
TaskRunHistoryStateResponse: {
|
|
507
|
+
TaskRunHistoryState: MapFunction<import("../models/api/TaskRunHistoryResponse").TaskRunHistoryStateResponse, import("..").TaskRunHistoryState>;
|
|
508
|
+
};
|
|
509
|
+
TaskRunHistoryResponse: {
|
|
510
|
+
TaskRunHistory: MapFunction<import("../models/api/TaskRunHistoryResponse").TaskRunHistoryResponse, import("..").TaskRunHistory>;
|
|
511
|
+
};
|
|
497
512
|
}>;
|
|
498
513
|
export type MapFunction<S, D> = (this: typeof mapper, source: S) => D;
|
|
499
514
|
export {};
|
|
@@ -80,7 +80,7 @@ export declare const mocker: Mocker<{
|
|
|
80
80
|
schemaProperty: MockFunction<import("..").SchemaProperty, [(import("..").SchemaProperty | undefined)?]>;
|
|
81
81
|
sentence: MockFunction<string, []>;
|
|
82
82
|
state: MockFunction<import("..").State, [(Partial<import("..").State> | undefined)?]>;
|
|
83
|
-
stateType: MockFunction<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "crashed" | "paused", []>;
|
|
83
|
+
stateType: MockFunction<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused", []>;
|
|
84
84
|
string: MockFunction<string, [(number | undefined)?]>;
|
|
85
85
|
table: MockFunction<import("@prefecthq/prefect-design").TableData[], [(Partial<import("../mocks/table").MockTableOverrides> | undefined)?]>;
|
|
86
86
|
taskRun: MockFunction<import("..").TaskRun, [(Partial<import("..").TaskRun> | undefined)?]>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { TaskRunsFilter } from '../models/Filters';
|
|
1
|
+
import { TaskRunsFilter, TaskRunsHistoryFilter } from '../models/Filters';
|
|
2
2
|
import { StateUpdate } from '../models/StateUpdate';
|
|
3
3
|
import { TaskRun } from '../models/TaskRun';
|
|
4
|
+
import { TaskRunHistory } from '../models/TaskRunHistory';
|
|
4
5
|
import { WorkspaceApi } from '../services/WorkspaceApi';
|
|
5
6
|
export interface IWorkspaceTaskRunsApi {
|
|
6
7
|
getTaskRun: (taskRunId: string) => Promise<TaskRun>;
|
|
@@ -17,4 +18,5 @@ export declare class WorkspaceTaskRunsApi extends WorkspaceApi implements IWorks
|
|
|
17
18
|
getTaskRunsCount(filter?: TaskRunsFilter): Promise<number>;
|
|
18
19
|
setTaskRunState(id: string, body: StateUpdate): Promise<void>;
|
|
19
20
|
deleteTaskRun(taskRunId: string): Promise<void>;
|
|
21
|
+
getTaskRunsHistory(filter: TaskRunsHistoryFilter): Promise<TaskRunHistory[]>;
|
|
20
22
|
}
|
|
@@ -11,7 +11,7 @@ export declare const prefectStateNameTypes: {
|
|
|
11
11
|
readonly Completed: "completed";
|
|
12
12
|
readonly Skipped: "completed";
|
|
13
13
|
readonly Cancelled: "cancelled";
|
|
14
|
-
readonly Cancelling: "
|
|
14
|
+
readonly Cancelling: "cancelling";
|
|
15
15
|
readonly Crashed: "crashed";
|
|
16
16
|
readonly Failed: "failed";
|
|
17
17
|
readonly TimedOut: "failed";
|
|
@@ -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-52f2b143.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-99340da8.mjs.map
|