@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
@@ -2,15 +2,15 @@
|
|
2
2
|
const Icons = require("@strapi/icons");
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
4
4
|
const strapiAdmin = require("@strapi/admin/strapi-admin");
|
5
|
-
const qs = require("qs");
|
6
|
-
const reactIntl = require("react-intl");
|
7
|
-
const reactRouterDom = require("react-router-dom");
|
8
5
|
const React = require("react");
|
9
6
|
const designSystem = require("@strapi/design-system");
|
7
|
+
const reactIntl = require("react-intl");
|
8
|
+
const reactRouterDom = require("react-router-dom");
|
10
9
|
const styledComponents = require("styled-components");
|
11
10
|
const yup = require("yup");
|
12
11
|
const pipe = require("lodash/fp/pipe");
|
13
12
|
const dateFns = require("date-fns");
|
13
|
+
const qs = require("qs");
|
14
14
|
const toolkit = require("@reduxjs/toolkit");
|
15
15
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
16
16
|
function _interopNamespace(e) {
|
@@ -70,42 +70,6 @@ const useInjectionZone = (area) => {
|
|
70
70
|
const [page, position] = area.split(".");
|
71
71
|
return contentManagerPlugin.getInjectedComponents(page, position);
|
72
72
|
};
|
73
|
-
const HistoryAction = ({ model, document }) => {
|
74
|
-
const { formatMessage } = reactIntl.useIntl();
|
75
|
-
const [{ query }] = strapiAdmin.useQueryParams();
|
76
|
-
const navigate = reactRouterDom.useNavigate();
|
77
|
-
const pluginsQueryParams = qs.stringify({ plugins: query.plugins }, { encode: false });
|
78
|
-
if (!window.strapi.features.isEnabled("cms-content-history")) {
|
79
|
-
return null;
|
80
|
-
}
|
81
|
-
return {
|
82
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(Icons.ClockCounterClockwise, {}),
|
83
|
-
label: formatMessage({
|
84
|
-
id: "content-manager.history.document-action",
|
85
|
-
defaultMessage: "Content History"
|
86
|
-
}),
|
87
|
-
onClick: () => navigate({ pathname: "history", search: pluginsQueryParams }),
|
88
|
-
disabled: (
|
89
|
-
/**
|
90
|
-
* The user is creating a new document.
|
91
|
-
* It hasn't been saved yet, so there's no history to go to
|
92
|
-
*/
|
93
|
-
!document || /**
|
94
|
-
* The document has been created but the current dimension has never been saved.
|
95
|
-
* For example, the user is creating a new locale in an existing document,
|
96
|
-
* so there's no history for the document in that locale
|
97
|
-
*/
|
98
|
-
!document.id || /**
|
99
|
-
* History is only available for content types created by the user.
|
100
|
-
* These have the `api::` prefix, as opposed to the ones created by Strapi or plugins,
|
101
|
-
* which start with `admin::` or `plugin::`
|
102
|
-
*/
|
103
|
-
!model.startsWith("api::")
|
104
|
-
),
|
105
|
-
position: "header"
|
106
|
-
};
|
107
|
-
};
|
108
|
-
HistoryAction.type = "history";
|
109
73
|
const ID = "id";
|
110
74
|
const CREATED_BY_ATTRIBUTE_NAME = "createdBy";
|
111
75
|
const UPDATED_BY_ATTRIBUTE_NAME = "updatedBy";
|
@@ -229,7 +193,12 @@ const documentApi = contentManagerApi.injectEndpoints({
|
|
229
193
|
params: query
|
230
194
|
}
|
231
195
|
}),
|
232
|
-
invalidatesTags: (_result,
|
196
|
+
invalidatesTags: (_result, error, { model }) => {
|
197
|
+
if (error) {
|
198
|
+
return [];
|
199
|
+
}
|
200
|
+
return [{ type: "Document", id: `${model}_LIST` }];
|
201
|
+
}
|
233
202
|
}),
|
234
203
|
cloneDocument: builder.mutation({
|
235
204
|
query: ({ model, sourceId, data, params }) => ({
|
@@ -1231,7 +1200,6 @@ const useDocumentActions = () => {
|
|
1231
1200
|
sourceId
|
1232
1201
|
});
|
1233
1202
|
if ("error" in res) {
|
1234
|
-
toggleNotification({ type: "danger", message: formatAPIError(res.error) });
|
1235
1203
|
return { error: res.error };
|
1236
1204
|
}
|
1237
1205
|
toggleNotification({
|
@@ -1312,7 +1280,7 @@ const useDocumentActions = () => {
|
|
1312
1280
|
};
|
1313
1281
|
};
|
1314
1282
|
const ProtectedHistoryPage = React.lazy(
|
1315
|
-
() => Promise.resolve().then(() => require("./History-
|
1283
|
+
() => Promise.resolve().then(() => require("./History-CSr8y9KM.js")).then((mod) => ({ default: mod.ProtectedHistoryPage }))
|
1316
1284
|
);
|
1317
1285
|
const routes$1 = [
|
1318
1286
|
{
|
@@ -1325,31 +1293,31 @@ const routes$1 = [
|
|
1325
1293
|
}
|
1326
1294
|
];
|
1327
1295
|
const ProtectedEditViewPage = React.lazy(
|
1328
|
-
() => Promise.resolve().then(() => require("./EditViewPage-
|
1296
|
+
() => Promise.resolve().then(() => require("./EditViewPage-DxKueadW.js")).then((mod) => ({ default: mod.ProtectedEditViewPage }))
|
1329
1297
|
);
|
1330
1298
|
const ProtectedListViewPage = React.lazy(
|
1331
|
-
() => Promise.resolve().then(() => require("./ListViewPage-
|
1299
|
+
() => Promise.resolve().then(() => require("./ListViewPage-DqAIb_ie.js")).then((mod) => ({ default: mod.ProtectedListViewPage }))
|
1332
1300
|
);
|
1333
1301
|
const ProtectedListConfiguration = React.lazy(
|
1334
|
-
() => Promise.resolve().then(() => require("./ListConfigurationPage-
|
1302
|
+
() => Promise.resolve().then(() => require("./ListConfigurationPage-DsmAQ3YM.js")).then((mod) => ({
|
1335
1303
|
default: mod.ProtectedListConfiguration
|
1336
1304
|
}))
|
1337
1305
|
);
|
1338
1306
|
const ProtectedEditConfigurationPage = React.lazy(
|
1339
|
-
() => Promise.resolve().then(() => require("./EditConfigurationPage-
|
1307
|
+
() => Promise.resolve().then(() => require("./EditConfigurationPage-QZl5zOz-.js")).then((mod) => ({
|
1340
1308
|
default: mod.ProtectedEditConfigurationPage
|
1341
1309
|
}))
|
1342
1310
|
);
|
1343
1311
|
const ProtectedComponentConfigurationPage = React.lazy(
|
1344
|
-
() => Promise.resolve().then(() => require("./ComponentConfigurationPage-
|
1312
|
+
() => Promise.resolve().then(() => require("./ComponentConfigurationPage-Bv-IXOYu.js")).then((mod) => ({
|
1345
1313
|
default: mod.ProtectedComponentConfigurationPage
|
1346
1314
|
}))
|
1347
1315
|
);
|
1348
1316
|
const NoPermissions = React.lazy(
|
1349
|
-
() => Promise.resolve().then(() => require("./NoPermissionsPage-
|
1317
|
+
() => Promise.resolve().then(() => require("./NoPermissionsPage-DObTkKmZ.js")).then((mod) => ({ default: mod.NoPermissions }))
|
1350
1318
|
);
|
1351
1319
|
const NoContentType = React.lazy(
|
1352
|
-
() => Promise.resolve().then(() => require("./NoContentTypePage-
|
1320
|
+
() => Promise.resolve().then(() => require("./NoContentTypePage-xjvn5XwY.js")).then((mod) => ({ default: mod.NoContentType }))
|
1353
1321
|
);
|
1354
1322
|
const CollectionTypePages = () => {
|
1355
1323
|
const { collectionType } = reactRouterDom.useParams();
|
@@ -1682,8 +1650,8 @@ const DocumentActionModal = ({
|
|
1682
1650
|
};
|
1683
1651
|
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Root, { open: isOpen, onOpenChange: handleClose, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Modal.Content, { children: [
|
1684
1652
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Title, { children: title }) }),
|
1685
|
-
|
1686
|
-
|
1653
|
+
typeof Content === "function" ? /* @__PURE__ */ jsxRuntime.jsx(Content, { onClose: handleClose }) : /* @__PURE__ */ jsxRuntime.jsx(designSystem.Modal.Body, { children: Content }),
|
1654
|
+
typeof Footer === "function" ? /* @__PURE__ */ jsxRuntime.jsx(Footer, { onClose: handleClose }) : Footer
|
1687
1655
|
] }) });
|
1688
1656
|
};
|
1689
1657
|
const PublishAction$1 = ({
|
@@ -1925,10 +1893,13 @@ const UpdateAction = ({
|
|
1925
1893
|
document
|
1926
1894
|
);
|
1927
1895
|
if ("data" in res) {
|
1928
|
-
navigate(
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1896
|
+
navigate(
|
1897
|
+
{
|
1898
|
+
pathname: `../${res.data.documentId}`,
|
1899
|
+
search: rawQuery
|
1900
|
+
},
|
1901
|
+
{ relative: "path" }
|
1902
|
+
);
|
1932
1903
|
} else if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
|
1933
1904
|
setErrors(formatValidationErrors(res.error));
|
1934
1905
|
}
|
@@ -1958,10 +1929,10 @@ const UpdateAction = ({
|
|
1958
1929
|
if ("data" in res && collectionType !== SINGLE_TYPES) {
|
1959
1930
|
navigate(
|
1960
1931
|
{
|
1961
|
-
pathname: `../${
|
1932
|
+
pathname: `../${res.data.documentId}`,
|
1962
1933
|
search: rawQuery
|
1963
1934
|
},
|
1964
|
-
{ replace: true }
|
1935
|
+
{ replace: true, relative: "path" }
|
1965
1936
|
);
|
1966
1937
|
} else if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
|
1967
1938
|
setErrors(formatValidationErrors(res.error));
|
@@ -2905,7 +2876,7 @@ const ConfirmBulkActionDialog = ({
|
|
2905
2876
|
endAction
|
2906
2877
|
}) => {
|
2907
2878
|
const { formatMessage } = reactIntl.useIntl();
|
2908
|
-
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Dialog.Root, {
|
2879
|
+
return /* @__PURE__ */ jsxRuntime.jsx(designSystem.Dialog.Root, { open: isOpen, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Dialog.Content, { children: [
|
2909
2880
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Dialog.Header, { children: formatMessage({
|
2910
2881
|
id: "app.components.ConfirmDialog.title",
|
2911
2882
|
defaultMessage: "Confirmation"
|
@@ -3696,8 +3667,7 @@ class ContentManagerPlugin {
|
|
3696
3667
|
documentActions = [
|
3697
3668
|
...DEFAULT_ACTIONS,
|
3698
3669
|
...DEFAULT_TABLE_ROW_ACTIONS,
|
3699
|
-
...DEFAULT_HEADER_ACTIONS
|
3700
|
-
HistoryAction
|
3670
|
+
...DEFAULT_HEADER_ACTIONS
|
3701
3671
|
];
|
3702
3672
|
editViewSidePanels = [ActionsPanel];
|
3703
3673
|
headerActions = [];
|
@@ -3786,6 +3756,52 @@ const getPrintableType = (value) => {
|
|
3786
3756
|
}
|
3787
3757
|
return nativeType;
|
3788
3758
|
};
|
3759
|
+
const HistoryAction = ({ model, document }) => {
|
3760
|
+
const { formatMessage } = reactIntl.useIntl();
|
3761
|
+
const [{ query }] = strapiAdmin.useQueryParams();
|
3762
|
+
const navigate = reactRouterDom.useNavigate();
|
3763
|
+
const pluginsQueryParams = qs.stringify({ plugins: query.plugins }, { encode: false });
|
3764
|
+
if (!window.strapi.features.isEnabled("cms-content-history")) {
|
3765
|
+
return null;
|
3766
|
+
}
|
3767
|
+
return {
|
3768
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(Icons.ClockCounterClockwise, {}),
|
3769
|
+
label: formatMessage({
|
3770
|
+
id: "content-manager.history.document-action",
|
3771
|
+
defaultMessage: "Content History"
|
3772
|
+
}),
|
3773
|
+
onClick: () => navigate({ pathname: "history", search: pluginsQueryParams }),
|
3774
|
+
disabled: (
|
3775
|
+
/**
|
3776
|
+
* The user is creating a new document.
|
3777
|
+
* It hasn't been saved yet, so there's no history to go to
|
3778
|
+
*/
|
3779
|
+
!document || /**
|
3780
|
+
* The document has been created but the current dimension has never been saved.
|
3781
|
+
* For example, the user is creating a new locale in an existing document,
|
3782
|
+
* so there's no history for the document in that locale
|
3783
|
+
*/
|
3784
|
+
!document.id || /**
|
3785
|
+
* History is only available for content types created by the user.
|
3786
|
+
* These have the `api::` prefix, as opposed to the ones created by Strapi or plugins,
|
3787
|
+
* which start with `admin::` or `plugin::`
|
3788
|
+
*/
|
3789
|
+
!model.startsWith("api::")
|
3790
|
+
),
|
3791
|
+
position: "header"
|
3792
|
+
};
|
3793
|
+
};
|
3794
|
+
HistoryAction.type = "history";
|
3795
|
+
const historyAdmin = {
|
3796
|
+
bootstrap(app) {
|
3797
|
+
const { addDocumentAction } = app.getPlugin("content-manager").apis;
|
3798
|
+
addDocumentAction((actions2) => {
|
3799
|
+
const indexOfDeleteAction = actions2.findIndex((action) => action.type === "delete");
|
3800
|
+
actions2.splice(indexOfDeleteAction, 0, HistoryAction);
|
3801
|
+
return actions2;
|
3802
|
+
});
|
3803
|
+
}
|
3804
|
+
};
|
3789
3805
|
const initialState = {
|
3790
3806
|
collectionTypeLinks: [],
|
3791
3807
|
components: [],
|
@@ -3841,7 +3857,7 @@ const index = {
|
|
3841
3857
|
app.router.addRoute({
|
3842
3858
|
path: "content-manager/*",
|
3843
3859
|
lazy: async () => {
|
3844
|
-
const { Layout } = await Promise.resolve().then(() => require("./layout-
|
3860
|
+
const { Layout } = await Promise.resolve().then(() => require("./layout-tVvbqota.js"));
|
3845
3861
|
return {
|
3846
3862
|
Component: Layout
|
3847
3863
|
};
|
@@ -3850,6 +3866,11 @@ const index = {
|
|
3850
3866
|
});
|
3851
3867
|
app.registerPlugin(cm.config);
|
3852
3868
|
},
|
3869
|
+
bootstrap(app) {
|
3870
|
+
if (typeof historyAdmin.bootstrap === "function") {
|
3871
|
+
historyAdmin.bootstrap(app);
|
3872
|
+
}
|
3873
|
+
},
|
3853
3874
|
async registerTrads({ locales }) {
|
3854
3875
|
const importedTrads = await Promise.all(
|
3855
3876
|
locales.map((locale) => {
|
@@ -3910,4 +3931,4 @@ exports.useGetAllDocumentsQuery = useGetAllDocumentsQuery;
|
|
3910
3931
|
exports.useGetContentTypeConfigurationQuery = useGetContentTypeConfigurationQuery;
|
3911
3932
|
exports.useGetInitialDataQuery = useGetInitialDataQuery;
|
3912
3933
|
exports.useUpdateContentTypeConfigurationMutation = useUpdateContentTypeConfigurationMutation;
|
3913
|
-
//# sourceMappingURL=index-
|
3934
|
+
//# sourceMappingURL=index-1zxclxo_.js.map
|