Refactor: Moved various Schemas into their files
Feature: Complex voucher locking where specific types of vouchers and accounts can be locked and the locks can also be times to expire after some time. Highest index takes priority
This commit is contained in:
1 parent
350edf7126
commit
2820813cb6
44 files changed
+1220
-578
No files matched your search
@@ -2,11 +2,13 @@ import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
|
||||
import { AccountTypeResolver } from '../account/account-type-resolver.service';
|
||||
import { AuthGuard } from '../auth/auth-guard.service';
|
||||
|
||||
import { LockInformationResolver } from './lock-information-resolver.service';
|
||||
import { MaintenanceResolver } from './maintenance-resolver.service';
|
||||
import { SettingsComponent } from './settings.component';
|
||||
import { VoucherTypeResolver } from './voucher-type-resolver.service';
|
||||
|
||||
const settingsRoutes: Routes = [
|
||||
{
|
||||
@@ -19,6 +21,8 @@ const settingsRoutes: Routes = [
|
||||
resolve: {
|
||||
maintenance: MaintenanceResolver,
|
||||
lockInformation: LockInformationResolver,
|
||||
accountTypes: AccountTypeResolver,
|
||||
voucherTypes: VoucherTypeResolver,
|
||||
},
|
||||
runGuardsAndResolvers: 'always',
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user