feat: 全部类型问题解决

This commit is contained in:
claude-code-best
2026-04-11 10:24:00 +08:00
parent 7088fe3c8b
commit 6a70056910
135 changed files with 671 additions and 503 deletions

View File

@@ -1,4 +1,30 @@
// Auto-generated stub — replace with real implementation
export type Workflow = any;
export type State = any;
export type Warning = any;
export type Workflow = 'claude' | 'claude-review' | string
export type Warning = {
title: string
message: string
instructions: string[]
}
export type State = {
step: string
selectedRepoName: string
currentRepo: string
useCurrentRepo: boolean
apiKeyOrOAuthToken: string
useExistingKey: boolean
currentWorkflowInstallStep: number
warnings: Warning[]
secretExists: boolean
secretName: string
useExistingSecret: boolean
workflowExists: boolean
selectedWorkflows: Workflow[]
selectedApiKeyOption: 'existing' | 'new' | 'oauth'
authType: 'api_key' | 'oauth_token'
workflowAction?: string
error?: string
errorReason?: string
errorInstructions?: string[]
[key: string]: unknown
}