feat(nbstore): add cloud implementation (#8810)

This commit is contained in:
forehalo
2024-12-10 10:48:27 +00:00
parent 1721875ab6
commit 2f80b4f822
32 changed files with 1030 additions and 315 deletions
@@ -50,7 +50,7 @@ export class S3StorageProvider implements StorageProvider {
): Promise<void> {
const blob = await toBuffer(body);
metadata = await autoMetadata(blob, metadata);
metadata = autoMetadata(blob, metadata);
try {
await this.client.send(
@@ -140,7 +140,7 @@ export class S3StorageProvider implements StorageProvider {
listResult.Contents.map(r => ({
key: r.Key!,
lastModified: r.LastModified!,
size: r.Size!,
contentLength: r.Size!,
}))
);
}