@prefecthq/prefect-ui-library 1.6.47 → 2.0.0-beta.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-e00a6af7.mjs → index-a467e34e.mjs} +26636 -24330
- package/dist/index-a467e34e.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +703 -707
- package/dist/prefect-ui-library.umd.js +601 -86
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/demo/compositions/useSeeds.d.ts +1 -2
- package/dist/types/demo/services/MockApi.d.ts +0 -2
- package/dist/types/demo/services/mockWorkspaceFlowRunsApi.d.ts +2 -2
- package/dist/types/demo/utilities/api.d.ts +0 -4
- package/dist/types/demo/utilities/data.d.ts +0 -4
- package/dist/types/src/components/ArtifactCard.vue.d.ts +6 -0
- package/dist/types/src/components/LogoImage.vue.d.ts +3 -3
- package/dist/types/src/components/NotificationStatusSelect.vue.d.ts +4 -4
- package/dist/types/src/components/PageHeading.vue.d.ts +10 -10
- package/dist/types/src/components/TimeSpanFilter.vue.d.ts +4 -5
- package/dist/types/src/components/index.d.ts +0 -3
- package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +1 -23
- package/dist/types/src/maps/index.d.ts +0 -10
- package/dist/types/src/mocks/index.d.ts +0 -1
- package/dist/types/src/models/TaskRun.d.ts +2 -2
- package/dist/types/src/models/api/TaskRunResponse.d.ts +1 -1
- package/dist/types/src/models/index.d.ts +0 -1
- package/dist/types/src/router/routes.d.ts +1 -23
- package/dist/types/src/services/Mapper.d.ts +0 -10
- package/dist/types/src/services/Mocker.d.ts +0 -1
- package/dist/types/src/services/WorkspaceFlowRunsApi.d.ts +3 -3
- package/dist/types/src/services/index.d.ts +0 -1
- package/dist/types/src/types/index.d.ts +1 -0
- package/dist/types/src/types/size.d.ts +1 -0
- package/dist/types/src/utilities/api.d.ts +0 -2
- package/dist/types/src/utilities/timeline.d.ts +3 -0
- package/dist/{viewport.es-ae91b8e8-c67ff66c.mjs → viewport.es-f8e518db-b39becd6.mjs} +725 -21
- package/dist/viewport.es-f8e518db-b39becd6.mjs.map +1 -0
- package/package.json +9 -9
- package/dist/index-e00a6af7.mjs.map +0 -1
- package/dist/types/demo/sections/concurrency/ConcurrencyLimitsV2Table.vue.d.ts +0 -2
- package/dist/types/demo/services/mockWorkspaceConcurrencyV2LimitsAPI.d.ts +0 -15
- package/dist/types/src/components/ConcurrencyLimitsV2CreateModal.vue.d.ts +0 -23
- package/dist/types/src/components/ConcurrencyLimitsV2Table.vue.d.ts +0 -2
- package/dist/types/src/components/PythonInput.vue.d.ts +0 -16
- package/dist/types/src/maps/concurrencyV2Limit.d.ts +0 -4
- package/dist/types/src/maps/concurrencyV2LimitCreate.d.ts +0 -4
- package/dist/types/src/maps/concurrencyV2LimitUpdate.d.ts +0 -4
- package/dist/types/src/maps/flowRunTimeline.d.ts +0 -4
- package/dist/types/src/mocks/concurrencyV2Limit.d.ts +0 -3
- package/dist/types/src/models/ConcurrencyV2ActiveSlots.d.ts +0 -5
- package/dist/types/src/models/ConcurrencyV2Create.d.ts +0 -8
- package/dist/types/src/models/ConcurrencyV2DecrementActiveSlots.d.ts +0 -5
- package/dist/types/src/models/ConcurrencyV2IncrementActiveSlots.d.ts +0 -5
- package/dist/types/src/models/ConcurrencyV2Limit.d.ts +0 -12
- package/dist/types/src/models/ConcurrencyV2Update.d.ts +0 -8
- package/dist/types/src/models/api/ConcurrencyV2ActiveSlotsResponse.d.ts +0 -5
- package/dist/types/src/models/api/ConcurrencyV2CreateRequest.d.ts +0 -8
- package/dist/types/src/models/api/ConcurrencyV2DecrementActiveSlotsRequest.d.ts +0 -5
- package/dist/types/src/models/api/ConcurrencyV2IncrementActiveSlotsRequest.d.ts +0 -5
- package/dist/types/src/models/api/ConcurrencyV2Response.d.ts +0 -12
- package/dist/types/src/models/api/ConcurrencyV2UpdateRequest.d.ts +0 -8
- package/dist/types/src/services/WorkspaceConcurrencyLimitsV2API.d.ts +0 -25
- package/dist/types/src/utilities/formValidation.d.ts +0 -3
- package/dist/viewport.es-ae91b8e8-c67ff66c.mjs.map +0 -1
|
@@ -12,8 +12,6 @@ export declare function createDataStores(seeds?: ApiMockSeeds): {
|
|
|
12
12
|
blockDocuments: KeyedDataStore<BlockDocument, string>;
|
|
13
13
|
blockSchemas: KeyedDataStore<BlockSchema, string>;
|
|
14
14
|
concurrencyLimits: KeyedDataStore<import("../../src/index").ConcurrencyLimit, string>;
|
|
15
|
-
concurrencyV2Limits: KeyedDataStore<import("../../src/index").ConcurrencyV2Limit, string>;
|
|
16
|
-
concurrencyV2ActiveSlots: KeyedDataStore<import("../../src/models/ConcurrencyV2ActiveSlots").ConcurrencyV2ActiveSlots, string>;
|
|
17
15
|
taskRuns: KeyedDataStore<TaskRun, string>;
|
|
18
16
|
deployments: KeyedDataStore<Deployment, string>;
|
|
19
17
|
workQueues: KeyedDataStore<WorkQueue, string>;
|
|
@@ -33,8 +31,6 @@ export declare const data: {
|
|
|
33
31
|
blockDocuments: KeyedDataStore<BlockDocument, string>;
|
|
34
32
|
blockSchemas: KeyedDataStore<BlockSchema, string>;
|
|
35
33
|
concurrencyLimits: KeyedDataStore<import("../../src/index").ConcurrencyLimit, string>;
|
|
36
|
-
concurrencyV2Limits: KeyedDataStore<import("../../src/index").ConcurrencyV2Limit, string>;
|
|
37
|
-
concurrencyV2ActiveSlots: KeyedDataStore<import("../../src/models/ConcurrencyV2ActiveSlots").ConcurrencyV2ActiveSlots, string>;
|
|
38
34
|
taskRuns: KeyedDataStore<TaskRun, string>;
|
|
39
35
|
deployments: KeyedDataStore<Deployment, string>;
|
|
40
36
|
workQueues: KeyedDataStore<WorkQueue, string>;
|
|
@@ -7,6 +7,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
7
7
|
condense: {
|
|
8
8
|
type: import("vue").PropType<boolean>;
|
|
9
9
|
};
|
|
10
|
+
interactive: {
|
|
11
|
+
type: import("vue").PropType<boolean>;
|
|
12
|
+
};
|
|
10
13
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
14
|
artifact: {
|
|
12
15
|
type: import("vue").PropType<Artifact>;
|
|
@@ -15,6 +18,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
18
|
condense: {
|
|
16
19
|
type: import("vue").PropType<boolean>;
|
|
17
20
|
};
|
|
21
|
+
interactive: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
};
|
|
18
24
|
}>>, {}, {}>, {
|
|
19
25
|
default?(_: {}): any;
|
|
20
26
|
"summary-label"?(_: {}): any;
|
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
size: {
|
|
7
|
-
type: import("vue").PropType<"
|
|
7
|
+
type: import("vue").PropType<"sm" | "md" | "lg">;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
10
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -13,10 +13,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
required: true;
|
|
14
14
|
};
|
|
15
15
|
size: {
|
|
16
|
-
type: import("vue").PropType<"
|
|
16
|
+
type: import("vue").PropType<"sm" | "md" | "lg">;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
}>>, {
|
|
20
|
-
size: "
|
|
20
|
+
size: "sm" | "md" | "lg";
|
|
21
21
|
}, {}>;
|
|
22
22
|
export default _default;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
selected: {
|
|
3
|
-
type: import("vue").PropType<"paused" | "
|
|
3
|
+
type: import("vue").PropType<"paused" | "all" | "active">;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
"update:selected": (value: "paused" | "
|
|
7
|
+
"update:selected": (value: "paused" | "all" | "active") => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
selected: {
|
|
10
|
-
type: import("vue").PropType<"paused" | "
|
|
10
|
+
type: import("vue").PropType<"paused" | "all" | "active">;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
}>> & {
|
|
14
|
-
"onUpdate:selected"?: ((value: "paused" | "
|
|
14
|
+
"onUpdate:selected"?: ((value: "paused" | "all" | "active") => any) | undefined;
|
|
15
15
|
}, {}, {}>;
|
|
16
16
|
export default _default;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { BreadCrumbs
|
|
2
|
-
import {
|
|
1
|
+
import { BreadCrumbs } from '@prefecthq/prefect-design';
|
|
2
|
+
import { Size } from '../types';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
-
crumbs: {
|
|
5
|
-
type: PropType<BreadCrumbs>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
4
|
size: {
|
|
9
|
-
type: PropType<Size>;
|
|
5
|
+
type: import("vue").PropType<Size>;
|
|
10
6
|
default: string;
|
|
11
7
|
};
|
|
12
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
8
|
crumbs: {
|
|
14
|
-
type: PropType<BreadCrumbs>;
|
|
9
|
+
type: import("vue").PropType<BreadCrumbs>;
|
|
15
10
|
required: true;
|
|
16
11
|
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
13
|
size: {
|
|
18
|
-
type: PropType<Size>;
|
|
14
|
+
type: import("vue").PropType<Size>;
|
|
19
15
|
default: string;
|
|
20
16
|
};
|
|
17
|
+
crumbs: {
|
|
18
|
+
type: import("vue").PropType<BreadCrumbs>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
21
|
}>>, {
|
|
22
22
|
size: Size;
|
|
23
23
|
}, {}>, {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Size } from '@prefecthq/prefect-design';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
|
3
2
|
selected: {
|
|
4
3
|
type: import("vue").PropType<number>;
|
|
5
4
|
required: true;
|
|
6
5
|
};
|
|
7
|
-
|
|
8
|
-
type: import("vue").PropType<
|
|
6
|
+
small: {
|
|
7
|
+
type: import("vue").PropType<boolean>;
|
|
9
8
|
};
|
|
10
9
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
10
|
"update:selected": (value: number) => void;
|
|
@@ -14,8 +13,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
13
|
type: import("vue").PropType<number>;
|
|
15
14
|
required: true;
|
|
16
15
|
};
|
|
17
|
-
|
|
18
|
-
type: import("vue").PropType<
|
|
16
|
+
small: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
19
18
|
};
|
|
20
19
|
}>> & {
|
|
21
20
|
"onUpdate:selected"?: ((value: number) => any) | undefined;
|
|
@@ -46,8 +46,6 @@ export { default as ConcurrencyLimitMenu } from './ConcurrencyLimitMenu.vue';
|
|
|
46
46
|
export { default as ConcurrencyLimitsCreateModal } from './ConcurrencyLimitsCreateModal.vue';
|
|
47
47
|
export { default as ConcurrencyLimitsPageEmptyState } from './ConcurrencyLimitsPageEmptyState.vue';
|
|
48
48
|
export { default as ConcurrencyLimitsTable } from './ConcurrencyLimitsTable.vue';
|
|
49
|
-
export { default as ConcurrencyLimitsV2Table } from './ConcurrencyLimitsV2Table.vue';
|
|
50
|
-
export { default as ConcurrencyLimitsV2CreateModal } from './ConcurrencyLimitsV2CreateModal.vue';
|
|
51
49
|
export { default as ConcurrencyTableActiveSlots } from './ConcurrencyTableActiveSlots.vue';
|
|
52
50
|
export { default as ConfirmDeleteModal } from './ConfirmDeleteModal.vue';
|
|
53
51
|
export { default as ConfirmDeleteModalWithSlot } from './ConfirmDeleteModalWithSlot.vue';
|
|
@@ -195,7 +193,6 @@ export { default as PageHeadingWorkQueues } from './PageHeadingWorkQueues.vue';
|
|
|
195
193
|
export { default as PageHeadingWorkspaceSettings } from './PageHeadingWorkspaceSettings.vue';
|
|
196
194
|
export { default as ParametersTable } from './ParametersTable.vue';
|
|
197
195
|
export { default as ProcessTypeBadge } from './ProcessTypeBadge.vue';
|
|
198
|
-
export { default as PythonInput } from './PythonInput.vue';
|
|
199
196
|
export { default as QuickRunParametersModal } from './QuickRunParametersModal.vue';
|
|
200
197
|
export { default as ResultsCount } from './ResultsCount.vue';
|
|
201
198
|
export { default as RunMenu } from './RunMenu.vue';
|
|
@@ -44,15 +44,8 @@ export declare function useWorkspaceRoutes(): {
|
|
|
44
44
|
readonly flowRunId: string;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
|
-
taskRuns: () => {
|
|
48
|
-
readonly name: "workspace.task-runs";
|
|
49
|
-
readonly params: {
|
|
50
|
-
readonly accountId?: string | undefined;
|
|
51
|
-
readonly workspaceId?: string | undefined;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
47
|
taskRun: (taskRunId: string) => {
|
|
55
|
-
readonly name: "workspace.
|
|
48
|
+
readonly name: "workspace.flow-runs.task-run";
|
|
56
49
|
readonly params: {
|
|
57
50
|
readonly accountId?: string | undefined;
|
|
58
51
|
readonly workspaceId?: string | undefined;
|
|
@@ -238,21 +231,6 @@ export declare function useWorkspaceRoutes(): {
|
|
|
238
231
|
readonly workspaceId?: string | undefined;
|
|
239
232
|
};
|
|
240
233
|
};
|
|
241
|
-
concurrencyLimitsV2: () => {
|
|
242
|
-
readonly name: "workspace.concurrency-limits-v2";
|
|
243
|
-
readonly params: {
|
|
244
|
-
readonly accountId?: string | undefined;
|
|
245
|
-
readonly workspaceId?: string | undefined;
|
|
246
|
-
};
|
|
247
|
-
};
|
|
248
|
-
concurrencyLimitV2: (concurrencyLimitId: string) => {
|
|
249
|
-
readonly name: "workspace.concurrency-limits-v2.concurrency-limit";
|
|
250
|
-
readonly params: {
|
|
251
|
-
readonly accountId?: string | undefined;
|
|
252
|
-
readonly workspaceId?: string | undefined;
|
|
253
|
-
readonly concurrencyLimitId: string;
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
234
|
variables: () => {
|
|
257
235
|
readonly name: "workspace.variables";
|
|
258
236
|
readonly params: {
|
|
@@ -65,15 +65,6 @@ export declare const maps: {
|
|
|
65
65
|
ConcurrencyLimitResponse: {
|
|
66
66
|
ConcurrencyLimit: import("..").MapFunction<import("..").ConcurrencyLimitResponse, import("..").ConcurrencyLimit>;
|
|
67
67
|
};
|
|
68
|
-
ConcurrencyV2LimitResponse: {
|
|
69
|
-
ConcurrencyV2Limit: import("..").MapFunction<import("../models/api/ConcurrencyV2Response").ConcurrencyV2Response, import("..").ConcurrencyV2Limit>;
|
|
70
|
-
};
|
|
71
|
-
ConcurrencyV2LimitCreate: {
|
|
72
|
-
ConcurrencyV2CreateRequest: import("..").MapFunction<import("../models/ConcurrencyV2Create").ConcurrencyV2Create, import("../models/api/ConcurrencyV2CreateRequest").ConcurrencyV2CreateRequest>;
|
|
73
|
-
};
|
|
74
|
-
ConcurrencyV2LimitUpdate: {
|
|
75
|
-
ConcurrencyV2UpdateRequest: import("..").MapFunction<import("../models/ConcurrencyV2Update").ConcurrencyV2Update, import("../models/api/ConcurrencyV2UpdateRequest").ConcurrencyV2UpdateRequest>;
|
|
76
|
-
};
|
|
77
68
|
CreatedOrUpdatedByResponse: {
|
|
78
69
|
CreatedOrUpdatedBy: import("..").MapFunction<import("..").CreatedOrUpdatedByResponse, import("..").CreatedOrUpdatedBy>;
|
|
79
70
|
};
|
|
@@ -140,7 +131,6 @@ export declare const maps: {
|
|
|
140
131
|
};
|
|
141
132
|
FlowRunGraphResponse: {
|
|
142
133
|
GraphNode: import("..").MapFunction<import("..").FlowRunGraphResponse, import("..").GraphNode>;
|
|
143
|
-
TimelineNode: import("..").MapFunction<import("..").FlowRunGraphResponse, import("@prefecthq/graphs").GraphTimelineNode>;
|
|
144
134
|
};
|
|
145
135
|
FlowRunHistoryResponse: {
|
|
146
136
|
RunHistory: import("..").MapFunction<import("..").FlowRunHistoryResponse, import("..").RunHistory>;
|
|
@@ -13,7 +13,6 @@ export declare const mocks: {
|
|
|
13
13
|
char: import("..").MockFunction<"h" | "d" | "w" | "m" | "y" | "a" | "b" | "c" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "x" | "z", []>;
|
|
14
14
|
collectionItem: import("..").MockFunction<import("..").CollectionItem, [(Partial<import("..").CollectionItem> | undefined)?]>;
|
|
15
15
|
concurrencyLimit: import("..").MockFunction<import("..").ConcurrencyLimit, [(Partial<import("..").ConcurrencyLimit> | undefined)?]>;
|
|
16
|
-
concurrencyV2Limit: import("..").MockFunction<import("..").ConcurrencyV2Limit, [(Partial<import("..").ConcurrencyV2Limit> | undefined)?]>;
|
|
17
16
|
createdOrUpdatedBy: import("..").MockFunction<import("..").CreatedOrUpdatedBy, [(Partial<import("..").CreatedOrUpdatedBy> | undefined)?]>;
|
|
18
17
|
date: import("..").MockFunction<Date, [(Date | undefined)?, (Date | undefined)?]>;
|
|
19
18
|
dateString: import("..").MockFunction<string, [(Date | undefined)?, (Date | undefined)?]>;
|
|
@@ -4,7 +4,7 @@ import { StateType } from '../models/StateType';
|
|
|
4
4
|
import { TaskInput } from '../models/TaskInput';
|
|
5
5
|
export interface ITaskRun {
|
|
6
6
|
id: string;
|
|
7
|
-
flowRunId: string
|
|
7
|
+
flowRunId: string;
|
|
8
8
|
cacheExpiration: string | null;
|
|
9
9
|
cacheKey: string | null;
|
|
10
10
|
created: Date;
|
|
@@ -30,7 +30,7 @@ export interface ITaskRun {
|
|
|
30
30
|
}
|
|
31
31
|
export declare class TaskRun implements ITaskRun {
|
|
32
32
|
readonly id: string;
|
|
33
|
-
readonly flowRunId: string
|
|
33
|
+
readonly flowRunId: string;
|
|
34
34
|
cacheExpiration: string | null;
|
|
35
35
|
cacheKey: string | null;
|
|
36
36
|
created: Date;
|
|
@@ -9,7 +9,6 @@ export * from './BlockSchema';
|
|
|
9
9
|
export * from './BlockType';
|
|
10
10
|
export * from './CollectionItem';
|
|
11
11
|
export * from './ConcurrencyLimit';
|
|
12
|
-
export * from './ConcurrencyV2Limit';
|
|
13
12
|
export * from './ConcurrencyLimitCreate';
|
|
14
13
|
export * from './CreatedOrUpdatedBy';
|
|
15
14
|
export * from './CronSchedule';
|
|
@@ -48,15 +48,8 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
|
|
|
48
48
|
readonly flowRunId: string;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
taskRuns: () => {
|
|
52
|
-
readonly name: "workspace.task-runs";
|
|
53
|
-
readonly params: {
|
|
54
|
-
readonly accountId?: string | undefined;
|
|
55
|
-
readonly workspaceId?: string | undefined;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
51
|
taskRun: (taskRunId: string) => {
|
|
59
|
-
readonly name: "workspace.
|
|
52
|
+
readonly name: "workspace.flow-runs.task-run";
|
|
60
53
|
readonly params: {
|
|
61
54
|
readonly accountId?: string | undefined;
|
|
62
55
|
readonly workspaceId?: string | undefined;
|
|
@@ -242,21 +235,6 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
|
|
|
242
235
|
readonly workspaceId?: string | undefined;
|
|
243
236
|
};
|
|
244
237
|
};
|
|
245
|
-
concurrencyLimitsV2: () => {
|
|
246
|
-
readonly name: "workspace.concurrency-limits-v2";
|
|
247
|
-
readonly params: {
|
|
248
|
-
readonly accountId?: string | undefined;
|
|
249
|
-
readonly workspaceId?: string | undefined;
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
concurrencyLimitV2: (concurrencyLimitId: string) => {
|
|
253
|
-
readonly name: "workspace.concurrency-limits-v2.concurrency-limit";
|
|
254
|
-
readonly params: {
|
|
255
|
-
readonly accountId?: string | undefined;
|
|
256
|
-
readonly workspaceId?: string | undefined;
|
|
257
|
-
readonly concurrencyLimitId: string;
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
238
|
variables: () => {
|
|
261
239
|
readonly name: "workspace.variables";
|
|
262
240
|
readonly params: {
|
|
@@ -89,15 +89,6 @@ export declare const mapper: Mapper<{
|
|
|
89
89
|
ConcurrencyLimitResponse: {
|
|
90
90
|
ConcurrencyLimit: MapFunction<import("..").ConcurrencyLimitResponse, import("..").ConcurrencyLimit>;
|
|
91
91
|
};
|
|
92
|
-
ConcurrencyV2LimitResponse: {
|
|
93
|
-
ConcurrencyV2Limit: MapFunction<import("../models/api/ConcurrencyV2Response").ConcurrencyV2Response, import("..").ConcurrencyV2Limit>;
|
|
94
|
-
};
|
|
95
|
-
ConcurrencyV2LimitCreate: {
|
|
96
|
-
ConcurrencyV2CreateRequest: MapFunction<import("../models/ConcurrencyV2Create").ConcurrencyV2Create, import("../models/api/ConcurrencyV2CreateRequest").ConcurrencyV2CreateRequest>;
|
|
97
|
-
};
|
|
98
|
-
ConcurrencyV2LimitUpdate: {
|
|
99
|
-
ConcurrencyV2UpdateRequest: MapFunction<import("../models/ConcurrencyV2Update").ConcurrencyV2Update, import("../models/api/ConcurrencyV2UpdateRequest").ConcurrencyV2UpdateRequest>;
|
|
100
|
-
};
|
|
101
92
|
CreatedOrUpdatedByResponse: {
|
|
102
93
|
CreatedOrUpdatedBy: MapFunction<import("..").CreatedOrUpdatedByResponse, import("..").CreatedOrUpdatedBy>;
|
|
103
94
|
};
|
|
@@ -164,7 +155,6 @@ export declare const mapper: Mapper<{
|
|
|
164
155
|
};
|
|
165
156
|
FlowRunGraphResponse: {
|
|
166
157
|
GraphNode: MapFunction<import("..").FlowRunGraphResponse, import("..").GraphNode>;
|
|
167
|
-
TimelineNode: MapFunction<import("..").FlowRunGraphResponse, import("@prefecthq/graphs").GraphTimelineNode>;
|
|
168
158
|
};
|
|
169
159
|
FlowRunHistoryResponse: {
|
|
170
160
|
RunHistory: MapFunction<import("..").FlowRunHistoryResponse, import("..").RunHistory>;
|
|
@@ -26,7 +26,6 @@ export declare const mocker: Mocker<{
|
|
|
26
26
|
char: MockFunction<"h" | "d" | "w" | "m" | "y" | "a" | "b" | "c" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "x" | "z", []>;
|
|
27
27
|
collectionItem: MockFunction<import("..").CollectionItem, [(Partial<import("..").CollectionItem> | undefined)?]>;
|
|
28
28
|
concurrencyLimit: MockFunction<import("..").ConcurrencyLimit, [(Partial<import("..").ConcurrencyLimit> | undefined)?]>;
|
|
29
|
-
concurrencyV2Limit: MockFunction<import("..").ConcurrencyV2Limit, [(Partial<import("..").ConcurrencyV2Limit> | undefined)?]>;
|
|
30
29
|
createdOrUpdatedBy: MockFunction<import("..").CreatedOrUpdatedBy, [(Partial<import("..").CreatedOrUpdatedBy> | undefined)?]>;
|
|
31
30
|
date: MockFunction<Date, [(Date | undefined)?, (Date | undefined)?]>;
|
|
32
31
|
dateString: MockFunction<string, [(Date | undefined)?, (Date | undefined)?]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TimelineData } from '@prefecthq/graphs';
|
|
2
2
|
import { StateUpdate } from '../models';
|
|
3
3
|
import { FlowRunsFilter, FlowRunsHistoryFilter } from '../models/Filters';
|
|
4
4
|
import { FlowRun } from '../models/FlowRun';
|
|
@@ -12,7 +12,7 @@ export interface IWorkspaceFlowRunsApi {
|
|
|
12
12
|
getFlowRunsHistory: (filter: FlowRunsHistoryFilter) => Promise<RunHistory[]>;
|
|
13
13
|
getFlowRunsAverageLateness: (filter: FlowRunsFilter) => Promise<number | null>;
|
|
14
14
|
getFlowRunsGraph: (flowRunId: string) => Promise<GraphNode[]>;
|
|
15
|
-
getFlowRunsTimeline: (flowRunId: string) => Promise<
|
|
15
|
+
getFlowRunsTimeline: (flowRunId: string) => Promise<TimelineData>;
|
|
16
16
|
retryFlowRun: (flowRunId: string) => Promise<void>;
|
|
17
17
|
setFlowRunState: (flowRunId: string, body: StateUpdate) => Promise<void>;
|
|
18
18
|
resumeFlowRun: (flowRunId: string) => Promise<void>;
|
|
@@ -27,7 +27,7 @@ export declare class WorkspaceFlowRunsApi extends WorkspaceApi implements IWorks
|
|
|
27
27
|
getFlowRunsHistory(filter: FlowRunsHistoryFilter): Promise<RunHistory[]>;
|
|
28
28
|
getFlowRunsAverageLateness(filter: FlowRunsFilter): Promise<number | null>;
|
|
29
29
|
getFlowRunsGraph(flowRunId: string): Promise<GraphNode[]>;
|
|
30
|
-
getFlowRunsTimeline(id: string): Promise<
|
|
30
|
+
getFlowRunsTimeline(id: string): Promise<TimelineData>;
|
|
31
31
|
retryFlowRun(id: string): Promise<void>;
|
|
32
32
|
setFlowRunState(id: string, body: StateUpdate): Promise<void>;
|
|
33
33
|
resumeFlowRun(id: string): Promise<void>;
|
|
@@ -14,7 +14,6 @@ export * from './WorkspaceBlockDocumentsApi';
|
|
|
14
14
|
export * from './WorkspaceBlockSchemasApi';
|
|
15
15
|
export * from './WorkspaceBlockTypesApi';
|
|
16
16
|
export * from './WorkspaceConcurrencyLimitsApi';
|
|
17
|
-
export * from './WorkspaceConcurrencyLimitsV2API';
|
|
18
17
|
export * from './WorkspaceDeploymentsApi';
|
|
19
18
|
export * from './WorkspaceFlowRunsApi';
|
|
20
19
|
export * from './WorkspaceFlowsApi';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -9,7 +9,6 @@ import { WorkspaceBlockDocumentsApi } from '../services/WorkspaceBlockDocumentsA
|
|
|
9
9
|
import { WorkspaceBlockSchemasApi } from '../services/WorkspaceBlockSchemasApi';
|
|
10
10
|
import { WorkspaceBlockTypesApi } from '../services/WorkspaceBlockTypesApi';
|
|
11
11
|
import { WorkspaceConcurrencyLimitsApi } from '../services/WorkspaceConcurrencyLimitsApi';
|
|
12
|
-
import { WorkspaceConcurrencyV2LimitsApi } from '../services/WorkspaceConcurrencyLimitsV2API';
|
|
13
12
|
import { WorkspaceDeploymentsApi } from '../services/WorkspaceDeploymentsApi';
|
|
14
13
|
import { WorkspaceFlowRunsApi } from '../services/WorkspaceFlowRunsApi';
|
|
15
14
|
import { WorkspaceFlowsApi } from '../services/WorkspaceFlowsApi';
|
|
@@ -30,7 +29,6 @@ export declare function createApi(workspaceConfig: WorkspaceApiConfig): {
|
|
|
30
29
|
blockTypes: import("@prefecthq/vue-compositions").CreateActions<WorkspaceBlockTypesApi>;
|
|
31
30
|
collections: import("@prefecthq/vue-compositions").CreateActions<CollectionsApi>;
|
|
32
31
|
concurrencyLimits: import("@prefecthq/vue-compositions").CreateActions<WorkspaceConcurrencyLimitsApi>;
|
|
33
|
-
concurrencyV2Limits: import("@prefecthq/vue-compositions").CreateActions<WorkspaceConcurrencyV2LimitsApi>;
|
|
34
32
|
deployments: import("@prefecthq/vue-compositions").CreateActions<WorkspaceDeploymentsApi>;
|
|
35
33
|
flowRuns: import("@prefecthq/vue-compositions").CreateActions<WorkspaceFlowRunsApi>;
|
|
36
34
|
flows: import("@prefecthq/vue-compositions").CreateActions<WorkspaceFlowsApi>;
|