|
|
@ -1,5 +1,5 @@ |
|
|
import { AuthConfig } from 'angular-oauth2-oidc'; |
|
|
|
|
|
import { Type } from '@angular/core'; |
|
|
import { Type } from '@angular/core'; |
|
|
|
|
|
import { AuthConfig } from 'angular-oauth2-oidc'; |
|
|
import { ApplicationConfiguration } from './application-configuration'; |
|
|
import { ApplicationConfiguration } from './application-configuration'; |
|
|
import { ABP } from './common'; |
|
|
import { ABP } from './common'; |
|
|
|
|
|
|
|
|
@ -13,6 +13,7 @@ export namespace Config { |
|
|
export interface Environment { |
|
|
export interface Environment { |
|
|
application: Application; |
|
|
application: Application; |
|
|
production: boolean; |
|
|
production: boolean; |
|
|
|
|
|
hmr?: boolean; |
|
|
oAuthConfig: AuthConfig; |
|
|
oAuthConfig: AuthConfig; |
|
|
apis: Apis; |
|
|
apis: Apis; |
|
|
localization: { defaultResourceName: string }; |
|
|
localization: { defaultResourceName: string }; |
|
|
@ -23,9 +24,15 @@ export namespace Config { |
|
|
logoUrl?: string; |
|
|
logoUrl?: string; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
export interface Apis { |
|
|
export type ApiConfig = { |
|
|
[key: string]: { [key: string]: string }; |
|
|
[key: string]: string; |
|
|
} |
|
|
url: string; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
export type Apis = { |
|
|
|
|
|
[key: string]: ApiConfig; |
|
|
|
|
|
default: ApiConfig; |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
export interface Requirements { |
|
|
export interface Requirements { |
|
|
layouts: Type<any>[]; |
|
|
layouts: Type<any>[]; |
|
|
|