@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.
- package/README.md +1 -1
- package/dist/{RunsPageWithDefaultFilter-Bkjc0Oin.mjs → RunsPageWithDefaultFilter-sevlbQKI.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-Bkjc0Oin.mjs.map → RunsPageWithDefaultFilter-sevlbQKI.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-C88_Q_vu.mjs → WorkQueueToWorkPoolQueueRedirect-DQLUJ7S1.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-C88_Q_vu.mjs.map → WorkQueueToWorkPoolQueueRedirect-DQLUJ7S1.mjs.map} +1 -1
- package/dist/{index-DMnzsGtF.mjs → index-CfB3yxBS.mjs} +200 -197
- package/dist/{index-DMnzsGtF.mjs.map → index-CfB3yxBS.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +16 -16
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/models/Deployment.d.ts +2 -0
- package/dist/types/src/models/api/DeploymentResponse.d.ts +1 -0
- package/package.json +3 -3
- package/src/maps/deployment.ts +1 -0
- package/src/mocks/deployment.ts +1 -0
- package/src/models/Deployment.ts +3 -0
- package/src/models/api/DeploymentResponse.ts +1 -0
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prefecthq/prefect-ui-library",
|
|
3
|
-
"version": "3.11.
|
|
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.
|
|
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.
|
|
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",
|
package/src/maps/deployment.ts
CHANGED
|
@@ -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,
|
package/src/mocks/deployment.ts
CHANGED
|
@@ -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,
|
package/src/models/Deployment.ts
CHANGED
|
@@ -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
|