@emeryld/rrroutes-client 2.7.2 → 2.7.3
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.cjs +33 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +33 -9
- package/dist/index.mjs.map +1 -1
- package/dist/routesV3.client.shared.d.ts +5 -0
- package/package.json +1 -1
|
@@ -32,6 +32,11 @@ export declare function buildUrl<L extends AnyLeafLowProfile>(leaf: L, baseUrl:
|
|
|
32
32
|
normalizedQuery: unknown;
|
|
33
33
|
normalizedParams: unknown;
|
|
34
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* Check whether the provided args are complete enough to build a request URL.
|
|
37
|
+
* Used by hooks to avoid running queries until required params/query values exist.
|
|
38
|
+
*/
|
|
39
|
+
export declare function areEndpointArgsComplete<L extends AnyLeafLowProfile>(leaf: L, args: ArgsFor<L> | undefined): boolean;
|
|
35
40
|
export declare function splitMultipartBody(body: Record<string, any> | undefined, fields: FileField[] | undefined): {
|
|
36
41
|
regularBody: any[] | Record<string, any> | undefined;
|
|
37
42
|
multipartFiles: Record<string, unknown>;
|