Spaces:
Build error
Build error
File size: 663 Bytes
1ba2d7b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | // Stub implementation for Firebase Storage Bucket
export class FirebaseStorageBucketControl {
async upload(data: any, path: string): Promise<string> {
// Stub implementation - returns a mock URL
return `https://storage.googleapis.com/mock-bucket/${path}`;
}
async download(path: string): Promise<Buffer> {
// Stub implementation - returns empty buffer
return Buffer.alloc(0);
}
async downloadFile(path: string): Promise<Buffer> {
// Stub implementation - returns empty buffer
return Buffer.alloc(0);
}
async saveFile(path: string, data: Buffer, options?: any): Promise<void> {
// Do nothing - storage disabled
}
}
|