@twin.org/engine-server 0.0.1-next.15 → 0.0.1-next.17
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.
|
@@ -5,37 +5,37 @@ export interface IEngineServerEnvironmentVariables {
|
|
|
5
5
|
/**
|
|
6
6
|
* The name of the admin user.
|
|
7
7
|
*/
|
|
8
|
-
adminUsername
|
|
8
|
+
adminUsername?: string;
|
|
9
9
|
/**
|
|
10
10
|
* The port to serve the API from.
|
|
11
11
|
*/
|
|
12
|
-
port
|
|
12
|
+
port?: string;
|
|
13
13
|
/**
|
|
14
14
|
* The host to serve the API from.
|
|
15
15
|
*/
|
|
16
|
-
host
|
|
16
|
+
host?: string;
|
|
17
17
|
/**
|
|
18
18
|
* The CORS origins to allow, defaults to *.
|
|
19
19
|
*/
|
|
20
|
-
corsOrigins
|
|
20
|
+
corsOrigins?: string;
|
|
21
21
|
/**
|
|
22
22
|
* The CORS methods to allow, defaults to GET, POST, PUT, DELETE, OPTIONS.
|
|
23
23
|
*/
|
|
24
|
-
httpMethods
|
|
24
|
+
httpMethods?: string;
|
|
25
25
|
/**
|
|
26
26
|
* The CORS headers to allow.
|
|
27
27
|
*/
|
|
28
|
-
httpAllowedHeaders
|
|
28
|
+
httpAllowedHeaders?: string;
|
|
29
29
|
/**
|
|
30
30
|
* The CORS headers to expose.
|
|
31
31
|
*/
|
|
32
|
-
httpExposedHeaders
|
|
32
|
+
httpExposedHeaders?: string;
|
|
33
33
|
/**
|
|
34
34
|
* The type of auth processor to use on the API: entity-storage.
|
|
35
35
|
*/
|
|
36
|
-
authProcessorType
|
|
36
|
+
authProcessorType?: string;
|
|
37
37
|
/**
|
|
38
38
|
* The id of the key in the vault to use for signing in auth operations.
|
|
39
39
|
*/
|
|
40
|
-
authSigningKeyId
|
|
40
|
+
authSigningKeyId?: string;
|
|
41
41
|
}
|
package/docs/changelog.md
CHANGED
|
@@ -4,72 +4,72 @@ The engine server environment variables.
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
-
### adminUsername
|
|
7
|
+
### adminUsername?
|
|
8
8
|
|
|
9
|
-
> **adminUsername**: `string`
|
|
9
|
+
> `optional` **adminUsername**: `string`
|
|
10
10
|
|
|
11
11
|
The name of the admin user.
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
15
|
-
### port
|
|
15
|
+
### port?
|
|
16
16
|
|
|
17
|
-
> **port**: `string`
|
|
17
|
+
> `optional` **port**: `string`
|
|
18
18
|
|
|
19
19
|
The port to serve the API from.
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
23
|
-
### host
|
|
23
|
+
### host?
|
|
24
24
|
|
|
25
|
-
> **host**: `string`
|
|
25
|
+
> `optional` **host**: `string`
|
|
26
26
|
|
|
27
27
|
The host to serve the API from.
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
31
|
-
### corsOrigins
|
|
31
|
+
### corsOrigins?
|
|
32
32
|
|
|
33
|
-
> **corsOrigins**: `string`
|
|
33
|
+
> `optional` **corsOrigins**: `string`
|
|
34
34
|
|
|
35
35
|
The CORS origins to allow, defaults to *.
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
39
|
-
### httpMethods
|
|
39
|
+
### httpMethods?
|
|
40
40
|
|
|
41
|
-
> **httpMethods**: `string`
|
|
41
|
+
> `optional` **httpMethods**: `string`
|
|
42
42
|
|
|
43
43
|
The CORS methods to allow, defaults to GET, POST, PUT, DELETE, OPTIONS.
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
47
|
-
### httpAllowedHeaders
|
|
47
|
+
### httpAllowedHeaders?
|
|
48
48
|
|
|
49
|
-
> **httpAllowedHeaders**: `string`
|
|
49
|
+
> `optional` **httpAllowedHeaders**: `string`
|
|
50
50
|
|
|
51
51
|
The CORS headers to allow.
|
|
52
52
|
|
|
53
53
|
***
|
|
54
54
|
|
|
55
|
-
### httpExposedHeaders
|
|
55
|
+
### httpExposedHeaders?
|
|
56
56
|
|
|
57
|
-
> **httpExposedHeaders**: `string`
|
|
57
|
+
> `optional` **httpExposedHeaders**: `string`
|
|
58
58
|
|
|
59
59
|
The CORS headers to expose.
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
63
|
-
### authProcessorType
|
|
63
|
+
### authProcessorType?
|
|
64
64
|
|
|
65
|
-
> **authProcessorType**: `string`
|
|
65
|
+
> `optional` **authProcessorType**: `string`
|
|
66
66
|
|
|
67
67
|
The type of auth processor to use on the API: entity-storage.
|
|
68
68
|
|
|
69
69
|
***
|
|
70
70
|
|
|
71
|
-
### authSigningKeyId
|
|
71
|
+
### authSigningKeyId?
|
|
72
72
|
|
|
73
|
-
> **authSigningKeyId**: `string`
|
|
73
|
+
> `optional` **authSigningKeyId**: `string`
|
|
74
74
|
|
|
75
75
|
The id of the key in the vault to use for signing in auth operations.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/engine-server",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.17",
|
|
4
4
|
"description": "Engine implementation for a server.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"@twin.org/api-models": "next",
|
|
18
18
|
"@twin.org/api-server-fastify": "next",
|
|
19
19
|
"@twin.org/core": "next",
|
|
20
|
-
"@twin.org/engine-core": "0.0.1-next.
|
|
21
|
-
"@twin.org/engine-models": "0.0.1-next.
|
|
22
|
-
"@twin.org/engine-server-types": "0.0.1-next.
|
|
20
|
+
"@twin.org/engine-core": "0.0.1-next.17",
|
|
21
|
+
"@twin.org/engine-models": "0.0.1-next.17",
|
|
22
|
+
"@twin.org/engine-server-types": "0.0.1-next.17",
|
|
23
23
|
"@twin.org/modules": "next",
|
|
24
24
|
"@twin.org/nameof": "next"
|
|
25
25
|
},
|