Skip to content

Commit 85e110b

Browse files
committed
chore: update common-lib version
1 parent 3d87500 commit 85e110b

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.18.0-pre-0",
7+
"@devtron-labs/devtron-fe-common-lib": "1.18.0-alpha-4",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/components/ApplicationGroup/List/EnvironmentsList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const EnvironmentsList = ({ isSuperAdmin }: AppGroupAdminType) => {
8383
const [clusterListLoading, clusterListRes, clusterListError, reloadClusterList] =
8484
useAsync(getClusterListMinWithoutAuth)
8585

86-
const clusterOptions: SelectPickerOptionType[] = useMemo(
86+
const clusterOptions: SelectPickerOptionType<string, string>[] = useMemo(
8787
() =>
8888
clusterListRes?.result.map((clusterItem) => ({
8989
label: clusterItem.cluster_name,

src/components/Jobs/Types.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ export interface JobListPayload
9999
}
100100

101101
export interface JobsMasterFilters {
102-
status: SelectPickerOptionType[]
103-
projects: SelectPickerOptionType[]
104-
environments: SelectPickerOptionType[]
102+
status: SelectPickerOptionType<JobListStatusDTO, JobListStatus>[]
103+
projects: SelectPickerOptionType<string, string>[]
104+
environments: SelectPickerOptionType<string, string>[]
105105
}
106106

107107
export interface JobListFilterConfig
@@ -122,7 +122,7 @@ export interface JobListProps
122122
jobListCount: number
123123
openJobCreateModel: (event) => void
124124
setJobCount: React.Dispatch<React.SetStateAction<number>>
125-
getLabelFromValue: (filterKey: JobListUrlFilters, filterValue: string) => React.ReactNode
125+
getLabelFromValue: (filterKey: JobListUrlFilters, filterValue: string) => string
126126
}
127127

128128
export interface JobListViewProps

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,9 +1722,9 @@ __metadata:
17221722
languageName: node
17231723
linkType: hard
17241724

1725-
"@devtron-labs/devtron-fe-common-lib@npm:1.18.0-pre-0":
1726-
version: 1.18.0-pre-0
1727-
resolution: "@devtron-labs/devtron-fe-common-lib@npm:1.18.0-pre-0"
1725+
"@devtron-labs/devtron-fe-common-lib@npm:1.18.0-alpha-3":
1726+
version: 1.18.0-alpha-3
1727+
resolution: "@devtron-labs/devtron-fe-common-lib@npm:1.18.0-alpha-3"
17281728
dependencies:
17291729
"@codemirror/autocomplete": "npm:6.18.6"
17301730
"@codemirror/lang-json": "npm:6.0.1"
@@ -1774,7 +1774,7 @@ __metadata:
17741774
react-select: 5.8.0
17751775
rxjs: ^7.8.1
17761776
yaml: ^2.4.1
1777-
checksum: 10c0/1bcecf97315a63222d7063d181ec751fb7a8970e0de585e71d0725acaa2d0d60e264311404bd1c333ae2623fc9607ad965e47a26948156a7e4942b77bb1c1303
1777+
checksum: 10c0/5c624845fd86b9fa6e27cf7129c81dc915433dd3d31f9e2fa6f1252bd0d40bc611b0a221905962646107a18abb3ecbbe42ed4fb3e015cd685f14567b8c4074b7
17781778
languageName: node
17791779
linkType: hard
17801780

@@ -5721,7 +5721,7 @@ __metadata:
57215721
version: 0.0.0-use.local
57225722
resolution: "dashboard@workspace:."
57235723
dependencies:
5724-
"@devtron-labs/devtron-fe-common-lib": "npm:1.18.0-pre-0"
5724+
"@devtron-labs/devtron-fe-common-lib": "npm:1.18.0-alpha-3"
57255725
"@esbuild-plugins/node-globals-polyfill": "npm:0.2.3"
57265726
"@playwright/test": "npm:^1.32.1"
57275727
"@rjsf/core": "npm:^5.13.3"

0 commit comments

Comments
 (0)