mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 14:25:51 +00:00
feat: 全部类型问题解决
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user