feat: optimize documents printing

This commit is contained in:
Ahmed Bouhuolia
2023-10-31 02:08:20 +02:00
parent 078a7ea51c
commit 6634144d82
9 changed files with 259 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
import { Chromiumly, ChromiumRoute } from '../../main.config';
export abstract class Converter {
readonly endpoint: string;
constructor(route: ChromiumRoute) {
this.endpoint = `${Chromiumly.GOTENBERG_ENDPOINT}/${Chromiumly.CHROMIUM_PATH}/${Chromiumly.CHROMIUM_ROUTES[route]}`;
}
}