feat: add repo sync page

This commit is contained in:
engigu
2025-12-25 17:55:54 +08:00
parent bf47048f8f
commit f096d6dea4
9 changed files with 655 additions and 22 deletions
+14
View File
@@ -220,6 +220,8 @@ export interface Task {
id: number
name: string
command: string
type: string
config: string
schedule: string
timeout: number
work_dir: string
@@ -230,6 +232,18 @@ export interface Task {
next_run: string
}
export interface RepoConfig {
source_type: string
source_url: string
target_path: string
branch: string
sparse_path: string
single_file: boolean
proxy: string
proxy_url: string
auth_token: string
}
export interface TaskListResponse {
data: Task[]
total: number