@kevisual/query 0.0.53 → 0.0.55
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/query-api.d.ts +2 -1
- package/dist/query-api.js +19194 -378
- package/dist/query-browser.d.ts +0 -1
- package/dist/query-browser.js +7 -11
- package/dist/query-ws.js +1 -1
- package/dist/query.d.ts +0 -1
- package/dist/query.js +6 -10
- package/package.json +4 -4
- package/src/create-query/index.ts +14 -0
- package/src/query.ts +7 -13
package/dist/query-api.d.ts
CHANGED
|
@@ -103,7 +103,6 @@ type Fn = (opts: {
|
|
|
103
103
|
}) => Promise<Record<string, any> | false>;
|
|
104
104
|
type QueryOpts = {
|
|
105
105
|
adapter?: typeof adapter;
|
|
106
|
-
token?: string;
|
|
107
106
|
[key: string]: any;
|
|
108
107
|
} & AdapterOpts;
|
|
109
108
|
type QueryOptions = {
|
|
@@ -216,6 +215,7 @@ type RouteInfo = {
|
|
|
216
215
|
metadata?: {
|
|
217
216
|
summary?: string;
|
|
218
217
|
args?: Record<string, any>;
|
|
218
|
+
returns?: Record<string, any>;
|
|
219
219
|
viewItem?: {
|
|
220
220
|
type?: string;
|
|
221
221
|
api?: {
|
|
@@ -232,6 +232,7 @@ type RouteInfo = {
|
|
|
232
232
|
};
|
|
233
233
|
type CreateQueryOptions = {
|
|
234
234
|
removeViewItem?: boolean;
|
|
235
|
+
removeId?: boolean;
|
|
235
236
|
before?: string;
|
|
236
237
|
after?: string;
|
|
237
238
|
};
|