Remove extra hashing and only update changed files when syncing

This commit is contained in:
Andras Schmelczer 2025-01-04 12:34:48 +00:00
parent c41ce7ef68
commit cacd0243de
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
2 changed files with 50 additions and 58 deletions

View file

@ -75,7 +75,7 @@ export class SyncService {
relativePath: RelativePath;
contentBytes: Uint8Array;
createdDate: Date;
}): Promise<components["schemas"]["DocumentVersion"]> {
}): Promise<components["schemas"]["DocumentUpdateResponse"]> {
const response = await this.client.POST(
"/vaults/{vault_id}/documents",
{
@ -126,7 +126,7 @@ export class SyncService {
relativePath: RelativePath;
contentBytes: Uint8Array;
createdDate: Date;
}): Promise<components["schemas"]["DocumentVersion"]> {
}): Promise<components["schemas"]["DocumentUpdateResponse"]> {
const response = await this.client.PUT(
"/vaults/{vault_id}/documents/{document_id}",
{