import { handler as ErrorHandler } from './errors'; import fs from 'fs'; import archiver from 'archiver'; import multer from 'multer'; import path from 'path'; import { handler as ErrorHandel } from '../../middlewares/errors'; // import ApiException from '../../../common/utils/APIException'; import { cdn as cdnConfig, storage as storageConfig } from '../../../config/vars'; import uploadAdapter from '../../../common/services/adapters/upload-adapter';