Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
b63ca0fd23 | |||
c95fd41f59 | |||
38e5bd39d9 | |||
f978af4b4f | |||
6f35eed240 | |||
636177b119 | |||
05bd86a0ce | |||
d4cc9f7843 |
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.17",
|
"version": "4.0.21",
|
||||||
"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.17',
|
version: '4.0.21',
|
||||||
description: 'common classes for TypeScript'
|
description: 'common classes for TypeScript'
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { finance } from '../index.js'
|
||||||
import { business } from '../index.js';
|
import { business } from '../index.js';
|
||||||
|
|
||||||
export type TContactSalutation = 'Mr' | 'Ms' | 'Mrs';
|
export type TContactSalutation = 'Mr' | 'Ms' | 'Mrs';
|
||||||
@ -33,8 +34,5 @@ export interface IContact {
|
|||||||
// financial
|
// financial
|
||||||
// =========
|
// =========
|
||||||
vatId?: string;
|
vatId?: string;
|
||||||
sepaConnection?: {
|
sepaConnection?: finance.ISepaConnection;
|
||||||
iban: string;
|
|
||||||
bic: string;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
@ -2,4 +2,5 @@ export * from './checkingaccount.js';
|
|||||||
export * from './currency.js';
|
export * from './currency.js';
|
||||||
export * from './expense.js';
|
export * from './expense.js';
|
||||||
export * from './invoice.js';
|
export * from './invoice.js';
|
||||||
|
export * from './payment.js';
|
||||||
export * from './transaction.js';
|
export * from './transaction.js';
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { business } from '../index.js';
|
import { business, finance } from '../index.js';
|
||||||
|
|
||||||
export type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded';
|
export type TInvoiceStatus = 'draft' | 'invoice' | 'paid' | 'refunded';
|
||||||
|
|
||||||
@ -34,4 +34,5 @@ export interface IInvoice {
|
|||||||
items: IInvoiceItem[];
|
items: IInvoiceItem[];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
paymentOptions?: finance.IPaymentOptionInfo;
|
||||||
}
|
}
|
||||||
|
14
ts/finance/payment.ts
Normal file
14
ts/finance/payment.ts
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
export interface ISepaConnection {
|
||||||
|
institution?: string;
|
||||||
|
iban: string;
|
||||||
|
bic: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IPayPalConnection {
|
||||||
|
email: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IPaymentOptionInfo {
|
||||||
|
sepaConnection: ISepaConnection;
|
||||||
|
payPal: IPayPalConnection;
|
||||||
|
}
|
@ -25,7 +25,10 @@ import * as network from './network/index.js';
|
|||||||
// SaaS
|
// SaaS
|
||||||
import * as saas from './saas/index.js';
|
import * as saas from './saas/index.js';
|
||||||
|
|
||||||
export { business, container, code, database, finance, content, general, network, saas };
|
// Website
|
||||||
|
import * as website from './website/index.js';
|
||||||
|
|
||||||
|
export { business, container, code, database, finance, content, general, network, saas, website };
|
||||||
|
|
||||||
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