@prefecthq/prefect-ui-library 3.8.2 → 3.8.3
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-BXhdSkcE.mjs → RunsPageWithDefaultFilter-B6c-szkG.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-BXhdSkcE.mjs.map → RunsPageWithDefaultFilter-B6c-szkG.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-DGMAM8K1.mjs → WorkQueueToWorkPoolQueueRedirect-CNAP0jvn.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-DGMAM8K1.mjs.map → WorkQueueToWorkPoolQueueRedirect-CNAP0jvn.mjs.map} +1 -1
- package/dist/{index-Z4cJ40gp.mjs → index-DSDRh9tw.mjs} +2126 -2132
- package/dist/index-DSDRh9tw.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +18 -18
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/automations/components/AutomationCombobox.vue.d.ts +22 -17
- package/dist/types/src/automations/components/AutomationMenu.vue.d.ts +12 -7
- package/dist/types/src/automations/components/AutomationWithinInput.vue.d.ts +14 -9
- package/dist/types/src/components/ActivityChart.vue.d.ts +0 -1
- package/dist/types/src/components/ArtifactCard.vue.d.ts +15 -10
- package/dist/types/src/components/ArtifactMenu.vue.d.ts +5 -5
- package/dist/types/src/components/BlockDocument.vue.d.ts +14 -9
- package/dist/types/src/components/BlockDocumentCombobox.vue.d.ts +12 -7
- package/dist/types/src/components/BlockDocumentMenu.vue.d.ts +5 -5
- package/dist/types/src/components/BlockTypeCardLayout.vue.d.ts +12 -7
- package/dist/types/src/components/BlockTypeCardPreview.vue.d.ts +12 -7
- package/dist/types/src/components/CodeBanner.vue.d.ts +13 -8
- package/dist/types/src/components/CollectionItemCard.vue.d.ts +12 -7
- package/dist/types/src/components/ConcurrencyLimitResetModal.vue.d.ts +12 -7
- package/dist/types/src/components/ConcurrencyLimitV2ResetModal.vue.d.ts +12 -7
- package/dist/types/src/components/ConcurrencyLimitsCreateModal.vue.d.ts +12 -7
- package/dist/types/src/components/ConcurrencyLimitsV2CreateModal.vue.d.ts +12 -7
- package/dist/types/src/components/ConcurrencyLimitsV2UpdateModal.vue.d.ts +12 -7
- package/dist/types/src/components/ConfirmDeleteModal.vue.d.ts +18 -13
- package/dist/types/src/components/ConfirmStateChangeModal.vue.d.ts +17 -12
- package/dist/types/src/components/CopyableWrapper.vue.d.ts +12 -7
- package/dist/types/src/components/CronScheduleForm.vue.d.ts +18 -13
- package/dist/types/src/components/DashboardWorkPoolCardDetail.vue.d.ts +12 -7
- package/dist/types/src/components/DateInput.vue.d.ts +12 -7
- package/dist/types/src/components/DateRangeInput.vue.d.ts +12 -7
- package/dist/types/src/components/DateRangeSelect.vue.d.ts +12 -7
- package/dist/types/src/components/DeploymentCombobox.vue.d.ts +22 -17
- package/dist/types/src/components/DeploymentCustomRunOverflowMenuItem.vue.d.ts +12 -7
- package/dist/types/src/components/DeploymentDetails.vue.d.ts +12 -7
- package/dist/types/src/components/DeploymentForm.vue.d.ts +4 -4
- package/dist/types/src/components/DeploymentMenu.vue.d.ts +5 -5
- package/dist/types/src/components/DeploymentQuickRunOverflowMenuItem.vue.d.ts +12 -7
- package/dist/types/src/components/DeploymentsPageEmptyState.vue.d.ts +7 -2
- package/dist/types/src/components/DocumentationButton.vue.d.ts +12 -7
- package/dist/types/src/components/ExtraInfoModal.vue.d.ts +5 -5
- package/dist/types/src/components/ExtraInfoTooltip.vue.d.ts +12 -7
- package/dist/types/src/components/FlowCombobox.vue.d.ts +22 -17
- package/dist/types/src/components/FlowMenu.vue.d.ts +5 -5
- package/dist/types/src/components/FlowPopover.vue.d.ts +17 -12
- package/dist/types/src/components/FlowRouterLink.vue.d.ts +14 -9
- package/dist/types/src/components/FlowRunArtifacts.vue.d.ts +12 -7
- package/dist/types/src/components/FlowRunFilteredList.vue.d.ts +12 -7
- package/dist/types/src/components/FlowRunGraphPopover.vue.d.ts +147 -7
- package/dist/types/src/components/FlowRunListItem.vue.d.ts +16 -9
- package/dist/types/src/components/FlowRunMenu.vue.d.ts +14 -9
- package/dist/types/src/components/FlowRunsPageEmptyState.vue.d.ts +7 -2
- package/dist/types/src/components/FlowsPageEmptyState.vue.d.ts +7 -2
- package/dist/types/src/components/FormattedDate.vue.d.ts +15 -10
- package/dist/types/src/components/IconTextCount.vue.d.ts +16 -11
- package/dist/types/src/components/IntervalScheduleForm.vue.d.ts +18 -13
- package/dist/types/src/components/LogoImage.vue.d.ts +4 -4
- package/dist/types/src/components/LogsContainer.vue.d.ts +12 -7
- package/dist/types/src/components/MarketingBanner.vue.d.ts +13 -8
- package/dist/types/src/components/PageHeading.vue.d.ts +18 -13
- package/dist/types/src/components/PageHeadingFlowRunCreate.vue.d.ts +12 -7
- package/dist/types/src/components/QuickRunParametersModal.vue.d.ts +12 -7
- package/dist/types/src/components/ResourceLink.vue.d.ts +17 -12
- package/dist/types/src/components/ResultsCount.vue.d.ts +4 -4
- package/dist/types/src/components/RowGridLayoutList.vue.d.ts +15 -10
- package/dist/types/src/components/SaveFilterModal.vue.d.ts +12 -7
- package/dist/types/src/components/ScheduleFormModal.vue.d.ts +5 -5
- package/dist/types/src/components/SchemaInput.vue.d.ts +14 -9
- package/dist/types/src/components/SearchInput.vue.d.ts +4 -4
- package/dist/types/src/components/SelectedCount.vue.d.ts +4 -4
- package/dist/types/src/components/SeparatedList.vue.d.ts +17 -12
- package/dist/types/src/components/StateIcon.vue.d.ts +4 -4
- package/dist/types/src/components/StateListItem.vue.d.ts +17 -12
- package/dist/types/src/components/SubmitButton.vue.d.ts +4 -4
- package/dist/types/src/components/TaskRunArtifacts.vue.d.ts +12 -7
- package/dist/types/src/components/TimezoneSelect.vue.d.ts +12 -7
- package/dist/types/src/components/UseDeploymentSlot.vue.d.ts +14 -9
- package/dist/types/src/components/UseFlowSlot.vue.d.ts +14 -9
- package/dist/types/src/components/WorkPoolCombobox.vue.d.ts +22 -17
- package/dist/types/src/components/WorkPoolMenu.vue.d.ts +5 -5
- package/dist/types/src/components/WorkPoolQueueCombobox.vue.d.ts +22 -17
- package/dist/types/src/components/WorkPoolQueueMenu.vue.d.ts +5 -5
- package/dist/types/src/components/WorkQueueCombobox.vue.d.ts +22 -17
- package/dist/types/src/schemas/components/SchemaForm.vue.d.ts +27 -22
- package/dist/types/src/schemas/components/SchemaFormProperty.vue.d.ts +14 -9
- package/dist/types/src/schemas/components/SchemaFormPropertyMenu.vue.d.ts +12 -7
- package/dist/types/src/schemas/components/SchemaInput.vue.d.ts +21 -16
- package/dist/types/src/schemas/compositions/useSchemaPropertyInput.d.ts +68 -242
- package/dist/types/src/services/WorkspaceFlowRunsApi.d.ts +5 -1
- package/dist/types/src/services/can.d.ts +1 -1
- package/dist/types/src/services/schemas/properties/SchemaPropertyService.d.ts +5 -5
- package/dist/types/src/services/schemas/utilities.d.ts +3 -3
- package/dist/types/src/utilities/components.d.ts +8 -12
- package/package.json +6 -6
- package/src/components/FlowRunGraph.vue +1 -3
- package/src/schemas/components/SchemaFormPropertyUnknown.vue +2 -2
- package/src/schemas/compositions/useSchemaPropertyInput.ts +1 -1
- package/src/services/WorkspaceFlowRunsApi.ts +5 -1
- package/src/services/can.ts +1 -4
- package/src/services/schemas/properties/SchemaPropertyService.ts +2 -2
- package/src/utilities/components.ts +18 -12
- package/dist/index-Z4cJ40gp.mjs.map +0 -1
|
@@ -4,78 +4,7 @@ import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResp
|
|
|
4
4
|
import { SchemaValue } from '../../types';
|
|
5
5
|
export declare function useSchemaPropertyInput(schemaProperty: MaybeRefOrGetter<SchemaProperty>, propertyValue: Ref<SchemaValue>, propertyErrors: MaybeRefOrGetter<SchemaValueError[]>): {
|
|
6
6
|
input: import("vue").ComputedRef<{
|
|
7
|
-
component: {
|
|
8
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
property: {
|
|
10
|
-
type: import("vue").PropType<SchemaProperty>;
|
|
11
|
-
required: true;
|
|
12
|
-
};
|
|
13
|
-
value: {
|
|
14
|
-
type: import("vue").PropType<unknown>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
errors: {
|
|
18
|
-
type: import("vue").PropType<SchemaValueError[]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
state: {
|
|
22
|
-
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
}>> & {
|
|
26
|
-
"onUpdate:value"?: ((args_0: unknown) => any) | undefined;
|
|
27
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
"update:value": (args_0: unknown) => void;
|
|
29
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
property: {
|
|
31
|
-
type: import("vue").PropType<SchemaProperty>;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
value: {
|
|
35
|
-
type: import("vue").PropType<unknown>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
errors: {
|
|
39
|
-
type: import("vue").PropType<SchemaValueError[]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
state: {
|
|
43
|
-
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
44
|
-
required: true;
|
|
45
|
-
};
|
|
46
|
-
}>> & {
|
|
47
|
-
"onUpdate:value"?: ((args_0: unknown) => any) | undefined;
|
|
48
|
-
}, {}, true, {}, {}, {
|
|
49
|
-
P: {};
|
|
50
|
-
B: {};
|
|
51
|
-
D: {};
|
|
52
|
-
C: {};
|
|
53
|
-
M: {};
|
|
54
|
-
Defaults: {};
|
|
55
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
-
property: {
|
|
57
|
-
type: import("vue").PropType<SchemaProperty>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
value: {
|
|
61
|
-
type: import("vue").PropType<unknown>;
|
|
62
|
-
required: true;
|
|
63
|
-
};
|
|
64
|
-
errors: {
|
|
65
|
-
type: import("vue").PropType<SchemaValueError[]>;
|
|
66
|
-
required: true;
|
|
67
|
-
};
|
|
68
|
-
state: {
|
|
69
|
-
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
70
|
-
required: true;
|
|
71
|
-
};
|
|
72
|
-
}>> & {
|
|
73
|
-
"onUpdate:value"?: ((args_0: unknown) => any) | undefined;
|
|
74
|
-
}, {}, {}, {}, {}, {}>;
|
|
75
|
-
__isFragment?: never;
|
|
76
|
-
__isTeleport?: never;
|
|
77
|
-
__isSuspense?: never;
|
|
78
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
component: import("vue").DefineComponent<{
|
|
79
8
|
property: {
|
|
80
9
|
type: import("vue").PropType<SchemaProperty>;
|
|
81
10
|
required: true;
|
|
@@ -92,11 +21,28 @@ export declare function useSchemaPropertyInput(schemaProperty: MaybeRefOrGetter<
|
|
|
92
21
|
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
93
22
|
required: true;
|
|
94
23
|
};
|
|
95
|
-
}>> & {
|
|
96
|
-
"onUpdate:value"?: ((args_0: unknown) => any) | undefined;
|
|
97
24
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
98
25
|
"update:value": (args_0: unknown) => void;
|
|
99
|
-
}, string,
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
property: {
|
|
28
|
+
type: import("vue").PropType<SchemaProperty>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
value: {
|
|
32
|
+
type: import("vue").PropType<unknown>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
errors: {
|
|
36
|
+
type: import("vue").PropType<SchemaValueError[]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
state: {
|
|
40
|
+
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
}>> & {
|
|
44
|
+
"onUpdate:value"?: ((args_0: unknown) => any) | undefined;
|
|
45
|
+
}, {}, {}>;
|
|
100
46
|
props: Omit<Partial<{}> & Omit<{
|
|
101
47
|
readonly value: import("../../schemas/types/schemaValues").SchemaValue;
|
|
102
48
|
readonly state: import("@prefecthq/prefect-design").State;
|
|
@@ -124,66 +70,7 @@ export declare function useSchemaPropertyInput(schemaProperty: MaybeRefOrGetter<
|
|
|
124
70
|
"onUpdate:value"?: ((args_0: unknown) => any) | undefined;
|
|
125
71
|
}, never>, ""> & Record<string, unknown>;
|
|
126
72
|
} | {
|
|
127
|
-
component: {
|
|
128
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
-
value: {
|
|
130
|
-
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindJson>;
|
|
131
|
-
required: true;
|
|
132
|
-
};
|
|
133
|
-
errors: {
|
|
134
|
-
type: import("vue").PropType<SchemaValueError[]>;
|
|
135
|
-
required: true;
|
|
136
|
-
};
|
|
137
|
-
state: {
|
|
138
|
-
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
139
|
-
required: true;
|
|
140
|
-
};
|
|
141
|
-
}>> & {
|
|
142
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => any) | undefined;
|
|
143
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
144
|
-
"update:value": (args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => void;
|
|
145
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
146
|
-
value: {
|
|
147
|
-
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindJson>;
|
|
148
|
-
required: true;
|
|
149
|
-
};
|
|
150
|
-
errors: {
|
|
151
|
-
type: import("vue").PropType<SchemaValueError[]>;
|
|
152
|
-
required: true;
|
|
153
|
-
};
|
|
154
|
-
state: {
|
|
155
|
-
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
156
|
-
required: true;
|
|
157
|
-
};
|
|
158
|
-
}>> & {
|
|
159
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => any) | undefined;
|
|
160
|
-
}, {}, true, {}, {}, {
|
|
161
|
-
P: {};
|
|
162
|
-
B: {};
|
|
163
|
-
D: {};
|
|
164
|
-
C: {};
|
|
165
|
-
M: {};
|
|
166
|
-
Defaults: {};
|
|
167
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
168
|
-
value: {
|
|
169
|
-
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindJson>;
|
|
170
|
-
required: true;
|
|
171
|
-
};
|
|
172
|
-
errors: {
|
|
173
|
-
type: import("vue").PropType<SchemaValueError[]>;
|
|
174
|
-
required: true;
|
|
175
|
-
};
|
|
176
|
-
state: {
|
|
177
|
-
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
178
|
-
required: true;
|
|
179
|
-
};
|
|
180
|
-
}>> & {
|
|
181
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => any) | undefined;
|
|
182
|
-
}, {}, {}, {}, {}, {}>;
|
|
183
|
-
__isFragment?: never;
|
|
184
|
-
__isTeleport?: never;
|
|
185
|
-
__isSuspense?: never;
|
|
186
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
73
|
+
component: import("vue").DefineComponent<{
|
|
187
74
|
value: {
|
|
188
75
|
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindJson>;
|
|
189
76
|
required: true;
|
|
@@ -196,11 +83,24 @@ export declare function useSchemaPropertyInput(schemaProperty: MaybeRefOrGetter<
|
|
|
196
83
|
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
197
84
|
required: true;
|
|
198
85
|
};
|
|
199
|
-
}>> & {
|
|
200
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => any) | undefined;
|
|
201
86
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
202
87
|
"update:value": (args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => void;
|
|
203
|
-
}, string,
|
|
88
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
|
+
value: {
|
|
90
|
+
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindJson>;
|
|
91
|
+
required: true;
|
|
92
|
+
};
|
|
93
|
+
errors: {
|
|
94
|
+
type: import("vue").PropType<SchemaValueError[]>;
|
|
95
|
+
required: true;
|
|
96
|
+
};
|
|
97
|
+
state: {
|
|
98
|
+
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
99
|
+
required: true;
|
|
100
|
+
};
|
|
101
|
+
}>> & {
|
|
102
|
+
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => any) | undefined;
|
|
103
|
+
}, {}, {}>;
|
|
204
104
|
props: Omit<Partial<{}> & Omit<{
|
|
205
105
|
readonly value: import("../../schemas/types/schemaValues").PrefectKindJson;
|
|
206
106
|
readonly state: import("@prefecthq/prefect-design").State;
|
|
@@ -223,66 +123,7 @@ export declare function useSchemaPropertyInput(schemaProperty: MaybeRefOrGetter<
|
|
|
223
123
|
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJson) => any) | undefined;
|
|
224
124
|
}, never>, ""> & Record<string, unknown>;
|
|
225
125
|
} | {
|
|
226
|
-
component: {
|
|
227
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
228
|
-
value: {
|
|
229
|
-
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindJinja>;
|
|
230
|
-
required: true;
|
|
231
|
-
};
|
|
232
|
-
errors: {
|
|
233
|
-
type: import("vue").PropType<SchemaValueError[]>;
|
|
234
|
-
required: true;
|
|
235
|
-
};
|
|
236
|
-
state: {
|
|
237
|
-
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
238
|
-
required: true;
|
|
239
|
-
};
|
|
240
|
-
}>> & {
|
|
241
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => any) | undefined;
|
|
242
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
243
|
-
"update:value": (args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => void;
|
|
244
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
245
|
-
value: {
|
|
246
|
-
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindJinja>;
|
|
247
|
-
required: true;
|
|
248
|
-
};
|
|
249
|
-
errors: {
|
|
250
|
-
type: import("vue").PropType<SchemaValueError[]>;
|
|
251
|
-
required: true;
|
|
252
|
-
};
|
|
253
|
-
state: {
|
|
254
|
-
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
255
|
-
required: true;
|
|
256
|
-
};
|
|
257
|
-
}>> & {
|
|
258
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => any) | undefined;
|
|
259
|
-
}, {}, true, {}, {}, {
|
|
260
|
-
P: {};
|
|
261
|
-
B: {};
|
|
262
|
-
D: {};
|
|
263
|
-
C: {};
|
|
264
|
-
M: {};
|
|
265
|
-
Defaults: {};
|
|
266
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
267
|
-
value: {
|
|
268
|
-
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindJinja>;
|
|
269
|
-
required: true;
|
|
270
|
-
};
|
|
271
|
-
errors: {
|
|
272
|
-
type: import("vue").PropType<SchemaValueError[]>;
|
|
273
|
-
required: true;
|
|
274
|
-
};
|
|
275
|
-
state: {
|
|
276
|
-
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
277
|
-
required: true;
|
|
278
|
-
};
|
|
279
|
-
}>> & {
|
|
280
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => any) | undefined;
|
|
281
|
-
}, {}, {}, {}, {}, {}>;
|
|
282
|
-
__isFragment?: never;
|
|
283
|
-
__isTeleport?: never;
|
|
284
|
-
__isSuspense?: never;
|
|
285
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
126
|
+
component: import("vue").DefineComponent<{
|
|
286
127
|
value: {
|
|
287
128
|
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindJinja>;
|
|
288
129
|
required: true;
|
|
@@ -295,11 +136,24 @@ export declare function useSchemaPropertyInput(schemaProperty: MaybeRefOrGetter<
|
|
|
295
136
|
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
296
137
|
required: true;
|
|
297
138
|
};
|
|
298
|
-
}>> & {
|
|
299
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => any) | undefined;
|
|
300
139
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
301
140
|
"update:value": (args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => void;
|
|
302
|
-
}, string,
|
|
141
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
142
|
+
value: {
|
|
143
|
+
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindJinja>;
|
|
144
|
+
required: true;
|
|
145
|
+
};
|
|
146
|
+
errors: {
|
|
147
|
+
type: import("vue").PropType<SchemaValueError[]>;
|
|
148
|
+
required: true;
|
|
149
|
+
};
|
|
150
|
+
state: {
|
|
151
|
+
type: import("vue").PropType<import("@prefecthq/prefect-design").State>;
|
|
152
|
+
required: true;
|
|
153
|
+
};
|
|
154
|
+
}>> & {
|
|
155
|
+
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => any) | undefined;
|
|
156
|
+
}, {}, {}>;
|
|
303
157
|
props: Omit<Partial<{}> & Omit<{
|
|
304
158
|
readonly value: import("../../schemas/types/schemaValues").PrefectKindJinja;
|
|
305
159
|
readonly state: import("@prefecthq/prefect-design").State;
|
|
@@ -322,51 +176,21 @@ export declare function useSchemaPropertyInput(schemaProperty: MaybeRefOrGetter<
|
|
|
322
176
|
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindJinja) => any) | undefined;
|
|
323
177
|
}, never>, ""> & Record<string, unknown>;
|
|
324
178
|
} | {
|
|
325
|
-
component: {
|
|
326
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
327
|
-
value: {
|
|
328
|
-
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable>;
|
|
329
|
-
required: true;
|
|
330
|
-
};
|
|
331
|
-
}>> & {
|
|
332
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => any) | undefined;
|
|
333
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
334
|
-
"update:value": (args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => void;
|
|
335
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
336
|
-
value: {
|
|
337
|
-
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable>;
|
|
338
|
-
required: true;
|
|
339
|
-
};
|
|
340
|
-
}>> & {
|
|
341
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => any) | undefined;
|
|
342
|
-
}, {}, true, {}, {}, {
|
|
343
|
-
P: {};
|
|
344
|
-
B: {};
|
|
345
|
-
D: {};
|
|
346
|
-
C: {};
|
|
347
|
-
M: {};
|
|
348
|
-
Defaults: {};
|
|
349
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
350
|
-
value: {
|
|
351
|
-
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable>;
|
|
352
|
-
required: true;
|
|
353
|
-
};
|
|
354
|
-
}>> & {
|
|
355
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => any) | undefined;
|
|
356
|
-
}, {}, {}, {}, {}, {}>;
|
|
357
|
-
__isFragment?: never;
|
|
358
|
-
__isTeleport?: never;
|
|
359
|
-
__isSuspense?: never;
|
|
360
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
179
|
+
component: import("vue").DefineComponent<{
|
|
361
180
|
value: {
|
|
362
181
|
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable>;
|
|
363
182
|
required: true;
|
|
364
183
|
};
|
|
365
|
-
}>> & {
|
|
366
|
-
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => any) | undefined;
|
|
367
184
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
368
185
|
"update:value": (args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => void;
|
|
369
|
-
}, string,
|
|
186
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
187
|
+
value: {
|
|
188
|
+
type: import("vue").PropType<import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable>;
|
|
189
|
+
required: true;
|
|
190
|
+
};
|
|
191
|
+
}>> & {
|
|
192
|
+
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => any) | undefined;
|
|
193
|
+
}, {}, {}>;
|
|
370
194
|
props: Omit<Partial<{}> & Omit<{
|
|
371
195
|
readonly value: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable;
|
|
372
196
|
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => any) | undefined;
|
|
@@ -379,7 +203,9 @@ export declare function useSchemaPropertyInput(schemaProperty: MaybeRefOrGetter<
|
|
|
379
203
|
"onUpdate:value"?: ((args_0: import("../../schemas/types/schemaValues").PrefectKindWorkspaceVariable) => any) | undefined;
|
|
380
204
|
}, never>, ""> & Record<string, unknown>;
|
|
381
205
|
} | {
|
|
382
|
-
component:
|
|
383
|
-
|
|
206
|
+
component: () => {
|
|
207
|
+
template: string;
|
|
208
|
+
};
|
|
209
|
+
props?: (Omit<unknown, ""> & Record<string, unknown>) | undefined;
|
|
384
210
|
}>;
|
|
385
211
|
};
|
|
@@ -9,6 +9,9 @@ import { RunHistory } from '../models/RunHistory';
|
|
|
9
9
|
import { SchemaV2, SchemaValuesV2 } from '../schemas';
|
|
10
10
|
import { WorkspaceApi } from '../services/WorkspaceApi';
|
|
11
11
|
import { Schema, SchemaValues } from '../types/schemas';
|
|
12
|
+
type GetFlowRunGraphOptions = {
|
|
13
|
+
nestedTaskRunGraphs: boolean;
|
|
14
|
+
};
|
|
12
15
|
export declare class WorkspaceFlowRunsApi extends WorkspaceApi {
|
|
13
16
|
protected routePrefix: string;
|
|
14
17
|
private readonly batcher;
|
|
@@ -18,7 +21,7 @@ export declare class WorkspaceFlowRunsApi extends WorkspaceApi {
|
|
|
18
21
|
getFlowRunsCount(filter?: FlowRunsFilter): Promise<number>;
|
|
19
22
|
getFlowRunsHistory(filter: FlowRunsHistoryFilter): Promise<RunHistory[]>;
|
|
20
23
|
getFlowRunsAverageLateness(filter: FlowRunsFilter): Promise<number | null>;
|
|
21
|
-
getFlowRunsGraph(id: string, nestedTaskRunGraphs:
|
|
24
|
+
getFlowRunsGraph(id: string, { nestedTaskRunGraphs }: GetFlowRunGraphOptions): Promise<RunGraphData>;
|
|
22
25
|
getFlowRunInputDescription(id: string, keyset: FlowRunInputKeyset | undefined): Promise<string | null>;
|
|
23
26
|
getFlowRunInputSchema(id: string, keyset: FlowRunInputKeyset): Promise<Schema>;
|
|
24
27
|
getFlowRunInputSchemaV2(id: string, keyset: FlowRunInputKeyset): Promise<SchemaV2>;
|
|
@@ -29,3 +32,4 @@ export declare class WorkspaceFlowRunsApi extends WorkspaceApi {
|
|
|
29
32
|
deleteFlowRun(flowRunId: string): Promise<void>;
|
|
30
33
|
downloadFlowRunLogs(flowRunId: string, flowRunName: string | null): Promise<void>;
|
|
31
34
|
}
|
|
35
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectionKey } from 'vue';
|
|
2
2
|
import { MaybeRef } from '../types/reactivity';
|
|
3
|
-
export declare const workspaceFeatureFlags: readonly ["access:deploymentScheduleFlowRunInfraOverrides"
|
|
3
|
+
export declare const workspaceFeatureFlags: readonly ["access:deploymentScheduleFlowRunInfraOverrides"];
|
|
4
4
|
export type WorkspaceFeatureFlag = typeof workspaceFeatureFlags[number];
|
|
5
5
|
export declare const workspacePermissions: readonly ["create:artifact", "create:automation", "create:block", "create:concurrency_limit", "create:deployment", "create:flow_run", "create:flow", "create:log", "create:notification_policy", "create:saved_search", "create:task_run", "create:variable", "create:work_queue", "create:work_pool_queue", "create:work_pool", "create:workspace_bot_access", "create:workspace_user_access", "delete:artifact", "delete:automation", "delete:block", "delete:concurrency_limit", "delete:deployment", "delete:flow_run", "delete:flow", "delete:notification_policy", "delete:saved_search", "delete:task_run", "delete:work_queue", "delete:work_pool_queue", "delete:work_pool", "delete:workspace_bot_access", "delete:workspace_user_access", "delete:variable", "read:artifact", "read:automation", "read:block", "read:concurrency_limit", "read:deployment", "read:flow_run", "read:flow", "read:log", "read:notification_policy", "read:saved_search", "read:task_run", "read:variable", "read:work_queue", "read:work_pool_queue", "read:work_pool", "read:workspace_bot_access", "read:workspace_settings", "read:workspace_user_access", "run:deployment", "update:automation", "update:block", "update:concurrency_limit", "update:deployment", "update:flow_run", "update:flow", "update:notification_policy", "update:task_run", "update:variable", "update:work_queue", "update:work_pool_queue", "update:work_pool", "update:workspace_bot_access", "update:workspace_settings", "update:workspace_user_access", "update:workspace"];
|
|
6
6
|
export type WorkspacePermission = typeof workspacePermissions[number];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SelectOption } from '@prefecthq/prefect-design';
|
|
2
|
+
import { Component } from 'vue';
|
|
2
3
|
import { SchemaPropertyComponentWithProps } from '../../../services/schemas/utilities';
|
|
3
4
|
import { SchemaProperty, SchemaPropertyInputAttrs, SchemaPropertyMeta, SchemaValue } from '../../../types/schemas';
|
|
4
5
|
import { Require } from '../../../types/utilities';
|
|
5
|
-
import { ComponentDefinition } from '../../../utilities/components';
|
|
6
6
|
import { ValidationMethod, ValidationMethodFactory } from '../../../utilities/validation';
|
|
7
7
|
export type SchemaPropertyServiceSource = {
|
|
8
8
|
property: SchemaProperty;
|
|
@@ -37,12 +37,12 @@ export declare abstract class SchemaPropertyService {
|
|
|
37
37
|
protected get attrs(): SchemaPropertyInputAttrs;
|
|
38
38
|
protected property: SchemaProperty;
|
|
39
39
|
protected level: number;
|
|
40
|
-
protected withProps: <T extends
|
|
40
|
+
protected withProps: <T extends Component>(...args: Omit<Partial<import("../../../utilities").ComponentProps<T>>, "modelValue"> extends Omit<import("../../../utilities").ComponentProps<T>, "modelValue"> ? [component: T, props?: (Omit<import("../../../utilities").ComponentProps<T>, "modelValue"> & Record<string, unknown>) | undefined] : [component: T, props: Omit<import("../../../utilities").ComponentProps<T>, "modelValue"> & Record<string, unknown>]) => Omit<Partial<import("../../../utilities").ComponentProps<T>>, "modelValue"> extends Omit<import("../../../utilities").ComponentProps<T>, "modelValue"> ? {
|
|
41
41
|
component: T;
|
|
42
|
-
props?: (Omit<
|
|
42
|
+
props?: (Omit<import("../../../utilities").ComponentProps<T>, "modelValue"> & Record<string, unknown>) | undefined;
|
|
43
43
|
} : {
|
|
44
44
|
component: T;
|
|
45
|
-
props: Omit<
|
|
45
|
+
props: Omit<import("../../../utilities").ComponentProps<T>, "modelValue"> & Record<string, unknown>;
|
|
46
46
|
};
|
|
47
47
|
constructor({ property, level }: SchemaPropertyServiceSource);
|
|
48
48
|
mapResponseValue(value: SchemaValue): SchemaValue;
|
|
@@ -52,7 +52,7 @@ export declare abstract class SchemaPropertyService {
|
|
|
52
52
|
getValidators(required: boolean): ValidationMethod[];
|
|
53
53
|
getAttrs(): SchemaPropertyInputAttrs;
|
|
54
54
|
getMeta(required: boolean): SchemaPropertyMeta | null;
|
|
55
|
-
protected componentIs(component:
|
|
55
|
+
protected componentIs(component: Component): boolean;
|
|
56
56
|
protected invalid(): void;
|
|
57
57
|
protected has<T extends keyof SchemaProperty>(key: T): this is {
|
|
58
58
|
property: SchemaProperty & Require<SchemaProperty, T>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SchemaProperty, SchemaPropertyInputAttrs, Schema, SchemaValues, SchemaValue, SchemaPropertyAnyOf, SchemaPropertyAllOf } from '../../types/schemas';
|
|
2
2
|
import { ValidationMethod } from '../../utilities/validation';
|
|
3
3
|
export type SchemaPropertyComponentWithProps = ReturnType<typeof schemaPropertyComponentWithProps> | null;
|
|
4
|
-
export declare const schemaPropertyComponentWithProps: <T extends import("
|
|
4
|
+
export declare const schemaPropertyComponentWithProps: <T extends import("vue").Component>(...args: Omit<Partial<import("../../utilities").ComponentProps<T>>, "modelValue"> extends Omit<import("../../utilities").ComponentProps<T>, "modelValue"> ? [component: T, props?: (Omit<import("../../utilities").ComponentProps<T>, "modelValue"> & Record<string, unknown>) | undefined] : [component: T, props: Omit<import("../../utilities").ComponentProps<T>, "modelValue"> & Record<string, unknown>]) => Omit<Partial<import("../../utilities").ComponentProps<T>>, "modelValue"> extends Omit<import("../../utilities").ComponentProps<T>, "modelValue"> ? {
|
|
5
5
|
component: T;
|
|
6
|
-
props?: (Omit<
|
|
6
|
+
props?: (Omit<import("../../utilities").ComponentProps<T>, "modelValue"> & Record<string, unknown>) | undefined;
|
|
7
7
|
} : {
|
|
8
8
|
component: T;
|
|
9
|
-
props: Omit<
|
|
9
|
+
props: Omit<import("../../utilities").ComponentProps<T>, "modelValue"> & Record<string, unknown>;
|
|
10
10
|
};
|
|
11
11
|
export declare function getSchemaDefaultValues(schema: Schema): SchemaValues;
|
|
12
12
|
export declare function getSchemaPropertyDefaultValue(property: SchemaProperty, level?: number): SchemaValue;
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
type NoInfer<T> = T & {};
|
|
8
|
-
type WithPropsArgs<T extends ComponentDefinition, E extends string = '', P = InstanceType<T>['$props']> = Omit<Partial<P>, E> extends Omit<P, E> ? [component: T, props?: Omit<P, E> & Record<string, unknown>] : [component: T, props: Omit<P, E> & Record<string, unknown>];
|
|
9
|
-
type WithProps<T extends ComponentDefinition, E extends string = '', P = InstanceType<T>['$props']> = Omit<Partial<P>, E> extends Omit<P, E> ? {
|
|
1
|
+
import { AsyncComponentLoader, Component, FunctionalComponent } from 'vue';
|
|
2
|
+
type Constructor = new (...args: any) => any;
|
|
3
|
+
export type ComponentProps<TComponent extends Component> = TComponent extends Constructor ? InstanceType<TComponent>['$props'] : TComponent extends AsyncComponentLoader<infer T extends Component> ? ComponentProps<T> : TComponent extends FunctionalComponent<infer T> ? T : never;
|
|
4
|
+
type WithPropsArgs<T extends Component, E extends string = '', P = ComponentProps<T>> = Omit<Partial<P>, E> extends Omit<P, E> ? [component: T, props?: Omit<P, E> & Record<string, unknown>] : [component: T, props: Omit<P, E> & Record<string, unknown>];
|
|
5
|
+
type WithProps<T extends Component, E extends string = '', P = ComponentProps<T>> = Omit<Partial<P>, E> extends Omit<P, E> ? {
|
|
10
6
|
component: T;
|
|
11
7
|
props?: Omit<P, E> & Record<string, unknown>;
|
|
12
8
|
} : {
|
|
13
9
|
component: T;
|
|
14
10
|
props: Omit<P, E> & Record<string, unknown>;
|
|
15
11
|
};
|
|
16
|
-
export declare function withProps<T extends
|
|
17
|
-
export declare function withPropsWithoutExcluded<T extends
|
|
18
|
-
export declare function withPropsWithoutExcludedFactory<E extends string>(prop: E | E[]): <T extends
|
|
12
|
+
export declare function withProps<T extends Component>(...[component, props]: WithPropsArgs<T>): WithProps<T>;
|
|
13
|
+
export declare function withPropsWithoutExcluded<T extends Component, E extends string>(excluded: E | E[], ...[component, props]: WithPropsArgs<T, E>): WithProps<T, E>;
|
|
14
|
+
export declare function withPropsWithoutExcludedFactory<E extends string>(prop: E | E[]): <T extends Component>(...args: WithPropsArgs<T, E>) => WithProps<T, E>;
|
|
19
15
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prefecthq/prefect-ui-library",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.3",
|
|
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.5.
|
|
60
|
+
"@types/node": "^22.5.4",
|
|
61
61
|
"@types/prismjs": "^1.26.4",
|
|
62
62
|
"@vitejs/plugin-vue": "5.1.3",
|
|
63
63
|
"auto-changelog": "^2.4.0",
|
|
@@ -65,14 +65,14 @@
|
|
|
65
65
|
"eslint": "8.57.0",
|
|
66
66
|
"lodash.camelcase": "4.3.0",
|
|
67
67
|
"lodash.debounce": "4.0.8",
|
|
68
|
-
"postcss": "8.4.
|
|
68
|
+
"postcss": "8.4.45",
|
|
69
69
|
"tailwindcss": "3.4.10",
|
|
70
70
|
"tsc-alias": "1.8.10",
|
|
71
|
-
"typescript": "5.
|
|
72
|
-
"vite": "5.4.
|
|
71
|
+
"typescript": "5.6.2",
|
|
72
|
+
"vite": "5.4.3",
|
|
73
73
|
"vite-svg-loader": "^5.1.0",
|
|
74
74
|
"vitest": "^2.0.5",
|
|
75
|
-
"vue-tsc": "^2.
|
|
75
|
+
"vue-tsc": "^2.1.6"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"@prefecthq/prefect-design": "^2.11.5",
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
import { useColorTheme } from '@prefecthq/prefect-design'
|
|
24
24
|
import { computed, ref } from 'vue'
|
|
25
25
|
import FlowRunGraphConfirmation from '@/components/FlowRunGraphConfirmation.vue'
|
|
26
|
-
import { useCan } from '@/compositions'
|
|
27
26
|
import { useTaskRunsCount } from '@/compositions/useTaskRunsCount'
|
|
28
27
|
import { useWorkspaceApi } from '@/compositions/useWorkspaceApi'
|
|
29
28
|
import { FlowRun } from '@/models/FlowRun'
|
|
@@ -46,7 +45,6 @@
|
|
|
46
45
|
}>()
|
|
47
46
|
|
|
48
47
|
const api = useWorkspaceApi()
|
|
49
|
-
const can = useCan()
|
|
50
48
|
const { value: colorThemeValue } = useColorTheme()
|
|
51
49
|
const load = ref(true)
|
|
52
50
|
|
|
@@ -108,7 +106,7 @@
|
|
|
108
106
|
const config = computed<RunGraphConfig>(() => ({
|
|
109
107
|
runId: props.flowRun.id,
|
|
110
108
|
fetch: (id) => {
|
|
111
|
-
return api.flowRuns.getFlowRunsGraph(id,
|
|
109
|
+
return api.flowRuns.getFlowRunsGraph(id, { nestedTaskRunGraphs: true })
|
|
112
110
|
},
|
|
113
111
|
fetchEvents: props.fetchEvents,
|
|
114
112
|
styles: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<component :is="input
|
|
2
|
+
<component :is="input.component" v-bind="input.props" class="schema-form-property-string" />
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script lang="ts" setup>
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
})
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
return
|
|
62
|
+
return withProps(() => ({ template: '' }))
|
|
63
63
|
})
|
|
64
64
|
</script>
|
|
@@ -66,7 +66,7 @@ export function useSchemaPropertyInput(schemaProperty: MaybeRefOrGetter<SchemaPr
|
|
|
66
66
|
const exhaustive: never = propertyValue.value
|
|
67
67
|
console.error(new Error(`SchemaFormProperty input is not exhaustive: ${JSON.stringify(exhaustive)}`))
|
|
68
68
|
|
|
69
|
-
return
|
|
69
|
+
return withProps(() => ({ template: '' }))
|
|
70
70
|
})
|
|
71
71
|
|
|
72
72
|
return { input }
|
|
@@ -17,6 +17,10 @@ import { WorkspaceApi } from '@/services/WorkspaceApi'
|
|
|
17
17
|
import { Schema, SchemaValues } from '@/types/schemas'
|
|
18
18
|
import { toMap } from '@/utilities'
|
|
19
19
|
|
|
20
|
+
type GetFlowRunGraphOptions = {
|
|
21
|
+
nestedTaskRunGraphs: boolean,
|
|
22
|
+
}
|
|
23
|
+
|
|
20
24
|
export class WorkspaceFlowRunsApi extends WorkspaceApi {
|
|
21
25
|
|
|
22
26
|
protected override routePrefix = '/flow_runs'
|
|
@@ -77,7 +81,7 @@ export class WorkspaceFlowRunsApi extends WorkspaceApi {
|
|
|
77
81
|
return data
|
|
78
82
|
}
|
|
79
83
|
|
|
80
|
-
public async getFlowRunsGraph(id: string, nestedTaskRunGraphs:
|
|
84
|
+
public async getFlowRunsGraph(id: string, { nestedTaskRunGraphs }: GetFlowRunGraphOptions): Promise<RunGraphData> {
|
|
81
85
|
const { data: graph } = await this.get<RunGraphDataResponse>(`/${id}/graph-v2`)
|
|
82
86
|
|
|
83
87
|
return mapper.map('RunGraphDataResponse', { graph, nestedTaskRunGraphs }, 'RunGraphData')
|
package/src/services/can.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { InjectionKey, ref } from 'vue'
|
|
2
2
|
import { MaybeRef } from '@/types/reactivity'
|
|
3
3
|
|
|
4
|
-
export const workspaceFeatureFlags = [
|
|
5
|
-
'access:deploymentScheduleFlowRunInfraOverrides',
|
|
6
|
-
'access:nestedTaskRunGraphs',
|
|
7
|
-
] as const satisfies Readonly<`access:${string}`[]>
|
|
4
|
+
export const workspaceFeatureFlags = ['access:deploymentScheduleFlowRunInfraOverrides'] as const satisfies Readonly<`access:${string}`[]>
|
|
8
5
|
|
|
9
6
|
export type WorkspaceFeatureFlag = typeof workspaceFeatureFlags[number]
|
|
10
7
|
|