@medusajs/dashboard 3.0.0-snapshot-20251215083939 → 3.0.0-snapshot-20251216103925
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/{api-key-management-detail-7T6OT2S2.mjs → api-key-management-detail-NRGL7HHX.mjs} +1 -1
- package/dist/app.css +0 -8
- package/dist/app.js +197 -198
- package/dist/app.mjs +2 -2
- package/dist/{campaign-detail-RT3BIGQA.mjs → campaign-detail-22Q6XWGL.mjs} +1 -1
- package/dist/{categories-metadata-QHA62GA3.mjs → categories-metadata-J7M3XWI7.mjs} +1 -1
- package/dist/{category-detail-TDB4GR5S.mjs → category-detail-RRKJPMEG.mjs} +2 -2
- package/dist/{category-products-KRSKJDWS.mjs → category-products-EFZRTCSF.mjs} +2 -2
- package/dist/{chunk-WJKYXU6P.mjs → chunk-DK7IWUMK.mjs} +1 -1
- package/dist/{chunk-7ESWXA2P.mjs → chunk-GRZSG4EP.mjs} +31 -9
- package/dist/{chunk-P5TFUYGS.mjs → chunk-O7WJSSQR.mjs} +104 -98
- package/dist/{chunk-7ZJK3NWL.mjs → chunk-OHY2N2Q4.mjs} +2 -2
- package/dist/{chunk-QCRM6BTM.mjs → chunk-PHLCT2HA.mjs} +1 -1
- package/dist/{chunk-6EFHOMPL.mjs → chunk-RL5EYTP6.mjs} +1 -1
- package/dist/{chunk-SKA4MWCK.mjs → chunk-YYOPBKME.mjs} +1 -1
- package/dist/{chunk-QBDKK5O4.mjs → chunk-ZMG5B4FG.mjs} +1 -1
- package/dist/{collection-add-products-4RJKJ7XJ.mjs → collection-add-products-XUMV6XR7.mjs} +2 -2
- package/dist/{collection-detail-IR23ZT2F.mjs → collection-detail-ONRBKJLN.mjs} +2 -2
- package/dist/{collection-list-J4OTLQQL.mjs → collection-list-XCC4SIPJ.mjs} +2 -2
- package/dist/{collection-metadata-6XWOWMBN.mjs → collection-metadata-QK7MI3D2.mjs} +1 -1
- package/dist/{customer-detail-ZHU4NN7E.mjs → customer-detail-FR6J37ZC.mjs} +1 -1
- package/dist/{customer-group-detail-NGJXBGGG.mjs → customer-group-detail-YSKSNETG.mjs} +1 -1
- package/dist/{customer-group-list-YLAMT3ZQ.mjs → customer-group-list-XBCD4FZH.mjs} +1 -1
- package/dist/{customers-add-customer-group-A2EPZW26.mjs → customers-add-customer-group-Q7FMR2Y5.mjs} +1 -1
- package/dist/{edit-rules-4UN6YMCZ.mjs → edit-rules-SMVRTCUP.mjs} +1 -1
- package/dist/en.json +3 -0
- package/dist/{inventory-create-UB3TTWPQ.mjs → inventory-create-3XONKYMZ.mjs} +1 -1
- package/dist/{inventory-detail-FIC7BFZ7.mjs → inventory-detail-6A6GOLB6.mjs} +1 -1
- package/dist/{inventory-metadata-WP73FZBX.mjs → inventory-metadata-FNEJ3RAT.mjs} +1 -1
- package/dist/{inventory-stock-RR4F6HGF.mjs → inventory-stock-S3ZYYCMZ.mjs} +1 -1
- package/dist/{location-detail-MLYCXNYR.mjs → location-detail-N3GUZSY7.mjs} +1 -1
- package/dist/{location-fulfillment-providers-CAAUD5VG.mjs → location-fulfillment-providers-WM6DT252.mjs} +2 -2
- package/dist/{location-service-zone-shipping-option-create-HHEGEBVB.mjs → location-service-zone-shipping-option-create-MJPH3WKX.mjs} +1 -1
- package/dist/{login-C7GZL37K.mjs → login-VNOLI5YG.mjs} +1 -1
- package/dist/{order-create-claim-2RQ4SFKM.mjs → order-create-claim-GUYTLVPB.mjs} +1 -1
- package/dist/{order-create-edit-JL7FWVNC.mjs → order-create-edit-ODIN6GRW.mjs} +1 -1
- package/dist/{order-create-exchange-7EPUMDFZ.mjs → order-create-exchange-ZT5RBRKL.mjs} +1 -1
- package/dist/{order-create-fulfillment-5PUUSLCV.mjs → order-create-fulfillment-OWUVTZXW.mjs} +1 -1
- package/dist/{order-create-refund-3NYCD4UR.mjs → order-create-refund-Q6HQY42R.mjs} +1 -1
- package/dist/{order-create-shipment-PWT3BPP6.mjs → order-create-shipment-WAGGEPRW.mjs} +1 -1
- package/dist/{order-detail-CN7VCKHF.mjs → order-detail-HFJONELJ.mjs} +1 -1
- package/dist/{order-edit-billing-address-PLAKMBVH.mjs → order-edit-billing-address-UM76J4KX.mjs} +1 -1
- package/dist/{order-edit-email-UAP26F5X.mjs → order-edit-email-CL3KNOCM.mjs} +1 -1
- package/dist/{order-edit-shipping-address-HAC7UQZS.mjs → order-edit-shipping-address-PIESTGVL.mjs} +1 -1
- package/dist/{order-export-ZI4QK6OQ.mjs → order-export-4MZUPMGD.mjs} +1 -1
- package/dist/{order-metadata-VQJWKPQC.mjs → order-metadata-FHBB7MTG.mjs} +1 -1
- package/dist/{order-receive-return-VTHRRRAB.mjs → order-receive-return-PRVKP6J2.mjs} +1 -1
- package/dist/{order-request-transfer-MCWICULW.mjs → order-request-transfer-XSAGRUMT.mjs} +1 -1
- package/dist/{price-list-create-KF4BTDBF.mjs → price-list-create-YHXRQSC3.mjs} +2 -2
- package/dist/{price-list-detail-UHJWBRBT.mjs → price-list-detail-FR3FQR3H.mjs} +2 -2
- package/dist/{price-list-prices-add-YHPWWETC.mjs → price-list-prices-add-GJVI47OY.mjs} +2 -2
- package/dist/{product-attributes-CCRPVPA3.mjs → product-attributes-QD3BWV5V.mjs} +2 -2
- package/dist/{product-create-TIJWWJEC.mjs → product-create-E2GZYQX4.mjs} +2 -2
- package/dist/{product-create-variant-EBVDKJA2.mjs → product-create-variant-KEBN5OR7.mjs} +1 -1
- package/dist/{product-detail-MFRDWD74.mjs → product-detail-QBGGKRZ2.mjs} +2 -2
- package/dist/{product-edit-VRUDQ3JT.mjs → product-edit-YP4KOQ4T.mjs} +2 -2
- package/dist/{product-export-DZKMXMUX.mjs → product-export-WUZYHPS5.mjs} +2 -2
- package/dist/{product-image-variants-edit-NN76FX7Y.mjs → product-image-variants-edit-Y363J5NG.mjs} +1 -1
- package/dist/{product-import-24JJ73RO.mjs → product-import-V3KQN4TV.mjs} +1 -1
- package/dist/{product-list-YMCK3X7X.mjs → product-list-DNTS7WUN.mjs} +2 -2
- package/dist/{product-metadata-KFBUYD7A.mjs → product-metadata-GL2MVPDI.mjs} +1 -1
- package/dist/{product-organization-BYRWH4KK.mjs → product-organization-H557PLLB.mjs} +2 -2
- package/dist/{product-stock-YEHDIJQI.mjs → product-stock-NYUFMEVG.mjs} +1 -1
- package/dist/{product-tag-create-BPU54Y3F.mjs → product-tag-create-PQMDDKWH.mjs} +1 -1
- package/dist/{product-tag-detail-SYQWG3AL.mjs → product-tag-detail-EHBB3WUB.mjs} +3 -3
- package/dist/{product-tag-edit-5XEMIUW6.mjs → product-tag-edit-K3BBQLJR.mjs} +1 -1
- package/dist/{product-tag-list-7SQNKPJQ.mjs → product-tag-list-LSW5FFVN.mjs} +3 -3
- package/dist/{product-tag-metadata-ZB56PD4G.mjs → product-tag-metadata-MJH5LH7E.mjs} +1 -1
- package/dist/{product-type-detail-RMYDLMPI.mjs → product-type-detail-3VB6AWUW.mjs} +2 -2
- package/dist/{product-type-metadata-UKF26V3N.mjs → product-type-metadata-CDJDFFGQ.mjs} +1 -1
- package/dist/{product-variant-detail-56MJKJZQ.mjs → product-variant-detail-43T33AQP.mjs} +1 -1
- package/dist/{product-variant-edit-PVZNSIIQ.mjs → product-variant-edit-DEZEY2H2.mjs} +1 -1
- package/dist/{product-variant-metadata-PNFRS7SQ.mjs → product-variant-metadata-VTZDNWUT.mjs} +1 -1
- package/dist/{promotion-create-RGLB6D7K.mjs → promotion-create-HWFNUQXG.mjs} +1 -1
- package/dist/{promotion-detail-MCCRIT2M.mjs → promotion-detail-VJB55PJK.mjs} +1 -1
- package/dist/{refund-reason-create-JYY2USGC.mjs → refund-reason-create-YHCDEHGQ.mjs} +1 -1
- package/dist/{refund-reason-edit-5NFS4TQ7.mjs → refund-reason-edit-CZ5QZ2SZ.mjs} +1 -1
- package/dist/{refund-reason-list-SDLJWAV3.mjs → refund-reason-list-URYYYEK6.mjs} +1 -1
- package/dist/{region-metadata-YBOCBHWP.mjs → region-metadata-H6XXUQ4S.mjs} +1 -1
- package/dist/{reservation-detail-7MXAMP3C.mjs → reservation-detail-LZAQL4XA.mjs} +1 -1
- package/dist/{reservation-metadata-6NZUP64D.mjs → reservation-metadata-5HZSDDOK.mjs} +1 -1
- package/dist/{sales-channel-add-products-BELGXDPF.mjs → sales-channel-add-products-VH5T3GDA.mjs} +2 -2
- package/dist/{sales-channel-detail-FAGKAQK2.mjs → sales-channel-detail-I2ZHVXMG.mjs} +2 -2
- package/dist/{sales-channel-list-E5QO23E5.mjs → sales-channel-list-3FV4S2NN.mjs} +1 -1
- package/dist/{sales-channel-metadata-AXAQY4MY.mjs → sales-channel-metadata-M364R4RJ.mjs} +1 -1
- package/dist/{shipping-option-type-create-YTBF47L7.mjs → shipping-option-type-create-C5WUWON7.mjs} +1 -1
- package/dist/{shipping-option-type-detail-XJFVNP2V.mjs → shipping-option-type-detail-PENS2K73.mjs} +2 -2
- package/dist/{shipping-option-type-edit-DFXO32AG.mjs → shipping-option-type-edit-CIU5EHRP.mjs} +1 -1
- package/dist/{shipping-option-type-list-UI7ZTCO7.mjs → shipping-option-type-list-ZMZMXFME.mjs} +2 -2
- package/dist/{shipping-profile-metadata-FGZRQKNN.mjs → shipping-profile-metadata-75G2NNMA.mjs} +1 -1
- package/dist/{store-add-locales-3MSEBHQG.mjs → store-add-locales-IZOZP5C6.mjs} +1 -1
- package/dist/{store-detail-MLYFQGBC.mjs → store-detail-4IBAEVSD.mjs} +1 -1
- package/dist/{store-metadata-ITA6AL6H.mjs → store-metadata-CYXTVJUE.mjs} +1 -1
- package/dist/{tax-region-create-AXM2SE4T.mjs → tax-region-create-DWGL4EUT.mjs} +1 -1
- package/dist/{tax-region-detail-WFXSRH3U.mjs → tax-region-detail-O2T7BI3V.mjs} +5 -5
- package/dist/{tax-region-edit-CZ4EDU4K.mjs → tax-region-edit-EEVEEU2Q.mjs} +1 -1
- package/dist/{tax-region-province-detail-4B5GWCY7.mjs → tax-region-province-detail-2W7RXAM5.mjs} +5 -5
- package/dist/{tax-region-tax-override-create-GDDSUSHK.mjs → tax-region-tax-override-create-7IM4ZVPH.mjs} +3 -3
- package/dist/{tax-region-tax-override-edit-QXCSGDVG.mjs → tax-region-tax-override-edit-3ZT5IZYR.mjs} +4 -4
- package/dist/{translation-list-S4477JFR.mjs → translation-list-IAKEB7MY.mjs} +74 -85
- package/dist/{translations-edit-S3V7SSDA.mjs → translations-edit-QKLE4L5B.mjs} +27 -26
- package/dist/{user-metadata-SILGZHTG.mjs → user-metadata-2WPJOEJA.mjs} +1 -1
- package/dist/{workflow-execution-detail-GJTST4GO.mjs → workflow-execution-detail-H2AKEZJX.mjs} +1 -1
- package/package.json +9 -9
- package/src/hooks/api/translations.tsx +61 -31
- package/src/i18n/translations/$schema.json +12 -3
- package/src/i18n/translations/en.json +3 -0
- package/src/i18n/translations/es.json +3 -0
- package/src/routes/translations/translation-list/components/translation-list-section/translation-list-section.tsx +8 -10
- package/src/routes/translations/translation-list/components/translations-completion-section/translations-completion-section.tsx +16 -10
- package/src/routes/translations/translation-list/translation-list.tsx +71 -68
- package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +7 -2
- package/src/routes/translations/translations-edit/translations-edit.tsx +27 -12
- package/src/routes/translations/translations-edit/utils/index.ts +0 -1
- package/src/routes/translations/translations-edit/utils/reference-label-map.ts +0 -10
package/dist/app.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DashboardApp
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O7WJSSQR.mjs";
|
|
4
4
|
import "./chunk-2SSUH2HJ.mjs";
|
|
5
5
|
import "./chunk-ONB3JEHR.mjs";
|
|
6
6
|
import "./chunk-YCDDT44O.mjs";
|
|
@@ -19,7 +19,7 @@ import "./chunk-OC7BQLYI.mjs";
|
|
|
19
19
|
import "./chunk-S4DMV3ZT.mjs";
|
|
20
20
|
import "./chunk-SUYYSKCB.mjs";
|
|
21
21
|
import "./chunk-OBQI23QM.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-GRZSG4EP.mjs";
|
|
23
23
|
import "./chunk-I4OBEAOJ.mjs";
|
|
24
24
|
import "./chunk-HI6URQ7H.mjs";
|
|
25
25
|
import "./chunk-6CLQKVAU.mjs";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
import "./chunk-OC7BQLYI.mjs";
|
|
43
43
|
import "./chunk-S4DMV3ZT.mjs";
|
|
44
44
|
import "./chunk-SUYYSKCB.mjs";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-GRZSG4EP.mjs";
|
|
46
46
|
import "./chunk-I4OBEAOJ.mjs";
|
|
47
47
|
import "./chunk-HI6URQ7H.mjs";
|
|
48
48
|
import "./chunk-6CLQKVAU.mjs";
|
|
@@ -12,7 +12,7 @@ import "./chunk-LPEUYMRK.mjs";
|
|
|
12
12
|
import "./chunk-OC7BQLYI.mjs";
|
|
13
13
|
import "./chunk-S4DMV3ZT.mjs";
|
|
14
14
|
import "./chunk-OBQI23QM.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-GRZSG4EP.mjs";
|
|
16
16
|
import "./chunk-I4OBEAOJ.mjs";
|
|
17
17
|
import "./chunk-HI6URQ7H.mjs";
|
|
18
18
|
import "./chunk-6CLQKVAU.mjs";
|
|
@@ -26,7 +26,7 @@ import "./chunk-HQKGZADC.mjs";
|
|
|
26
26
|
import "./chunk-EMIHDNB7.mjs";
|
|
27
27
|
import {
|
|
28
28
|
useProductTableFilters
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YYOPBKME.mjs";
|
|
30
30
|
import {
|
|
31
31
|
useProductTableQuery
|
|
32
32
|
} from "./chunk-R65S6ZZV.mjs";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
import "./chunk-OC7BQLYI.mjs";
|
|
54
54
|
import "./chunk-S4DMV3ZT.mjs";
|
|
55
55
|
import "./chunk-SUYYSKCB.mjs";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-GRZSG4EP.mjs";
|
|
57
57
|
import "./chunk-I4OBEAOJ.mjs";
|
|
58
58
|
import "./chunk-HI6URQ7H.mjs";
|
|
59
59
|
import "./chunk-6CLQKVAU.mjs";
|
|
@@ -14,7 +14,7 @@ import "./chunk-HQKGZADC.mjs";
|
|
|
14
14
|
import "./chunk-EMIHDNB7.mjs";
|
|
15
15
|
import {
|
|
16
16
|
useProductTableFilters
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YYOPBKME.mjs";
|
|
18
18
|
import {
|
|
19
19
|
useProductTableQuery
|
|
20
20
|
} from "./chunk-R65S6ZZV.mjs";
|
|
@@ -35,7 +35,7 @@ import "./chunk-LPEUYMRK.mjs";
|
|
|
35
35
|
import "./chunk-S4DMV3ZT.mjs";
|
|
36
36
|
import "./chunk-SUYYSKCB.mjs";
|
|
37
37
|
import "./chunk-OBQI23QM.mjs";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-GRZSG4EP.mjs";
|
|
39
39
|
import "./chunk-I4OBEAOJ.mjs";
|
|
40
40
|
import "./chunk-HI6URQ7H.mjs";
|
|
41
41
|
import "./chunk-6CLQKVAU.mjs";
|
|
@@ -285,12 +285,19 @@ import {
|
|
|
285
285
|
} from "@tanstack/react-query";
|
|
286
286
|
var TRANSLATIONS_QUERY_KEY = "translations";
|
|
287
287
|
var translationsQueryKeys = queryKeysFactory(TRANSLATIONS_QUERY_KEY);
|
|
288
|
-
var
|
|
288
|
+
var TRANSLATION_SETTINGS_QUERY_KEY = "translation_settings";
|
|
289
|
+
var translationSettingsQueryKeys = queryKeysFactory(
|
|
290
|
+
TRANSLATION_SETTINGS_QUERY_KEY
|
|
291
|
+
);
|
|
292
|
+
var TRANSLATION_STATISTICS_QUERY_KEY = "translation_statistics";
|
|
293
|
+
var translationStatisticsQueryKeys = queryKeysFactory(
|
|
294
|
+
TRANSLATION_STATISTICS_QUERY_KEY
|
|
295
|
+
);
|
|
296
|
+
var useReferenceTranslations = (reference, translatableFields, referenceId, options) => {
|
|
289
297
|
const referenceHookMap = /* @__PURE__ */ new Map([
|
|
290
298
|
[
|
|
291
299
|
"product",
|
|
292
300
|
() => {
|
|
293
|
-
const translatableFields = ["title", "description"];
|
|
294
301
|
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
295
302
|
const { data: data2, ...rest2 } = useInfiniteProducts(
|
|
296
303
|
{ fields, id: referenceId ?? [] },
|
|
@@ -302,7 +309,6 @@ var useReferenceTranslations = (reference, referenceId, options) => {
|
|
|
302
309
|
data: {
|
|
303
310
|
translations: products?.flatMap((product) => product.translations ?? []) ?? [],
|
|
304
311
|
references: products ?? [],
|
|
305
|
-
translatableFields,
|
|
306
312
|
count: data2?.pages[0]?.count ?? 0
|
|
307
313
|
}
|
|
308
314
|
};
|
|
@@ -311,7 +317,6 @@ var useReferenceTranslations = (reference, referenceId, options) => {
|
|
|
311
317
|
[
|
|
312
318
|
"product_variant",
|
|
313
319
|
() => {
|
|
314
|
-
const translatableFields = ["title"];
|
|
315
320
|
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
316
321
|
const { data: data2, ...rest2 } = useInfiniteVariants(
|
|
317
322
|
{ id: referenceId ?? [], fields },
|
|
@@ -332,7 +337,6 @@ var useReferenceTranslations = (reference, referenceId, options) => {
|
|
|
332
337
|
[
|
|
333
338
|
"product_category",
|
|
334
339
|
() => {
|
|
335
|
-
const translatableFields = ["name", "description"];
|
|
336
340
|
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
337
341
|
const { data: data2, ...rest2 } = useInfiniteCategories(
|
|
338
342
|
{ id: referenceId ?? [], fields },
|
|
@@ -353,7 +357,6 @@ var useReferenceTranslations = (reference, referenceId, options) => {
|
|
|
353
357
|
[
|
|
354
358
|
"product_collection",
|
|
355
359
|
() => {
|
|
356
|
-
const translatableFields = ["title"];
|
|
357
360
|
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
358
361
|
const { data: data2, ...rest2 } = useInfiniteCollections(
|
|
359
362
|
{ id: referenceId ?? [], fields },
|
|
@@ -376,7 +379,6 @@ var useReferenceTranslations = (reference, referenceId, options) => {
|
|
|
376
379
|
[
|
|
377
380
|
"product_type",
|
|
378
381
|
() => {
|
|
379
|
-
const translatableFields = ["value"];
|
|
380
382
|
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
381
383
|
const { data: data2, ...rest2 } = useInfiniteProductTypes(
|
|
382
384
|
{ id: referenceId ?? [], fields },
|
|
@@ -397,7 +399,6 @@ var useReferenceTranslations = (reference, referenceId, options) => {
|
|
|
397
399
|
[
|
|
398
400
|
"product_tag",
|
|
399
401
|
() => {
|
|
400
|
-
const translatableFields = ["value"];
|
|
401
402
|
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
402
403
|
const { data: data2, ...rest2 } = useInfiniteProductTags(
|
|
403
404
|
{ id: referenceId ?? [], fields },
|
|
@@ -439,11 +440,30 @@ var useBatchTranslations = (reference, options) => {
|
|
|
439
440
|
queryClient.invalidateQueries({
|
|
440
441
|
queryKey: referenceInvalidationKeysMap.get(reference)
|
|
441
442
|
});
|
|
443
|
+
queryClient.invalidateQueries({
|
|
444
|
+
queryKey: translationStatisticsQueryKeys.lists()
|
|
445
|
+
});
|
|
442
446
|
options?.onSuccess?.(data, variables, context);
|
|
443
447
|
},
|
|
444
448
|
...options
|
|
445
449
|
});
|
|
446
450
|
};
|
|
451
|
+
var useTranslationSettings = (query, options) => {
|
|
452
|
+
const { data, ...rest } = useQuery6({
|
|
453
|
+
queryKey: translationSettingsQueryKeys.list(query),
|
|
454
|
+
queryFn: () => sdk.admin.translation.settings(query),
|
|
455
|
+
...options
|
|
456
|
+
});
|
|
457
|
+
return { ...data, ...rest };
|
|
458
|
+
};
|
|
459
|
+
var useTranslationStatistics = (query, options) => {
|
|
460
|
+
const { data, ...rest } = useQuery6({
|
|
461
|
+
queryKey: translationStatisticsQueryKeys.list(query),
|
|
462
|
+
queryFn: () => sdk.admin.translation.statistics(query),
|
|
463
|
+
...options
|
|
464
|
+
});
|
|
465
|
+
return { ...data, ...rest };
|
|
466
|
+
};
|
|
447
467
|
|
|
448
468
|
// src/hooks/api/fulfillment.tsx
|
|
449
469
|
import { useMutation as useMutation5 } from "@tanstack/react-query";
|
|
@@ -572,5 +592,7 @@ export {
|
|
|
572
592
|
useUpdateProductTag,
|
|
573
593
|
useDeleteProductTag,
|
|
574
594
|
useReferenceTranslations,
|
|
575
|
-
useBatchTranslations
|
|
595
|
+
useBatchTranslations,
|
|
596
|
+
useTranslationSettings,
|
|
597
|
+
useTranslationStatistics
|
|
576
598
|
};
|