The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/packages/apps-engine/tests/test-data/bridges/uploadBridge.ts

17 lines
654 B

import type { IUpload } from '../../../src/definition/uploads';
import type { IUploadDetails } from '../../../src/definition/uploads/IUploadDetails';
import { UploadBridge } from '../../../src/server/bridges/UploadBridge';
export class TestUploadBridge extends UploadBridge {
public getById(id: string, appId: string): Promise<IUpload> {
throw new Error('Method not implemented');
}
public getBuffer(upload: IUpload, appId: string): Promise<Buffer> {
throw new Error('Method not implemented');
}
public createUpload(details: IUploadDetails, buffer: Buffer, appId: string): Promise<IUpload> {
throw new Error('Method not implemented');
}
}