@prefecthq/prefect-ui-library 2.4.11 → 2.4.13

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.
@@ -4,6 +4,7 @@ import { FlowRunsFilter, FlowRunsHistoryFilter } from '../models/Filters';
4
4
  import { FlowRun } from '../models/FlowRun';
5
5
  import { RunHistory } from '../models/RunHistory';
6
6
  import { WorkspaceApi } from '../services/WorkspaceApi';
7
+ import { Schema, SchemaValues } from '../types/schemas';
7
8
  export interface IWorkspaceFlowRunsApi {
8
9
  getFlowRun: (flowRunId: string) => Promise<FlowRun>;
9
10
  getFlowRuns: (filter: FlowRunsFilter) => Promise<FlowRun[]>;
@@ -13,7 +14,7 @@ export interface IWorkspaceFlowRunsApi {
13
14
  getFlowRunsGraph: (flowRunId: string) => Promise<RunGraphData>;
14
15
  retryFlowRun: (flowRunId: string) => Promise<void>;
15
16
  setFlowRunState: (flowRunId: string, body: StateUpdate) => Promise<void>;
16
- resumeFlowRun: (flowRunId: string) => Promise<void>;
17
+ resumeFlowRun: (flowRunId: string, values?: SchemaValues) => Promise<void>;
17
18
  deleteFlowRun: (flowRunId: string) => Promise<void>;
18
19
  }
19
20
  export declare class WorkspaceFlowRunsApi extends WorkspaceApi implements IWorkspaceFlowRunsApi {
@@ -25,8 +26,9 @@ export declare class WorkspaceFlowRunsApi extends WorkspaceApi implements IWorks
25
26
  getFlowRunsHistory(filter: FlowRunsHistoryFilter): Promise<RunHistory[]>;
26
27
  getFlowRunsAverageLateness(filter: FlowRunsFilter): Promise<number | null>;
27
28
  getFlowRunsGraph(id: string): Promise<RunGraphData>;
29
+ getFlowRunInput(id: string, key: string): Promise<Schema>;
28
30
  retryFlowRun(id: string): Promise<void>;
29
31
  setFlowRunState(id: string, body: StateUpdate): Promise<void>;
30
- resumeFlowRun(id: string): Promise<void>;
32
+ resumeFlowRun(id: string, values?: SchemaValues): Promise<void>;
31
33
  deleteFlowRun(flowRunId: string): Promise<void>;
32
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefecthq/prefect-ui-library",
3
- "version": "2.4.11",
3
+ "version": "2.4.13",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -63,7 +63,7 @@
63
63
  "vue-tsc": "1.8.25"
64
64
  },
65
65
  "peerDependencies": {
66
- "@prefecthq/prefect-design": "^2.2.1",
66
+ "@prefecthq/prefect-design": "^2.2.4",
67
67
  "@prefecthq/vue-charts": "^2.0.3",
68
68
  "@prefecthq/vue-compositions": "^1.6.6",
69
69
  "vee-validate": "^4.7.0",