update api key manage
This commit is contained in:
@@ -315,7 +315,7 @@ export interface ApiKeyRecord {
|
||||
expires_at: string | null
|
||||
enabled: boolean
|
||||
created_at: string
|
||||
user?: { id: number; username: string; api_key_enabled?: boolean }
|
||||
user?: { id: number; username: string; email?: string; api_key_enabled?: boolean }
|
||||
}
|
||||
|
||||
export interface ApiKeyCreateParams {
|
||||
@@ -329,7 +329,8 @@ export interface ApiKeyCreateResult {
|
||||
}
|
||||
|
||||
export interface AdminApiKeyFilters {
|
||||
user_id: number | undefined
|
||||
username: string | undefined
|
||||
email: string | undefined
|
||||
enabled: boolean | undefined
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user