@duxweb/dvha-core 1.1.15 → 1.1.16

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("axios"),f=require("lodash-es");function b(e){return Object.values(e).some(l=>l instanceof File?!0:Array.isArray(l)?l.some(a=>a instanceof File):l&&typeof l=="object"?b(l):!1)}function C(e){const l=new FormData,a=(d,r="")=>{Object.entries(d).forEach(([t,c])=>{const i=r?`${r}[${t}]`:t;c instanceof File?l.append(i,c):Array.isArray(c)?c.forEach((s,k)=>{s instanceof File?l.append(`${i}[${k}]`,s):s!=null&&l.append(`${i}[${k}]`,String(s))}):c&&typeof c=="object"?a(c,i):c!=null&&l.append(i,String(c))})};return a(e),l}function m(e){const l=(a,d)=>{const r=`${f.trim(e.apiUrl,"/")}${d?`/${f.trim(d,"/")}`:""}`;return a?`${r}/${f.trim(a||"","/")}`:r};return{apiUrl:l,getList:(a,d,r)=>{const t={};return a.pagination&&typeof a.pagination=="object"&&(t.page=a.pagination.page,t.pageSize=a.pagination.pageSize),n.get(l(a.path,d?.config.apiBasePath)||"",{params:{...t,...a.filters,...a.sorters},headers:{Authorization:r?.token},...a.meta}).then(c=>e.successCallback?e.successCallback(c):h(c)).catch(c=>{throw e.errorCallback?e.errorCallback(c):u(c)})},create:(a,d,r)=>{let t=a.data;return a.data&&typeof a.data=="object"&&!Array.isArray(a.data)&&!(a.data instanceof FormData)&&b(a.data)&&(t=C(a.data)),n.post(l(a.path,d?.config.apiBasePath)||"",t,{headers:{Authorization:r?.token},...a.meta}).then(c=>e.successCallback?e.successCallback(c):h(c)).catch(c=>{throw e.errorCallback?e.errorCallback(c):u(c)})},update:(a,d,r)=>{let t=a.data;return a.data&&typeof a.data=="object"&&!Array.isArray(a.data)&&!(a.data instanceof FormData)&&b(a.data)&&(t=C(a.data)),n.put(l(a.id?`${a.path}/${a.id}`:a.path,d?.config.apiBasePath)||"",t,{headers:{Authorization:r?.token},...a.meta}).then(c=>e.successCallback?e.successCallback(c):h(c)).catch(c=>{throw e.errorCallback?e.errorCallback(c):u(c)})},deleteOne:(a,d,r)=>n.delete(l(a.id?`${a.path}/${a.id}`:a.path,d?.config.apiBasePath)||"",{headers:{Authorization:r?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),getOne:(a,d,r)=>n.get(l(a.id?`${a.path}/${a.id}`:a.path,d?.config.apiBasePath)||"",{headers:{Authorization:r?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),getMany:(a,d,r)=>n.get(l(a.path,d?.config.apiBasePath)||"",{params:{ids:a.ids},headers:{Authorization:r?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),createMany:(a,d,r)=>n.post(l(a.path,d?.config.apiBasePath)||"",a.data,{headers:{Authorization:r?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),updateMany:(a,d,r)=>n.put(l(a.path,d?.config.apiBasePath)||"",{ids:a.ids,data:a.data},{headers:{Authorization:r?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),deleteMany:(a,d,r)=>n.delete(l(a.path,d?.config.apiBasePath)||"",{params:{ids:a.ids},headers:{Authorization:r?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),custom:(a,d,r)=>{let t={...a.query};return a.sorters&&typeof a.sorters=="object"&&(t={...t,...a.sorters}),a.filters&&typeof a.filters=="object"&&(t={...t,...a.filters}),n.request({url:l(a.path,d?.config.apiBasePath)||"",method:a.method||"GET",data:a.payload,params:t,signal:a.signal,headers:{Authorization:r?.token,...a.headers},onUploadProgress:c=>{const i=Math.round(c.loaded*100/(c.total||1));a.onUploadProgress?.({loaded:c.loaded,total:c.total,percent:i})},onDownloadProgress:c=>{const i=Math.round(c.loaded*100/(c.total||1));a.onDownloadProgress?.({loaded:c.loaded,total:c.total,percent:i})},...a.meta}).then(c=>e.successCallback?e.successCallback(c):h(c)).catch(c=>{throw e.errorCallback?e.errorCallback(c):u(c)})},getTotal:a=>e.getTotal?e.getTotal(a):a.meta?.total||0}}function h(e){return{message:e.data?.message,data:e.data?.data,meta:e.data?.meta,raw:e.data}}function u(e){return{message:e.response?.data?.message||e?.message,data:e.response?.data?.data,meta:e.response?.data?.meta,status:e.response?.data?.code||e.response?.status||500,raw:e.response?.data}}exports.simpleDataProvider=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("axios"),f=require("lodash-es");function b(e){return Object.values(e).some(r=>r instanceof File?!0:Array.isArray(r)?r.some(a=>a instanceof File):r&&typeof r=="object"?b(r):!1)}function m(e){const r=new FormData,a=(d,l="")=>{Object.entries(d).forEach(([t,c])=>{const i=l?`${l}[${t}]`:t;c instanceof File?r.append(i,c):Array.isArray(c)?c.forEach((s,k)=>{s instanceof File?r.append(`${i}[${k}]`,s):s!=null&&r.append(`${i}[${k}]`,String(s))}):c&&typeof c=="object"?a(c,i):c!=null&&r.append(i,String(c))})};return a(e),r}function C(e){const r=(a,d)=>{const l=`${f.trim(e.apiUrl,"/")}${d?`/${f.trim(d,"/")}`:""}`;return a?`${l}/${f.trim(a||"","/")}`:l};return{apiUrl:r,getList:(a,d,l)=>{const t={};return a.pagination&&typeof a.pagination=="object"&&(t.page=a.pagination.page,t.pageSize=a.pagination.pageSize),n.get(r(a.path,d?.config.apiBasePath)||"",{params:{...t,...a.filters,...a.sorters},headers:{Authorization:l?.token},...a.meta}).then(c=>e.successCallback?e.successCallback(c):h(c)).catch(c=>{throw e.errorCallback?e.errorCallback(c):u(c)})},create:(a,d,l)=>{let t=a.data;return a.data&&typeof a.data=="object"&&!Array.isArray(a.data)&&!(a.data instanceof FormData)&&b(a.data)&&(t=m(a.data)),n.post(r(a.path,d?.config.apiBasePath)||"",t,{headers:{Authorization:l?.token},...a.meta}).then(c=>e.successCallback?e.successCallback(c):h(c)).catch(c=>{throw e.errorCallback?e.errorCallback(c):u(c)})},update:(a,d,l)=>{let t=a.data;return a.data&&typeof a.data=="object"&&!Array.isArray(a.data)&&!(a.data instanceof FormData)&&b(a.data)&&(t=m(a.data)),n.put(r(a.id?`${a.path}/${a.id}`:a.path,d?.config.apiBasePath)||"",t,{headers:{Authorization:l?.token},...a.meta}).then(c=>e.successCallback?e.successCallback(c):h(c)).catch(c=>{throw e.errorCallback?e.errorCallback(c):u(c)})},deleteOne:(a,d,l)=>n.delete(r(a.id?`${a.path}/${a.id}`:a.path,d?.config.apiBasePath)||"",{headers:{Authorization:l?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),getOne:(a,d,l)=>n.get(r(a.id?`${a.path}/${a.id}`:a.path,d?.config.apiBasePath)||"",{headers:{Authorization:l?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),getMany:(a,d,l)=>n.get(r(a.path,d?.config.apiBasePath)||"",{params:{ids:a.ids},headers:{Authorization:l?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),createMany:(a,d,l)=>n.post(r(a.path,d?.config.apiBasePath)||"",a.data,{headers:{Authorization:l?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),updateMany:(a,d,l)=>n.put(r(a.path,d?.config.apiBasePath)||"",{ids:a.ids,data:a.data},{headers:{Authorization:l?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),deleteMany:(a,d,l)=>n.delete(r(a.path,d?.config.apiBasePath)||"",{params:{ids:a.ids},headers:{Authorization:l?.token},...a.meta}).then(t=>e.successCallback?e.successCallback(t):h(t)).catch(t=>{throw e.errorCallback?e.errorCallback(t):u(t)}),custom:(a,d,l)=>{let t={...a.query};return a.sorters&&typeof a.sorters=="object"&&(t={...t,...a.sorters}),a.filters&&typeof a.filters=="object"&&(t={...t,...a.filters}),n.request({url:r(a.path,d?.config.apiBasePath)||"",method:a.method||"GET",data:a.payload,params:t,signal:a.signal,headers:{Authorization:l?.token,...a.headers},onUploadProgress:c=>{const i=Math.round(c.loaded*100/(c.total||1));a.onUploadProgress?.({loaded:c.loaded,total:c.total,percent:i})},onDownloadProgress:c=>{const i=Math.round(c.loaded*100/(c.total||1));a.onDownloadProgress?.({loaded:c.loaded,total:c.total,percent:i})},...a.meta}).then(c=>e.successCallback?e.successCallback(c):h(c)).catch(c=>{throw e.errorCallback?e.errorCallback(c):u(c)})},getTotal:a=>e.getTotal?e.getTotal(a):a.meta?.total||0}}function h(e){const r=typeof e.data?.data>"u"?e.data:e.data?.data;return{message:e.data?.message,data:r,meta:e.data?.meta,raw:e.data,headers:e.headers,status:e.status}}function u(e){return{message:e.response?.data?.message||e?.message,data:e.response?.data?.data,meta:e.response?.data?.meta,status:e.response?.data?.code||e.response?.status||500,raw:e.response?.data}}exports.simpleDataProvider=C;
@@ -1,122 +1,122 @@
1
1
  import n from "axios";
2
2
  import { trim as s } from "lodash-es";
3
3
  function b(e) {
4
- return Object.values(e).some((l) => l instanceof File ? !0 : Array.isArray(l) ? l.some((a) => a instanceof File) : l && typeof l == "object" ? b(l) : !1);
4
+ return Object.values(e).some((r) => r instanceof File ? !0 : Array.isArray(r) ? r.some((a) => a instanceof File) : r && typeof r == "object" ? b(r) : !1);
5
5
  }
6
- function C(e) {
7
- const l = new FormData(), a = (d, r = "") => {
6
+ function m(e) {
7
+ const r = new FormData(), a = (d, l = "") => {
8
8
  Object.entries(d).forEach(([t, c]) => {
9
- const f = r ? `${r}[${t}]` : t;
10
- c instanceof File ? l.append(f, c) : Array.isArray(c) ? c.forEach((i, k) => {
11
- i instanceof File ? l.append(`${f}[${k}]`, i) : i != null && l.append(`${f}[${k}]`, String(i));
12
- }) : c && typeof c == "object" ? a(c, f) : c != null && l.append(f, String(c));
9
+ const f = l ? `${l}[${t}]` : t;
10
+ c instanceof File ? r.append(f, c) : Array.isArray(c) ? c.forEach((i, k) => {
11
+ i instanceof File ? r.append(`${f}[${k}]`, i) : i != null && r.append(`${f}[${k}]`, String(i));
12
+ }) : c && typeof c == "object" ? a(c, f) : c != null && r.append(f, String(c));
13
13
  });
14
14
  };
15
- return a(e), l;
15
+ return a(e), r;
16
16
  }
17
17
  function y(e) {
18
- const l = (a, d) => {
19
- const r = `${s(e.apiUrl, "/")}${d ? `/${s(d, "/")}` : ""}`;
20
- return a ? `${r}/${s(a || "", "/")}` : r;
18
+ const r = (a, d) => {
19
+ const l = `${s(e.apiUrl, "/")}${d ? `/${s(d, "/")}` : ""}`;
20
+ return a ? `${l}/${s(a || "", "/")}` : l;
21
21
  };
22
22
  return {
23
- apiUrl: l,
24
- getList: (a, d, r) => {
23
+ apiUrl: r,
24
+ getList: (a, d, l) => {
25
25
  const t = {};
26
- return a.pagination && typeof a.pagination == "object" && (t.page = a.pagination.page, t.pageSize = a.pagination.pageSize), n.get(l(a.path, d?.config.apiBasePath) || "", {
26
+ return a.pagination && typeof a.pagination == "object" && (t.page = a.pagination.page, t.pageSize = a.pagination.pageSize), n.get(r(a.path, d?.config.apiBasePath) || "", {
27
27
  params: {
28
28
  ...t,
29
29
  ...a.filters,
30
30
  ...a.sorters
31
31
  },
32
32
  headers: {
33
- Authorization: r?.token
33
+ Authorization: l?.token
34
34
  },
35
35
  ...a.meta
36
36
  }).then((c) => e.successCallback ? e.successCallback(c) : h(c)).catch((c) => {
37
37
  throw e.errorCallback ? e.errorCallback(c) : u(c);
38
38
  });
39
39
  },
40
- create: (a, d, r) => {
40
+ create: (a, d, l) => {
41
41
  let t = a.data;
42
- return a.data && typeof a.data == "object" && !Array.isArray(a.data) && !(a.data instanceof FormData) && b(a.data) && (t = C(a.data)), n.post(l(a.path, d?.config.apiBasePath) || "", t, {
42
+ return a.data && typeof a.data == "object" && !Array.isArray(a.data) && !(a.data instanceof FormData) && b(a.data) && (t = m(a.data)), n.post(r(a.path, d?.config.apiBasePath) || "", t, {
43
43
  headers: {
44
- Authorization: r?.token
44
+ Authorization: l?.token
45
45
  },
46
46
  ...a.meta
47
47
  }).then((c) => e.successCallback ? e.successCallback(c) : h(c)).catch((c) => {
48
48
  throw e.errorCallback ? e.errorCallback(c) : u(c);
49
49
  });
50
50
  },
51
- update: (a, d, r) => {
51
+ update: (a, d, l) => {
52
52
  let t = a.data;
53
- return a.data && typeof a.data == "object" && !Array.isArray(a.data) && !(a.data instanceof FormData) && b(a.data) && (t = C(a.data)), n.put(l(a.id ? `${a.path}/${a.id}` : a.path, d?.config.apiBasePath) || "", t, {
53
+ return a.data && typeof a.data == "object" && !Array.isArray(a.data) && !(a.data instanceof FormData) && b(a.data) && (t = m(a.data)), n.put(r(a.id ? `${a.path}/${a.id}` : a.path, d?.config.apiBasePath) || "", t, {
54
54
  headers: {
55
- Authorization: r?.token
55
+ Authorization: l?.token
56
56
  },
57
57
  ...a.meta
58
58
  }).then((c) => e.successCallback ? e.successCallback(c) : h(c)).catch((c) => {
59
59
  throw e.errorCallback ? e.errorCallback(c) : u(c);
60
60
  });
61
61
  },
62
- deleteOne: (a, d, r) => n.delete(l(a.id ? `${a.path}/${a.id}` : a.path, d?.config.apiBasePath) || "", {
62
+ deleteOne: (a, d, l) => n.delete(r(a.id ? `${a.path}/${a.id}` : a.path, d?.config.apiBasePath) || "", {
63
63
  headers: {
64
- Authorization: r?.token
64
+ Authorization: l?.token
65
65
  },
66
66
  ...a.meta
67
67
  }).then((t) => e.successCallback ? e.successCallback(t) : h(t)).catch((t) => {
68
68
  throw e.errorCallback ? e.errorCallback(t) : u(t);
69
69
  }),
70
- getOne: (a, d, r) => n.get(l(a.id ? `${a.path}/${a.id}` : a.path, d?.config.apiBasePath) || "", {
70
+ getOne: (a, d, l) => n.get(r(a.id ? `${a.path}/${a.id}` : a.path, d?.config.apiBasePath) || "", {
71
71
  headers: {
72
- Authorization: r?.token
72
+ Authorization: l?.token
73
73
  },
74
74
  ...a.meta
75
75
  }).then((t) => e.successCallback ? e.successCallback(t) : h(t)).catch((t) => {
76
76
  throw e.errorCallback ? e.errorCallback(t) : u(t);
77
77
  }),
78
- getMany: (a, d, r) => n.get(l(a.path, d?.config.apiBasePath) || "", {
78
+ getMany: (a, d, l) => n.get(r(a.path, d?.config.apiBasePath) || "", {
79
79
  params: {
80
80
  ids: a.ids
81
81
  },
82
82
  headers: {
83
- Authorization: r?.token
83
+ Authorization: l?.token
84
84
  },
85
85
  ...a.meta
86
86
  }).then((t) => e.successCallback ? e.successCallback(t) : h(t)).catch((t) => {
87
87
  throw e.errorCallback ? e.errorCallback(t) : u(t);
88
88
  }),
89
- createMany: (a, d, r) => n.post(l(a.path, d?.config.apiBasePath) || "", a.data, {
89
+ createMany: (a, d, l) => n.post(r(a.path, d?.config.apiBasePath) || "", a.data, {
90
90
  headers: {
91
- Authorization: r?.token
91
+ Authorization: l?.token
92
92
  },
93
93
  ...a.meta
94
94
  }).then((t) => e.successCallback ? e.successCallback(t) : h(t)).catch((t) => {
95
95
  throw e.errorCallback ? e.errorCallback(t) : u(t);
96
96
  }),
97
- updateMany: (a, d, r) => n.put(l(a.path, d?.config.apiBasePath) || "", {
97
+ updateMany: (a, d, l) => n.put(r(a.path, d?.config.apiBasePath) || "", {
98
98
  ids: a.ids,
99
99
  data: a.data
100
100
  }, {
101
101
  headers: {
102
- Authorization: r?.token
102
+ Authorization: l?.token
103
103
  },
104
104
  ...a.meta
105
105
  }).then((t) => e.successCallback ? e.successCallback(t) : h(t)).catch((t) => {
106
106
  throw e.errorCallback ? e.errorCallback(t) : u(t);
107
107
  }),
108
- deleteMany: (a, d, r) => n.delete(l(a.path, d?.config.apiBasePath) || "", {
108
+ deleteMany: (a, d, l) => n.delete(r(a.path, d?.config.apiBasePath) || "", {
109
109
  params: {
110
110
  ids: a.ids
111
111
  },
112
112
  headers: {
113
- Authorization: r?.token
113
+ Authorization: l?.token
114
114
  },
115
115
  ...a.meta
116
116
  }).then((t) => e.successCallback ? e.successCallback(t) : h(t)).catch((t) => {
117
117
  throw e.errorCallback ? e.errorCallback(t) : u(t);
118
118
  }),
119
- custom: (a, d, r) => {
119
+ custom: (a, d, l) => {
120
120
  let t = {
121
121
  ...a.query
122
122
  };
@@ -127,13 +127,13 @@ function y(e) {
127
127
  ...t,
128
128
  ...a.filters
129
129
  }), n.request({
130
- url: l(a.path, d?.config.apiBasePath) || "",
130
+ url: r(a.path, d?.config.apiBasePath) || "",
131
131
  method: a.method || "GET",
132
132
  data: a.payload,
133
133
  params: t,
134
134
  signal: a.signal,
135
135
  headers: {
136
- Authorization: r?.token,
136
+ Authorization: l?.token,
137
137
  ...a.headers
138
138
  },
139
139
  onUploadProgress: (c) => {
@@ -161,11 +161,14 @@ function y(e) {
161
161
  };
162
162
  }
163
163
  function h(e) {
164
+ const r = typeof e.data?.data > "u" ? e.data : e.data?.data;
164
165
  return {
165
166
  message: e.data?.message,
166
- data: e.data?.data,
167
+ data: r,
167
168
  meta: e.data?.meta,
168
- raw: e.data
169
+ raw: e.data,
170
+ headers: e.headers,
171
+ status: e.status
169
172
  };
170
173
  }
171
174
  function u(e) {
@@ -19,12 +19,16 @@ export declare function useList(params: IListParams): {
19
19
  data?: any;
20
20
  meta?: Record<string, any> | undefined;
21
21
  raw?: any;
22
+ headers?: Record<string, any> | undefined;
23
+ status?: number | undefined;
22
24
  } | undefined, IDataProviderResponse | {
23
25
  [x: string]: any;
24
26
  message?: string | undefined;
25
27
  data?: any;
26
28
  meta?: Record<string, any> | undefined;
27
29
  raw?: any;
30
+ headers?: Record<string, any> | undefined;
31
+ status?: number | undefined;
28
32
  } | undefined>;
29
33
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
30
34
  pagination: import("vue").Ref<{
@@ -72,12 +76,16 @@ export declare function useList(params: IListParams): {
72
76
  data?: any;
73
77
  meta?: Record<string, any> | undefined;
74
78
  raw?: any;
79
+ headers?: Record<string, any> | undefined;
80
+ status?: number | undefined;
75
81
  } | undefined, IDataProviderResponse | {
76
82
  [x: string]: any;
77
83
  message?: string | undefined;
78
84
  data?: any;
79
85
  meta?: Record<string, any> | undefined;
80
86
  raw?: any;
87
+ headers?: Record<string, any> | undefined;
88
+ status?: number | undefined;
81
89
  } | undefined>;
82
90
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
83
91
  pagination: import("vue").Ref<{
@@ -125,12 +133,16 @@ export declare function useList(params: IListParams): {
125
133
  data?: any;
126
134
  meta?: Record<string, any> | undefined;
127
135
  raw?: any;
136
+ headers?: Record<string, any> | undefined;
137
+ status?: number | undefined;
128
138
  } | undefined, IDataProviderResponse | {
129
139
  [x: string]: any;
130
140
  message?: string | undefined;
131
141
  data?: any;
132
142
  meta?: Record<string, any> | undefined;
133
143
  raw?: any;
144
+ headers?: Record<string, any> | undefined;
145
+ status?: number | undefined;
134
146
  } | undefined>;
135
147
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
136
148
  pagination: import("vue").Ref<{
@@ -178,12 +190,16 @@ export declare function useList(params: IListParams): {
178
190
  data?: any;
179
191
  meta?: Record<string, any> | undefined;
180
192
  raw?: any;
193
+ headers?: Record<string, any> | undefined;
194
+ status?: number | undefined;
181
195
  } | undefined, IDataProviderResponse | {
182
196
  [x: string]: any;
183
197
  message?: string | undefined;
184
198
  data?: any;
185
199
  meta?: Record<string, any> | undefined;
186
200
  raw?: any;
201
+ headers?: Record<string, any> | undefined;
202
+ status?: number | undefined;
187
203
  } | undefined>;
188
204
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
189
205
  pagination: import("vue").Ref<{
@@ -231,12 +247,16 @@ export declare function useList(params: IListParams): {
231
247
  data?: any;
232
248
  meta?: Record<string, any> | undefined;
233
249
  raw?: any;
250
+ headers?: Record<string, any> | undefined;
251
+ status?: number | undefined;
234
252
  } | undefined, IDataProviderResponse | {
235
253
  [x: string]: any;
236
254
  message?: string | undefined;
237
255
  data?: any;
238
256
  meta?: Record<string, any> | undefined;
239
257
  raw?: any;
258
+ headers?: Record<string, any> | undefined;
259
+ status?: number | undefined;
240
260
  } | undefined>;
241
261
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
242
262
  pagination: import("vue").Ref<{
@@ -284,12 +304,16 @@ export declare function useList(params: IListParams): {
284
304
  data?: any;
285
305
  meta?: Record<string, any> | undefined;
286
306
  raw?: any;
307
+ headers?: Record<string, any> | undefined;
308
+ status?: number | undefined;
287
309
  } | undefined, IDataProviderResponse | {
288
310
  [x: string]: any;
289
311
  message?: string | undefined;
290
312
  data?: any;
291
313
  meta?: Record<string, any> | undefined;
292
314
  raw?: any;
315
+ headers?: Record<string, any> | undefined;
316
+ status?: number | undefined;
293
317
  } | undefined>;
294
318
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
295
319
  pagination: import("vue").Ref<{
@@ -348,12 +372,16 @@ export declare function useInfiniteList(params: IInfiniteListParams): {
348
372
  data?: any;
349
373
  meta?: Record<string, any> | undefined;
350
374
  raw?: any;
375
+ headers?: Record<string, any> | undefined;
376
+ status?: number | undefined;
351
377
  } | undefined, IDataProviderResponse | {
352
378
  [x: string]: any;
353
379
  message?: string | undefined;
354
380
  data?: any;
355
381
  meta?: Record<string, any> | undefined;
356
382
  raw?: any;
383
+ headers?: Record<string, any> | undefined;
384
+ status?: number | undefined;
357
385
  } | undefined>;
358
386
  fetchNextPage: () => Promise<import("@tanstack/vue-query").InfiniteQueryObserverResult<InfiniteData<IDataProviderResponse | undefined, unknown>, Error>> | undefined;
359
387
  hasNextPage: import("vue").Ref<boolean, boolean>;
@@ -399,12 +427,16 @@ export declare function useInfiniteList(params: IInfiniteListParams): {
399
427
  data?: any;
400
428
  meta?: Record<string, any> | undefined;
401
429
  raw?: any;
430
+ headers?: Record<string, any> | undefined;
431
+ status?: number | undefined;
402
432
  } | undefined, IDataProviderResponse | {
403
433
  [x: string]: any;
404
434
  message?: string | undefined;
405
435
  data?: any;
406
436
  meta?: Record<string, any> | undefined;
407
437
  raw?: any;
438
+ headers?: Record<string, any> | undefined;
439
+ status?: number | undefined;
408
440
  } | undefined>;
409
441
  fetchNextPage: () => Promise<import("@tanstack/vue-query").InfiniteQueryObserverResult<InfiniteData<IDataProviderResponse | undefined, unknown>, Error>> | undefined;
410
442
  hasNextPage: import("vue").Ref<boolean, boolean>;
@@ -450,12 +482,16 @@ export declare function useInfiniteList(params: IInfiniteListParams): {
450
482
  data?: any;
451
483
  meta?: Record<string, any> | undefined;
452
484
  raw?: any;
485
+ headers?: Record<string, any> | undefined;
486
+ status?: number | undefined;
453
487
  } | undefined, IDataProviderResponse | {
454
488
  [x: string]: any;
455
489
  message?: string | undefined;
456
490
  data?: any;
457
491
  meta?: Record<string, any> | undefined;
458
492
  raw?: any;
493
+ headers?: Record<string, any> | undefined;
494
+ status?: number | undefined;
459
495
  } | undefined>;
460
496
  fetchNextPage: () => Promise<import("@tanstack/vue-query").InfiniteQueryObserverResult<InfiniteData<IDataProviderResponse | undefined, unknown>, Error>> | undefined;
461
497
  hasNextPage: import("vue").Ref<boolean, boolean>;
@@ -501,12 +537,16 @@ export declare function useInfiniteList(params: IInfiniteListParams): {
501
537
  data?: any;
502
538
  meta?: Record<string, any> | undefined;
503
539
  raw?: any;
540
+ headers?: Record<string, any> | undefined;
541
+ status?: number | undefined;
504
542
  } | undefined, IDataProviderResponse | {
505
543
  [x: string]: any;
506
544
  message?: string | undefined;
507
545
  data?: any;
508
546
  meta?: Record<string, any> | undefined;
509
547
  raw?: any;
548
+ headers?: Record<string, any> | undefined;
549
+ status?: number | undefined;
510
550
  } | undefined>;
511
551
  fetchNextPage: () => Promise<import("@tanstack/vue-query").InfiniteQueryObserverResult<InfiniteData<IDataProviderResponse | undefined, unknown>, Error>> | undefined;
512
552
  hasNextPage: import("vue").Ref<boolean, boolean>;
@@ -552,12 +592,16 @@ export declare function useInfiniteList(params: IInfiniteListParams): {
552
592
  data?: any;
553
593
  meta?: Record<string, any> | undefined;
554
594
  raw?: any;
595
+ headers?: Record<string, any> | undefined;
596
+ status?: number | undefined;
555
597
  } | undefined, IDataProviderResponse | {
556
598
  [x: string]: any;
557
599
  message?: string | undefined;
558
600
  data?: any;
559
601
  meta?: Record<string, any> | undefined;
560
602
  raw?: any;
603
+ headers?: Record<string, any> | undefined;
604
+ status?: number | undefined;
561
605
  } | undefined>;
562
606
  fetchNextPage: () => Promise<import("@tanstack/vue-query").InfiniteQueryObserverResult<InfiniteData<IDataProviderResponse | undefined, unknown>, Error>> | undefined;
563
607
  hasNextPage: import("vue").Ref<boolean, boolean>;
@@ -603,12 +647,16 @@ export declare function useInfiniteList(params: IInfiniteListParams): {
603
647
  data?: any;
604
648
  meta?: Record<string, any> | undefined;
605
649
  raw?: any;
650
+ headers?: Record<string, any> | undefined;
651
+ status?: number | undefined;
606
652
  } | undefined, IDataProviderResponse | {
607
653
  [x: string]: any;
608
654
  message?: string | undefined;
609
655
  data?: any;
610
656
  meta?: Record<string, any> | undefined;
611
657
  raw?: any;
658
+ headers?: Record<string, any> | undefined;
659
+ status?: number | undefined;
612
660
  } | undefined>;
613
661
  fetchNextPage: () => Promise<import("@tanstack/vue-query").InfiniteQueryObserverResult<InfiniteData<IDataProviderResponse | undefined, unknown>, Error>> | undefined;
614
662
  hasNextPage: import("vue").Ref<boolean, boolean>;
@@ -664,12 +712,16 @@ export declare function useOne(params: IOneParams): {
664
712
  data?: any;
665
713
  meta?: Record<string, any> | undefined;
666
714
  raw?: any;
715
+ headers?: Record<string, any> | undefined;
716
+ status?: number | undefined;
667
717
  } | undefined, IDataProviderResponse | {
668
718
  [x: string]: any;
669
719
  message?: string | undefined;
670
720
  data?: any;
671
721
  meta?: Record<string, any> | undefined;
672
722
  raw?: any;
723
+ headers?: Record<string, any> | undefined;
724
+ status?: number | undefined;
673
725
  } | undefined>;
674
726
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
675
727
  error: import("vue").Ref<Error, Error>;
@@ -704,12 +756,16 @@ export declare function useOne(params: IOneParams): {
704
756
  data?: any;
705
757
  meta?: Record<string, any> | undefined;
706
758
  raw?: any;
759
+ headers?: Record<string, any> | undefined;
760
+ status?: number | undefined;
707
761
  } | undefined, IDataProviderResponse | {
708
762
  [x: string]: any;
709
763
  message?: string | undefined;
710
764
  data?: any;
711
765
  meta?: Record<string, any> | undefined;
712
766
  raw?: any;
767
+ headers?: Record<string, any> | undefined;
768
+ status?: number | undefined;
713
769
  } | undefined>;
714
770
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
715
771
  error: import("vue").Ref<null, null>;
@@ -744,12 +800,16 @@ export declare function useOne(params: IOneParams): {
744
800
  data?: any;
745
801
  meta?: Record<string, any> | undefined;
746
802
  raw?: any;
803
+ headers?: Record<string, any> | undefined;
804
+ status?: number | undefined;
747
805
  } | undefined, IDataProviderResponse | {
748
806
  [x: string]: any;
749
807
  message?: string | undefined;
750
808
  data?: any;
751
809
  meta?: Record<string, any> | undefined;
752
810
  raw?: any;
811
+ headers?: Record<string, any> | undefined;
812
+ status?: number | undefined;
753
813
  } | undefined>;
754
814
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
755
815
  error: import("vue").Ref<Error, Error>;
@@ -784,12 +844,16 @@ export declare function useOne(params: IOneParams): {
784
844
  data?: any;
785
845
  meta?: Record<string, any> | undefined;
786
846
  raw?: any;
847
+ headers?: Record<string, any> | undefined;
848
+ status?: number | undefined;
787
849
  } | undefined, IDataProviderResponse | {
788
850
  [x: string]: any;
789
851
  message?: string | undefined;
790
852
  data?: any;
791
853
  meta?: Record<string, any> | undefined;
792
854
  raw?: any;
855
+ headers?: Record<string, any> | undefined;
856
+ status?: number | undefined;
793
857
  } | undefined>;
794
858
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
795
859
  error: import("vue").Ref<null, null>;
@@ -824,12 +888,16 @@ export declare function useOne(params: IOneParams): {
824
888
  data?: any;
825
889
  meta?: Record<string, any> | undefined;
826
890
  raw?: any;
891
+ headers?: Record<string, any> | undefined;
892
+ status?: number | undefined;
827
893
  } | undefined, IDataProviderResponse | {
828
894
  [x: string]: any;
829
895
  message?: string | undefined;
830
896
  data?: any;
831
897
  meta?: Record<string, any> | undefined;
832
898
  raw?: any;
899
+ headers?: Record<string, any> | undefined;
900
+ status?: number | undefined;
833
901
  } | undefined>;
834
902
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
835
903
  error: import("vue").Ref<null, null>;
@@ -864,12 +932,16 @@ export declare function useOne(params: IOneParams): {
864
932
  data?: any;
865
933
  meta?: Record<string, any> | undefined;
866
934
  raw?: any;
935
+ headers?: Record<string, any> | undefined;
936
+ status?: number | undefined;
867
937
  } | undefined, IDataProviderResponse | {
868
938
  [x: string]: any;
869
939
  message?: string | undefined;
870
940
  data?: any;
871
941
  meta?: Record<string, any> | undefined;
872
942
  raw?: any;
943
+ headers?: Record<string, any> | undefined;
944
+ status?: number | undefined;
873
945
  } | undefined>;
874
946
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
875
947
  isError: import("vue").Ref<false, false>;
@@ -914,12 +986,16 @@ export declare function useMany(params: IManyParams): {
914
986
  data?: any;
915
987
  meta?: Record<string, any> | undefined;
916
988
  raw?: any;
989
+ headers?: Record<string, any> | undefined;
990
+ status?: number | undefined;
917
991
  } | undefined, IDataProviderResponse | {
918
992
  [x: string]: any;
919
993
  message?: string | undefined;
920
994
  data?: any;
921
995
  meta?: Record<string, any> | undefined;
922
996
  raw?: any;
997
+ headers?: Record<string, any> | undefined;
998
+ status?: number | undefined;
923
999
  } | undefined>;
924
1000
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
925
1001
  error: import("vue").Ref<Error, Error>;
@@ -954,12 +1030,16 @@ export declare function useMany(params: IManyParams): {
954
1030
  data?: any;
955
1031
  meta?: Record<string, any> | undefined;
956
1032
  raw?: any;
1033
+ headers?: Record<string, any> | undefined;
1034
+ status?: number | undefined;
957
1035
  } | undefined, IDataProviderResponse | {
958
1036
  [x: string]: any;
959
1037
  message?: string | undefined;
960
1038
  data?: any;
961
1039
  meta?: Record<string, any> | undefined;
962
1040
  raw?: any;
1041
+ headers?: Record<string, any> | undefined;
1042
+ status?: number | undefined;
963
1043
  } | undefined>;
964
1044
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
965
1045
  error: import("vue").Ref<null, null>;
@@ -994,12 +1074,16 @@ export declare function useMany(params: IManyParams): {
994
1074
  data?: any;
995
1075
  meta?: Record<string, any> | undefined;
996
1076
  raw?: any;
1077
+ headers?: Record<string, any> | undefined;
1078
+ status?: number | undefined;
997
1079
  } | undefined, IDataProviderResponse | {
998
1080
  [x: string]: any;
999
1081
  message?: string | undefined;
1000
1082
  data?: any;
1001
1083
  meta?: Record<string, any> | undefined;
1002
1084
  raw?: any;
1085
+ headers?: Record<string, any> | undefined;
1086
+ status?: number | undefined;
1003
1087
  } | undefined>;
1004
1088
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
1005
1089
  error: import("vue").Ref<Error, Error>;
@@ -1034,12 +1118,16 @@ export declare function useMany(params: IManyParams): {
1034
1118
  data?: any;
1035
1119
  meta?: Record<string, any> | undefined;
1036
1120
  raw?: any;
1121
+ headers?: Record<string, any> | undefined;
1122
+ status?: number | undefined;
1037
1123
  } | undefined, IDataProviderResponse | {
1038
1124
  [x: string]: any;
1039
1125
  message?: string | undefined;
1040
1126
  data?: any;
1041
1127
  meta?: Record<string, any> | undefined;
1042
1128
  raw?: any;
1129
+ headers?: Record<string, any> | undefined;
1130
+ status?: number | undefined;
1043
1131
  } | undefined>;
1044
1132
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
1045
1133
  error: import("vue").Ref<null, null>;
@@ -1074,12 +1162,16 @@ export declare function useMany(params: IManyParams): {
1074
1162
  data?: any;
1075
1163
  meta?: Record<string, any> | undefined;
1076
1164
  raw?: any;
1165
+ headers?: Record<string, any> | undefined;
1166
+ status?: number | undefined;
1077
1167
  } | undefined, IDataProviderResponse | {
1078
1168
  [x: string]: any;
1079
1169
  message?: string | undefined;
1080
1170
  data?: any;
1081
1171
  meta?: Record<string, any> | undefined;
1082
1172
  raw?: any;
1173
+ headers?: Record<string, any> | undefined;
1174
+ status?: number | undefined;
1083
1175
  } | undefined>;
1084
1176
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
1085
1177
  error: import("vue").Ref<null, null>;
@@ -1114,12 +1206,16 @@ export declare function useMany(params: IManyParams): {
1114
1206
  data?: any;
1115
1207
  meta?: Record<string, any> | undefined;
1116
1208
  raw?: any;
1209
+ headers?: Record<string, any> | undefined;
1210
+ status?: number | undefined;
1117
1211
  } | undefined, IDataProviderResponse | {
1118
1212
  [x: string]: any;
1119
1213
  message?: string | undefined;
1120
1214
  data?: any;
1121
1215
  meta?: Record<string, any> | undefined;
1122
1216
  raw?: any;
1217
+ headers?: Record<string, any> | undefined;
1218
+ status?: number | undefined;
1123
1219
  } | undefined>;
1124
1220
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
1125
1221
  isError: import("vue").Ref<false, false>;
@@ -1658,12 +1754,16 @@ export declare function useCustom(params?: ICustomParams): {
1658
1754
  data?: any;
1659
1755
  meta?: Record<string, any> | undefined;
1660
1756
  raw?: any;
1757
+ headers?: Record<string, any> | undefined;
1758
+ status?: number | undefined;
1661
1759
  } | undefined, IDataProviderResponse | {
1662
1760
  [x: string]: any;
1663
1761
  message?: string | undefined;
1664
1762
  data?: any;
1665
1763
  meta?: Record<string, any> | undefined;
1666
1764
  raw?: any;
1765
+ headers?: Record<string, any> | undefined;
1766
+ status?: number | undefined;
1667
1767
  } | undefined>;
1668
1768
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
1669
1769
  error: import("vue").Ref<Error, Error>;
@@ -1698,12 +1798,16 @@ export declare function useCustom(params?: ICustomParams): {
1698
1798
  data?: any;
1699
1799
  meta?: Record<string, any> | undefined;
1700
1800
  raw?: any;
1801
+ headers?: Record<string, any> | undefined;
1802
+ status?: number | undefined;
1701
1803
  } | undefined, IDataProviderResponse | {
1702
1804
  [x: string]: any;
1703
1805
  message?: string | undefined;
1704
1806
  data?: any;
1705
1807
  meta?: Record<string, any> | undefined;
1706
1808
  raw?: any;
1809
+ headers?: Record<string, any> | undefined;
1810
+ status?: number | undefined;
1707
1811
  } | undefined>;
1708
1812
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
1709
1813
  error: import("vue").Ref<null, null>;
@@ -1738,12 +1842,16 @@ export declare function useCustom(params?: ICustomParams): {
1738
1842
  data?: any;
1739
1843
  meta?: Record<string, any> | undefined;
1740
1844
  raw?: any;
1845
+ headers?: Record<string, any> | undefined;
1846
+ status?: number | undefined;
1741
1847
  } | undefined, IDataProviderResponse | {
1742
1848
  [x: string]: any;
1743
1849
  message?: string | undefined;
1744
1850
  data?: any;
1745
1851
  meta?: Record<string, any> | undefined;
1746
1852
  raw?: any;
1853
+ headers?: Record<string, any> | undefined;
1854
+ status?: number | undefined;
1747
1855
  } | undefined>;
1748
1856
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
1749
1857
  error: import("vue").Ref<Error, Error>;
@@ -1778,12 +1886,16 @@ export declare function useCustom(params?: ICustomParams): {
1778
1886
  data?: any;
1779
1887
  meta?: Record<string, any> | undefined;
1780
1888
  raw?: any;
1889
+ headers?: Record<string, any> | undefined;
1890
+ status?: number | undefined;
1781
1891
  } | undefined, IDataProviderResponse | {
1782
1892
  [x: string]: any;
1783
1893
  message?: string | undefined;
1784
1894
  data?: any;
1785
1895
  meta?: Record<string, any> | undefined;
1786
1896
  raw?: any;
1897
+ headers?: Record<string, any> | undefined;
1898
+ status?: number | undefined;
1787
1899
  } | undefined>;
1788
1900
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
1789
1901
  error: import("vue").Ref<null, null>;
@@ -1818,12 +1930,16 @@ export declare function useCustom(params?: ICustomParams): {
1818
1930
  data?: any;
1819
1931
  meta?: Record<string, any> | undefined;
1820
1932
  raw?: any;
1933
+ headers?: Record<string, any> | undefined;
1934
+ status?: number | undefined;
1821
1935
  } | undefined, IDataProviderResponse | {
1822
1936
  [x: string]: any;
1823
1937
  message?: string | undefined;
1824
1938
  data?: any;
1825
1939
  meta?: Record<string, any> | undefined;
1826
1940
  raw?: any;
1941
+ headers?: Record<string, any> | undefined;
1942
+ status?: number | undefined;
1827
1943
  } | undefined>;
1828
1944
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
1829
1945
  error: import("vue").Ref<null, null>;
@@ -1858,12 +1974,16 @@ export declare function useCustom(params?: ICustomParams): {
1858
1974
  data?: any;
1859
1975
  meta?: Record<string, any> | undefined;
1860
1976
  raw?: any;
1977
+ headers?: Record<string, any> | undefined;
1978
+ status?: number | undefined;
1861
1979
  } | undefined, IDataProviderResponse | {
1862
1980
  [x: string]: any;
1863
1981
  message?: string | undefined;
1864
1982
  data?: any;
1865
1983
  meta?: Record<string, any> | undefined;
1866
1984
  raw?: any;
1985
+ headers?: Record<string, any> | undefined;
1986
+ status?: number | undefined;
1867
1987
  } | undefined>;
1868
1988
  refetch: (options?: import("@tanstack/vue-query").RefetchOptions) => Promise<import("@tanstack/vue-query").QueryObserverResult<IDataProviderResponse | undefined, Error>>;
1869
1989
  isError: import("vue").Ref<false, false>;
@@ -13,12 +13,16 @@ export declare function useExport(props: IUseExportProps): {
13
13
  data?: any;
14
14
  meta?: Record<string, any> | undefined;
15
15
  raw?: any;
16
+ headers?: Record<string, any> | undefined;
17
+ status?: number | undefined;
16
18
  } | undefined, IDataProviderResponse | {
17
19
  [x: string]: any;
18
20
  message?: string | undefined;
19
21
  data?: any;
20
22
  meta?: Record<string, any> | undefined;
21
23
  raw?: any;
24
+ headers?: Record<string, any> | undefined;
25
+ status?: number | undefined;
22
26
  } | undefined>;
23
27
  isLoading: import("vue").ComputedRef<boolean>;
24
28
  trigger: () => Promise<void>;
@@ -17,12 +17,16 @@ export declare function useExportCsv(props: IUseExportCsvProps): {
17
17
  data?: any;
18
18
  meta?: Record<string, any> | undefined;
19
19
  raw?: any;
20
+ headers?: Record<string, any> | undefined;
21
+ status?: number | undefined;
20
22
  } | undefined, import("..").IDataProviderResponse | {
21
23
  [x: string]: any;
22
24
  message?: string | undefined;
23
25
  data?: any;
24
26
  meta?: Record<string, any> | undefined;
25
27
  raw?: any;
28
+ headers?: Record<string, any> | undefined;
29
+ status?: number | undefined;
26
30
  } | undefined>;
27
31
  isLoading: import("vue").ComputedRef<boolean>;
28
32
  trigger: () => Promise<void>;
@@ -86,6 +86,8 @@ export declare function useUpload(props?: IUseUploadProps): {
86
86
  data?: any;
87
87
  meta?: Record<string, any> | undefined;
88
88
  raw?: any;
89
+ headers?: Record<string, any> | undefined;
90
+ status?: number | undefined;
89
91
  } | undefined;
90
92
  url?: string | undefined;
91
93
  filename?: string | undefined;
@@ -123,6 +125,8 @@ export declare function useUpload(props?: IUseUploadProps): {
123
125
  data?: any;
124
126
  meta?: Record<string, any> | undefined;
125
127
  raw?: any;
128
+ headers?: Record<string, any> | undefined;
129
+ status?: number | undefined;
126
130
  } | undefined;
127
131
  url?: string | undefined;
128
132
  filename?: string | undefined;
@@ -24,6 +24,8 @@ export interface IDataProviderResponse {
24
24
  data?: any;
25
25
  meta?: Record<string, any>;
26
26
  raw?: any;
27
+ headers?: Record<string, any>;
28
+ status?: number;
27
29
  [key: string]: any;
28
30
  }
29
31
  export interface IDataProviderError {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@duxweb/dvha-core",
3
3
  "type": "module",
4
- "version": "1.1.15",
4
+ "version": "1.1.16",
5
5
  "author": "DuxWeb",
6
6
  "license": "MIT",
7
7
  "repository": {