@prefecthq/prefect-ui-library 3.12.7 → 3.12.8
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-Bq0CmKUS.mjs → RunsPageWithDefaultFilter-umBJVr8U.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-Bq0CmKUS.mjs.map → RunsPageWithDefaultFilter-umBJVr8U.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-DyODTRPw.mjs → WorkQueueToWorkPoolQueueRedirect-DEUCC_Qo.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-DyODTRPw.mjs.map → WorkQueueToWorkPoolQueueRedirect-DEUCC_Qo.mjs.map} +1 -1
- package/dist/{index-CVx4O1NU.mjs → index-CPp5RYan.mjs} +6 -4
- package/dist/{index-CVx4O1NU.mjs.map → index-CPp5RYan.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +1 -1
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/models/DeploymentVersionInfo.d.ts +12 -1
- package/dist/types/src/models/api/DeploymentVersionResponse.d.ts +5 -3
- package/package.json +1 -1
- package/src/mocks/deploymentVersion.ts +2 -0
- package/src/models/DeploymentVersionInfo.ts +15 -1
- package/src/models/api/DeploymentVersionResponse.ts +5 -3
|
@@ -8,6 +8,8 @@ type SimpleVersionInfo = {
|
|
|
8
8
|
type GitVersionInfoBase = {
|
|
9
9
|
type: string;
|
|
10
10
|
version: string;
|
|
11
|
+
commitSha: string;
|
|
12
|
+
message: string;
|
|
11
13
|
branch: string;
|
|
12
14
|
url: string;
|
|
13
15
|
repository: string;
|
|
@@ -18,5 +20,14 @@ type GitVersionInfo = GitVersionInfoBase & {
|
|
|
18
20
|
type GithubVersionInfo = GitVersionInfoBase & {
|
|
19
21
|
type: 'vcs:github';
|
|
20
22
|
};
|
|
21
|
-
|
|
23
|
+
type GitlabVersionInfo = GitVersionInfoBase & {
|
|
24
|
+
type: 'vcs:gitlab';
|
|
25
|
+
};
|
|
26
|
+
type BitbucketVersionInfo = GitVersionInfoBase & {
|
|
27
|
+
type: 'vcs:bitbucket';
|
|
28
|
+
};
|
|
29
|
+
type AzureDevopsVersionInfo = GitVersionInfoBase & {
|
|
30
|
+
type: 'vcs:azuredevops';
|
|
31
|
+
};
|
|
32
|
+
export type DeploymentVersionInfo = (SimpleVersionInfo | GitVersionInfo | GithubVersionInfo | GitlabVersionInfo | BitbucketVersionInfo | AzureDevopsVersionInfo) & Record<string, unknown>;
|
|
22
33
|
export {};
|
|
@@ -3,10 +3,12 @@ import { SchemaResponseV2, SchemaValuesV2 } from '../../schemas';
|
|
|
3
3
|
import { DateString } from '../../types/dates';
|
|
4
4
|
export type DeploymentVersionInfoResponse = {
|
|
5
5
|
type: string;
|
|
6
|
-
base: string | null;
|
|
7
|
-
branch: string | null;
|
|
8
6
|
version: string;
|
|
9
|
-
|
|
7
|
+
branch?: string | null;
|
|
8
|
+
url?: string | null;
|
|
9
|
+
commit_sha?: string | null;
|
|
10
|
+
message?: string | null;
|
|
11
|
+
repository?: string | null;
|
|
10
12
|
} & Record<string, unknown>;
|
|
11
13
|
export type DeploymentVersionResponse = {
|
|
12
14
|
id: string;
|
package/package.json
CHANGED
|
@@ -18,6 +18,8 @@ export const randomDeploymentVersion: MockFunction<DeploymentVersion, [Partial<D
|
|
|
18
18
|
branch: this.create('string'),
|
|
19
19
|
url: this.create('url'),
|
|
20
20
|
repository: this.create('string'),
|
|
21
|
+
commitSha: this.create('string'),
|
|
22
|
+
message: this.create('string'),
|
|
21
23
|
},
|
|
22
24
|
tags: this.createMany('noun', this.create('number', [0, 5])),
|
|
23
25
|
labels: {},
|
|
@@ -9,6 +9,8 @@ type SimpleVersionInfo = {
|
|
|
9
9
|
type GitVersionInfoBase = {
|
|
10
10
|
type: string,
|
|
11
11
|
version: string,
|
|
12
|
+
commitSha: string,
|
|
13
|
+
message: string,
|
|
12
14
|
branch: string,
|
|
13
15
|
url: string,
|
|
14
16
|
repository: string,
|
|
@@ -22,4 +24,16 @@ type GithubVersionInfo = GitVersionInfoBase & {
|
|
|
22
24
|
type: 'vcs:github',
|
|
23
25
|
}
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
type GitlabVersionInfo = GitVersionInfoBase & {
|
|
28
|
+
type: 'vcs:gitlab',
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
type BitbucketVersionInfo = GitVersionInfoBase & {
|
|
32
|
+
type: 'vcs:bitbucket',
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
type AzureDevopsVersionInfo = GitVersionInfoBase & {
|
|
36
|
+
type: 'vcs:azuredevops',
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type DeploymentVersionInfo = (SimpleVersionInfo | GitVersionInfo | GithubVersionInfo | GitlabVersionInfo | BitbucketVersionInfo | AzureDevopsVersionInfo) & Record<string, unknown>
|
|
@@ -4,10 +4,12 @@ import { DateString } from '@/types/dates'
|
|
|
4
4
|
|
|
5
5
|
export type DeploymentVersionInfoResponse = {
|
|
6
6
|
type: string,
|
|
7
|
-
base: string | null,
|
|
8
|
-
branch: string | null,
|
|
9
7
|
version: string,
|
|
10
|
-
|
|
8
|
+
branch?: string | null,
|
|
9
|
+
url?: string | null,
|
|
10
|
+
commit_sha?: string | null,
|
|
11
|
+
message?: string | null,
|
|
12
|
+
repository?: string | null,
|
|
11
13
|
} & Record<string, unknown>
|
|
12
14
|
|
|
13
15
|
export type DeploymentVersionResponse = {
|