mirror of
https://github.com/outbackdingo/openapi-ui.git
synced 2026-01-27 10:19:49 +00:00
all versions in search | new badges | new labels
This commit is contained in:
8
package-lock.json
generated
8
package-lock.json
generated
@@ -11,7 +11,7 @@
|
||||
"@ant-design/icons": "5.6.0",
|
||||
"@monaco-editor/react": "4.6.0",
|
||||
"@originjs/vite-plugin-federation": "1.3.6",
|
||||
"@prorobotech/openapi-k8s-toolkit": "^0.0.1-alpha.126",
|
||||
"@prorobotech/openapi-k8s-toolkit": "^0.0.1-alpha.127",
|
||||
"@readme/openapi-parser": "4.0.0",
|
||||
"@reduxjs/toolkit": "2.2.5",
|
||||
"@tanstack/react-query": "5.62.2",
|
||||
@@ -2804,9 +2804,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@prorobotech/openapi-k8s-toolkit": {
|
||||
"version": "0.0.1-alpha.126",
|
||||
"resolved": "https://registry.npmjs.org/@prorobotech/openapi-k8s-toolkit/-/openapi-k8s-toolkit-0.0.1-alpha.126.tgz",
|
||||
"integrity": "sha512-sTEz+LeMhddSOnhOEtFmH1KNHwANVAkuaoF++umrnIQ1msMKLRCbCNHEeH7glQYr10D7HJQCwlgyplRCtUmvAg==",
|
||||
"version": "0.0.1-alpha.127",
|
||||
"resolved": "https://registry.npmjs.org/@prorobotech/openapi-k8s-toolkit/-/openapi-k8s-toolkit-0.0.1-alpha.127.tgz",
|
||||
"integrity": "sha512-2FWxPJxiEyhBgJq+dqdDKn0SVCG8MlwN5vDF0V/7xpXhbfQk/h9tduFf+KAofPIPJWSyBfAgWcAS83b7/TLwsw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@monaco-editor/react": "4.6.0",
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"@ant-design/icons": "5.6.0",
|
||||
"@monaco-editor/react": "4.6.0",
|
||||
"@originjs/vite-plugin-federation": "1.3.6",
|
||||
"@prorobotech/openapi-k8s-toolkit": "0.0.1-alpha.126",
|
||||
"@prorobotech/openapi-k8s-toolkit": "0.0.1-alpha.127",
|
||||
"@readme/openapi-parser": "4.0.0",
|
||||
"@reduxjs/toolkit": "2.2.5",
|
||||
"@tanstack/react-query": "5.62.2",
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
TKindIndex,
|
||||
TKindWithVersion,
|
||||
getKinds,
|
||||
getSortedKinds,
|
||||
getSortedKindsAll,
|
||||
LookingGlassIcon,
|
||||
} from '@prorobotech/openapi-k8s-toolkit'
|
||||
import { ConfigProvider, theme as antdtheme, Form, Spin, Alert } from 'antd'
|
||||
@@ -103,7 +103,7 @@ export const Search: FC = () => {
|
||||
getKinds({ clusterName: cluster })
|
||||
.then(data => {
|
||||
setKindIndex(data)
|
||||
setKindWithVersion(getSortedKinds(data))
|
||||
setKindWithVersion(getSortedKindsAll(data))
|
||||
setIsLoading(false)
|
||||
setError(undefined)
|
||||
})
|
||||
@@ -262,6 +262,9 @@ export const Search: FC = () => {
|
||||
return <Alert type="error" message="Error while loading kinds" description="Empty" />
|
||||
}
|
||||
|
||||
console.log(kindIndex)
|
||||
console.log(kindsWithVersion)
|
||||
|
||||
return (
|
||||
<Styled.Container $height={height}>
|
||||
<Styled.OverflowContainer>
|
||||
|
||||
Reference in New Issue
Block a user