auto-vue-manual 0.2.31 → 0.2.32

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.
@@ -31,10 +31,15 @@ export declare type CacheState = {
31
31
  export interface CacheOptionApi {
32
32
  [DEFAULT_LIST_KEY]: string;
33
33
  }
34
- export declare type CacheOptions = {
34
+ export type ApiOrUrl = {
35
+ url: string;
36
+ api?: any;
37
+ } | {
38
+ url?: undefined;
39
+ api: BasicApi<CacheOptionApi>;
40
+ };
41
+ export declare type CacheOptions = ApiOrUrl & {
35
42
  key: string;
36
- api?: BasicApi<Record<string, string> & CacheOptionApi>;
37
- url?: string;
38
43
  params?: Record<string, any>;
39
44
  force?: boolean;
40
45
  isArray?: boolean;
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const __VERSION__ = "0.2.30'
1
+ export const __VERSION__ = "0.2.31'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-vue-manual",
3
- "version": "0.2.31",
3
+ "version": "0.2.32",
4
4
  "type": "module",
5
5
  "main": "./dist/auto-vue-manual.umd.js",
6
6
  "module": "./dist/auto-vue-manual.es.js",