mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: refactoring middlewares to typescript.
This commit is contained in:
15
server/src/interfaces/Account.ts
Normal file
15
server/src/interfaces/Account.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
export interface IAccountDTO {
|
||||
name: string,
|
||||
code: string,
|
||||
description: string,
|
||||
accountTypeNumber: number,
|
||||
};
|
||||
|
||||
export interface IAccount {
|
||||
name: string,
|
||||
code: string,
|
||||
description: string,
|
||||
accountTypeNumber: number,
|
||||
};
|
||||
@@ -46,8 +46,15 @@ import {
|
||||
IOptionDTO,
|
||||
IOptionsDTO,
|
||||
} from './Options';
|
||||
import {
|
||||
IAccount,
|
||||
IAccountDTO,
|
||||
} from './Account';
|
||||
|
||||
export {
|
||||
IAccount,
|
||||
IAccountDTO,
|
||||
|
||||
IBillPaymentEntry,
|
||||
IBillPayment,
|
||||
IBillPaymentOTD,
|
||||
|
||||
Reference in New Issue
Block a user