Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
12c1d92ec4 | |||
4769548dad |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@design.estate/dees-document",
|
"name": "@design.estate/dees-document",
|
||||||
"version": "1.0.98",
|
"version": "1.0.99",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a catalog for creating documents like invoices",
|
"description": "a catalog for creating documents like invoices",
|
||||||
"main": "dist_ts_web/index.js",
|
"main": "dist_ts_web/index.js",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-document',
|
name: '@design.estate/dees-document',
|
||||||
version: '1.0.98',
|
version: '1.0.99',
|
||||||
description: 'a catalog for creating documents like invoices'
|
description: 'a catalog for creating documents like invoices'
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,13 @@ export interface IPdfServiceConstructorOptions {
|
|||||||
* a pdf service for generating pdfs
|
* a pdf service for generating pdfs
|
||||||
*/
|
*/
|
||||||
export class PdfService {
|
export class PdfService {
|
||||||
|
// STATIC
|
||||||
|
public static async createAndStart(optionsArg: IPdfServiceConstructorOptions) {
|
||||||
|
const pdfService = new PdfService(optionsArg);
|
||||||
|
await pdfService.start();
|
||||||
|
return pdfService;
|
||||||
|
}
|
||||||
|
|
||||||
// INSTANCE
|
// INSTANCE
|
||||||
options: IPdfServiceConstructorOptions;
|
options: IPdfServiceConstructorOptions;
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-document',
|
name: '@design.estate/dees-document',
|
||||||
version: '1.0.98',
|
version: '1.0.99',
|
||||||
description: 'a catalog for creating documents like invoices'
|
description: 'a catalog for creating documents like invoices'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user