@instockng/storefront-ui 1.0.4 → 1.0.6
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/contexts/CartContext.d.ts.map +1 -1
- package/dist/index20.mjs +2 -2
- package/dist/index21.mjs +1 -1
- package/dist/index28.mjs +11 -11
- package/dist/index29.mjs +1 -1
- package/dist/index3.mjs +83 -72
- package/dist/index30.mjs +1 -1
- package/dist/index31.mjs +1 -1
- package/dist/index32.mjs +1 -1
- package/dist/index37.mjs +1 -1
- package/dist/index41.mjs +23 -36
- package/dist/index42.mjs +36 -44
- package/dist/index43.mjs +44 -99
- package/dist/index44.mjs +99 -112
- package/dist/index45.mjs +80 -44
- package/dist/index46.mjs +53 -64
- package/dist/index47.mjs +49 -66
- package/dist/index48.mjs +73 -54
- package/dist/index49.mjs +63 -52
- package/dist/index50.mjs +70 -14
- package/dist/index51.mjs +14 -13
- package/dist/index52.mjs +13 -58
- package/dist/index53.mjs +34 -101
- package/dist/index54.mjs +95 -99
- package/dist/index55.mjs +132 -22
- package/dist/index58.mjs +2 -2
- package/dist/index59.mjs +3 -4
- package/dist/index60.mjs +2 -4
- package/dist/index61.mjs +5 -2
- package/package.json +1 -1
package/dist/index44.mjs
CHANGED
|
@@ -1,115 +1,102 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
t.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
return a.json();
|
|
101
|
-
},
|
|
102
|
-
onSuccess: () => {
|
|
103
|
-
t.invalidateQueries({ queryKey: i.admin.orders.all });
|
|
104
|
-
},
|
|
105
|
-
...r
|
|
106
|
-
});
|
|
107
|
-
}
|
|
2
|
+
var p = Object.defineProperty;
|
|
3
|
+
var k = (r, e, i) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[e] = i;
|
|
4
|
+
var h = (r, e, i) => k(r, typeof e != "symbol" ? e + "" : e, i);
|
|
5
|
+
import { serialize as j } from "./index62.mjs";
|
|
6
|
+
import { mergePath as U, replaceUrlParam as P, buildSearchParams as S, removeIndexString as w, replaceUrlProtocol as x, deepMerge as C } from "./index63.mjs";
|
|
7
|
+
var v = (r, e) => new Proxy(() => {
|
|
8
|
+
}, {
|
|
9
|
+
get(t, s) {
|
|
10
|
+
if (!(typeof s != "string" || s === "then"))
|
|
11
|
+
return v(r, [...e, s]);
|
|
12
|
+
},
|
|
13
|
+
apply(t, s, a) {
|
|
14
|
+
return r({
|
|
15
|
+
path: e,
|
|
16
|
+
args: a
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}), T = class {
|
|
20
|
+
constructor(r, e) {
|
|
21
|
+
h(this, "url");
|
|
22
|
+
h(this, "method");
|
|
23
|
+
h(this, "queryParams");
|
|
24
|
+
h(this, "pathParams", {});
|
|
25
|
+
h(this, "rBody");
|
|
26
|
+
h(this, "cType");
|
|
27
|
+
h(this, "fetch", async (r, e) => {
|
|
28
|
+
if (r) {
|
|
29
|
+
if (r.query && (this.queryParams = S(r.query)), r.form) {
|
|
30
|
+
const o = new FormData();
|
|
31
|
+
for (const [c, f] of Object.entries(r.form))
|
|
32
|
+
if (Array.isArray(f))
|
|
33
|
+
for (const l of f)
|
|
34
|
+
o.append(c, l);
|
|
35
|
+
else
|
|
36
|
+
o.append(c, f);
|
|
37
|
+
this.rBody = o;
|
|
38
|
+
}
|
|
39
|
+
r.json && (this.rBody = JSON.stringify(r.json), this.cType = "application/json"), r.param && (this.pathParams = r.param);
|
|
40
|
+
}
|
|
41
|
+
let i = this.method.toUpperCase();
|
|
42
|
+
const t = {
|
|
43
|
+
...r == null ? void 0 : r.header,
|
|
44
|
+
...typeof (e == null ? void 0 : e.headers) == "function" ? await e.headers() : e == null ? void 0 : e.headers
|
|
45
|
+
};
|
|
46
|
+
if (r != null && r.cookie) {
|
|
47
|
+
const o = [];
|
|
48
|
+
for (const [c, f] of Object.entries(r.cookie))
|
|
49
|
+
o.push(j(c, f, { path: "/" }));
|
|
50
|
+
t.Cookie = o.join(",");
|
|
51
|
+
}
|
|
52
|
+
this.cType && (t["Content-Type"] = this.cType);
|
|
53
|
+
const s = new Headers(t ?? void 0);
|
|
54
|
+
let a = this.url;
|
|
55
|
+
a = w(a), a = P(a, this.pathParams), this.queryParams && (a = a + "?" + this.queryParams.toString()), i = this.method.toUpperCase();
|
|
56
|
+
const u = !(i === "GET" || i === "HEAD");
|
|
57
|
+
return ((e == null ? void 0 : e.fetch) || fetch)(a, {
|
|
58
|
+
body: u ? this.rBody : void 0,
|
|
59
|
+
method: i,
|
|
60
|
+
headers: s,
|
|
61
|
+
...e == null ? void 0 : e.init
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
this.url = r, this.method = e;
|
|
65
|
+
}
|
|
66
|
+
}, E = (r, e) => v(function i(t) {
|
|
67
|
+
var l;
|
|
68
|
+
const s = [...t.path], a = s.slice(-3).reverse();
|
|
69
|
+
if (a[0] === "toString")
|
|
70
|
+
return a[1] === "name" ? a[2] || "" : i.toString();
|
|
71
|
+
if (a[0] === "valueOf")
|
|
72
|
+
return a[1] === "name" ? a[2] || "" : i;
|
|
73
|
+
let u = "";
|
|
74
|
+
if (/^\$/.test(a[0])) {
|
|
75
|
+
const n = s.pop();
|
|
76
|
+
n && (u = n.replace(/^\$/, ""));
|
|
77
|
+
}
|
|
78
|
+
const o = s.join("/"), c = U(r, o);
|
|
79
|
+
if (u === "url") {
|
|
80
|
+
let n = c;
|
|
81
|
+
return t.args[0] && (t.args[0].param && (n = P(c, t.args[0].param)), t.args[0].query && (n = n + "?" + S(t.args[0].query).toString())), n = w(n), new URL(n);
|
|
82
|
+
}
|
|
83
|
+
if (u === "ws") {
|
|
84
|
+
const n = x(
|
|
85
|
+
t.args[0] && t.args[0].param ? P(c, t.args[0].param) : c,
|
|
86
|
+
"ws"
|
|
87
|
+
), y = new URL(n), b = (l = t.args[0]) == null ? void 0 : l.query;
|
|
88
|
+
return b && Object.entries(b).forEach(([m, d]) => {
|
|
89
|
+
Array.isArray(d) ? d.forEach((q) => y.searchParams.append(m, q)) : y.searchParams.set(m, d);
|
|
90
|
+
}), ((...m) => (e == null ? void 0 : e.webSocket) !== void 0 && typeof e.webSocket == "function" ? e.webSocket(...m) : new WebSocket(...m))(y.toString());
|
|
91
|
+
}
|
|
92
|
+
const f = new T(c, u);
|
|
93
|
+
if (u) {
|
|
94
|
+
e ?? (e = {});
|
|
95
|
+
const n = C(e, { ...t.args[1] });
|
|
96
|
+
return f.fetch(t.args[0], n);
|
|
97
|
+
}
|
|
98
|
+
return f;
|
|
99
|
+
}, []);
|
|
108
100
|
export {
|
|
109
|
-
|
|
110
|
-
K as useDeleteOrder,
|
|
111
|
-
T as useGetOrder,
|
|
112
|
-
F as useListOrders,
|
|
113
|
-
j as useUpdateOrder,
|
|
114
|
-
x as useUpdateOrderStatus
|
|
101
|
+
E as hc
|
|
115
102
|
};
|
package/dist/index45.mjs
CHANGED
|
@@ -1,79 +1,115 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { useQueryClient as y, useMutation as m } from "@tanstack/react-query";
|
|
3
|
-
import { useQueryUnwrapped as
|
|
4
|
-
import { createAdminRpcClients as
|
|
5
|
-
import { queryKeys as
|
|
6
|
-
import { useApiConfig as
|
|
7
|
-
function
|
|
8
|
-
const { baseURL:
|
|
9
|
-
return
|
|
10
|
-
queryKey:
|
|
3
|
+
import { useQueryUnwrapped as p } from "./index61.mjs";
|
|
4
|
+
import { createAdminRpcClients as d, authHeaders as c } from "./index21.mjs";
|
|
5
|
+
import { queryKeys as i } from "./index26.mjs";
|
|
6
|
+
import { useApiConfig as l } from "./index19.mjs";
|
|
7
|
+
function F(e) {
|
|
8
|
+
const { baseURL: r, authToken: n } = l();
|
|
9
|
+
return p({
|
|
10
|
+
queryKey: i.admin.orders.list(),
|
|
11
11
|
queryFn: async () => {
|
|
12
|
-
const
|
|
13
|
-
if (!
|
|
14
|
-
|
|
12
|
+
const t = await d(r).orders.index.$get({}, c(n));
|
|
13
|
+
if (!t.ok)
|
|
14
|
+
throw new Error(`Failed to fetch orders: ${t.statusText}`);
|
|
15
|
+
return t.json();
|
|
15
16
|
},
|
|
16
17
|
...e
|
|
17
18
|
});
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
-
const { baseURL:
|
|
21
|
-
return
|
|
22
|
-
queryKey:
|
|
20
|
+
function T(e, r) {
|
|
21
|
+
const { baseURL: n, authToken: s } = l();
|
|
22
|
+
return p({
|
|
23
|
+
queryKey: i.admin.orders.detail(e),
|
|
23
24
|
queryFn: async () => {
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
const o = await d(n).orders[":id"].$get(
|
|
26
|
+
{ param: { id: e } },
|
|
27
|
+
c(s)
|
|
28
|
+
);
|
|
29
|
+
if (!o.ok)
|
|
30
|
+
throw new Error(`Failed to fetch order: ${o.statusText}`);
|
|
31
|
+
return o.json();
|
|
27
32
|
},
|
|
28
|
-
...
|
|
33
|
+
...r
|
|
29
34
|
});
|
|
30
35
|
}
|
|
31
|
-
function
|
|
32
|
-
const { baseURL:
|
|
36
|
+
function $(e) {
|
|
37
|
+
const { baseURL: r, authToken: n } = l(), s = y();
|
|
33
38
|
return m({
|
|
34
|
-
mutationFn: async (
|
|
35
|
-
const a = await
|
|
36
|
-
|
|
39
|
+
mutationFn: async (t) => {
|
|
40
|
+
const a = await d(r).orders.index.$post(
|
|
41
|
+
{ json: t },
|
|
42
|
+
c(n)
|
|
43
|
+
);
|
|
44
|
+
if (!a.ok)
|
|
45
|
+
throw new Error(`Failed to create order: ${a.statusText}`);
|
|
37
46
|
return a.json();
|
|
38
47
|
},
|
|
39
48
|
onSuccess: () => {
|
|
40
|
-
s.invalidateQueries({ queryKey:
|
|
49
|
+
s.invalidateQueries({ queryKey: i.admin.orders.all });
|
|
41
50
|
},
|
|
42
51
|
...e
|
|
43
52
|
});
|
|
44
53
|
}
|
|
45
|
-
function
|
|
46
|
-
const { baseURL:
|
|
54
|
+
function j(e, r) {
|
|
55
|
+
const { baseURL: n, authToken: s } = l(), t = y();
|
|
47
56
|
return m({
|
|
48
|
-
mutationFn: async (
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
57
|
+
mutationFn: async (o) => {
|
|
58
|
+
const u = await d(n).orders[":id"].$patch(
|
|
59
|
+
{ param: { id: e }, json: o },
|
|
60
|
+
c(s)
|
|
61
|
+
);
|
|
62
|
+
if (!u.ok)
|
|
63
|
+
throw new Error(`Failed to update order: ${u.statusText}`);
|
|
64
|
+
return u.json();
|
|
52
65
|
},
|
|
53
66
|
onSuccess: () => {
|
|
54
|
-
|
|
67
|
+
t.invalidateQueries({ queryKey: i.admin.orders.detail(e) }), t.invalidateQueries({ queryKey: i.admin.orders.all });
|
|
55
68
|
},
|
|
56
|
-
...
|
|
69
|
+
...r
|
|
57
70
|
});
|
|
58
71
|
}
|
|
59
|
-
function x(e,
|
|
60
|
-
const { baseURL:
|
|
72
|
+
function x(e, r) {
|
|
73
|
+
const { baseURL: n, authToken: s } = l(), t = y();
|
|
74
|
+
return m({
|
|
75
|
+
mutationFn: async (o) => {
|
|
76
|
+
const u = await d(n).orders[":id"].status.$patch(
|
|
77
|
+
{ param: { id: e }, json: o },
|
|
78
|
+
c(s)
|
|
79
|
+
);
|
|
80
|
+
if (!u.ok)
|
|
81
|
+
throw new Error(`Failed to update order status: ${u.statusText}`);
|
|
82
|
+
return u.json();
|
|
83
|
+
},
|
|
84
|
+
onSuccess: () => {
|
|
85
|
+
t.invalidateQueries({ queryKey: i.admin.orders.detail(e) }), t.invalidateQueries({ queryKey: i.admin.orders.all });
|
|
86
|
+
},
|
|
87
|
+
...r
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
function K(e, r) {
|
|
91
|
+
const { baseURL: n, authToken: s } = l(), t = y();
|
|
61
92
|
return m({
|
|
62
93
|
mutationFn: async () => {
|
|
63
|
-
const a = await
|
|
64
|
-
|
|
94
|
+
const a = await d(n).orders[":id"].$delete(
|
|
95
|
+
{ param: { id: e } },
|
|
96
|
+
c(s)
|
|
97
|
+
);
|
|
98
|
+
if (!a.ok)
|
|
99
|
+
throw new Error(`Failed to delete order: ${a.statusText}`);
|
|
65
100
|
return a.json();
|
|
66
101
|
},
|
|
67
102
|
onSuccess: () => {
|
|
68
|
-
|
|
103
|
+
t.invalidateQueries({ queryKey: i.admin.orders.all });
|
|
69
104
|
},
|
|
70
|
-
...
|
|
105
|
+
...r
|
|
71
106
|
});
|
|
72
107
|
}
|
|
73
108
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
109
|
+
$ as useCreateOrder,
|
|
110
|
+
K as useDeleteOrder,
|
|
111
|
+
T as useGetOrder,
|
|
112
|
+
F as useListOrders,
|
|
113
|
+
j as useUpdateOrder,
|
|
114
|
+
x as useUpdateOrderStatus
|
|
79
115
|
};
|
package/dist/index46.mjs
CHANGED
|
@@ -1,90 +1,79 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { useQueryClient as
|
|
3
|
-
import { useQueryUnwrapped as
|
|
4
|
-
import { createAdminRpcClients as
|
|
5
|
-
import { queryKeys as
|
|
2
|
+
import { useQueryClient as y, useMutation as m } from "@tanstack/react-query";
|
|
3
|
+
import { useQueryUnwrapped as b } from "./index61.mjs";
|
|
4
|
+
import { createAdminRpcClients as u, authHeaders as c } from "./index21.mjs";
|
|
5
|
+
import { queryKeys as o } from "./index26.mjs";
|
|
6
6
|
import { useApiConfig as d } from "./index19.mjs";
|
|
7
|
-
function
|
|
8
|
-
const { baseURL:
|
|
9
|
-
return
|
|
10
|
-
queryKey:
|
|
7
|
+
function k(e) {
|
|
8
|
+
const { baseURL: t, authToken: r } = d();
|
|
9
|
+
return b({
|
|
10
|
+
queryKey: o.admin.brands.list(),
|
|
11
11
|
queryFn: async () => {
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
);
|
|
16
|
-
if (!e.ok) throw new Error(`Failed to fetch products: ${e.statusText}`);
|
|
17
|
-
return e.json();
|
|
12
|
+
const n = await u(t).brands.index.$get({}, c(r));
|
|
13
|
+
if (!n.ok) throw new Error(`Failed to fetch brands: ${n.statusText}`);
|
|
14
|
+
return n.json();
|
|
18
15
|
},
|
|
19
|
-
...
|
|
16
|
+
...e
|
|
20
17
|
});
|
|
21
18
|
}
|
|
22
|
-
function
|
|
19
|
+
function F(e, t) {
|
|
23
20
|
const { baseURL: r, authToken: s } = d();
|
|
24
|
-
return
|
|
25
|
-
queryKey:
|
|
21
|
+
return b({
|
|
22
|
+
queryKey: o.admin.brands.detail(e),
|
|
26
23
|
queryFn: async () => {
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
);
|
|
31
|
-
if (!e.ok) throw new Error(`Failed to fetch product: ${e.statusText}`);
|
|
32
|
-
return e.json();
|
|
24
|
+
const i = await u(r).brands[":id"].$get({ param: { id: e } }, c(s));
|
|
25
|
+
if (!i.ok) throw new Error(`Failed to fetch brand: ${i.statusText}`);
|
|
26
|
+
return i.json();
|
|
33
27
|
},
|
|
34
|
-
...
|
|
28
|
+
...t
|
|
35
29
|
});
|
|
36
30
|
}
|
|
37
|
-
function
|
|
38
|
-
const { baseURL:
|
|
39
|
-
return
|
|
40
|
-
mutationFn: async (
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
);
|
|
45
|
-
if (!u.ok) throw new Error(`Failed to create product: ${u.statusText}`);
|
|
46
|
-
return u.json();
|
|
31
|
+
function T(e) {
|
|
32
|
+
const { baseURL: t, authToken: r } = d(), s = y();
|
|
33
|
+
return m({
|
|
34
|
+
mutationFn: async (n) => {
|
|
35
|
+
const a = await u(t).brands.index.$post({ json: n }, c(r));
|
|
36
|
+
if (!a.ok) throw new Error(`Failed to create brand: ${a.statusText}`);
|
|
37
|
+
return a.json();
|
|
47
38
|
},
|
|
48
|
-
onSuccess: () =>
|
|
49
|
-
|
|
39
|
+
onSuccess: () => {
|
|
40
|
+
s.invalidateQueries({ queryKey: o.admin.brands.all });
|
|
41
|
+
},
|
|
42
|
+
...e
|
|
50
43
|
});
|
|
51
44
|
}
|
|
52
|
-
function
|
|
53
|
-
const { baseURL: r, authToken: s } = d(),
|
|
54
|
-
return
|
|
55
|
-
mutationFn: async (
|
|
56
|
-
const l = await
|
|
57
|
-
|
|
58
|
-
c(s)
|
|
59
|
-
);
|
|
60
|
-
if (!l.ok) throw new Error(`Failed to update product: ${l.statusText}`);
|
|
45
|
+
function $(e, t) {
|
|
46
|
+
const { baseURL: r, authToken: s } = d(), n = y();
|
|
47
|
+
return m({
|
|
48
|
+
mutationFn: async (i) => {
|
|
49
|
+
const l = await u(r).brands[":id"].$patch({ json: i, param: { id: e } }, c(s));
|
|
50
|
+
if (!l.ok) throw new Error(`Failed to update brand: ${l.statusText}`);
|
|
61
51
|
return l.json();
|
|
62
52
|
},
|
|
63
53
|
onSuccess: () => {
|
|
64
|
-
|
|
54
|
+
n.invalidateQueries({ queryKey: o.admin.brands.detail(e) }), n.invalidateQueries({ queryKey: o.admin.brands.all });
|
|
65
55
|
},
|
|
66
|
-
...
|
|
56
|
+
...t
|
|
67
57
|
});
|
|
68
58
|
}
|
|
69
|
-
function
|
|
70
|
-
const { baseURL: r, authToken: s } = d(),
|
|
71
|
-
return
|
|
59
|
+
function x(e, t) {
|
|
60
|
+
const { baseURL: r, authToken: s } = d(), n = y();
|
|
61
|
+
return m({
|
|
72
62
|
mutationFn: async () => {
|
|
73
|
-
const
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
);
|
|
77
|
-
if (!u.ok) throw new Error(`Failed to delete product: ${u.statusText}`);
|
|
78
|
-
return u.json();
|
|
63
|
+
const a = await u(r).brands[":id"].$delete({ param: { id: e } }, c(s));
|
|
64
|
+
if (!a.ok) throw new Error(`Failed to delete brand: ${a.statusText}`);
|
|
65
|
+
return a.json();
|
|
79
66
|
},
|
|
80
|
-
onSuccess: () =>
|
|
81
|
-
|
|
67
|
+
onSuccess: () => {
|
|
68
|
+
n.invalidateQueries({ queryKey: o.admin.brands.all });
|
|
69
|
+
},
|
|
70
|
+
...t
|
|
82
71
|
});
|
|
83
72
|
}
|
|
84
73
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
74
|
+
T as useCreateBrand,
|
|
75
|
+
x as useDeleteBrand,
|
|
76
|
+
F as useGetBrand,
|
|
77
|
+
k as useListBrands,
|
|
78
|
+
$ as useUpdateBrand
|
|
90
79
|
};
|