mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-18 18:50:49 +08:00
feat: initialize new React application structure with TypeScript, ESLint, and Prettier configurations, while removing legacy files and adding new components and pages for enhanced functionality
This commit is contained in:
34
src/types/authFile.ts
Normal file
34
src/types/authFile.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* 认证文件相关类型
|
||||
* 基于原项目 src/modules/auth-files.js
|
||||
*/
|
||||
|
||||
export type AuthFileType =
|
||||
| 'qwen'
|
||||
| 'gemini'
|
||||
| 'gemini-cli'
|
||||
| 'aistudio'
|
||||
| 'claude'
|
||||
| 'codex'
|
||||
| 'antigravity'
|
||||
| 'iflow'
|
||||
| 'vertex'
|
||||
| 'empty'
|
||||
| 'unknown';
|
||||
|
||||
export interface AuthFileItem {
|
||||
name: string;
|
||||
type?: AuthFileType | string;
|
||||
provider?: string;
|
||||
size?: number;
|
||||
authIndex?: string | number | null;
|
||||
runtimeOnly?: boolean | string;
|
||||
disabled?: boolean;
|
||||
modified?: number;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export interface AuthFilesResponse {
|
||||
files: AuthFileItem[];
|
||||
total?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user