@rxap/environment 19.0.4-dev.1 → 19.1.0-dev.0
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 +10 -0
- package/compodoc/changelog.html +7 -0
- package/compodoc/interfaces/Environment.html +2 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +163 -137
- package/docs/html/classes/EnvironmentComponent.html +2 -2
- package/docs/html/functions/DetermineProductionEnvironmentName.html +1 -1
- package/docs/html/functions/DetermineReleaseName.html +1 -1
- package/docs/html/functions/IsNotReleaseVersion.html +1 -1
- package/docs/html/functions/ProvideEnvironment.html +1 -1
- package/docs/html/functions/UpdateEnvironment.html +2 -2
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/Environment.html +11 -11
- package/docs/html/modules.html +1 -1
- package/docs/html/types/AnySchema.html +1 -1
- package/docs/html/variables/RXAP_ENVIRONMENT.html +1 -1
- package/docs/markdown/README.md +1 -1
- 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 +24 -20
- package/docs/markdown/type-aliases/AnySchema.md +2 -2
- 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/Interface.Environment.md +23 -19
- package/docs/wiki/TypeAlias.AnySchema.md +1 -1
- package/docs/wiki/Variable.RXAP_ENVIRONMENT.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-environment.mjs +3 -3
- package/fesm2022/rxap-environment.mjs.map +1 -1
- package/lib/environment.d.ts +1 -0
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v19.0
|
|
1
|
+
[**@rxap/environment v19.1.0-dev.0**](../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:22](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [environment/environment.component.ts:22](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment/environment.component.ts#L22)
|
|
10
10
|
|
|
11
11
|
## Constructors
|
|
12
12
|
|
|
@@ -24,4 +24,4 @@ Defined in: [environment/environment.component.ts:22](https://gitlab.com/rxap/pa
|
|
|
24
24
|
|
|
25
25
|
> `readonly` **environment**: [`Environment`](../interfaces/Environment.md)
|
|
26
26
|
|
|
27
|
-
Defined in: [environment/environment.component.ts:24](https://gitlab.com/rxap/packages/-/blob/
|
|
27
|
+
Defined in: [environment/environment.component.ts:24](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment/environment.component.ts#L24)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v19.0
|
|
1
|
+
[**@rxap/environment v19.1.0-dev.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **DetermineProductionEnvironmentName**(`environment`): `undefined` \| `string`
|
|
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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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 v19.0
|
|
1
|
+
[**@rxap/environment v19.1.0-dev.0**](../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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/determine-release-name.ts#L3)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v19.0
|
|
1
|
+
[**@rxap/environment v19.1.0-dev.0**](../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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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 v19.0
|
|
1
|
+
[**@rxap/environment v19.1.0-dev.0**](../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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/provide-environment.ts#L4)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v19.0
|
|
1
|
+
[**@rxap/environment v19.1.0-dev.0**](../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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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 v19.0
|
|
1
|
+
[**@rxap/environment v19.1.0-dev.0**](../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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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/aec96d46d
|
|
|
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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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**: `null` \| `string`
|
|
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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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**: `null` \| `string`
|
|
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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L27)
|
|
42
42
|
|
|
43
43
|
The current commit
|
|
44
44
|
|
|
@@ -46,15 +46,15 @@ The current commit
|
|
|
46
46
|
|
|
47
47
|
### config?
|
|
48
48
|
|
|
49
|
-
> `optional` **config**: `string` \| \{ `fromLocalStorage`: `boolean`; `fromUrlParam`: `string` \| `boolean`; `schema`: [`AnySchema`](../type-aliases/AnySchema.md); `static`: `Record`\<`string`, `any`\>; `url`: `string` \| `string`[] \| (`environment`) => `string` \| `string`[]; \}
|
|
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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L66)
|
|
52
52
|
|
|
53
53
|
#### Type declaration
|
|
54
54
|
|
|
55
55
|
`string`
|
|
56
56
|
|
|
57
|
-
\{ `fromLocalStorage`: `boolean`; `fromUrlParam`: `string` \| `boolean`; `schema`: [`AnySchema`](../type-aliases/AnySchema.md); `static`: `Record`\<`string`, `any`\>; `url`: `string` \| `string`[] \| (`environment`) => `string` \| `string`[]; \}
|
|
57
|
+
\{ `fromLocalStorage`: `boolean`; `fromUrlParam`: `string` \| `boolean`; `schema`: [`AnySchema`](../type-aliases/AnySchema.md); `static`: `Record`\<`string`, `any`\>; `strategy`: `string`; `url`: `string` \| `string`[] \| (`environment`) => `string` \| `string`[]; \}
|
|
58
58
|
|
|
59
59
|
#### fromLocalStorage?
|
|
60
60
|
|
|
@@ -74,6 +74,10 @@ Defined in: [environment.ts:66](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
74
74
|
|
|
75
75
|
static config values
|
|
76
76
|
|
|
77
|
+
#### strategy?
|
|
78
|
+
|
|
79
|
+
> `optional` **strategy**: `string`
|
|
80
|
+
|
|
77
81
|
#### url?
|
|
78
82
|
|
|
79
83
|
> `optional` **url**: `string` \| `string`[] \| (`environment`) => `string` \| `string`[]
|
|
@@ -84,7 +88,7 @@ static config values
|
|
|
84
88
|
|
|
85
89
|
> `optional` **moduleFederation**: `object`
|
|
86
90
|
|
|
87
|
-
Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/
|
|
91
|
+
Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L47)
|
|
88
92
|
|
|
89
93
|
#### manifest?
|
|
90
94
|
|
|
@@ -96,7 +100,7 @@ Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
96
100
|
|
|
97
101
|
> `optional` **name**: `string`
|
|
98
102
|
|
|
99
|
-
Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
103
|
+
Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L11)
|
|
100
104
|
|
|
101
105
|
The name of the environment
|
|
102
106
|
|
|
@@ -106,7 +110,7 @@ The name of the environment
|
|
|
106
110
|
|
|
107
111
|
> `optional` **openApi**: `object`
|
|
108
112
|
|
|
109
|
-
Defined in: [environment.ts:
|
|
113
|
+
Defined in: [environment.ts:80](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L80)
|
|
110
114
|
|
|
111
115
|
#### load?
|
|
112
116
|
|
|
@@ -118,7 +122,7 @@ Defined in: [environment.ts:79](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
118
122
|
|
|
119
123
|
> `optional` **origin**: `string`
|
|
120
124
|
|
|
121
|
-
Defined in: [environment.ts:
|
|
125
|
+
Defined in: [environment.ts:78](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L78)
|
|
122
126
|
|
|
123
127
|
***
|
|
124
128
|
|
|
@@ -126,7 +130,7 @@ Defined in: [environment.ts:77](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
126
130
|
|
|
127
131
|
> **production**: `boolean`
|
|
128
132
|
|
|
129
|
-
Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
133
|
+
Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L15)
|
|
130
134
|
|
|
131
135
|
The app is compiled from code in the production branch
|
|
132
136
|
|
|
@@ -136,7 +140,7 @@ The app is compiled from code in the production branch
|
|
|
136
140
|
|
|
137
141
|
> `optional` **release**: `null` \| `string`
|
|
138
142
|
|
|
139
|
-
Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
143
|
+
Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L23)
|
|
140
144
|
|
|
141
145
|
The current app release
|
|
142
146
|
|
|
@@ -146,7 +150,7 @@ The current app release
|
|
|
146
150
|
|
|
147
151
|
> `optional` **sentry**: `object`
|
|
148
152
|
|
|
149
|
-
Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/
|
|
153
|
+
Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L51)
|
|
150
154
|
|
|
151
155
|
#### debug?
|
|
152
156
|
|
|
@@ -190,7 +194,7 @@ Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
190
194
|
|
|
191
195
|
> `optional` **serviceWorker**: `boolean`
|
|
192
196
|
|
|
193
|
-
Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
197
|
+
Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L19)
|
|
194
198
|
|
|
195
199
|
Where the service worker is active or not
|
|
196
200
|
|
|
@@ -200,7 +204,7 @@ Where the service worker is active or not
|
|
|
200
204
|
|
|
201
205
|
> `optional` **slug**: `object`
|
|
202
206
|
|
|
203
|
-
Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/
|
|
207
|
+
Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L43)
|
|
204
208
|
|
|
205
209
|
#### name?
|
|
206
210
|
|
|
@@ -212,7 +216,7 @@ Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
212
216
|
|
|
213
217
|
> `optional` **tag**: `null` \| `string`
|
|
214
218
|
|
|
215
|
-
Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/
|
|
219
|
+
Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L39)
|
|
216
220
|
|
|
217
221
|
The current tag
|
|
218
222
|
|
|
@@ -222,7 +226,7 @@ The current tag
|
|
|
222
226
|
|
|
223
227
|
> `optional` **tier**: `string`
|
|
224
228
|
|
|
225
|
-
Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/
|
|
229
|
+
Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L41)
|
|
226
230
|
|
|
227
231
|
***
|
|
228
232
|
|
|
@@ -230,6 +234,6 @@ Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
230
234
|
|
|
231
235
|
> `optional` **timestamp**: `null` \| `string` \| `number`
|
|
232
236
|
|
|
233
|
-
Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
237
|
+
Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L31)
|
|
234
238
|
|
|
235
239
|
The build timestamp
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v19.0
|
|
1
|
+
[**@rxap/environment v19.1.0-dev.0**](../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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L1)
|
|
12
12
|
|
|
13
13
|
## Type declaration
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/environment v19.0
|
|
1
|
+
[**@rxap/environment v19.1.0-dev.0**](../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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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:22](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [environment/environment.component.ts:22](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment/environment.component.ts#L22)
|
|
6
6
|
|
|
7
7
|
## Constructors
|
|
8
8
|
|
|
@@ -20,4 +20,4 @@ Defined in: [environment/environment.component.ts:22](https://gitlab.com/rxap/pa
|
|
|
20
20
|
|
|
21
21
|
> `readonly` **environment**: [`Environment`](../wiki/Interface.Environment)
|
|
22
22
|
|
|
23
|
-
Defined in: [environment/environment.component.ts:24](https://gitlab.com/rxap/packages/-/blob/
|
|
23
|
+
Defined in: [environment/environment.component.ts:24](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment/environment.component.ts#L24)
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **DetermineProductionEnvironmentName**(`environment`): `undefined` \| `string`
|
|
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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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
|
|
|
@@ -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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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/aec96d46d
|
|
|
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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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**: `null` \| `string`
|
|
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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/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**: `null` \| `string`
|
|
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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L27)
|
|
38
38
|
|
|
39
39
|
The current commit
|
|
40
40
|
|
|
@@ -42,15 +42,15 @@ The current commit
|
|
|
42
42
|
|
|
43
43
|
### config?
|
|
44
44
|
|
|
45
|
-
> `optional` **config**: `string` \| \{ `fromLocalStorage`: `boolean`; `fromUrlParam`: `string` \| `boolean`; `schema`: [`AnySchema`](../wiki/TypeAlias.AnySchema); `static`: `Record`\<`string`, `any`\>; `url`: `string` \| `string`[] \| (`environment`) => `string` \| `string`[]; \}
|
|
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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L66)
|
|
48
48
|
|
|
49
49
|
#### Type declaration
|
|
50
50
|
|
|
51
51
|
`string`
|
|
52
52
|
|
|
53
|
-
\{ `fromLocalStorage`: `boolean`; `fromUrlParam`: `string` \| `boolean`; `schema`: [`AnySchema`](../wiki/TypeAlias.AnySchema); `static`: `Record`\<`string`, `any`\>; `url`: `string` \| `string`[] \| (`environment`) => `string` \| `string`[]; \}
|
|
53
|
+
\{ `fromLocalStorage`: `boolean`; `fromUrlParam`: `string` \| `boolean`; `schema`: [`AnySchema`](../wiki/TypeAlias.AnySchema); `static`: `Record`\<`string`, `any`\>; `strategy`: `string`; `url`: `string` \| `string`[] \| (`environment`) => `string` \| `string`[]; \}
|
|
54
54
|
|
|
55
55
|
#### fromLocalStorage?
|
|
56
56
|
|
|
@@ -70,6 +70,10 @@ Defined in: [environment.ts:66](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
70
70
|
|
|
71
71
|
static config values
|
|
72
72
|
|
|
73
|
+
#### strategy?
|
|
74
|
+
|
|
75
|
+
> `optional` **strategy**: `string`
|
|
76
|
+
|
|
73
77
|
#### url?
|
|
74
78
|
|
|
75
79
|
> `optional` **url**: `string` \| `string`[] \| (`environment`) => `string` \| `string`[]
|
|
@@ -80,7 +84,7 @@ static config values
|
|
|
80
84
|
|
|
81
85
|
> `optional` **moduleFederation**: `object`
|
|
82
86
|
|
|
83
|
-
Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/
|
|
87
|
+
Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L47)
|
|
84
88
|
|
|
85
89
|
#### manifest?
|
|
86
90
|
|
|
@@ -92,7 +96,7 @@ Defined in: [environment.ts:47](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
92
96
|
|
|
93
97
|
> `optional` **name**: `string`
|
|
94
98
|
|
|
95
|
-
Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
99
|
+
Defined in: [environment.ts:11](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L11)
|
|
96
100
|
|
|
97
101
|
The name of the environment
|
|
98
102
|
|
|
@@ -102,7 +106,7 @@ The name of the environment
|
|
|
102
106
|
|
|
103
107
|
> `optional` **openApi**: `object`
|
|
104
108
|
|
|
105
|
-
Defined in: [environment.ts:
|
|
109
|
+
Defined in: [environment.ts:80](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L80)
|
|
106
110
|
|
|
107
111
|
#### load?
|
|
108
112
|
|
|
@@ -114,7 +118,7 @@ Defined in: [environment.ts:79](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
114
118
|
|
|
115
119
|
> `optional` **origin**: `string`
|
|
116
120
|
|
|
117
|
-
Defined in: [environment.ts:
|
|
121
|
+
Defined in: [environment.ts:78](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L78)
|
|
118
122
|
|
|
119
123
|
***
|
|
120
124
|
|
|
@@ -122,7 +126,7 @@ Defined in: [environment.ts:77](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
122
126
|
|
|
123
127
|
> **production**: `boolean`
|
|
124
128
|
|
|
125
|
-
Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
129
|
+
Defined in: [environment.ts:15](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L15)
|
|
126
130
|
|
|
127
131
|
The app is compiled from code in the production branch
|
|
128
132
|
|
|
@@ -132,7 +136,7 @@ The app is compiled from code in the production branch
|
|
|
132
136
|
|
|
133
137
|
> `optional` **release**: `null` \| `string`
|
|
134
138
|
|
|
135
|
-
Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
139
|
+
Defined in: [environment.ts:23](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L23)
|
|
136
140
|
|
|
137
141
|
The current app release
|
|
138
142
|
|
|
@@ -142,7 +146,7 @@ The current app release
|
|
|
142
146
|
|
|
143
147
|
> `optional` **sentry**: `object`
|
|
144
148
|
|
|
145
|
-
Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/
|
|
149
|
+
Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L51)
|
|
146
150
|
|
|
147
151
|
#### debug?
|
|
148
152
|
|
|
@@ -186,7 +190,7 @@ Defined in: [environment.ts:51](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
186
190
|
|
|
187
191
|
> `optional` **serviceWorker**: `boolean`
|
|
188
192
|
|
|
189
|
-
Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
193
|
+
Defined in: [environment.ts:19](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L19)
|
|
190
194
|
|
|
191
195
|
Where the service worker is active or not
|
|
192
196
|
|
|
@@ -196,7 +200,7 @@ Where the service worker is active or not
|
|
|
196
200
|
|
|
197
201
|
> `optional` **slug**: `object`
|
|
198
202
|
|
|
199
|
-
Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/
|
|
203
|
+
Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L43)
|
|
200
204
|
|
|
201
205
|
#### name?
|
|
202
206
|
|
|
@@ -208,7 +212,7 @@ Defined in: [environment.ts:43](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
208
212
|
|
|
209
213
|
> `optional` **tag**: `null` \| `string`
|
|
210
214
|
|
|
211
|
-
Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/
|
|
215
|
+
Defined in: [environment.ts:39](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L39)
|
|
212
216
|
|
|
213
217
|
The current tag
|
|
214
218
|
|
|
@@ -218,7 +222,7 @@ The current tag
|
|
|
218
222
|
|
|
219
223
|
> `optional` **tier**: `string`
|
|
220
224
|
|
|
221
|
-
Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/
|
|
225
|
+
Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L41)
|
|
222
226
|
|
|
223
227
|
***
|
|
224
228
|
|
|
@@ -226,6 +230,6 @@ Defined in: [environment.ts:41](https://gitlab.com/rxap/packages/-/blob/aec96d46
|
|
|
226
230
|
|
|
227
231
|
> `optional` **timestamp**: `null` \| `string` \| `number`
|
|
228
232
|
|
|
229
|
-
Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
233
|
+
Defined in: [environment.ts:31](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L31)
|
|
230
234
|
|
|
231
235
|
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/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment.ts#L1)
|
|
8
8
|
|
|
9
9
|
## Type declaration
|
|
10
10
|
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **RXAP\_ENVIRONMENT**: `InjectionToken`\<[`Environment`](../wiki/Interface.Environment)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [environment/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [environment/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/5ad37909a73f9e3eaab7208cdf5b0e12eb759c7e/packages/angular/environment/src/lib/environment/tokens.ts#L4)
|
package/docs/wiki/globals.md
CHANGED
|
@@ -8,10 +8,10 @@ class EnvironmentComponent {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
this.environment = inject(RXAP_ENVIRONMENT);
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: EnvironmentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.16", type: EnvironmentComponent, isStandalone: true, selector: "rxap-environment", host: { classAttribute: "rxap-environment" }, ngImport: i0, template: "<div class=\"p-4\">\n <h2 class=\"text-xl font-bold pb-2\">{{ environment.app }}</h2>\n <table class=\"table-auto\">\n <tr *ngIf=\"environment.name\">\n <th>Environment</th>\n <td>{{environment.name}}</td>\n </tr>\n <tr>\n <th>Production</th>\n <td>{{environment.production}}</td>\n </tr>\n <tr *ngIf=\"environment.serviceWorker !== undefined\">\n <th>Service Worker</th>\n <td>{{environment.serviceWorker}}</td>\n </tr>\n <tr *ngIf=\"environment.release\">\n <th>Release</th>\n <td>{{environment.release}}</td>\n </tr>\n <tr *ngIf=\"environment.commit\">\n <th>Commit</th>\n <td>{{environment.commit}}</td>\n </tr>\n <tr *ngIf=\"environment.timestamp\">\n <th>Timestamp</th>\n <td>{{environment.timestamp | date:'dd.MM.yy HH:mm:ss'}}</td>\n </tr>\n <tr *ngIf=\"environment.branch\">\n <th>Branch</th>\n <td>{{environment.branch}}</td>\n </tr>\n <tr *ngIf=\"environment.tag\">\n <th>Tag</th>\n <td>{{environment.tag}}</td>\n </tr>\n <ng-content></ng-content>\n </table>\n</div>\n", styles: [".collapse-button{background-color:transparent;margin:8px 8px 20px;border:none;cursor:pointer;width:calc(100% - 16px)}table th{text-align:left;padding-right:16px}table th,table td{font-size:75%}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: EnvironmentComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'rxap-environment', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'rxap-environment' }, imports: [NgIf, DatePipe], template: "<div class=\"p-4\">\n <h2 class=\"text-xl font-bold pb-2\">{{ environment.app }}</h2>\n <table class=\"table-auto\">\n <tr *ngIf=\"environment.name\">\n <th>Environment</th>\n <td>{{environment.name}}</td>\n </tr>\n <tr>\n <th>Production</th>\n <td>{{environment.production}}</td>\n </tr>\n <tr *ngIf=\"environment.serviceWorker !== undefined\">\n <th>Service Worker</th>\n <td>{{environment.serviceWorker}}</td>\n </tr>\n <tr *ngIf=\"environment.release\">\n <th>Release</th>\n <td>{{environment.release}}</td>\n </tr>\n <tr *ngIf=\"environment.commit\">\n <th>Commit</th>\n <td>{{environment.commit}}</td>\n </tr>\n <tr *ngIf=\"environment.timestamp\">\n <th>Timestamp</th>\n <td>{{environment.timestamp | date:'dd.MM.yy HH:mm:ss'}}</td>\n </tr>\n <tr *ngIf=\"environment.branch\">\n <th>Branch</th>\n <td>{{environment.branch}}</td>\n </tr>\n <tr *ngIf=\"environment.tag\">\n <th>Tag</th>\n <td>{{environment.tag}}</td>\n </tr>\n <ng-content></ng-content>\n </table>\n</div>\n", styles: [".collapse-button{background-color:transparent;margin:8px 8px 20px;border:none;cursor:pointer;width:calc(100% - 16px)}table th{text-align:left;padding-right:16px}table th,table td{font-size:75%}\n"] }]
|
|
17
17
|
}] });
|