auto-vue-manual 0.2.27 → 0.2.28
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/types/utils/api.d.ts +9 -0
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Method, AxiosPromise } from 'axios';
|
|
2
|
+
import { BasicApi, RoutineApi, DefaultRequestingApi, DefaultExecutingApi } from '../types';
|
|
3
|
+
export declare function createApiMethod(url: string): (data?: any, method?: Method) => AxiosPromise;
|
|
4
|
+
export declare function basicApi<R extends Record<string, string>, E extends Record<string, string>>(module: string, primaryKey?: string, requestingApi?: R, executingApi?: E, cacheKey?: string[]): BasicApi<R & E>;
|
|
5
|
+
export declare function routineApi<R extends Record<string, string>, E extends Record<string, string>>(module: string, primaryKey?: string, requestingApi?: R, executingApi?: E, cacheKey?: string[]): RoutineApi<(R & DefaultRequestingApi) & (E & DefaultExecutingApi)>;
|
|
6
|
+
export declare const ApiUtils: {
|
|
7
|
+
basicApi: typeof basicApi;
|
|
8
|
+
routineApi: typeof routineApi;
|
|
9
|
+
};
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const __VERSION__ = "0.2.
|
|
1
|
+
export const __VERSION__ = "0.2.27'
|