@tramvai/module-common 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/CommonModule.d.ts +1 -0
- package/lib/actions/ActionModule.d.ts +1 -0
- package/lib/actions/actionChecker.d.ts +1 -0
- package/lib/actions/actionExecution.d.ts +1 -0
- package/lib/actions/actionPageRunner.browser.d.ts +1 -0
- package/lib/actions/actionPageRunner.d.ts +1 -0
- package/lib/actions/actionRegistry.d.ts +1 -0
- package/lib/actions/actionTramvaiReducer.d.ts +2 -1
- package/lib/actions/conditions/always.d.ts +1 -0
- package/lib/actions/conditions/dynamic.d.ts +1 -0
- package/lib/actions/conditions/helpers.d.ts +1 -0
- package/lib/actions/conditions/onlyBrowser.d.ts +1 -0
- package/lib/actions/conditions/onlyServer.d.ts +1 -0
- package/lib/actions/conditions/pageBrowser.d.ts +1 -0
- package/lib/actions/conditions/pageServer.d.ts +1 -0
- package/lib/actions/constants.d.ts +1 -0
- package/lib/actions/deferred/await.d.ts +1 -0
- package/lib/actions/deferred/clientScriptsUtils.d.ts +1 -0
- package/lib/actions/deferred/deferred.d.ts +1 -0
- package/lib/actions/deferred/deferred.inline.d.ts +1 -0
- package/lib/actions/deferred/providers.browser.d.ts +1 -0
- package/lib/actions/deferred/providers.d.ts +1 -0
- package/lib/actions/test-utils/authCondition.mock.d.ts +1 -0
- package/lib/bundleManager/bundleManager.d.ts +1 -0
- package/lib/cache/CacheModule.d.ts +1 -0
- package/lib/cache/cacheFactory.browser.d.ts +1 -0
- package/lib/cache/cacheFactory.d.ts +1 -0
- package/lib/cache/clientProviders.d.ts +1 -0
- package/lib/cache/papi.d.ts +2 -1
- package/lib/cache/serverProviders.d.ts +1 -0
- package/lib/child-app/ChildAppModule.d.ts +1 -0
- package/lib/child-app/actions.d.ts +1 -0
- package/lib/child-app/cache.d.ts +1 -0
- package/lib/child-app/clientProviders.d.ts +1 -0
- package/lib/child-app/command.d.ts +1 -0
- package/lib/child-app/serverProviders.d.ts +1 -0
- package/lib/child-app/state.d.ts +1 -0
- package/lib/command/CommandModule.d.ts +1 -0
- package/lib/command/commandLineRunner.d.ts +1 -0
- package/lib/command/defaultLines.d.ts +1 -0
- package/lib/componentRegistry/componentRegistry.d.ts +1 -0
- package/lib/createConsumerContext/constants/priority.d.ts +1 -0
- package/lib/createConsumerContext/createConsumerContext.d.ts +1 -0
- package/lib/createConsumerContext/typings.d.ts +1 -0
- package/lib/executionContext/executionContextManager.d.ts +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/providers/clientProviders.d.ts +1 -0
- package/lib/providers/serverProviders.d.ts +1 -0
- package/lib/pubsub/PubSubModule.d.ts +1 -0
- package/lib/requestManager/RequestManagerModule.browser.d.ts +1 -0
- package/lib/requestManager/RequestManagerModule.d.ts +1 -0
- package/lib/requestManager/RequestManagerStore.d.ts +2 -1
- package/lib/requestManager/requestManager.d.ts +1 -0
- package/lib/requestManager/sharedProviders.d.ts +1 -0
- package/lib/responseManager/ResponseManagerModule.browser.d.ts +1 -0
- package/lib/responseManager/ResponseManagerModule.d.ts +1 -0
- package/lib/responseManager/responseManager.d.ts +1 -0
- package/lib/responseManager/sharedProviders.d.ts +1 -0
- package/lib/state/StateModule.d.ts +1 -0
- package/package.json +17 -17
package/lib/CommonModule.d.ts
CHANGED
|
@@ -26,3 +26,4 @@ export declare class ActionPageRunner implements ActionPageRunnerInterface {
|
|
|
26
26
|
runActions(actions: Array<Action | TramvaiAction<any[], any, any>>, stopRunAtError?: (error: Error) => boolean): Promise<void>;
|
|
27
27
|
private syncStateActions;
|
|
28
28
|
}
|
|
29
|
+
//# sourceMappingURL=actionPageRunner.d.ts.map
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
declare const actionServerStateEvent: import("@tramvai/types-actions-state-context").EventCreator1<Record<string, boolean
|
|
1
|
+
declare const actionServerStateEvent: import("@tramvai/types-actions-state-context").EventCreator1<Record<string, boolean>>;
|
|
2
2
|
declare const actionTramvaiReducer: import("@tramvai/state").Reducer<{
|
|
3
3
|
serverState: {};
|
|
4
4
|
}, "actionTramvai", never>;
|
|
5
5
|
export { actionTramvaiReducer, actionServerStateEvent };
|
|
6
|
+
//# sourceMappingURL=actionTramvaiReducer.d.ts.map
|
package/lib/cache/papi.d.ts
CHANGED
|
@@ -2,4 +2,5 @@ import type { CLEAR_CACHE_TOKEN, LOGGER_TOKEN } from '@tramvai/tokens-common';
|
|
|
2
2
|
export declare const papiClearCache: ({ clearCache, logger, }: {
|
|
3
3
|
clearCache: typeof CLEAR_CACHE_TOKEN;
|
|
4
4
|
logger: typeof LOGGER_TOKEN;
|
|
5
|
-
}) => import("@tramvai/papi").Papi
|
|
5
|
+
}) => import("@tramvai/papi").Papi;
|
|
6
|
+
//# sourceMappingURL=papi.d.ts.map
|
package/lib/child-app/cache.d.ts
CHANGED
package/lib/child-app/state.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ import type { ExecutionContext, ExecutionContextManager as Interface, ExecutionC
|
|
|
2
2
|
export declare class ExecutionContextManager implements Interface {
|
|
3
3
|
withContext<T>(parentContext: ExecutionContext | null, nameOrOptions: string | ExecutionContextOptions, cb: (context: ExecutionContext, abortController: AbortController) => Promise<T>): Promise<T>;
|
|
4
4
|
}
|
|
5
|
+
//# sourceMappingURL=executionContextManager.d.ts.map
|
package/lib/index.d.ts
CHANGED
|
@@ -9,3 +9,4 @@ export { createConsumerContext } from './createConsumerContext/createConsumerCon
|
|
|
9
9
|
export { CommonChildAppModule } from './child-app/ChildAppModule';
|
|
10
10
|
export * from '@tramvai/tokens-common';
|
|
11
11
|
export { COOKIE_MANAGER_TOKEN } from '@tramvai/module-cookie';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
type Request = Record<string, any>;
|
|
2
|
-
export declare const setRequest: import("@tramvai/types-actions-state-context").EventCreator1<Request
|
|
2
|
+
export declare const setRequest: import("@tramvai/types-actions-state-context").EventCreator1<Request>;
|
|
3
3
|
export declare const RequestManagerStore: import("@tramvai/state").Reducer<Request, "requestManager", never>;
|
|
4
4
|
export {};
|
|
5
|
+
//# sourceMappingURL=RequestManagerStore.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-common",
|
|
3
|
-
"version": "2.150.
|
|
3
|
+
"version": "2.150.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -36,28 +36,28 @@
|
|
|
36
36
|
"@tinkoff/pubsub": "0.5.7",
|
|
37
37
|
"@tinkoff/url": "0.8.6",
|
|
38
38
|
"@tramvai/safe-strings": "0.5.12",
|
|
39
|
-
"@tramvai/experiments": "2.150.
|
|
40
|
-
"@tramvai/module-cookie": "2.150.
|
|
41
|
-
"@tramvai/module-environment": "2.150.
|
|
42
|
-
"@tramvai/module-log": "2.150.
|
|
43
|
-
"@tramvai/tokens-child-app": "2.150.
|
|
44
|
-
"@tramvai/tokens-core-private": "2.150.
|
|
45
|
-
"@tramvai/tokens-common": "2.150.
|
|
46
|
-
"@tramvai/tokens-render": "2.150.
|
|
47
|
-
"@tramvai/tokens-server-private": "2.150.
|
|
48
|
-
"@tramvai/types-actions-state-context": "2.150.
|
|
39
|
+
"@tramvai/experiments": "2.150.1",
|
|
40
|
+
"@tramvai/module-cookie": "2.150.1",
|
|
41
|
+
"@tramvai/module-environment": "2.150.1",
|
|
42
|
+
"@tramvai/module-log": "2.150.1",
|
|
43
|
+
"@tramvai/tokens-child-app": "2.150.1",
|
|
44
|
+
"@tramvai/tokens-core-private": "2.150.1",
|
|
45
|
+
"@tramvai/tokens-common": "2.150.1",
|
|
46
|
+
"@tramvai/tokens-render": "2.150.1",
|
|
47
|
+
"@tramvai/tokens-server-private": "2.150.1",
|
|
48
|
+
"@tramvai/types-actions-state-context": "2.150.1",
|
|
49
49
|
"hoist-non-react-statics": "^3.3.1",
|
|
50
50
|
"node-abort-controller": "^3.0.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@tinkoff/dippy": "0.8.16",
|
|
54
54
|
"@tinkoff/utils": "^2.1.2",
|
|
55
|
-
"@tramvai/cli": "2.150.
|
|
56
|
-
"@tramvai/core": "2.150.
|
|
57
|
-
"@tramvai/papi": "2.150.
|
|
58
|
-
"@tramvai/react": "2.150.
|
|
59
|
-
"@tramvai/state": "2.150.
|
|
60
|
-
"@tramvai/tokens-server": "2.150.
|
|
55
|
+
"@tramvai/cli": "2.150.1",
|
|
56
|
+
"@tramvai/core": "2.150.1",
|
|
57
|
+
"@tramvai/papi": "2.150.1",
|
|
58
|
+
"@tramvai/react": "2.150.1",
|
|
59
|
+
"@tramvai/state": "2.150.1",
|
|
60
|
+
"@tramvai/tokens-server": "2.150.1",
|
|
61
61
|
"react": ">=16.14.0",
|
|
62
62
|
"tslib": "^2.4.0"
|
|
63
63
|
},
|