Fix type error (#27274)
This commit is contained in:
@@ -2,6 +2,6 @@ import type { TypeWithI18N } from '@/app/components/header/account-setting/model
|
||||
|
||||
export type Label = {
|
||||
name: string
|
||||
label: TypeWithI18N
|
||||
icon: string
|
||||
label: TypeWithI18N | string
|
||||
icon?: string
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ export enum LOC {
|
||||
|
||||
export enum AuthType {
|
||||
none = 'none',
|
||||
apiKey = 'api_key', // backward compatibility
|
||||
apiKeyHeader = 'api_key_header',
|
||||
apiKeyQuery = 'api_key_query',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user