@tramvai/test-mocks 2.149.1 → 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.
@@ -9,7 +9,8 @@ export type CommonModuleOptions = {
9
9
  };
10
10
  export declare class CommonTestModule {
11
11
  static forRoot(options: CommonModuleOptions): {
12
- providers: Provider<any, any>[];
12
+ providers: Provider[];
13
13
  mainModule: typeof CommonTestModule;
14
14
  };
15
15
  }
16
+ //# sourceMappingURL=CommonTestModule.d.ts.map
package/lib/appInfo.d.ts CHANGED
@@ -2,3 +2,4 @@ import type { APP_INFO_TOKEN } from '@tramvai/core';
2
2
  export declare const createMockAppInfo: ({ appName, }?: {
3
3
  appName?: string | undefined;
4
4
  }) => typeof APP_INFO_TOKEN;
5
+ //# sourceMappingURL=appInfo.d.ts.map
package/lib/cache.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  import type { Cache } from '@tramvai/tokens-common';
2
2
  export declare const createMockCache: <T = any>(entries?: Record<string, T>) => Cache;
3
+ //# sourceMappingURL=cache.d.ts.map
package/lib/context.d.ts CHANGED
@@ -22,3 +22,4 @@ type Options = OptionsDi & OptionsStore & {
22
22
  */
23
23
  export declare const createMockContext: ({ stores, initialState, store, providers, modules, di, useTramvaiActionsConditionals, }?: Options) => typeof CONTEXT_TOKEN;
24
24
  export {};
25
+ //# sourceMappingURL=context.d.ts.map
package/lib/cookie.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  import type { COOKIE_MANAGER_TOKEN } from '@tramvai/module-cookie';
2
2
  export declare const createMockCookieManager: (entries?: Record<string, string>) => typeof COOKIE_MANAGER_TOKEN;
3
+ //# sourceMappingURL=cookie.d.ts.map
package/lib/di.d.ts CHANGED
@@ -12,3 +12,4 @@ interface Options {
12
12
  */
13
13
  export declare const createMockDi: ({ modules, providers }?: Options) => import("@tinkoff/dippy").Container;
14
14
  export {};
15
+ //# sourceMappingURL=di.d.ts.map
@@ -2,3 +2,4 @@ import type { ENV_MANAGER_TOKEN } from '@tramvai/tokens-common';
2
2
  type EnvManager = typeof ENV_MANAGER_TOKEN;
3
3
  export declare const createMockEnvManager: (env?: Record<string, string>) => EnvManager;
4
4
  export {};
5
+ //# sourceMappingURL=envManager.d.ts.map
package/lib/index.d.ts CHANGED
@@ -9,3 +9,4 @@ export { createMockAppInfo } from './appInfo';
9
9
  export { createMockCache } from './cache';
10
10
  export { createMockCookieManager } from './cookie';
11
11
  export { CommonTestModule, CommonModuleOptions } from './CommonTestModule';
12
+ //# sourceMappingURL=index.d.ts.map
package/lib/logger.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  import type { LoggerFactory } from '@tramvai/tokens-common';
2
2
  export declare const createMockLogger: () => LoggerFactory;
3
+ //# sourceMappingURL=logger.d.ts.map
@@ -8,3 +8,4 @@ export declare const createMockRequestManager: ({ body, url, method, cookies, he
8
8
  clientIp?: string | undefined;
9
9
  host?: string | undefined;
10
10
  }) => RequestManager;
11
+ //# sourceMappingURL=requestManager.d.ts.map
package/lib/router.d.ts CHANGED
@@ -7,3 +7,4 @@ interface Options {
7
7
  }
8
8
  export declare const createMockRouter: ({ currentRoute, currentUrl, }?: Options) => AbstractRouter;
9
9
  export {};
10
+ //# sourceMappingURL=router.d.ts.map
package/lib/store.d.ts CHANGED
@@ -12,3 +12,4 @@ interface Options {
12
12
  */
13
13
  export declare const createMockStore: ({ stores, initialState, }?: Options) => typeof STORE_TOKEN;
14
14
  export {};
15
+ //# sourceMappingURL=store.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/test-mocks",
3
- "version": "2.149.1",
3
+ "version": "2.150.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -17,14 +17,14 @@
17
17
  "watch": "tsc -w"
18
18
  },
19
19
  "dependencies": {
20
- "@tramvai/core": "2.149.1",
20
+ "@tramvai/core": "2.150.1",
21
21
  "@tinkoff/pubsub": "0.5.7",
22
22
  "@tinkoff/router": "0.2.17",
23
23
  "@tinkoff/url": "0.8.6",
24
- "@tramvai/module-cookie": "2.149.1",
25
- "@tramvai/module-common": "2.149.1",
26
- "@tramvai/state": "2.149.1",
27
- "@tramvai/tokens-common": "2.149.1"
24
+ "@tramvai/module-cookie": "2.150.1",
25
+ "@tramvai/module-common": "2.150.1",
26
+ "@tramvai/state": "2.150.1",
27
+ "@tramvai/tokens-common": "2.150.1"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@tinkoff/dippy": "0.8.16",