@trpc/react-query 11.0.0-alpha-tmp-export-from-main-nuke-core.229 → 11.0.0-alpha-tmp-export-from-main.212
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/dist/{createHooksInternal-08a68de5.js → createHooksInternal-4285c71a.js} +2 -2
- package/dist/{createHooksInternal-7cefbae9.js → createHooksInternal-5d2fa367.js} +4 -4
- package/dist/{createHooksInternal-19d40d9b.mjs → createHooksInternal-e0b0564e.mjs} +2 -2
- package/dist/createTRPCQueryUtils.d.ts +1 -1
- package/dist/createTRPCQueryUtils.d.ts.map +1 -1
- package/dist/createTRPCReact.d.ts +1 -1
- package/dist/createTRPCReact.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/internals/context.d.ts +1 -1
- package/dist/internals/context.d.ts.map +1 -1
- package/dist/internals/getQueryKey.d.ts +1 -1
- package/dist/internals/getQueryKey.d.ts.map +1 -1
- package/dist/internals/useQueries.d.ts +1 -1
- package/dist/internals/useQueries.d.ts.map +1 -1
- package/dist/server/index.js +5 -5
- package/dist/server/index.mjs +2 -2
- package/dist/server/ssgProxy.d.ts +1 -1
- package/dist/server/ssgProxy.d.ts.map +1 -1
- package/dist/shared/hooks/createHooksInternal.d.ts +1 -1
- package/dist/shared/hooks/createHooksInternal.d.ts.map +1 -1
- package/dist/shared/hooks/types.d.ts +1 -1
- package/dist/shared/hooks/types.d.ts.map +1 -1
- package/dist/shared/index.js +3 -3
- package/dist/shared/index.mjs +3 -3
- package/dist/shared/polymorphism/mutationLike.d.ts +1 -1
- package/dist/shared/polymorphism/mutationLike.d.ts.map +1 -1
- package/dist/shared/polymorphism/queryLike.d.ts +1 -1
- package/dist/shared/polymorphism/queryLike.d.ts.map +1 -1
- package/dist/shared/polymorphism/routerLike.d.ts +1 -1
- package/dist/shared/polymorphism/routerLike.d.ts.map +1 -1
- package/dist/shared/polymorphism/utilsLike.d.ts +1 -1
- package/dist/shared/polymorphism/utilsLike.d.ts.map +1 -1
- package/dist/shared/proxy/decorationProxy.d.ts +1 -1
- package/dist/shared/proxy/decorationProxy.d.ts.map +1 -1
- package/dist/shared/proxy/useQueriesProxy.d.ts +1 -1
- package/dist/shared/proxy/useQueriesProxy.d.ts.map +1 -1
- package/dist/shared/proxy/utilsProxy.d.ts +1 -1
- package/dist/shared/proxy/utilsProxy.d.ts.map +1 -1
- package/dist/shared/types.d.ts +1 -1
- package/dist/shared/types.d.ts.map +1 -1
- package/dist/utils/createUtilityFunctions.d.ts +1 -1
- package/dist/utils/createUtilityFunctions.d.ts.map +1 -1
- package/dist/utils/inferReactQueryProcedure.d.ts +1 -1
- package/dist/utils/inferReactQueryProcedure.d.ts.map +1 -1
- package/dist/{utilsProxy-fdb291de.js → utilsProxy-0b88c1e3.js} +4 -4
- package/dist/{utilsProxy-96b3c563.mjs → utilsProxy-61a4601f.mjs} +1 -1
- package/dist/{utilsProxy-6710b593.js → utilsProxy-ff357a62.js} +1 -1
- package/package.json +31 -15
- package/src/createTRPCQueryUtils.tsx +1 -1
- package/src/createTRPCReact.tsx +2 -2
- package/src/internals/context.tsx +1 -4
- package/src/internals/getQueryKey.ts +1 -1
- package/src/internals/useQueries.ts +1 -4
- package/src/server/ssgProxy.ts +2 -2
- package/src/shared/hooks/createHooksInternal.tsx +1 -1
- package/src/shared/hooks/types.ts +1 -4
- package/src/shared/polymorphism/mutationLike.ts +1 -1
- package/src/shared/polymorphism/queryLike.ts +1 -1
- package/src/shared/polymorphism/routerLike.ts +1 -1
- package/src/shared/polymorphism/utilsLike.ts +1 -1
- package/src/shared/proxy/decorationProxy.ts +2 -2
- package/src/shared/proxy/useQueriesProxy.ts +2 -2
- package/src/shared/proxy/utilsProxy.ts +2 -5
- package/src/shared/types.ts +1 -4
- package/src/utils/createUtilityFunctions.ts +1 -1
- package/src/utils/inferReactQueryProcedure.ts +1 -1
- package/dist/bundle-analysis.json +0 -240
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var client = require('@trpc/client');
|
|
4
|
-
var
|
|
4
|
+
var core = require('@trpc/core');
|
|
5
5
|
var React = require('react');
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
@@ -96,7 +96,7 @@ const getQueryType = (utilName)=>{
|
|
|
96
96
|
/**
|
|
97
97
|
* @internal
|
|
98
98
|
*/ function createRecursiveUtilsProxy(context, key) {
|
|
99
|
-
return
|
|
99
|
+
return core.createRecursiveProxy((opts)=>{
|
|
100
100
|
const path = [
|
|
101
101
|
key,
|
|
102
102
|
...opts.path
|
|
@@ -133,7 +133,7 @@ const getQueryType = (utilName)=>{
|
|
|
133
133
|
/**
|
|
134
134
|
* @internal
|
|
135
135
|
*/ function createReactQueryUtils(context) {
|
|
136
|
-
return
|
|
136
|
+
return core.createFlatProxy((key)=>{
|
|
137
137
|
const contextName = key;
|
|
138
138
|
if (contextName === 'client') {
|
|
139
139
|
return client.createTRPCClientProxy(context.client);
|
|
@@ -147,7 +147,7 @@ const getQueryType = (utilName)=>{
|
|
|
147
147
|
/**
|
|
148
148
|
* @internal
|
|
149
149
|
*/ function createQueryUtilsProxy(context) {
|
|
150
|
-
return
|
|
150
|
+
return core.createFlatProxy((key)=>{
|
|
151
151
|
return createRecursiveUtilsProxy(context, key);
|
|
152
152
|
});
|
|
153
153
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trpc/react-query",
|
|
3
|
-
"version": "11.0.0-alpha-tmp-export-from-main
|
|
3
|
+
"version": "11.0.0-alpha-tmp-export-from-main.212+ef58bb670",
|
|
4
4
|
"description": "The tRPC React library",
|
|
5
5
|
"author": "KATT",
|
|
6
6
|
"license": "MIT",
|
|
@@ -23,19 +23,34 @@
|
|
|
23
23
|
"exports": {
|
|
24
24
|
"./package.json": "./package.json",
|
|
25
25
|
".": {
|
|
26
|
-
"import":
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
"import": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"default": "./dist/index.mjs"
|
|
29
|
+
},
|
|
30
|
+
"require": {
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"default": "./dist/index.js"
|
|
33
|
+
}
|
|
29
34
|
},
|
|
30
35
|
"./server": {
|
|
31
|
-
"import":
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
"import": {
|
|
37
|
+
"types": "./dist/server/index.d.ts",
|
|
38
|
+
"default": "./dist/server/index.mjs"
|
|
39
|
+
},
|
|
40
|
+
"require": {
|
|
41
|
+
"types": "./dist/server/index.d.ts",
|
|
42
|
+
"default": "./dist/server/index.js"
|
|
43
|
+
}
|
|
34
44
|
},
|
|
35
45
|
"./shared": {
|
|
36
|
-
"import":
|
|
37
|
-
|
|
38
|
-
|
|
46
|
+
"import": {
|
|
47
|
+
"types": "./dist/shared/index.d.ts",
|
|
48
|
+
"default": "./dist/shared/index.mjs"
|
|
49
|
+
},
|
|
50
|
+
"require": {
|
|
51
|
+
"types": "./dist/shared/index.d.ts",
|
|
52
|
+
"default": "./dist/shared/index.js"
|
|
53
|
+
}
|
|
39
54
|
}
|
|
40
55
|
},
|
|
41
56
|
"files": [
|
|
@@ -56,17 +71,18 @@
|
|
|
56
71
|
]
|
|
57
72
|
}
|
|
58
73
|
},
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"@trpc/core": "11.0.0-alpha-tmp-export-from-main.212+ef58bb670"
|
|
76
|
+
},
|
|
59
77
|
"peerDependencies": {
|
|
60
78
|
"@tanstack/react-query": "^5.0.0",
|
|
61
|
-
"@trpc/client": "11.0.0-alpha-tmp-export-from-main
|
|
62
|
-
"@trpc/server": "11.0.0-alpha-tmp-export-from-main-nuke-core.229+14b75f259",
|
|
79
|
+
"@trpc/client": "11.0.0-alpha-tmp-export-from-main.212+ef58bb670",
|
|
63
80
|
"react": ">=18.2.0",
|
|
64
81
|
"react-dom": ">=18.2.0"
|
|
65
82
|
},
|
|
66
83
|
"devDependencies": {
|
|
67
84
|
"@tanstack/react-query": "^5.0.0",
|
|
68
|
-
"@trpc/client": "11.0.0-alpha-tmp-export-from-main
|
|
69
|
-
"@trpc/server": "11.0.0-alpha-tmp-export-from-main-nuke-core.229+14b75f259",
|
|
85
|
+
"@trpc/client": "11.0.0-alpha-tmp-export-from-main.212+ef58bb670",
|
|
70
86
|
"@types/express": "^4.17.17",
|
|
71
87
|
"@types/node": "^20.10.0",
|
|
72
88
|
"@types/react": "^18.2.33",
|
|
@@ -85,5 +101,5 @@
|
|
|
85
101
|
"funding": [
|
|
86
102
|
"https://trpc.io/sponsor"
|
|
87
103
|
],
|
|
88
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "ef58bb6705e3609f9f24490d8d5df40996ebbbf9"
|
|
89
105
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnyRouter } from '@trpc/
|
|
1
|
+
import type { AnyRouter } from '@trpc/core';
|
|
2
2
|
import { createQueryUtilsProxy } from './shared';
|
|
3
3
|
import type { CreateQueryUtilsOptions } from './utils/createUtilityFunctions';
|
|
4
4
|
import { createUtilityFunctions } from './utils/createUtilityFunctions';
|
package/src/createTRPCReact.tsx
CHANGED
|
@@ -11,8 +11,8 @@ import type {
|
|
|
11
11
|
inferTransformedSubscriptionOutput,
|
|
12
12
|
ProcedureRouterRecord,
|
|
13
13
|
ProtectedIntersection,
|
|
14
|
-
} from '@trpc/
|
|
15
|
-
import { createFlatProxy } from '@trpc/
|
|
14
|
+
} from '@trpc/core';
|
|
15
|
+
import { createFlatProxy } from '@trpc/core';
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
import type {
|
|
18
18
|
TRPCUseQueries,
|
|
@@ -19,10 +19,7 @@ import type {
|
|
|
19
19
|
TRPCRequestOptions,
|
|
20
20
|
TRPCUntypedClient,
|
|
21
21
|
} from '@trpc/client';
|
|
22
|
-
import type {
|
|
23
|
-
AnyRouter,
|
|
24
|
-
DistributiveOmit,
|
|
25
|
-
} from '@trpc/server/unstable-core-do-not-import';
|
|
22
|
+
import type { AnyRouter, DistributiveOmit } from '@trpc/core';
|
|
26
23
|
import * as React from 'react';
|
|
27
24
|
import type { ExtractCursorType } from '../shared';
|
|
28
25
|
import type { TRPCQueryKey } from './getQueryKey';
|
|
@@ -5,7 +5,7 @@ import type {
|
|
|
5
5
|
AnyRouter,
|
|
6
6
|
DeepPartial,
|
|
7
7
|
inferProcedureInput,
|
|
8
|
-
} from '@trpc/
|
|
8
|
+
} from '@trpc/core';
|
|
9
9
|
import type { DecoratedProcedureRecord, DecorateProcedure } from '../shared';
|
|
10
10
|
|
|
11
11
|
export type QueryType = 'any' | 'infinite' | 'query';
|
|
@@ -4,10 +4,7 @@ import type {
|
|
|
4
4
|
UseSuspenseQueryOptions,
|
|
5
5
|
UseSuspenseQueryResult,
|
|
6
6
|
} from '@tanstack/react-query';
|
|
7
|
-
import type {
|
|
8
|
-
AnyRouter,
|
|
9
|
-
DistributiveOmit,
|
|
10
|
-
} from '@trpc/server/unstable-core-do-not-import';
|
|
7
|
+
import type { AnyRouter, DistributiveOmit } from '@trpc/core';
|
|
11
8
|
import type {
|
|
12
9
|
UseQueriesProcedureRecord,
|
|
13
10
|
UseSuspenseQueriesProcedureRecord,
|
package/src/server/ssgProxy.ts
CHANGED
|
@@ -19,12 +19,12 @@ import type {
|
|
|
19
19
|
inferTransformedProcedureOutput,
|
|
20
20
|
Maybe,
|
|
21
21
|
ProtectedIntersection,
|
|
22
|
-
} from '@trpc/
|
|
22
|
+
} from '@trpc/core';
|
|
23
23
|
import {
|
|
24
24
|
callProcedure,
|
|
25
25
|
createFlatProxy,
|
|
26
26
|
createRecursiveProxy,
|
|
27
|
-
} from '@trpc/
|
|
27
|
+
} from '@trpc/core';
|
|
28
28
|
import { getQueryKeyInternal } from '../internals/getQueryKey';
|
|
29
29
|
import type {
|
|
30
30
|
CreateTRPCReactQueryClientConfig,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from '@tanstack/react-query';
|
|
13
13
|
import type { TRPCClientErrorLike } from '@trpc/client';
|
|
14
14
|
import { createTRPCUntypedClient } from '@trpc/client';
|
|
15
|
-
import type { AnyRouter } from '@trpc/
|
|
15
|
+
import type { AnyRouter } from '@trpc/core';
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
import type { SSRState, TRPCContextState } from '../../internals/context';
|
|
18
18
|
import { TRPCContext } from '../../internals/context';
|
|
@@ -22,10 +22,7 @@ import type {
|
|
|
22
22
|
TRPCRequestOptions,
|
|
23
23
|
TRPCUntypedClient,
|
|
24
24
|
} from '@trpc/client';
|
|
25
|
-
import type {
|
|
26
|
-
AnyRouter,
|
|
27
|
-
DistributiveOmit,
|
|
28
|
-
} from '@trpc/server/unstable-core-do-not-import';
|
|
25
|
+
import type { AnyRouter, DistributiveOmit } from '@trpc/core';
|
|
29
26
|
import type { ReactNode } from 'react';
|
|
30
27
|
import type { TRPCContextProps } from '../../internals/context';
|
|
31
28
|
import type { TRPCQueryKey } from '../../internals/getQueryKey';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AnyRouter } from '@trpc/
|
|
2
|
-
import { createRecursiveProxy } from '@trpc/
|
|
1
|
+
import type { AnyRouter } from '@trpc/core';
|
|
2
|
+
import { createRecursiveProxy } from '@trpc/core';
|
|
3
3
|
import type { CreateReactQueryHooks } from '../hooks/createHooksInternal';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -8,8 +8,8 @@ import type {
|
|
|
8
8
|
Filter,
|
|
9
9
|
inferProcedureInput,
|
|
10
10
|
inferTransformedProcedureOutput,
|
|
11
|
-
} from '@trpc/
|
|
12
|
-
import { createRecursiveProxy } from '@trpc/
|
|
11
|
+
} from '@trpc/core';
|
|
12
|
+
import { createRecursiveProxy } from '@trpc/core';
|
|
13
13
|
import { getQueryKeyInternal } from '../../internals/getQueryKey';
|
|
14
14
|
import type {
|
|
15
15
|
TrpcQueryOptionsForUseQueries,
|
|
@@ -21,11 +21,8 @@ import type {
|
|
|
21
21
|
inferProcedureInput,
|
|
22
22
|
inferTransformedProcedureOutput,
|
|
23
23
|
ProtectedIntersection,
|
|
24
|
-
} from '@trpc/
|
|
25
|
-
import {
|
|
26
|
-
createFlatProxy,
|
|
27
|
-
createRecursiveProxy,
|
|
28
|
-
} from '@trpc/server/unstable-core-do-not-import';
|
|
24
|
+
} from '@trpc/core';
|
|
25
|
+
import { createFlatProxy, createRecursiveProxy } from '@trpc/core';
|
|
29
26
|
import type {
|
|
30
27
|
DecoratedTRPCContextProps,
|
|
31
28
|
TRPCContextState,
|
package/src/shared/types.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { QueryClient } from '@tanstack/react-query';
|
|
2
2
|
import type { CreateTRPCClient } from '@trpc/client';
|
|
3
3
|
import { getUntypedClient, TRPCUntypedClient } from '@trpc/client';
|
|
4
|
-
import type { AnyRouter } from '@trpc/
|
|
4
|
+
import type { AnyRouter } from '@trpc/core';
|
|
5
5
|
import { getClientArgs } from '../internals/getClientArgs';
|
|
6
6
|
import type { TRPCQueryUtils } from '../shared';
|
|
7
7
|
|
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"bundleSize": 27003,
|
|
3
|
-
"bundleOrigSize": 62662,
|
|
4
|
-
"bundleReduction": 56.91,
|
|
5
|
-
"modules": [
|
|
6
|
-
{
|
|
7
|
-
"id": "/src/shared/hooks/createHooksInternal.tsx",
|
|
8
|
-
"size": 12646,
|
|
9
|
-
"origSize": 15420,
|
|
10
|
-
"renderedExports": [
|
|
11
|
-
"createRootHooks"
|
|
12
|
-
],
|
|
13
|
-
"removedExports": [],
|
|
14
|
-
"dependents": [
|
|
15
|
-
"/src/createTRPCReact.tsx"
|
|
16
|
-
],
|
|
17
|
-
"percent": 46.83,
|
|
18
|
-
"reduction": 17.99
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"id": "/src/server/ssgProxy.ts",
|
|
22
|
-
"size": 3692,
|
|
23
|
-
"origSize": 7173,
|
|
24
|
-
"renderedExports": [
|
|
25
|
-
"createServerSideHelpers"
|
|
26
|
-
],
|
|
27
|
-
"removedExports": [],
|
|
28
|
-
"dependents": [
|
|
29
|
-
"/src/server/index.ts"
|
|
30
|
-
],
|
|
31
|
-
"percent": 13.67,
|
|
32
|
-
"reduction": 48.53
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"id": "/src/utils/createUtilityFunctions.ts",
|
|
36
|
-
"size": 3264,
|
|
37
|
-
"origSize": 3725,
|
|
38
|
-
"renderedExports": [
|
|
39
|
-
"createUtilityFunctions"
|
|
40
|
-
],
|
|
41
|
-
"removedExports": [],
|
|
42
|
-
"dependents": [
|
|
43
|
-
"/src/createTRPCQueryUtils.tsx",
|
|
44
|
-
"/src/shared/hooks/createHooksInternal.tsx"
|
|
45
|
-
],
|
|
46
|
-
"percent": 12.09,
|
|
47
|
-
"reduction": 12.38
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"id": "/src/shared/proxy/utilsProxy.ts",
|
|
51
|
-
"size": 2717,
|
|
52
|
-
"origSize": 10495,
|
|
53
|
-
"renderedExports": [
|
|
54
|
-
"getQueryType",
|
|
55
|
-
"createReactQueryUtils",
|
|
56
|
-
"createQueryUtilsProxy"
|
|
57
|
-
],
|
|
58
|
-
"removedExports": [],
|
|
59
|
-
"dependents": [
|
|
60
|
-
"/src/shared/index.ts"
|
|
61
|
-
],
|
|
62
|
-
"percent": 10.06,
|
|
63
|
-
"reduction": 74.11
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"id": "/src/internals/getQueryKey.ts",
|
|
67
|
-
"size": 1550,
|
|
68
|
-
"origSize": 3943,
|
|
69
|
-
"renderedExports": [
|
|
70
|
-
"getQueryKeyInternal",
|
|
71
|
-
"getQueryKey"
|
|
72
|
-
],
|
|
73
|
-
"removedExports": [],
|
|
74
|
-
"dependents": [
|
|
75
|
-
"/src/index.ts",
|
|
76
|
-
"/src/server/ssgProxy.ts",
|
|
77
|
-
"/src/shared/proxy/utilsProxy.ts",
|
|
78
|
-
"/src/shared/proxy/useQueriesProxy.ts",
|
|
79
|
-
"/src/shared/hooks/createHooksInternal.tsx"
|
|
80
|
-
],
|
|
81
|
-
"percent": 5.74,
|
|
82
|
-
"reduction": 60.69
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"id": "/src/createTRPCReact.tsx",
|
|
86
|
-
"size": 856,
|
|
87
|
-
"origSize": 8797,
|
|
88
|
-
"renderedExports": [
|
|
89
|
-
"createHooksInternal",
|
|
90
|
-
"createTRPCReact"
|
|
91
|
-
],
|
|
92
|
-
"removedExports": [],
|
|
93
|
-
"dependents": [
|
|
94
|
-
"/src/index.ts"
|
|
95
|
-
],
|
|
96
|
-
"percent": 3.17,
|
|
97
|
-
"reduction": 90.27
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"id": "/src/shared/proxy/decorationProxy.ts",
|
|
101
|
-
"size": 806,
|
|
102
|
-
"origSize": 1049,
|
|
103
|
-
"renderedExports": [
|
|
104
|
-
"createReactDecoration"
|
|
105
|
-
],
|
|
106
|
-
"removedExports": [],
|
|
107
|
-
"dependents": [
|
|
108
|
-
"/src/shared/index.ts"
|
|
109
|
-
],
|
|
110
|
-
"percent": 2.98,
|
|
111
|
-
"reduction": 23.16
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"id": "/src/shared/proxy/useQueriesProxy.ts",
|
|
115
|
-
"size": 568,
|
|
116
|
-
"origSize": 3173,
|
|
117
|
-
"renderedExports": [
|
|
118
|
-
"createUseQueries"
|
|
119
|
-
],
|
|
120
|
-
"removedExports": [],
|
|
121
|
-
"dependents": [
|
|
122
|
-
"/src/shared/index.ts",
|
|
123
|
-
"/src/shared/hooks/createHooksInternal.tsx"
|
|
124
|
-
],
|
|
125
|
-
"percent": 2.1,
|
|
126
|
-
"reduction": 82.1
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"id": "/src/internals/getClientArgs.ts",
|
|
130
|
-
"size": 265,
|
|
131
|
-
"origSize": 363,
|
|
132
|
-
"renderedExports": [
|
|
133
|
-
"getClientArgs"
|
|
134
|
-
],
|
|
135
|
-
"removedExports": [],
|
|
136
|
-
"dependents": [
|
|
137
|
-
"/src/shared/index.ts",
|
|
138
|
-
"/src/utils/createUtilityFunctions.ts",
|
|
139
|
-
"/src/shared/hooks/createHooksInternal.tsx"
|
|
140
|
-
],
|
|
141
|
-
"percent": 0.98,
|
|
142
|
-
"reduction": 27
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"id": "/src/internals/useHookResult.ts",
|
|
146
|
-
"size": 195,
|
|
147
|
-
"origSize": 342,
|
|
148
|
-
"renderedExports": [
|
|
149
|
-
"useHookResult"
|
|
150
|
-
],
|
|
151
|
-
"removedExports": [],
|
|
152
|
-
"dependents": [
|
|
153
|
-
"/src/shared/hooks/createHooksInternal.tsx"
|
|
154
|
-
],
|
|
155
|
-
"percent": 0.72,
|
|
156
|
-
"reduction": 42.98
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"id": "/src/createTRPCQueryUtils.tsx",
|
|
160
|
-
"size": 161,
|
|
161
|
-
"origSize": 485,
|
|
162
|
-
"renderedExports": [
|
|
163
|
-
"createTRPCQueryUtils"
|
|
164
|
-
],
|
|
165
|
-
"removedExports": [],
|
|
166
|
-
"dependents": [
|
|
167
|
-
"/src/index.ts"
|
|
168
|
-
],
|
|
169
|
-
"percent": 0.6,
|
|
170
|
-
"reduction": 66.8
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"id": "/src/internals/context.tsx",
|
|
174
|
-
"size": 154,
|
|
175
|
-
"origSize": 6106,
|
|
176
|
-
"renderedExports": [
|
|
177
|
-
"contextProps",
|
|
178
|
-
"TRPCContext"
|
|
179
|
-
],
|
|
180
|
-
"removedExports": [],
|
|
181
|
-
"dependents": [
|
|
182
|
-
"/src/shared/index.ts",
|
|
183
|
-
"/src/shared/index.ts",
|
|
184
|
-
"/src/shared/proxy/utilsProxy.ts",
|
|
185
|
-
"/src/shared/hooks/createHooksInternal.tsx"
|
|
186
|
-
],
|
|
187
|
-
"percent": 0.57,
|
|
188
|
-
"reduction": 97.48
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"id": "/src/shared/queryClient.ts",
|
|
192
|
-
"size": 129,
|
|
193
|
-
"origSize": 514,
|
|
194
|
-
"renderedExports": [
|
|
195
|
-
"getQueryClient"
|
|
196
|
-
],
|
|
197
|
-
"removedExports": [],
|
|
198
|
-
"dependents": [
|
|
199
|
-
"/src/shared/index.ts"
|
|
200
|
-
],
|
|
201
|
-
"percent": 0.48,
|
|
202
|
-
"reduction": 74.9
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"id": "/src/index.ts",
|
|
206
|
-
"size": 0,
|
|
207
|
-
"origSize": 313,
|
|
208
|
-
"renderedExports": [],
|
|
209
|
-
"removedExports": [],
|
|
210
|
-
"dependents": [],
|
|
211
|
-
"percent": 0,
|
|
212
|
-
"reduction": 100
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"id": "/src/server/index.ts",
|
|
216
|
-
"size": 0,
|
|
217
|
-
"origSize": 54,
|
|
218
|
-
"renderedExports": [],
|
|
219
|
-
"removedExports": [],
|
|
220
|
-
"dependents": [],
|
|
221
|
-
"percent": 0,
|
|
222
|
-
"reduction": 100
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"id": "/src/shared/index.ts",
|
|
226
|
-
"size": 0,
|
|
227
|
-
"origSize": 710,
|
|
228
|
-
"renderedExports": [],
|
|
229
|
-
"removedExports": [],
|
|
230
|
-
"dependents": [
|
|
231
|
-
"/src/createTRPCReact.tsx",
|
|
232
|
-
"/src/createTRPCQueryUtils.tsx",
|
|
233
|
-
"/src/server/ssgProxy.ts"
|
|
234
|
-
],
|
|
235
|
-
"percent": 0,
|
|
236
|
-
"reduction": 100
|
|
237
|
-
}
|
|
238
|
-
],
|
|
239
|
-
"moduleCount": 16
|
|
240
|
-
}
|