@prefecthq/prefect-ui-library 3.12.8 → 3.12.10
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/{RunsPageWithDefaultFilter-umBJVr8U.mjs → RunsPageWithDefaultFilter-rweNsjzV.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-umBJVr8U.mjs.map → RunsPageWithDefaultFilter-rweNsjzV.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-DEUCC_Qo.mjs → WorkQueueToWorkPoolQueueRedirect-DcC3MDka.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-DEUCC_Qo.mjs.map → WorkQueueToWorkPoolQueueRedirect-DcC3MDka.mjs.map} +1 -1
- package/dist/{index-CPp5RYan.mjs → index-BxV9_Yx0.mjs} +11 -8
- package/dist/{index-CPp5RYan.mjs.map → index-BxV9_Yx0.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +2 -2
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/automations/components/AutomationCombobox.vue.d.ts +3 -26
- package/dist/types/src/automations/components/AutomationWithinInput.vue.d.ts +3 -19
- package/dist/types/src/components/ArtifactCard.vue.d.ts +2 -32
- package/dist/types/src/components/ArtifactMenu.vue.d.ts +2 -7
- package/dist/types/src/components/AutomationMenu.vue.d.ts +2 -434
- package/dist/types/src/components/BlockDocument.vue.d.ts +2 -7
- package/dist/types/src/components/BlockDocumentMenu.vue.d.ts +2 -23
- package/dist/types/src/components/BlockTypeCardLayout.vue.d.ts +2 -7
- package/dist/types/src/components/BlockTypeCardPreview.vue.d.ts +2 -419
- package/dist/types/src/components/CodeBanner.vue.d.ts +2 -9
- package/dist/types/src/components/CollectionItemCard.vue.d.ts +2 -7
- package/dist/types/src/components/ConcurrencyLimitResetModal.vue.d.ts +2 -15
- package/dist/types/src/components/ConcurrencyLimitV2ResetModal.vue.d.ts +2 -17
- package/dist/types/src/components/ConcurrencyLimitsCreateModal.vue.d.ts +2 -27
- package/dist/types/src/components/ConcurrencyLimitsV2CreateModal.vue.d.ts +2 -33
- package/dist/types/src/components/ConcurrencyLimitsV2UpdateModal.vue.d.ts +2 -39
- package/dist/types/src/components/ConfirmDeleteModal.vue.d.ts +2 -15
- package/dist/types/src/components/ConfirmStateChangeModal.vue.d.ts +2 -29
- package/dist/types/src/components/CopyableWrapper.vue.d.ts +2 -9
- package/dist/types/src/components/CronScheduleForm.vue.d.ts +2 -37
- package/dist/types/src/components/DashboardWorkPoolCardDetail.vue.d.ts +2 -4
- package/dist/types/src/components/DateRangeInput.vue.d.ts +2 -19
- package/dist/types/src/components/DeploymentCombobox.vue.d.ts +3 -39
- package/dist/types/src/components/DeploymentCustomRunOverflowMenuItem.vue.d.ts +2 -417
- package/dist/types/src/components/DeploymentDetails.vue.d.ts +3 -448
- package/dist/types/src/components/DeploymentMenu.vue.d.ts +2 -436
- package/dist/types/src/components/DeploymentQuickRunOverflowMenuItem.vue.d.ts +2 -7
- package/dist/types/src/components/DeploymentsPageEmptyState.vue.d.ts +2 -12
- package/dist/types/src/components/DocumentationButton.vue.d.ts +2 -4
- package/dist/types/src/components/ExtraInfoModal.vue.d.ts +3 -2
- package/dist/types/src/components/ExtraInfoTooltip.vue.d.ts +2 -4
- package/dist/types/src/components/FlowCombobox.vue.d.ts +3 -37
- package/dist/types/src/components/FlowMenu.vue.d.ts +2 -432
- package/dist/types/src/components/FlowPopover.vue.d.ts +5 -16
- package/dist/types/src/components/FlowRouterLink.vue.d.ts +2 -421
- package/dist/types/src/components/FlowRunArtifacts.vue.d.ts +2 -438
- package/dist/types/src/components/FlowRunFilteredList.vue.d.ts +2 -36
- package/dist/types/src/components/FlowRunGraphPopover.vue.d.ts +2 -222
- package/dist/types/src/components/FlowRunListItem.vue.d.ts +2 -41
- package/dist/types/src/components/FlowRunMenu.vue.d.ts +3 -473
- package/dist/types/src/components/FlowRunsPageEmptyState.vue.d.ts +2 -12
- package/dist/types/src/components/FlowsPageEmptyState.vue.d.ts +2 -12
- package/dist/types/src/components/FormattedDate.vue.d.ts +2 -7
- package/dist/types/src/components/IconTextCount.vue.d.ts +2 -7
- package/dist/types/src/components/IntervalScheduleForm.vue.d.ts +2 -39
- package/dist/types/src/components/LogsContainer.vue.d.ts +2 -24
- package/dist/types/src/components/MarketingBanner.vue.d.ts +2 -14
- package/dist/types/src/components/PageHeading.vue.d.ts +3 -17
- package/dist/types/src/components/PageHeadingFlowRunCreate.vue.d.ts +2 -37
- package/dist/types/src/components/QuickRunParametersModal.vue.d.ts +2 -29
- package/dist/types/src/components/ResourceLink.vue.d.ts +3 -14
- package/dist/types/src/components/RowGridLayoutList.vue.d.ts +2 -14
- package/dist/types/src/components/SaveFilterModal.vue.d.ts +2 -21
- package/dist/types/src/components/ScheduleFormModal.vue.d.ts +2 -2
- package/dist/types/src/components/SchemaInput.vue.d.ts +2 -31
- package/dist/types/src/components/SeparatedList.vue.d.ts +2 -9
- package/dist/types/src/components/StateListItem.vue.d.ts +2 -79
- package/dist/types/src/components/TaskRunArtifacts.vue.d.ts +2 -432
- package/dist/types/src/components/UseDeploymentSlot.vue.d.ts +2 -7
- package/dist/types/src/components/UseFlowSlot.vue.d.ts +2 -7
- package/dist/types/src/components/WorkPoolCombobox.vue.d.ts +3 -26
- package/dist/types/src/components/WorkPoolMenu.vue.d.ts +2 -429
- package/dist/types/src/components/WorkPoolQueueCombobox.vue.d.ts +3 -24
- package/dist/types/src/components/WorkPoolQueueMenu.vue.d.ts +2 -433
- package/dist/types/src/components/WorkQueueCombobox.vue.d.ts +3 -26
- package/dist/types/src/mocks/index.d.ts +1 -1
- package/dist/types/src/models/DeploymentVersion.d.ts +2 -0
- package/dist/types/src/models/api/DeploymentVersionResponse.d.ts +1 -0
- package/dist/types/src/schemas/components/SchemaFormProperty.vue.d.ts +2 -146
- package/dist/types/src/schemas/components/SchemaFormPropertyMenu.vue.d.ts +2 -26
- package/dist/types/src/services/Mocker.d.ts +1 -1
- package/package.json +4 -4
- package/src/maps/deployment.ts +1 -0
- package/src/maps/flowStatsFilter.ts +2 -2
- package/src/maps/savedSearchFilter.ts +2 -2
- package/src/mocks/deploymentVersion.ts +1 -0
- package/src/models/DeploymentVersion.ts +3 -0
- package/src/models/api/DeploymentVersionResponse.ts +1 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import SchemaFormPropertyMenu from '../../schemas/components/SchemaFormPropertyMenu.vue';
|
|
2
1
|
import { SchemaProperty } from '../../schemas/types/schema';
|
|
3
2
|
import { SchemaValue } from '../../schemas/types/schemaValues';
|
|
4
3
|
import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
|
|
@@ -10,155 +9,12 @@ type __VLS_Props = {
|
|
|
10
9
|
skipDefaultValueInitialization?: boolean;
|
|
11
10
|
propertyForValidation?: SchemaProperty;
|
|
12
11
|
};
|
|
13
|
-
declare const kind: import("vue").ComputedRef<"none" | "json" | "jinja" | "workspace_variable">;
|
|
14
|
-
declare const error: import("vue").ComputedRef<import("../../schemas/utilities/errors").SchemaPropertyError>;
|
|
15
|
-
declare const property: import("vue").ComputedRef<SchemaProperty>, label: import("vue").ComputedRef<string>, description: import("vue").ComputedRef<string>, disabled: import("vue").ComputedRef<boolean>;
|
|
16
|
-
declare const omitted: import("vue").Ref<boolean, boolean>;
|
|
17
|
-
declare const omitLabel: import("vue").ComputedRef<"Include value" | "Omit value">;
|
|
18
|
-
declare const initialized: import("vue").Ref<boolean, boolean>;
|
|
19
|
-
declare const classes: import("vue").ComputedRef<{
|
|
20
|
-
label: {
|
|
21
|
-
'schema-form-property__label--omitted': boolean;
|
|
22
|
-
};
|
|
23
|
-
fields: {
|
|
24
|
-
'schema-form-property__fields--omitted': boolean;
|
|
25
|
-
};
|
|
26
|
-
}>;
|
|
27
|
-
declare const value: import("vue").WritableComputedRef<unknown, unknown>;
|
|
28
|
-
declare const setKind: (to: import("../../schemas/types/schemaValues").PrefectKind) => Promise<void>;
|
|
29
|
-
declare const input: import("vue").ComputedRef<{
|
|
30
|
-
component: import("vue").DefineComponent<{
|
|
31
|
-
property: SchemaProperty;
|
|
32
|
-
value: SchemaValue;
|
|
33
|
-
errors: SchemaValueError[];
|
|
34
|
-
state: import("@prefecthq/prefect-design").State;
|
|
35
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
-
'update:value': (args_0: unknown) => any;
|
|
37
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
38
|
-
property: SchemaProperty;
|
|
39
|
-
value: SchemaValue;
|
|
40
|
-
errors: SchemaValueError[];
|
|
41
|
-
state: import("@prefecthq/prefect-design").State;
|
|
42
|
-
} & {
|
|
43
|
-
"onUpdate:value"?: ((args_0: unknown) => any) | undefined;
|
|
44
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
45
|
-
props: Omit<{
|
|
46
|
-
readonly property: SchemaProperty;
|
|
47
|
-
readonly value: SchemaValue;
|
|
48
|
-
readonly errors: SchemaValueError[];
|
|
49
|
-
readonly state: import("@prefecthq/prefect-design").State;
|
|
50
|
-
readonly "onUpdate:value"?: ((args_0: unknown) => any) | undefined;
|
|
51
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
|
52
|
-
property: SchemaProperty;
|
|
53
|
-
value: SchemaValue;
|
|
54
|
-
errors: SchemaValueError[];
|
|
55
|
-
state: import("@prefecthq/prefect-design").State;
|
|
56
|
-
} & {
|
|
57
|
-
"onUpdate:value"?: ((args_0: unknown) => any) | undefined;
|
|
58
|
-
}>, ""> & Record<string, unknown>;
|
|
59
|
-
} | {
|
|
60
|
-
component: import("vue").DefineComponent<{
|
|
61
|
-
value: import("../../schemas/types/schemaValues").PrefectKindJson;
|
|
62
|
-
errors: SchemaValueError[];
|
|
63
|
-
state: import("@prefecthq/prefect-design").State;
|
|
64
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
65
|
-
'update:value': (args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => any;
|
|
66
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
67
|
-
value: import("../../schemas/types/schemaValues").PrefectKindJson;
|
|
68
|
-
errors: SchemaValueError[];
|
|
69
|
-
state: import("@prefecthq/prefect-design").State;
|
|
70
|
-
} & {
|
|
71
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => any) | undefined;
|
|
72
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
73
|
-
props: Omit<{
|
|
74
|
-
readonly value: import("../../schemas/types/schemaValues").PrefectKindJson;
|
|
75
|
-
readonly errors: SchemaValueError[];
|
|
76
|
-
readonly state: import("@prefecthq/prefect-design").State;
|
|
77
|
-
readonly "onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => any) | undefined;
|
|
78
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
|
79
|
-
value: import("../../schemas/types/schemaValues").PrefectKindJson;
|
|
80
|
-
errors: SchemaValueError[];
|
|
81
|
-
state: import("@prefecthq/prefect-design").State;
|
|
82
|
-
} & {
|
|
83
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => any) | undefined;
|
|
84
|
-
}>, ""> & Record<string, unknown>;
|
|
85
|
-
} | {
|
|
86
|
-
component: import("vue").DefineComponent<{
|
|
87
|
-
value: import("../../schemas/types/schemaValues").PrefectKindJinja;
|
|
88
|
-
errors: SchemaValueError[];
|
|
89
|
-
state: import("@prefecthq/prefect-design").State;
|
|
90
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
91
|
-
'update:value': (args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => any;
|
|
92
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
93
|
-
value: import("../../schemas/types/schemaValues").PrefectKindJinja;
|
|
94
|
-
errors: SchemaValueError[];
|
|
95
|
-
state: import("@prefecthq/prefect-design").State;
|
|
96
|
-
} & {
|
|
97
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => any) | undefined;
|
|
98
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
99
|
-
props: Omit<{
|
|
100
|
-
readonly value: import("../../schemas/types/schemaValues").PrefectKindJinja;
|
|
101
|
-
readonly errors: SchemaValueError[];
|
|
102
|
-
readonly state: import("@prefecthq/prefect-design").State;
|
|
103
|
-
readonly "onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => any) | undefined;
|
|
104
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
|
105
|
-
value: import("../../schemas/types/schemaValues").PrefectKindJinja;
|
|
106
|
-
errors: SchemaValueError[];
|
|
107
|
-
state: import("@prefecthq/prefect-design").State;
|
|
108
|
-
} & {
|
|
109
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => any) | undefined;
|
|
110
|
-
}>, ""> & Record<string, unknown>;
|
|
111
|
-
} | {
|
|
112
|
-
component: import("vue").DefineComponent<{
|
|
113
|
-
value: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable;
|
|
114
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
115
|
-
'update:value': (args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => any;
|
|
116
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
117
|
-
value: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable;
|
|
118
|
-
} & {
|
|
119
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => any) | undefined;
|
|
120
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
121
|
-
props: Omit<{
|
|
122
|
-
readonly value: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable;
|
|
123
|
-
readonly "onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => any) | undefined;
|
|
124
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
|
125
|
-
value: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable;
|
|
126
|
-
} & {
|
|
127
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => any) | undefined;
|
|
128
|
-
}>, ""> & Record<string, unknown>;
|
|
129
|
-
} | {
|
|
130
|
-
component: () => string;
|
|
131
|
-
props?: (Omit<unknown, ""> & Record<string, unknown>) | undefined;
|
|
132
|
-
}>;
|
|
133
|
-
declare function toggleValue(): void;
|
|
134
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
135
12
|
declare var __VLS_21: {
|
|
136
13
|
kind: "none" | "json" | "jinja" | "workspace_variable";
|
|
137
14
|
};
|
|
138
|
-
type __VLS_Slots =
|
|
15
|
+
type __VLS_Slots = {} & {
|
|
139
16
|
default?: (props: typeof __VLS_21) => any;
|
|
140
|
-
}
|
|
141
|
-
declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
|
|
142
|
-
SchemaFormPropertyMenu: typeof SchemaFormPropertyMenu;
|
|
143
|
-
kind: typeof kind;
|
|
144
|
-
error: typeof error;
|
|
145
|
-
property: typeof property;
|
|
146
|
-
label: typeof label;
|
|
147
|
-
description: typeof description;
|
|
148
|
-
disabled: typeof disabled;
|
|
149
|
-
omitted: typeof omitted;
|
|
150
|
-
omitLabel: typeof omitLabel;
|
|
151
|
-
initialized: typeof initialized;
|
|
152
|
-
classes: typeof classes;
|
|
153
|
-
value: typeof value;
|
|
154
|
-
setKind: typeof setKind;
|
|
155
|
-
input: typeof input;
|
|
156
|
-
toggleValue: typeof toggleValue;
|
|
157
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
158
|
-
'update:value': (args_0: unknown) => any;
|
|
159
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props & {
|
|
160
|
-
"onUpdate:value"?: ((args_0: unknown) => any) | undefined;
|
|
161
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
17
|
+
};
|
|
162
18
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
163
19
|
'update:value': (args_0: unknown) => any;
|
|
164
20
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props & {
|
|
@@ -1,41 +1,17 @@
|
|
|
1
1
|
import { SchemaProperty } from '../../schemas/types/schema';
|
|
2
2
|
import { SchemaValue, PrefectKind } from '../../schemas/types/schemaValues';
|
|
3
|
-
declare const kind: import("vue").ModelRef<"none" | "json" | "jinja" | "workspace_variable", string, "none" | "json" | "jinja" | "workspace_variable", "none" | "json" | "jinja" | "workspace_variable">;
|
|
4
3
|
type __VLS_Props = {
|
|
5
4
|
property: SchemaProperty;
|
|
6
5
|
disabled?: boolean;
|
|
7
6
|
};
|
|
8
|
-
declare const showMenu: import("vue").ComputedRef<number | import("vue").Slot<any> | undefined>;
|
|
9
|
-
declare const showNone: import("vue").ComputedRef<boolean>;
|
|
10
|
-
declare const showUseDefault: import("vue").ComputedRef<boolean>;
|
|
11
|
-
declare function showKind(value: PrefectKind): boolean;
|
|
12
|
-
declare function setDefaultValue(): void;
|
|
13
7
|
type __VLS_PublicProps = __VLS_Props & {
|
|
14
8
|
'kind': PrefectKind;
|
|
15
9
|
'value': SchemaValue;
|
|
16
10
|
};
|
|
17
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
18
11
|
declare var __VLS_50: {};
|
|
19
|
-
type __VLS_Slots =
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
20
13
|
default?: (props: typeof __VLS_50) => any;
|
|
21
|
-
}
|
|
22
|
-
declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
23
|
-
kind: typeof kind;
|
|
24
|
-
showMenu: typeof showMenu;
|
|
25
|
-
showNone: typeof showNone;
|
|
26
|
-
showUseDefault: typeof showUseDefault;
|
|
27
|
-
showKind: typeof showKind;
|
|
28
|
-
setDefaultValue: typeof setDefaultValue;
|
|
29
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
-
'update:kind': (value: "none" | "json" | "jinja" | "workspace_variable") => any;
|
|
31
|
-
'update:value': (value: unknown) => any;
|
|
32
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props & {
|
|
33
|
-
kind: PrefectKind;
|
|
34
|
-
value: SchemaValue;
|
|
35
|
-
} & {
|
|
36
|
-
"onUpdate:kind"?: ((value: "none" | "json" | "jinja" | "workspace_variable") => any) | undefined;
|
|
37
|
-
"onUpdate:value"?: ((value: unknown) => any) | undefined;
|
|
38
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
|
14
|
+
};
|
|
39
15
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
16
|
'update:kind': (value: "none" | "json" | "jinja" | "workspace_variable") => any;
|
|
41
17
|
'update:value': (value: unknown) => any;
|
|
@@ -77,7 +77,7 @@ export declare const mocker: Mocker<{
|
|
|
77
77
|
parameters: MockFunction<Record<string, unknown>, [(Record<string, unknown> | undefined)?, (import("..").Schema | undefined)?]>;
|
|
78
78
|
runName: MockFunction<string, []>;
|
|
79
79
|
schedule: MockFunction<import("..").Schedule, [({
|
|
80
|
-
type?: "interval" | "
|
|
80
|
+
type?: "interval" | "rrule" | "cron";
|
|
81
81
|
} | undefined)?, (Partial<import("..").Schedule> | undefined)?]>;
|
|
82
82
|
schema: MockFunction<import("..").Schema, [(import("..").Schema | undefined)?]>;
|
|
83
83
|
schemaProperties: MockFunction<import("..").SchemaProperties, [(import("..").SchemaProperties | undefined)?]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prefecthq/prefect-ui-library",
|
|
3
|
-
"version": "3.12.
|
|
3
|
+
"version": "3.12.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@types/lodash.debounce": "4.0.9",
|
|
58
58
|
"@types/lodash.isequal": "^4.5.8",
|
|
59
59
|
"@types/lodash.merge": "4.6.9",
|
|
60
|
-
"@types/node": "^22.
|
|
60
|
+
"@types/node": "^22.15.3",
|
|
61
61
|
"@types/prismjs": "^1.26.5",
|
|
62
62
|
"@vitejs/plugin-vue": "5.2.3",
|
|
63
63
|
"auto-changelog": "^2.5.0",
|
|
@@ -69,10 +69,10 @@
|
|
|
69
69
|
"tailwindcss": "3.4.17",
|
|
70
70
|
"tsc-alias": "1.8.15",
|
|
71
71
|
"typescript": "5.8.3",
|
|
72
|
-
"vite": "6.3.
|
|
72
|
+
"vite": "6.3.3",
|
|
73
73
|
"vite-svg-loader": "^5.1.0",
|
|
74
74
|
"vitest": "^3.1.2",
|
|
75
|
-
"vue-tsc": "^2.2.
|
|
75
|
+
"vue-tsc": "^2.2.10"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"@prefecthq/prefect-design": "^2.14.18",
|
package/src/maps/deployment.ts
CHANGED
|
@@ -124,6 +124,7 @@ export const mapDeploymentVersionResponseToDeploymentVersion: MapFunction<Deploy
|
|
|
124
124
|
createdBy: this.map('CreatedOrUpdatedByResponse', source.created_by, 'CreatedOrUpdatedBy'),
|
|
125
125
|
updated: this.map('string', source.updated, 'Date'),
|
|
126
126
|
updatedBy: this.map('CreatedOrUpdatedByResponse', source.updated_by, 'CreatedOrUpdatedBy'),
|
|
127
|
+
lastActive: this.map('string', source.last_active, 'Date'),
|
|
127
128
|
name: source.name,
|
|
128
129
|
deploymentId: source.deployment_id,
|
|
129
130
|
description: source.description,
|
|
@@ -12,8 +12,8 @@ export const mapFlowStatsFilterToFlowRunsFilter: MapFunction<FlowStatsFilter, Fl
|
|
|
12
12
|
id: [source.flowId],
|
|
13
13
|
},
|
|
14
14
|
flowRuns: {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
startTimeAfter: startDate,
|
|
16
|
+
startTimeBefore: endDate,
|
|
17
17
|
},
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -27,8 +27,8 @@ export const mapSavedSearchFilterToFlowRunsFilter: MapFunction<SavedSearchFilter
|
|
|
27
27
|
state: {
|
|
28
28
|
name: stateNames,
|
|
29
29
|
},
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
startTimeAfter: startDate,
|
|
31
|
+
startTimeBefore: endDate,
|
|
32
32
|
},
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -11,6 +11,7 @@ export const randomDeploymentVersion: MockFunction<DeploymentVersion, [Partial<D
|
|
|
11
11
|
createdBy: this.create('createdOrUpdatedBy'),
|
|
12
12
|
updated: this.create('date'),
|
|
13
13
|
updatedBy: this.create('createdOrUpdatedBy'),
|
|
14
|
+
lastActive: this.create('date'),
|
|
14
15
|
name: this.create('noun'),
|
|
15
16
|
versionInfo: {
|
|
16
17
|
type: 'vcs:github' as const,
|
|
@@ -8,6 +8,7 @@ export type IDeploymentVersion = {
|
|
|
8
8
|
createdBy: CreatedOrUpdatedBy | null,
|
|
9
9
|
updated: Date,
|
|
10
10
|
updatedBy: CreatedOrUpdatedBy | null,
|
|
11
|
+
lastActive: Date | null,
|
|
11
12
|
name: string,
|
|
12
13
|
deploymentId: string,
|
|
13
14
|
description: string | null,
|
|
@@ -32,6 +33,7 @@ export class DeploymentVersion implements IDeploymentVersion {
|
|
|
32
33
|
public readonly createdBy: CreatedOrUpdatedBy | null
|
|
33
34
|
public readonly updated: Date
|
|
34
35
|
public readonly updatedBy: CreatedOrUpdatedBy | null
|
|
36
|
+
public readonly lastActive: Date | null
|
|
35
37
|
public readonly name: string
|
|
36
38
|
public readonly description: string | null
|
|
37
39
|
public readonly versionInfo: DeploymentVersionInfo
|
|
@@ -53,6 +55,7 @@ export class DeploymentVersion implements IDeploymentVersion {
|
|
|
53
55
|
this.createdBy = deploymentVersion.createdBy
|
|
54
56
|
this.updated = deploymentVersion.updated
|
|
55
57
|
this.updatedBy = deploymentVersion.updatedBy
|
|
58
|
+
this.lastActive = deploymentVersion.lastActive
|
|
56
59
|
this.name = deploymentVersion.name
|
|
57
60
|
this.description = deploymentVersion.description
|
|
58
61
|
this.versionInfo = deploymentVersion.versionInfo
|
|
@@ -18,6 +18,7 @@ export type DeploymentVersionResponse = {
|
|
|
18
18
|
created_by: CreatedOrUpdatedByResponse | null,
|
|
19
19
|
updated: DateString,
|
|
20
20
|
updated_by: CreatedOrUpdatedByResponse | null,
|
|
21
|
+
last_active: DateString | null,
|
|
21
22
|
name: string,
|
|
22
23
|
deployment_id: string,
|
|
23
24
|
description: string | null,
|