web_reader / src /shared /services /firebase-storage-bucket.ts
Mohammad Shahid
Fix HF deployment: remove external deps, use pre-built files, download required assets
1ba2d7b
// 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
}
}