@orpc/vue-colada 0.32.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ import type { MaybeDeepRef } from './types';
|
|
5
5
|
* Utils at any level (procedure or router)
|
6
6
|
*/
|
7
7
|
export interface GeneralUtils<TInput> {
|
8
|
-
key
|
8
|
+
key(options?: MaybeDeepRef<BuildKeyOptions<TInput>>): EntryKey;
|
9
9
|
}
|
10
10
|
export declare function createGeneralUtils<TInput>(path: string[]): GeneralUtils<TInput>;
|
11
11
|
//# sourceMappingURL=utils-general.d.ts.map
|
@@ -4,8 +4,8 @@ import type { MutationOptions, MutationOptionsExtra, QueryOptions, QueryOptionsE
|
|
4
4
|
* Utils at procedure level
|
5
5
|
*/
|
6
6
|
export interface ProcedureUtils<TClientContext, TInput, TOutput, TError extends Error> {
|
7
|
-
queryOptions
|
8
|
-
mutationOptions
|
7
|
+
queryOptions<U extends QueryOptionsExtra<TClientContext, TInput, TOutput, TError>>(...opt: [options: U] | (undefined extends TInput & TClientContext ? [] : never)): QueryOptions<TOutput, TError>;
|
8
|
+
mutationOptions<U extends MutationOptionsExtra<TClientContext, TInput, TOutput, TError>>(...opt: [options: U] | (undefined extends TClientContext ? [] : never)): MutationOptions<TInput, TOutput, TError>;
|
9
9
|
}
|
10
10
|
export declare function createProcedureUtils<TClientContext, TInput, TOutput, TError extends Error>(client: Client<TClientContext, TInput, TOutput, TError>, path: string[]): ProcedureUtils<TClientContext, TInput, TOutput, TError>;
|
11
11
|
//# sourceMappingURL=utils-procedure.d.ts.map
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@orpc/vue-colada",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.
|
4
|
+
"version": "0.34.0",
|
5
5
|
"license": "MIT",
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
7
7
|
"repository": {
|
@@ -35,11 +35,11 @@
|
|
35
35
|
"peerDependencies": {
|
36
36
|
"@pinia/colada": ">=0.13.1",
|
37
37
|
"vue": ">=3.3.0",
|
38
|
-
"@orpc/client": "0.
|
39
|
-
"@orpc/contract": "0.
|
38
|
+
"@orpc/client": "0.34.0",
|
39
|
+
"@orpc/contract": "0.34.0"
|
40
40
|
},
|
41
41
|
"dependencies": {
|
42
|
-
"@orpc/server": "0.
|
42
|
+
"@orpc/server": "0.34.0"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
45
|
"@pinia/colada": "^0.13.1",
|