feat: add the openapi docs

This commit is contained in:
2026-08-16 16:43:21 +07:00
parent 92d4da14ed
commit a235040be7
27 changed files with 3558 additions and 2837 deletions
+2 -1
View File
@@ -220,9 +220,10 @@ export async function streamDownloadFromDrive(accessToken: string, bucket: strin
console.error(await downloadRes.text());
throw new Error("Download failed");
}
if (!downloadRes.body) throw new Error("Download response had no body");
return {
body: downloadRes.body!,
body: downloadRes.body,
contentType: file.mimeType || "application/octet-stream",
size: parseInt(file.size || "0", 10),
id: file.id,