mirror of
https://github.com/velocitatem/cvfs.git
synced 2026-07-15 19:03:38 +00:00
feat: allow updating existing CV branches
This commit is contained in:
@@ -133,6 +133,17 @@ export async function createBranch(
|
||||
});
|
||||
}
|
||||
|
||||
export async function appendPatches(
|
||||
versionId: string,
|
||||
patches: Record<string, unknown>[],
|
||||
): Promise<Version> {
|
||||
return req<Version>(`/api/v1/versions/${versionId}/patches`, {
|
||||
method: 'POST',
|
||||
headers: { 'content-type': 'application/json' },
|
||||
body: JSON.stringify({ patches }),
|
||||
});
|
||||
}
|
||||
|
||||
export async function createSubmission(
|
||||
versionId: string,
|
||||
companyName: string,
|
||||
|
||||
Reference in New Issue
Block a user