fix(core): add ICheckingAccount, IPayment, TCurrency

This commit is contained in:
Philipp Kunz 2018-07-22 18:19:47 +02:00
parent e10a45a4d0
commit 4a54935521
4 changed files with 19 additions and 1 deletions

View 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
View File

@ -0,0 +1 @@
export type TCurrency = 'eur' | 'usd' | 'sek'

4
ts/finance/payment.ts Normal file
View File

@ -0,0 +1,4 @@
export interface IPayment {
amount: number;
date: Date;
}

View File

@ -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';