Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
65d87fdefb | |||
4a54935521 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "1.0.32",
|
"version": "1.0.33",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tsclass/tsclass",
|
"name": "@tsclass/tsclass",
|
||||||
"version": "1.0.32",
|
"version": "1.0.33",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "common classes for TypeScript",
|
"description": "common classes for TypeScript",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
8
ts/finance/checkingaccount.ts
Normal file
8
ts/finance/checkingaccount.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
import { TCurrency } from "./currency";
|
||||||
|
import { IPayment } from "./payment";
|
||||||
|
|
||||||
|
export interface ICheckingAccount {
|
||||||
|
name: string;
|
||||||
|
currency: TCurrency;
|
||||||
|
payment: IPayment[];
|
||||||
|
}
|
1
ts/finance/currency.ts
Normal file
1
ts/finance/currency.ts
Normal file
@ -0,0 +1 @@
|
|||||||
|
export type TCurrency = 'eur' | 'usd' | 'sek'
|
4
ts/finance/payment.ts
Normal file
4
ts/finance/payment.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export interface IPayment {
|
||||||
|
amount: number;
|
||||||
|
date: Date;
|
||||||
|
}
|
@ -2,8 +2,13 @@
|
|||||||
export * from './business/address';
|
export * from './business/address';
|
||||||
export * from './business/company';
|
export * from './business/company';
|
||||||
export * from './business/contact';
|
export * from './business/contact';
|
||||||
export * from './finance/invoice';
|
|
||||||
|
// Finance
|
||||||
|
export * from './finance/checkingaccount';
|
||||||
|
export * from './finance/currency';
|
||||||
export * from './finance/expense';
|
export * from './finance/expense';
|
||||||
|
export * from './finance/invoice';
|
||||||
|
export * from './finance/payment'
|
||||||
|
|
||||||
// Cloud
|
// Cloud
|
||||||
export * from './cloud/dns';
|
export * from './cloud/dns';
|
||||||
|
Reference in New Issue
Block a user