refactor: integrations folder

This commit is contained in:
Davidson Gomes
2024-08-20 16:22:02 -03:00
parent 884362e70c
commit 2ec0b842c1
38 changed files with 212 additions and 259 deletions

View File

@@ -0,0 +1,12 @@
import { S3Router } from '@api/integrations/storage/s3/routes/s3.router';
import { Router } from 'express';
export class StorageRouter {
public readonly router: Router;
constructor(...guards: any[]) {
this.router = Router();
this.router.use('/s3', new S3Router(...guards).router);
}
}