@tracktor/shared-module 2.1.1 → 2.1.2
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/CHANGELOG.md +2 -2
- package/dist/config/orval/orval.d.ts +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -24,6 +24,9 @@ interface CustomOrvalConfig {
|
|
|
24
24
|
*/
|
|
25
25
|
operationsToGenerateInfiniteQueryHook?: string[];
|
|
26
26
|
}
|
|
27
|
+
interface OrvalConfig {
|
|
28
|
+
[key: string]: CustomOrvalConfig;
|
|
29
|
+
}
|
|
27
30
|
/**
|
|
28
31
|
* Convert a string to capitalize
|
|
29
32
|
* @param method
|
|
@@ -49,5 +52,5 @@ export declare const getOrvalOperationName: (_: any, route: string, method: stri
|
|
|
49
52
|
/**
|
|
50
53
|
* Get the orval config required for the generation
|
|
51
54
|
*/
|
|
52
|
-
export declare const getOrvalConfig: (config?: CustomOrvalConfig | CustomOrvalConfig[]) =>
|
|
55
|
+
export declare const getOrvalConfig: (config?: CustomOrvalConfig | CustomOrvalConfig[]) => OrvalConfig;
|
|
53
56
|
export default getOrvalConfig;
|