@tramvai/module-server 4.26.2 → 4.26.5
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 +6 -0
- package/lib/server/webApp.d.ts +0 -5
- package/lib/server.d.ts +7 -0
- package/package.json +15 -15
package/lib/browser.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
import type { DI_TOKEN, ExtractDependencyType } from '@tramvai/core';
|
|
1
2
|
export * from '@tramvai/tokens-server';
|
|
3
|
+
declare module '@tramvai/tokens-common' {
|
|
4
|
+
interface AsyncLocalStorageState {
|
|
5
|
+
tramvaiRequestDi?: ExtractDependencyType<typeof DI_TOKEN>;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
2
8
|
export declare class ServerModule {
|
|
3
9
|
}
|
|
4
10
|
//# sourceMappingURL=browser.d.ts.map
|
package/lib/server/webApp.d.ts
CHANGED
|
@@ -6,11 +6,6 @@ import type { WEB_FASTIFY_APP_TOKEN, WEB_FASTIFY_APP_AFTER_INIT_TOKEN, WEB_FASTI
|
|
|
6
6
|
import { type FETCH_WEBPACK_STATS_TOKEN } from '@tramvai/tokens-render';
|
|
7
7
|
import type { DI_TOKEN, ExtractDependencyType } from '@tinkoff/dippy';
|
|
8
8
|
import type { STATIC_ROOT_ERROR_BOUNDARY_ERROR_TOKEN } from '@tramvai/tokens-server';
|
|
9
|
-
declare module '@tramvai/tokens-common' {
|
|
10
|
-
interface AsyncLocalStorageState {
|
|
11
|
-
tramvaiRequestDi?: ExtractDependencyType<typeof DI_TOKEN>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
9
|
export declare const webAppFactory: ({ server }: {
|
|
15
10
|
server: typeof SERVER_TOKEN;
|
|
16
11
|
}) => 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> & PromiseLike<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>>;
|
package/lib/server.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
import type { ExtractDependencyType } from '@tramvai/core';
|
|
2
|
+
import { DI_TOKEN } from '@tramvai/core';
|
|
1
3
|
export * from '@tramvai/tokens-server';
|
|
4
|
+
declare module '@tramvai/tokens-common' {
|
|
5
|
+
interface AsyncLocalStorageState {
|
|
6
|
+
tramvaiRequestDi?: ExtractDependencyType<typeof DI_TOKEN>;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
2
9
|
export declare class ServerModule {
|
|
3
10
|
}
|
|
4
11
|
//# sourceMappingURL=server.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-server",
|
|
3
|
-
"version": "4.26.
|
|
3
|
+
"version": "4.26.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"browser": "lib/browser.js",
|
|
6
6
|
"main": "lib/server.js",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"@tinkoff/monkeypatch": "4.0.1",
|
|
27
27
|
"@tinkoff/terminus": "0.3.1",
|
|
28
28
|
"@tinkoff/url": "0.10.1",
|
|
29
|
-
"@tramvai/module-cache-warmup": "4.26.
|
|
30
|
-
"@tramvai/module-metrics": "4.26.
|
|
31
|
-
"@tramvai/papi": "4.26.
|
|
32
|
-
"@tramvai/tokens-server": "4.26.
|
|
33
|
-
"@tramvai/tokens-router": "4.26.
|
|
34
|
-
"@tramvai/tokens-server-private": "4.26.
|
|
29
|
+
"@tramvai/module-cache-warmup": "4.26.5",
|
|
30
|
+
"@tramvai/module-metrics": "4.26.5",
|
|
31
|
+
"@tramvai/papi": "4.26.5",
|
|
32
|
+
"@tramvai/tokens-server": "4.26.5",
|
|
33
|
+
"@tramvai/tokens-router": "4.26.5",
|
|
34
|
+
"@tramvai/tokens-server-private": "4.26.5",
|
|
35
35
|
"@tramvai/safe-strings": "0.7.2",
|
|
36
36
|
"fastify": "^4.14.1",
|
|
37
37
|
"@fastify/cookie": "^8.3.0",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@tinkoff/dippy": "0.10.8",
|
|
46
46
|
"@tinkoff/utils": "^2.1.2",
|
|
47
|
-
"@tramvai/cli": "4.26.
|
|
48
|
-
"@tramvai/core": "4.26.
|
|
49
|
-
"@tramvai/react": "4.26.
|
|
50
|
-
"@tramvai/module-common": "4.26.
|
|
51
|
-
"@tramvai/module-environment": "4.26.
|
|
52
|
-
"@tramvai/tokens-common": "4.26.
|
|
53
|
-
"@tramvai/tokens-core-private": "4.26.
|
|
54
|
-
"@tramvai/tokens-render": "4.26.
|
|
47
|
+
"@tramvai/cli": "4.26.5",
|
|
48
|
+
"@tramvai/core": "4.26.5",
|
|
49
|
+
"@tramvai/react": "4.26.5",
|
|
50
|
+
"@tramvai/module-common": "4.26.5",
|
|
51
|
+
"@tramvai/module-environment": "4.26.5",
|
|
52
|
+
"@tramvai/tokens-common": "4.26.5",
|
|
53
|
+
"@tramvai/tokens-core-private": "4.26.5",
|
|
54
|
+
"@tramvai/tokens-render": "4.26.5",
|
|
55
55
|
"react": ">=16.14.0",
|
|
56
56
|
"react-dom": ">=16.14.0",
|
|
57
57
|
"tslib": "^2.4.0"
|