fix(core): update

This commit is contained in:
Philipp Kunz 2024-02-16 19:18:20 +01:00
parent 1ebfa25695
commit 4769548dad
3 changed files with 9 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-document',
version: '1.0.98',
version: '1.0.99',
description: 'a catalog for creating documents like invoices'
}

View File

@ -10,6 +10,13 @@ export interface IPdfServiceConstructorOptions {
* a pdf service for generating pdfs
*/
export class PdfService {
// STATIC
public static async createAndStart(optionsArg: IPdfServiceConstructorOptions) {
const pdfService = new PdfService(optionsArg);
await pdfService.start();
return pdfService;
}
// INSTANCE
options: IPdfServiceConstructorOptions;

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-document',
version: '1.0.98',
version: '1.0.99',
description: 'a catalog for creating documents like invoices'
}