Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
05bd86a0ce | |||
d4cc9f7843 | |||
45e8460474 | |||
15bbb6ee22 | |||
7bf736ec75 | |||
a43113860a | |||
76cff5259b | |||
34b49123e1 | |||
ecf1b945b5 | |||
dd3182536e | |||
5e8ab7012f | |||
12a0a1402d | |||
79c334da3b | |||
5c71e8c97d |
5956
package-lock.json
generated
5956
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "4.0.11",
|
"version": "4.0.18",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "common classes for TypeScript",
|
"description": "common classes for TypeScript",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
@ -26,13 +26,13 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/tsclass/tsclass#readme",
|
"homepage": "https://github.com/tsclass/tsclass#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"type-fest": "^2.13.1"
|
"type-fest": "^2.18.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.63",
|
"@gitzone/tsbuild": "^2.1.65",
|
||||||
"@gitzone/tsrun": "^1.2.37",
|
"@gitzone/tsrun": "^1.2.37",
|
||||||
"@gitzone/tstest": "^1.0.71",
|
"@gitzone/tstest": "^1.0.73",
|
||||||
"@pushrocks/tapbundle": "^5.0.3",
|
"@pushrocks/tapbundle": "^5.0.4",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
"tslint-config-prettier": "^1.18.0"
|
"tslint-config-prettier": "^1.18.0"
|
||||||
},
|
},
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@tsclass/tsclass',
|
name: '@tsclass/tsclass',
|
||||||
version: '4.0.11',
|
version: '4.0.18',
|
||||||
description: 'common classes for TypeScript'
|
description: 'common classes for TypeScript'
|
||||||
}
|
}
|
||||||
|
@ -2,4 +2,5 @@ export * from './address.js';
|
|||||||
export * from './company.js';
|
export * from './company.js';
|
||||||
export * from './contact.js';
|
export * from './contact.js';
|
||||||
export * from './letter.js';
|
export * from './letter.js';
|
||||||
|
export * from './pdf.js';
|
||||||
export * from './person.js';
|
export * from './person.js';
|
||||||
|
@ -12,14 +12,15 @@ export interface ILetter {
|
|||||||
subject: string;
|
subject: string;
|
||||||
text: string[];
|
text: string[];
|
||||||
accentColor?: string;
|
accentColor?: string;
|
||||||
|
needsCoverSheet: boolean;
|
||||||
invoiceData?: finance.IInvoice;
|
invoiceData?: finance.IInvoice;
|
||||||
contractData?: {
|
contractData?: {
|
||||||
id: string;
|
id: string;
|
||||||
contractDate: number;
|
contractDate: number;
|
||||||
};
|
};
|
||||||
timesheetData: string;
|
timesheetData: string;
|
||||||
pdfBuffer?: TypedArray;
|
pdf?: business.IPdf;
|
||||||
pdfAttachmentBuffers: TypedArray[];
|
pdfAttachments: business.IPdf[];
|
||||||
language: string;
|
language: string;
|
||||||
objectActions: database.IObjectAction[];
|
objectActions: database.IObjectAction[];
|
||||||
}
|
}
|
||||||
|
8
ts/business/pdf.ts
Normal file
8
ts/business/pdf.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
export interface IPdf {
|
||||||
|
name: string;
|
||||||
|
id: string;
|
||||||
|
metadata: {
|
||||||
|
textExtraction: string;
|
||||||
|
};
|
||||||
|
buffer: ArrayBufferLike;
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
export * from './mongodescriptor.js';
|
export * from './mongodescriptor.js';
|
||||||
export * from './objectaction.js';
|
export * from './objectaction.js';
|
||||||
|
export * from './wrappeddata.js'
|
3
ts/database/wrappeddata.ts
Normal file
3
ts/database/wrappeddata.ts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export interface IWrappedData<T> {
|
||||||
|
data: T;
|
||||||
|
}
|
@ -8,7 +8,7 @@ import * as code from './code/index.js';
|
|||||||
import * as container from './container/index.js';
|
import * as container from './container/index.js';
|
||||||
|
|
||||||
// Database
|
// Database
|
||||||
import * as database from './database/mongodescriptor.js';
|
import * as database from './database/index.js';
|
||||||
|
|
||||||
// Finance
|
// Finance
|
||||||
import * as finance from './finance/index.js';
|
import * as finance from './finance/index.js';
|
||||||
@ -25,6 +25,9 @@ import * as network from './network/index.js';
|
|||||||
// SaaS
|
// SaaS
|
||||||
import * as saas from './saas/index.js';
|
import * as saas from './saas/index.js';
|
||||||
|
|
||||||
|
// Website
|
||||||
|
export * from './website/index.js';
|
||||||
|
|
||||||
export { business, container, code, database, finance, content, general, network, saas };
|
export { business, container, code, database, finance, content, general, network, saas };
|
||||||
|
|
||||||
import type * as typeFest from 'type-fest';
|
import type * as typeFest from 'type-fest';
|
||||||
|
1
ts/website/index.ts
Normal file
1
ts/website/index.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export * from './menuitem.js';
|
4
ts/website/menuitem.ts
Normal file
4
ts/website/menuitem.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export interface IMenuItem {
|
||||||
|
name: string;
|
||||||
|
action: <T = any>() => void | Promise<T>;
|
||||||
|
}
|
Reference in New Issue
Block a user