Compare commits

...

14 Commits

Author SHA1 Message Date
05bd86a0ce 4.0.18 2022-08-17 15:46:43 +02:00
d4cc9f7843 fix(core): update 2022-08-17 15:46:42 +02:00
45e8460474 4.0.17 2022-06-16 12:25:27 +02:00
15bbb6ee22 fix(core): update 2022-06-16 12:25:26 +02:00
7bf736ec75 4.0.16 2022-06-15 22:37:40 +02:00
a43113860a fix(core): update 2022-06-15 22:37:40 +02:00
76cff5259b 4.0.15 2022-06-15 21:55:57 +02:00
34b49123e1 fix(core): update 2022-06-15 21:55:57 +02:00
ecf1b945b5 4.0.14 2022-06-15 21:29:39 +02:00
dd3182536e fix(core): update 2022-06-15 21:29:39 +02:00
5e8ab7012f 4.0.13 2022-06-15 01:17:47 +02:00
12a0a1402d fix(core): update 2022-06-15 01:17:47 +02:00
79c334da3b 4.0.12 2022-06-15 01:13:52 +02:00
5c71e8c97d fix(core): update 2022-06-15 01:13:51 +02:00
11 changed files with 4815 additions and 1187 deletions

5960
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@tsclass/tsclass",
"version": "4.0.11",
"version": "4.0.18",
"private": false,
"description": "common classes for TypeScript",
"main": "dist_ts/index.js",
@ -26,13 +26,13 @@
},
"homepage": "https://github.com/tsclass/tsclass#readme",
"dependencies": {
"type-fest": "^2.13.1"
"type-fest": "^2.18.0"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.63",
"@gitzone/tsbuild": "^2.1.65",
"@gitzone/tsrun": "^1.2.37",
"@gitzone/tstest": "^1.0.71",
"@pushrocks/tapbundle": "^5.0.3",
"@gitzone/tstest": "^1.0.73",
"@pushrocks/tapbundle": "^5.0.4",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0"
},

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@tsclass/tsclass',
version: '4.0.11',
version: '4.0.18',
description: 'common classes for TypeScript'
}

View File

@ -2,4 +2,5 @@ export * from './address.js';
export * from './company.js';
export * from './contact.js';
export * from './letter.js';
export * from './pdf.js';
export * from './person.js';

View File

@ -12,14 +12,15 @@ export interface ILetter {
subject: string;
text: string[];
accentColor?: string;
needsCoverSheet: boolean;
invoiceData?: finance.IInvoice;
contractData?: {
id: string;
contractDate: number;
};
timesheetData: string;
pdfBuffer?: TypedArray;
pdfAttachmentBuffers: TypedArray[];
pdf?: business.IPdf;
pdfAttachments: business.IPdf[];
language: string;
objectActions: database.IObjectAction[];
}

8
ts/business/pdf.ts Normal file
View File

@ -0,0 +1,8 @@
export interface IPdf {
name: string;
id: string;
metadata: {
textExtraction: string;
};
buffer: ArrayBufferLike;
}

View File

@ -1,2 +1,3 @@
export * from './mongodescriptor.js';
export * from './objectaction.js';
export * from './objectaction.js';
export * from './wrappeddata.js'

View File

@ -0,0 +1,3 @@
export interface IWrappedData<T> {
data: T;
}

View File

@ -8,7 +8,7 @@ import * as code from './code/index.js';
import * as container from './container/index.js';
// Database
import * as database from './database/mongodescriptor.js';
import * as database from './database/index.js';
// Finance
import * as finance from './finance/index.js';
@ -25,6 +25,9 @@ import * as network from './network/index.js';
// SaaS
import * as saas from './saas/index.js';
// Website
export * from './website/index.js';
export { business, container, code, database, finance, content, general, network, saas };
import type * as typeFest from 'type-fest';

1
ts/website/index.ts Normal file
View File

@ -0,0 +1 @@
export * from './menuitem.js';

4
ts/website/menuitem.ts Normal file
View File

@ -0,0 +1,4 @@
export interface IMenuItem {
name: string;
action: <T = any>() => void | Promise<T>;
}