build: Use prettier for typescript
Stop ignoring .ts files in prettier and fix existing issues.
This commit is contained in:
@@ -99,7 +99,7 @@ const routes: Routes = [
|
||||
resolve: {
|
||||
loanDetailsData: LoanDetailsResolver,
|
||||
loanDatatables: LoanDatatablesResolver
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'accountdetail',
|
||||
@@ -109,12 +109,12 @@ const routes: Routes = [
|
||||
{
|
||||
path: 'original-schedule',
|
||||
component: OriginalScheduleTabComponent,
|
||||
data: { title: 'Original Schedule', breadcrumb: 'Original Schedule', routeParamBreadcrumb: false },
|
||||
data: { title: 'Original Schedule', breadcrumb: 'Original Schedule', routeParamBreadcrumb: false }
|
||||
},
|
||||
{
|
||||
path: 'repayment-schedule',
|
||||
component: RepaymentScheduleTabComponent,
|
||||
data: { title: 'Repayment Schedule', breadcrumb: 'Repayment Schedule', routeParamBreadcrumb: false },
|
||||
data: { title: 'Repayment Schedule', breadcrumb: 'Repayment Schedule', routeParamBreadcrumb: false }
|
||||
},
|
||||
{
|
||||
path: 'transactions',
|
||||
@@ -123,7 +123,6 @@ const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: TransactionsTabComponent
|
||||
|
||||
},
|
||||
{
|
||||
path: 'export',
|
||||
@@ -143,7 +142,7 @@ const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: LoanDelinquencyTagsTabComponent
|
||||
},
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -162,7 +161,11 @@ const routes: Routes = [
|
||||
{
|
||||
path: 'loan-collateral',
|
||||
component: LoanCollateralTabComponent,
|
||||
data: { title: 'Loan Collateral Details', breadcrumb: 'Loan Collateral Details', routeParamBreadcrumb: false },
|
||||
data: {
|
||||
title: 'Loan Collateral Details',
|
||||
breadcrumb: 'Loan Collateral Details',
|
||||
routeParamBreadcrumb: false
|
||||
},
|
||||
resolve: {
|
||||
loanCollaterals: LoanCollateralsResolver
|
||||
}
|
||||
@@ -174,12 +177,12 @@ const routes: Routes = [
|
||||
resolve: {
|
||||
loanDetailsData: LoanDetailsResolver,
|
||||
interestPausesData: LoanTermVariationsResolver
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'loan-tranche-details',
|
||||
component: LoanTrancheDetailsComponent,
|
||||
data: { title: 'Loan Tranche Details', breadcrumb: 'Loan Tranche Details', routeParamBreadcrumb: false },
|
||||
data: { title: 'Loan Tranche Details', breadcrumb: 'Loan Tranche Details', routeParamBreadcrumb: false }
|
||||
},
|
||||
{
|
||||
path: 'overdue-charges',
|
||||
@@ -189,12 +192,16 @@ const routes: Routes = [
|
||||
{
|
||||
path: 'floating-interest-rates',
|
||||
component: FloatingInterestRatesComponent,
|
||||
data: { title: 'Floating Interest Rates', breadcrumb: 'Floating Interest Rates', routeParamBreadcrumb: false },
|
||||
data: {
|
||||
title: 'Floating Interest Rates',
|
||||
breadcrumb: 'Floating Interest Rates',
|
||||
routeParamBreadcrumb: false
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'charges',
|
||||
data: { title: 'Loans Account Charges', breadcrumb: 'Charges', routeParamBreadcrumb: false },
|
||||
component: ChargesTabComponent,
|
||||
component: ChargesTabComponent
|
||||
},
|
||||
{
|
||||
path: 'loan-documents',
|
||||
@@ -202,7 +209,7 @@ const routes: Routes = [
|
||||
data: { title: 'Loan Documents', breadcrumb: 'Loan Documents', routeParamBreadcrumb: false },
|
||||
resolve: {
|
||||
loanDocuments: LoanDocumentsResolver
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'notes',
|
||||
@@ -210,7 +217,7 @@ const routes: Routes = [
|
||||
data: { title: 'Notes', breadcrumb: 'Notes', routeParamBreadcrumb: false },
|
||||
resolve: {
|
||||
loanNotes: LoanNotesResolver
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'standing-instruction',
|
||||
@@ -228,16 +235,18 @@ const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'datatables',
|
||||
children: [{
|
||||
path: ':datatableName',
|
||||
component: DatatableTabComponent,
|
||||
data: { title: 'Data Table View', routeParamBreadcrumb: 'datatableName' },
|
||||
resolve: {
|
||||
loanDatatable: LoanDatatableResolver
|
||||
children: [
|
||||
{
|
||||
path: ':datatableName',
|
||||
component: DatatableTabComponent,
|
||||
data: { title: 'Data Table View', routeParamBreadcrumb: 'datatableName' },
|
||||
resolve: {
|
||||
loanDatatable: LoanDatatableResolver
|
||||
}
|
||||
}
|
||||
}]
|
||||
},
|
||||
],
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: ':loanId/transactions/:id',
|
||||
@@ -286,7 +295,8 @@ const routes: Routes = [
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
redirectTo: '../charges', pathMatch: 'prefix'
|
||||
redirectTo: '../charges',
|
||||
pathMatch: 'prefix'
|
||||
},
|
||||
{
|
||||
path: ':id',
|
||||
@@ -318,7 +328,8 @@ const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: ':loanId/transfer-funds',
|
||||
loadChildren: () => import('../account-transfers/account-transfers.module').then(m => m.AccountTransfersModule)
|
||||
loadChildren: () =>
|
||||
import('../account-transfers/account-transfers.module').then((m) => m.AccountTransfersModule)
|
||||
},
|
||||
{
|
||||
path: 'edit-loans-account',
|
||||
@@ -327,7 +338,7 @@ const routes: Routes = [
|
||||
resolve: {
|
||||
loansAccountAndTemplate: LoansAccountAndTemplateResolver
|
||||
}
|
||||
},
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -340,8 +351,8 @@ const routes: Routes = [
|
||||
resolve: {
|
||||
loansAccountTemplate: GLIMLoanTemplateResolver,
|
||||
gsimData: GSIMAccountsResolver,
|
||||
groupsData: GroupViewResolver,
|
||||
},
|
||||
groupsData: GroupViewResolver
|
||||
}
|
||||
},
|
||||
{
|
||||
path: ':glimId',
|
||||
@@ -350,7 +361,7 @@ const routes: Routes = [
|
||||
resolve: {
|
||||
glimData: GLIMViewResolver,
|
||||
groupsData: GroupAccountsResolver
|
||||
},
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -383,5 +394,4 @@ const routes: Routes = [
|
||||
LoanTermVariationsResolver
|
||||
]
|
||||
})
|
||||
|
||||
export class LoansRoutingModule { }
|
||||
export class LoansRoutingModule {}
|
||||
|
||||
Reference in New Issue
Block a user