@rxap/environment 21.0.1 → 22.0.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +57 -5
- package/compodoc/components/EnvironmentComponent.html +87 -22
- package/compodoc/dependencies.html +84 -15
- package/compodoc/index.html +46 -5
- package/compodoc/interfaces/Environment.html +860 -671
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +25 -12
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +66 -0
- package/compodoc/miscellaneous/functions.html +63 -16
- package/compodoc/miscellaneous/typealiases.html +47 -5
- package/compodoc/miscellaneous/variables.html +58 -5
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +306 -343
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/EnvironmentComponent.html +70 -3
- package/docs/html/functions/DetermineProductionEnvironmentName.html +42 -1
- package/docs/html/functions/DetermineReleaseName.html +43 -1
- package/docs/html/functions/IsNotReleaseVersion.html +42 -1
- package/docs/html/functions/ProvideEnvironment.html +42 -1
- package/docs/html/functions/UpdateEnvironment.html +45 -2
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +40 -4
- package/docs/html/interfaces/Environment.html +188 -27
- package/docs/html/modules.html +52 -1
- package/docs/html/types/AnySchema.html +55 -1
- package/docs/html/variables/RXAP_ENVIRONMENT.html +33 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/EnvironmentComponent.md +6 -6
- package/docs/markdown/functions/DetermineProductionEnvironmentName.md +4 -4
- package/docs/markdown/functions/DetermineReleaseName.md +4 -4
- package/docs/markdown/functions/IsNotReleaseVersion.md +2 -2
- package/docs/markdown/functions/ProvideEnvironment.md +2 -2
- package/docs/markdown/functions/UpdateEnvironment.md +4 -4
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/Environment.md +63 -59
- package/docs/markdown/type-aliases/AnySchema.md +7 -5
- package/docs/markdown/variables/RXAP_ENVIRONMENT.md +2 -2
- package/docs/wiki/Class.EnvironmentComponent.md +5 -5
- package/docs/wiki/Function.DetermineProductionEnvironmentName.md +3 -3
- package/docs/wiki/Function.DetermineReleaseName.md +3 -3
- package/docs/wiki/Function.IsNotReleaseVersion.md +1 -1
- package/docs/wiki/Function.ProvideEnvironment.md +1 -1
- package/docs/wiki/Function.UpdateEnvironment.md +3 -3
- package/docs/wiki/Interface.Environment.md +62 -58
- package/docs/wiki/TypeAlias.AnySchema.md +6 -4
- package/docs/wiki/Variable.RXAP_ENVIRONMENT.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-environment.mjs +68 -51
- package/fesm2022/rxap-environment.mjs.map +1 -1
- package/package.json +7 -7
- package/types/rxap-environment.d.ts +92 -100
|
@@ -1,110 +1,102 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import { InjectionToken } from "@angular/core";
|
|
6
|
+
export type AnySchema = {
|
|
7
|
+
validateAsync: (...args: any[]) => any;
|
|
6
8
|
};
|
|
7
|
-
interface Environment {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
export interface Environment {
|
|
10
|
+
/**
|
|
11
|
+
* The name of the app
|
|
12
|
+
*/
|
|
13
|
+
app: string;
|
|
14
|
+
/**
|
|
15
|
+
* The name of the environment
|
|
16
|
+
*/
|
|
17
|
+
name?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The app is compiled from code in the production branch
|
|
20
|
+
*/
|
|
21
|
+
production: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Where the service worker is active or not
|
|
24
|
+
*/
|
|
25
|
+
serviceWorker?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The current app release
|
|
28
|
+
*/
|
|
29
|
+
release?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* The current commit
|
|
32
|
+
*/
|
|
33
|
+
commit?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* The build timestamp
|
|
36
|
+
*/
|
|
37
|
+
timestamp?: string | number | null;
|
|
38
|
+
/**
|
|
39
|
+
* The current branch
|
|
40
|
+
*/
|
|
41
|
+
branch?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The current tag
|
|
44
|
+
*/
|
|
45
|
+
tag?: string | null;
|
|
46
|
+
tier?: string;
|
|
47
|
+
slug?: {
|
|
15
48
|
name?: string;
|
|
49
|
+
};
|
|
50
|
+
moduleFederation?: {
|
|
51
|
+
manifest?: string | Record<string, string>;
|
|
52
|
+
};
|
|
53
|
+
sentry?: {
|
|
54
|
+
enabled?: boolean;
|
|
55
|
+
debug?: boolean;
|
|
56
|
+
dsn?: string;
|
|
57
|
+
integrations?: {
|
|
58
|
+
httpClient?: {
|
|
59
|
+
failedRequestTargets?: Array<string | RegExp>;
|
|
60
|
+
failedRequestStatusCodes?: Array<[number, number] | number>;
|
|
61
|
+
};
|
|
62
|
+
BrowserTracing?: {
|
|
63
|
+
tracePropagationTargets?: string[];
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
config?: string | {
|
|
68
|
+
fromUrlParam?: string | boolean;
|
|
69
|
+
fromLocalStorage?: boolean;
|
|
70
|
+
schema?: AnySchema;
|
|
71
|
+
strategy?: string;
|
|
72
|
+
url?: string | string[] | ((environment: Environment) => string | string[]);
|
|
16
73
|
/**
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
production: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Where the service worker is active or not
|
|
22
|
-
*/
|
|
23
|
-
serviceWorker?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* The current app release
|
|
26
|
-
*/
|
|
27
|
-
release?: string | null;
|
|
28
|
-
/**
|
|
29
|
-
* The current commit
|
|
30
|
-
*/
|
|
31
|
-
commit?: string | null;
|
|
32
|
-
/**
|
|
33
|
-
* The build timestamp
|
|
34
|
-
*/
|
|
35
|
-
timestamp?: string | number | null;
|
|
36
|
-
/**
|
|
37
|
-
* The current branch
|
|
38
|
-
*/
|
|
39
|
-
branch?: string | null;
|
|
40
|
-
/**
|
|
41
|
-
* The current tag
|
|
74
|
+
* static config values
|
|
42
75
|
*/
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
enabled?: boolean;
|
|
53
|
-
debug?: boolean;
|
|
54
|
-
dsn?: string;
|
|
55
|
-
integrations?: {
|
|
56
|
-
httpClient?: {
|
|
57
|
-
failedRequestTargets?: Array<string | RegExp>;
|
|
58
|
-
failedRequestStatusCodes?: Array<[number, number] | number>;
|
|
59
|
-
};
|
|
60
|
-
BrowserTracing?: {
|
|
61
|
-
tracePropagationTargets?: string[];
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
config?: string | {
|
|
66
|
-
fromUrlParam?: string | boolean;
|
|
67
|
-
fromLocalStorage?: boolean;
|
|
68
|
-
schema?: AnySchema;
|
|
69
|
-
strategy?: string;
|
|
70
|
-
url?: string | string[] | ((environment: Environment) => string | string[]);
|
|
71
|
-
/**
|
|
72
|
-
* static config values
|
|
73
|
-
*/
|
|
74
|
-
static?: Record<string, any>;
|
|
75
|
-
};
|
|
76
|
-
origin?: string;
|
|
77
|
-
openApi?: {
|
|
78
|
-
load?: {
|
|
79
|
-
openApiUrl?: string;
|
|
80
|
-
} | boolean;
|
|
81
|
-
};
|
|
82
|
-
[key: string]: any;
|
|
76
|
+
static?: Record<string, any>;
|
|
77
|
+
};
|
|
78
|
+
origin?: string;
|
|
79
|
+
openApi?: {
|
|
80
|
+
load?: {
|
|
81
|
+
openApiUrl?: string;
|
|
82
|
+
} | boolean;
|
|
83
|
+
};
|
|
84
|
+
[key: string]: any;
|
|
83
85
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EnvironmentComponent, "rxap-environment", never, {}, {}, never, ["*"], true, never>;
|
|
86
|
+
export declare class EnvironmentComponent {
|
|
87
|
+
readonly environment: Environment;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentComponent, never>;
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EnvironmentComponent, "rxap-environment", never, {}, {}, never, ["*"], true, never>;
|
|
89
90
|
}
|
|
90
|
-
|
|
91
|
-
declare
|
|
92
|
-
|
|
93
|
-
declare function
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
declare function IsNotReleaseVersion(environment: Environment): boolean;
|
|
98
|
-
|
|
99
|
-
declare function ProvideEnvironment(environment: Environment): {
|
|
100
|
-
provide: i0.InjectionToken<Environment>;
|
|
101
|
-
useValue: Environment;
|
|
91
|
+
export declare const RXAP_ENVIRONMENT: InjectionToken<Environment>;
|
|
92
|
+
export declare function DetermineProductionEnvironmentName(environment: Environment): string | undefined;
|
|
93
|
+
export declare function DetermineReleaseName(environment: Environment, defaultReleaseName?: string): string;
|
|
94
|
+
export declare function IsNotReleaseVersion(environment: Environment): boolean;
|
|
95
|
+
export declare function ProvideEnvironment(environment: Environment): {
|
|
96
|
+
provide: import("@angular/core").InjectionToken<Environment>;
|
|
97
|
+
useValue: Environment;
|
|
102
98
|
};
|
|
103
|
-
|
|
104
99
|
/**
|
|
105
100
|
* Loads the build.json and adds all keys to the environment object
|
|
106
101
|
*/
|
|
107
|
-
declare function UpdateEnvironment(environment: Environment, url?: string): Promise<void>;
|
|
108
|
-
|
|
109
|
-
export { DetermineProductionEnvironmentName, DetermineReleaseName, EnvironmentComponent, IsNotReleaseVersion, ProvideEnvironment, RXAP_ENVIRONMENT, UpdateEnvironment };
|
|
110
|
-
export type { AnySchema, Environment };
|
|
102
|
+
export declare function UpdateEnvironment(environment: Environment, url?: string): Promise<void>;
|