chore: update type definitions

This commit is contained in:
kunish 2024-06-27 17:04:23 +08:00
parent ee2ca5da41
commit 20b9857887
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430
4 changed files with 7762 additions and 6002 deletions

View File

@ -44,14 +44,14 @@
"autoprefixer": "^10.4.19", "autoprefixer": "^10.4.19",
"byte-size": "^8.1.1", "byte-size": "^8.1.1",
"commitlint": "^19.3.0", "commitlint": "^19.3.0",
"daisyui": "^4.12.8", "daisyui": "^4.12.10",
"dayjs": "^1.11.11", "dayjs": "^1.11.11",
"eslint": "^9.5.0", "eslint": "^9.5.0",
"eslint-config-prettier": "^9.1.0", "eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11", "husky": "^9.0.11",
"is-ip": "^5.0.1", "is-ip": "^5.0.1",
"ky": "^1.3.0", "ky": "^1.4.0",
"lint-staged": "^15.2.7", "lint-staged": "^15.2.7",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"match-sorter": "^6.3.4", "match-sorter": "^6.3.4",
@ -73,5 +73,5 @@
"vite-plugin-solid": "^2.10.2", "vite-plugin-solid": "^2.10.2",
"zod": "^3.23.8" "zod": "^3.23.8"
}, },
"packageManager": "pnpm@9.1.4" "packageManager": "pnpm@9.4.0"
} }

File diff suppressed because it is too large Load Diff

View File

@ -41,8 +41,8 @@ import {
const TagClientSourceIPWithNameForm: Component = () => { const TagClientSourceIPWithNameForm: Component = () => {
const schema = z.object({ const schema = z.object({
tagName: z.string().nonempty(), tagName: z.string().min(1),
sourceIP: z.string().nonempty(), sourceIP: z.string().min(1),
}) })
const [t] = useI18n() const [t] = useI18n()

View File

@ -17,8 +17,8 @@ import {
updateGEODatabasesAPI, updateGEODatabasesAPI,
updatingGEODatabases, updatingGEODatabases,
upgradeBackendAPI, upgradeBackendAPI,
upgradingBackend,
upgradeUIAPI, upgradeUIAPI,
upgradingBackend,
upgradingUI, upgradingUI,
} from '~/apis' } from '~/apis'
import { Button, ConfigTitle } from '~/components' import { Button, ConfigTitle } from '~/components'
@ -113,7 +113,6 @@ const ConfigForm: Component<{ backendVersion: Accessor<string> }> = ({
backendVersion, backendVersion,
}) => { }) => {
const [t] = useI18n() const [t] = useI18n()
const navigate = useNavigate()
const portList = [ const portList = [
{ {