@prefecthq/prefect-ui-library 1.1.13 → 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-1db88feb.mjs → index-fe4aa014.mjs} +22398 -21969
- package/dist/index-fe4aa014.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +657 -647
- package/dist/prefect-ui-library.umd.js +74 -74
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/demo/sections/flowRuns/FlowRunResults.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/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/index.d.ts +10 -0
- package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +15 -0
- package/dist/types/src/localization/index.d.ts +2 -0
- package/dist/types/src/localization/locale/en.d.ts +2 -0
- package/dist/types/src/mocks/index.d.ts +2 -2
- 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 +2 -2
- package/dist/types/src/utilities/timezone.d.ts +35 -35
- package/dist/{viewport.es-5fa29f11-4bb82e07.mjs → viewport.es-5fa29f11-ba4997a6.mjs} +3 -3
- package/dist/{viewport.es-5fa29f11-4bb82e07.mjs.map → viewport.es-5fa29f11-ba4997a6.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/index-1db88feb.mjs.map +0 -1
|
@@ -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,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: {
|
|
@@ -10,7 +10,7 @@ export declare const mocks: {
|
|
|
10
10
|
blockType: import("..").MockFunction<import("..").BlockType, [(Partial<import("..").BlockType> | undefined)?]>;
|
|
11
11
|
blockTypeSnippet: import("..").MockFunction<string, []>;
|
|
12
12
|
boolean: import("..").MockFunction<boolean, []>;
|
|
13
|
-
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", []>;
|
|
14
14
|
collectionItem: import("..").MockFunction<import("..").CollectionItem, [(Partial<import("..").CollectionItem> | undefined)?]>;
|
|
15
15
|
concurrencyLimit: import("..").MockFunction<import("..").ConcurrencyLimit, [(Partial<import("..").ConcurrencyLimit> | undefined)?]>;
|
|
16
16
|
createdOrUpdatedBy: import("..").MockFunction<import("..").CreatedOrUpdatedBy, [(Partial<import("..").CreatedOrUpdatedBy> | undefined)?]>;
|
|
@@ -31,7 +31,7 @@ export declare const mocks: {
|
|
|
31
31
|
height: number;
|
|
32
32
|
}) | undefined)?]>;
|
|
33
33
|
log: import("..").MockFunction<import("..").Log, [(Partial<import("..").Log> | undefined)?]>;
|
|
34
|
-
logLevel: import("..").MockFunction<0 |
|
|
34
|
+
logLevel: import("..").MockFunction<0 | 50 | 10 | 20 | 30 | 40, []>;
|
|
35
35
|
markdownCodeBlockString: import("..").MockFunction<string, [({
|
|
36
36
|
lines?: number | undefined;
|
|
37
37
|
} | undefined)?]>;
|
|
@@ -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: {
|
|
@@ -23,7 +23,7 @@ export declare const mocker: Mocker<{
|
|
|
23
23
|
blockType: MockFunction<import("..").BlockType, [(Partial<import("..").BlockType> | undefined)?]>;
|
|
24
24
|
blockTypeSnippet: MockFunction<string, []>;
|
|
25
25
|
boolean: MockFunction<boolean, []>;
|
|
26
|
-
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", []>;
|
|
27
27
|
collectionItem: MockFunction<import("..").CollectionItem, [(Partial<import("..").CollectionItem> | undefined)?]>;
|
|
28
28
|
concurrencyLimit: MockFunction<import("..").ConcurrencyLimit, [(Partial<import("..").ConcurrencyLimit> | undefined)?]>;
|
|
29
29
|
createdOrUpdatedBy: MockFunction<import("..").CreatedOrUpdatedBy, [(Partial<import("..").CreatedOrUpdatedBy> | undefined)?]>;
|
|
@@ -44,7 +44,7 @@ export declare const mocker: Mocker<{
|
|
|
44
44
|
height: number;
|
|
45
45
|
}) | undefined)?]>;
|
|
46
46
|
log: MockFunction<import("..").Log, [(Partial<import("..").Log> | undefined)?]>;
|
|
47
|
-
logLevel: MockFunction<0 |
|
|
47
|
+
logLevel: MockFunction<0 | 50 | 10 | 20 | 30 | 40, []>;
|
|
48
48
|
markdownCodeBlockString: MockFunction<string, [({
|
|
49
49
|
lines?: number | undefined;
|
|
50
50
|
} | undefined)?]>;
|
|
@@ -40,7 +40,7 @@ export declare const dateFunctions: {
|
|
|
40
40
|
differenceInCalendarQuarters(dateLeft: number | Date, dateRight: number | Date): number;
|
|
41
41
|
differenceInCalendarWeeks(dateLeft: number | Date, dateRight: number | Date, options?: {
|
|
42
42
|
locale?: Locale | undefined;
|
|
43
|
-
weekStartsOn?: 0 |
|
|
43
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
44
44
|
} | undefined): number;
|
|
45
45
|
differenceInCalendarYears(dateLeft: number | Date, dateRight: number | Date): number;
|
|
46
46
|
differenceInDays(dateLeft: number | Date, dateRight: number | Date): number;
|
|
@@ -79,12 +79,12 @@ export declare const dateFunctions: {
|
|
|
79
79
|
eachWeekendOfYear(date: number | Date): Date[];
|
|
80
80
|
eachWeekOfInterval(interval: Interval, options?: {
|
|
81
81
|
locale?: Locale | undefined;
|
|
82
|
-
weekStartsOn?: 0 |
|
|
82
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
83
83
|
} | undefined): Date[];
|
|
84
84
|
eachYearOfInterval(interval: Interval): Date[];
|
|
85
85
|
endOfDay(date: number | Date): Date;
|
|
86
86
|
endOfDecade(date: number | Date, options?: {
|
|
87
|
-
additionalDigits?: 0 |
|
|
87
|
+
additionalDigits?: 0 | 1 | 2 | undefined;
|
|
88
88
|
} | undefined): Date;
|
|
89
89
|
endOfHour(date: number | Date): Date;
|
|
90
90
|
endOfISOWeek(date: number | Date): Date;
|
|
@@ -97,13 +97,13 @@ export declare const dateFunctions: {
|
|
|
97
97
|
endOfTomorrow(): Date;
|
|
98
98
|
endOfWeek(date: number | Date, options?: {
|
|
99
99
|
locale?: Locale | undefined;
|
|
100
|
-
weekStartsOn?: 0 |
|
|
100
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
101
101
|
} | undefined): Date;
|
|
102
102
|
endOfYear(date: number | Date): Date;
|
|
103
103
|
endOfYesterday(): Date;
|
|
104
104
|
format(date: number | Date, format: string, options?: {
|
|
105
105
|
locale?: Locale | undefined;
|
|
106
|
-
weekStartsOn?: 0 |
|
|
106
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
107
107
|
firstWeekContainsDate?: number | undefined;
|
|
108
108
|
useAdditionalWeekYearTokens?: boolean | undefined;
|
|
109
109
|
useAdditionalDayOfYearTokens?: boolean | undefined;
|
|
@@ -138,24 +138,24 @@ export declare const dateFunctions: {
|
|
|
138
138
|
} | undefined): string;
|
|
139
139
|
formatISO(date: number | Date, options?: {
|
|
140
140
|
format?: "extended" | "basic" | undefined;
|
|
141
|
-
representation?: "
|
|
141
|
+
representation?: "date" | "time" | "complete" | undefined;
|
|
142
142
|
} | undefined): string;
|
|
143
143
|
formatISO9075(date: number | Date, options?: {
|
|
144
144
|
format?: "extended" | "basic" | undefined;
|
|
145
|
-
representation?: "
|
|
145
|
+
representation?: "date" | "time" | "complete" | undefined;
|
|
146
146
|
} | undefined): string;
|
|
147
147
|
formatISODuration(duration: Duration): string;
|
|
148
148
|
formatRelative(date: number | Date, baseDate: number | Date, options?: {
|
|
149
149
|
locale?: Locale | undefined;
|
|
150
|
-
weekStartsOn?: 0 |
|
|
150
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
151
151
|
} | undefined): string;
|
|
152
152
|
formatRFC3339(date: number | Date, options?: {
|
|
153
|
-
fractionDigits?: 0 |
|
|
153
|
+
fractionDigits?: 0 | 1 | 2 | 3 | undefined;
|
|
154
154
|
} | undefined): string;
|
|
155
155
|
formatRFC7231(date: number | Date): string;
|
|
156
156
|
fromUnixTime(unixTime: number): Date;
|
|
157
157
|
getDate(date: number | Date): number;
|
|
158
|
-
getDay(date: number | Date): 0 |
|
|
158
|
+
getDay(date: number | Date): 0 | 1 | 6 | 4 | 5 | 2 | 3;
|
|
159
159
|
getDayOfYear(date: number | Date): number;
|
|
160
160
|
getDaysInMonth(date: number | Date): number;
|
|
161
161
|
getDaysInYear(date: number | Date): number;
|
|
@@ -176,21 +176,21 @@ export declare const dateFunctions: {
|
|
|
176
176
|
getUnixTime(date: number | Date): number;
|
|
177
177
|
getWeek(date: number | Date, options?: {
|
|
178
178
|
locale?: Locale | undefined;
|
|
179
|
-
weekStartsOn?: 0 |
|
|
180
|
-
firstWeekContainsDate?:
|
|
179
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
180
|
+
firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
|
|
181
181
|
} | undefined): number;
|
|
182
182
|
getWeekOfMonth(date: number | Date, options?: {
|
|
183
183
|
locale?: Locale | undefined;
|
|
184
|
-
weekStartsOn?: 0 |
|
|
184
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
185
185
|
} | undefined): number;
|
|
186
186
|
getWeeksInMonth(date: number | Date, options?: {
|
|
187
187
|
locale?: Locale | undefined;
|
|
188
|
-
weekStartsOn?: 0 |
|
|
188
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
189
189
|
} | undefined): number;
|
|
190
190
|
getWeekYear(date: number | Date, options?: {
|
|
191
191
|
locale?: Locale | undefined;
|
|
192
|
-
weekStartsOn?: 0 |
|
|
193
|
-
firstWeekContainsDate?:
|
|
192
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
193
|
+
firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
|
|
194
194
|
} | undefined): number;
|
|
195
195
|
getYear(date: number | Date): number;
|
|
196
196
|
hoursToMilliseconds(hours: number): number;
|
|
@@ -233,8 +233,8 @@ export declare const dateFunctions: {
|
|
|
233
233
|
isLeapYear(date: number | Date): boolean;
|
|
234
234
|
isMatch(dateString: string, formatString: string, options?: {
|
|
235
235
|
locale?: Locale | undefined;
|
|
236
|
-
weekStartsOn?: 0 |
|
|
237
|
-
firstWeekContainsDate?:
|
|
236
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
237
|
+
firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
|
|
238
238
|
useAdditionalWeekYearTokens?: boolean | undefined;
|
|
239
239
|
useAdditionalDayOfYearTokens?: boolean | undefined;
|
|
240
240
|
} | undefined): boolean;
|
|
@@ -250,7 +250,7 @@ export declare const dateFunctions: {
|
|
|
250
250
|
isSameSecond(dateLeft: number | Date, dateRight: number | Date): boolean;
|
|
251
251
|
isSameWeek(dateLeft: number | Date, dateRight: number | Date, options?: {
|
|
252
252
|
locale?: Locale | undefined;
|
|
253
|
-
weekStartsOn?: 0 |
|
|
253
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
254
254
|
} | undefined): boolean;
|
|
255
255
|
isSameYear(dateLeft: number | Date, dateRight: number | Date): boolean;
|
|
256
256
|
isSaturday(date: number | Date): boolean;
|
|
@@ -263,7 +263,7 @@ export declare const dateFunctions: {
|
|
|
263
263
|
isThisSecond(date: number | Date): boolean;
|
|
264
264
|
isThisWeek(date: number | Date, options?: {
|
|
265
265
|
locale?: Locale | undefined;
|
|
266
|
-
weekStartsOn?: 0 |
|
|
266
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
267
267
|
} | undefined): boolean;
|
|
268
268
|
isThisYear(date: number | Date): boolean;
|
|
269
269
|
isThursday(date: number | Date): boolean;
|
|
@@ -280,11 +280,11 @@ export declare const dateFunctions: {
|
|
|
280
280
|
lastDayOfISOWeekYear(date: number | Date): Date;
|
|
281
281
|
lastDayOfMonth(date: number | Date): Date;
|
|
282
282
|
lastDayOfQuarter(date: number | Date, options?: {
|
|
283
|
-
additionalDigits?: 0 |
|
|
283
|
+
additionalDigits?: 0 | 1 | 2 | undefined;
|
|
284
284
|
} | undefined): Date;
|
|
285
285
|
lastDayOfWeek(date: number | Date, options?: {
|
|
286
286
|
locale?: Locale | undefined;
|
|
287
|
-
weekStartsOn?: 0 |
|
|
287
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
288
288
|
} | undefined): Date;
|
|
289
289
|
lastDayOfYear(date: number | Date): Date;
|
|
290
290
|
lightFormat(date: number | Date, format: string): string;
|
|
@@ -309,13 +309,13 @@ export declare const dateFunctions: {
|
|
|
309
309
|
nextWednesday(date: number | Date): Date;
|
|
310
310
|
parse(dateString: string, formatString: string, referenceDate: number | Date, options?: {
|
|
311
311
|
locale?: Locale | undefined;
|
|
312
|
-
weekStartsOn?: 0 |
|
|
313
|
-
firstWeekContainsDate?:
|
|
312
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
313
|
+
firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
|
|
314
314
|
useAdditionalWeekYearTokens?: boolean | undefined;
|
|
315
315
|
useAdditionalDayOfYearTokens?: boolean | undefined;
|
|
316
316
|
} | undefined): Date;
|
|
317
317
|
parseISO(argument: string, options?: {
|
|
318
|
-
additionalDigits?: 0 |
|
|
318
|
+
additionalDigits?: 0 | 1 | 2 | undefined;
|
|
319
319
|
} | undefined): Date;
|
|
320
320
|
parseJSON(argument: string | number | Date): Date;
|
|
321
321
|
previousDay(date: number | Date, day: number): Date;
|
|
@@ -347,13 +347,13 @@ export declare const dateFunctions: {
|
|
|
347
347
|
setDate(date: number | Date, dayOfMonth: number): Date;
|
|
348
348
|
setDay(date: number | Date, day: number, options?: {
|
|
349
349
|
locale?: Locale | undefined;
|
|
350
|
-
weekStartsOn?: 0 |
|
|
350
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
351
351
|
} | undefined): Date;
|
|
352
352
|
setDayOfYear(date: number | Date, dayOfYear: number): Date;
|
|
353
353
|
setDefaultOptions(newOptions: {
|
|
354
354
|
locale?: Locale | undefined;
|
|
355
|
-
weekStartsOn?: 0 |
|
|
356
|
-
firstWeekContainsDate?:
|
|
355
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
356
|
+
firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
|
|
357
357
|
}): void;
|
|
358
358
|
setHours(date: number | Date, hours: number): Date;
|
|
359
359
|
setISODay(date: number | Date, day: number): Date;
|
|
@@ -366,13 +366,13 @@ export declare const dateFunctions: {
|
|
|
366
366
|
setSeconds(date: number | Date, seconds: number): Date;
|
|
367
367
|
setWeek(date: number | Date, week: number, options?: {
|
|
368
368
|
locale?: Locale | undefined;
|
|
369
|
-
weekStartsOn?: 0 |
|
|
370
|
-
firstWeekContainsDate?:
|
|
369
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
370
|
+
firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
|
|
371
371
|
} | undefined): Date;
|
|
372
372
|
setWeekYear(date: number | Date, weekYear: number, options?: {
|
|
373
373
|
locale?: Locale | undefined;
|
|
374
|
-
weekStartsOn?: 0 |
|
|
375
|
-
firstWeekContainsDate?:
|
|
374
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
375
|
+
firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
|
|
376
376
|
} | undefined): Date;
|
|
377
377
|
setYear(date: number | Date, year: number): Date;
|
|
378
378
|
startOfDay(date: number | Date): Date;
|
|
@@ -388,12 +388,12 @@ export declare const dateFunctions: {
|
|
|
388
388
|
startOfTomorrow(): Date;
|
|
389
389
|
startOfWeek(date: number | Date, options?: {
|
|
390
390
|
locale?: Locale | undefined;
|
|
391
|
-
weekStartsOn?: 0 |
|
|
391
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
392
392
|
} | undefined): Date;
|
|
393
393
|
startOfWeekYear(date: number | Date, options?: {
|
|
394
394
|
locale?: Locale | undefined;
|
|
395
|
-
weekStartsOn?: 0 |
|
|
396
|
-
firstWeekContainsDate?:
|
|
395
|
+
weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
|
|
396
|
+
firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
|
|
397
397
|
} | undefined): Date;
|
|
398
398
|
startOfYear(date: number | Date): Date;
|
|
399
399
|
startOfYesterday(): Date;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as c, q as b, L as O, w as k } from "./index-
|
|
1
|
+
import { l as c, q as b, L as O, w as k } from "./index-fe4aa014.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@prefecthq/prefect-design";
|
|
4
4
|
import "@prefecthq/vue-compositions";
|
|
5
|
-
import "vee-validate";
|
|
6
5
|
import "vue-router";
|
|
6
|
+
import "vee-validate";
|
|
7
7
|
class d {
|
|
8
8
|
constructor(t) {
|
|
9
9
|
this.parent = t, this.paused = !1;
|
|
@@ -1534,4 +1534,4 @@ export {
|
|
|
1534
1534
|
C as Viewport,
|
|
1535
1535
|
$ as Wheel
|
|
1536
1536
|
};
|
|
1537
|
-
//# sourceMappingURL=viewport.es-5fa29f11-
|
|
1537
|
+
//# sourceMappingURL=viewport.es-5fa29f11-ba4997a6.mjs.map
|