@ciwergrp/nuxid 1.5.13 → 1.5.14
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/module.json
CHANGED
|
@@ -9,7 +9,7 @@ export interface CursorMetaConfig {
|
|
|
9
9
|
cursorKey?: string;
|
|
10
10
|
hasMoreKey?: string;
|
|
11
11
|
}
|
|
12
|
-
export interface CursorFetchOptions<TRequest extends NitroFetchRequest = NitroFetchRequest> {
|
|
12
|
+
export interface CursorFetchOptions<TRequest extends NitroFetchRequest = NitroFetchRequest> extends NitroFetchOptions<TRequest> {
|
|
13
13
|
lazy?: boolean;
|
|
14
14
|
immediate?: boolean;
|
|
15
15
|
pollInterval?: number;
|
|
@@ -18,6 +18,7 @@ export interface CursorFetchOptions<TRequest extends NitroFetchRequest = NitroFe
|
|
|
18
18
|
meta?: CursorMetaConfig;
|
|
19
19
|
itemKey?: string;
|
|
20
20
|
cursorParam?: string;
|
|
21
|
+
query?: Record<string, any>;
|
|
21
22
|
}
|
|
22
23
|
export declare function useCursorHttp<T extends Record<string, any> = any, TResponse extends APIResponseCursor<T> = APIResponseCursor<T>, TRequest extends NitroFetchRequest = NitroFetchRequest>(url: TRequest, options?: CursorFetchOptions<TRequest>): Promise<{
|
|
23
24
|
data: import("vue").Ref<TResponse | undefined, TResponse | undefined>;
|