@prefecthq/prefect-ui-library 1.1.12 → 1.1.14
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-7acf17d8.mjs → index-fe4aa014.mjs} +22091 -21607
- package/dist/index-fe4aa014.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +657 -647
- package/dist/prefect-ui-library.umd.js +78 -78
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/demo/sections/artifacts/ArtifactCard.vue.d.ts +2 -0
- package/dist/types/demo/sections/deployments/DeploymentDescription.vue.d.ts +2 -0
- package/dist/types/demo/sections/flowRuns/FlowRunResults.vue.d.ts +2 -0
- package/dist/types/demo/sections/states/StateSelect.vue.d.ts +2 -0
- package/dist/types/demo/services/MockApi.d.ts +1 -0
- package/dist/types/demo/services/mockWorkspaceArtifactsApi.d.ts +10 -0
- package/dist/types/src/components/ArtifactCard.vue.d.ts +25 -0
- package/dist/types/src/components/ArtifactDataMarkdown.vue.d.ts +16 -0
- package/dist/types/src/components/ArtifactDataResult.vue.d.ts +16 -0
- package/dist/types/src/components/ArtifactDataUnknown.vue.d.ts +16 -0
- package/dist/types/src/components/ArtifactDataView.vue.d.ts +16 -0
- package/dist/types/src/components/ArtifactMenu.vue.d.ts +25 -0
- package/dist/types/src/components/ConfirmDeleteModal.vue.d.ts +1 -1
- package/dist/types/src/components/DeploymentQuickRunOverflowMenuItem.vue.d.ts +5 -2
- package/dist/types/src/components/FlowRunResults.vue.d.ts +25 -0
- package/dist/types/src/components/LogLevelSelect.vue.d.ts +2 -2
- package/dist/types/src/components/PageHeadingArtifact.vue.d.ts +16 -0
- package/dist/types/src/components/QuickRunParametersModal.vue.d.ts +29 -0
- package/dist/types/src/components/SchemaForm.vue.d.ts +1 -1
- package/dist/types/src/components/StateBadge.vue.d.ts +3 -9
- package/dist/types/src/components/WorkPoolQueueMenu.vue.d.ts +11 -2
- package/dist/types/src/components/index.d.ts +10 -0
- package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +15 -0
- package/dist/types/src/localization/index.d.ts +4 -0
- package/dist/types/src/localization/locale/en.d.ts +4 -0
- package/dist/types/src/mocks/index.d.ts +3 -2
- package/dist/types/src/mocks/string.d.ts +2 -1
- package/dist/types/src/models/FlowRun.d.ts +3 -2
- package/dist/types/src/models/api/FlowRunResponse.d.ts +2 -1
- package/dist/types/src/router/routes.d.ts +15 -0
- package/dist/types/src/services/Mocker.d.ts +3 -2
- package/dist/types/src/types/stateBadge.d.ts +5 -0
- package/dist/types/src/utilities/eventTarget.d.ts +1 -0
- package/dist/types/src/utilities/timezone.d.ts +35 -35
- package/dist/{viewport.es-5fa29f11-bbe81571.mjs → viewport.es-5fa29f11-ba4997a6.mjs} +3 -3
- package/dist/{viewport.es-5fa29f11-bbe81571.mjs.map → viewport.es-5fa29f11-ba4997a6.mjs.map} +1 -1
- package/package.json +3 -3
- package/dist/index-7acf17d8.mjs.map +0 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MarkdownArtifact } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
artifact: MarkdownArtifact;
|
|
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
|
+
artifact: MarkdownArtifact;
|
|
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 { ResultArtifact } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
artifact: ResultArtifact;
|
|
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
|
+
artifact: ResultArtifact;
|
|
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 { UnknownArtifact } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
artifact: UnknownArtifact;
|
|
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
|
+
artifact: UnknownArtifact;
|
|
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 { Artifact } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
artifact: Artifact;
|
|
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
|
+
artifact: Artifact;
|
|
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,25 @@
|
|
|
1
|
+
import { Artifact } from '../models';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
artifact: Artifact;
|
|
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
|
+
artifact: Artifact;
|
|
6
|
+
}>>>, {}>, {
|
|
7
|
+
default: (_: {
|
|
8
|
+
artifact: Artifact;
|
|
9
|
+
}) => any;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -24,8 +24,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
24
|
onDelete?: (() => any) | undefined;
|
|
25
25
|
"onUpdate:showModal"?: ((value: boolean) => any) | undefined;
|
|
26
26
|
}, {
|
|
27
|
-
label: string;
|
|
28
27
|
name: string;
|
|
28
|
+
label: string;
|
|
29
29
|
action: 'Delete' | 'Remove';
|
|
30
30
|
}>, {
|
|
31
31
|
title: (_: {}) => any;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { Deployment } from '../models';
|
|
1
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
|
|
3
|
+
deployment: Deployment;
|
|
4
|
+
openModal: () => void;
|
|
3
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
|
|
6
|
+
deployment: Deployment;
|
|
7
|
+
openModal: () => void;
|
|
5
8
|
}>>>, {}>, {
|
|
6
9
|
default: (_: {}) => any;
|
|
7
10
|
}>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FlowRun } from '../models';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
flowRun: FlowRun;
|
|
4
|
+
view?: ("grid" | "rows") | 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
|
+
flowRun: FlowRun;
|
|
7
|
+
view?: ("grid" | "rows") | undefined;
|
|
8
|
+
}>>>, {}>, {
|
|
9
|
+
actions: (_: {}) => any;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -2,11 +2,11 @@ import { LogLevel } from '../models';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
selected: LogLevel;
|
|
4
4
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:selected": (value: 0 |
|
|
5
|
+
"update:selected": (value: 0 | 50 | 10 | 20 | 30 | 40) => void;
|
|
6
6
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
7
|
selected: LogLevel;
|
|
8
8
|
}>>> & {
|
|
9
|
-
"onUpdate:selected"?: ((value: 0 |
|
|
9
|
+
"onUpdate:selected"?: ((value: 0 | 50 | 10 | 20 | 30 | 40) => any) | undefined;
|
|
10
10
|
}, {}>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Artifact } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
artifact: Artifact;
|
|
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
|
+
artifact: Artifact;
|
|
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,29 @@
|
|
|
1
|
+
import { Deployment } from '../models';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
showModal: boolean;
|
|
4
|
+
deployment: Deployment;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:showModal": (value: boolean) => void;
|
|
7
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
showModal: boolean;
|
|
9
|
+
deployment: Deployment;
|
|
10
|
+
}>>> & {
|
|
11
|
+
"onUpdate:showModal"?: ((value: boolean) => any) | undefined;
|
|
12
|
+
}, {}>, {
|
|
13
|
+
actions: (_: {}) => any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -10,8 +10,8 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
10
10
|
modelValue?: SchemaValues | undefined;
|
|
11
11
|
schema: Schema;
|
|
12
12
|
}>>> & {
|
|
13
|
-
onSubmit?: ((value: SchemaValues) => any) | undefined;
|
|
14
13
|
"onUpdate:modelValue"?: ((value: SchemaValues) => any) | undefined;
|
|
14
|
+
onSubmit?: ((value: SchemaValues) => any) | undefined;
|
|
15
15
|
}, {}>;
|
|
16
16
|
export default _default;
|
|
17
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StateBadgeState } from '../types/stateBadge';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
state:
|
|
4
|
-
name: string;
|
|
5
|
-
type: StateType | null;
|
|
6
|
-
} | null;
|
|
3
|
+
state: StateBadgeState | null;
|
|
7
4
|
flat?: boolean | undefined;
|
|
8
5
|
dismissible?: boolean | undefined;
|
|
9
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
state:
|
|
11
|
-
name: string;
|
|
12
|
-
type: StateType | null;
|
|
13
|
-
} | null;
|
|
7
|
+
state: StateBadgeState | null;
|
|
14
8
|
flat?: boolean | undefined;
|
|
15
9
|
dismissible?: boolean | undefined;
|
|
16
10
|
}>>>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WorkPoolQueue } from '../models';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
workPoolName: string;
|
|
4
4
|
workPoolQueue: WorkPoolQueue;
|
|
5
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -9,7 +9,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
9
9
|
workPoolQueue: WorkPoolQueue;
|
|
10
10
|
}>>> & {
|
|
11
11
|
onDelete?: (() => any) | undefined;
|
|
12
|
-
}, {}
|
|
12
|
+
}, {}>, {
|
|
13
|
+
default: (_: {
|
|
14
|
+
workPoolQueue: WorkPoolQueue;
|
|
15
|
+
}) => any;
|
|
16
|
+
}>;
|
|
13
17
|
export default _default;
|
|
14
18
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
19
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -20,3 +24,8 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
20
24
|
required: true;
|
|
21
25
|
};
|
|
22
26
|
};
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
export { default as ActivityChart } from './ActivityChart.vue';
|
|
2
|
+
export { default as ArtifactCard } from './ArtifactCard.vue';
|
|
3
|
+
export { default as ArtifactDataView } from './ArtifactDataView.vue';
|
|
4
|
+
export { default as ArtifactDataMarkdown } from './ArtifactDataMarkdown.vue';
|
|
5
|
+
export { default as ArtifactDataResult } from './ArtifactDataResult.vue';
|
|
6
|
+
export { default as ArtifactDataUnknown } from './ArtifactDataUnknown.vue';
|
|
7
|
+
export { default as ArtifactDescription } from './ArtifactDescription.vue';
|
|
8
|
+
export { default as ArtifactMenu } from './ArtifactMenu.vue';
|
|
2
9
|
export { default as BetaBadge } from './BetaBadge.vue';
|
|
3
10
|
export { default as BlockCapabilityBlockDocumentInput } from './BlockCapabilityBlockDocumentInput.vue';
|
|
4
11
|
export { default as BlockDocumentCard } from './BlockDocumentCard.vue';
|
|
@@ -80,6 +87,7 @@ export { default as FlowRunPauseButton } from './FlowRunPauseButton.vue';
|
|
|
80
87
|
export { default as FlowRunPauseModal } from './FlowRunPauseModal.vue';
|
|
81
88
|
export { default as FlowRunPopOver } from './FlowRunPopOver.vue';
|
|
82
89
|
export { default as FlowRunPopOverContent } from './FlowRunPopOverContent.vue';
|
|
90
|
+
export { default as FlowRunResults } from './FlowRunResults.vue';
|
|
83
91
|
export { default as FlowRunResumeButton } from './FlowRunResumeButton.vue';
|
|
84
92
|
export { default as FlowRunResumeModal } from './FlowRunResumeModal.vue';
|
|
85
93
|
export { default as FlowRunRetryButton } from './FlowRunRetryButton.vue';
|
|
@@ -120,6 +128,7 @@ export { default as NotificationToggle } from './NotificationToggle.vue';
|
|
|
120
128
|
export { default as PageHeading } from './PageHeading.vue';
|
|
121
129
|
export { default as PageHeadingAccountSettings } from './PageHeadingAccountSettings.vue';
|
|
122
130
|
export { default as PageHeadingApiKeys } from './PageHeadingApiKeys.vue';
|
|
131
|
+
export { default as PageHeadingArtifact } from './PageHeadingArtifact.vue';
|
|
123
132
|
export { default as PageHeadingBlock } from './PageHeadingBlock.vue';
|
|
124
133
|
export { default as PageHeadingBlockEdit } from './PageHeadingBlockEdit.vue';
|
|
125
134
|
export { default as PageHeadingBlocks } from './PageHeadingBlocks.vue';
|
|
@@ -158,6 +167,7 @@ export { default as PageHeadingWorkspaceSettings } from './PageHeadingWorkspaceS
|
|
|
158
167
|
export { default as ParametersTable } from './ParametersTable.vue';
|
|
159
168
|
export { default as ProcessTypeBadge } from './ProcessTypeBadge.vue';
|
|
160
169
|
export { default as PythonInput } from './PythonInput.vue';
|
|
170
|
+
export { default as QuickRunParametersModal } from './QuickRunParametersModal.vue';
|
|
161
171
|
export { default as RadarApp } from './RadarApp.vue';
|
|
162
172
|
export { default as RadarNode } from './RadarNode.vue';
|
|
163
173
|
export { default as RadarNodeFlowRun } from './RadarNodeFlowRun.vue';
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
export declare function useWorkspaceRoutes(): {
|
|
2
|
+
artifact: (artifactId: string) => {
|
|
3
|
+
readonly name: "workspace.artifacts.artifact";
|
|
4
|
+
readonly params: {
|
|
5
|
+
readonly accountId?: string | undefined;
|
|
6
|
+
readonly workspaceId?: string | undefined;
|
|
7
|
+
readonly artifactId: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
artifacts: () => {
|
|
11
|
+
readonly name: "workspace.artifacts";
|
|
12
|
+
readonly params: {
|
|
13
|
+
readonly accountId?: string | undefined;
|
|
14
|
+
readonly workspaceId?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
2
17
|
flowRuns: () => {
|
|
3
18
|
readonly name: "workspace.flow-runs";
|
|
4
19
|
readonly params: {
|
|
@@ -86,6 +86,10 @@ export declare const localization: {
|
|
|
86
86
|
updateWorkQueue: string;
|
|
87
87
|
};
|
|
88
88
|
info: {
|
|
89
|
+
artifact: string;
|
|
90
|
+
noResults: string;
|
|
91
|
+
created: string;
|
|
92
|
+
lastUpdated: string;
|
|
89
93
|
deprecatedWorkQueue: string;
|
|
90
94
|
deploymentMissingWorkQueue: string;
|
|
91
95
|
taskInput: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const mocks: {
|
|
2
|
+
adjective: import("..").MockFunction<string, []>;
|
|
2
3
|
any: import("..").MockFunction<any, []>;
|
|
3
4
|
artifact: import("..").MockFunction<import("..").Artifact, [(Partial<import("..").Artifact> | undefined)?]>;
|
|
4
5
|
blockDocument: import("..").MockFunction<import("..").BlockDocument, [(Partial<import("..").BlockDocument> | undefined)?]>;
|
|
@@ -9,7 +10,7 @@ export declare const mocks: {
|
|
|
9
10
|
blockType: import("..").MockFunction<import("..").BlockType, [(Partial<import("..").BlockType> | undefined)?]>;
|
|
10
11
|
blockTypeSnippet: import("..").MockFunction<string, []>;
|
|
11
12
|
boolean: import("..").MockFunction<boolean, []>;
|
|
12
|
-
char: import("..").MockFunction<"
|
|
13
|
+
char: import("..").MockFunction<"h" | "d" | "w" | "m" | "y" | "s" | "a" | "e" | "i" | "o" | "u" | "b" | "p" | "q" | "g" | "c" | "f" | "j" | "k" | "l" | "n" | "r" | "t" | "v" | "x" | "z", []>;
|
|
13
14
|
collectionItem: import("..").MockFunction<import("..").CollectionItem, [(Partial<import("..").CollectionItem> | undefined)?]>;
|
|
14
15
|
concurrencyLimit: import("..").MockFunction<import("..").ConcurrencyLimit, [(Partial<import("..").ConcurrencyLimit> | undefined)?]>;
|
|
15
16
|
createdOrUpdatedBy: import("..").MockFunction<import("..").CreatedOrUpdatedBy, [(Partial<import("..").CreatedOrUpdatedBy> | undefined)?]>;
|
|
@@ -30,7 +31,7 @@ export declare const mocks: {
|
|
|
30
31
|
height: number;
|
|
31
32
|
}) | undefined)?]>;
|
|
32
33
|
log: import("..").MockFunction<import("..").Log, [(Partial<import("..").Log> | undefined)?]>;
|
|
33
|
-
logLevel: import("..").MockFunction<0 |
|
|
34
|
+
logLevel: import("..").MockFunction<0 | 50 | 10 | 20 | 30 | 40, []>;
|
|
34
35
|
markdownCodeBlockString: import("..").MockFunction<string, [({
|
|
35
36
|
lines?: number | undefined;
|
|
36
37
|
} | undefined)?]>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { nouns } from '../mocks/sentences/sample';
|
|
1
|
+
import { adjectives, nouns } from '../mocks/sentences/sample';
|
|
2
2
|
import { MockFunction } from '../services/Mocker';
|
|
3
3
|
declare const characters: readonly ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"];
|
|
4
4
|
export declare const randomChar: MockFunction<typeof characters[number], []>;
|
|
5
5
|
export declare const randomNoun: MockFunction<typeof nouns[number], []>;
|
|
6
|
+
export declare const randomAdjective: MockFunction<typeof adjectives[number], []>;
|
|
6
7
|
export declare const randomString: MockFunction<string, [number?]>;
|
|
7
8
|
export declare const randomSentence: MockFunction<string, []>;
|
|
8
9
|
export declare const randomParagraph: MockFunction<string, [number?]>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CreatedOrUpdatedBy } from '../models/CreatedOrUpdatedBy';
|
|
2
|
+
import { EmpiricalPolicy } from '../models/EmpiricalPolicy';
|
|
2
3
|
import { State } from '../models/State';
|
|
3
4
|
import { StateType } from '../models/StateType';
|
|
4
5
|
import { PrefectStateNames } from '../types';
|
|
@@ -15,7 +16,7 @@ export interface IFlowRun {
|
|
|
15
16
|
autoScheduled: boolean | null;
|
|
16
17
|
context: unknown;
|
|
17
18
|
empiricalConfig: unknown;
|
|
18
|
-
empiricalPolicy:
|
|
19
|
+
empiricalPolicy: EmpiricalPolicy | null;
|
|
19
20
|
estimatedRunTime: number;
|
|
20
21
|
estimatedStartTimeDelta: number | null;
|
|
21
22
|
totalRunTime: number;
|
|
@@ -49,7 +50,7 @@ export declare class FlowRun implements IFlowRun {
|
|
|
49
50
|
autoScheduled: boolean | null;
|
|
50
51
|
context: unknown;
|
|
51
52
|
empiricalConfig: unknown;
|
|
52
|
-
empiricalPolicy:
|
|
53
|
+
empiricalPolicy: EmpiricalPolicy | null;
|
|
53
54
|
estimatedRunTime: number;
|
|
54
55
|
estimatedStartTimeDelta: number | null;
|
|
55
56
|
totalRunTime: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CreatedOrUpdatedByResponse } from '../../models/api/CreatedOrUpdatedByResponse';
|
|
2
|
+
import { EmpiricalPolicyResponse } from '../../models/api/EmpiricalPolicyResponse';
|
|
2
3
|
import { StateResponse } from '../../models/api/StateResponse';
|
|
3
4
|
import { ServerStateType } from '../../models/StateType';
|
|
4
5
|
import { PrefectStateNames } from '../../types';
|
|
@@ -17,7 +18,7 @@ export type FlowRunResponse = {
|
|
|
17
18
|
parameters: SchemaValues;
|
|
18
19
|
idempotency_key: string | null;
|
|
19
20
|
context: unknown;
|
|
20
|
-
empirical_policy:
|
|
21
|
+
empirical_policy: EmpiricalPolicyResponse | null;
|
|
21
22
|
empirical_config: unknown;
|
|
22
23
|
tags: string[] | null;
|
|
23
24
|
parent_task_run_id: string | null;
|
|
@@ -3,6 +3,21 @@ type CreateWorkspaceRoutesConfig = {
|
|
|
3
3
|
workspaceId: string;
|
|
4
4
|
};
|
|
5
5
|
export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConfig): {
|
|
6
|
+
artifact: (artifactId: string) => {
|
|
7
|
+
readonly name: "workspace.artifacts.artifact";
|
|
8
|
+
readonly params: {
|
|
9
|
+
readonly accountId?: string | undefined;
|
|
10
|
+
readonly workspaceId?: string | undefined;
|
|
11
|
+
readonly artifactId: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
artifacts: () => {
|
|
15
|
+
readonly name: "workspace.artifacts";
|
|
16
|
+
readonly params: {
|
|
17
|
+
readonly accountId?: string | undefined;
|
|
18
|
+
readonly workspaceId?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
6
21
|
flowRuns: () => {
|
|
7
22
|
readonly name: "workspace.flow-runs";
|
|
8
23
|
readonly params: {
|
|
@@ -12,6 +12,7 @@ export declare class Mocker<T extends Record<string, Mock>> {
|
|
|
12
12
|
createMany<K extends keyof T>(...[key, count, args]: CreateManyArguments<T, K>): MockReturns<T[K]>[];
|
|
13
13
|
}
|
|
14
14
|
export declare const mocker: Mocker<{
|
|
15
|
+
adjective: MockFunction<string, []>;
|
|
15
16
|
any: MockFunction<any, []>;
|
|
16
17
|
artifact: MockFunction<import("..").Artifact, [(Partial<import("..").Artifact> | undefined)?]>;
|
|
17
18
|
blockDocument: MockFunction<import("..").BlockDocument, [(Partial<import("..").BlockDocument> | undefined)?]>;
|
|
@@ -22,7 +23,7 @@ export declare const mocker: Mocker<{
|
|
|
22
23
|
blockType: MockFunction<import("..").BlockType, [(Partial<import("..").BlockType> | undefined)?]>;
|
|
23
24
|
blockTypeSnippet: MockFunction<string, []>;
|
|
24
25
|
boolean: MockFunction<boolean, []>;
|
|
25
|
-
char: MockFunction<"
|
|
26
|
+
char: MockFunction<"h" | "d" | "w" | "m" | "y" | "s" | "a" | "e" | "i" | "o" | "u" | "b" | "p" | "q" | "g" | "c" | "f" | "j" | "k" | "l" | "n" | "r" | "t" | "v" | "x" | "z", []>;
|
|
26
27
|
collectionItem: MockFunction<import("..").CollectionItem, [(Partial<import("..").CollectionItem> | undefined)?]>;
|
|
27
28
|
concurrencyLimit: MockFunction<import("..").ConcurrencyLimit, [(Partial<import("..").ConcurrencyLimit> | undefined)?]>;
|
|
28
29
|
createdOrUpdatedBy: MockFunction<import("..").CreatedOrUpdatedBy, [(Partial<import("..").CreatedOrUpdatedBy> | undefined)?]>;
|
|
@@ -43,7 +44,7 @@ export declare const mocker: Mocker<{
|
|
|
43
44
|
height: number;
|
|
44
45
|
}) | undefined)?]>;
|
|
45
46
|
log: MockFunction<import("..").Log, [(Partial<import("..").Log> | undefined)?]>;
|
|
46
|
-
logLevel: MockFunction<0 |
|
|
47
|
+
logLevel: MockFunction<0 | 50 | 10 | 20 | 30 | 40, []>;
|
|
47
48
|
markdownCodeBlockString: MockFunction<string, [({
|
|
48
49
|
lines?: number | undefined;
|
|
49
50
|
} | undefined)?]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function eventTargetIsInput(eventTarget: EventTarget | null): boolean;
|