move window.__config to an Angular constant; refactor AngularViewArray -> ViewArray + ViewArrayFactory
This commit is contained in:
parent
615e233671
commit
eea2a18c3f
16 changed files with 316 additions and 231 deletions
10
static/js/constants/quay-config.constant.ts
Normal file
10
static/js/constants/quay-config.constant.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* Configuration data set.
|
||||
*/
|
||||
export const CONFIG: any = (<any>window).__config;
|
||||
|
||||
|
||||
/**
|
||||
* REST API route information.
|
||||
*/
|
||||
export const ENDPOINTS: any = (<any>window).__endpoints;
|
Reference in a new issue