@prefecthq/prefect-ui-library 3.12.5 → 3.12.7
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-CQFT67so.mjs → RunsPageWithDefaultFilter-Bq0CmKUS.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-CQFT67so.mjs.map → RunsPageWithDefaultFilter-Bq0CmKUS.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-ChKFvzsT.mjs → WorkQueueToWorkPoolQueueRedirect-DyODTRPw.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-ChKFvzsT.mjs.map → WorkQueueToWorkPoolQueueRedirect-DyODTRPw.mjs.map} +1 -1
- package/dist/{index-SgClbU4m.mjs → index-CVx4O1NU.mjs} +291 -291
- package/dist/{index-SgClbU4m.mjs.map → index-CVx4O1NU.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +17 -17
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/models/DeploymentVersionInfo.d.ts +6 -16
- package/package.json +1 -1
- package/src/maps/filters.ts +2 -2
- package/src/models/DeploymentVersionInfo.ts +6 -16
|
@@ -5,28 +5,18 @@ type SimpleVersionInfo = {
|
|
|
5
5
|
branch?: string | null;
|
|
6
6
|
url?: string | null;
|
|
7
7
|
};
|
|
8
|
-
type
|
|
9
|
-
type:
|
|
8
|
+
type GitVersionInfoBase = {
|
|
9
|
+
type: string;
|
|
10
10
|
version: string;
|
|
11
11
|
branch: string;
|
|
12
12
|
url: string;
|
|
13
13
|
repository: string;
|
|
14
14
|
};
|
|
15
|
-
type GitVersionInfo = {
|
|
15
|
+
type GitVersionInfo = GitVersionInfoBase & {
|
|
16
16
|
type: 'vcs:git';
|
|
17
|
-
version: string;
|
|
18
|
-
branch: string;
|
|
19
|
-
url: string;
|
|
20
|
-
repository: string;
|
|
21
17
|
};
|
|
22
|
-
type
|
|
23
|
-
type: '
|
|
24
|
-
version: string;
|
|
25
|
-
branch: string;
|
|
26
|
-
url: string;
|
|
27
|
-
imageName: string;
|
|
28
|
-
registry: string;
|
|
29
|
-
image: string;
|
|
18
|
+
type GithubVersionInfo = GitVersionInfoBase & {
|
|
19
|
+
type: 'vcs:github';
|
|
30
20
|
};
|
|
31
|
-
export type DeploymentVersionInfo = (SimpleVersionInfo | GithubVersionInfo | GitVersionInfo
|
|
21
|
+
export type DeploymentVersionInfo = (SimpleVersionInfo | GithubVersionInfo | GitVersionInfo) & Record<string, unknown>;
|
|
32
22
|
export {};
|
package/package.json
CHANGED
package/src/maps/filters.ts
CHANGED
|
@@ -207,8 +207,8 @@ export const mapFlowRunFilter: MapFunction<FlowRunFilter, FlowRunFilterRequest>
|
|
|
207
207
|
...toAny(source.deploymentId),
|
|
208
208
|
...toIsNull(source.deploymentIdNull),
|
|
209
209
|
},
|
|
210
|
-
deployment_version_id: this.map('DeploymentVersionIdFilter', source.deploymentVersionId, 'DeploymentVersionIdFilterRequest'),
|
|
211
|
-
deployment_version_info: this.map('DeploymentVersionInfoFilter', source.deploymentVersionInfo, 'DeploymentVersionInfoFilterRequest'),
|
|
210
|
+
deployment_version_id: Object.keys(removeEmptyObjects(source.deploymentVersionId ?? {})).length > 0 ? this.map('DeploymentVersionIdFilter', source.deploymentVersionId, 'DeploymentVersionIdFilterRequest') : undefined,
|
|
211
|
+
deployment_version_info: Object.keys(removeEmptyObjects(source.deploymentVersionInfo ?? {})).length > 0 ? this.map('DeploymentVersionInfoFilter', source.deploymentVersionInfo, 'DeploymentVersionInfoFilterRequest') : undefined,
|
|
212
212
|
work_queue_name: {
|
|
213
213
|
...toOperator(source.workQueueNameOperator),
|
|
214
214
|
...toAny(source.workQueueName),
|
|
@@ -6,30 +6,20 @@ type SimpleVersionInfo = {
|
|
|
6
6
|
url?: string | null,
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
type
|
|
10
|
-
type:
|
|
9
|
+
type GitVersionInfoBase = {
|
|
10
|
+
type: string,
|
|
11
11
|
version: string,
|
|
12
12
|
branch: string,
|
|
13
13
|
url: string,
|
|
14
14
|
repository: string,
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
type GitVersionInfo = {
|
|
17
|
+
type GitVersionInfo = GitVersionInfoBase & {
|
|
18
18
|
type: 'vcs:git',
|
|
19
|
-
version: string,
|
|
20
|
-
branch: string,
|
|
21
|
-
url: string,
|
|
22
|
-
repository: string,
|
|
23
19
|
}
|
|
24
20
|
|
|
25
|
-
type
|
|
26
|
-
type: '
|
|
27
|
-
version: string,
|
|
28
|
-
branch: string,
|
|
29
|
-
url: string,
|
|
30
|
-
imageName: string,
|
|
31
|
-
registry: string,
|
|
32
|
-
image: string,
|
|
21
|
+
type GithubVersionInfo = GitVersionInfoBase & {
|
|
22
|
+
type: 'vcs:github',
|
|
33
23
|
}
|
|
34
24
|
|
|
35
|
-
export type DeploymentVersionInfo = (SimpleVersionInfo | GithubVersionInfo | GitVersionInfo
|
|
25
|
+
export type DeploymentVersionInfo = (SimpleVersionInfo | GithubVersionInfo | GitVersionInfo) & Record<string, unknown>
|