build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
@@ -1,48 +1,48 @@
|
||||
import { OptionData } from './option-data.model';
|
||||
|
||||
export interface Currency {
|
||||
code: string;
|
||||
name: string;
|
||||
code: string;
|
||||
name: string;
|
||||
decimalPlaces?: number;
|
||||
inMultiplesOf?: number;
|
||||
displaySymbol?: string;
|
||||
nameCode?: string;
|
||||
displayLabel?: string;
|
||||
nameCode?: string;
|
||||
displayLabel?: string;
|
||||
}
|
||||
|
||||
export interface GLAccount {
|
||||
id: number;
|
||||
name: string;
|
||||
glCode: string;
|
||||
description: string;
|
||||
nameDecorated?: string;
|
||||
disabled: boolean;
|
||||
manualEntriesAllowed: boolean;
|
||||
type: OptionData;
|
||||
usage: OptionData;
|
||||
parentId?: number;
|
||||
id: number;
|
||||
name: string;
|
||||
glCode: string;
|
||||
description: string;
|
||||
nameDecorated?: string;
|
||||
disabled: boolean;
|
||||
manualEntriesAllowed: boolean;
|
||||
type: OptionData;
|
||||
usage: OptionData;
|
||||
parentId?: number;
|
||||
}
|
||||
|
||||
export interface AccountingMapping {
|
||||
id: number;
|
||||
name: string;
|
||||
id: number;
|
||||
name: string;
|
||||
glCode: string;
|
||||
}
|
||||
|
||||
export interface ChargeToIncomeAccountMapping {
|
||||
charge: Charge;
|
||||
incomeAccount: AccountingMapping;
|
||||
charge: Charge;
|
||||
incomeAccount: AccountingMapping;
|
||||
}
|
||||
|
||||
export interface PaymentChannelToFundSourceMapping {
|
||||
paymentType: PaymentType;
|
||||
paymentType: PaymentType;
|
||||
fundSourceAccount: AccountingMapping;
|
||||
}
|
||||
|
||||
export interface ChargeOffReasonToExpenseAccountMapping {
|
||||
chargeOffReasonCodeValueId?: number;
|
||||
expenseAccountId? : number;
|
||||
chargeOffReasonCodeValue?: ChargeOffReasonCodeValue;
|
||||
expenseAccountId?: number;
|
||||
chargeOffReasonCodeValue?: ChargeOffReasonCodeValue;
|
||||
expenseAccount?: AccountingMapping;
|
||||
}
|
||||
|
||||
@@ -56,34 +56,34 @@ export interface ChargeOffReasonCodeValue {
|
||||
}
|
||||
|
||||
export interface PaymentType {
|
||||
id: number;
|
||||
name: string;
|
||||
id: number;
|
||||
name: string;
|
||||
isSystemDefined: boolean;
|
||||
}
|
||||
|
||||
export interface PaymentTypeOption {
|
||||
id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
isCashPayment: boolean;
|
||||
id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
isCashPayment: boolean;
|
||||
isSystemDefined: boolean;
|
||||
position: number;
|
||||
position: number;
|
||||
}
|
||||
|
||||
export interface Charge {
|
||||
id: number;
|
||||
name: string;
|
||||
active?: boolean;
|
||||
penalty: boolean;
|
||||
freeWithdrawal?: boolean;
|
||||
id: number;
|
||||
name: string;
|
||||
active?: boolean;
|
||||
penalty: boolean;
|
||||
freeWithdrawal?: boolean;
|
||||
freeWithdrawalChargeFrequency?: number;
|
||||
restartFrequency?: number;
|
||||
restartFrequencyEnum?: number;
|
||||
isPaymentType?: boolean;
|
||||
currency?: Currency;
|
||||
amount?: number;
|
||||
chargeTimeType?: OptionData;
|
||||
chargeAppliesTo?: OptionData;
|
||||
chargeCalculationType?: OptionData;
|
||||
chargePaymentMode?: OptionData;
|
||||
restartFrequency?: number;
|
||||
restartFrequencyEnum?: number;
|
||||
isPaymentType?: boolean;
|
||||
currency?: Currency;
|
||||
amount?: number;
|
||||
chargeTimeType?: OptionData;
|
||||
chargeAppliesTo?: OptionData;
|
||||
chargeCalculationType?: OptionData;
|
||||
chargePaymentMode?: OptionData;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user