| 756 | // ==================== API Key 管理 ==================== |
| 757 | |
| 758 | export interface PluginAPIKey { |
| 759 | id: number; |
| 760 | user_id: number; |
| 761 | key_preview: string; |
| 762 | name: string; |
| 763 | config_type: 'antigravity' | 'kiro'; // 配置类型 |
| 764 | is_active: boolean; |
| 765 | created_at: string; |
| 766 | last_used_at: string | null; |
| 767 | expires_at: string | null; |
| 768 | } |
| 769 | |
| 770 | export interface CreateAPIKeyResponse { |
| 771 | id: number; |
nothing calls this directly
no outgoing calls
no test coverage detected