@prefecthq/prefect-ui-library 3.11.45 → 3.11.46

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.
@@ -19,6 +19,7 @@ export interface IDeployment {
19
19
  version: string;
20
20
  description: string | null;
21
21
  flowId: string;
22
+ versionId: string | null;
22
23
  paused: boolean;
23
24
  schedules: DeploymentSchedule[];
24
25
  parameters: SchemaValuesV2;
@@ -51,6 +52,7 @@ export declare class Deployment implements IDeployment {
51
52
  version: string;
52
53
  description: string | null;
53
54
  readonly flowId: string;
55
+ readonly versionId: string | null;
54
56
  paused: boolean;
55
57
  schedules: DeploymentSchedule[];
56
58
  parameters: SchemaValuesV2;
@@ -16,6 +16,7 @@ export type DeploymentResponse = {
16
16
  version: string;
17
17
  description: string | null;
18
18
  flow_id: string;
19
+ version_id: string | null;
19
20
  schedule: ScheduleResponse | null;
20
21
  is_schedule_active: boolean;
21
22
  paused: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefecthq/prefect-ui-library",
3
- "version": "3.11.45",
3
+ "version": "3.11.46",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -57,11 +57,11 @@
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.13.9",
60
+ "@types/node": "^22.13.10",
61
61
  "@types/prismjs": "^1.26.5",
62
62
  "@vitejs/plugin-vue": "5.2.1",
63
63
  "auto-changelog": "^2.5.0",
64
- "autoprefixer": "10.4.20",
64
+ "autoprefixer": "10.4.21",
65
65
  "eslint": "8.57.1",
66
66
  "lodash.camelcase": "4.3.0",
67
67
  "lodash.debounce": "4.0.8",
@@ -20,6 +20,7 @@ export const mapDeploymentResponseToDeployment: MapFunction<DeploymentResponse,
20
20
  version: source.version,
21
21
  description: source.description,
22
22
  flowId: source.flow_id,
23
+ versionId: source.version_id,
23
24
  paused: source.paused,
24
25
  schedules: source.schedules.map(schedule => this.map('DeploymentScheduleResponse', schedule, 'DeploymentSchedule')),
25
26
  parameters: source.parameters,
@@ -19,6 +19,7 @@ export const randomDeployment: MockFunction<Deployment, [Partial<Deployment>?]>
19
19
  version: this.create('string'),
20
20
  description: this.create('paragraph'),
21
21
  flowId: this.create('id'),
22
+ versionId: random() > 0.25 ? this.create('id').slice(0, 8) : null,
22
23
  schedule,
23
24
  schedules: this.create('deploymentSchedules'),
24
25
  paused: paused,
@@ -23,6 +23,7 @@ export interface IDeployment {
23
23
  version: string,
24
24
  description: string | null,
25
25
  flowId: string,
26
+ versionId: string | null,
26
27
  paused: boolean,
27
28
  schedules: DeploymentSchedule[],
28
29
  parameters: SchemaValuesV2,
@@ -56,6 +57,7 @@ export class Deployment implements IDeployment {
56
57
  public version: string
57
58
  public description: string | null
58
59
  public readonly flowId: string
60
+ public readonly versionId: string | null
59
61
  public paused: boolean
60
62
  public schedules: DeploymentSchedule[]
61
63
  public parameters: SchemaValuesV2
@@ -87,6 +89,7 @@ export class Deployment implements IDeployment {
87
89
  this.version = deployment.version
88
90
  this.description = deployment.description
89
91
  this.flowId = deployment.flowId
92
+ this.versionId = deployment.versionId
90
93
  this.paused = deployment.paused
91
94
  this.schedules = deployment.schedules
92
95
  this.parameters = deployment.parameters
@@ -17,6 +17,7 @@ export type DeploymentResponse = {
17
17
  version: string,
18
18
  description: string | null,
19
19
  flow_id: string,
20
+ version_id: string | null,
20
21
  schedule: ScheduleResponse | null,
21
22
  is_schedule_active: boolean,
22
23
  paused: boolean,