@trpc/react-query 11.0.0-next-alpha.175 → 11.0.0-next-beta.178

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.
@@ -1,7 +1,7 @@
1
1
  {
2
- "bundleSize": 26743,
3
- "bundleOrigSize": 62123,
4
- "bundleReduction": 56.95,
2
+ "bundleSize": 26752,
3
+ "bundleOrigSize": 62172,
4
+ "bundleReduction": 56.97,
5
5
  "modules": [
6
6
  {
7
7
  "id": "/src/shared/hooks/createHooksInternal.tsx",
@@ -14,13 +14,13 @@
14
14
  "dependents": [
15
15
  "/src/createTRPCReact.tsx"
16
16
  ],
17
- "percent": 47.07,
17
+ "percent": 47.05,
18
18
  "reduction": 18.12
19
19
  },
20
20
  {
21
21
  "id": "/src/server/ssgProxy.ts",
22
- "size": 3630,
23
- "origSize": 7108,
22
+ "size": 3635,
23
+ "origSize": 7113,
24
24
  "renderedExports": [
25
25
  "createServerSideHelpers"
26
26
  ],
@@ -28,8 +28,8 @@
28
28
  "dependents": [
29
29
  "/src/server/index.ts"
30
30
  ],
31
- "percent": 13.57,
32
- "reduction": 48.93
31
+ "percent": 13.59,
32
+ "reduction": 48.9
33
33
  },
34
34
  {
35
35
  "id": "/src/utils/createUtilityFunctions.ts",
@@ -43,7 +43,7 @@
43
43
  "/src/createTRPCQueryUtils.tsx",
44
44
  "/src/shared/hooks/createHooksInternal.tsx"
45
45
  ],
46
- "percent": 12.21,
46
+ "percent": 12.2,
47
47
  "reduction": 11.66
48
48
  },
49
49
  {
@@ -59,13 +59,13 @@
59
59
  "dependents": [
60
60
  "/src/shared/index.ts"
61
61
  ],
62
- "percent": 9.95,
62
+ "percent": 9.94,
63
63
  "reduction": 74.5
64
64
  },
65
65
  {
66
66
  "id": "/src/internals/getQueryKey.ts",
67
- "size": 1546,
68
- "origSize": 3909,
67
+ "size": 1550,
68
+ "origSize": 3913,
69
69
  "renderedExports": [
70
70
  "getQueryKeyInternal",
71
71
  "getQueryKey"
@@ -78,13 +78,13 @@
78
78
  "/src/shared/proxy/useQueriesProxy.ts",
79
79
  "/src/shared/hooks/createHooksInternal.tsx"
80
80
  ],
81
- "percent": 5.78,
82
- "reduction": 60.45
81
+ "percent": 5.79,
82
+ "reduction": 60.39
83
83
  },
84
84
  {
85
85
  "id": "/src/createTRPCReact.tsx",
86
86
  "size": 826,
87
- "origSize": 8692,
87
+ "origSize": 8732,
88
88
  "renderedExports": [
89
89
  "createHooksInternal",
90
90
  "createTRPCReact"
@@ -94,7 +94,7 @@
94
94
  "/src/index.ts"
95
95
  ],
96
96
  "percent": 3.09,
97
- "reduction": 90.5
97
+ "reduction": 90.54
98
98
  },
99
99
  {
100
100
  "id": "/src/shared/proxy/decorationProxy.ts",
@@ -2,7 +2,7 @@ import { createRecursiveProxy } from '@trpc/core';
2
2
  import { useQuery, useSuspenseQuery, useQueryClient, useMutation, hashKey, useInfiniteQuery, useSuspenseInfiniteQuery, useQueries, useSuspenseQueries } from '@tanstack/react-query';
3
3
  import { TRPCUntypedClient, getUntypedClient, createTRPCUntypedClient } from '@trpc/client';
4
4
  import React, { useRef, useState, useMemo, useEffect } from 'react';
5
- import { b as getQueryKeyInternal, T as TRPCContext } from './utilsProxy-003891dc.js';
5
+ import { b as getQueryKeyInternal, T as TRPCContext } from './utilsProxy-c08ebe6e.js';
6
6
 
7
7
  /**
8
8
  * Create proxy for decorating procedures
@@ -4,7 +4,7 @@ var core = require('@trpc/core');
4
4
  var reactQuery = require('@tanstack/react-query');
5
5
  var client = require('@trpc/client');
6
6
  var React = require('react');
7
- var utilsProxy = require('./utilsProxy-aa151f2c.js');
7
+ var utilsProxy = require('./utilsProxy-f0fe7c68.js');
8
8
 
9
9
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
10
 
@@ -2,7 +2,7 @@ import { createRecursiveProxy } from '@trpc/core';
2
2
  import { useQuery, useSuspenseQuery, useQueryClient, useMutation, hashKey, useInfiniteQuery, useSuspenseInfiniteQuery, useQueries, useSuspenseQueries } from '@tanstack/react-query';
3
3
  import { TRPCUntypedClient, getUntypedClient, createTRPCUntypedClient } from '@trpc/client';
4
4
  import React, { useRef, useState, useMemo, useEffect } from 'react';
5
- import { b as getQueryKeyInternal, T as TRPCContext } from './utilsProxy-e4c93b46.mjs';
5
+ import { b as getQueryKeyInternal, T as TRPCContext } from './utilsProxy-5402e992.mjs';
6
6
 
7
7
  /**
8
8
  * Create proxy for decorating procedures
@@ -23,11 +23,11 @@ type CursorInput = {
23
23
  */
24
24
  export type MaybeDecoratedInfiniteQuery<TProcedure extends AnyProcedure, TConfig extends AnyRootConfig> = inferProcedureInput<TProcedure> extends CursorInput ? {
25
25
  /**
26
- * @see https://trpc.io/docs/client/react/suspense#useinfinitesuspensequery
26
+ * @link https://trpc.io/docs/v11/client/react/suspense#useinfinitesuspensequery
27
27
  */
28
28
  useInfiniteQuery: (input: Omit<inferProcedureInput<TProcedure>, 'cursor'>, opts: UseTRPCInfiniteQueryOptions<inferProcedureInput<TProcedure>, inferTransformedProcedureOutput<TConfig, TProcedure>, TRPCClientErrorLike<TConfig>>) => UseTRPCInfiniteQueryResult<inferTransformedProcedureOutput<TConfig, TProcedure>, TRPCClientErrorLike<TConfig>, inferProcedureInput<TProcedure>>;
29
29
  /**
30
- * @see https://trpc.io/docs/client/react/suspense
30
+ * @link https://trpc.io/docs/v11/client/react/suspense
31
31
  */
32
32
  useSuspenseInfiniteQuery: (input: Omit<inferProcedureInput<TProcedure>, 'cursor'>, opts: UseTRPCSuspenseInfiniteQueryOptions<inferProcedureInput<TProcedure>, inferTransformedProcedureOutput<TConfig, TProcedure>, TRPCClientErrorLike<TConfig>>) => UseTRPCSuspenseInfiniteQueryResult<inferTransformedProcedureOutput<TConfig, TProcedure>, TRPCClientErrorLike<TConfig>, inferProcedureInput<TProcedure>>;
33
33
  } : object;
@@ -36,11 +36,11 @@ export type MaybeDecoratedInfiniteQuery<TProcedure extends AnyProcedure, TConfig
36
36
  */
37
37
  export type DecoratedQueryMethods<TConfig extends AnyRootConfig, TProcedure extends AnyProcedure> = {
38
38
  /**
39
- * @see https://trpc.io/docs/client/react/useQuery
39
+ * @link https://trpc.io/docs/v11/client/react/useQuery
40
40
  */
41
41
  useQuery: ProcedureUseQuery<TConfig, TProcedure>;
42
42
  /**
43
- * @see https://trpc.io/docs/client/react/suspense#usesuspensequery
43
+ * @link https://trpc.io/docs/v11/client/react/suspense#usesuspensequery
44
44
  */
45
45
  useSuspenseQuery: <TQueryFnData extends inferTransformedProcedureOutput<TConfig, TProcedure> = inferTransformedProcedureOutput<TConfig, TProcedure>, TData = TQueryFnData>(input: inferProcedureInput<TProcedure>, opts?: UseTRPCSuspenseQueryOptions<TQueryFnData, TData, TRPCClientErrorLike<TConfig>>) => UseTRPCSuspenseQueryResult<TData, TRPCClientErrorLike<TConfig>>;
46
46
  };
@@ -53,7 +53,7 @@ export type DecoratedQuery<TConfig extends AnyRootConfig, TProcedure extends Any
53
53
  */
54
54
  export interface DecoratedMutation<TConfig extends AnyRootConfig, TProcedure extends AnyProcedure> {
55
55
  /**
56
- * @see https://trpc.io/docs/client/react/useMutation
56
+ * @link https://trpc.io/docs/v11/client/react/useMutation
57
57
  */
58
58
  useMutation: <TContext = unknown>(opts?: UseTRPCMutationOptions<inferProcedureInput<TProcedure>, TRPCClientErrorLike<TConfig>, inferTransformedProcedureOutput<TConfig, TProcedure>, TContext>) => UseTRPCMutationResult<inferTransformedProcedureOutput<TConfig, TProcedure>, TRPCClientErrorLike<TConfig>, inferProcedureInput<TProcedure>, TContext>;
59
59
  }
@@ -62,7 +62,7 @@ export interface DecoratedMutation<TConfig extends AnyRootConfig, TProcedure ext
62
62
  */
63
63
  export type DecorateProcedure<TConfig extends AnyRootConfig, TProcedure extends AnyProcedure, _TFlags> = TProcedure extends AnyQueryProcedure ? DecoratedQuery<TConfig, TProcedure> : TProcedure extends AnyMutationProcedure ? DecoratedMutation<TConfig, TProcedure> : TProcedure extends AnySubscriptionProcedure ? {
64
64
  /**
65
- * @see https://trpc.io/docs/subscriptions
65
+ * @link https://trpc.io/docs/v11/subscriptions
66
66
  */
67
67
  useSubscription: (input: inferProcedureInput<TProcedure>, opts?: UseTRPCSubscriptionOptions<inferTransformedSubscriptionOutput<TConfig, TProcedure>, TRPCClientErrorLike<TConfig>>) => void;
68
68
  } : never;
@@ -79,11 +79,11 @@ export type CreateTRPCReactBase<TRouter extends AnyRouter, TSSRContext> = {
79
79
  /**
80
80
  * @deprecated renamed to `useUtils` and will be removed in a future tRPC version
81
81
  *
82
- * @see https://trpc.io/docs/client/react/useUtils
82
+ * @link https://trpc.io/docs/v11/client/react/useUtils
83
83
  */
84
84
  useContext(): CreateReactUtils<TRouter, TSSRContext>;
85
85
  /**
86
- * @see https://trpc.io/docs/client/react/useUtils
86
+ * @link https://trpc.io/docs/v11/client/react/useUtils
87
87
  */
88
88
  useUtils(): CreateReactUtils<TRouter, TSSRContext>;
89
89
  Provider: TRPCProvider<TRouter, TSSRContext>;
package/dist/index.js CHANGED
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var client = require('@trpc/client');
6
- var utilsProxy = require('./utilsProxy-aa151f2c.js');
6
+ var utilsProxy = require('./utilsProxy-f0fe7c68.js');
7
7
  var core = require('@trpc/core');
8
8
  var React = require('react');
9
- var createHooksInternal$1 = require('./createHooksInternal-e15b2117.js');
9
+ var createHooksInternal$1 = require('./createHooksInternal-6c0232d7.js');
10
10
  require('@tanstack/react-query');
11
11
 
12
12
  /**
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  export * from '@trpc/client';
2
- import { c as createReactQueryUtils, a as createQueryUtilsProxy } from './utilsProxy-e4c93b46.mjs';
3
- export { g as getQueryKey } from './utilsProxy-e4c93b46.mjs';
2
+ import { c as createReactQueryUtils, a as createQueryUtilsProxy } from './utilsProxy-5402e992.mjs';
3
+ export { g as getQueryKey } from './utilsProxy-5402e992.mjs';
4
4
  import { createFlatProxy } from '@trpc/core';
5
5
  import { useMemo } from 'react';
6
- import { c as createRootHooks, a as createReactDecoration, b as createUtilityFunctions } from './createHooksInternal-99f56cf8.mjs';
6
+ import { c as createRootHooks, a as createReactDecoration, b as createUtilityFunctions } from './createHooksInternal-df9ecb1f.mjs';
7
7
  import '@tanstack/react-query';
8
8
 
9
9
  /**
@@ -32,7 +32,7 @@ type GetQueryKeyParams<TConfig extends AnyRootConfig, TProcedureOrRouter extends
32
32
  * @param procedureOrRouter - procedure or AnyRouter
33
33
  * @param input - input to procedureOrRouter
34
34
  * @param type - defaults to `any`
35
- * @link https://trpc.io/docs/getQueryKey
35
+ * @link https://trpc.io/docs/v11/getQueryKey
36
36
  */
37
37
  export declare function getQueryKey<TConfig extends AnyRootConfig, TProcedureOrRouter extends AnyMutationProcedure | AnyQueryProcedure | AnyRouter, TFlags>(..._params: GetQueryKeyParams<TConfig, TProcedureOrRouter, TFlags>): TRPCQueryKey;
38
38
  export type QueryKeyKnown<TInput, TType extends Exclude<QueryType, 'any'>> = [
@@ -5,13 +5,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var reactQuery = require('@tanstack/react-query');
6
6
  var client = require('@trpc/client');
7
7
  var core = require('@trpc/core');
8
- var utilsProxy = require('../utilsProxy-aa151f2c.js');
8
+ var utilsProxy = require('../utilsProxy-f0fe7c68.js');
9
9
  require('react');
10
10
  var queryClient = require('../queryClient-358a9a75.js');
11
11
 
12
12
  /**
13
13
  * Create functions you can use for server-side rendering / static generation
14
- * @see https://trpc.io/docs/client/nextjs/server-side-helpers
14
+ * @link https://trpc.io/docs/v11/client/nextjs/server-side-helpers
15
15
  */ function createServerSideHelpers(opts) {
16
16
  const queryClient$1 = queryClient.getQueryClient(opts);
17
17
  const resolvedOpts = (()=>{
@@ -1,13 +1,13 @@
1
1
  import { dehydrate } from '@tanstack/react-query';
2
2
  import { TRPCUntypedClient, getUntypedClient } from '@trpc/client';
3
3
  import { callProcedure, createFlatProxy, createRecursiveProxy } from '@trpc/core';
4
- import { b as getQueryKeyInternal, d as getQueryType } from '../utilsProxy-e4c93b46.mjs';
4
+ import { b as getQueryKeyInternal, d as getQueryType } from '../utilsProxy-5402e992.mjs';
5
5
  import 'react';
6
6
  import { g as getQueryClient } from '../queryClient-4d766c0c.mjs';
7
7
 
8
8
  /**
9
9
  * Create functions you can use for server-side rendering / static generation
10
- * @see https://trpc.io/docs/client/nextjs/server-side-helpers
10
+ * @link https://trpc.io/docs/v11/client/nextjs/server-side-helpers
11
11
  */ function createServerSideHelpers(opts) {
12
12
  const queryClient = getQueryClient(opts);
13
13
  const resolvedOpts = (()=>{
@@ -38,7 +38,7 @@ type DecoratedProcedureSSGRecord<TRouter extends AnyRouter> = {
38
38
  };
39
39
  /**
40
40
  * Create functions you can use for server-side rendering / static generation
41
- * @see https://trpc.io/docs/client/nextjs/server-side-helpers
41
+ * @link https://trpc.io/docs/v11/client/nextjs/server-side-helpers
42
42
  */
43
43
  export declare function createServerSideHelpers<TRouter extends AnyRouter>(opts: CreateServerSideHelpersOptions<TRouter>): ProtectedIntersection<{
44
44
  queryClient: QueryClient;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var createHooksInternal = require('../createHooksInternal-e15b2117.js');
6
- var utilsProxy = require('../utilsProxy-aa151f2c.js');
5
+ var createHooksInternal = require('../createHooksInternal-6c0232d7.js');
6
+ var utilsProxy = require('../utilsProxy-f0fe7c68.js');
7
7
  var queryClient = require('../queryClient-358a9a75.js');
8
8
  require('@trpc/core');
9
9
  require('@tanstack/react-query');
@@ -1,5 +1,5 @@
1
- export { a as createReactDecoration, c as createRootHooks, d as createUseQueries, g as getClientArgs } from '../createHooksInternal-99f56cf8.mjs';
2
- export { T as TRPCContext, e as contextProps, a as createQueryUtilsProxy, c as createReactQueryUtils, d as getQueryType } from '../utilsProxy-e4c93b46.mjs';
1
+ export { a as createReactDecoration, c as createRootHooks, d as createUseQueries, g as getClientArgs } from '../createHooksInternal-df9ecb1f.mjs';
2
+ export { T as TRPCContext, e as contextProps, a as createQueryUtilsProxy, c as createReactQueryUtils, d as getQueryType } from '../utilsProxy-5402e992.mjs';
3
3
  export { g as getQueryClient } from '../queryClient-4d766c0c.mjs';
4
4
  import '@trpc/core';
5
5
  import '@tanstack/react-query';
@@ -34,7 +34,7 @@ import { createContext } from 'react';
34
34
  * @param procedureOrRouter - procedure or AnyRouter
35
35
  * @param input - input to procedureOrRouter
36
36
  * @param type - defaults to `any`
37
- * @link https://trpc.io/docs/getQueryKey
37
+ * @link https://trpc.io/docs/v11/getQueryKey
38
38
  */ function getQueryKey(..._params) {
39
39
  const [procedureOrRouter, input, type] = _params;
40
40
  // @ts-expect-error - we don't expose _def on the type layer
@@ -30,7 +30,7 @@ function getQueryKeyInternal(path, input, type) {
30
30
  * @param procedureOrRouter - procedure or AnyRouter
31
31
  * @param input - input to procedureOrRouter
32
32
  * @param type - defaults to `any`
33
- * @link https://trpc.io/docs/getQueryKey
33
+ * @link https://trpc.io/docs/v11/getQueryKey
34
34
  */
35
35
  function getQueryKey(..._params) {
36
36
  const [procedureOrRouter, input, type] = _params;
@@ -36,7 +36,7 @@ var React = require('react');
36
36
  * @param procedureOrRouter - procedure or AnyRouter
37
37
  * @param input - input to procedureOrRouter
38
38
  * @param type - defaults to `any`
39
- * @link https://trpc.io/docs/getQueryKey
39
+ * @link https://trpc.io/docs/v11/getQueryKey
40
40
  */ function getQueryKey(..._params) {
41
41
  const [procedureOrRouter, input, type] = _params;
42
42
  // @ts-expect-error - we don't expose _def on the type layer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/react-query",
3
- "version": "11.0.0-next-alpha.175+2d1b3f6ac",
3
+ "version": "11.0.0-next-beta.178+f6674ef59",
4
4
  "description": "The tRPC React library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -57,17 +57,17 @@
57
57
  }
58
58
  },
59
59
  "dependencies": {
60
- "@trpc/core": "11.0.0-next-alpha.175+2d1b3f6ac"
60
+ "@trpc/core": "11.0.0-next-beta.178+f6674ef59"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@tanstack/react-query": "^5.0.0",
64
- "@trpc/client": "11.0.0-next-alpha.175+2d1b3f6ac",
64
+ "@trpc/client": "11.0.0-next-beta.178+f6674ef59",
65
65
  "react": ">=18.2.0",
66
66
  "react-dom": ">=18.2.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@tanstack/react-query": "^5.0.0",
70
- "@trpc/client": "11.0.0-next-alpha.175+2d1b3f6ac",
70
+ "@trpc/client": "11.0.0-next-beta.178+f6674ef59",
71
71
  "@types/express": "^4.17.17",
72
72
  "@types/node": "^20.10.0",
73
73
  "@types/react": "^18.2.33",
@@ -86,5 +86,5 @@
86
86
  "funding": [
87
87
  "https://trpc.io/sponsor"
88
88
  ],
89
- "gitHead": "2d1b3f6ac5bcb646f634bd27cd6ff04155feab8e"
89
+ "gitHead": "f6674ef5901fe558e9f482918fe2b7b2218185cc"
90
90
  }
@@ -98,7 +98,7 @@ export type MaybeDecoratedInfiniteQuery<
98
98
  > = inferProcedureInput<TProcedure> extends CursorInput
99
99
  ? {
100
100
  /**
101
- * @see https://trpc.io/docs/client/react/suspense#useinfinitesuspensequery
101
+ * @link https://trpc.io/docs/v11/client/react/suspense#useinfinitesuspensequery
102
102
  */
103
103
  useInfiniteQuery: (
104
104
  input: Omit<inferProcedureInput<TProcedure>, 'cursor'>,
@@ -113,7 +113,7 @@ export type MaybeDecoratedInfiniteQuery<
113
113
  inferProcedureInput<TProcedure>
114
114
  >;
115
115
  /**
116
- * @see https://trpc.io/docs/client/react/suspense
116
+ * @link https://trpc.io/docs/v11/client/react/suspense
117
117
  */
118
118
  useSuspenseInfiniteQuery: (
119
119
  input: Omit<inferProcedureInput<TProcedure>, 'cursor'>,
@@ -138,11 +138,11 @@ export type DecoratedQueryMethods<
138
138
  TProcedure extends AnyProcedure,
139
139
  > = {
140
140
  /**
141
- * @see https://trpc.io/docs/client/react/useQuery
141
+ * @link https://trpc.io/docs/v11/client/react/useQuery
142
142
  */
143
143
  useQuery: ProcedureUseQuery<TConfig, TProcedure>;
144
144
  /**
145
- * @see https://trpc.io/docs/client/react/suspense#usesuspensequery
145
+ * @link https://trpc.io/docs/v11/client/react/suspense#usesuspensequery
146
146
  */
147
147
  useSuspenseQuery: <
148
148
  TQueryFnData extends inferTransformedProcedureOutput<
@@ -177,7 +177,7 @@ export interface DecoratedMutation<
177
177
  TProcedure extends AnyProcedure,
178
178
  > {
179
179
  /**
180
- * @see https://trpc.io/docs/client/react/useMutation
180
+ * @link https://trpc.io/docs/v11/client/react/useMutation
181
181
  */
182
182
  useMutation: <TContext = unknown>(
183
183
  opts?: UseTRPCMutationOptions<
@@ -208,7 +208,7 @@ export type DecorateProcedure<
208
208
  : TProcedure extends AnySubscriptionProcedure
209
209
  ? {
210
210
  /**
211
- * @see https://trpc.io/docs/subscriptions
211
+ * @link https://trpc.io/docs/v11/subscriptions
212
212
  */
213
213
  useSubscription: (
214
214
  input: inferProcedureInput<TProcedure>,
@@ -246,11 +246,11 @@ export type CreateTRPCReactBase<TRouter extends AnyRouter, TSSRContext> = {
246
246
  /**
247
247
  * @deprecated renamed to `useUtils` and will be removed in a future tRPC version
248
248
  *
249
- * @see https://trpc.io/docs/client/react/useUtils
249
+ * @link https://trpc.io/docs/v11/client/react/useUtils
250
250
  */
251
251
  useContext(): CreateReactUtils<TRouter, TSSRContext>;
252
252
  /**
253
- * @see https://trpc.io/docs/client/react/useUtils
253
+ * @link https://trpc.io/docs/v11/client/react/useUtils
254
254
  */
255
255
  useUtils(): CreateReactUtils<TRouter, TSSRContext>;
256
256
  Provider: TRPCProvider<TRouter, TSSRContext>;
@@ -104,7 +104,7 @@ type GetQueryKeyParams<
104
104
  * @param procedureOrRouter - procedure or AnyRouter
105
105
  * @param input - input to procedureOrRouter
106
106
  * @param type - defaults to `any`
107
- * @link https://trpc.io/docs/getQueryKey
107
+ * @link https://trpc.io/docs/v11/getQueryKey
108
108
  */
109
109
  export function getQueryKey<
110
110
  TConfig extends AnyRootConfig,
@@ -124,7 +124,7 @@ type AnyDecoratedProcedure = DecorateProcedure<any, any>;
124
124
 
125
125
  /**
126
126
  * Create functions you can use for server-side rendering / static generation
127
- * @see https://trpc.io/docs/client/nextjs/server-side-helpers
127
+ * @link https://trpc.io/docs/v11/client/nextjs/server-side-helpers
128
128
  */
129
129
  export function createServerSideHelpers<TRouter extends AnyRouter>(
130
130
  opts: CreateServerSideHelpersOptions<TRouter>,