@tramvai/module-server 2.150.0 → 2.150.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/lib/browser.d.ts +1 -0
- package/lib/modules/browserTiming.d.ts +2 -1
- package/lib/modules/debugRequests.d.ts +1 -0
- package/lib/modules/dependenciesVersion.d.ts +1 -0
- package/lib/modules/earlyHints/index.d.ts +1 -0
- package/lib/modules/earlyHints/service.d.ts +1 -0
- package/lib/modules/gracefulShutdown.d.ts +1 -0
- package/lib/modules/index.d.ts +1 -0
- package/lib/modules/keepAlive.d.ts +1 -0
- package/lib/modules/papi/api/index.d.ts +1 -0
- package/lib/modules/papi/index.d.ts +1 -0
- package/lib/modules/papi/papi.browser.d.ts +1 -0
- package/lib/modules/papi/papi.d.ts +1 -0
- package/lib/modules/papi/server/executor.d.ts +3 -1
- package/lib/modules/papi/server/fileApi.d.ts +1 -0
- package/lib/modules/papi/shared.d.ts +1 -0
- package/lib/modules/proxy.d.ts +1 -0
- package/lib/modules/serverTiming.d.ts +2 -1
- package/lib/modules/statics.d.ts +1 -0
- package/lib/modules/utilityServer.d.ts +1 -0
- package/lib/modules/utils/require.d.ts +1 -0
- package/lib/modules/utils/tramvaiDepsFilter.d.ts +1 -0
- package/lib/server/error.d.ts +1 -0
- package/lib/server/server.d.ts +1 -0
- package/lib/server/static.d.ts +2 -0
- package/lib/server/taskManager.d.ts +1 -0
- package/lib/server/webApp.d.ts +2 -0
- package/lib/server/xHeaders.d.ts +1 -0
- package/lib/server.d.ts +1 -0
- package/package.json +14 -14
package/lib/browser.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const BrowserTimingModule: import("@tinkoff/dippy/lib/modules/module.h").ModuleClass & Partial<import("@tinkoff/dippy/lib/modules/module.h").ModuleSecretParameters> & {
|
|
2
|
-
[x: string]: (...args: any[]) => import("@tramvai/core").ModuleType
|
|
2
|
+
[x: string]: (...args: any[]) => import("@tramvai/core").ModuleType;
|
|
3
3
|
};
|
|
4
|
+
//# sourceMappingURL=browserTiming.d.ts.map
|
package/lib/modules/index.d.ts
CHANGED
|
@@ -10,3 +10,4 @@ export interface CreateOptions {
|
|
|
10
10
|
papiInitHandlers: ExtractDependencyType<typeof PAPI_FASTIFY_INIT_TOKEN>;
|
|
11
11
|
}
|
|
12
12
|
export declare function createApi(rootApp: FastifyInstance, papiList: Papi[], { baseUrl, di, logger, papiInitHandlers }: CreateOptions): void;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
export declare const papiExecutorProvider: import("@tinkoff/dippy").Provider<{
|
|
2
3
|
di: import("@tinkoff/dippy").Container & {
|
|
3
4
|
__type?: "base token";
|
|
@@ -19,4 +20,5 @@ export declare const papiExecutorProvider: import("@tinkoff/dippy").Provider<{
|
|
|
19
20
|
responseManager: import("@tramvai/tokens-common").ResponseManager & {
|
|
20
21
|
__type?: "base token";
|
|
21
22
|
};
|
|
22
|
-
}, <Result>(papi: import("@tramvai/papi").Papi<Result
|
|
23
|
+
}, <Result>(papi: import("@tramvai/papi").Papi<Result>) => any>;
|
|
24
|
+
//# sourceMappingURL=executor.d.ts.map
|
package/lib/modules/proxy.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const ServerTimingModule: import("@tinkoff/dippy/lib/modules/module.h").ModuleClass & Partial<import("@tinkoff/dippy/lib/modules/module.h").ModuleSecretParameters> & {
|
|
2
|
-
[x: string]: (...args: any[]) => import("@tramvai/core").ModuleType
|
|
2
|
+
[x: string]: (...args: any[]) => import("@tramvai/core").ModuleType;
|
|
3
3
|
};
|
|
4
|
+
//# sourceMappingURL=serverTiming.d.ts.map
|
package/lib/modules/statics.d.ts
CHANGED
package/lib/server/error.d.ts
CHANGED
|
@@ -9,3 +9,4 @@ export declare const errorHandler: (app: FastifyInstance, { log, beforeError, af
|
|
|
9
9
|
afterError: ExtractDependencyType<typeof WEB_FASTIFY_APP_AFTER_ERROR_TOKEN>;
|
|
10
10
|
fetchWebpackStats: ExtractDependencyType<typeof FETCH_WEBPACK_STATS_TOKEN>;
|
|
11
11
|
}) => void;
|
|
12
|
+
//# sourceMappingURL=error.d.ts.map
|
package/lib/server/server.d.ts
CHANGED
package/lib/server/static.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import type { LOGGER_TOKEN, ENV_MANAGER_TOKEN } from '@tramvai/module-common';
|
|
2
3
|
import type { APP_INFO_TOKEN } from '@tramvai/core';
|
|
3
4
|
export declare const staticAppCommand: ({ logger, envManager, appInfo, }: {
|
|
@@ -5,3 +6,4 @@ export declare const staticAppCommand: ({ logger, envManager, appInfo, }: {
|
|
|
5
6
|
envManager: typeof ENV_MANAGER_TOKEN;
|
|
6
7
|
appInfo: typeof APP_INFO_TOKEN;
|
|
7
8
|
}) => (() => Promise<void>) | (() => Promise<import("fastify").FastifyInstance<import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, import("http").IncomingMessage, import("http").ServerResponse<import("http").IncomingMessage>, import("fastify").FastifyBaseLogger, import("fastify").FastifyTypeProviderDefault>>);
|
|
9
|
+
//# sourceMappingURL=static.d.ts.map
|
package/lib/server/webApp.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import type { EXECUTION_CONTEXT_MANAGER_TOKEN, LOGGER_TOKEN } from '@tramvai/tokens-common';
|
|
2
3
|
import type { COMMAND_LINE_RUNNER_TOKEN } from '@tramvai/core';
|
|
3
4
|
import type { SERVER_TOKEN } from '@tramvai/tokens-server';
|
|
@@ -21,3 +22,4 @@ export declare const webAppInitCommand: ({ app, logger, commandLineRunner, execu
|
|
|
21
22
|
afterError: ExtractDependencyType<typeof WEB_FASTIFY_APP_AFTER_ERROR_TOKEN>;
|
|
22
23
|
fetchWebpackStats: ExtractDependencyType<typeof FETCH_WEBPACK_STATS_TOKEN>;
|
|
23
24
|
}) => () => Promise<void>;
|
|
25
|
+
//# sourceMappingURL=webApp.d.ts.map
|
package/lib/server/xHeaders.d.ts
CHANGED
package/lib/server.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-server",
|
|
3
|
-
"version": "2.150.
|
|
3
|
+
"version": "2.150.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"browser": "lib/browser.js",
|
|
6
6
|
"main": "lib/server.js",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
"@tinkoff/monkeypatch": "2.0.5",
|
|
26
26
|
"@tinkoff/terminus": "0.1.9",
|
|
27
27
|
"@tinkoff/url": "0.8.6",
|
|
28
|
-
"@tramvai/module-cache-warmup": "2.150.
|
|
29
|
-
"@tramvai/module-metrics": "2.150.
|
|
30
|
-
"@tramvai/papi": "2.150.
|
|
31
|
-
"@tramvai/tokens-server": "2.150.
|
|
32
|
-
"@tramvai/tokens-server-private": "2.150.
|
|
28
|
+
"@tramvai/module-cache-warmup": "2.150.1",
|
|
29
|
+
"@tramvai/module-metrics": "2.150.1",
|
|
30
|
+
"@tramvai/papi": "2.150.1",
|
|
31
|
+
"@tramvai/tokens-server": "2.150.1",
|
|
32
|
+
"@tramvai/tokens-server-private": "2.150.1",
|
|
33
33
|
"@tramvai/safe-strings": "0.5.12",
|
|
34
34
|
"fastify": "^4.14.1",
|
|
35
35
|
"@fastify/cookie": "^8.3.0",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@tinkoff/dippy": "0.8.16",
|
|
44
44
|
"@tinkoff/utils": "^2.1.2",
|
|
45
|
-
"@tramvai/cli": "2.150.
|
|
46
|
-
"@tramvai/core": "2.150.
|
|
47
|
-
"@tramvai/react": "2.150.
|
|
48
|
-
"@tramvai/module-common": "2.150.
|
|
49
|
-
"@tramvai/module-environment": "2.150.
|
|
50
|
-
"@tramvai/tokens-common": "2.150.
|
|
51
|
-
"@tramvai/tokens-core-private": "2.150.
|
|
52
|
-
"@tramvai/tokens-render": "2.150.
|
|
45
|
+
"@tramvai/cli": "2.150.1",
|
|
46
|
+
"@tramvai/core": "2.150.1",
|
|
47
|
+
"@tramvai/react": "2.150.1",
|
|
48
|
+
"@tramvai/module-common": "2.150.1",
|
|
49
|
+
"@tramvai/module-environment": "2.150.1",
|
|
50
|
+
"@tramvai/tokens-common": "2.150.1",
|
|
51
|
+
"@tramvai/tokens-core-private": "2.150.1",
|
|
52
|
+
"@tramvai/tokens-render": "2.150.1",
|
|
53
53
|
"react": ">=16.14.0",
|
|
54
54
|
"react-dom": ">=16.14.0",
|
|
55
55
|
"tslib": "^2.4.0"
|