@prefecthq/prefect-ui-library 3.11.37 → 3.11.38
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-CIbjT-KV.mjs → RunsPageWithDefaultFilter-sUwYjBOq.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-CIbjT-KV.mjs.map → RunsPageWithDefaultFilter-sUwYjBOq.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-BtmOW-y6.mjs → WorkQueueToWorkPoolQueueRedirect-c_GZ4yMU.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-BtmOW-y6.mjs.map → WorkQueueToWorkPoolQueueRedirect-c_GZ4yMU.mjs.map} +1 -1
- package/dist/{index-DJigWRmB.mjs → index-C0mppffY.mjs} +202 -199
- package/dist/{index-DJigWRmB.mjs.map → index-C0mppffY.mjs.map} +1 -1
- 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/models/FlowRun.d.ts +2 -0
- package/dist/types/src/models/api/FlowRunResponse.d.ts +1 -0
- package/package.json +1 -1
- package/src/maps/flowRun.ts +1 -0
- package/src/mocks/flowRun.ts +1 -0
- package/src/models/FlowRun.ts +3 -0
- package/src/models/api/FlowRunResponse.ts +1 -0
|
@@ -8,6 +8,7 @@ import { SchemaValues } from '../types/schemas';
|
|
|
8
8
|
export interface IFlowRun {
|
|
9
9
|
id: string;
|
|
10
10
|
flowId: string;
|
|
11
|
+
flowName: string | null;
|
|
11
12
|
deploymentId: string | null;
|
|
12
13
|
flowVersion: string | null;
|
|
13
14
|
idempotencyKey: string | null;
|
|
@@ -42,6 +43,7 @@ export interface IFlowRun {
|
|
|
42
43
|
export declare class FlowRun extends StorageItem implements IFlowRun {
|
|
43
44
|
readonly id: string;
|
|
44
45
|
readonly flowId: string;
|
|
46
|
+
readonly flowName: string | null;
|
|
45
47
|
readonly deploymentId: string | null;
|
|
46
48
|
readonly workQueueName: string | null;
|
|
47
49
|
readonly kind = "flowRun";
|
package/package.json
CHANGED
package/src/maps/flowRun.ts
CHANGED
|
@@ -8,6 +8,7 @@ export const mapFlowRunResponseToFlowRun: MapFunction<FlowRunResponse, FlowRun>
|
|
|
8
8
|
id: source.id,
|
|
9
9
|
deploymentId: source.deployment_id,
|
|
10
10
|
flowId: source.flow_id,
|
|
11
|
+
flowName: source.flow_name,
|
|
11
12
|
flowVersion: source.flow_version,
|
|
12
13
|
idempotencyKey: source.idempotency_key,
|
|
13
14
|
expectedStartTime: this.map('string', source.expected_start_time, 'Date'),
|
package/src/mocks/flowRun.ts
CHANGED
|
@@ -8,6 +8,7 @@ export const randomFlowRun: MockFunction<FlowRun, [Partial<FlowRun>?]> = functio
|
|
|
8
8
|
return new FlowRun({
|
|
9
9
|
id: this.create('id'),
|
|
10
10
|
flowId: this.create('id'),
|
|
11
|
+
flowName: random() > 0.7 ? this.create('noun') : null,
|
|
11
12
|
deploymentId: random() > 0.7 ? this.create('id') : null,
|
|
12
13
|
flowVersion: this.create('string'),
|
|
13
14
|
idempotencyKey: this.create('string'),
|
package/src/models/FlowRun.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { secondsToApproximateString } from '@/utilities/seconds'
|
|
|
10
10
|
export interface IFlowRun {
|
|
11
11
|
id: string,
|
|
12
12
|
flowId: string,
|
|
13
|
+
flowName: string | null,
|
|
13
14
|
deploymentId: string | null,
|
|
14
15
|
flowVersion: string | null,
|
|
15
16
|
idempotencyKey: string | null,
|
|
@@ -45,6 +46,7 @@ export interface IFlowRun {
|
|
|
45
46
|
export class FlowRun extends StorageItem implements IFlowRun {
|
|
46
47
|
public readonly id: string
|
|
47
48
|
public readonly flowId: string
|
|
49
|
+
public readonly flowName: string | null
|
|
48
50
|
public readonly deploymentId: string | null
|
|
49
51
|
public readonly workQueueName: string | null
|
|
50
52
|
public readonly kind = 'flowRun'
|
|
@@ -83,6 +85,7 @@ export class FlowRun extends StorageItem implements IFlowRun {
|
|
|
83
85
|
this.id = flowRun.id
|
|
84
86
|
this.deploymentId = flowRun.deploymentId
|
|
85
87
|
this.flowId = flowRun.flowId
|
|
88
|
+
this.flowName = flowRun.flowName
|
|
86
89
|
this.flowVersion = flowRun.flowVersion
|
|
87
90
|
this.idempotencyKey = flowRun.idempotencyKey
|
|
88
91
|
this.expectedStartTime = flowRun.expectedStartTime
|