import { App, Context } from '../../../types' export default abstract class Base { protected app: App protected ctx: Context protected _fileType: string protected _resource: string protected _userId: string constructor (app: App, ctx: Context) { this.app = app this.ctx = ctx } set fileType (fileType: string) { this._fileType = fileType } set resource (resource: string) { this._resource = resource } abstract async build (): Promise }