@orpc/react 0.10.0 → 0.12.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.
- package/dist/index.js +0 -1
- package/dist/src/general-hooks.d.ts +0 -1
- package/dist/src/general-utils.d.ts +0 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/orpc-path.d.ts +0 -1
- package/dist/src/procedure-hooks.d.ts +0 -1
- package/dist/src/procedure-utils.d.ts +0 -1
- package/dist/src/react-context.d.ts +0 -1
- package/dist/src/react-hooks.d.ts +0 -1
- package/dist/src/react-utils.d.ts +0 -1
- package/dist/src/react.d.ts +0 -1
- package/dist/src/tanstack-key.d.ts +0 -1
- package/dist/src/tanstack-query.d.ts +0 -1
- package/dist/src/types.d.ts +0 -1
- package/dist/src/use-queries/builder.d.ts +0 -1
- package/dist/src/use-queries/builders.d.ts +0 -1
- package/dist/src/use-queries/hook.d.ts +0 -1
- package/package.json +12 -16
- package/dist/index.js.map +0 -1
- package/dist/src/general-hooks.d.ts.map +0 -1
- package/dist/src/general-utils.d.ts.map +0 -1
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/orpc-path.d.ts.map +0 -1
- package/dist/src/procedure-hooks.d.ts.map +0 -1
- package/dist/src/procedure-utils.d.ts.map +0 -1
- package/dist/src/react-context.d.ts.map +0 -1
- package/dist/src/react-hooks.d.ts.map +0 -1
- package/dist/src/react-utils.d.ts.map +0 -1
- package/dist/src/react.d.ts.map +0 -1
- package/dist/src/tanstack-key.d.ts.map +0 -1
- package/dist/src/tanstack-query.d.ts.map +0 -1
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/use-queries/builder.d.ts.map +0 -1
- package/dist/src/use-queries/builders.d.ts.map +0 -1
- package/dist/src/use-queries/hook.d.ts.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/src/general-hooks.test-d.ts +0 -151
- package/src/general-hooks.test.tsx +0 -232
- package/src/general-hooks.ts +0 -101
- package/src/general-utils.test-d.ts +0 -454
- package/src/general-utils.test.tsx +0 -818
- package/src/general-utils.ts +0 -393
- package/src/index.ts +0 -8
- package/src/orpc-path.test-d.ts +0 -13
- package/src/orpc-path.test.ts +0 -12
- package/src/orpc-path.ts +0 -24
- package/src/procedure-hooks.test-d.ts +0 -321
- package/src/procedure-hooks.test.tsx +0 -388
- package/src/procedure-hooks.ts +0 -271
- package/src/procedure-utils.test-d.ts +0 -476
- package/src/procedure-utils.test.tsx +0 -330
- package/src/procedure-utils.ts +0 -312
- package/src/react-context.ts +0 -43
- package/src/react-hooks.ts +0 -94
- package/src/react-utils.ts +0 -98
- package/src/react.test-d.ts +0 -89
- package/src/react.test.tsx +0 -102
- package/src/react.tsx +0 -81
- package/src/tanstack-key.test-d.ts +0 -35
- package/src/tanstack-key.test.ts +0 -62
- package/src/tanstack-key.ts +0 -64
- package/src/tanstack-query.ts +0 -27
- package/src/types.ts +0 -7
- package/src/use-queries/builder.test-d.ts +0 -29
- package/src/use-queries/builder.test.ts +0 -25
- package/src/use-queries/builder.ts +0 -71
- package/src/use-queries/builders.test-d.ts +0 -30
- package/src/use-queries/builders.test.tsx +0 -29
- package/src/use-queries/builders.ts +0 -101
- package/src/use-queries/hook.test-d.ts +0 -64
- package/src/use-queries/hook.test.tsx +0 -89
- package/src/use-queries/hook.ts +0 -57
package/dist/index.js
CHANGED
@@ -21,4 +21,3 @@ export interface CreateGeneralHooksOptions {
|
|
21
21
|
path: string[];
|
22
22
|
}
|
23
23
|
export declare function createGeneralHooks<TInputSchema extends Schema = undefined, TOutputSchema extends Schema = undefined, TFuncOutput extends SchemaOutput<TOutputSchema> = SchemaOutput<TOutputSchema>>(options: CreateGeneralHooksOptions): GeneralHooks<TInputSchema, TOutputSchema, TFuncOutput>;
|
24
|
-
//# sourceMappingURL=general-hooks.d.ts.map
|
@@ -38,4 +38,3 @@ export interface CreateGeneralUtilsOptions {
|
|
38
38
|
path: string[];
|
39
39
|
}
|
40
40
|
export declare function createGeneralUtils<TInputSchema extends Schema = undefined, TOutputSchema extends Schema = undefined, TFuncOutput extends SchemaOutput<TOutputSchema> = SchemaOutput<TOutputSchema>>(options: CreateGeneralUtilsOptions): GeneralUtils<TInputSchema, TOutputSchema, TFuncOutput>;
|
41
|
-
//# sourceMappingURL=general-utils.d.ts.map
|
package/dist/src/index.d.ts
CHANGED
package/dist/src/orpc-path.d.ts
CHANGED
@@ -2,4 +2,3 @@ import type { ProcedureHooks } from './procedure-hooks';
|
|
2
2
|
import type { ORPCHooksWithContractRouter, ORPCHooksWithRouter } from './react-hooks';
|
3
3
|
export declare const orpcPathSymbol: unique symbol;
|
4
4
|
export declare function getORPCPath(orpc: ORPCHooksWithContractRouter<any> | ORPCHooksWithRouter<any> | ProcedureHooks<any, any, any>): string[];
|
5
|
-
//# sourceMappingURL=orpc-path.d.ts.map
|
@@ -28,4 +28,3 @@ export interface CreateProcedureHooksOptions {
|
|
28
28
|
path: string[];
|
29
29
|
}
|
30
30
|
export declare function createProcedureHooks<TInputSchema extends Schema = undefined, TOutputSchema extends Schema = undefined, TFuncOutput extends SchemaOutput<TOutputSchema> = SchemaOutput<TOutputSchema>>(options: CreateProcedureHooksOptions): ProcedureHooks<TInputSchema, TOutputSchema, TFuncOutput>;
|
31
|
-
//# sourceMappingURL=procedure-hooks.d.ts.map
|
@@ -32,4 +32,3 @@ export interface CreateProcedureUtilsOptions<TInputSchema extends Schema = undef
|
|
32
32
|
path: string[];
|
33
33
|
}
|
34
34
|
export declare function createProcedureUtils<TInputSchema extends Schema, TOutputSchema extends Schema, TFuncOutput extends SchemaOutput<TOutputSchema>>(options: CreateProcedureUtilsOptions<TInputSchema, TOutputSchema, TFuncOutput>): ProcedureUtils<TInputSchema, TOutputSchema, TFuncOutput>;
|
35
|
-
//# sourceMappingURL=procedure-utils.d.ts.map
|
@@ -10,4 +10,3 @@ export interface ORPCContextValue<TRouter extends ContractRouter | Router<any>>
|
|
10
10
|
export type ORPCContext<TRouter extends ContractRouter | Router<any>> = Context<ORPCContextValue<TRouter> | undefined>;
|
11
11
|
export declare function createORPCContext<TRouter extends ContractRouter | Router<any>>(): ORPCContext<TRouter>;
|
12
12
|
export declare function useORPCContext<TRouter extends ContractRouter | Router<any>>(context: ORPCContext<TRouter>): ORPCContextValue<TRouter>;
|
13
|
-
//# sourceMappingURL=react-context.d.ts.map
|
@@ -19,4 +19,3 @@ export interface CreateORPCHooksOptions<TRouter extends ContractRouter | Router<
|
|
19
19
|
path?: string[];
|
20
20
|
}
|
21
21
|
export declare function createORPCHooks<TRouter extends ContractRouter | Router<any>>(options: CreateORPCHooksOptions<TRouter>): TRouter extends Router<any> ? ORPCHooksWithRouter<TRouter> : TRouter extends ContractRouter ? ORPCHooksWithContractRouter<TRouter> : never;
|
22
|
-
//# sourceMappingURL=react-hooks.d.ts.map
|
@@ -19,4 +19,3 @@ export interface CreateORPCUtilsOptions<TRouter extends ContractRouter | Router<
|
|
19
19
|
path?: string[];
|
20
20
|
}
|
21
21
|
export declare function createORPCUtils<TRouter extends ContractRouter | Router<any>>(options: CreateORPCUtilsOptions<TRouter>): TRouter extends Router<any> ? ORPCUtilsWithRouter<TRouter> : TRouter extends ContractRouter ? ORPCUtilsWithContractRouter<TRouter> : never;
|
22
|
-
//# sourceMappingURL=react-utils.d.ts.map
|
package/dist/src/react.d.ts
CHANGED
@@ -18,4 +18,3 @@ export declare function createORPCReact<TRouter extends ContractRouter | Router<
|
|
18
18
|
orpc: TRouter extends Router<any> ? ORPCReactWithRouter<TRouter> : TRouter extends ContractRouter ? ORPCReactWithContractRouter<TRouter> : never;
|
19
19
|
ORPCContext: ORPCContext<TRouter>;
|
20
20
|
};
|
21
|
-
//# sourceMappingURL=react.d.ts.map
|
@@ -12,4 +12,3 @@ export declare function getQueryKey<T extends ORPCHooksWithContractRouter<any> |
|
|
12
12
|
export declare function getQueryKeyFromPath(path: string[], options?: GetQueryKeyOptions<unknown>): QueryKey;
|
13
13
|
export declare function getMutationKey<T extends ORPCHooksWithContractRouter<any> | ORPCHooksWithRouter<any> | ProcedureHooks<any, any, any>>(orpc: T): MutationKey;
|
14
14
|
export declare function getMutationKeyFromPath(path: string[]): MutationKey;
|
15
|
-
//# sourceMappingURL=tanstack-key.d.ts.map
|
@@ -16,4 +16,3 @@ export interface ORPCQueryFilters<TFilterInput> extends SetOptional<QueryFilters
|
|
16
16
|
}
|
17
17
|
export interface ORPCInvalidateQueryFilters<TFilterInput> extends SetOptional<InvalidateQueryFilters, 'queryKey'>, ORPCAdditionalQueryFilters<TFilterInput> {
|
18
18
|
}
|
19
|
-
//# sourceMappingURL=tanstack-query.d.ts.map
|
package/dist/src/types.d.ts
CHANGED
@@ -17,4 +17,3 @@ export interface CreateUseQueriesBuilderOptions<TInputSchema extends Schema, TOu
|
|
17
17
|
}
|
18
18
|
export declare function createUseQueriesBuilder<TInputSchema extends Schema = undefined, TOutputSchema extends Schema = undefined, TFuncOutput extends SchemaOutput<TOutputSchema> = SchemaOutput<TOutputSchema>>(options: CreateUseQueriesBuilderOptions<TInputSchema, TOutputSchema, TFuncOutput>): UseQueriesBuilder<TInputSchema, TOutputSchema, TFuncOutput>;
|
19
19
|
export {};
|
20
|
-
//# sourceMappingURL=builder.d.ts.map
|
@@ -16,4 +16,3 @@ export interface CreateUseQueriesBuildersOptions<TRouter extends Router<any> | C
|
|
16
16
|
path?: string[];
|
17
17
|
}
|
18
18
|
export declare function createUseQueriesBuilders<TRouter extends Router<any> | ContractRouter>(options: CreateUseQueriesBuildersOptions<TRouter>): TRouter extends Router<any> ? UseQueriesBuildersWithRouter<TRouter> : TRouter extends ContractRouter ? UseQueriesBuildersWithContractRouter<TRouter> : never;
|
19
|
-
//# sourceMappingURL=builders.d.ts.map
|
@@ -13,4 +13,3 @@ export interface UseQueriesFactoryOptions<TRouter extends Router<any> | Contract
|
|
13
13
|
context: ORPCContext<TRouter>;
|
14
14
|
}
|
15
15
|
export declare function useQueriesFactory<TRouter extends Router<any> | ContractRouter>(options: UseQueriesFactoryOptions<TRouter>): TRouter extends Router<any> ? UseQueriesWithRouter<TRouter> : TRouter extends ContractRouter ? UseQueriesWithContractRouter<TRouter> : never;
|
16
|
-
//# sourceMappingURL=hook.d.ts.map
|
package/package.json
CHANGED
@@ -1,21 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@orpc/react",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.
|
5
|
-
"author": {
|
6
|
-
"name": "unnoq",
|
7
|
-
"email": "contact@unnoq.com",
|
8
|
-
"url": "https://unnoq.com"
|
9
|
-
},
|
4
|
+
"version": "0.12.0",
|
10
5
|
"license": "MIT",
|
11
|
-
"homepage": "https://
|
6
|
+
"homepage": "https://orpc.unnoq.com",
|
12
7
|
"repository": {
|
13
8
|
"type": "git",
|
14
|
-
"url": "https://github.com/unnoq/orpc.git",
|
9
|
+
"url": "git+https://github.com/unnoq/orpc.git",
|
15
10
|
"directory": "packages/react"
|
16
11
|
},
|
17
12
|
"keywords": [
|
18
|
-
"unnoq"
|
13
|
+
"unnoq",
|
14
|
+
"orpc"
|
19
15
|
],
|
20
16
|
"exports": {
|
21
17
|
".": {
|
@@ -28,24 +24,24 @@
|
|
28
24
|
}
|
29
25
|
},
|
30
26
|
"files": [
|
31
|
-
"dist",
|
32
|
-
"
|
27
|
+
"!dist/*.tsbuildinfo",
|
28
|
+
"dist"
|
33
29
|
],
|
34
30
|
"peerDependencies": {
|
35
31
|
"@tanstack/react-query": ">=5.59.0",
|
36
32
|
"react": ">=18.3.0",
|
37
|
-
"@orpc/client": "0.
|
38
|
-
"@orpc/
|
39
|
-
"@orpc/
|
33
|
+
"@orpc/client": "0.12.0",
|
34
|
+
"@orpc/server": "0.12.0",
|
35
|
+
"@orpc/contract": "0.12.0"
|
40
36
|
},
|
41
37
|
"dependencies": {
|
42
|
-
"@orpc/shared": "0.
|
38
|
+
"@orpc/shared": "0.12.0"
|
43
39
|
},
|
44
40
|
"devDependencies": {
|
45
41
|
"zod": "^3.23.8"
|
46
42
|
},
|
47
43
|
"scripts": {
|
48
|
-
"build": "tsup --clean --
|
44
|
+
"build": "tsup --clean --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
|
49
45
|
"build:watch": "pnpm run build --watch",
|
50
46
|
"type:check": "tsc -b"
|
51
47
|
}
|
package/dist/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/general-hooks.ts","../src/react-context.ts","../src/orpc-path.ts","../src/tanstack-key.ts","../src/general-utils.ts","../src/procedure-hooks.ts","../src/procedure-utils.ts","../src/react-hooks.ts","../src/react-utils.ts","../src/use-queries/hook.ts","../src/use-queries/builder.ts","../src/use-queries/builders.ts","../src/react.tsx"],"sourcesContent":["import type { Schema, SchemaInput, SchemaOutput } from '@orpc/contract'\nimport type { PartialDeep, SetOptional } from '@orpc/shared'\nimport type { ORPCQueryFilters } from './tanstack-query'\nimport {\n type DefaultError,\n type Mutation,\n type MutationFilters,\n type MutationState,\n useIsFetching,\n useIsMutating,\n useMutationState,\n} from '@tanstack/react-query'\nimport { type ORPCContext, useORPCContext } from './react-context'\nimport { getMutationKeyFromPath, getQueryKeyFromPath } from './tanstack-key'\n\nexport interface GeneralHooks<\n TInputSchema extends Schema,\n TOutputSchema extends Schema,\n TFuncOutput extends SchemaOutput<TOutputSchema>,\n> {\n useIsFetching: (\n filers?: ORPCQueryFilters<PartialDeep<SchemaInput<TInputSchema>>>,\n ) => number\n useIsMutating: (filters?: SetOptional<MutationFilters, 'mutationKey'>) => number\n\n useMutationState: <\n UResult = MutationState<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaInput<TInputSchema>\n >,\n >(options?: {\n filters?: SetOptional<MutationFilters, 'mutationKey'>\n select?: (\n mutation: Mutation<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaInput<TInputSchema>\n >,\n ) => UResult\n }\n ) => UResult[]\n}\n\nexport interface CreateGeneralHooksOptions {\n context: ORPCContext<any>\n\n /**\n * The path of the router or procedure on server.\n *\n * @internal\n */\n path: string[]\n}\n\nexport function createGeneralHooks<\n TInputSchema extends Schema = undefined,\n TOutputSchema extends Schema = undefined,\n TFuncOutput extends\n SchemaOutput<TOutputSchema> = SchemaOutput<TOutputSchema>,\n>(\n options: CreateGeneralHooksOptions,\n): GeneralHooks<TInputSchema, TOutputSchema, TFuncOutput> {\n return {\n useIsFetching(filters) {\n const { queryType, input, ...rest } = filters ?? {}\n const context = useORPCContext(options.context)\n return useIsFetching(\n {\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: queryType,\n }),\n ...rest,\n },\n context.queryClient,\n )\n },\n useIsMutating(filters) {\n const context = useORPCContext(options.context)\n return useIsMutating(\n { mutationKey: getMutationKeyFromPath(options.path), ...filters },\n context.queryClient,\n )\n },\n\n useMutationState(options_) {\n const context = useORPCContext(options.context)\n return useMutationState(\n {\n ...(options_ as any),\n filters: {\n mutationKey: getMutationKeyFromPath(options.path),\n ...options_?.filters,\n },\n },\n context.queryClient,\n )\n },\n }\n}\n","import type {\n RouterClientWithContractRouter,\n RouterClientWithRouter,\n} from '@orpc/client'\nimport type { ContractRouter } from '@orpc/contract'\nimport type { Router } from '@orpc/server'\nimport type { QueryClient } from '@tanstack/react-query'\nimport { type Context, createContext, useContext } from 'react'\n\nexport interface ORPCContextValue<\n TRouter extends ContractRouter | Router<any>,\n> {\n client: TRouter extends ContractRouter\n ? RouterClientWithContractRouter<TRouter>\n : TRouter extends Router<any>\n ? RouterClientWithRouter<TRouter>\n : never\n queryClient: QueryClient\n}\n\nexport type ORPCContext<TRouter extends ContractRouter | Router<any>> = Context<\n ORPCContextValue<TRouter> | undefined\n>\n\nexport function createORPCContext<\n TRouter extends ContractRouter | Router<any>,\n>(): ORPCContext<TRouter> {\n return createContext(undefined as any)\n}\n\nexport function useORPCContext<TRouter extends ContractRouter | Router<any>>(\n context: ORPCContext<TRouter>,\n): ORPCContextValue<TRouter> {\n const value = useContext(context)\n\n if (!value) {\n throw new Error(\n 'useORPCContext must be used within a <ORPCContext.Provider>, please see the docs',\n )\n }\n\n return value\n}\n","import type { ProcedureHooks } from './procedure-hooks'\nimport type {\n ORPCHooksWithContractRouter,\n ORPCHooksWithRouter,\n} from './react-hooks'\n\nexport const orpcPathSymbol = Symbol('orpcPathSymbol')\n\nexport function getORPCPath(\n orpc:\n | ORPCHooksWithContractRouter<any>\n | ORPCHooksWithRouter<any>\n | ProcedureHooks<any, any, any>,\n): string[] {\n const val = Reflect.get(orpc, orpcPathSymbol)\n\n if (!Array.isArray(val)) {\n throw new TypeError(\n 'orpcPathSymbol is not implemented, please use getORPCPath with correct instance.',\n )\n }\n\n return val\n}\n","import type { SchemaInput } from '@orpc/contract'\nimport type { PartialDeep } from '@orpc/shared'\nimport type { MutationKey, QueryKey } from '@tanstack/react-query'\nimport type { ProcedureHooks } from './procedure-hooks'\nimport type {\n ORPCHooksWithContractRouter,\n ORPCHooksWithRouter,\n} from './react-hooks'\nimport { getORPCPath } from './orpc-path'\n\nexport type QueryType = 'query' | 'infinite' | undefined\n\nexport interface GetQueryKeyOptions<TInput> {\n input?: TInput\n type?: QueryType\n}\n\nexport function getQueryKey<\n T extends\n | ORPCHooksWithContractRouter<any>\n | ORPCHooksWithRouter<any>\n | ProcedureHooks<any, any, any>,\n>(\n orpc: T,\n options?: GetQueryKeyOptions<\n T extends ProcedureHooks<infer UInputSchema, any, any>\n ? PartialDeep<SchemaInput<UInputSchema>>\n : unknown\n >,\n): QueryKey {\n const path = getORPCPath(orpc)\n return getQueryKeyFromPath(path, options)\n}\n\nexport function getQueryKeyFromPath(\n path: string[],\n options?: GetQueryKeyOptions<unknown>,\n): QueryKey {\n const withInput\n = options?.input !== undefined ? { input: options?.input } : {}\n const withType = options?.type !== undefined ? { type: options?.type } : {}\n\n return [\n path,\n {\n ...withInput,\n ...withType,\n },\n ]\n}\n\nexport function getMutationKey<\n T extends\n | ORPCHooksWithContractRouter<any>\n | ORPCHooksWithRouter<any>\n | ProcedureHooks<any, any, any>,\n>(orpc: T): MutationKey {\n const path = getORPCPath(orpc)\n return getMutationKeyFromPath(path)\n}\n\nexport function getMutationKeyFromPath(path: string[]): MutationKey {\n return [path]\n}\n","import type { Schema, SchemaInput, SchemaOutput } from '@orpc/contract'\nimport type { PartialDeep, SetOptional } from '@orpc/shared'\nimport type {\n CancelOptions,\n DefaultError,\n InfiniteData,\n InvalidateOptions,\n MutationFilters,\n MutationObserverOptions,\n OmitKeyof,\n QueryClient,\n QueryKey,\n QueryObserverOptions,\n RefetchOptions,\n ResetOptions,\n SetDataOptions,\n Updater,\n} from '@tanstack/react-query'\nimport type {\n ORPCInvalidateQueryFilters,\n ORPCQueryFilters,\n} from './tanstack-query'\nimport type { SchemaInputForInfiniteQuery } from './types'\nimport { getMutationKeyFromPath, getQueryKeyFromPath } from './tanstack-key'\n\nexport interface GeneralUtils<\n TInputSchema extends Schema,\n TOutputSchema extends Schema,\n TFuncOutput extends SchemaOutput<TOutputSchema>,\n> {\n getQueriesData: (\n filters?: OmitKeyof<\n ORPCQueryFilters<PartialDeep<SchemaInput<TInputSchema>>>,\n 'queryType'\n >,\n ) => [QueryKey, SchemaOutput<TOutputSchema, TFuncOutput> | undefined][]\n getInfiniteQueriesData: (\n filters?: OmitKeyof<\n ORPCQueryFilters<PartialDeep<SchemaInputForInfiniteQuery<TInputSchema>>>,\n 'queryType'\n >,\n ) => [\n QueryKey,\n | undefined\n | InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >,\n ][]\n\n setQueriesData: (\n filters: OmitKeyof<\n ORPCQueryFilters<PartialDeep<SchemaInput<TInputSchema>>>,\n 'queryType'\n >,\n updater: Updater<\n SchemaOutput<TOutputSchema, TFuncOutput> | undefined,\n SchemaOutput<TOutputSchema, TFuncOutput> | undefined\n >,\n options?: SetDataOptions,\n ) => [QueryKey, SchemaOutput<TOutputSchema, TFuncOutput> | undefined][]\n setInfiniteQueriesData: (\n filters: OmitKeyof<\n ORPCQueryFilters<PartialDeep<SchemaInputForInfiniteQuery<TInputSchema>>>,\n 'queryType'\n >,\n updater: Updater<\n | InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >\n | undefined,\n | InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >\n | undefined\n >,\n options?: SetDataOptions,\n ) => [\n QueryKey,\n | undefined\n | InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >,\n ][]\n\n invalidate: (\n filters?: ORPCInvalidateQueryFilters<\n PartialDeep<SchemaInput<TInputSchema>>\n >,\n options?: InvalidateOptions,\n ) => Promise<void>\n refetch: (\n filters?: ORPCQueryFilters<PartialDeep<SchemaInput<TInputSchema>>>,\n options?: RefetchOptions,\n ) => Promise<void>\n cancel: (\n filters?: ORPCQueryFilters<PartialDeep<SchemaInput<TInputSchema>>>,\n options?: CancelOptions,\n ) => Promise<void>\n remove: (\n filters?: ORPCQueryFilters<PartialDeep<SchemaInput<TInputSchema>>>,\n ) => void\n reset: (\n filters?: ORPCQueryFilters<PartialDeep<SchemaInput<TInputSchema>>>,\n options?: ResetOptions,\n ) => Promise<void>\n\n isFetching: (\n filters?: ORPCQueryFilters<PartialDeep<SchemaInput<TInputSchema>>>,\n ) => number\n isMutating: (filters?: SetOptional<MutationFilters, 'mutationKey'>) => number\n\n getQueryDefaults: (\n filters?: Pick<\n ORPCQueryFilters<PartialDeep<SchemaInput<TInputSchema>>>,\n 'input' | 'queryKey'\n >,\n ) => OmitKeyof<\n QueryObserverOptions<SchemaOutput<TOutputSchema, TFuncOutput>>,\n 'queryKey'\n >\n getInfiniteQueryDefaults: (\n filters?: Pick<\n ORPCQueryFilters<PartialDeep<SchemaInputForInfiniteQuery<TInputSchema>>>,\n 'input' | 'queryKey'\n >,\n ) => OmitKeyof<\n QueryObserverOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaOutput<TOutputSchema, TFuncOutput>,\n InfiniteData<SchemaOutput<TOutputSchema, TFuncOutput>>,\n QueryKey,\n SchemaInput<TInputSchema>['cursor']\n >,\n 'queryKey'\n >\n\n setQueryDefaults: (\n options: Partial<\n OmitKeyof<\n QueryObserverOptions<SchemaOutput<TOutputSchema, TFuncOutput>>,\n 'queryKey'\n >\n >,\n filters?: Pick<\n ORPCQueryFilters<PartialDeep<SchemaInput<TInputSchema>>>,\n 'input' | 'queryKey'\n >,\n ) => void\n setInfiniteQueryDefaults: (\n options: Partial<\n OmitKeyof<\n QueryObserverOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaOutput<TOutputSchema, TFuncOutput>,\n InfiniteData<SchemaOutput<TOutputSchema, TFuncOutput>>,\n QueryKey,\n SchemaInput<TInputSchema>['cursor']\n >,\n 'queryKey'\n >\n >,\n filters?: Pick<\n ORPCQueryFilters<PartialDeep<SchemaInput<TInputSchema>>>,\n 'input' | 'queryKey'\n >,\n ) => void\n\n getMutationDefaults: (\n filters?: Pick<MutationFilters, 'mutationKey'>,\n ) => MutationObserverOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaInput<TInputSchema>\n >\n setMutationDefaults: (\n options: OmitKeyof<\n MutationObserverOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaInput<TInputSchema>\n >,\n 'mutationKey'\n >,\n filters?: Pick<MutationFilters, 'mutationKey'>,\n ) => void\n}\n\nexport interface CreateGeneralUtilsOptions {\n queryClient: QueryClient\n\n /**\n * The path of the router or procedure on server.\n *\n * @internal\n */\n path: string[]\n}\n\nexport function createGeneralUtils<\n TInputSchema extends Schema = undefined,\n TOutputSchema extends Schema = undefined,\n TFuncOutput extends\n SchemaOutput<TOutputSchema> = SchemaOutput<TOutputSchema>,\n>(\n options: CreateGeneralUtilsOptions,\n): GeneralUtils<TInputSchema, TOutputSchema, TFuncOutput> {\n return {\n getQueriesData(filters) {\n const { input, ...rest } = filters ?? {}\n return options.queryClient.getQueriesData({\n queryKey: getQueryKeyFromPath(options.path, { input, type: 'query' }),\n ...rest,\n }) as any\n },\n getInfiniteQueriesData(filters) {\n const { input, ...rest } = filters ?? {}\n return options.queryClient.getQueriesData({\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: 'infinite',\n }),\n ...rest,\n }) as any\n },\n\n setQueriesData(filters, updater, options_) {\n const { input, ...rest } = filters\n return options.queryClient.setQueriesData(\n {\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: 'query',\n }),\n ...rest,\n },\n updater,\n options_,\n ) as any\n },\n setInfiniteQueriesData(filters, updater, options_) {\n const { input, ...rest } = filters\n return options.queryClient.setQueriesData(\n {\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: 'infinite',\n }),\n ...rest,\n },\n updater,\n options_,\n ) as any\n },\n\n invalidate(filters, options_) {\n const { input, queryType, ...rest } = filters ?? {}\n return options.queryClient.invalidateQueries(\n {\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: queryType,\n }),\n ...rest,\n },\n options_,\n )\n },\n refetch(filters, options_) {\n const { input, queryType, ...rest } = filters ?? {}\n return options.queryClient.refetchQueries(\n {\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: queryType,\n }),\n ...rest,\n },\n options_,\n )\n },\n cancel(filters, options_) {\n const { input, queryType, ...rest } = filters ?? {}\n return options.queryClient.cancelQueries(\n {\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: queryType,\n }),\n ...rest,\n },\n options_,\n )\n },\n remove(filters) {\n const { input, queryType, ...rest } = filters ?? {}\n return options.queryClient.removeQueries({\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: queryType,\n }),\n ...rest,\n })\n },\n reset(filters, options_) {\n const { input, queryType, ...rest } = filters ?? {}\n return options.queryClient.resetQueries(\n {\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: queryType,\n }),\n ...rest,\n },\n options_,\n )\n },\n\n isFetching(filters) {\n const { input, queryType, ...rest } = filters ?? {}\n return options.queryClient.isFetching({\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: queryType,\n }),\n ...rest,\n })\n },\n isMutating(filters) {\n return options.queryClient.isMutating({\n mutationKey: getMutationKeyFromPath(options.path),\n ...filters,\n })\n },\n\n getQueryDefaults(filters) {\n return options.queryClient.getQueryDefaults(\n filters?.queryKey\n ?? getQueryKeyFromPath(options.path, {\n input: filters?.input,\n type: 'query',\n }),\n )\n },\n getInfiniteQueryDefaults(filters) {\n return options.queryClient.getQueryDefaults(\n filters?.queryKey\n ?? getQueryKeyFromPath(options.path, {\n input: filters?.input,\n type: 'infinite',\n }),\n ) as any\n },\n\n setQueryDefaults(options_, filters) {\n return options.queryClient.setQueryDefaults(\n filters?.queryKey\n ?? getQueryKeyFromPath(options.path, {\n input: filters?.input,\n type: 'query',\n }),\n options_ as any,\n )\n },\n setInfiniteQueryDefaults(options_, filters) {\n return options.queryClient.setQueryDefaults(\n filters?.queryKey\n ?? getQueryKeyFromPath(options.path, {\n input: filters?.input,\n type: 'infinite',\n }),\n options_ as any,\n )\n },\n\n getMutationDefaults(filters) {\n return options.queryClient.getMutationDefaults(\n filters?.mutationKey ?? getMutationKeyFromPath(options.path),\n )\n },\n setMutationDefaults(options_, filters) {\n return options.queryClient.setMutationDefaults(\n filters?.mutationKey ?? getMutationKeyFromPath(options.path),\n options_,\n )\n },\n }\n}\n","import type { Schema, SchemaInput, SchemaOutput } from '@orpc/contract'\nimport type { SchemaInputForInfiniteQuery } from './types'\nimport {\n get,\n type PartialOnUndefinedDeep,\n type SetOptional,\n} from '@orpc/shared'\nimport {\n type DefaultError,\n type FetchInfiniteQueryOptions,\n type FetchQueryOptions,\n type InfiniteData,\n type QueryKey,\n useInfiniteQuery,\n type UseInfiniteQueryOptions,\n type UseInfiniteQueryResult,\n useMutation,\n type UseMutationOptions,\n type UseMutationResult,\n usePrefetchInfiniteQuery,\n usePrefetchQuery,\n useQuery,\n type UseQueryOptions,\n type UseQueryResult,\n useSuspenseInfiniteQuery,\n type UseSuspenseInfiniteQueryOptions,\n type UseSuspenseInfiniteQueryResult,\n useSuspenseQuery,\n type UseSuspenseQueryOptions,\n type UseSuspenseQueryResult,\n} from '@tanstack/react-query'\nimport { orpcPathSymbol } from './orpc-path'\nimport { type ORPCContext, useORPCContext } from './react-context'\nimport { getMutationKeyFromPath, getQueryKeyFromPath } from './tanstack-key'\n\nexport interface ProcedureHooks<\n TInputSchema extends Schema,\n TOutputSchema extends Schema,\n TFuncOutput extends SchemaOutput<TOutputSchema>,\n> {\n useQuery: <USelectData = SchemaOutput<TOutputSchema, TFuncOutput>>(\n input: SchemaInput<TInputSchema>,\n options?: SetOptional<\n UseQueryOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n USelectData\n >,\n 'queryFn' | 'queryKey'\n >,\n ) => UseQueryResult<USelectData>\n useInfiniteQuery: <\n USelectData = InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >,\n >(\n options: PartialOnUndefinedDeep<\n SetOptional<\n UseInfiniteQueryOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n USelectData,\n SchemaOutput<TOutputSchema, TFuncOutput>,\n QueryKey,\n SchemaInput<TInputSchema>['cursor']\n >,\n 'queryFn' | 'queryKey'\n > & {\n input: SchemaInputForInfiniteQuery<TInputSchema>\n }\n >,\n ) => UseInfiniteQueryResult<USelectData>\n\n useSuspenseQuery: <USelectData = SchemaOutput<TOutputSchema, TFuncOutput>>(\n input: SchemaInput<TInputSchema>,\n options?: SetOptional<\n UseSuspenseQueryOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n USelectData\n >,\n 'queryFn' | 'queryKey'\n >,\n ) => UseSuspenseQueryResult<USelectData>\n useSuspenseInfiniteQuery: <\n USelectData = InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >,\n >(\n options: PartialOnUndefinedDeep<\n SetOptional<\n UseSuspenseInfiniteQueryOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n USelectData,\n SchemaOutput<TOutputSchema, TFuncOutput>,\n QueryKey,\n SchemaInput<TInputSchema>['cursor']\n >,\n 'queryFn' | 'queryKey'\n > & {\n input: SchemaInputForInfiniteQuery<TInputSchema>\n }\n >,\n ) => UseSuspenseInfiniteQueryResult<USelectData>\n\n usePrefetchQuery: (\n input: SchemaInput<TInputSchema>,\n options?: FetchQueryOptions<SchemaOutput<TOutputSchema, TFuncOutput>>,\n ) => void\n usePrefetchInfiniteQuery: (\n options: PartialOnUndefinedDeep<\n SetOptional<\n FetchInfiniteQueryOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaOutput<TOutputSchema, TFuncOutput>,\n QueryKey,\n SchemaInput<TInputSchema>['cursor']\n >,\n 'queryKey' | 'queryFn'\n > & {\n input: SchemaInputForInfiniteQuery<TInputSchema>\n }\n >,\n ) => void\n\n useMutation: (\n options?: SetOptional<\n UseMutationOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaInput<TInputSchema>\n >,\n 'mutationFn' | 'mutationKey'\n >,\n ) => UseMutationResult<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaInput<TInputSchema>\n >\n}\n\nexport interface CreateProcedureHooksOptions {\n context: ORPCContext<any>\n\n /**\n * The path of the procedure on server.\n *\n * @internal\n */\n path: string[]\n}\n\nexport function createProcedureHooks<\n TInputSchema extends Schema = undefined,\n TOutputSchema extends Schema = undefined,\n TFuncOutput extends\n SchemaOutput<TOutputSchema> = SchemaOutput<TOutputSchema>,\n>(\n options: CreateProcedureHooksOptions,\n): ProcedureHooks<TInputSchema, TOutputSchema, TFuncOutput> {\n return {\n [orpcPathSymbol as any]: options.path,\n\n useQuery(input, options_) {\n const context = useORPCContext(options.context)\n const client = get(context.client, options.path) as any\n return useQuery(\n {\n queryKey: getQueryKeyFromPath(options.path, { input, type: 'query' }),\n queryFn: () => client(input),\n ...options_,\n },\n context.queryClient,\n )\n },\n useInfiniteQuery(options_) {\n const { input, ...rest } = options_\n const context = useORPCContext(options.context)\n const client = get(context.client, options.path) as any\n return useInfiniteQuery(\n {\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: 'infinite',\n }),\n queryFn: ({ pageParam }) =>\n client({ ...(input as any), cursor: pageParam }),\n ...(rest as any),\n },\n context.queryClient,\n )\n },\n\n useSuspenseQuery(input, options_) {\n const context = useORPCContext(options.context)\n const client = get(context.client, options.path) as any\n return useSuspenseQuery(\n {\n queryKey: getQueryKeyFromPath(options.path, { input, type: 'query' }),\n queryFn: () => client(input),\n ...options_,\n },\n context.queryClient,\n )\n },\n useSuspenseInfiniteQuery(options_) {\n const { input, ...rest } = options_\n const context = useORPCContext(options.context)\n const client = get(context.client, options.path) as any\n return useSuspenseInfiniteQuery(\n {\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: 'infinite',\n }),\n queryFn: ({ pageParam }) =>\n client({ ...(input as any), cursor: pageParam }),\n ...(rest as any),\n },\n context.queryClient,\n )\n },\n\n usePrefetchQuery(input, options_) {\n const context = useORPCContext(options.context)\n const client = get(context.client, options.path) as any\n return usePrefetchQuery(\n {\n queryKey: getQueryKeyFromPath(options.path, { input, type: 'query' }),\n queryFn: () => client(input),\n ...options_,\n },\n context.queryClient,\n )\n },\n usePrefetchInfiniteQuery(options_) {\n const { input, ...rest } = options_\n const context = useORPCContext(options.context)\n const client = get(context.client, options.path) as any\n return usePrefetchInfiniteQuery(\n {\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: 'infinite',\n }),\n queryFn: ({ pageParam }) =>\n client({ ...(input as any), cursor: pageParam }),\n ...(rest as any),\n },\n context.queryClient,\n )\n },\n\n useMutation(options_) {\n const context = useORPCContext(options.context)\n const client = get(context.client, options.path) as any\n return useMutation(\n {\n mutationKey: getMutationKeyFromPath(options.path),\n mutationFn: input => client(input),\n ...options_,\n },\n context.queryClient,\n )\n },\n }\n}\n","import type { ProcedureClient } from '@orpc/client'\nimport type { Schema, SchemaInput, SchemaOutput } from '@orpc/contract'\nimport type { PartialOnUndefinedDeep, SetOptional } from '@orpc/shared'\nimport type {\n DefaultError,\n EnsureInfiniteQueryDataOptions,\n EnsureQueryDataOptions,\n FetchInfiniteQueryOptions,\n FetchQueryOptions,\n InfiniteData,\n QueryClient,\n QueryKey,\n QueryState,\n SetDataOptions,\n Updater,\n} from '@tanstack/react-query'\nimport type { SchemaInputForInfiniteQuery } from './types'\nimport { getQueryKeyFromPath } from './tanstack-key'\n\nexport interface ProcedureUtils<\n TInputSchema extends Schema,\n TOutputSchema extends Schema,\n TFuncOutput extends SchemaOutput<TOutputSchema>,\n> {\n fetchQuery: (\n input: SchemaInput<TInputSchema>,\n options?: SetOptional<\n FetchQueryOptions<SchemaOutput<TOutputSchema, TFuncOutput>>,\n 'queryKey' | 'queryFn'\n >,\n ) => Promise<SchemaOutput<TOutputSchema, TFuncOutput>>\n fetchInfiniteQuery: (\n options: PartialOnUndefinedDeep<\n SetOptional<\n FetchInfiniteQueryOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaOutput<TOutputSchema, TFuncOutput>,\n QueryKey,\n SchemaInput<TInputSchema>['cursor']\n >,\n 'queryKey' | 'queryFn'\n > & {\n input: SchemaInputForInfiniteQuery<TInputSchema>\n }\n >,\n ) => Promise<\n InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >\n >\n\n prefetchQuery: (\n input: SchemaInput<TInputSchema>,\n options?: SetOptional<\n FetchQueryOptions<SchemaOutput<TOutputSchema, TFuncOutput>>,\n 'queryKey' | 'queryFn'\n >,\n ) => Promise<void>\n prefetchInfiniteQuery: (\n options: PartialOnUndefinedDeep<\n SetOptional<\n FetchInfiniteQueryOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaOutput<TOutputSchema, TFuncOutput>,\n QueryKey,\n SchemaInput<TInputSchema>['cursor']\n >,\n 'queryKey' | 'queryFn'\n > & {\n input: SchemaInputForInfiniteQuery<TInputSchema>\n }\n >,\n ) => Promise<void>\n\n getQueryData: (\n input: SchemaInput<TInputSchema>,\n ) => SchemaOutput<TOutputSchema, TFuncOutput> | undefined\n getInfiniteQueryData: (\n input: SchemaInputForInfiniteQuery<TInputSchema>,\n ) => | InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >\n | undefined\n\n ensureQueryData: (\n input: SchemaInput<TInputSchema>,\n options?: SetOptional<\n EnsureQueryDataOptions<SchemaOutput<TOutputSchema, TFuncOutput>>,\n 'queryFn' | 'queryKey'\n >,\n ) => Promise<SchemaOutput<TOutputSchema, TFuncOutput>>\n ensureInfiniteQueryData: (\n options: PartialOnUndefinedDeep<\n SetOptional<\n EnsureInfiniteQueryDataOptions<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n DefaultError,\n SchemaOutput<TOutputSchema, TFuncOutput>,\n QueryKey,\n SchemaInput<TInputSchema>['cursor']\n >,\n 'queryKey' | 'queryFn'\n > & {\n input: SchemaInputForInfiniteQuery<TInputSchema>\n }\n >,\n ) => Promise<\n InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >\n >\n\n getQueryState: (\n input: SchemaInput<TInputSchema>,\n ) => QueryState<SchemaOutput<TOutputSchema, TFuncOutput>> | undefined\n getInfiniteQueryState: (\n input: SchemaInputForInfiniteQuery<TInputSchema>,\n ) => | QueryState<\n InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >\n >\n | undefined\n\n setQueryData: (\n input: SchemaInput<TInputSchema>,\n updater: Updater<\n SchemaOutput<TOutputSchema, TFuncOutput> | undefined,\n SchemaOutput<TOutputSchema, TFuncOutput> | undefined\n >,\n options?: SetDataOptions,\n ) => SchemaOutput<TOutputSchema, TFuncOutput> | undefined\n setInfiniteQueryData: (\n input: SchemaInputForInfiniteQuery<TInputSchema>,\n updater: Updater<\n | InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >\n | undefined,\n | InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >\n | undefined\n >,\n options?: SetDataOptions,\n ) => | InfiniteData<\n SchemaOutput<TOutputSchema, TFuncOutput>,\n SchemaInput<TInputSchema>['cursor']\n >\n | undefined\n}\n\nexport interface CreateProcedureUtilsOptions<\n TInputSchema extends Schema = undefined,\n TOutputSchema extends Schema = undefined,\n TFuncOutput extends\n SchemaOutput<TOutputSchema> = SchemaOutput<TOutputSchema>,\n> {\n client: ProcedureClient<TInputSchema, TOutputSchema, TFuncOutput>\n queryClient: QueryClient\n\n /**\n * The path of procedure on sever\n */\n path: string[]\n}\n\nexport function createProcedureUtils<\n TInputSchema extends Schema,\n TOutputSchema extends Schema,\n TFuncOutput extends SchemaOutput<TOutputSchema>,\n>(\n options: CreateProcedureUtilsOptions<\n TInputSchema,\n TOutputSchema,\n TFuncOutput\n >,\n): ProcedureUtils<TInputSchema, TOutputSchema, TFuncOutput> {\n return {\n fetchQuery(input, options_) {\n return options.queryClient.fetchQuery({\n queryKey: getQueryKeyFromPath(options.path, { input, type: 'query' }),\n queryFn: () => options.client(input),\n ...options_,\n })\n },\n fetchInfiniteQuery(options_) {\n const { input, ...rest } = options_\n return options.queryClient.fetchInfiniteQuery({\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: 'infinite',\n }),\n queryFn: ({ pageParam }) => {\n return options.client({ ...(input as any), pageParam } as any)\n },\n ...(rest as any),\n })\n },\n\n prefetchQuery(input, options_) {\n return options.queryClient.prefetchQuery({\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: 'query',\n }),\n queryFn: () => options.client(input),\n ...options_,\n })\n },\n prefetchInfiniteQuery(options_) {\n const { input, ...rest } = options_\n return options.queryClient.prefetchInfiniteQuery({\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: 'infinite',\n }),\n queryFn: ({ pageParam }) => {\n return options.client({ ...(input as any), cursor: pageParam } as any)\n },\n ...(rest as any),\n })\n },\n\n getQueryData(input) {\n return options.queryClient.getQueryData(\n getQueryKeyFromPath(options.path, {\n input,\n type: 'query',\n }),\n )\n },\n getInfiniteQueryData(input) {\n return options.queryClient.getQueryData(\n getQueryKeyFromPath(options.path, {\n input,\n type: 'infinite',\n }),\n )\n },\n\n ensureQueryData(input, options_) {\n return options.queryClient.ensureQueryData({\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: 'query',\n }),\n queryFn: () => options.client(input),\n ...options_,\n })\n },\n ensureInfiniteQueryData(options_) {\n const { input, ...rest } = options_\n return options.queryClient.ensureInfiniteQueryData({\n queryKey: getQueryKeyFromPath(options.path, {\n input,\n type: 'infinite',\n }),\n queryFn: ({ pageParam }) => {\n return options.client({ ...(input as any), pageParam } as any)\n },\n ...(rest as any),\n })\n },\n\n getQueryState(input) {\n return options.queryClient.getQueryState(\n getQueryKeyFromPath(options.path, {\n input,\n type: 'query',\n }),\n )\n },\n getInfiniteQueryState(input) {\n return options.queryClient.getQueryState(\n getQueryKeyFromPath(options.path, {\n input,\n type: 'infinite',\n }),\n )\n },\n\n setQueryData(input, updater, options_) {\n return options.queryClient.setQueryData(\n getQueryKeyFromPath(options.path, {\n input,\n type: 'query',\n }),\n updater,\n options_,\n )\n },\n setInfiniteQueryData(input, updater, options_) {\n return options.queryClient.setQueryData(\n getQueryKeyFromPath(options.path, {\n input,\n type: 'infinite',\n }),\n updater,\n options_,\n )\n },\n }\n}\n","import type {\n ContractProcedure,\n ContractRouter,\n SchemaOutput,\n} from '@orpc/contract'\nimport type { Procedure, Router } from '@orpc/server'\nimport type { ORPCContext } from './react-context'\nimport { createGeneralHooks, type GeneralHooks } from './general-hooks'\nimport { orpcPathSymbol } from './orpc-path'\nimport { createProcedureHooks, type ProcedureHooks } from './procedure-hooks'\n\nexport type ORPCHooksWithContractRouter<TRouter extends ContractRouter> = {\n [K in keyof TRouter]: TRouter[K] extends ContractProcedure<\n infer UInputSchema,\n infer UOutputSchema\n >\n ? ProcedureHooks<UInputSchema, UOutputSchema, SchemaOutput<UOutputSchema>> & GeneralHooks<UInputSchema, UOutputSchema, SchemaOutput<UOutputSchema>>\n : TRouter[K] extends ContractRouter\n ? ORPCHooksWithContractRouter<TRouter[K]>\n : never\n} & GeneralHooks<undefined, undefined, unknown>\n\nexport type ORPCHooksWithRouter<TRouter extends Router<any>> = {\n [K in keyof TRouter]: TRouter[K] extends Procedure<any, any, infer UInputSchema, infer UOutputSchema, infer UFuncOutput>\n ? ProcedureHooks<UInputSchema, UOutputSchema, UFuncOutput> & GeneralHooks<UInputSchema, UOutputSchema, UFuncOutput>\n : TRouter[K] extends Router<any>\n ? ORPCHooksWithRouter<TRouter[K]>\n : never\n} & GeneralHooks<undefined, undefined, unknown>\n\nexport interface CreateORPCHooksOptions<\n TRouter extends ContractRouter | Router<any>,\n> {\n context: ORPCContext<TRouter>\n\n /**\n * The path of the router.\n *\n * @internal\n */\n path?: string[]\n}\n\nexport function createORPCHooks<TRouter extends ContractRouter | Router<any>>(\n options: CreateORPCHooksOptions<TRouter>,\n): TRouter extends Router<any>\n ? ORPCHooksWithRouter<TRouter>\n : TRouter extends ContractRouter\n ? ORPCHooksWithContractRouter<TRouter>\n : never {\n const path = options.path ?? []\n const generalHooks = createGeneralHooks({ context: options.context, path })\n\n // for sure root is not procedure, so do not it procedure hooks on root\n const procedureHooks = path.length\n ? createProcedureHooks({\n context: options.context,\n path,\n })\n : {}\n\n return new Proxy(\n {\n [orpcPathSymbol]: path,\n\n ...generalHooks,\n ...procedureHooks,\n },\n {\n get(target, key) {\n const value = Reflect.get(target, key)\n\n if (typeof key !== 'string') {\n return value\n }\n\n const nextHooks = createORPCHooks({\n context: options.context,\n path: [...path, key],\n })\n\n if (typeof value !== 'function') {\n return nextHooks\n }\n\n return new Proxy(value, {\n get(_, key) {\n return Reflect.get(nextHooks, key)\n },\n })\n },\n },\n ) as any\n}\n","import type {\n ContractProcedure,\n ContractRouter,\n SchemaOutput,\n} from '@orpc/contract'\nimport type { Procedure, Router } from '@orpc/server'\nimport type { ORPCContextValue } from './react-context'\nimport { createGeneralUtils, type GeneralUtils } from './general-utils'\nimport { createProcedureUtils, type ProcedureUtils } from './procedure-utils'\n\nexport type ORPCUtilsWithContractRouter<TRouter extends ContractRouter> = {\n [K in keyof TRouter]: TRouter[K] extends ContractProcedure<infer UInputSchema, infer UOutputSchema>\n ? ProcedureUtils<UInputSchema, UOutputSchema, SchemaOutput<UOutputSchema>> & GeneralUtils<UInputSchema, UOutputSchema, SchemaOutput<UOutputSchema>>\n : TRouter[K] extends ContractRouter\n ? ORPCUtilsWithContractRouter<TRouter[K]>\n : never\n} & GeneralUtils<undefined, undefined, unknown>\n\nexport type ORPCUtilsWithRouter<TRouter extends Router<any>> = {\n [K in keyof TRouter]: TRouter[K] extends Procedure<any, any, infer UInputSchema, infer UOutputSchema, infer UFuncOutput>\n ? ProcedureUtils<UInputSchema, UOutputSchema, UFuncOutput> & GeneralUtils<UInputSchema, UOutputSchema, UFuncOutput>\n : TRouter[K] extends Router<any>\n ? ORPCUtilsWithRouter<TRouter[K]>\n : never\n} & GeneralUtils<undefined, undefined, unknown>\n\nexport interface CreateORPCUtilsOptions<\n TRouter extends ContractRouter | Router<any>,\n> {\n contextValue: ORPCContextValue<TRouter>\n\n /**\n * The path of the router.\n *\n * @internal\n */\n path?: string[]\n}\n\nexport function createORPCUtils<TRouter extends ContractRouter | Router<any>>(\n options: CreateORPCUtilsOptions<TRouter>,\n): TRouter extends Router<any>\n ? ORPCUtilsWithRouter<TRouter>\n : TRouter extends ContractRouter\n ? ORPCUtilsWithContractRouter<TRouter>\n : never {\n const path = options.path ?? []\n const client = options.contextValue.client as any\n\n const generalUtils = createGeneralUtils({\n queryClient: options.contextValue.queryClient,\n path,\n })\n\n // for sure root is not procedure, so do not it procedure utils on root\n const procedureUtils = path.length\n ? createProcedureUtils({\n client,\n queryClient: options.contextValue.queryClient,\n path,\n })\n : {}\n\n return new Proxy(\n {\n ...generalUtils,\n ...procedureUtils,\n },\n {\n get(target, key) {\n const value = Reflect.get(target, key)\n\n if (typeof key !== 'string') {\n return value\n }\n\n const nextUtils = createORPCUtils({\n ...options,\n contextValue: {\n ...options.contextValue,\n client: client[key],\n },\n path: [...path, key],\n })\n\n if (typeof value !== 'function') {\n return nextUtils\n }\n\n return new Proxy(value, {\n get(_, key) {\n return Reflect.get(nextUtils, key)\n },\n })\n },\n },\n ) as any\n}\n","import type { ContractRouter } from '@orpc/contract'\nimport type { Router } from '@orpc/server'\nimport {\n type QueriesOptions,\n type QueriesResults,\n useQueries,\n} from '@tanstack/react-query'\nimport { type ORPCContext, useORPCContext } from '../react-context'\nimport {\n createUseQueriesBuilders,\n type UseQueriesBuildersWithContractRouter,\n type UseQueriesBuildersWithRouter,\n} from './builders'\n\nexport interface UseQueriesWithContractRouter<TRouter extends ContractRouter> {\n <T extends Array<any> = [], TCombinedResult = QueriesResults<T>>(\n build: (\n builders: UseQueriesBuildersWithContractRouter<TRouter>,\n ) => [...QueriesOptions<T>],\n combine?: (result: QueriesResults<T>) => TCombinedResult,\n ): TCombinedResult\n}\n\nexport interface UseQueriesWithRouter<TRouter extends Router<any>> {\n <T extends Array<any> = [], TCombinedResult = QueriesResults<T>>(\n build: (\n builders: UseQueriesBuildersWithRouter<TRouter>,\n ) => [...QueriesOptions<T>],\n combine?: (result: QueriesResults<T>) => TCombinedResult,\n ): TCombinedResult\n}\n\nexport interface UseQueriesFactoryOptions<\n TRouter extends Router<any> | ContractRouter,\n> {\n context: ORPCContext<TRouter>\n}\n\nexport function useQueriesFactory<TRouter extends Router<any> | ContractRouter>(\n options: UseQueriesFactoryOptions<TRouter>,\n): TRouter extends Router<any>\n ? UseQueriesWithRouter<TRouter>\n : TRouter extends ContractRouter\n ? UseQueriesWithContractRouter<TRouter>\n : never {\n const Hook = (build: any, combine?: any): any => {\n const orpc = useORPCContext(options.context)\n const builders = createUseQueriesBuilders({ client: orpc.client as any })\n\n return useQueries({\n queries: build(builders),\n combine,\n })\n }\n\n return Hook as any\n}\n","import type { ProcedureClient } from '@orpc/client'\nimport type { Schema, SchemaInput, SchemaOutput } from '@orpc/contract'\nimport type { SetOptional } from '@orpc/shared'\nimport type {\n DefaultError,\n OmitKeyof,\n QueriesPlaceholderDataFunction,\n QueryKey,\n UseQueryOptions,\n} from '@tanstack/react-query'\nimport { getQueryKeyFromPath } from '../tanstack-key'\n\ntype UseQueryOptionsForUseQueries<\n TQueryFnData,\n TError = DefaultError,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> = OmitKeyof<\n UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>,\n 'placeholderData'\n> & {\n placeholderData?: TQueryFnData | QueriesPlaceholderDataFunction<TQueryFnData>\n}\n\nexport interface UseQueriesBuilder<\n TInputSchema extends Schema,\n TOutputSchema extends Schema,\n TFuncOutput extends SchemaOutput<TOutputSchema>,\n> {\n (\n input: SchemaInput<TInputSchema>,\n options?: SetOptional<\n UseQueryOptionsForUseQueries<SchemaOutput<TOutputSchema, TFuncOutput>>,\n 'queryFn' | 'queryKey'\n >,\n ): UseQueryOptionsForUseQueries<SchemaOutput<TOutputSchema, TFuncOutput>>\n}\n\nexport interface CreateUseQueriesBuilderOptions<\n TInputSchema extends Schema,\n TOutputSchema extends Schema,\n TFuncOutput extends SchemaOutput<TOutputSchema>,\n> {\n client: ProcedureClient<TInputSchema, TOutputSchema, TFuncOutput>\n\n /**\n * The path of procedure on server\n */\n path: string[]\n}\n\nexport function createUseQueriesBuilder<\n TInputSchema extends Schema = undefined,\n TOutputSchema extends Schema = undefined,\n TFuncOutput extends\n SchemaOutput<TOutputSchema> = SchemaOutput<TOutputSchema>,\n>(\n options: CreateUseQueriesBuilderOptions<\n TInputSchema,\n TOutputSchema,\n TFuncOutput\n >,\n): UseQueriesBuilder<TInputSchema, TOutputSchema, TFuncOutput> {\n return (input, options_) => {\n return {\n queryKey: getQueryKeyFromPath(options.path, { input, type: 'query' }),\n queryFn: () => options.client(input),\n ...options_,\n }\n }\n}\n","import type {\n RouterClientWithContractRouter,\n RouterClientWithRouter,\n} from '@orpc/client'\nimport type {\n ContractProcedure,\n ContractRouter,\n SchemaOutput,\n} from '@orpc/contract'\nimport type { Procedure, Router } from '@orpc/server'\nimport type {} from '@tanstack/react-query'\nimport { createUseQueriesBuilder, type UseQueriesBuilder } from './builder'\n\nexport type UseQueriesBuildersWithContractRouter<\n TRouter extends ContractRouter,\n> = {\n [K in keyof TRouter]: TRouter[K] extends ContractProcedure<\n infer UInputSchema,\n infer UOutputSchema\n >\n ? UseQueriesBuilder<\n UInputSchema,\n UOutputSchema,\n SchemaOutput<UOutputSchema>\n >\n : TRouter[K] extends ContractRouter\n ? UseQueriesBuildersWithContractRouter<TRouter[K]>\n : never\n}\n\nexport type UseQueriesBuildersWithRouter<TRouter extends Router<any>> = {\n [K in keyof TRouter]: TRouter[K] extends Procedure<\n any,\n any,\n infer UInputSchema,\n infer UOutputSchema,\n infer UFuncOutput\n >\n ? UseQueriesBuilder<UInputSchema, UOutputSchema, UFuncOutput>\n : TRouter[K] extends Router<any>\n ? UseQueriesBuildersWithRouter<TRouter[K]>\n : never\n}\n\nexport interface CreateUseQueriesBuildersOptions<\n TRouter extends Router<any> | ContractRouter,\n> {\n client: TRouter extends Router<any>\n ? RouterClientWithRouter<TRouter>\n : TRouter extends ContractRouter\n ? RouterClientWithContractRouter<TRouter>\n : never\n\n /**\n * The path of router on server\n */\n path?: string[]\n}\n\nexport function createUseQueriesBuilders<\n TRouter extends Router<any> | ContractRouter,\n>(\n options: CreateUseQueriesBuildersOptions<TRouter>,\n): TRouter extends Router<any>\n ? UseQueriesBuildersWithRouter<TRouter>\n : TRouter extends ContractRouter\n ? UseQueriesBuildersWithContractRouter<TRouter>\n : never {\n const path = options.path ?? []\n const client = options.client as any\n\n /**\n * For sure root is not procedure so do not create builder on root\n */\n const builder = path.length ? createUseQueriesBuilder({ client, path }) : {}\n\n return new Proxy(builder, {\n get(target, key) {\n const value = Reflect.get(target, key)\n\n if (typeof key !== 'string') {\n return value\n }\n\n const nextBuilders = createUseQueriesBuilders({\n client: client[key],\n path: [...path, key],\n })\n\n if (typeof value !== 'function') {\n return nextBuilders\n }\n\n return new Proxy(value, {\n get(_, key) {\n return Reflect.get(nextBuilders, key)\n },\n })\n },\n }) as any\n}\n","import type { ContractRouter } from '@orpc/contract'\nimport type { Router } from '@orpc/server'\nimport {\n createORPCContext,\n type ORPCContext,\n type ORPCContextValue,\n useORPCContext,\n} from './react-context'\nimport {\n createORPCHooks,\n type ORPCHooksWithContractRouter,\n type ORPCHooksWithRouter,\n} from './react-hooks'\nimport {\n createORPCUtils,\n type ORPCUtilsWithContractRouter,\n type ORPCUtilsWithRouter,\n} from './react-utils'\nimport {\n useQueriesFactory,\n type UseQueriesWithContractRouter,\n type UseQueriesWithRouter,\n} from './use-queries/hook'\n\nexport type ORPCReactWithContractRouter<TRouter extends ContractRouter> =\n ORPCHooksWithContractRouter<TRouter> & {\n useContext: () => ORPCContextValue<TRouter>\n useUtils: () => ORPCUtilsWithContractRouter<TRouter>\n useQueries: UseQueriesWithContractRouter<TRouter>\n }\n\nexport type ORPCReactWithRouter<TRouter extends Router<any>> =\n ORPCHooksWithRouter<TRouter> & {\n useContext: () => ORPCContextValue<TRouter>\n useUtils: () => ORPCUtilsWithRouter<TRouter>\n useQueries: UseQueriesWithRouter<TRouter>\n }\n\nexport function createORPCReact<\n TRouter extends ContractRouter | Router<any>,\n>(): {\n orpc: TRouter extends Router<any>\n ? ORPCReactWithRouter<TRouter>\n : TRouter extends ContractRouter\n ? ORPCReactWithContractRouter<TRouter>\n : never\n ORPCContext: ORPCContext<TRouter>\n} {\n const Context = createORPCContext<TRouter>()\n const useContext = () => useORPCContext(Context)\n const useUtils = () => createORPCUtils({ contextValue: useContext() })\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const useQueries = useQueriesFactory({ context: Context })\n const hooks = createORPCHooks({ context: Context })\n\n const orpc = new Proxy(\n {\n useContext,\n useUtils,\n useQueries,\n },\n {\n get(target, key) {\n const value = Reflect.get(target, key)\n const nextHooks = Reflect.get(hooks, key)\n\n if (typeof value !== 'function') {\n return nextHooks\n }\n\n return new Proxy(value, {\n get(_, key) {\n return Reflect.get(nextHooks, key)\n },\n })\n },\n },\n )\n\n return { orpc: orpc as any, ORPCContext: Context }\n}\n"],"mappings":";AAGA;AAAA,EAKE;AAAA,EACA;AAAA,EACA;AAAA,OACK;;;ACJP,SAAuB,eAAe,kBAAkB;AAiBjD,SAAS,oBAEU;AACxB,SAAO,cAAc,MAAgB;AACvC;AAEO,SAAS,eACd,SAC2B;AAC3B,QAAM,QAAQ,WAAW,OAAO;AAEhC,MAAI,CAAC,OAAO;AACV,UAAM,IAAI;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAEA,SAAO;AACT;;;ACpCO,IAAM,iBAAiB,OAAO,gBAAgB;;;AC4B9C,SAAS,oBACd,MACA,SACU;AACV,QAAM,YACF,SAAS,UAAU,SAAY,EAAE,OAAO,SAAS,MAAM,IAAI,CAAC;AAChE,QAAM,WAAW,SAAS,SAAS,SAAY,EAAE,MAAM,SAAS,KAAK,IAAI,CAAC;AAE1E,SAAO;AAAA,IACL;AAAA,IACA;AAAA,MACE,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,EACF;AACF;AAYO,SAAS,uBAAuB,MAA6B;AAClE,SAAO,CAAC,IAAI;AACd;;;AHRO,SAAS,mBAMd,SACwD;AACxD,SAAO;AAAA,IACL,cAAc,SAAS;AACrB,YAAM,EAAE,WAAW,OAAO,GAAG,KAAK,IAAI,WAAW,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G;AAAA,UACnC;AAAA,QACF,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF;AAEA,SAAO,EAAE,MAAmB,aAAa,QAAQ;AACnD;","names":["key","key","key","useContext","useQueries","key"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"general-hooks.d.ts","sourceRoot":"","sources":["../../src/general-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACxD,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,eAAe,EACpB,KAAK,aAAa,EAInB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,iBAAiB,CAAA;AAGlE,MAAM,WAAW,YAAY,CAC3B,YAAY,SAAS,MAAM,EAC3B,aAAa,SAAS,MAAM,EAC5B,WAAW,SAAS,YAAY,CAAC,aAAa,CAAC;IAE/C,aAAa,EAAE,CACb,MAAM,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,KAC9D,MAAM,CAAA;IACX,aAAa,EAAE,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC,eAAe,EAAE,aAAa,CAAC,KAAK,MAAM,CAAA;IAEhF,gBAAgB,EAAE,CAChB,OAAO,GAAG,aAAa,CACrB,YAAY,CAAC,aAAa,EAAE,WAAW,CAAC,EACxC,YAAY,EACZ,WAAW,CAAC,YAAY,CAAC,CAC1B,EACD,OAAO,CAAC,EAAE;QACV,OAAO,CAAC,EAAE,WAAW,CAAC,eAAe,EAAE,aAAa,CAAC,CAAA;QACrD,MAAM,CAAC,EAAE,CACP,QAAQ,EAAE,QAAQ,CAChB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R,WAAW,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,CACpC,EACD,UAAU,CACX,CACF,EACD,OAAO,CAAC,EAAE,IAAI,CACZ,gBAAgB,CAAC,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,EACxD,OAAO,GAAG,UAAU,CACrB,KACE,IAAI,CAAA;IAET,mBAAmB,EAAE,CACnB,OAAO,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,KAC3C,uBAAuB,CAC1B,YAAY,CAAC,aAAa,EAAE,WAAW,CAAC,EACxC,YAAY,EACZ,WAAW,CAAC,YAAY,CAAC,CAC1B,CAAA;IACD,mBAAmB,EAAE,CACnB,OAAO,EAAE,SAAS,CAChB,uBAAuB,CACrB,YAAY,CAAC,aAAa,EAAE,WAAW,CAAC,EACxC,YAAY,EACZ,WAAW,CAAC,YAAY,CAAC,CAC1B,EACD,aAAa,CACd,EACD,OAAO,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,aAAa,CAAC,KAC3C,IAAI,CAAA;CACV;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,WAAW,CAAA;IAExB;;;;OAIG;IACH,IAAI,EAAE,MAAM,EAAE,CAAA;CACf;AAED,wBAAgB,kBAAkB,CAChC,YAAY,SAAS,MAAM,GAAG,SAAS,EACvC,aAAa,SAAS,MAAM,GAAG,SAAS,EACxC,WAAW,SACX,YAAY,CAAC,aAAa,CAAC,GAAG,YAAY,CAAC,aAAa,CAAC,EAEzD,OAAO,EAAE,yBAAyB,GACjC,YAAY,CAAC,YAAY,EAAE,aAAa,EAAE,WAAW,CAAC,CAqLxD"}
|
package/dist/src/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"orpc-path.d.ts","sourceRoot":"","sources":["../../src/orpc-path.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AACvD,OAAO,KAAK,EACV,2BAA2B,EAC3B,mBAAmB,EACpB,MAAM,eAAe,CAAA;AAEtB,eAAO,MAAM,cAAc,eAA2B,CAAA;AAEtD,wBAAgB,WAAW,CACzB,IAAI,EACA,2BAA2B,CAAC,GAAG,CAAC,GAChC,mBAAmB,CAAC,GAAG,CAAC,GACxB,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,GAChC,MAAM,EAAE,CAUV"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"procedure-hooks.d.ts","sourceRoot":"","sources":["../../src/procedure-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACvE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAA;AAC1D,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,WAAW,EACjB,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,QAAQ,EAEb,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAE3B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EAItB,KAAK,eAAe,EACpB,KAAK,cAAc,EAEnB,KAAK,+BAA+B,EACpC,KAAK,8BAA8B,EAEnC,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC5B,MAAM,uBAAuB,CAAA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;CAAG"}
|
package/dist/src/types.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEzD,MAAM,MAAM,2BAA2B,CAAC,YAAY,SAAS,MAAM,IAAI,IAAI,CACzE,WAAW,CAAC,YAAY,CAAC,EACzB,QAAQ,CACT,GACD,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,GAAG;IAAE,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../src/use-queries/builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,8BAA8B,EAC9B,QAAQ,EACR,eAAe,EAChB,MAAM,uBAAuB,CAAA;AAG9B,KAAK,4BAA4B,CAC/B,YAAY,EACZ,MAAM,GAAG,YAAY,EACrB,KAAK,GAAG,YAAY,EACpB,SAAS,SAAS,QAAQ,GAAG,QAAQ,IACnC,SAAS,CACX,eAAe,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,CAAC,EACvD,iBAAiB,CAClB,GAAG;IACF,eAAe,CAAC,EAAE,YAAY,GAAG,8BAA8B,CAAC,YAAY,CAAC,CAAA;CAC9E,CAAA;AAED,MAAM,WAAW,iBAAiB,CAChC,YAAY,SAAS,MAAM,EAC3B,aAAa,SAAS,MAAM,EAC5B,WAAW,SAAS,YAAY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