@tramvai/tokens-react-query 2.56.2 → 2.59.0

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +12 -4
  2. package/package.json +3 -3
package/lib/index.d.ts CHANGED
@@ -11,15 +11,23 @@ declare module '@tanstack/react-query' {
11
11
  * @description
12
12
  * [react-query client](https://tanstack.com/query/v4/docs/reference/QueryClient)
13
13
  */
14
- export declare const QUERY_CLIENT_TOKEN: import("@tinkoff/dippy").BaseTokenInterface<QueryClient>;
14
+ export declare const QUERY_CLIENT_TOKEN: QueryClient & {
15
+ __type?: "base token" | undefined;
16
+ };
15
17
  /**
16
18
  * @description
17
19
  * [default options for the react-query](https://tanstack.com/query/v4/docs/guides/important-defaults)
18
20
  */
19
- export declare const QUERY_CLIENT_DEFAULT_OPTIONS_TOKEN: import("@tinkoff/dippy").BaseTokenInterface<DefaultOptions<unknown>>;
21
+ export declare const QUERY_CLIENT_DEFAULT_OPTIONS_TOKEN: DefaultOptions<unknown> & {
22
+ __type?: "base token" | undefined;
23
+ };
20
24
  /**
21
25
  * @description
22
26
  * [react-query state](https://tanstack.com/query/v4/docs/reference/hydration#dehydrate) that was initialized on the server
23
27
  */
24
- export declare const QUERY_CLIENT_DEHYDRATED_STATE_TOKEN: import("@tinkoff/dippy").BaseTokenInterface<DehydratedState>;
25
- export declare const QUERY_DEHYDRATE_STATE_NAME_TOKEN: import("@tinkoff/dippy").BaseTokenInterface<string>;
28
+ export declare const QUERY_CLIENT_DEHYDRATED_STATE_TOKEN: DehydratedState & {
29
+ __type?: "base token" | undefined;
30
+ };
31
+ export declare const QUERY_DEHYDRATE_STATE_NAME_TOKEN: string & {
32
+ __type?: "base token" | undefined;
33
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/tokens-react-query",
3
- "version": "2.56.2",
3
+ "version": "2.59.0",
4
4
  "description": "Tramvai tokens for @tramvai/module-react-query",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",
@@ -22,8 +22,8 @@
22
22
  "@tanstack/react-query": "^4.7.1"
23
23
  },
24
24
  "peerDependencies": {
25
- "@tinkoff/dippy": "0.8.10",
26
- "@tramvai/core": "2.56.2",
25
+ "@tinkoff/dippy": "0.8.11",
26
+ "@tramvai/core": "2.59.0",
27
27
  "tslib": "^2.4.0"
28
28
  },
29
29
  "license": "Apache-2.0"