diff --git a/src/routes/repo/[projectId]/vbranches.ts b/src/routes/repo/[projectId]/vbranches.ts index 129317360..08c09801e 100644 --- a/src/routes/repo/[projectId]/vbranches.ts +++ b/src/routes/repo/[projectId]/vbranches.ts @@ -9,12 +9,12 @@ import { error } from '$lib/toasts'; const cache: Map>> = new Map(); export interface VirtualBranchOperations { - setTarget: (branch: string) => Promise; - createBranch: (name: string, path: string) => Promise; - commitBranch: (branch: string, message: string) => Promise; - updateBranchTarget: () => Promise; - updateBranchName: (branchId: string, name: string) => Promise; - moveFiles: (branchId: string, paths: Array) => Promise; + setTarget(branch: string): Promise; + createBranch(name: string, path: string): Promise; + commitBranch(branch: string, message: string): Promise; + updateBranchTarget(): Promise; + updateBranchName(branchId: string, name: string): Promise; + moveFiles(branchId: string, paths: Array): Promise; } export function getVirtualBranches(