@prefecthq/prefect-ui-library 1.2.2 → 1.4.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-37d4f806.mjs → index-3ea05524.mjs} +23218 -22300
- package/dist/index-3ea05524.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +681 -665
- 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/sections/artifacts/ArtifactDataView.vue.d.ts +2 -0
- package/dist/types/src/components/ArtifactDataRaw.vue.d.ts +16 -0
- package/dist/types/src/components/ArtifactDataTable.vue.d.ts +16 -0
- package/dist/types/src/components/ArtifactDetails.vue.d.ts +18 -0
- package/dist/types/src/components/ArtifactKeyIconText.vue.d.ts +15 -0
- package/dist/types/src/components/{ArtifactTimelineItem.vue.d.ts → ArtifactTimelineItemContent.vue.d.ts} +4 -6
- package/dist/types/src/components/ArtifactTimelineItemDate.vue.d.ts +18 -0
- package/dist/types/src/components/FlowRunFilteredList.vue.d.ts +4 -4
- package/dist/types/src/components/LogLevelSelect.vue.d.ts +2 -2
- package/dist/types/src/components/PageHeadingVariables.vue.d.ts +2 -0
- package/dist/types/src/components/VariableCreateModal.vue.d.ts +23 -0
- package/dist/types/src/components/VariableEditModal.vue.d.ts +25 -0
- package/dist/types/src/components/VariableMenu.vue.d.ts +23 -0
- package/dist/types/src/components/VariablesDeleteButton.vue.d.ts +19 -0
- package/dist/types/src/components/VariablesTable.vue.d.ts +20 -0
- package/dist/types/src/components/index.d.ts +7 -0
- package/dist/types/src/compositions/filters.d.ts +2 -1
- package/dist/types/src/compositions/index.d.ts +1 -0
- package/dist/types/src/compositions/useArtifact.d.ts +5 -0
- package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +7 -0
- package/dist/types/src/localization/index.d.ts +28 -0
- package/dist/types/src/localization/locale/en.d.ts +28 -0
- package/dist/types/src/maps/filters.d.ts +4 -2
- package/dist/types/src/maps/index.d.ts +112 -89
- package/dist/types/src/maps/variable.d.ts +7 -0
- package/dist/types/src/mocks/index.d.ts +3 -2
- package/dist/types/src/mocks/table.d.ts +10 -0
- package/dist/types/src/models/Artifact.d.ts +8 -1
- package/dist/types/src/models/Filters.d.ts +16 -2
- package/dist/types/src/models/Variable.d.ts +17 -0
- package/dist/types/src/models/VariableCreate.d.ts +5 -0
- package/dist/types/src/models/VariableEdit.d.ts +5 -0
- package/dist/types/src/models/api/Filters.d.ts +15 -3
- package/dist/types/src/models/api/VariableRequest.d.ts +10 -0
- package/dist/types/src/models/api/VariableResponse.d.ts +9 -0
- package/dist/types/src/models/index.d.ts +3 -0
- package/dist/types/src/router/routes.d.ts +7 -0
- package/dist/types/src/services/Mapper.d.ts +112 -89
- package/dist/types/src/services/Mocker.d.ts +3 -2
- package/dist/types/src/services/WorkspaceVariablesApi.d.ts +21 -0
- package/dist/types/src/services/can.d.ts +2 -2
- package/dist/types/src/services/index.d.ts +1 -0
- package/dist/types/src/types/SortOptionTypes.d.ts +9 -0
- package/dist/types/src/types/artifact.d.ts +2 -0
- package/dist/types/src/utilities/api.d.ts +2 -0
- package/dist/types/src/utilities/timezone.d.ts +30 -30
- package/dist/{viewport.es-20251669-54dbd82d.mjs → viewport.es-20251669-a528876a.mjs} +2 -2
- package/dist/{viewport.es-20251669-54dbd82d.mjs.map → viewport.es-20251669-a528876a.mjs.map} +1 -1
- package/package.json +6 -7
- package/dist/index-37d4f806.mjs.map +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Artifact } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
artifact: Artifact;
|
|
4
|
+
alternate?: boolean | undefined;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
artifact: Artifact;
|
|
7
|
+
alternate?: boolean | undefined;
|
|
8
|
+
}>>>, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
artifactId: 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
|
+
artifactId: 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,18 +1,16 @@
|
|
|
1
1
|
import { Artifact } from '../models';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
artifact: Artifact;
|
|
4
|
-
|
|
5
|
-
expanded?: (boolean | unknown[] | undefined) | null;
|
|
4
|
+
expanded?: boolean | unknown[] | null | undefined;
|
|
6
5
|
value?: unknown;
|
|
7
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
"update:expanded": (value: boolean | unknown[] | undefined) => void;
|
|
7
|
+
"update:expanded": (value: boolean | unknown[] | null | undefined) => void;
|
|
9
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
9
|
artifact: Artifact;
|
|
11
|
-
|
|
12
|
-
expanded?: (boolean | unknown[] | undefined) | null;
|
|
10
|
+
expanded?: boolean | unknown[] | null | undefined;
|
|
13
11
|
value?: unknown;
|
|
14
12
|
}>>> & {
|
|
15
|
-
"onUpdate:expanded"?: ((value: boolean | unknown[] | undefined) => any) | undefined;
|
|
13
|
+
"onUpdate:expanded"?: ((value: boolean | unknown[] | null | undefined) => any) | undefined;
|
|
16
14
|
}, {}>;
|
|
17
15
|
export default _default;
|
|
18
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Artifact } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
artifact: Artifact;
|
|
4
|
+
latest?: boolean | undefined;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
artifact: Artifact;
|
|
7
|
+
latest?: boolean | undefined;
|
|
8
|
+
}>>>, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { FlowRunsFilter } from '../models/Filters';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
flowRunFilter: FlowRunsFilter;
|
|
4
|
-
states?: ("
|
|
4
|
+
states?: ("Cancelled" | "Completed" | "Crashed" | "Failed" | "Late" | "Pending" | "Running" | "Scheduled" | "Resuming" | "Paused" | "Cancelling" | "TimedOut")[] | undefined;
|
|
5
5
|
disabled?: boolean | undefined;
|
|
6
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:states": (value: ("
|
|
7
|
+
"update:states": (value: ("Cancelled" | "Completed" | "Crashed" | "Failed" | "Late" | "Pending" | "Running" | "Scheduled" | "Resuming" | "Paused" | "Cancelling" | "TimedOut")[]) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
9
|
flowRunFilter: FlowRunsFilter;
|
|
10
|
-
states?: ("
|
|
10
|
+
states?: ("Cancelled" | "Completed" | "Crashed" | "Failed" | "Late" | "Pending" | "Running" | "Scheduled" | "Resuming" | "Paused" | "Cancelling" | "TimedOut")[] | undefined;
|
|
11
11
|
disabled?: boolean | undefined;
|
|
12
12
|
}>>> & {
|
|
13
|
-
"onUpdate:states"?: ((value: ("
|
|
13
|
+
"onUpdate:states"?: ((value: ("Cancelled" | "Completed" | "Crashed" | "Failed" | "Late" | "Pending" | "Running" | "Scheduled" | "Resuming" | "Paused" | "Cancelling" | "TimedOut")[]) => any) | undefined;
|
|
14
14
|
}, {}>, {
|
|
15
15
|
'empty-message': (_: {}) => any;
|
|
16
16
|
}>;
|
|
@@ -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 | 10 | 20 | 30 | 40 | 50) => 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 | 10 | 20 | 30 | 40 | 50) => any) | undefined;
|
|
10
10
|
}, {}>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Variable } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
showModal: boolean;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"update:showModal": (value: boolean) => void;
|
|
6
|
+
} & {
|
|
7
|
+
create: (value: Variable) => void;
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
showModal: boolean;
|
|
10
|
+
}>>> & {
|
|
11
|
+
"onUpdate:showModal"?: ((value: boolean) => any) | undefined;
|
|
12
|
+
onCreate?: ((value: Variable) => 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,25 @@
|
|
|
1
|
+
import { Variable } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
variable: Variable;
|
|
4
|
+
showModal: boolean;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:showModal": (value: boolean) => void;
|
|
7
|
+
} & {
|
|
8
|
+
update: (value: Variable) => void;
|
|
9
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
variable: Variable;
|
|
11
|
+
showModal: boolean;
|
|
12
|
+
}>>> & {
|
|
13
|
+
"onUpdate:showModal"?: ((value: boolean) => any) | undefined;
|
|
14
|
+
onUpdate?: ((value: Variable) => any) | undefined;
|
|
15
|
+
}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Variable } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
variable: Variable;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
delete: (value: string) => void;
|
|
6
|
+
} & {
|
|
7
|
+
update: (value: Variable) => void;
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
variable: Variable;
|
|
10
|
+
}>>> & {
|
|
11
|
+
onDelete?: ((value: string) => any) | undefined;
|
|
12
|
+
onUpdate?: ((value: Variable) => 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,19 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
variableIds: string[];
|
|
3
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
delete: () => void;
|
|
5
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
variableIds: string[];
|
|
7
|
+
}>>> & {
|
|
8
|
+
onDelete?: (() => any) | undefined;
|
|
9
|
+
}, {}>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { VariablesFilter } from '../models/Filters';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
filter?: VariablesFilter | undefined;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
delete: () => void;
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
filter?: VariablesFilter | undefined;
|
|
8
|
+
}>>> & {
|
|
9
|
+
onDelete?: (() => any) | undefined;
|
|
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
|
+
};
|
|
@@ -4,9 +4,12 @@ export { default as ArtifactCollectionsEmptyState } from './ArtifactCollectionsE
|
|
|
4
4
|
export { default as ArtifactCollections } from './ArtifactCollections.vue';
|
|
5
5
|
export { default as ArtifactDataView } from './ArtifactDataView.vue';
|
|
6
6
|
export { default as ArtifactDataMarkdown } from './ArtifactDataMarkdown.vue';
|
|
7
|
+
export { default as ArtifactDataRaw } from './ArtifactDataRaw.vue';
|
|
7
8
|
export { default as ArtifactDataResult } from './ArtifactDataResult.vue';
|
|
8
9
|
export { default as ArtifactDataUnknown } from './ArtifactDataUnknown.vue';
|
|
9
10
|
export { default as ArtifactDescription } from './ArtifactDescription.vue';
|
|
11
|
+
export { default as ArtifactDetails } from './ArtifactDetails.vue';
|
|
12
|
+
export { default as ArtifactKeyIconText } from './ArtifactKeyIconText.vue';
|
|
10
13
|
export { default as ArtifactMenu } from './ArtifactMenu.vue';
|
|
11
14
|
export { default as ArtifactResultCard } from './ArtifactResultCard.vue';
|
|
12
15
|
export { default as ArtifactTimeline } from './ArtifactTimeline.vue';
|
|
@@ -162,6 +165,7 @@ export { default as PageHeadingNotificationCreate } from './PageHeadingNotificat
|
|
|
162
165
|
export { default as PageHeadingNotificationEdit } from './PageHeadingNotificationEdit.vue';
|
|
163
166
|
export { default as PageHeadingNotifications } from './PageHeadingNotifications.vue';
|
|
164
167
|
export { default as PageHeadingTaskRun } from './PageHeadingTaskRun.vue';
|
|
168
|
+
export { default as PageHeadingVariables } from './PageHeadingVariables.vue';
|
|
165
169
|
export { default as PageHeadingWorkPool } from './PageHeadingWorkPool.vue';
|
|
166
170
|
export { default as PageHeadingWorkPoolCreate } from './PageHeadingWorkPoolCreate.vue';
|
|
167
171
|
export { default as PageHeadingWorkPoolEdit } from './PageHeadingWorkPoolEdit.vue';
|
|
@@ -219,6 +223,9 @@ export { default as TaskRunLogs } from './TaskRunLogs.vue';
|
|
|
219
223
|
export { default as TaskRunsSort } from './TaskRunsSort.vue';
|
|
220
224
|
export { default as TimezoneSelect } from './TimezoneSelect.vue';
|
|
221
225
|
export { default as ToastFlowRunCreate } from './ToastFlowRunCreate.vue';
|
|
226
|
+
export { default as VariableMenu } from './VariableMenu.vue';
|
|
227
|
+
export { default as VariableCreateModal } from './VariableCreateModal.vue';
|
|
228
|
+
export { default as VariableEditModal } from './VariableEditModal.vue';
|
|
222
229
|
export { default as ViewModeButtonGroup } from './ViewModeButtonGroup.vue';
|
|
223
230
|
export { default as WorkersLateIndicator } from './WorkersLateIndicator.vue';
|
|
224
231
|
export { default as WorkersTable } from './WorkersTable.vue';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
|
-
import { BlockDocumentFilter, BlockDocumentsFilter, BlockSchemaFilter, BlockSchemasFilter, BlockTypeFilter, BlockTypesFilter, DeploymentFilter, DeploymentsFilter, FlowFilter, FlowRunFilter, FlowRunsFilter, FlowRunsHistoryFilter, FlowsFilter, StateFilter, TagFilter, TaskRunFilter, TaskRunsFilter, WorkPoolFilter, WorkPoolQueueFilter, WorkPoolsFilter } from '../models/Filters';
|
|
2
|
+
import { BlockDocumentFilter, BlockDocumentsFilter, BlockSchemaFilter, BlockSchemasFilter, BlockTypeFilter, BlockTypesFilter, DeploymentFilter, DeploymentsFilter, FlowFilter, FlowRunFilter, FlowRunsFilter, FlowRunsHistoryFilter, FlowsFilter, StateFilter, TagFilter, TaskRunFilter, TaskRunsFilter, VariablesFilter, WorkPoolFilter, WorkPoolQueueFilter, WorkPoolsFilter } from '../models/Filters';
|
|
3
3
|
import { AnyRecord } from '../types/any';
|
|
4
4
|
import { MaybeReactive } from '../types/reactivity';
|
|
5
5
|
export type Filter<T extends AnyRecord> = {
|
|
@@ -37,6 +37,7 @@ export declare function useFlowsFilter(defaultValue?: MaybeReactive<FlowsFilter>
|
|
|
37
37
|
export declare function useFlowRunsFilter(defaultValue?: MaybeReactive<FlowRunsFilter>): UseFilter<FlowRunsFilter>;
|
|
38
38
|
export declare function useTaskRunsFilter(defaultValue?: MaybeReactive<TaskRunsFilter>): UseFilter<TaskRunsFilter>;
|
|
39
39
|
export declare function useDeploymentsFilter(defaultValue?: MaybeReactive<DeploymentsFilter>): UseFilter<DeploymentsFilter>;
|
|
40
|
+
export declare function useVariablesFilter(defaultValue?: MaybeReactive<VariablesFilter>): UseFilter<VariablesFilter>;
|
|
40
41
|
export declare function useFlowsFilterFromRoute(defaultValue?: MaybeReactive<FlowsFilter>, prefix?: string): UseFilter<FlowsFilter>;
|
|
41
42
|
export declare function useFlowRunsFilterFromRoute(defaultValue?: MaybeReactive<FlowRunsFilter>, prefix?: string): UseFilter<FlowRunsFilter>;
|
|
42
43
|
export declare function useTaskRunsFilterFromRoute(defaultValue?: MaybeReactive<TaskRunsFilter>, prefix?: string): UseFilter<TaskRunsFilter>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { WorkspaceArtifactsApi } from '../services/WorkspaceArtifactsApi';
|
|
3
|
+
import { UseEntitySubscription } from '../types/useEntitySubscription';
|
|
4
|
+
export type UseArtifact = UseEntitySubscription<WorkspaceArtifactsApi['getArtifact'], 'artifact'>;
|
|
5
|
+
export declare function useArtifact(artifactId: string | Ref<string | null | undefined>): UseArtifact;
|
|
@@ -232,6 +232,13 @@ export declare function useWorkspaceRoutes(): {
|
|
|
232
232
|
readonly workspaceId?: string | undefined;
|
|
233
233
|
};
|
|
234
234
|
};
|
|
235
|
+
variables: () => {
|
|
236
|
+
readonly name: "workspace.variables";
|
|
237
|
+
readonly params: {
|
|
238
|
+
readonly accountId?: string | undefined;
|
|
239
|
+
readonly workspaceId?: string | undefined;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
235
242
|
workPools: () => {
|
|
236
243
|
readonly name: "workspace.work-pools";
|
|
237
244
|
readonly params: {
|
|
@@ -28,11 +28,13 @@ export declare const localization: {
|
|
|
28
28
|
createNotification: string;
|
|
29
29
|
createSavedSearch: string;
|
|
30
30
|
createSchedule: string;
|
|
31
|
+
createVariable: string;
|
|
31
32
|
createWorkPool: string;
|
|
32
33
|
createWorkPoolQueue: string;
|
|
33
34
|
createWorkQueue: string;
|
|
34
35
|
delete: (type: string) => string;
|
|
35
36
|
deleteSavedSearch: string;
|
|
37
|
+
editVariable: string;
|
|
36
38
|
pauseDeployment: string;
|
|
37
39
|
pauseFlowRun: string;
|
|
38
40
|
pauseNotification: string;
|
|
@@ -50,6 +52,7 @@ export declare const localization: {
|
|
|
50
52
|
updateWorkPool: string;
|
|
51
53
|
updateWorkPoolQueue: string;
|
|
52
54
|
updateWorkQueue: string;
|
|
55
|
+
variableAlreadyExists: string;
|
|
53
56
|
};
|
|
54
57
|
success: {
|
|
55
58
|
activateDeployment: string;
|
|
@@ -65,11 +68,13 @@ export declare const localization: {
|
|
|
65
68
|
createNotification: string;
|
|
66
69
|
createSavedSearch: string;
|
|
67
70
|
createSchedule: string;
|
|
71
|
+
createVariable: string;
|
|
68
72
|
createWorkPool: string;
|
|
69
73
|
createWorkPoolQueue: string;
|
|
70
74
|
createWorkQueue: string;
|
|
71
75
|
delete: (type: string) => string;
|
|
72
76
|
deleteSavedSearch: string;
|
|
77
|
+
editVariable: string;
|
|
73
78
|
pauseDeployment: string;
|
|
74
79
|
pauseFlowRun: string;
|
|
75
80
|
pauseNotification: string;
|
|
@@ -91,12 +96,35 @@ export declare const localization: {
|
|
|
91
96
|
artifact: string;
|
|
92
97
|
artifacts: string;
|
|
93
98
|
artifactSearch: string;
|
|
99
|
+
variablesSearch: string;
|
|
100
|
+
artifactCreated: (key: string) => string;
|
|
101
|
+
artifactTypeChanged: (type: string) => string;
|
|
102
|
+
newVariable: string;
|
|
103
|
+
editVariable: (name: string) => string;
|
|
104
|
+
close: string;
|
|
105
|
+
save: string;
|
|
106
|
+
name: string;
|
|
107
|
+
selectedVariables: string;
|
|
108
|
+
value: string;
|
|
94
109
|
latest: string;
|
|
110
|
+
item: string;
|
|
111
|
+
noData: string;
|
|
112
|
+
noVariables: string;
|
|
113
|
+
copyId: string;
|
|
114
|
+
copyName: string;
|
|
115
|
+
copyValue: string;
|
|
116
|
+
edit: string;
|
|
117
|
+
delete: string;
|
|
118
|
+
tags: string;
|
|
119
|
+
invalidData: (docsUrl: string) => string;
|
|
95
120
|
noResults: string;
|
|
96
121
|
flowRun: string;
|
|
97
122
|
taskRun: string;
|
|
98
123
|
taskRuns: string;
|
|
124
|
+
variable: string;
|
|
125
|
+
variables: string;
|
|
99
126
|
created: string;
|
|
127
|
+
create: string;
|
|
100
128
|
lastUpdated: string;
|
|
101
129
|
deprecatedWorkQueue: string;
|
|
102
130
|
deploymentMissingWorkQueue: string;
|
|
@@ -28,11 +28,13 @@ export declare const en: {
|
|
|
28
28
|
createNotification: string;
|
|
29
29
|
createSavedSearch: string;
|
|
30
30
|
createSchedule: string;
|
|
31
|
+
createVariable: string;
|
|
31
32
|
createWorkPool: string;
|
|
32
33
|
createWorkPoolQueue: string;
|
|
33
34
|
createWorkQueue: string;
|
|
34
35
|
delete: (type: string) => string;
|
|
35
36
|
deleteSavedSearch: string;
|
|
37
|
+
editVariable: string;
|
|
36
38
|
pauseDeployment: string;
|
|
37
39
|
pauseFlowRun: string;
|
|
38
40
|
pauseNotification: string;
|
|
@@ -50,6 +52,7 @@ export declare const en: {
|
|
|
50
52
|
updateWorkPool: string;
|
|
51
53
|
updateWorkPoolQueue: string;
|
|
52
54
|
updateWorkQueue: string;
|
|
55
|
+
variableAlreadyExists: string;
|
|
53
56
|
};
|
|
54
57
|
success: {
|
|
55
58
|
activateDeployment: string;
|
|
@@ -65,11 +68,13 @@ export declare const en: {
|
|
|
65
68
|
createNotification: string;
|
|
66
69
|
createSavedSearch: string;
|
|
67
70
|
createSchedule: string;
|
|
71
|
+
createVariable: string;
|
|
68
72
|
createWorkPool: string;
|
|
69
73
|
createWorkPoolQueue: string;
|
|
70
74
|
createWorkQueue: string;
|
|
71
75
|
delete: (type: string) => string;
|
|
72
76
|
deleteSavedSearch: string;
|
|
77
|
+
editVariable: string;
|
|
73
78
|
pauseDeployment: string;
|
|
74
79
|
pauseFlowRun: string;
|
|
75
80
|
pauseNotification: string;
|
|
@@ -91,12 +96,35 @@ export declare const en: {
|
|
|
91
96
|
artifact: string;
|
|
92
97
|
artifacts: string;
|
|
93
98
|
artifactSearch: string;
|
|
99
|
+
variablesSearch: string;
|
|
100
|
+
artifactCreated: (key: string) => string;
|
|
101
|
+
artifactTypeChanged: (type: string) => string;
|
|
102
|
+
newVariable: string;
|
|
103
|
+
editVariable: (name: string) => string;
|
|
104
|
+
close: string;
|
|
105
|
+
save: string;
|
|
106
|
+
name: string;
|
|
107
|
+
selectedVariables: string;
|
|
108
|
+
value: string;
|
|
94
109
|
latest: string;
|
|
110
|
+
item: string;
|
|
111
|
+
noData: string;
|
|
112
|
+
noVariables: string;
|
|
113
|
+
copyId: string;
|
|
114
|
+
copyName: string;
|
|
115
|
+
copyValue: string;
|
|
116
|
+
edit: string;
|
|
117
|
+
delete: string;
|
|
118
|
+
tags: string;
|
|
119
|
+
invalidData: (docsUrl: string) => string;
|
|
95
120
|
noResults: string;
|
|
96
121
|
flowRun: string;
|
|
97
122
|
taskRun: string;
|
|
98
123
|
taskRuns: string;
|
|
124
|
+
variable: string;
|
|
125
|
+
variables: string;
|
|
99
126
|
created: string;
|
|
127
|
+
create: string;
|
|
100
128
|
lastUpdated: string;
|
|
101
129
|
deprecatedWorkQueue: string;
|
|
102
130
|
deploymentMissingWorkQueue: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TagFilterRequest, FlowFilterRequest, FlowRunFilterRequest, StateFilterRequest, TaskRunFilterRequest, DeploymentFilterRequest, FlowsFilterRequest, FlowRunsFilterRequest, TaskRunsFilterRequest, DeploymentsFilterRequest, BlockTypeFilterRequest, BlockSchemaFilterRequest, BlockDocumentFilterRequest, NotificationsFilterRequest, SavedSearchesFilterRequest, LogsFilterRequest, ConcurrencyLimitsFilterRequest, BlockTypesFilterRequest, BlockSchemasFilterRequest, BlockDocumentsFilterRequest, WorkQueuesFilterRequest, WorkPoolFilterRequest, WorkPoolsFilterRequest, WorkPoolQueueFilterRequest, FlowRunsHistoryFilterRequest, WorkPoolWorkersFilterRequest, WorkPoolQueuesFilterRequest, ArtifactsFilterRequest, ArtifactFilterRequest } from '../models/api/Filters';
|
|
2
|
-
import { FlowFilter, FlowRunFilter, StateFilter, TagFilter, TaskRunFilter, DeploymentFilter, FlowsFilter, FlowRunsFilter, TaskRunsFilter, DeploymentsFilter, BlockTypeFilter, BlockSchemaFilter, BlockDocumentFilter, NotificationsFilter, SavedSearchesFilter, LogsFilter, ConcurrencyLimitsFilter, BlockTypesFilter, BlockSchemasFilter, BlockDocumentsFilter, WorkQueuesFilter, WorkPoolFilter, WorkPoolsFilter, WorkPoolQueueFilter, FlowRunsHistoryFilter, WorkPoolWorkersFilter, WorkPoolQueuesFilter, ArtifactsFilter, ArtifactFilter } from '../models/Filters';
|
|
1
|
+
import { TagFilterRequest, FlowFilterRequest, FlowRunFilterRequest, StateFilterRequest, TaskRunFilterRequest, DeploymentFilterRequest, FlowsFilterRequest, FlowRunsFilterRequest, TaskRunsFilterRequest, DeploymentsFilterRequest, BlockTypeFilterRequest, BlockSchemaFilterRequest, BlockDocumentFilterRequest, NotificationsFilterRequest, SavedSearchesFilterRequest, LogsFilterRequest, ConcurrencyLimitsFilterRequest, BlockTypesFilterRequest, BlockSchemasFilterRequest, BlockDocumentsFilterRequest, WorkQueuesFilterRequest, WorkPoolFilterRequest, WorkPoolsFilterRequest, WorkPoolQueueFilterRequest, FlowRunsHistoryFilterRequest, WorkPoolWorkersFilterRequest, WorkPoolQueuesFilterRequest, ArtifactsFilterRequest, ArtifactFilterRequest, VariablesFilterRequest, VariableFilterRequest } from '../models/api/Filters';
|
|
2
|
+
import { FlowFilter, FlowRunFilter, StateFilter, TagFilter, TaskRunFilter, DeploymentFilter, FlowsFilter, FlowRunsFilter, TaskRunsFilter, DeploymentsFilter, BlockTypeFilter, BlockSchemaFilter, BlockDocumentFilter, NotificationsFilter, SavedSearchesFilter, LogsFilter, ConcurrencyLimitsFilter, BlockTypesFilter, BlockSchemasFilter, BlockDocumentsFilter, WorkQueuesFilter, WorkPoolFilter, WorkPoolsFilter, WorkPoolQueueFilter, FlowRunsHistoryFilter, WorkPoolWorkersFilter, WorkPoolQueuesFilter, ArtifactsFilter, ArtifactFilter, VariablesFilter, VariableFilter } from '../models/Filters';
|
|
3
3
|
import { MapFunction } from '../services';
|
|
4
4
|
export declare const mapTagFilter: MapFunction<TagFilter, TagFilterRequest>;
|
|
5
5
|
export declare const mapStateFilter: MapFunction<StateFilter, StateFilterRequest>;
|
|
@@ -11,6 +11,8 @@ export declare const mapWorkPoolFilter: MapFunction<WorkPoolFilter, WorkPoolFilt
|
|
|
11
11
|
export declare const mapWorkPoolQueueFilter: MapFunction<WorkPoolQueueFilter, WorkPoolQueueFilterRequest>;
|
|
12
12
|
export declare const mapArtifactFilter: MapFunction<ArtifactFilter, ArtifactFilterRequest>;
|
|
13
13
|
export declare const mapArtifactsFilter: MapFunction<ArtifactsFilter, ArtifactsFilterRequest>;
|
|
14
|
+
export declare const mapVariableFilter: MapFunction<VariableFilter, VariableFilterRequest>;
|
|
15
|
+
export declare const mapVariablesFilter: MapFunction<VariablesFilter, VariablesFilterRequest>;
|
|
14
16
|
export declare const mapFlowsFilter: MapFunction<FlowsFilter, FlowsFilterRequest>;
|
|
15
17
|
export declare const mapFlowRunsFilter: MapFunction<FlowRunsFilter, FlowRunsFilterRequest>;
|
|
16
18
|
export declare const mapFlowRunsHistoryFilter: MapFunction<FlowRunsHistoryFilter, FlowRunsHistoryFilterRequest>;
|