@kubb/plugin-react-query 3.16.2 → 3.16.4
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/components-CuByb-hX.js +903 -0
- package/dist/components-CuByb-hX.js.map +1 -0
- package/dist/components-DHfUELJ3.cjs +979 -0
- package/dist/components-DHfUELJ3.cjs.map +1 -0
- package/dist/components.cjs +10 -40
- package/dist/components.d.cts +306 -146
- package/dist/components.d.ts +306 -146
- package/dist/components.js +3 -3
- package/dist/generators-CNHKYwqU.js +722 -0
- package/dist/generators-CNHKYwqU.js.map +1 -0
- package/dist/generators-kx0B_Nkc.cjs +745 -0
- package/dist/{chunk-2LUZUNTA.js.map → generators-kx0B_Nkc.cjs.map} +1 -1
- package/dist/generators.cjs +6 -24
- package/dist/generators.d.cts +14 -13
- package/dist/generators.d.ts +14 -13
- package/dist/generators.js +4 -4
- package/dist/index.cjs +120 -145
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -8
- package/dist/index.d.ts +6 -8
- package/dist/index.js +120 -139
- package/dist/index.js.map +1 -1
- package/dist/types-5X0s8utE.d.cts +1391 -0
- package/dist/types-BTEmPwHJ.d.ts +1391 -0
- package/package.json +23 -28
- package/dist/chunk-2LUZUNTA.js +0 -588
- package/dist/chunk-7VVTPMRL.cjs +0 -788
- package/dist/chunk-7VVTPMRL.cjs.map +0 -1
- package/dist/chunk-LT467H44.js +0 -779
- package/dist/chunk-LT467H44.js.map +0 -1
- package/dist/chunk-PIAL3C5M.cjs +0 -593
- package/dist/chunk-PIAL3C5M.cjs.map +0 -1
- package/dist/components.cjs.map +0 -1
- package/dist/components.js.map +0 -1
- package/dist/generators.cjs.map +0 -1
- package/dist/generators.js.map +0 -1
- package/dist/types-BdjqYAq1.d.cts +0 -170
- package/dist/types-BdjqYAq1.d.ts +0 -170
package/dist/components.d.ts
CHANGED
|
@@ -1,187 +1,329 @@
|
|
|
1
|
-
import { Operation } from
|
|
2
|
-
import {
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
|
-
import { P as PluginReactQuery, T as Transformer, I as Infinite } from './types-BdjqYAq1.js';
|
|
5
|
-
import { FunctionParams } from '@kubb/react';
|
|
6
|
-
import '@kubb/core';
|
|
7
|
-
import '@kubb/plugin-client';
|
|
1
|
+
import { Infinite, Operation, OperationSchemas, PluginReactQuery, Transformer } from "./types-BTEmPwHJ.js";
|
|
2
|
+
import { ReactNode } from "react";
|
|
8
3
|
|
|
4
|
+
//#region ../react/src/utils/getFunctionParams.d.ts
|
|
5
|
+
type Param = {
|
|
6
|
+
/**
|
|
7
|
+
* `object` will return the pathParams as an object.
|
|
8
|
+
*
|
|
9
|
+
* `inline` will return the pathParams as comma separated params.
|
|
10
|
+
* @default `'inline'`
|
|
11
|
+
* @private
|
|
12
|
+
*/
|
|
13
|
+
mode?: 'object' | 'inline' | 'inlineSpread';
|
|
14
|
+
type?: 'string' | 'number' | (string & {});
|
|
15
|
+
optional?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @example test = "default"
|
|
18
|
+
*/
|
|
19
|
+
default?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Used for no TypeScript(with mode object)
|
|
22
|
+
* @example test: "default"
|
|
23
|
+
*/
|
|
24
|
+
value?: string;
|
|
25
|
+
children?: Params;
|
|
26
|
+
};
|
|
27
|
+
type Params = Record<string, Param | undefined>;
|
|
28
|
+
type Options = {
|
|
29
|
+
type: 'constructor' | 'call' | 'object' | 'objectValue';
|
|
30
|
+
transformName?: (name: string) => string;
|
|
31
|
+
transformType?: (type: string) => string;
|
|
32
|
+
};
|
|
33
|
+
declare class FunctionParams {
|
|
34
|
+
#private;
|
|
35
|
+
static factory(params: Params): FunctionParams;
|
|
36
|
+
constructor(params: Params);
|
|
37
|
+
get params(): Params;
|
|
38
|
+
get flatParams(): Params;
|
|
39
|
+
toCall({
|
|
40
|
+
transformName,
|
|
41
|
+
transformType
|
|
42
|
+
}?: Pick<Options, 'transformName' | 'transformType'>): string;
|
|
43
|
+
toObject(): string;
|
|
44
|
+
toObjectValue(): string;
|
|
45
|
+
toConstructor(): string;
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/components/Mutation.d.ts
|
|
9
49
|
type Props$7 = {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
-
declare function Mutation({
|
|
25
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Name of the function
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
typeName: string;
|
|
55
|
+
clientName: string;
|
|
56
|
+
mutationKeyName: string;
|
|
57
|
+
typeSchemas: OperationSchemas;
|
|
58
|
+
operation: Operation;
|
|
59
|
+
dataReturnType: PluginReactQuery['resolvedOptions']['client']['dataReturnType'];
|
|
60
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
61
|
+
paramsType: PluginReactQuery['resolvedOptions']['paramsType'];
|
|
62
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
63
|
+
};
|
|
64
|
+
declare function Mutation({
|
|
65
|
+
name,
|
|
66
|
+
clientName,
|
|
67
|
+
paramsCasing,
|
|
68
|
+
paramsType,
|
|
69
|
+
pathParamsType,
|
|
70
|
+
dataReturnType,
|
|
71
|
+
typeSchemas,
|
|
72
|
+
operation,
|
|
73
|
+
mutationKeyName
|
|
74
|
+
}: Props$7): ReactNode;
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/components/Query.d.ts
|
|
26
77
|
type Props$6 = {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
78
|
+
/**
|
|
79
|
+
* Name of the function
|
|
80
|
+
*/
|
|
81
|
+
name: string;
|
|
82
|
+
queryOptionsName: string;
|
|
83
|
+
queryKeyName: string;
|
|
84
|
+
queryKeyTypeName: string;
|
|
85
|
+
typeSchemas: OperationSchemas;
|
|
86
|
+
operation: Operation;
|
|
87
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
88
|
+
paramsType: PluginReactQuery['resolvedOptions']['paramsType'];
|
|
89
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
90
|
+
dataReturnType: PluginReactQuery['resolvedOptions']['client']['dataReturnType'];
|
|
40
91
|
};
|
|
41
92
|
type GetParamsProps$6 = {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
93
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
94
|
+
paramsType: PluginReactQuery['resolvedOptions']['paramsType'];
|
|
95
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
96
|
+
dataReturnType: PluginReactQuery['resolvedOptions']['client']['dataReturnType'];
|
|
97
|
+
typeSchemas: OperationSchemas;
|
|
47
98
|
};
|
|
48
|
-
declare function Query({
|
|
99
|
+
declare function Query({
|
|
100
|
+
name,
|
|
101
|
+
queryKeyTypeName,
|
|
102
|
+
queryOptionsName,
|
|
103
|
+
queryKeyName,
|
|
104
|
+
paramsType,
|
|
105
|
+
paramsCasing,
|
|
106
|
+
pathParamsType,
|
|
107
|
+
dataReturnType,
|
|
108
|
+
typeSchemas,
|
|
109
|
+
operation
|
|
110
|
+
}: Props$6): ReactNode;
|
|
49
111
|
declare namespace Query {
|
|
50
|
-
|
|
112
|
+
var getParams: ({
|
|
113
|
+
paramsType,
|
|
114
|
+
paramsCasing,
|
|
115
|
+
pathParamsType,
|
|
116
|
+
dataReturnType,
|
|
117
|
+
typeSchemas
|
|
118
|
+
}: GetParamsProps$6) => FunctionParams;
|
|
51
119
|
}
|
|
52
|
-
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/components/QueryKey.d.ts
|
|
53
122
|
type Props$5 = {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
123
|
+
name: string;
|
|
124
|
+
typeName: string;
|
|
125
|
+
typeSchemas: OperationSchemas;
|
|
126
|
+
operation: Operation;
|
|
127
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
128
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
129
|
+
transformer: Transformer | undefined;
|
|
61
130
|
};
|
|
62
131
|
type GetParamsProps$5 = {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
132
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
133
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
134
|
+
typeSchemas: OperationSchemas;
|
|
66
135
|
};
|
|
67
|
-
declare function QueryKey({
|
|
136
|
+
declare function QueryKey({
|
|
137
|
+
name,
|
|
138
|
+
typeSchemas,
|
|
139
|
+
paramsCasing,
|
|
140
|
+
pathParamsType,
|
|
141
|
+
operation,
|
|
142
|
+
typeName,
|
|
143
|
+
transformer
|
|
144
|
+
}: Props$5): ReactNode;
|
|
68
145
|
declare namespace QueryKey {
|
|
69
|
-
|
|
70
|
-
|
|
146
|
+
var getParams: ({
|
|
147
|
+
pathParamsType,
|
|
148
|
+
paramsCasing,
|
|
149
|
+
typeSchemas
|
|
150
|
+
}: GetParamsProps$5) => FunctionParams;
|
|
151
|
+
var getTransformer: Transformer;
|
|
71
152
|
}
|
|
72
|
-
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/components/MutationKey.d.ts
|
|
73
155
|
type Props$4 = {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
156
|
+
name: string;
|
|
157
|
+
typeName: string;
|
|
158
|
+
typeSchemas: OperationSchemas;
|
|
159
|
+
operation: Operation;
|
|
160
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
161
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
162
|
+
transformer: Transformer | undefined;
|
|
81
163
|
};
|
|
82
164
|
type GetParamsProps$4 = {
|
|
83
|
-
|
|
84
|
-
|
|
165
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
166
|
+
typeSchemas: OperationSchemas;
|
|
85
167
|
};
|
|
86
|
-
declare function MutationKey({
|
|
168
|
+
declare function MutationKey({
|
|
169
|
+
name,
|
|
170
|
+
typeSchemas,
|
|
171
|
+
pathParamsType,
|
|
172
|
+
paramsCasing,
|
|
173
|
+
operation,
|
|
174
|
+
typeName,
|
|
175
|
+
transformer
|
|
176
|
+
}: Props$4): ReactNode;
|
|
87
177
|
declare namespace MutationKey {
|
|
88
|
-
|
|
89
|
-
|
|
178
|
+
var getParams: ({}: GetParamsProps$4) => FunctionParams;
|
|
179
|
+
var getTransformer: Transformer;
|
|
90
180
|
}
|
|
91
|
-
|
|
181
|
+
//#endregion
|
|
182
|
+
//#region src/components/QueryOptions.d.ts
|
|
92
183
|
type Props$3 = {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
184
|
+
name: string;
|
|
185
|
+
clientName: string;
|
|
186
|
+
queryKeyName: string;
|
|
187
|
+
typeSchemas: OperationSchemas;
|
|
188
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
189
|
+
paramsType: PluginReactQuery['resolvedOptions']['paramsType'];
|
|
190
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
191
|
+
dataReturnType: PluginReactQuery['resolvedOptions']['client']['dataReturnType'];
|
|
101
192
|
};
|
|
102
193
|
type GetParamsProps$3 = {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
194
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
195
|
+
paramsType: PluginReactQuery['resolvedOptions']['paramsType'];
|
|
196
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
197
|
+
typeSchemas: OperationSchemas;
|
|
107
198
|
};
|
|
108
|
-
declare function QueryOptions({
|
|
199
|
+
declare function QueryOptions({
|
|
200
|
+
name,
|
|
201
|
+
clientName,
|
|
202
|
+
dataReturnType,
|
|
203
|
+
typeSchemas,
|
|
204
|
+
paramsCasing,
|
|
205
|
+
paramsType,
|
|
206
|
+
pathParamsType,
|
|
207
|
+
queryKeyName
|
|
208
|
+
}: Props$3): any;
|
|
109
209
|
declare namespace QueryOptions {
|
|
110
|
-
|
|
210
|
+
var getParams: ({
|
|
211
|
+
paramsType,
|
|
212
|
+
paramsCasing,
|
|
213
|
+
pathParamsType,
|
|
214
|
+
typeSchemas
|
|
215
|
+
}: GetParamsProps$3) => FunctionParams;
|
|
111
216
|
}
|
|
112
|
-
|
|
217
|
+
//#endregion
|
|
218
|
+
//#region src/components/InfiniteQueryOptions.d.ts
|
|
113
219
|
type Props$2 = {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
220
|
+
name: string;
|
|
221
|
+
clientName: string;
|
|
222
|
+
queryKeyName: string;
|
|
223
|
+
typeSchemas: OperationSchemas;
|
|
224
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
225
|
+
paramsType: PluginReactQuery['resolvedOptions']['paramsType'];
|
|
226
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
227
|
+
dataReturnType: PluginReactQuery['resolvedOptions']['client']['dataReturnType'];
|
|
228
|
+
initialPageParam: Infinite['initialPageParam'];
|
|
229
|
+
cursorParam: Infinite['cursorParam'];
|
|
230
|
+
queryParam: Infinite['queryParam'];
|
|
125
231
|
};
|
|
126
232
|
type GetParamsProps$2 = {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
233
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
234
|
+
paramsType: PluginReactQuery['resolvedOptions']['paramsType'];
|
|
235
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
236
|
+
typeSchemas: OperationSchemas;
|
|
131
237
|
};
|
|
132
|
-
declare function InfiniteQueryOptions({
|
|
238
|
+
declare function InfiniteQueryOptions({
|
|
239
|
+
name,
|
|
240
|
+
clientName,
|
|
241
|
+
initialPageParam,
|
|
242
|
+
cursorParam,
|
|
243
|
+
typeSchemas,
|
|
244
|
+
paramsCasing,
|
|
245
|
+
paramsType,
|
|
246
|
+
dataReturnType,
|
|
247
|
+
pathParamsType,
|
|
248
|
+
queryParam,
|
|
249
|
+
queryKeyName
|
|
250
|
+
}: Props$2): ReactNode;
|
|
133
251
|
declare namespace InfiniteQueryOptions {
|
|
134
|
-
|
|
252
|
+
var getParams: ({
|
|
253
|
+
paramsType,
|
|
254
|
+
paramsCasing,
|
|
255
|
+
pathParamsType,
|
|
256
|
+
typeSchemas
|
|
257
|
+
}: GetParamsProps$2) => FunctionParams;
|
|
135
258
|
}
|
|
136
|
-
|
|
259
|
+
//#endregion
|
|
260
|
+
//#region src/components/InfiniteQuery.d.ts
|
|
137
261
|
type Props$1 = {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
262
|
+
/**
|
|
263
|
+
* Name of the function
|
|
264
|
+
*/
|
|
265
|
+
name: string;
|
|
266
|
+
queryOptionsName: string;
|
|
267
|
+
queryKeyName: string;
|
|
268
|
+
queryKeyTypeName: string;
|
|
269
|
+
typeSchemas: OperationSchemas;
|
|
270
|
+
operation: Operation;
|
|
271
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
272
|
+
paramsType: PluginReactQuery['resolvedOptions']['paramsType'];
|
|
273
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
274
|
+
dataReturnType: PluginReactQuery['resolvedOptions']['client']['dataReturnType'];
|
|
151
275
|
};
|
|
152
276
|
type GetParamsProps$1 = {
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
277
|
+
paramsType: PluginReactQuery['resolvedOptions']['paramsType'];
|
|
278
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
279
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
280
|
+
dataReturnType: PluginReactQuery['resolvedOptions']['client']['dataReturnType'];
|
|
281
|
+
typeSchemas: OperationSchemas;
|
|
158
282
|
};
|
|
159
|
-
declare function InfiniteQuery({
|
|
283
|
+
declare function InfiniteQuery({
|
|
284
|
+
name,
|
|
285
|
+
queryKeyTypeName,
|
|
286
|
+
queryOptionsName,
|
|
287
|
+
queryKeyName,
|
|
288
|
+
paramsType,
|
|
289
|
+
paramsCasing,
|
|
290
|
+
pathParamsType,
|
|
291
|
+
dataReturnType,
|
|
292
|
+
typeSchemas,
|
|
293
|
+
operation
|
|
294
|
+
}: Props$1): ReactNode;
|
|
160
295
|
declare namespace InfiniteQuery {
|
|
161
|
-
|
|
296
|
+
var getParams: ({
|
|
297
|
+
paramsType,
|
|
298
|
+
paramsCasing,
|
|
299
|
+
pathParamsType,
|
|
300
|
+
dataReturnType,
|
|
301
|
+
typeSchemas
|
|
302
|
+
}: GetParamsProps$1) => FunctionParams;
|
|
162
303
|
}
|
|
163
|
-
|
|
304
|
+
//#endregion
|
|
305
|
+
//#region src/components/SuspenseQuery.d.ts
|
|
164
306
|
type Props = {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
307
|
+
/**
|
|
308
|
+
* Name of the function
|
|
309
|
+
*/
|
|
310
|
+
name: string;
|
|
311
|
+
queryOptionsName: string;
|
|
312
|
+
queryKeyName: string;
|
|
313
|
+
queryKeyTypeName: string;
|
|
314
|
+
typeSchemas: OperationSchemas;
|
|
315
|
+
operation: Operation;
|
|
316
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
317
|
+
paramsType: PluginReactQuery['resolvedOptions']['paramsType'];
|
|
318
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
319
|
+
dataReturnType: PluginReactQuery['resolvedOptions']['client']['dataReturnType'];
|
|
178
320
|
};
|
|
179
321
|
type GetParamsProps = {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
322
|
+
paramsCasing: PluginReactQuery['resolvedOptions']['paramsCasing'];
|
|
323
|
+
paramsType: PluginReactQuery['resolvedOptions']['paramsType'];
|
|
324
|
+
pathParamsType: PluginReactQuery['resolvedOptions']['pathParamsType'];
|
|
325
|
+
dataReturnType: PluginReactQuery['resolvedOptions']['client']['dataReturnType'];
|
|
326
|
+
typeSchemas: OperationSchemas;
|
|
185
327
|
};
|
|
186
328
|
/**
|
|
187
329
|
* Generates a strongly-typed React Query Suspense hook function for an OpenAPI operation.
|
|
@@ -190,9 +332,27 @@ type GetParamsProps = {
|
|
|
190
332
|
*
|
|
191
333
|
* @returns A React component source node containing the generated query function.
|
|
192
334
|
*/
|
|
193
|
-
declare function SuspenseQuery({
|
|
335
|
+
declare function SuspenseQuery({
|
|
336
|
+
name,
|
|
337
|
+
queryKeyTypeName,
|
|
338
|
+
queryOptionsName,
|
|
339
|
+
queryKeyName,
|
|
340
|
+
paramsType,
|
|
341
|
+
paramsCasing,
|
|
342
|
+
pathParamsType,
|
|
343
|
+
dataReturnType,
|
|
344
|
+
typeSchemas,
|
|
345
|
+
operation
|
|
346
|
+
}: Props): ReactNode;
|
|
194
347
|
declare namespace SuspenseQuery {
|
|
195
|
-
|
|
348
|
+
var getParams: ({
|
|
349
|
+
paramsType,
|
|
350
|
+
paramsCasing,
|
|
351
|
+
pathParamsType,
|
|
352
|
+
dataReturnType,
|
|
353
|
+
typeSchemas
|
|
354
|
+
}: GetParamsProps) => FunctionParams;
|
|
196
355
|
}
|
|
197
|
-
|
|
356
|
+
//#endregion
|
|
198
357
|
export { InfiniteQuery, InfiniteQueryOptions, Mutation, MutationKey, Query, QueryKey, QueryOptions, SuspenseQuery };
|
|
358
|
+
//# sourceMappingURL=components.d.ts.map
|
package/dist/components.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { InfiniteQuery, InfiniteQueryOptions, Mutation, MutationKey, Query, QueryKey, QueryOptions, SuspenseQuery } from "./components-CuByb-hX.js";
|
|
2
|
+
|
|
3
|
+
export { InfiniteQuery, InfiniteQueryOptions, Mutation, MutationKey, Query, QueryKey, QueryOptions, SuspenseQuery };
|