@strapi/content-manager 5.0.0-rc.0 → 5.0.0-rc.2
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/_chunks/{ComponentConfigurationPage-DVY3LwHo.js → ComponentConfigurationPage-Bv-IXOYu.js} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-DVY3LwHo.js.map → ComponentConfigurationPage-Bv-IXOYu.js.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-Dy9BQQ2V.mjs → ComponentConfigurationPage-BxJCkKZV.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-Dy9BQQ2V.mjs.map → ComponentConfigurationPage-BxJCkKZV.mjs.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-DbR8mWH5.mjs → EditConfigurationPage-BGwHNypQ.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-DbR8mWH5.mjs.map → EditConfigurationPage-BGwHNypQ.mjs.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-b6V7YHfo.js → EditConfigurationPage-QZl5zOz-.js} +3 -3
- package/dist/_chunks/{EditConfigurationPage-b6V7YHfo.js.map → EditConfigurationPage-QZl5zOz-.js.map} +1 -1
- package/dist/_chunks/{EditViewPage-CPrukwtO.mjs → EditViewPage-CtdtssrH.mjs} +3 -3
- package/dist/_chunks/{EditViewPage-CPrukwtO.mjs.map → EditViewPage-CtdtssrH.mjs.map} +1 -1
- package/dist/_chunks/{EditViewPage-DhttErmY.js → EditViewPage-DxKueadW.js} +3 -3
- package/dist/_chunks/{EditViewPage-DhttErmY.js.map → EditViewPage-DxKueadW.js.map} +1 -1
- package/dist/_chunks/{Field-CBRV4uan.js → Field-BPw8fE3W.js} +8 -8
- package/dist/_chunks/Field-BPw8fE3W.js.map +1 -0
- package/dist/_chunks/{Field-DrgIgQPw.mjs → Field-BU7_nR4F.mjs} +8 -8
- package/dist/_chunks/Field-BU7_nR4F.mjs.map +1 -0
- package/dist/_chunks/{Form-Bk3v7Frl.js → Form-DtvmbGdZ.js} +2 -2
- package/dist/_chunks/{Form-Bk3v7Frl.js.map → Form-DtvmbGdZ.js.map} +1 -1
- package/dist/_chunks/{Form-Dxk4txLJ.mjs → Form-ffghBTPI.mjs} +2 -2
- package/dist/_chunks/{Form-Dxk4txLJ.mjs.map → Form-ffghBTPI.mjs.map} +1 -1
- package/dist/_chunks/{History-xNH_9UuV.js → History-CSr8y9KM.js} +21 -11
- package/dist/_chunks/History-CSr8y9KM.js.map +1 -0
- package/dist/_chunks/{History-DSU-y4Hg.mjs → History-D6PRyNcx.mjs} +21 -11
- package/dist/_chunks/History-D6PRyNcx.mjs.map +1 -0
- package/dist/_chunks/{ListConfigurationPage-BWwZ-uMJ.mjs → ListConfigurationPage-BC9bCi9k.mjs} +2 -2
- package/dist/_chunks/{ListConfigurationPage-BWwZ-uMJ.mjs.map → ListConfigurationPage-BC9bCi9k.mjs.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-BCPzXk5W.js → ListConfigurationPage-DsmAQ3YM.js} +2 -2
- package/dist/_chunks/{ListConfigurationPage-BCPzXk5W.js.map → ListConfigurationPage-DsmAQ3YM.js.map} +1 -1
- package/dist/_chunks/{ListViewPage-D9UmehuA.mjs → ListViewPage-B1GyNqfn.mjs} +3 -3
- package/dist/_chunks/{ListViewPage-D9UmehuA.mjs.map → ListViewPage-B1GyNqfn.mjs.map} +1 -1
- package/dist/_chunks/{ListViewPage-ZIvstfvl.js → ListViewPage-DqAIb_ie.js} +3 -3
- package/dist/_chunks/{ListViewPage-ZIvstfvl.js.map → ListViewPage-DqAIb_ie.js.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-CstnyWv2.mjs → NoContentTypePage-CJ-HJriz.mjs} +2 -2
- package/dist/_chunks/{NoContentTypePage-CstnyWv2.mjs.map → NoContentTypePage-CJ-HJriz.mjs.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-h7FcuMjI.js → NoContentTypePage-xjvn5XwY.js} +2 -2
- package/dist/_chunks/{NoContentTypePage-h7FcuMjI.js.map → NoContentTypePage-xjvn5XwY.js.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-aFCCLbsf.mjs → NoPermissionsPage--afHbbbD.mjs} +2 -2
- package/dist/_chunks/{NoPermissionsPage-aFCCLbsf.mjs.map → NoPermissionsPage--afHbbbD.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-DofU68cO.js → NoPermissionsPage-DObTkKmZ.js} +2 -2
- package/dist/_chunks/{NoPermissionsPage-DofU68cO.js.map → NoPermissionsPage-DObTkKmZ.js.map} +1 -1
- package/dist/_chunks/{Relations-7v66IP7b.mjs → Relations-heq-nLGU.mjs} +3 -3
- package/dist/_chunks/{Relations-7v66IP7b.mjs.map → Relations-heq-nLGU.mjs.map} +1 -1
- package/dist/_chunks/{Relations-DAS_DKG5.js → Relations-t4Q0DpqW.js} +3 -3
- package/dist/_chunks/{Relations-DAS_DKG5.js.map → Relations-t4Q0DpqW.js.map} +1 -1
- package/dist/_chunks/{index-CAlLHIrI.js → index-1zxclxo_.js} +83 -62
- package/dist/_chunks/index-1zxclxo_.js.map +1 -0
- package/dist/_chunks/{index-DIQ7Io-l.mjs → index-BcQ8cRyl.mjs} +85 -64
- package/dist/_chunks/index-BcQ8cRyl.mjs.map +1 -0
- package/dist/_chunks/{layout-DHe2GdT4.mjs → layout-Jl9mJFJZ.mjs} +3 -3
- package/dist/_chunks/{layout-DHe2GdT4.mjs.map → layout-Jl9mJFJZ.mjs.map} +1 -1
- package/dist/_chunks/{layout-B1ZS-usI.js → layout-tVvbqota.js} +3 -3
- package/dist/_chunks/{layout-B1ZS-usI.js.map → layout-tVvbqota.js.map} +1 -1
- package/dist/_chunks/{relations-yXHkSG1Z.js → relations-CK2Jd0HM.js} +2 -2
- package/dist/_chunks/{relations-yXHkSG1Z.js.map → relations-CK2Jd0HM.js.map} +1 -1
- package/dist/_chunks/{relations-BUieBWhT.mjs → relations-f4Pv7Kgo.mjs} +2 -2
- package/dist/_chunks/{relations-BUieBWhT.mjs.map → relations-f4Pv7Kgo.mjs.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/history/index.d.ts +3 -0
- package/dist/admin/src/index.d.ts +1 -0
- package/dist/server/index.js +33 -28
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +33 -28
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/controllers/collection-types.d.ts.map +1 -1
- package/dist/server/src/controllers/uid.d.ts.map +1 -1
- package/dist/server/src/controllers/validation/dimensions.d.ts +4 -2
- package/dist/server/src/controllers/validation/dimensions.d.ts.map +1 -1
- package/dist/server/src/services/document-manager.d.ts.map +1 -1
- package/dist/server/src/services/utils/populate.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/_chunks/Field-CBRV4uan.js.map +0 -1
- package/dist/_chunks/Field-DrgIgQPw.mjs.map +0 -1
- package/dist/_chunks/History-DSU-y4Hg.mjs.map +0 -1
- package/dist/_chunks/History-xNH_9UuV.js.map +0 -1
- package/dist/_chunks/index-CAlLHIrI.js.map +0 -1
- package/dist/_chunks/index-DIQ7Io-l.mjs.map +0 -1
@@ -1,17 +1,17 @@
|
|
1
|
-
import {
|
1
|
+
import { CrossCircle, More, WarningCircle, ListPlus, Pencil, Trash, Check, CheckCircle, ArrowsCounterClockwise, ChevronRight, Duplicate, ClockCounterClockwise, Feather } from "@strapi/icons";
|
2
2
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
3
|
-
import { useStrapiApp,
|
4
|
-
import { stringify } from "qs";
|
5
|
-
import { useIntl } from "react-intl";
|
6
|
-
import { useNavigate, useParams, Navigate, useMatch, useLocation, Link, NavLink } from "react-router-dom";
|
3
|
+
import { useStrapiApp, createContext, useAuth, useRBAC, Page, adminApi, translatedErrors, useNotification, useAPIErrorHandler, getYupValidationErrors, useQueryParams, useTracking, useForm, BackButton, DescriptionComponentRenderer, useTable, Table } from "@strapi/admin/strapi-admin";
|
7
4
|
import * as React from "react";
|
8
5
|
import { lazy } from "react";
|
9
6
|
import { Button, Menu, VisuallyHidden, Flex, Box, Typography, Dialog, Modal, Radio, Status, SingleSelect, SingleSelectOption, Loader, IconButton, Tooltip, LinkButton } from "@strapi/design-system";
|
7
|
+
import { useIntl } from "react-intl";
|
8
|
+
import { useParams, Navigate, useNavigate, useMatch, useLocation, Link, NavLink } from "react-router-dom";
|
10
9
|
import { styled } from "styled-components";
|
11
10
|
import * as yup from "yup";
|
12
11
|
import { ValidationError } from "yup";
|
13
12
|
import pipe from "lodash/fp/pipe";
|
14
13
|
import { intervalToDuration, isPast } from "date-fns";
|
14
|
+
import { stringify } from "qs";
|
15
15
|
import { createSlice, combineReducers } from "@reduxjs/toolkit";
|
16
16
|
const __variableDynamicImportRuntimeHelper = (glob, path) => {
|
17
17
|
const v = glob[path];
|
@@ -49,42 +49,6 @@ const useInjectionZone = (area) => {
|
|
49
49
|
const [page, position] = area.split(".");
|
50
50
|
return contentManagerPlugin.getInjectedComponents(page, position);
|
51
51
|
};
|
52
|
-
const HistoryAction = ({ model, document }) => {
|
53
|
-
const { formatMessage } = useIntl();
|
54
|
-
const [{ query }] = useQueryParams();
|
55
|
-
const navigate = useNavigate();
|
56
|
-
const pluginsQueryParams = stringify({ plugins: query.plugins }, { encode: false });
|
57
|
-
if (!window.strapi.features.isEnabled("cms-content-history")) {
|
58
|
-
return null;
|
59
|
-
}
|
60
|
-
return {
|
61
|
-
icon: /* @__PURE__ */ jsx(ClockCounterClockwise, {}),
|
62
|
-
label: formatMessage({
|
63
|
-
id: "content-manager.history.document-action",
|
64
|
-
defaultMessage: "Content History"
|
65
|
-
}),
|
66
|
-
onClick: () => navigate({ pathname: "history", search: pluginsQueryParams }),
|
67
|
-
disabled: (
|
68
|
-
/**
|
69
|
-
* The user is creating a new document.
|
70
|
-
* It hasn't been saved yet, so there's no history to go to
|
71
|
-
*/
|
72
|
-
!document || /**
|
73
|
-
* The document has been created but the current dimension has never been saved.
|
74
|
-
* For example, the user is creating a new locale in an existing document,
|
75
|
-
* so there's no history for the document in that locale
|
76
|
-
*/
|
77
|
-
!document.id || /**
|
78
|
-
* History is only available for content types created by the user.
|
79
|
-
* These have the `api::` prefix, as opposed to the ones created by Strapi or plugins,
|
80
|
-
* which start with `admin::` or `plugin::`
|
81
|
-
*/
|
82
|
-
!model.startsWith("api::")
|
83
|
-
),
|
84
|
-
position: "header"
|
85
|
-
};
|
86
|
-
};
|
87
|
-
HistoryAction.type = "history";
|
88
52
|
const ID = "id";
|
89
53
|
const CREATED_BY_ATTRIBUTE_NAME = "createdBy";
|
90
54
|
const UPDATED_BY_ATTRIBUTE_NAME = "updatedBy";
|
@@ -208,7 +172,12 @@ const documentApi = contentManagerApi.injectEndpoints({
|
|
208
172
|
params: query
|
209
173
|
}
|
210
174
|
}),
|
211
|
-
invalidatesTags: (_result,
|
175
|
+
invalidatesTags: (_result, error, { model }) => {
|
176
|
+
if (error) {
|
177
|
+
return [];
|
178
|
+
}
|
179
|
+
return [{ type: "Document", id: `${model}_LIST` }];
|
180
|
+
}
|
212
181
|
}),
|
213
182
|
cloneDocument: builder.mutation({
|
214
183
|
query: ({ model, sourceId, data, params }) => ({
|
@@ -1210,7 +1179,6 @@ const useDocumentActions = () => {
|
|
1210
1179
|
sourceId
|
1211
1180
|
});
|
1212
1181
|
if ("error" in res) {
|
1213
|
-
toggleNotification({ type: "danger", message: formatAPIError(res.error) });
|
1214
1182
|
return { error: res.error };
|
1215
1183
|
}
|
1216
1184
|
toggleNotification({
|
@@ -1291,7 +1259,7 @@ const useDocumentActions = () => {
|
|
1291
1259
|
};
|
1292
1260
|
};
|
1293
1261
|
const ProtectedHistoryPage = lazy(
|
1294
|
-
() => import("./History-
|
1262
|
+
() => import("./History-D6PRyNcx.mjs").then((mod) => ({ default: mod.ProtectedHistoryPage }))
|
1295
1263
|
);
|
1296
1264
|
const routes$1 = [
|
1297
1265
|
{
|
@@ -1304,31 +1272,31 @@ const routes$1 = [
|
|
1304
1272
|
}
|
1305
1273
|
];
|
1306
1274
|
const ProtectedEditViewPage = lazy(
|
1307
|
-
() => import("./EditViewPage-
|
1275
|
+
() => import("./EditViewPage-CtdtssrH.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
|
1308
1276
|
);
|
1309
1277
|
const ProtectedListViewPage = lazy(
|
1310
|
-
() => import("./ListViewPage-
|
1278
|
+
() => import("./ListViewPage-B1GyNqfn.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
|
1311
1279
|
);
|
1312
1280
|
const ProtectedListConfiguration = lazy(
|
1313
|
-
() => import("./ListConfigurationPage-
|
1281
|
+
() => import("./ListConfigurationPage-BC9bCi9k.mjs").then((mod) => ({
|
1314
1282
|
default: mod.ProtectedListConfiguration
|
1315
1283
|
}))
|
1316
1284
|
);
|
1317
1285
|
const ProtectedEditConfigurationPage = lazy(
|
1318
|
-
() => import("./EditConfigurationPage-
|
1286
|
+
() => import("./EditConfigurationPage-BGwHNypQ.mjs").then((mod) => ({
|
1319
1287
|
default: mod.ProtectedEditConfigurationPage
|
1320
1288
|
}))
|
1321
1289
|
);
|
1322
1290
|
const ProtectedComponentConfigurationPage = lazy(
|
1323
|
-
() => import("./ComponentConfigurationPage-
|
1291
|
+
() => import("./ComponentConfigurationPage-BxJCkKZV.mjs").then((mod) => ({
|
1324
1292
|
default: mod.ProtectedComponentConfigurationPage
|
1325
1293
|
}))
|
1326
1294
|
);
|
1327
1295
|
const NoPermissions = lazy(
|
1328
|
-
() => import("./NoPermissionsPage
|
1296
|
+
() => import("./NoPermissionsPage--afHbbbD.mjs").then((mod) => ({ default: mod.NoPermissions }))
|
1329
1297
|
);
|
1330
1298
|
const NoContentType = lazy(
|
1331
|
-
() => import("./NoContentTypePage-
|
1299
|
+
() => import("./NoContentTypePage-CJ-HJriz.mjs").then((mod) => ({ default: mod.NoContentType }))
|
1332
1300
|
);
|
1333
1301
|
const CollectionTypePages = () => {
|
1334
1302
|
const { collectionType } = useParams();
|
@@ -1661,8 +1629,8 @@ const DocumentActionModal = ({
|
|
1661
1629
|
};
|
1662
1630
|
return /* @__PURE__ */ jsx(Modal.Root, { open: isOpen, onOpenChange: handleClose, children: /* @__PURE__ */ jsxs(Modal.Content, { children: [
|
1663
1631
|
/* @__PURE__ */ jsx(Modal.Header, { children: /* @__PURE__ */ jsx(Modal.Title, { children: title }) }),
|
1664
|
-
|
1665
|
-
|
1632
|
+
typeof Content === "function" ? /* @__PURE__ */ jsx(Content, { onClose: handleClose }) : /* @__PURE__ */ jsx(Modal.Body, { children: Content }),
|
1633
|
+
typeof Footer === "function" ? /* @__PURE__ */ jsx(Footer, { onClose: handleClose }) : Footer
|
1666
1634
|
] }) });
|
1667
1635
|
};
|
1668
1636
|
const PublishAction$1 = ({
|
@@ -1904,10 +1872,13 @@ const UpdateAction = ({
|
|
1904
1872
|
document
|
1905
1873
|
);
|
1906
1874
|
if ("data" in res) {
|
1907
|
-
navigate(
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1875
|
+
navigate(
|
1876
|
+
{
|
1877
|
+
pathname: `../${res.data.documentId}`,
|
1878
|
+
search: rawQuery
|
1879
|
+
},
|
1880
|
+
{ relative: "path" }
|
1881
|
+
);
|
1911
1882
|
} else if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
|
1912
1883
|
setErrors(formatValidationErrors(res.error));
|
1913
1884
|
}
|
@@ -1937,10 +1908,10 @@ const UpdateAction = ({
|
|
1937
1908
|
if ("data" in res && collectionType !== SINGLE_TYPES) {
|
1938
1909
|
navigate(
|
1939
1910
|
{
|
1940
|
-
pathname: `../${
|
1911
|
+
pathname: `../${res.data.documentId}`,
|
1941
1912
|
search: rawQuery
|
1942
1913
|
},
|
1943
|
-
{ replace: true }
|
1914
|
+
{ replace: true, relative: "path" }
|
1944
1915
|
);
|
1945
1916
|
} else if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
|
1946
1917
|
setErrors(formatValidationErrors(res.error));
|
@@ -2884,7 +2855,7 @@ const ConfirmBulkActionDialog = ({
|
|
2884
2855
|
endAction
|
2885
2856
|
}) => {
|
2886
2857
|
const { formatMessage } = useIntl();
|
2887
|
-
return /* @__PURE__ */ jsx(Dialog.Root, {
|
2858
|
+
return /* @__PURE__ */ jsx(Dialog.Root, { open: isOpen, children: /* @__PURE__ */ jsxs(Dialog.Content, { children: [
|
2888
2859
|
/* @__PURE__ */ jsx(Dialog.Header, { children: formatMessage({
|
2889
2860
|
id: "app.components.ConfirmDialog.title",
|
2890
2861
|
defaultMessage: "Confirmation"
|
@@ -3675,8 +3646,7 @@ class ContentManagerPlugin {
|
|
3675
3646
|
documentActions = [
|
3676
3647
|
...DEFAULT_ACTIONS,
|
3677
3648
|
...DEFAULT_TABLE_ROW_ACTIONS,
|
3678
|
-
...DEFAULT_HEADER_ACTIONS
|
3679
|
-
HistoryAction
|
3649
|
+
...DEFAULT_HEADER_ACTIONS
|
3680
3650
|
];
|
3681
3651
|
editViewSidePanels = [ActionsPanel];
|
3682
3652
|
headerActions = [];
|
@@ -3765,6 +3735,52 @@ const getPrintableType = (value) => {
|
|
3765
3735
|
}
|
3766
3736
|
return nativeType;
|
3767
3737
|
};
|
3738
|
+
const HistoryAction = ({ model, document }) => {
|
3739
|
+
const { formatMessage } = useIntl();
|
3740
|
+
const [{ query }] = useQueryParams();
|
3741
|
+
const navigate = useNavigate();
|
3742
|
+
const pluginsQueryParams = stringify({ plugins: query.plugins }, { encode: false });
|
3743
|
+
if (!window.strapi.features.isEnabled("cms-content-history")) {
|
3744
|
+
return null;
|
3745
|
+
}
|
3746
|
+
return {
|
3747
|
+
icon: /* @__PURE__ */ jsx(ClockCounterClockwise, {}),
|
3748
|
+
label: formatMessage({
|
3749
|
+
id: "content-manager.history.document-action",
|
3750
|
+
defaultMessage: "Content History"
|
3751
|
+
}),
|
3752
|
+
onClick: () => navigate({ pathname: "history", search: pluginsQueryParams }),
|
3753
|
+
disabled: (
|
3754
|
+
/**
|
3755
|
+
* The user is creating a new document.
|
3756
|
+
* It hasn't been saved yet, so there's no history to go to
|
3757
|
+
*/
|
3758
|
+
!document || /**
|
3759
|
+
* The document has been created but the current dimension has never been saved.
|
3760
|
+
* For example, the user is creating a new locale in an existing document,
|
3761
|
+
* so there's no history for the document in that locale
|
3762
|
+
*/
|
3763
|
+
!document.id || /**
|
3764
|
+
* History is only available for content types created by the user.
|
3765
|
+
* These have the `api::` prefix, as opposed to the ones created by Strapi or plugins,
|
3766
|
+
* which start with `admin::` or `plugin::`
|
3767
|
+
*/
|
3768
|
+
!model.startsWith("api::")
|
3769
|
+
),
|
3770
|
+
position: "header"
|
3771
|
+
};
|
3772
|
+
};
|
3773
|
+
HistoryAction.type = "history";
|
3774
|
+
const historyAdmin = {
|
3775
|
+
bootstrap(app) {
|
3776
|
+
const { addDocumentAction } = app.getPlugin("content-manager").apis;
|
3777
|
+
addDocumentAction((actions2) => {
|
3778
|
+
const indexOfDeleteAction = actions2.findIndex((action) => action.type === "delete");
|
3779
|
+
actions2.splice(indexOfDeleteAction, 0, HistoryAction);
|
3780
|
+
return actions2;
|
3781
|
+
});
|
3782
|
+
}
|
3783
|
+
};
|
3768
3784
|
const initialState = {
|
3769
3785
|
collectionTypeLinks: [],
|
3770
3786
|
components: [],
|
@@ -3820,7 +3836,7 @@ const index = {
|
|
3820
3836
|
app.router.addRoute({
|
3821
3837
|
path: "content-manager/*",
|
3822
3838
|
lazy: async () => {
|
3823
|
-
const { Layout } = await import("./layout-
|
3839
|
+
const { Layout } = await import("./layout-Jl9mJFJZ.mjs");
|
3824
3840
|
return {
|
3825
3841
|
Component: Layout
|
3826
3842
|
};
|
@@ -3829,6 +3845,11 @@ const index = {
|
|
3829
3845
|
});
|
3830
3846
|
app.registerPlugin(cm.config);
|
3831
3847
|
},
|
3848
|
+
bootstrap(app) {
|
3849
|
+
if (typeof historyAdmin.bootstrap === "function") {
|
3850
|
+
historyAdmin.bootstrap(app);
|
3851
|
+
}
|
3852
|
+
},
|
3832
3853
|
async registerTrads({ locales }) {
|
3833
3854
|
const importedTrads = await Promise.all(
|
3834
3855
|
locales.map((locale) => {
|
@@ -3891,4 +3912,4 @@ export {
|
|
3891
3912
|
useUpdateContentTypeConfigurationMutation as y,
|
3892
3913
|
extractContentTypeComponents as z
|
3893
3914
|
};
|
3894
|
-
//# sourceMappingURL=index-
|
3915
|
+
//# sourceMappingURL=index-BcQ8cRyl.mjs.map
|