@prefecthq/prefect-ui-library 1.4.6 → 1.5.0
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-fc10472d.mjs → index-d9d3a498.mjs} +17975 -17325
- package/dist/index-d9d3a498.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +645 -632
- package/dist/prefect-ui-library.umd.js +83 -83
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/demo/compositions/useFlowMock.d.ts +4 -1
- package/dist/types/demo/sections/flows/FlowList.vue.d.ts +2 -0
- package/dist/types/demo/sections/flows/FlowListItem.vue.d.ts +2 -0
- package/dist/types/demo/services/mockWorkspaceDeploymentsApi.d.ts +6 -0
- package/dist/types/demo/services/mockWorkspaceFlowRunsApi.d.ts +6 -0
- package/dist/types/demo/services/mockWorkspaceFlowsApi.d.ts +6 -0
- package/dist/types/demo/utilities/data.d.ts +2 -2
- package/dist/types/src/components/DeploymentList.vue.d.ts +43 -0
- package/dist/types/src/components/DeploymentListItem.vue.d.ts +23 -0
- package/dist/types/src/components/ExtraInfoModal.vue.d.ts +1 -0
- package/dist/types/src/components/FlowList.vue.d.ts +44 -0
- package/dist/types/src/components/FlowListItem.vue.d.ts +31 -0
- package/dist/types/src/components/FlowRunDeployment.vue.d.ts +15 -0
- package/dist/types/src/components/FlowRunTaskCount.vue.d.ts +2 -11
- package/dist/types/src/components/FlowRunTimeline.vue.d.ts +9 -2
- package/dist/types/src/components/FlowRunWorkPool.vue.d.ts +15 -0
- package/dist/types/src/components/FlowRunWorkQueue.vue.d.ts +17 -0
- package/dist/types/src/components/ListItemMeta.vue.d.ts +24 -0
- package/dist/types/src/components/ListItemMetaFlowRun.vue.d.ts +18 -0
- package/dist/types/src/components/StateListItem.vue.d.ts +8 -6
- package/dist/types/src/components/index.d.ts +10 -4
- package/dist/types/src/compositions/index.d.ts +5 -0
- package/dist/types/src/compositions/useDeployments.d.ts +7 -0
- package/dist/types/src/compositions/useDeploymentsCount.d.ts +6 -0
- package/dist/types/src/compositions/useFlows.d.ts +4 -2
- package/dist/types/src/compositions/useFlowsCount.d.ts +6 -0
- package/dist/types/src/compositions/useLastFlowRun.d.ts +9 -0
- package/dist/types/src/compositions/useNextFlowRun.d.ts +9 -0
- package/dist/types/src/localization/index.d.ts +12 -0
- package/dist/types/src/localization/locale/en.d.ts +12 -0
- package/dist/types/src/models/StateType.d.ts +3 -0
- package/dist/{viewport.es-84fb8076-717d5319.mjs → viewport.es-14935be0-cad7f008.mjs} +10 -10
- package/dist/{viewport.es-84fb8076-717d5319.mjs.map → viewport.es-14935be0-cad7f008.mjs.map} +1 -1
- package/package.json +3 -3
- package/dist/index-fc10472d.mjs.map +0 -1
|
@@ -4,7 +4,13 @@ import { DeploymentsFilter } from '../../src/models/Filters';
|
|
|
4
4
|
import { IWorkspaceDeploymentsApi } from '../../src/services';
|
|
5
5
|
export declare class MockWorkspaceDeploymentsApi extends MockApi implements IWorkspaceDeploymentsApi {
|
|
6
6
|
getDeployment(deploymentId: string): Promise<Deployment>;
|
|
7
|
+
/**
|
|
8
|
+
* WARNING: Not all filter arguments have been implemented for the getDeployments method... feel free to add any missing filters :)
|
|
9
|
+
*/
|
|
7
10
|
getDeployments(filter: DeploymentsFilter): Promise<Deployment[]>;
|
|
11
|
+
/**
|
|
12
|
+
* WARNING: Not all filter arguments have been implemented for the getDeploymentsCount method... feel free to add any missing filters :)
|
|
13
|
+
*/
|
|
8
14
|
getDeploymentsCount(filter: DeploymentsFilter): Promise<number>;
|
|
9
15
|
createDeploymentFlowRun(deploymentId: string, request?: DeploymentFlowRunCreate): Promise<FlowRun>;
|
|
10
16
|
updateDeployment(deploymentId: string, request: DeploymentUpdate): Promise<void>;
|
|
@@ -5,7 +5,13 @@ import { FlowRunsFilter, FlowRunsHistoryFilter } from '../../src/models/Filters'
|
|
|
5
5
|
import { IWorkspaceFlowRunsApi } from '../../src/services';
|
|
6
6
|
export declare class MockWorkspaceFlowRunsApi extends MockApi implements IWorkspaceFlowRunsApi {
|
|
7
7
|
getFlowRun(flowRunId: string): Promise<FlowRun>;
|
|
8
|
+
/**
|
|
9
|
+
* WARNING: Not all filter arguments have been implemented for the getFlowRuns method... feel free to add any missing filters :)
|
|
10
|
+
*/
|
|
8
11
|
getFlowRuns(filter: FlowRunsFilter): Promise<FlowRun[]>;
|
|
12
|
+
/**
|
|
13
|
+
* WARNING: Not all filter arguments have been implemented for the getFlowRunsCount method... feel free to add any missing filters :)
|
|
14
|
+
*/
|
|
9
15
|
getFlowRunsCount(filter: FlowRunsFilter): Promise<number>;
|
|
10
16
|
getFlowRunsHistory(filter: FlowRunsHistoryFilter): Promise<RunHistory[]>;
|
|
11
17
|
getFlowRunsGraph(graphId: string): Promise<GraphNode[]>;
|
|
@@ -4,7 +4,13 @@ import { FlowsFilter } from '../../src/models/Filters';
|
|
|
4
4
|
import { IWorkspaceFlowsApi } from '../../src/services';
|
|
5
5
|
export declare class MockWorkspaceFlowsApi extends MockApi implements IWorkspaceFlowsApi {
|
|
6
6
|
getFlow(flowId: string): Promise<Flow>;
|
|
7
|
+
/**
|
|
8
|
+
* WARNING: Not all filter arguments have been implemented for the getFlows method... feel free to add any missing filters :)
|
|
9
|
+
*/
|
|
7
10
|
getFlows(filter?: FlowsFilter): Promise<Flow[]>;
|
|
11
|
+
/**
|
|
12
|
+
* WARNING: Not all filter arguments have been implemented for the getFlowsCount method... feel free to add any missing filters :)
|
|
13
|
+
*/
|
|
8
14
|
getFlowsCount(filter?: FlowsFilter): Promise<number>;
|
|
9
15
|
deleteFlow(flowId: string): Promise<void>;
|
|
10
16
|
}
|
|
@@ -11,7 +11,7 @@ export declare function createDataStores(seeds?: ApiMockSeeds): {
|
|
|
11
11
|
flowRunGraphs: KeyedDataStore<FlowRunGraphMock, string>;
|
|
12
12
|
blockDocuments: KeyedDataStore<BlockDocument, string>;
|
|
13
13
|
blockSchemas: KeyedDataStore<BlockSchema, string>;
|
|
14
|
-
concurrencyLimits: KeyedDataStore<import("../../src/
|
|
14
|
+
concurrencyLimits: KeyedDataStore<import("../../src/index").ConcurrencyLimit, string>;
|
|
15
15
|
taskRuns: KeyedDataStore<TaskRun, string>;
|
|
16
16
|
deployments: KeyedDataStore<Deployment, string>;
|
|
17
17
|
workQueues: KeyedDataStore<WorkQueue, string>;
|
|
@@ -30,7 +30,7 @@ export declare const data: {
|
|
|
30
30
|
flowRunGraphs: KeyedDataStore<FlowRunGraphMock, string>;
|
|
31
31
|
blockDocuments: KeyedDataStore<BlockDocument, string>;
|
|
32
32
|
blockSchemas: KeyedDataStore<BlockSchema, string>;
|
|
33
|
-
concurrencyLimits: KeyedDataStore<import("../../src/
|
|
33
|
+
concurrencyLimits: KeyedDataStore<import("../../src/index").ConcurrencyLimit, string>;
|
|
34
34
|
taskRuns: KeyedDataStore<TaskRun, string>;
|
|
35
35
|
deployments: KeyedDataStore<Deployment, string>;
|
|
36
36
|
workQueues: KeyedDataStore<WorkQueue, string>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { DeploymentsFilter } from '../models';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
filter?: DeploymentsFilter | undefined;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
delete: (value?: string | undefined) => void;
|
|
7
|
+
} & {
|
|
8
|
+
update: (value?: string | undefined) => void;
|
|
9
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
filter?: DeploymentsFilter | undefined;
|
|
11
|
+
disabled?: boolean | undefined;
|
|
12
|
+
}>>> & {
|
|
13
|
+
onDelete?: ((value?: string | undefined) => any) | undefined;
|
|
14
|
+
onUpdate?: ((value?: string | undefined) => any) | undefined;
|
|
15
|
+
}, {}>, {
|
|
16
|
+
'header-start': (_: {}) => any;
|
|
17
|
+
default: (_: {
|
|
18
|
+
item: any;
|
|
19
|
+
selected: never[];
|
|
20
|
+
disabled: boolean | undefined;
|
|
21
|
+
update: (deploymentId: string) => void;
|
|
22
|
+
delete: (deploymentId: string) => void;
|
|
23
|
+
}) => any;
|
|
24
|
+
'footer-end': (_: {
|
|
25
|
+
page: number;
|
|
26
|
+
pages: number;
|
|
27
|
+
}) => any;
|
|
28
|
+
}>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Deployment } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
deployment: Deployment;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
delete: (value: string) => void;
|
|
6
|
+
} & {
|
|
7
|
+
update: (value: string) => void;
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
deployment: Deployment;
|
|
10
|
+
}>>> & {
|
|
11
|
+
onDelete?: ((value: string) => any) | undefined;
|
|
12
|
+
onUpdate?: ((value: string) => any) | undefined;
|
|
13
|
+
}, {}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { FlowsFilter } from '../models/Filters';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
filter?: FlowsFilter | undefined;
|
|
4
|
+
disabled?: boolean | undefined;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
delete: (value?: string | undefined) => void;
|
|
7
|
+
} & {
|
|
8
|
+
update: (value?: string | undefined) => void;
|
|
9
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
filter?: FlowsFilter | undefined;
|
|
11
|
+
disabled?: boolean | undefined;
|
|
12
|
+
}>>> & {
|
|
13
|
+
onDelete?: ((value?: string | undefined) => any) | undefined;
|
|
14
|
+
onUpdate?: ((value?: string | undefined) => any) | undefined;
|
|
15
|
+
}, {}>, {
|
|
16
|
+
'header-start': (_: {}) => any;
|
|
17
|
+
'header-end': (_: {}) => any;
|
|
18
|
+
default: (_: {
|
|
19
|
+
item: any;
|
|
20
|
+
selected: string[];
|
|
21
|
+
disabled: boolean | undefined;
|
|
22
|
+
update: (flowId: string) => void;
|
|
23
|
+
delete: (flowId: string) => void;
|
|
24
|
+
}) => any;
|
|
25
|
+
'footer-end': (_: {
|
|
26
|
+
page: number;
|
|
27
|
+
pages: number;
|
|
28
|
+
}) => any;
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Flow, FlowsFilter } from '../models';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
flow: Flow;
|
|
4
|
+
filter?: FlowsFilter | undefined;
|
|
5
|
+
disabled?: boolean | undefined;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
delete: (value: string) => void;
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
flow: Flow;
|
|
10
|
+
filter?: FlowsFilter | undefined;
|
|
11
|
+
disabled?: boolean | undefined;
|
|
12
|
+
}>>> & {
|
|
13
|
+
onDelete?: ((value: string) => any) | undefined;
|
|
14
|
+
}, {}>, {
|
|
15
|
+
default: (_: {}) => any;
|
|
16
|
+
}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
deploymentId: 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
|
+
deploymentId: string;
|
|
5
|
+
}>>>, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
tasksCount: number | undefined;
|
|
3
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
4
|
tasksCount: number | undefined;
|
|
5
|
-
}>>>, {}
|
|
6
|
-
default: (_: {
|
|
7
|
-
count: number | undefined;
|
|
8
|
-
}) => any;
|
|
9
|
-
}>;
|
|
5
|
+
}>>>, {}>;
|
|
10
6
|
export default _default;
|
|
11
7
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
8
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -17,8 +13,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
17
13
|
required: true;
|
|
18
14
|
};
|
|
19
15
|
};
|
|
20
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
import { TimelineVisibleDateRange } from '@prefecthq/graphs';
|
|
1
2
|
import { FlowRun } from '../models';
|
|
2
3
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
4
|
flowRun: FlowRun;
|
|
4
|
-
|
|
5
|
+
visibleDateRange?: TimelineVisibleDateRange | undefined;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:visibleDateRange": (value: TimelineVisibleDateRange | undefined) => void;
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
9
|
flowRun: FlowRun;
|
|
6
|
-
|
|
10
|
+
visibleDateRange?: TimelineVisibleDateRange | undefined;
|
|
11
|
+
}>>> & {
|
|
12
|
+
"onUpdate:visibleDateRange"?: ((value: TimelineVisibleDateRange | undefined) => any) | undefined;
|
|
13
|
+
}, {}>;
|
|
7
14
|
export default _default;
|
|
8
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
16
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
workPoolName: 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
|
+
workPoolName: string;
|
|
5
|
+
}>>>, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
workQueueName: string;
|
|
3
|
+
workPoolName?: string | null | undefined;
|
|
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
|
+
workQueueName: string;
|
|
6
|
+
workPoolName?: string | null | undefined;
|
|
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
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title?: string | undefined;
|
|
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
|
+
title?: string | undefined;
|
|
5
|
+
}>>>, {}>, {
|
|
6
|
+
title: (_: {}) => any;
|
|
7
|
+
content: (_: {}) => any;
|
|
8
|
+
default: (_: {}) => any;
|
|
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
|
+
};
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FlowRun } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
title?: string | undefined;
|
|
4
|
+
flowRun?: FlowRun | 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
|
+
title?: string | undefined;
|
|
7
|
+
flowRun?: FlowRun | 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,24 +1,26 @@
|
|
|
1
1
|
import { CheckboxModel } from '@prefecthq/prefect-design';
|
|
2
2
|
import { StateType } from '../models/StateType';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
selected
|
|
5
|
-
value
|
|
6
|
-
stateType
|
|
4
|
+
selected?: CheckboxModel | null;
|
|
5
|
+
value?: unknown;
|
|
6
|
+
stateType?: StateType | null | undefined;
|
|
7
7
|
tags?: string[] | null | undefined;
|
|
8
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
"update:selected": (value: CheckboxModel) => void;
|
|
10
10
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
selected
|
|
12
|
-
value
|
|
13
|
-
stateType
|
|
11
|
+
selected?: CheckboxModel | null;
|
|
12
|
+
value?: unknown;
|
|
13
|
+
stateType?: StateType | null | undefined;
|
|
14
14
|
tags?: string[] | null | undefined;
|
|
15
15
|
}>>> & {
|
|
16
16
|
"onUpdate:selected"?: ((value: CheckboxModel) => any) | undefined;
|
|
17
17
|
}, {}>, {
|
|
18
18
|
name: (_: {}) => any;
|
|
19
19
|
tags: (_: {}) => any;
|
|
20
|
+
action: (_: {}) => any;
|
|
20
21
|
meta: (_: {}) => any;
|
|
21
22
|
relationships: (_: {}) => any;
|
|
23
|
+
default: (_: {}) => any;
|
|
22
24
|
}>;
|
|
23
25
|
export default _default;
|
|
24
26
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { default as ActivityChart } from './ActivityChart.vue';
|
|
2
2
|
export { default as ArtifactCard } from './ArtifactCard.vue';
|
|
3
|
-
export { default as ArtifactCollectionsEmptyState } from './ArtifactCollectionsEmptyState.vue';
|
|
4
3
|
export { default as ArtifactCollections } from './ArtifactCollections.vue';
|
|
5
|
-
export { default as
|
|
4
|
+
export { default as ArtifactCollectionsEmptyState } from './ArtifactCollectionsEmptyState.vue';
|
|
6
5
|
export { default as ArtifactDataMarkdown } from './ArtifactDataMarkdown.vue';
|
|
7
6
|
export { default as ArtifactDataRaw } from './ArtifactDataRaw.vue';
|
|
8
7
|
export { default as ArtifactDataResult } from './ArtifactDataResult.vue';
|
|
9
8
|
export { default as ArtifactDataUnknown } from './ArtifactDataUnknown.vue';
|
|
9
|
+
export { default as ArtifactDataView } from './ArtifactDataView.vue';
|
|
10
10
|
export { default as ArtifactDescription } from './ArtifactDescription.vue';
|
|
11
11
|
export { default as ArtifactDetails } from './ArtifactDetails.vue';
|
|
12
12
|
export { default as ArtifactKeyIconText } from './ArtifactKeyIconText.vue';
|
|
@@ -65,6 +65,8 @@ export { default as DeploymentDescriptionEmptyState } from './DeploymentDescript
|
|
|
65
65
|
export { default as DeploymentDetails } from './DeploymentDetails.vue';
|
|
66
66
|
export { default as DeploymentForm } from './DeploymentForm.vue';
|
|
67
67
|
export { default as DeploymentIconText } from './DeploymentIconText.vue';
|
|
68
|
+
export { default as DeploymentList } from './DeploymentList.vue';
|
|
69
|
+
export { default as DeploymentListItem } from './DeploymentListItem.vue';
|
|
68
70
|
export { default as DeploymentMenu } from './DeploymentMenu.vue';
|
|
69
71
|
export { default as DeploymentQuickRunOverflowMenuItem } from './DeploymentQuickRunOverflowMenuItem.vue';
|
|
70
72
|
export { default as DeploymentsCount } from './DeploymentsCount.vue';
|
|
@@ -79,6 +81,8 @@ export { default as FlowActivityChart } from './FlowActivityChart.vue';
|
|
|
79
81
|
export { default as FlowCombobox } from './FlowCombobox.vue';
|
|
80
82
|
export { default as FlowDetails } from './FlowDetails.vue';
|
|
81
83
|
export { default as FlowIconText } from './FlowIconText.vue';
|
|
84
|
+
export { default as FlowList } from './FlowList.vue';
|
|
85
|
+
export { default as FlowListItem } from './FlowListItem.vue';
|
|
82
86
|
export { default as FlowMenu } from './FlowMenu.vue';
|
|
83
87
|
export { default as FlowRouterLink } from './FlowRouterLink.vue';
|
|
84
88
|
export { default as FlowRunArtifacts } from './FlowRunArtifacts.vue';
|
|
@@ -123,6 +127,8 @@ export { default as FourZeroFour } from './FourZeroFour.vue';
|
|
|
123
127
|
export { default as HelpIconModal } from './HelpIconModal.vue';
|
|
124
128
|
export { default as IntervalScheduleForm } from './IntervalScheduleForm.vue';
|
|
125
129
|
export { default as JsonInput } from './JsonInput.vue';
|
|
130
|
+
export { default as ListItemMeta } from './ListItemMeta.vue';
|
|
131
|
+
export { default as ListItemMetaFlowRun } from './ListItemMetaFlowRun.vue';
|
|
126
132
|
export { default as LogLevelLabel } from './LogLevelLabel.vue';
|
|
127
133
|
export { default as LogLevelSelect } from './LogLevelSelect.vue';
|
|
128
134
|
export { default as LogoImage } from './LogoImage.vue';
|
|
@@ -200,6 +206,7 @@ export { default as ScheduleFieldset } from './ScheduleFieldset.vue';
|
|
|
200
206
|
export { default as ScheduleFormModal } from './ScheduleFormModal.vue';
|
|
201
207
|
export { default as SchemaForm } from './SchemaForm.vue';
|
|
202
208
|
export { default as SchemaFormFields } from './SchemaFormFields.vue';
|
|
209
|
+
export { default as SchemaFormFieldsWithValues } from './SchemaFormFieldsWithValues.vue';
|
|
203
210
|
export { default as SchemaFormInput } from './SchemaFormInput.vue';
|
|
204
211
|
export { default as SchemaFormProperties } from './SchemaFormProperties.vue';
|
|
205
212
|
export { default as SchemaFormProperty } from './SchemaFormProperty.vue';
|
|
@@ -225,9 +232,9 @@ export { default as TaskRunLogs } from './TaskRunLogs.vue';
|
|
|
225
232
|
export { default as TaskRunsSort } from './TaskRunsSort.vue';
|
|
226
233
|
export { default as TimezoneSelect } from './TimezoneSelect.vue';
|
|
227
234
|
export { default as ToastFlowRunCreate } from './ToastFlowRunCreate.vue';
|
|
228
|
-
export { default as VariableMenu } from './VariableMenu.vue';
|
|
229
235
|
export { default as VariableCreateModal } from './VariableCreateModal.vue';
|
|
230
236
|
export { default as VariableEditModal } from './VariableEditModal.vue';
|
|
237
|
+
export { default as VariableMenu } from './VariableMenu.vue';
|
|
231
238
|
export { default as VariablesDeleteButton } from './VariablesDeleteButton.vue';
|
|
232
239
|
export { default as VariablesTable } from './VariablesTable.vue';
|
|
233
240
|
export { default as ViewModeButtonGroup } from './ViewModeButtonGroup.vue';
|
|
@@ -272,4 +279,3 @@ export { default as WorkQueuesTable } from './WorkQueuesTable.vue';
|
|
|
272
279
|
export { default as WorkQueueStatusBadge } from './WorkQueueStatusBadge.vue';
|
|
273
280
|
export { default as WorkQueueStatusIcon } from './WorkQueueStatusIcon.vue';
|
|
274
281
|
export { default as WorkQueueToggle } from './WorkQueueToggle.vue';
|
|
275
|
-
export { default as SchemaFormFieldsWithValues } from './SchemaFormFieldsWithValues.vue';
|
|
@@ -7,12 +7,17 @@ export * from './useBlockType';
|
|
|
7
7
|
export * from './useCan';
|
|
8
8
|
export * from './useComponent';
|
|
9
9
|
export * from './useDeployment';
|
|
10
|
+
export * from './useDeployments';
|
|
11
|
+
export * from './useDeploymentsCount';
|
|
10
12
|
export * from './useFavicon';
|
|
11
13
|
export * from './useFlow';
|
|
12
14
|
export * from './useFlowRun';
|
|
13
15
|
export * from './useFlowRuns';
|
|
14
16
|
export * from './useFlows';
|
|
17
|
+
export * from './useFlowsCount';
|
|
15
18
|
export * from './useForm';
|
|
19
|
+
export * from './useLastFlowRun';
|
|
20
|
+
export * from './useNextFlowRun';
|
|
16
21
|
export * from './useOptionalRules';
|
|
17
22
|
export * from './usePaginatedSubscription';
|
|
18
23
|
export * from './useReactiveField';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DeploymentsFilter } from '../models';
|
|
2
|
+
import { WorkspaceDeploymentsApi } from '../services';
|
|
3
|
+
import { MaybeRef } from '../types';
|
|
4
|
+
import { UseEntitySubscription } from '../types/useEntitySubscription';
|
|
5
|
+
export type UseDeployments = UseEntitySubscription<WorkspaceDeploymentsApi['getDeployments'], 'deployments'>;
|
|
6
|
+
export declare function useDeployments(filter: MaybeRef<DeploymentsFilter>): UseDeployments;
|
|
7
|
+
export declare function useDeployments(deploymentIds: MaybeRef<string[] | null | undefined>): UseDeployments;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DeploymentsFilter } from '../models';
|
|
2
|
+
import { WorkspaceDeploymentsApi } from '../services/WorkspaceDeploymentsApi';
|
|
3
|
+
import { MaybeRef } from '../types';
|
|
4
|
+
import { UseEntitySubscription } from '../types/useEntitySubscription';
|
|
5
|
+
export type UseDeploymentsCount = UseEntitySubscription<WorkspaceDeploymentsApi['getDeploymentsCount'], 'count'>;
|
|
6
|
+
export declare function useDeploymentsCount(filter?: MaybeRef<DeploymentsFilter>): UseDeploymentsCount;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FlowsFilter } from '../models';
|
|
2
2
|
import { WorkspaceFlowsApi } from '../services';
|
|
3
|
+
import { MaybeRef } from '../types';
|
|
3
4
|
import { UseEntitySubscription } from '../types/useEntitySubscription';
|
|
4
5
|
export type UseFlows = UseEntitySubscription<WorkspaceFlowsApi['getFlows'], 'flows'>;
|
|
5
|
-
export declare function useFlows(
|
|
6
|
+
export declare function useFlows(filter: MaybeRef<FlowsFilter>): UseFlows;
|
|
7
|
+
export declare function useFlows(flowIds: MaybeRef<string[] | null | undefined>): UseFlows;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FlowsFilter } from '../models';
|
|
2
|
+
import { WorkspaceFlowsApi } from '../services/WorkspaceFlowsApi';
|
|
3
|
+
import { MaybeRef } from '../types';
|
|
4
|
+
import { UseEntitySubscription } from '../types/useEntitySubscription';
|
|
5
|
+
export type UseFlowsCount = UseEntitySubscription<WorkspaceFlowsApi['getFlowsCount'], 'count'>;
|
|
6
|
+
export declare function useFlowsCount(filter?: MaybeRef<FlowsFilter>): UseFlowsCount;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UseSubscription } from '@prefecthq/vue-compositions';
|
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
|
+
import { FlowRun, UnionFilter } from '../models';
|
|
4
|
+
import { WorkspaceFlowRunsApi } from '../services';
|
|
5
|
+
export type UseLastFlowRun = {
|
|
6
|
+
subscription: UseSubscription<WorkspaceFlowRunsApi['getFlowRuns']>;
|
|
7
|
+
flowRun: ComputedRef<FlowRun | undefined>;
|
|
8
|
+
};
|
|
9
|
+
export declare function useLastFlowRun(filter: UnionFilter | Ref<UnionFilter | null | undefined>): UseLastFlowRun;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UseSubscription } from '@prefecthq/vue-compositions';
|
|
2
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
|
+
import { FlowRun, UnionFilter } from '../models';
|
|
4
|
+
import { WorkspaceFlowRunsApi } from '../services';
|
|
5
|
+
export type UseNextFlowRun = {
|
|
6
|
+
subscription: UseSubscription<WorkspaceFlowRunsApi['getFlowRuns']>;
|
|
7
|
+
flowRun: ComputedRef<FlowRun | undefined>;
|
|
8
|
+
};
|
|
9
|
+
export declare function useNextFlowRun(filter: UnionFilter | Ref<UnionFilter | null | undefined>): UseNextFlowRun;
|
|
@@ -100,12 +100,17 @@ export declare const localization: {
|
|
|
100
100
|
info: {
|
|
101
101
|
artifact: string;
|
|
102
102
|
artifacts: string;
|
|
103
|
+
addTagPlaceholder: string;
|
|
104
|
+
flow: string;
|
|
105
|
+
searchByFlowName: string;
|
|
106
|
+
filterByFlowRunTags: string;
|
|
103
107
|
artifactSearch: string;
|
|
104
108
|
variablesSearch: string;
|
|
105
109
|
artifactCreated: (key: string) => string;
|
|
106
110
|
artifactTypeChanged: (type: string) => string;
|
|
107
111
|
newVariable: string;
|
|
108
112
|
editVariable: (name: string) => string;
|
|
113
|
+
deployment: string;
|
|
109
114
|
close: string;
|
|
110
115
|
save: string;
|
|
111
116
|
name: string;
|
|
@@ -116,12 +121,19 @@ export declare const localization: {
|
|
|
116
121
|
item: string;
|
|
117
122
|
noData: string;
|
|
118
123
|
noVariables: string;
|
|
124
|
+
noDeployments: string;
|
|
125
|
+
deploymentsEmptyStateDescription: (flowName?: string) => string;
|
|
119
126
|
copyId: string;
|
|
120
127
|
copyName: string;
|
|
121
128
|
copyValue: string;
|
|
122
129
|
edit: string;
|
|
130
|
+
noSchedule: string;
|
|
123
131
|
delete: string;
|
|
124
132
|
tags: string;
|
|
133
|
+
nextRun: string;
|
|
134
|
+
lastRun: string;
|
|
135
|
+
workPool: string;
|
|
136
|
+
workQueue: string;
|
|
125
137
|
filterByTags: string;
|
|
126
138
|
invalidData: (docsUrl: string) => string;
|
|
127
139
|
noResults: string;
|
|
@@ -100,12 +100,17 @@ export declare const en: {
|
|
|
100
100
|
info: {
|
|
101
101
|
artifact: string;
|
|
102
102
|
artifacts: string;
|
|
103
|
+
addTagPlaceholder: string;
|
|
104
|
+
flow: string;
|
|
105
|
+
searchByFlowName: string;
|
|
106
|
+
filterByFlowRunTags: string;
|
|
103
107
|
artifactSearch: string;
|
|
104
108
|
variablesSearch: string;
|
|
105
109
|
artifactCreated: (key: string) => string;
|
|
106
110
|
artifactTypeChanged: (type: string) => string;
|
|
107
111
|
newVariable: string;
|
|
108
112
|
editVariable: (name: string) => string;
|
|
113
|
+
deployment: string;
|
|
109
114
|
close: string;
|
|
110
115
|
save: string;
|
|
111
116
|
name: string;
|
|
@@ -116,12 +121,19 @@ export declare const en: {
|
|
|
116
121
|
item: string;
|
|
117
122
|
noData: string;
|
|
118
123
|
noVariables: string;
|
|
124
|
+
noDeployments: string;
|
|
125
|
+
deploymentsEmptyStateDescription: (flowName?: string) => string;
|
|
119
126
|
copyId: string;
|
|
120
127
|
copyName: string;
|
|
121
128
|
copyValue: string;
|
|
122
129
|
edit: string;
|
|
130
|
+
noSchedule: string;
|
|
123
131
|
delete: string;
|
|
124
132
|
tags: string;
|
|
133
|
+
nextRun: string;
|
|
134
|
+
lastRun: string;
|
|
135
|
+
workPool: string;
|
|
136
|
+
workQueue: string;
|
|
125
137
|
filterByTags: string;
|
|
126
138
|
invalidData: (docsUrl: string) => string;
|
|
127
139
|
noResults: string;
|
|
@@ -2,6 +2,9 @@ export declare const stateType: readonly ["completed", "running", "scheduled", "
|
|
|
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;
|
|
5
|
+
export declare const pendingStateType: string[];
|
|
6
|
+
export type PendingStateType = typeof pendingStateType[number];
|
|
7
|
+
export declare function isPendingStateType(value: unknown): value is PendingStateType;
|
|
5
8
|
export declare const terminalStateType: string[];
|
|
6
9
|
export type TerminalStateType = typeof terminalStateType[number];
|
|
7
10
|
export type ServerTerminalStateType = Uppercase<TerminalStateType>;
|