@rxap/environment 22.0.0-dev.1 → 22.0.0-dev.2
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 +12 -0
- package/README.md +5 -3
- package/compodoc/changelog.html +11 -0
- package/compodoc/index.html +4 -3
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/llms.txt +3 -1
- package/compodoc/miscellaneous/functions.html +81 -0
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +83 -59
- package/docs/html/classes/EnvironmentComponent.html +5 -5
- package/docs/html/functions/DetermineProductionEnvironmentName.html +4 -4
- package/docs/html/functions/DetermineReleaseName.html +4 -4
- package/docs/html/functions/IsNotReleaseVersion.html +4 -4
- package/docs/html/functions/ProvideEnvironment.html +4 -4
- package/docs/html/functions/UpdateEnvironment.html +4 -4
- package/docs/html/hierarchy.html +4 -4
- package/docs/html/index.html +8 -7
- package/docs/html/interfaces/Environment.html +20 -20
- package/docs/html/modules.html +4 -4
- package/docs/html/types/AnySchema.html +5 -5
- package/docs/html/variables/RXAP_ENVIRONMENT.html +4 -4
- package/docs/markdown/README.md +6 -4
- package/docs/markdown/classes/EnvironmentComponent.md +3 -3
- package/docs/markdown/functions/DetermineProductionEnvironmentName.md +2 -2
- package/docs/markdown/functions/DetermineReleaseName.md +2 -2
- package/docs/markdown/functions/IsNotReleaseVersion.md +2 -2
- package/docs/markdown/functions/ProvideEnvironment.md +2 -2
- package/docs/markdown/functions/UpdateEnvironment.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/Environment.md +18 -18
- package/docs/markdown/type-aliases/AnySchema.md +3 -3
- package/docs/markdown/variables/RXAP_ENVIRONMENT.md +2 -2
- package/docs/wiki/Class.EnvironmentComponent.md +2 -2
- package/docs/wiki/Function.DetermineProductionEnvironmentName.md +1 -1
- package/docs/wiki/Function.DetermineReleaseName.md +1 -1
- package/docs/wiki/Function.IsNotReleaseVersion.md +1 -1
- package/docs/wiki/Function.ProvideEnvironment.md +1 -1
- package/docs/wiki/Function.UpdateEnvironment.md +1 -1
- package/docs/wiki/Home.md +5 -3
- package/docs/wiki/Interface.Environment.md +17 -17
- package/docs/wiki/TypeAlias.AnySchema.md +2 -2
- package/docs/wiki/Variable.RXAP_ENVIRONMENT.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/generators.json +16 -0
- package/package.json +4 -6
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/init/schema.json +8 -0
- package/src/generators/package.json +3 -0
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/compodoc/modules/EnvironmentComponentModule/dependencies.svg +0 -66
- package/compodoc/modules/EnvironmentComponentModule.html +0 -426
- package/theme.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RXAP_ENVIRONMENT | @rxap/environment - v22.0.0-dev.
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@rxap/environment - v22.0.0-dev.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>RXAP_ENVIRONMENT | @rxap/environment - v22.0.0-dev.2</title><meta name="description" content="Documentation for @rxap/environment"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@rxap/environment - v22.0.0-dev.2</a>
|
|
3
3
|
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
4
|
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
5
|
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<h1>Variable RXAP_ENVIRONMENT<code class="tsd-tag">Const</code></h1></div>
|
|
13
13
|
<div class="tsd-signature"><span class="tsd-kind-variable">RXAP_ENVIRONMENT</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">InjectionToken</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/Environment.html" class="tsd-signature-type tsd-kind-interface">Environment</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
|
|
14
14
|
<ul>
|
|
15
|
-
<li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/
|
|
15
|
+
<li>Defined in <a href="https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment/tokens.ts#L4">environment/tokens.ts:4</a></li></ul></aside></div>
|
|
16
16
|
<div class="col-sidebar">
|
|
17
17
|
<div class="page-menu">
|
|
18
18
|
<div class="tsd-navigation settings">
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
27
27
|
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
28
28
|
<div class="site-menu">
|
|
29
|
-
<nav class="tsd-navigation"><a href="../modules.html">@rxap/environment - v22.0.0-dev.
|
|
29
|
+
<nav class="tsd-navigation"><a href="../modules.html">@rxap/environment - v22.0.0-dev.2</a>
|
|
30
30
|
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
31
31
|
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
32
32
|
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
package/docs/markdown/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
**@rxap/environment v22.0.0-dev.
|
|
1
|
+
**@rxap/environment v22.0.0-dev.2**
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -19,15 +19,17 @@ Provides utilities and components for managing application environments in Angul
|
|
|
19
19
|
|
|
20
20
|
**Add the package to your workspace:**
|
|
21
21
|
```bash
|
|
22
|
-
|
|
22
|
+
npm install @rxap/environment
|
|
23
23
|
```
|
|
24
|
+
With pnpm or yarn use `pnpm add` or `yarn add` instead of `npm install`.
|
|
25
|
+
|
|
24
26
|
**Install peer dependencies:**
|
|
25
27
|
```bash
|
|
26
|
-
|
|
28
|
+
npm install @angular/common @angular/core
|
|
27
29
|
```
|
|
28
30
|
**Execute the init generator:**
|
|
29
31
|
```bash
|
|
30
|
-
|
|
32
|
+
nx g @rxap/environment:init
|
|
31
33
|
```
|
|
32
34
|
# Generators
|
|
33
35
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v22.0.0-dev.
|
|
1
|
+
[**@rxap/environment v22.0.0-dev.2**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: EnvironmentComponent
|
|
8
8
|
|
|
9
|
-
Defined in: [environment/environment.component.ts:29](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [environment/environment.component.ts:29](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment/environment.component.ts#L29)
|
|
10
10
|
|
|
11
11
|
## Constructors
|
|
12
12
|
|
|
@@ -24,4 +24,4 @@ Defined in: [environment/environment.component.ts:29](https://gitlab.com/rxap/pa
|
|
|
24
24
|
|
|
25
25
|
> `readonly` **environment**: [`Environment`](../interfaces/Environment.md)
|
|
26
26
|
|
|
27
|
-
Defined in: [environment/environment.component.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
27
|
+
Defined in: [environment/environment.component.ts:31](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment/environment.component.ts#L31)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v22.0.0-dev.
|
|
1
|
+
[**@rxap/environment v22.0.0-dev.2**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **DetermineProductionEnvironmentName**(`environment`): `string` \| `undefined`
|
|
10
10
|
|
|
11
|
-
Defined in: [determine-production-environment-name.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [determine-production-environment-name.ts:3](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/determine-production-environment-name.ts#L3)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v22.0.0-dev.
|
|
1
|
+
[**@rxap/environment v22.0.0-dev.2**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **DetermineReleaseName**(`environment`, `defaultReleaseName?`): `string`
|
|
10
10
|
|
|
11
|
-
Defined in: [determine-release-name.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [determine-release-name.ts:3](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/determine-release-name.ts#L3)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v22.0.0-dev.
|
|
1
|
+
[**@rxap/environment v22.0.0-dev.2**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **IsNotReleaseVersion**(`environment`): `boolean`
|
|
10
10
|
|
|
11
|
-
Defined in: [is-not-release-version.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [is-not-release-version.ts:3](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/is-not-release-version.ts#L3)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v22.0.0-dev.
|
|
1
|
+
[**@rxap/environment v22.0.0-dev.2**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **ProvideEnvironment**(`environment`): `object`
|
|
10
10
|
|
|
11
|
-
Defined in: [provide-environment.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [provide-environment.ts:4](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/provide-environment.ts#L4)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v22.0.0-dev.
|
|
1
|
+
[**@rxap/environment v22.0.0-dev.2**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **UpdateEnvironment**(`environment`, `url?`): `Promise`\<`void`\>
|
|
10
10
|
|
|
11
|
-
Defined in: [update-environment.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [update-environment.ts:6](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/update-environment.ts#L6)
|
|
12
12
|
|
|
13
13
|
Loads the build.json and adds all keys to the environment object
|
|
14
14
|
|
package/docs/markdown/globals.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v22.0.0-dev.
|
|
1
|
+
[**@rxap/environment v22.0.0-dev.2**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: Environment
|
|
8
8
|
|
|
9
|
-
Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L3)
|
|
10
10
|
|
|
11
11
|
## Indexable
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/947fa470d
|
|
|
18
18
|
|
|
19
19
|
> **app**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [environment.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [environment.ts:7](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L7)
|
|
22
22
|
|
|
23
23
|
The name of the app
|
|
24
24
|
|
|
@@ -28,7 +28,7 @@ The name of the app
|
|
|
28
28
|
|
|
29
29
|
> `optional` **branch?**: `string` \| `null`
|
|
30
30
|
|
|
31
|
-
Defined in: [environment.ts:35](https://gitlab.com/rxap/packages/-/blob/
|
|
31
|
+
Defined in: [environment.ts:35](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L35)
|
|
32
32
|
|
|
33
33
|
The current branch
|
|
34
34
|
|
|
@@ -38,7 +38,7 @@ The current branch
|
|
|
38
38
|
|
|
39
39
|
> `optional` **commit?**: `string` \| `null`
|
|
40
40
|
|
|
41
|
-
Defined in: [environment.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
41
|
+
Defined in: [environment.ts:27](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L27)
|
|
42
42
|
|
|
43
43
|
The current commit
|
|
44
44
|
|
|
@@ -48,7 +48,7 @@ The current commit
|
|
|
48
48
|
|
|
49
49
|
> `optional` **config?**: `string` \| \{ `fromLocalStorage?`: `boolean`; `fromUrlParam?`: `string` \| `boolean`; `schema?`: [`AnySchema`](../type-aliases/AnySchema.md); `static?`: `Record`\<`string`, `any`\>; `strategy?`: `string`; `url?`: `string` \| `string`[] \| ((`environment`) => `string` \| `string`[]); \}
|
|
50
50
|
|
|
51
|
-
Defined in: [environment.ts:66](https://gitlab.com/rxap/packages/-/blob/
|
|
51
|
+
Defined in: [environment.ts:66](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L66)
|
|
52
52
|
|
|
53
53
|
#### Union Members
|
|
54
54
|
|
|
@@ -92,7 +92,7 @@ static config values
|
|
|
92
92
|
|
|
93
93
|
> `optional` **moduleFederation?**: `object`
|
|
94
94
|
|
|
95
|
-
Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/
|
|
95
|
+
Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L47)
|
|
96
96
|
|
|
97
97
|
#### manifest?
|
|
98
98
|
|
|
@@ -104,7 +104,7 @@ Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
104
104
|
|
|
105
105
|
> `optional` **name?**: `string`
|
|
106
106
|
|
|
107
|
-
Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
107
|
+
Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L11)
|
|
108
108
|
|
|
109
109
|
The name of the environment
|
|
110
110
|
|
|
@@ -114,7 +114,7 @@ The name of the environment
|
|
|
114
114
|
|
|
115
115
|
> `optional` **openApi?**: `object`
|
|
116
116
|
|
|
117
|
-
Defined in: [environment.ts:80](https://gitlab.com/rxap/packages/-/blob/
|
|
117
|
+
Defined in: [environment.ts:80](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L80)
|
|
118
118
|
|
|
119
119
|
#### load?
|
|
120
120
|
|
|
@@ -126,7 +126,7 @@ Defined in: [environment.ts:80](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
126
126
|
|
|
127
127
|
> `optional` **origin?**: `string`
|
|
128
128
|
|
|
129
|
-
Defined in: [environment.ts:78](https://gitlab.com/rxap/packages/-/blob/
|
|
129
|
+
Defined in: [environment.ts:78](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L78)
|
|
130
130
|
|
|
131
131
|
***
|
|
132
132
|
|
|
@@ -134,7 +134,7 @@ Defined in: [environment.ts:78](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
134
134
|
|
|
135
135
|
> **production**: `boolean`
|
|
136
136
|
|
|
137
|
-
Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
137
|
+
Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L15)
|
|
138
138
|
|
|
139
139
|
The app is compiled from code in the production branch
|
|
140
140
|
|
|
@@ -144,7 +144,7 @@ The app is compiled from code in the production branch
|
|
|
144
144
|
|
|
145
145
|
> `optional` **release?**: `string` \| `null`
|
|
146
146
|
|
|
147
|
-
Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
147
|
+
Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L23)
|
|
148
148
|
|
|
149
149
|
The current app release
|
|
150
150
|
|
|
@@ -154,7 +154,7 @@ The current app release
|
|
|
154
154
|
|
|
155
155
|
> `optional` **sentry?**: `object`
|
|
156
156
|
|
|
157
|
-
Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/
|
|
157
|
+
Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L51)
|
|
158
158
|
|
|
159
159
|
#### debug?
|
|
160
160
|
|
|
@@ -198,7 +198,7 @@ Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
198
198
|
|
|
199
199
|
> `optional` **serviceWorker?**: `boolean`
|
|
200
200
|
|
|
201
|
-
Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
201
|
+
Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L19)
|
|
202
202
|
|
|
203
203
|
Where the service worker is active or not
|
|
204
204
|
|
|
@@ -208,7 +208,7 @@ Where the service worker is active or not
|
|
|
208
208
|
|
|
209
209
|
> `optional` **slug?**: `object`
|
|
210
210
|
|
|
211
|
-
Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/
|
|
211
|
+
Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L43)
|
|
212
212
|
|
|
213
213
|
#### name?
|
|
214
214
|
|
|
@@ -220,7 +220,7 @@ Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
220
220
|
|
|
221
221
|
> `optional` **tag?**: `string` \| `null`
|
|
222
222
|
|
|
223
|
-
Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/
|
|
223
|
+
Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L39)
|
|
224
224
|
|
|
225
225
|
The current tag
|
|
226
226
|
|
|
@@ -230,7 +230,7 @@ The current tag
|
|
|
230
230
|
|
|
231
231
|
> `optional` **tier?**: `string`
|
|
232
232
|
|
|
233
|
-
Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/
|
|
233
|
+
Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L41)
|
|
234
234
|
|
|
235
235
|
***
|
|
236
236
|
|
|
@@ -238,6 +238,6 @@ Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
238
238
|
|
|
239
239
|
> `optional` **timestamp?**: `string` \| `number` \| `null`
|
|
240
240
|
|
|
241
|
-
Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
241
|
+
Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L31)
|
|
242
242
|
|
|
243
243
|
The build timestamp
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v22.0.0-dev.
|
|
1
|
+
[**@rxap/environment v22.0.0-dev.2**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **AnySchema** = `object`
|
|
10
10
|
|
|
11
|
-
Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L1)
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
@@ -16,7 +16,7 @@ Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/947fa470d
|
|
|
16
16
|
|
|
17
17
|
> **validateAsync**: (...`args`) => `any`
|
|
18
18
|
|
|
19
|
-
Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/
|
|
19
|
+
Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L1)
|
|
20
20
|
|
|
21
21
|
#### Parameters
|
|
22
22
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v22.0.0-dev.
|
|
1
|
+
[**@rxap/environment v22.0.0-dev.2**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
|
|
9
9
|
> `const` **RXAP\_ENVIRONMENT**: `InjectionToken`\<[`Environment`](../interfaces/Environment.md)\>
|
|
10
10
|
|
|
11
|
-
Defined in: [environment/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [environment/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment/tokens.ts#L4)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: EnvironmentComponent
|
|
4
4
|
|
|
5
|
-
Defined in: [environment/environment.component.ts:29](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [environment/environment.component.ts:29](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment/environment.component.ts#L29)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
@@ -20,4 +20,4 @@ Defined in: [environment/environment.component.ts:29](https://gitlab.com/rxap/pa
|
|
|
20
20
|
|
|
21
21
|
> `readonly` **environment**: [`Environment`](../wiki/Interface.Environment)
|
|
22
22
|
|
|
23
|
-
Defined in: [environment/environment.component.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
23
|
+
Defined in: [environment/environment.component.ts:31](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment/environment.component.ts#L31)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **DetermineProductionEnvironmentName**(`environment`): `string` \| `undefined`
|
|
6
6
|
|
|
7
|
-
Defined in: [determine-production-environment-name.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [determine-production-environment-name.ts:3](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/determine-production-environment-name.ts#L3)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **DetermineReleaseName**(`environment`, `defaultReleaseName?`): `string`
|
|
6
6
|
|
|
7
|
-
Defined in: [determine-release-name.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [determine-release-name.ts:3](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/determine-release-name.ts#L3)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **IsNotReleaseVersion**(`environment`): `boolean`
|
|
6
6
|
|
|
7
|
-
Defined in: [is-not-release-version.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [is-not-release-version.ts:3](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/is-not-release-version.ts#L3)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **ProvideEnvironment**(`environment`): `object`
|
|
6
6
|
|
|
7
|
-
Defined in: [provide-environment.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [provide-environment.ts:4](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/provide-environment.ts#L4)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **UpdateEnvironment**(`environment`, `url?`): `Promise`\<`void`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [update-environment.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [update-environment.ts:6](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/update-environment.ts#L6)
|
|
8
8
|
|
|
9
9
|
Loads the build.json and adds all keys to the environment object
|
|
10
10
|
|
package/docs/wiki/Home.md
CHANGED
|
@@ -15,15 +15,17 @@ Provides utilities and components for managing application environments in Angul
|
|
|
15
15
|
|
|
16
16
|
**Add the package to your workspace:**
|
|
17
17
|
```bash
|
|
18
|
-
|
|
18
|
+
npm install @rxap/environment
|
|
19
19
|
```
|
|
20
|
+
With pnpm or yarn use `pnpm add` or `yarn add` instead of `npm install`.
|
|
21
|
+
|
|
20
22
|
**Install peer dependencies:**
|
|
21
23
|
```bash
|
|
22
|
-
|
|
24
|
+
npm install @angular/common @angular/core
|
|
23
25
|
```
|
|
24
26
|
**Execute the init generator:**
|
|
25
27
|
```bash
|
|
26
|
-
|
|
28
|
+
nx g @rxap/environment:init
|
|
27
29
|
```
|
|
28
30
|
# Generators
|
|
29
31
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: Environment
|
|
4
4
|
|
|
5
|
-
Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L3)
|
|
6
6
|
|
|
7
7
|
## Indexable
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ Defined in: [environment.ts:3](https://gitlab.com/rxap/packages/-/blob/947fa470d
|
|
|
14
14
|
|
|
15
15
|
> **app**: `string`
|
|
16
16
|
|
|
17
|
-
Defined in: [environment.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [environment.ts:7](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L7)
|
|
18
18
|
|
|
19
19
|
The name of the app
|
|
20
20
|
|
|
@@ -24,7 +24,7 @@ The name of the app
|
|
|
24
24
|
|
|
25
25
|
> `optional` **branch?**: `string` \| `null`
|
|
26
26
|
|
|
27
|
-
Defined in: [environment.ts:35](https://gitlab.com/rxap/packages/-/blob/
|
|
27
|
+
Defined in: [environment.ts:35](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L35)
|
|
28
28
|
|
|
29
29
|
The current branch
|
|
30
30
|
|
|
@@ -34,7 +34,7 @@ The current branch
|
|
|
34
34
|
|
|
35
35
|
> `optional` **commit?**: `string` \| `null`
|
|
36
36
|
|
|
37
|
-
Defined in: [environment.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
37
|
+
Defined in: [environment.ts:27](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L27)
|
|
38
38
|
|
|
39
39
|
The current commit
|
|
40
40
|
|
|
@@ -44,7 +44,7 @@ The current commit
|
|
|
44
44
|
|
|
45
45
|
> `optional` **config?**: `string` \| \{ `fromLocalStorage?`: `boolean`; `fromUrlParam?`: `string` \| `boolean`; `schema?`: [`AnySchema`](../wiki/TypeAlias.AnySchema); `static?`: `Record`\<`string`, `any`\>; `strategy?`: `string`; `url?`: `string` \| `string`[] \| ((`environment`) => `string` \| `string`[]); \}
|
|
46
46
|
|
|
47
|
-
Defined in: [environment.ts:66](https://gitlab.com/rxap/packages/-/blob/
|
|
47
|
+
Defined in: [environment.ts:66](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L66)
|
|
48
48
|
|
|
49
49
|
#### Union Members
|
|
50
50
|
|
|
@@ -88,7 +88,7 @@ static config values
|
|
|
88
88
|
|
|
89
89
|
> `optional` **moduleFederation?**: `object`
|
|
90
90
|
|
|
91
|
-
Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/
|
|
91
|
+
Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L47)
|
|
92
92
|
|
|
93
93
|
#### manifest?
|
|
94
94
|
|
|
@@ -100,7 +100,7 @@ Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
100
100
|
|
|
101
101
|
> `optional` **name?**: `string`
|
|
102
102
|
|
|
103
|
-
Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
103
|
+
Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L11)
|
|
104
104
|
|
|
105
105
|
The name of the environment
|
|
106
106
|
|
|
@@ -110,7 +110,7 @@ The name of the environment
|
|
|
110
110
|
|
|
111
111
|
> `optional` **openApi?**: `object`
|
|
112
112
|
|
|
113
|
-
Defined in: [environment.ts:80](https://gitlab.com/rxap/packages/-/blob/
|
|
113
|
+
Defined in: [environment.ts:80](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L80)
|
|
114
114
|
|
|
115
115
|
#### load?
|
|
116
116
|
|
|
@@ -122,7 +122,7 @@ Defined in: [environment.ts:80](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
122
122
|
|
|
123
123
|
> `optional` **origin?**: `string`
|
|
124
124
|
|
|
125
|
-
Defined in: [environment.ts:78](https://gitlab.com/rxap/packages/-/blob/
|
|
125
|
+
Defined in: [environment.ts:78](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L78)
|
|
126
126
|
|
|
127
127
|
***
|
|
128
128
|
|
|
@@ -130,7 +130,7 @@ Defined in: [environment.ts:78](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
130
130
|
|
|
131
131
|
> **production**: `boolean`
|
|
132
132
|
|
|
133
|
-
Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
133
|
+
Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L15)
|
|
134
134
|
|
|
135
135
|
The app is compiled from code in the production branch
|
|
136
136
|
|
|
@@ -140,7 +140,7 @@ The app is compiled from code in the production branch
|
|
|
140
140
|
|
|
141
141
|
> `optional` **release?**: `string` \| `null`
|
|
142
142
|
|
|
143
|
-
Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
143
|
+
Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L23)
|
|
144
144
|
|
|
145
145
|
The current app release
|
|
146
146
|
|
|
@@ -150,7 +150,7 @@ The current app release
|
|
|
150
150
|
|
|
151
151
|
> `optional` **sentry?**: `object`
|
|
152
152
|
|
|
153
|
-
Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/
|
|
153
|
+
Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L51)
|
|
154
154
|
|
|
155
155
|
#### debug?
|
|
156
156
|
|
|
@@ -194,7 +194,7 @@ Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
194
194
|
|
|
195
195
|
> `optional` **serviceWorker?**: `boolean`
|
|
196
196
|
|
|
197
|
-
Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
197
|
+
Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L19)
|
|
198
198
|
|
|
199
199
|
Where the service worker is active or not
|
|
200
200
|
|
|
@@ -204,7 +204,7 @@ Where the service worker is active or not
|
|
|
204
204
|
|
|
205
205
|
> `optional` **slug?**: `object`
|
|
206
206
|
|
|
207
|
-
Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/
|
|
207
|
+
Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L43)
|
|
208
208
|
|
|
209
209
|
#### name?
|
|
210
210
|
|
|
@@ -216,7 +216,7 @@ Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
216
216
|
|
|
217
217
|
> `optional` **tag?**: `string` \| `null`
|
|
218
218
|
|
|
219
|
-
Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/
|
|
219
|
+
Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L39)
|
|
220
220
|
|
|
221
221
|
The current tag
|
|
222
222
|
|
|
@@ -226,7 +226,7 @@ The current tag
|
|
|
226
226
|
|
|
227
227
|
> `optional` **tier?**: `string`
|
|
228
228
|
|
|
229
|
-
Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/
|
|
229
|
+
Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L41)
|
|
230
230
|
|
|
231
231
|
***
|
|
232
232
|
|
|
@@ -234,6 +234,6 @@ Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/947fa470
|
|
|
234
234
|
|
|
235
235
|
> `optional` **timestamp?**: `string` \| `number` \| `null`
|
|
236
236
|
|
|
237
|
-
Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
237
|
+
Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L31)
|
|
238
238
|
|
|
239
239
|
The build timestamp
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **AnySchema** = `object`
|
|
6
6
|
|
|
7
|
-
Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L1)
|
|
8
8
|
|
|
9
9
|
## Properties
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/947fa470d
|
|
|
12
12
|
|
|
13
13
|
> **validateAsync**: (...`args`) => `any`
|
|
14
14
|
|
|
15
|
-
Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/
|
|
15
|
+
Defined in: [environment.ts:1](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/environment/src/lib/environment.ts#L1)
|
|
16
16
|
|
|
17
17
|
#### Parameters
|
|
18
18
|
|