@twin.org/engine-server 0.0.1-next.14 → 0.0.1-next.15
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { IEngineCore, IEngineCoreTypeConfig, IEngineServer } from "@twin.org/engine-models";
|
|
2
|
-
import { type
|
|
2
|
+
import { type IEngineServerConfig } from "@twin.org/engine-server-types";
|
|
3
3
|
/**
|
|
4
4
|
* Server for the engine.
|
|
5
5
|
*/
|
|
6
|
-
export declare class EngineServer<T extends
|
|
6
|
+
export declare class EngineServer<T extends IEngineServerConfig = IEngineServerConfig> implements IEngineServer {
|
|
7
7
|
/**
|
|
8
8
|
* Runtime name for the class.
|
|
9
9
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IServerInfo } from "@twin.org/api-models";
|
|
2
2
|
import type { IEngineCoreConfig } from "@twin.org/engine-models";
|
|
3
|
-
import { type
|
|
3
|
+
import { type IEngineServerConfig } from "@twin.org/engine-server-types";
|
|
4
4
|
import type { IEngineServerEnvironmentVariables } from "../models/IEngineServerEnvironmentVariables";
|
|
5
5
|
/**
|
|
6
6
|
* Handles the configuration of the server.
|
|
@@ -9,4 +9,4 @@ import type { IEngineServerEnvironmentVariables } from "../models/IEngineServerE
|
|
|
9
9
|
* @param serverInfo The server information.
|
|
10
10
|
* @returns The the config for the core and the server.
|
|
11
11
|
*/
|
|
12
|
-
export declare function buildEngineServerConfiguration(envVars: IEngineServerEnvironmentVariables, coreEngineConfig: IEngineCoreConfig, serverInfo: IServerInfo):
|
|
12
|
+
export declare function buildEngineServerConfiguration(envVars: IEngineServerEnvironmentVariables, coreEngineConfig: IEngineCoreConfig, serverInfo: IServerInfo): IEngineServerConfig;
|
package/docs/changelog.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Function: buildEngineServerConfiguration()
|
|
2
2
|
|
|
3
|
-
> **buildEngineServerConfiguration**(`envVars`, `coreEngineConfig`, `serverInfo`): `
|
|
3
|
+
> **buildEngineServerConfiguration**(`envVars`, `coreEngineConfig`, `serverInfo`): `IEngineServerConfig`
|
|
4
4
|
|
|
5
5
|
Handles the configuration of the server.
|
|
6
6
|
|
|
@@ -20,6 +20,6 @@ The server information.
|
|
|
20
20
|
|
|
21
21
|
## Returns
|
|
22
22
|
|
|
23
|
-
`
|
|
23
|
+
`IEngineServerConfig`
|
|
24
24
|
|
|
25
25
|
The the config for the core and the server.
|
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.15",
|
|
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.15",
|
|
21
|
+
"@twin.org/engine-models": "0.0.1-next.15",
|
|
22
|
+
"@twin.org/engine-server-types": "0.0.1-next.15",
|
|
23
23
|
"@twin.org/modules": "next",
|
|
24
24
|
"@twin.org/nameof": "next"
|
|
25
25
|
},
|