@strapi/admin 5.0.0-alpha.0 → 5.0.0-alpha.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/{AdminSeatInfo-YaA1q_2d.js → AdminSeatInfo-JtsYpBbO.js} +3 -3
- package/dist/_chunks/{AdminSeatInfo-YaA1q_2d.js.map → AdminSeatInfo-JtsYpBbO.js.map} +1 -1
- package/dist/_chunks/{AdminSeatInfo-l78lfIiY.mjs → AdminSeatInfo-ZZsKxX-S.mjs} +3 -3
- package/dist/_chunks/{AdminSeatInfo-l78lfIiY.mjs.map → AdminSeatInfo-ZZsKxX-S.mjs.map} +1 -1
- package/dist/_chunks/{ApplicationInfoPage-Zn5JU2zd.mjs → ApplicationInfoPage-NhhWzHF1.mjs} +7 -8
- package/dist/_chunks/ApplicationInfoPage-NhhWzHF1.mjs.map +1 -0
- package/dist/_chunks/{ApplicationInfoPage-PHLA1Ysy.js → ApplicationInfoPage-xj1SCaSR.js} +5 -6
- package/dist/_chunks/ApplicationInfoPage-xj1SCaSR.js.map +1 -0
- package/dist/_chunks/{AuthResponse-1aYRF7_3.mjs → AuthResponse-jIqWZLMh.mjs} +2 -2
- package/dist/_chunks/{AuthResponse-1aYRF7_3.mjs.map → AuthResponse-jIqWZLMh.mjs.map} +1 -1
- package/dist/_chunks/{AuthResponse-7NG3smr6.js → AuthResponse-maUe9KWA.js} +2 -2
- package/dist/_chunks/{AuthResponse-7NG3smr6.js.map → AuthResponse-maUe9KWA.js.map} +1 -1
- package/dist/_chunks/{AuthenticatedLayout-a7KNOdln.mjs → AuthenticatedLayout-Ffy6uoNF.mjs} +22 -15
- package/dist/_chunks/{AuthenticatedLayout-a7KNOdln.mjs.map → AuthenticatedLayout-Ffy6uoNF.mjs.map} +1 -1
- package/dist/_chunks/{AuthenticatedLayout-5r4rzKeb.js → AuthenticatedLayout-kxORHKAl.js} +22 -15
- package/dist/_chunks/{AuthenticatedLayout-5r4rzKeb.js.map → AuthenticatedLayout-kxORHKAl.js.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-R3qV_iCR.js → ComponentConfigurationPage-JMCc1P7r.js} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-R3qV_iCR.js.map → ComponentConfigurationPage-JMCc1P7r.js.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-pb8HhFAg.mjs → ComponentConfigurationPage-oiBCHXQO.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-pb8HhFAg.mjs.map → ComponentConfigurationPage-oiBCHXQO.mjs.map} +1 -1
- package/dist/_chunks/{CreateActionEE-a2zWCIpQ.js → CreateActionEE-ThopeFZP.js} +2 -2
- package/dist/_chunks/{CreateActionEE-a2zWCIpQ.js.map → CreateActionEE-ThopeFZP.js.map} +1 -1
- package/dist/_chunks/{CreateActionEE-hb4Pr-SD.mjs → CreateActionEE-VMKfXSGW.mjs} +2 -2
- package/dist/_chunks/{CreateActionEE-hb4Pr-SD.mjs.map → CreateActionEE-VMKfXSGW.mjs.map} +1 -1
- package/dist/_chunks/{CreatePage-Bil0egZ1.mjs → CreatePage-6AeIanOF.mjs} +7 -7
- package/dist/_chunks/{CreatePage-Bil0egZ1.mjs.map → CreatePage-6AeIanOF.mjs.map} +1 -1
- package/dist/_chunks/{CreatePage-h5L6QP47.mjs → CreatePage-Gh5xb10f.mjs} +3 -3
- package/dist/_chunks/{CreatePage-h5L6QP47.mjs.map → CreatePage-Gh5xb10f.mjs.map} +1 -1
- package/dist/_chunks/{CreatePage-MAI6XyNg.js → CreatePage-JIHfFWS7.js} +3 -3
- package/dist/_chunks/{CreatePage-MAI6XyNg.js.map → CreatePage-JIHfFWS7.js.map} +1 -1
- package/dist/_chunks/{CreatePage-nl6zKkKT.js → CreatePage-WWKaoNH7.js} +7 -7
- package/dist/_chunks/{CreatePage-nl6zKkKT.js.map → CreatePage-WWKaoNH7.js.map} +1 -1
- package/dist/_chunks/{CreatePage-UC4uBFUR.mjs → CreatePage-hxFhldpL.mjs} +3 -3
- package/dist/_chunks/{CreatePage-UC4uBFUR.mjs.map → CreatePage-hxFhldpL.mjs.map} +1 -1
- package/dist/_chunks/{CreatePage-NSKUL8l4.js → CreatePage-yjmy0z57.js} +3 -3
- package/dist/_chunks/{CreatePage-NSKUL8l4.js.map → CreatePage-yjmy0z57.js.map} +1 -1
- package/dist/_chunks/{CreateView-kc0iM0LS.js → CreateView-J48m0lSL.js} +3 -3
- package/dist/_chunks/{CreateView-kc0iM0LS.js.map → CreateView-J48m0lSL.js.map} +1 -1
- package/dist/_chunks/{CreateView-3DMhoCPN.js → CreateView-Vqd1PVrJ.js} +3 -3
- package/dist/_chunks/{CreateView-3DMhoCPN.js.map → CreateView-Vqd1PVrJ.js.map} +1 -1
- package/dist/_chunks/{CreateView-RVrFxAFt.mjs → CreateView-oBp0NzJx.mjs} +3 -3
- package/dist/_chunks/{CreateView-RVrFxAFt.mjs.map → CreateView-oBp0NzJx.mjs.map} +1 -1
- package/dist/_chunks/{CreateView-DuSt3AcE.mjs → CreateView-qzpeDBvR.mjs} +3 -3
- package/dist/_chunks/{CreateView-DuSt3AcE.mjs.map → CreateView-qzpeDBvR.mjs.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-y_TvxjZM.mjs → EditConfigurationPage-MAUfMzG6.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-y_TvxjZM.mjs.map → EditConfigurationPage-MAUfMzG6.mjs.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-OpEZOvAG.js → EditConfigurationPage-PKHUVKGD.js} +3 -3
- package/dist/_chunks/{EditConfigurationPage-OpEZOvAG.js.map → EditConfigurationPage-PKHUVKGD.js.map} +1 -1
- package/dist/_chunks/{EditPage-9aK8IFXY.js → EditPage-7bVupT7n.js} +8 -8
- package/dist/_chunks/{EditPage-9aK8IFXY.js.map → EditPage-7bVupT7n.js.map} +1 -1
- package/dist/_chunks/{EditPage-VoRR5DCQ.mjs → EditPage-DQUZsl8H.mjs} +9 -10
- package/dist/_chunks/EditPage-DQUZsl8H.mjs.map +1 -0
- package/dist/_chunks/{EditPage-PpBP7TBo.js → EditPage-Hxt5uBXk.js} +4 -4
- package/dist/_chunks/{EditPage-PpBP7TBo.js.map → EditPage-Hxt5uBXk.js.map} +1 -1
- package/dist/_chunks/{EditPage-fDVAYmuS.mjs → EditPage-Izmz7bdh.mjs} +8 -8
- package/dist/_chunks/{EditPage-fDVAYmuS.mjs.map → EditPage-Izmz7bdh.mjs.map} +1 -1
- package/dist/_chunks/{EditPage-A6olBfVm.js → EditPage-QA0-S3kV.js} +7 -8
- package/dist/_chunks/EditPage-QA0-S3kV.js.map +1 -0
- package/dist/_chunks/{EditPage-_swY0Hy-.mjs → EditPage-THSaM4-0.mjs} +4 -4
- package/dist/_chunks/{EditPage-_swY0Hy-.mjs.map → EditPage-THSaM4-0.mjs.map} +1 -1
- package/dist/_chunks/{EditPage-QoDSqYYq.js → EditPage-vUQIn3OJ.js} +5 -5
- package/dist/_chunks/{EditPage-QoDSqYYq.js.map → EditPage-vUQIn3OJ.js.map} +1 -1
- package/dist/_chunks/{EditPage-wfPrhkA7.mjs → EditPage-zpnfFOjc.mjs} +5 -5
- package/dist/_chunks/{EditPage-wfPrhkA7.mjs.map → EditPage-zpnfFOjc.mjs.map} +1 -1
- package/dist/_chunks/{EditView-C_ynfmtW.js → EditView-63ynF0vf.js} +5 -6
- package/dist/_chunks/EditView-63ynF0vf.js.map +1 -0
- package/dist/_chunks/{EditView-EuUw_2zc.mjs → EditView-cfOpTlAi.mjs} +7 -8
- package/dist/_chunks/EditView-cfOpTlAi.mjs.map +1 -0
- package/dist/_chunks/{EditViewPage-Z_e1dpbU.js → EditViewPage--SujdXIG.js} +5 -6
- package/dist/_chunks/EditViewPage--SujdXIG.js.map +1 -0
- package/dist/_chunks/{EditViewPage-xYzUSAwS.mjs → EditViewPage-JFzIJClS.mjs} +4 -5
- package/dist/_chunks/EditViewPage-JFzIJClS.mjs.map +1 -0
- package/dist/_chunks/{EditViewPage-XtJmgPi5.js → EditViewPage-kkCJlZyh.js} +6 -7
- package/dist/_chunks/EditViewPage-kkCJlZyh.js.map +1 -0
- package/dist/_chunks/{EditViewPage-8uPO5GWR.mjs → EditViewPage-vz8UJ4U_.mjs} +7 -8
- package/dist/_chunks/EditViewPage-vz8UJ4U_.mjs.map +1 -0
- package/dist/_chunks/{EventsTable-hI0aV29K.js → EventsTable-1X4uyY8J.js} +2 -2
- package/dist/_chunks/{EventsTable-hI0aV29K.js.map → EventsTable-1X4uyY8J.js.map} +1 -1
- package/dist/_chunks/{EventsTable-WP7PUujH.mjs → EventsTable-dN2MNNFu.mjs} +2 -2
- package/dist/_chunks/{EventsTable-WP7PUujH.mjs.map → EventsTable-dN2MNNFu.mjs.map} +1 -1
- package/dist/_chunks/{FieldTypeIcon-Is5Qjngf.mjs → FieldTypeIcon-4-UZzZla.mjs} +2 -2
- package/dist/_chunks/{FieldTypeIcon-Is5Qjngf.mjs.map → FieldTypeIcon-4-UZzZla.mjs.map} +1 -1
- package/dist/_chunks/{FieldTypeIcon-OeDSkshr.js → FieldTypeIcon-wxfhExw2.js} +2 -2
- package/dist/_chunks/{FieldTypeIcon-OeDSkshr.js.map → FieldTypeIcon-wxfhExw2.js.map} +1 -1
- package/dist/_chunks/{Filters-tMd2Q5jg.mjs → Filters--lh-i85A.mjs} +2 -3
- package/dist/_chunks/Filters--lh-i85A.mjs.map +1 -0
- package/dist/_chunks/{Filters-xVuf1kg6.js → Filters-V0VODaNk.js} +4 -5
- package/dist/_chunks/Filters-V0VODaNk.js.map +1 -0
- package/dist/_chunks/{Form-EiK_H9BI.js → Form-6QJjWK34.js} +3 -3
- package/dist/_chunks/{Form-EiK_H9BI.js.map → Form-6QJjWK34.js.map} +1 -1
- package/dist/_chunks/{Form-sZKjSFQC.mjs → Form-HXiNxSZi.mjs} +3 -3
- package/dist/_chunks/{Form-sZKjSFQC.mjs.map → Form-HXiNxSZi.mjs.map} +1 -1
- package/dist/_chunks/{History-1AF4LH3c.mjs → History-CRGqDfHr.mjs} +4 -5
- package/dist/_chunks/History-CRGqDfHr.mjs.map +1 -0
- package/dist/_chunks/{History-V_ik1IL0.js → History-R_4lEy01.js} +9 -10
- package/dist/_chunks/History-R_4lEy01.js.map +1 -0
- package/dist/_chunks/{HomePage-7Xva17wM.mjs → HomePage-GJRtRqAj.mjs} +3 -3
- package/dist/_chunks/{HomePage-7Xva17wM.mjs.map → HomePage-GJRtRqAj.mjs.map} +1 -1
- package/dist/_chunks/{HomePage-C6Ivli1q.mjs → HomePage-Si17pjt5.mjs} +4 -4
- package/dist/_chunks/{HomePage-C6Ivli1q.mjs.map → HomePage-Si17pjt5.mjs.map} +1 -1
- package/dist/_chunks/{HomePage-yrIp1-eG.js → HomePage-oiaJD-JE.js} +4 -4
- package/dist/_chunks/{HomePage-yrIp1-eG.js.map → HomePage-oiaJD-JE.js.map} +1 -1
- package/dist/_chunks/{HomePage-zL7HPV7A.js → HomePage-rEW7Jpww.js} +3 -3
- package/dist/_chunks/{HomePage-zL7HPV7A.js.map → HomePage-rEW7Jpww.js.map} +1 -1
- package/dist/_chunks/{InputRenderer-iP1kRki4.mjs → InputRenderer-JfwBoJk0.mjs} +23 -8
- package/dist/_chunks/InputRenderer-JfwBoJk0.mjs.map +1 -0
- package/dist/_chunks/{InputRenderer-RMnWnPI4.js → InputRenderer-hWILsDgK.js} +25 -10
- package/dist/_chunks/InputRenderer-hWILsDgK.js.map +1 -0
- package/dist/_chunks/{InstalledPluginsPage-7m_FfOGl.mjs → InstalledPluginsPage-XqzfeZgq.mjs} +5 -7
- package/dist/_chunks/InstalledPluginsPage-XqzfeZgq.mjs.map +1 -0
- package/dist/_chunks/{InstalledPluginsPage-PrMyistN.js → InstalledPluginsPage-ao6yYe7N.js} +4 -6
- package/dist/_chunks/InstalledPluginsPage-ao6yYe7N.js.map +1 -0
- package/dist/_chunks/{Layout-tDfvrUZo.mjs → Layout-2dctwEHz.mjs} +2 -2
- package/dist/_chunks/{Layout-tDfvrUZo.mjs.map → Layout-2dctwEHz.mjs.map} +1 -1
- package/dist/_chunks/{Layout-EDS3Yv8X.mjs → Layout-3sYAgWn4.mjs} +4 -4
- package/dist/_chunks/{Layout-EDS3Yv8X.mjs.map → Layout-3sYAgWn4.mjs.map} +1 -1
- package/dist/_chunks/{Layout-DC68R0Fa.js → Layout-4vMUN0Ez.js} +2 -2
- package/dist/_chunks/{Layout-DC68R0Fa.js.map → Layout-4vMUN0Ez.js.map} +1 -1
- package/dist/_chunks/{Layout-9Li8e-qi.js → Layout-kbqdKkiF.js} +4 -4
- package/dist/_chunks/{Layout-9Li8e-qi.js.map → Layout-kbqdKkiF.js.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-Gl8AA-2t.js → ListConfigurationPage-BXuW_9Wt.js} +3 -3
- package/dist/_chunks/{ListConfigurationPage-Gl8AA-2t.js.map → ListConfigurationPage-BXuW_9Wt.js.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-7O7HiJjG.mjs → ListConfigurationPage-lPILAPkW.mjs} +3 -3
- package/dist/_chunks/{ListConfigurationPage-7O7HiJjG.mjs.map → ListConfigurationPage-lPILAPkW.mjs.map} +1 -1
- package/dist/_chunks/{ListPage-_i7RNkUF.js → ListPage-02WM7Pt9.js} +6 -7
- package/dist/_chunks/ListPage-02WM7Pt9.js.map +1 -0
- package/dist/_chunks/{ListPage-em8KMoKx.js → ListPage-7TAp-q4k.js} +8 -9
- package/dist/_chunks/ListPage-7TAp-q4k.js.map +1 -0
- package/dist/_chunks/{ListPage-RlY1nro4.mjs → ListPage-EdOy02-v.mjs} +6 -7
- package/dist/_chunks/ListPage-EdOy02-v.mjs.map +1 -0
- package/dist/_chunks/{ListPage-1q5Fi4W9.mjs → ListPage-OaldiDCh.mjs} +50 -51
- package/dist/_chunks/ListPage-OaldiDCh.mjs.map +1 -0
- package/dist/_chunks/{ListPage-cBvO_gYR.mjs → ListPage-R8Qs69v7.mjs} +3 -3
- package/dist/_chunks/{ListPage-cBvO_gYR.mjs.map → ListPage-R8Qs69v7.mjs.map} +1 -1
- package/dist/_chunks/{ListPage-DZBRIMkE.mjs → ListPage-SCTNGhhO.mjs} +6 -7
- package/dist/_chunks/ListPage-SCTNGhhO.mjs.map +1 -0
- package/dist/_chunks/{ListPage-God7L19W.mjs → ListPage-YZ45BiMe.mjs} +10 -11
- package/dist/_chunks/ListPage-YZ45BiMe.mjs.map +1 -0
- package/dist/_chunks/{ListPage-skKuhRrN.js → ListPage-ZWUo77nT.js} +49 -49
- package/dist/_chunks/ListPage-ZWUo77nT.js.map +1 -0
- package/dist/_chunks/{ListPage-0eDZZ7Zw.js → ListPage-bE4a6YkV.js} +3 -3
- package/dist/_chunks/{ListPage-0eDZZ7Zw.js.map → ListPage-bE4a6YkV.js.map} +1 -1
- package/dist/_chunks/{ListPage-Ky2tG2bd.mjs → ListPage-p17R2Gql.mjs} +10 -14
- package/dist/_chunks/ListPage-p17R2Gql.mjs.map +1 -0
- package/dist/_chunks/{ListPage-NdzVJ_Ed.js → ListPage-rCVvOLlD.js} +9 -13
- package/dist/_chunks/ListPage-rCVvOLlD.js.map +1 -0
- package/dist/_chunks/{ListPage-aElBcYPH.js → ListPage-u6uVacPz.js} +4 -5
- package/dist/_chunks/ListPage-u6uVacPz.js.map +1 -0
- package/dist/_chunks/{ListView-hm-mjZ8N.mjs → ListView--O7X6dMw.mjs} +7 -8
- package/dist/_chunks/ListView--O7X6dMw.mjs.map +1 -0
- package/dist/_chunks/{ListView--mxDKrnG.js → ListView-SsUn5vcn.js} +5 -6
- package/dist/_chunks/ListView-SsUn5vcn.js.map +1 -0
- package/dist/_chunks/{ListView-vP-PjR4p.js → ListView-ZkjwQBXQ.js} +5 -6
- package/dist/_chunks/ListView-ZkjwQBXQ.js.map +1 -0
- package/dist/_chunks/{ListView-QEgFV6dm.mjs → ListView-oP-C8SCR.mjs} +7 -8
- package/dist/_chunks/ListView-oP-C8SCR.mjs.map +1 -0
- package/dist/_chunks/{ListViewPage-xOVa04T_.mjs → ListViewPage-1VNVP9Rw.mjs} +10 -11
- package/dist/_chunks/ListViewPage-1VNVP9Rw.mjs.map +1 -0
- package/dist/_chunks/{ListViewPage-NiwpwxBR.js → ListViewPage-idgrhBAP.js} +14 -15
- package/dist/_chunks/ListViewPage-idgrhBAP.js.map +1 -0
- package/dist/_chunks/{Login-0FtP5Ck_.js → Login-4Igrm6CC.js} +2 -2
- package/dist/_chunks/{Login-0FtP5Ck_.js.map → Login-4Igrm6CC.js.map} +1 -1
- package/dist/_chunks/{Login-IFCsIrab.mjs → Login-B55AM-7k.mjs} +2 -2
- package/dist/_chunks/{Login-IFCsIrab.mjs.map → Login-B55AM-7k.mjs.map} +1 -1
- package/dist/_chunks/{MagicLinkEE-eaU4kQ6o.mjs → MagicLinkEE-Zy_9ZZ7y.mjs} +3 -3
- package/dist/_chunks/{MagicLinkEE-eaU4kQ6o.mjs.map → MagicLinkEE-Zy_9ZZ7y.mjs.map} +1 -1
- package/dist/_chunks/{MagicLinkEE-S7dXBaH0.js → MagicLinkEE-v7xTuVEA.js} +3 -3
- package/dist/_chunks/{MagicLinkEE-S7dXBaH0.js.map → MagicLinkEE-v7xTuVEA.js.map} +1 -1
- package/dist/_chunks/{MarketplacePage-f0ZrC_p8.mjs → MarketplacePage-UGys0LVN.mjs} +3 -5
- package/dist/_chunks/MarketplacePage-UGys0LVN.mjs.map +1 -0
- package/dist/_chunks/{MarketplacePage-zSQ_GRnZ.js → MarketplacePage-tWKM5xe8.js} +5 -7
- package/dist/_chunks/MarketplacePage-tWKM5xe8.js.map +1 -0
- package/dist/_chunks/{NoContentTypePage-ER4yVLjV.mjs → NoContentTypePage-BaaTD5uB.mjs} +4 -6
- package/dist/_chunks/NoContentTypePage-BaaTD5uB.mjs.map +1 -0
- package/dist/_chunks/{NoContentTypePage-_XU8B8oQ.js → NoContentTypePage-Lbuve_Uu.js} +3 -5
- package/dist/_chunks/NoContentTypePage-Lbuve_Uu.js.map +1 -0
- package/dist/_chunks/{NoPermissionsPage-DcFRsCHz.mjs → NoPermissionsPage--Oa97N7k.mjs} +5 -7
- package/dist/_chunks/NoPermissionsPage--Oa97N7k.mjs.map +1 -0
- package/dist/_chunks/{NoPermissionsPage-5A4Hwjad.js → NoPermissionsPage-q44k5VFX.js} +3 -5
- package/dist/_chunks/NoPermissionsPage-q44k5VFX.js.map +1 -0
- package/dist/_chunks/{Permissions--rdF1ZKQ.js → Permissions-CFuwI0Ni.js} +2 -2
- package/dist/_chunks/{Permissions--rdF1ZKQ.js.map → Permissions-CFuwI0Ni.js.map} +1 -1
- package/dist/_chunks/{Permissions-Ke5fqSQ2.mjs → Permissions-NbmBkSB4.mjs} +2 -2
- package/dist/_chunks/{Permissions-Ke5fqSQ2.mjs.map → Permissions-NbmBkSB4.mjs.map} +1 -1
- package/dist/_chunks/{PrivateRoute-dWrZb-9J.mjs → PrivateRoute-YN_98pM_.mjs} +2 -2
- package/dist/_chunks/{PrivateRoute-dWrZb-9J.mjs.map → PrivateRoute-YN_98pM_.mjs.map} +1 -1
- package/dist/_chunks/{PrivateRoute-GLTcdbu8.js → PrivateRoute-avlq1MEy.js} +2 -2
- package/dist/_chunks/{PrivateRoute-GLTcdbu8.js.map → PrivateRoute-avlq1MEy.js.map} +1 -1
- package/dist/_chunks/{ProfilePage-EEcNKnGH.js → ProfilePage-brPbqDP1.js} +4 -6
- package/dist/_chunks/ProfilePage-brPbqDP1.js.map +1 -0
- package/dist/_chunks/{ProfilePage-bE7txhNu.mjs → ProfilePage-eCIvxxJY.mjs} +5 -7
- package/dist/_chunks/ProfilePage-eCIvxxJY.mjs.map +1 -0
- package/dist/_chunks/{ReviewWorkflowsColumn-hJRkAN5a.js → ReviewWorkflowsColumn-HfjzpLFU.js} +2 -2
- package/dist/_chunks/{ReviewWorkflowsColumn-hJRkAN5a.js.map → ReviewWorkflowsColumn-HfjzpLFU.js.map} +1 -1
- package/dist/_chunks/{ReviewWorkflowsColumn-FDxVKdto.mjs → ReviewWorkflowsColumn-sPZxvFUd.mjs} +2 -2
- package/dist/_chunks/{ReviewWorkflowsColumn-FDxVKdto.mjs.map → ReviewWorkflowsColumn-sPZxvFUd.mjs.map} +1 -1
- package/dist/_chunks/{SelectRoles-XK5HcBdP.js → SelectRoles-BmNzL0q5.js} +4 -5
- package/dist/_chunks/SelectRoles-BmNzL0q5.js.map +1 -0
- package/dist/_chunks/{SelectRoles-Iih1yeTu.mjs → SelectRoles-jvH4WUf6.mjs} +3 -4
- package/dist/_chunks/SelectRoles-jvH4WUf6.mjs.map +1 -0
- package/dist/_chunks/{SingleSignOnPage-uURRsIxP.js → SingleSignOnPage-ZyiHtZxJ.js} +4 -5
- package/dist/_chunks/SingleSignOnPage-ZyiHtZxJ.js.map +1 -0
- package/dist/_chunks/{SingleSignOnPage-vOeDxBfa.mjs → SingleSignOnPage-aMd3wcAh.mjs} +6 -7
- package/dist/_chunks/SingleSignOnPage-aMd3wcAh.mjs.map +1 -0
- package/dist/_chunks/{Table-k6gVR2KH.mjs → Table-591I_RMU.mjs} +2 -3
- package/dist/_chunks/Table-591I_RMU.mjs.map +1 -0
- package/dist/_chunks/{Table-VsNr4Mha.js → Table-aUfykqgd.js} +3 -4
- package/dist/_chunks/Table-aUfykqgd.js.map +1 -0
- package/dist/_chunks/{TokenTypeSelect-Z9iyoteG.mjs → TokenTypeSelect-vIBdBE9t.mjs} +2 -3
- package/dist/_chunks/TokenTypeSelect-vIBdBE9t.mjs.map +1 -0
- package/dist/_chunks/{TokenTypeSelect-QN_bDdss.js → TokenTypeSelect-vp-54yBv.js} +3 -4
- package/dist/_chunks/TokenTypeSelect-vp-54yBv.js.map +1 -0
- package/dist/_chunks/{UseCasePage-xAlTWOcX.js → UseCasePage-0_alQEc9.js} +3 -3
- package/dist/_chunks/{UseCasePage-xAlTWOcX.js.map → UseCasePage-0_alQEc9.js.map} +1 -1
- package/dist/_chunks/{UseCasePage-qJwKBweD.mjs → UseCasePage-Cxu2FeWo.mjs} +3 -3
- package/dist/_chunks/{UseCasePage-qJwKBweD.mjs.map → UseCasePage-Cxu2FeWo.mjs.map} +1 -1
- package/dist/_chunks/{apiTokens-b3w4qO8B.js → apiTokens-IG3rF-G2.js} +2 -2
- package/dist/_chunks/{apiTokens-b3w4qO8B.js.map → apiTokens-IG3rF-G2.js.map} +1 -1
- package/dist/_chunks/{apiTokens-dGGyJI-w.mjs → apiTokens-wLmJ3Liv.mjs} +2 -2
- package/dist/_chunks/{apiTokens-dGGyJI-w.mjs.map → apiTokens-wLmJ3Liv.mjs.map} +1 -1
- package/dist/_chunks/{constants-WjN6I3sL.mjs → constants-0OGkpIzK.mjs} +3 -3
- package/dist/_chunks/{constants-WjN6I3sL.mjs.map → constants-0OGkpIzK.mjs.map} +1 -1
- package/dist/_chunks/{constants-PHXhIuUs.js → constants-7yqqXq3r.js} +2 -2
- package/dist/_chunks/{constants-PHXhIuUs.js.map → constants-7yqqXq3r.js.map} +1 -1
- package/dist/_chunks/{constants-ruIkLWCb.mjs → constants-JgR8CVx2.mjs} +2 -2
- package/dist/_chunks/{constants-ruIkLWCb.mjs.map → constants-JgR8CVx2.mjs.map} +1 -1
- package/dist/_chunks/{constants-IZEgEoW9.js → constants-XJLrl2Tl.js} +3 -3
- package/dist/_chunks/{constants-IZEgEoW9.js.map → constants-XJLrl2Tl.js.map} +1 -1
- package/dist/_chunks/{index-5ZvCaCyY.mjs → index-GIVuHJgC.mjs} +347 -188
- package/dist/_chunks/index-GIVuHJgC.mjs.map +1 -0
- package/dist/_chunks/{index-ibtz273H.js → index-haHGOQMJ.js} +270 -110
- package/dist/_chunks/index-haHGOQMJ.js.map +1 -0
- package/dist/_chunks/{selectors-JBxTdRJK.mjs → selectors--2Vzk8PA.mjs} +2 -2
- package/dist/_chunks/{selectors-JBxTdRJK.mjs.map → selectors--2Vzk8PA.mjs.map} +1 -1
- package/dist/_chunks/{selectors-TFKI8arF.js → selectors-NSSzzIzx.js} +2 -2
- package/dist/_chunks/{selectors-TFKI8arF.js.map → selectors-NSSzzIzx.js.map} +1 -1
- package/dist/_chunks/{transferTokens-4KlyXDql.mjs → transferTokens-WIsWKVbF.mjs} +2 -2
- package/dist/_chunks/{transferTokens-4KlyXDql.mjs.map → transferTokens-WIsWKVbF.mjs.map} +1 -1
- package/dist/_chunks/{transferTokens-G-suI4pp.js → transferTokens-xL4mlopP.js} +2 -2
- package/dist/_chunks/{transferTokens-G-suI4pp.js.map → transferTokens-xL4mlopP.js.map} +1 -1
- package/dist/_chunks/{useAdminRoles-7_YWhmkQ.mjs → useAdminRoles--ozrdfW_.mjs} +2 -2
- package/dist/_chunks/{useAdminRoles-7_YWhmkQ.mjs.map → useAdminRoles--ozrdfW_.mjs.map} +1 -1
- package/dist/_chunks/{useAdminRoles-o4dxsCcY.js → useAdminRoles-Y25Pjlcy.js} +2 -2
- package/dist/_chunks/{useAdminRoles-o4dxsCcY.js.map → useAdminRoles-Y25Pjlcy.js.map} +1 -1
- package/dist/_chunks/{useContentTypes-dRoMxL8c.js → useContentTypes-Vr8jkHQL.js} +2 -2
- package/dist/_chunks/{useContentTypes-dRoMxL8c.js.map → useContentTypes-Vr8jkHQL.js.map} +1 -1
- package/dist/_chunks/{useContentTypes-x6OLbsWe.mjs → useContentTypes-ralhLmpD.mjs} +2 -2
- package/dist/_chunks/{useContentTypes-x6OLbsWe.mjs.map → useContentTypes-ralhLmpD.mjs.map} +1 -1
- package/dist/_chunks/{useLicenseLimitNotification-wzvrsJoL.mjs → useLicenseLimitNotification-RSTkqcfW.mjs} +2 -2
- package/dist/_chunks/{useLicenseLimitNotification-wzvrsJoL.mjs.map → useLicenseLimitNotification-RSTkqcfW.mjs.map} +1 -1
- package/dist/_chunks/{useLicenseLimitNotification-BaSsY40x.js → useLicenseLimitNotification-fSsffVh-.js} +2 -2
- package/dist/_chunks/{useLicenseLimitNotification-BaSsY40x.js.map → useLicenseLimitNotification-fSsffVh-.js.map} +1 -1
- package/dist/_chunks/{useReviewWorkflows-PAvhwNm3.mjs → useReviewWorkflows--7WPIykR.mjs} +2 -2
- package/dist/_chunks/{useReviewWorkflows-PAvhwNm3.mjs.map → useReviewWorkflows--7WPIykR.mjs.map} +1 -1
- package/dist/_chunks/{useReviewWorkflows-3SKYABe_.js → useReviewWorkflows-4t3eVbDa.js} +2 -2
- package/dist/_chunks/{useReviewWorkflows-3SKYABe_.js.map → useReviewWorkflows-4t3eVbDa.js.map} +1 -1
- package/dist/_chunks/{useSyncRbac-f7CCq_yt.js → useSyncRbac-Fw5UPeMQ.js} +2 -2
- package/dist/_chunks/{useSyncRbac-f7CCq_yt.js.map → useSyncRbac-Fw5UPeMQ.js.map} +1 -1
- package/dist/_chunks/{useSyncRbac-Kt8Li0Yf.mjs → useSyncRbac-JNQibLFa.mjs} +2 -2
- package/dist/_chunks/{useSyncRbac-Kt8Li0Yf.mjs.map → useSyncRbac-JNQibLFa.mjs.map} +1 -1
- package/dist/_chunks/{useWebhooks-Fhm21I_2.js → useWebhooks-IXb4Ks8E.js} +2 -2
- package/dist/_chunks/{useWebhooks-Fhm21I_2.js.map → useWebhooks-IXb4Ks8E.js.map} +1 -1
- package/dist/_chunks/{useWebhooks-6rWM4vzd.mjs → useWebhooks-sfNt0r3v.mjs} +2 -2
- package/dist/_chunks/{useWebhooks-6rWM4vzd.mjs.map → useWebhooks-sfNt0r3v.mjs.map} +1 -1
- package/dist/_chunks/{validateWorkflow-DlwU9a4N.mjs → validateWorkflow-YRBggwod.mjs} +2 -2
- package/dist/_chunks/{validateWorkflow-DlwU9a4N.mjs.map → validateWorkflow-YRBggwod.mjs.map} +1 -1
- package/dist/_chunks/{validateWorkflow-1g4fl4e7.js → validateWorkflow-akFNValJ.js} +2 -2
- package/dist/_chunks/{validateWorkflow-1g4fl4e7.js.map → validateWorkflow-akFNValJ.js.map} +1 -1
- package/dist/_chunks/{validation-NckIpCgz.js → validation--QPWqn0e.js} +2 -2
- package/dist/_chunks/{validation-NckIpCgz.js.map → validation--QPWqn0e.js.map} +1 -1
- package/dist/_chunks/{validation-aaWzg0nE.mjs → validation-hlioQ0PO.mjs} +2 -2
- package/dist/_chunks/{validation-aaWzg0nE.mjs.map → validation-hlioQ0PO.mjs.map} +1 -1
- package/dist/admin/index.js +4 -1
- package/dist/admin/index.js.map +1 -1
- package/dist/admin/index.mjs +21 -18
- package/dist/admin/src/components/PageHelpers.d.ts +6 -2
- package/dist/admin/src/content-manager/history/services/historyVersion.d.ts +1 -1
- package/dist/admin/src/content-manager/history/tests/mockData.d.ts +692 -0
- package/dist/admin/src/content-manager/history/tests/server.d.ts +3 -0
- package/dist/admin/src/content-manager/services/api.d.ts +1 -1
- package/dist/admin/src/content-manager/services/components.d.ts +2 -2
- package/dist/admin/src/content-manager/services/contentTypes.d.ts +3 -3
- package/dist/admin/src/content-manager/services/documents.d.ts +17 -20
- package/dist/admin/src/content-manager/services/init.d.ts +1 -1
- package/dist/admin/src/content-manager/services/relations.d.ts +2 -2
- package/dist/admin/src/content-manager/services/uid.d.ts +3 -3
- package/dist/admin/src/core/store/configure.d.ts +2 -2
- package/dist/admin/src/core/store/hooks.d.ts +3 -3
- package/dist/admin/src/hooks/useAPIErrorHandler.d.ts +2 -1
- package/dist/admin/src/hooks/useClipboard.d.ts +4 -0
- package/dist/admin/src/hooks/useFetchClient.d.ts +43 -0
- package/dist/admin/src/hooks/useFocusInputField.d.ts +20 -0
- package/dist/admin/src/hooks/useQueryParams.d.ts +5 -0
- package/dist/admin/src/index.d.ts +8 -6
- package/dist/admin/src/selectors.d.ts +2 -2
- package/dist/admin/src/utils/baseQuery.d.ts +1 -1
- package/dist/admin/src/utils/getFetchClient.d.ts +30 -0
- package/dist/admin/src/utils/normalizeAPIError.d.ts +2 -2
- package/dist/admin/tests/index.js +49173 -0
- package/dist/admin/tests/index.js.map +1 -0
- package/dist/admin/tests/index.mjs +49135 -0
- package/dist/admin/tests/index.mjs.map +1 -0
- package/dist/admin/tests/mockData.d.ts +2053 -0
- package/dist/admin/tests/server.d.ts +2 -0
- package/dist/admin/tests/setup.d.ts +1 -0
- package/dist/admin/tests/store.d.ts +468 -0
- package/dist/admin/tests/utils.d.ts +511 -0
- package/package.json +19 -12
- package/dist/_chunks/ApplicationInfoPage-PHLA1Ysy.js.map +0 -1
- package/dist/_chunks/ApplicationInfoPage-Zn5JU2zd.mjs.map +0 -1
- package/dist/_chunks/EditPage-A6olBfVm.js.map +0 -1
- package/dist/_chunks/EditPage-VoRR5DCQ.mjs.map +0 -1
- package/dist/_chunks/EditView-C_ynfmtW.js.map +0 -1
- package/dist/_chunks/EditView-EuUw_2zc.mjs.map +0 -1
- package/dist/_chunks/EditViewPage-8uPO5GWR.mjs.map +0 -1
- package/dist/_chunks/EditViewPage-XtJmgPi5.js.map +0 -1
- package/dist/_chunks/EditViewPage-Z_e1dpbU.js.map +0 -1
- package/dist/_chunks/EditViewPage-xYzUSAwS.mjs.map +0 -1
- package/dist/_chunks/Filters-tMd2Q5jg.mjs.map +0 -1
- package/dist/_chunks/Filters-xVuf1kg6.js.map +0 -1
- package/dist/_chunks/History-1AF4LH3c.mjs.map +0 -1
- package/dist/_chunks/History-V_ik1IL0.js.map +0 -1
- package/dist/_chunks/InputRenderer-RMnWnPI4.js.map +0 -1
- package/dist/_chunks/InputRenderer-iP1kRki4.mjs.map +0 -1
- package/dist/_chunks/InstalledPluginsPage-7m_FfOGl.mjs.map +0 -1
- package/dist/_chunks/InstalledPluginsPage-PrMyistN.js.map +0 -1
- package/dist/_chunks/ListPage-1q5Fi4W9.mjs.map +0 -1
- package/dist/_chunks/ListPage-DZBRIMkE.mjs.map +0 -1
- package/dist/_chunks/ListPage-God7L19W.mjs.map +0 -1
- package/dist/_chunks/ListPage-Ky2tG2bd.mjs.map +0 -1
- package/dist/_chunks/ListPage-NdzVJ_Ed.js.map +0 -1
- package/dist/_chunks/ListPage-RlY1nro4.mjs.map +0 -1
- package/dist/_chunks/ListPage-_i7RNkUF.js.map +0 -1
- package/dist/_chunks/ListPage-aElBcYPH.js.map +0 -1
- package/dist/_chunks/ListPage-em8KMoKx.js.map +0 -1
- package/dist/_chunks/ListPage-skKuhRrN.js.map +0 -1
- package/dist/_chunks/ListView--mxDKrnG.js.map +0 -1
- package/dist/_chunks/ListView-QEgFV6dm.mjs.map +0 -1
- package/dist/_chunks/ListView-hm-mjZ8N.mjs.map +0 -1
- package/dist/_chunks/ListView-vP-PjR4p.js.map +0 -1
- package/dist/_chunks/ListViewPage-NiwpwxBR.js.map +0 -1
- package/dist/_chunks/ListViewPage-xOVa04T_.mjs.map +0 -1
- package/dist/_chunks/MarketplacePage-f0ZrC_p8.mjs.map +0 -1
- package/dist/_chunks/MarketplacePage-zSQ_GRnZ.js.map +0 -1
- package/dist/_chunks/NoContentTypePage-ER4yVLjV.mjs.map +0 -1
- package/dist/_chunks/NoContentTypePage-_XU8B8oQ.js.map +0 -1
- package/dist/_chunks/NoPermissionsPage-5A4Hwjad.js.map +0 -1
- package/dist/_chunks/NoPermissionsPage-DcFRsCHz.mjs.map +0 -1
- package/dist/_chunks/ProfilePage-EEcNKnGH.js.map +0 -1
- package/dist/_chunks/ProfilePage-bE7txhNu.mjs.map +0 -1
- package/dist/_chunks/SelectRoles-Iih1yeTu.mjs.map +0 -1
- package/dist/_chunks/SelectRoles-XK5HcBdP.js.map +0 -1
- package/dist/_chunks/SingleSignOnPage-uURRsIxP.js.map +0 -1
- package/dist/_chunks/SingleSignOnPage-vOeDxBfa.mjs.map +0 -1
- package/dist/_chunks/Table-VsNr4Mha.js.map +0 -1
- package/dist/_chunks/Table-k6gVR2KH.mjs.map +0 -1
- package/dist/_chunks/TokenTypeSelect-QN_bDdss.js.map +0 -1
- package/dist/_chunks/TokenTypeSelect-Z9iyoteG.mjs.map +0 -1
- package/dist/_chunks/index-5ZvCaCyY.mjs.map +0 -1
- package/dist/_chunks/index-ibtz273H.js.map +0 -1
- package/dist/admin/src/types/errors.d.ts +0 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Contracts } from '@strapi/plugin-content-manager/_internal/shared';
|
|
2
|
-
declare const useGetComponentConfigurationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", {
|
|
2
|
+
declare const useGetComponentConfigurationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", {
|
|
3
3
|
component: Contracts.Components.ComponentConfiguration;
|
|
4
4
|
components: Record<string, Contracts.Components.ComponentConfiguration>;
|
|
5
|
-
}, "contentManagerApi">>, useUpdateComponentConfigurationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.Components.ComponentConfiguration, "contentManagerApi">>;
|
|
5
|
+
}, "contentManagerApi">>, useUpdateComponentConfigurationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.Components.ComponentConfiguration, "contentManagerApi">>;
|
|
6
6
|
export { useGetComponentConfigurationQuery, useUpdateComponentConfigurationMutation };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Contracts } from '@strapi/plugin-content-manager/_internal/shared';
|
|
2
|
-
declare const useGetContentTypeConfigurationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", {
|
|
2
|
+
declare const useGetContentTypeConfigurationQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", {
|
|
3
3
|
contentType: Contracts.ContentTypes.Configuration;
|
|
4
4
|
components: Record<string, Contracts.Components.ComponentConfiguration>;
|
|
5
|
-
}, "contentManagerApi">>, useGetAllContentTypeSettingsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", {
|
|
5
|
+
}, "contentManagerApi">>, useGetAllContentTypeSettingsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", {
|
|
6
6
|
uid: string;
|
|
7
7
|
settings: Contracts.ContentTypes.Settings;
|
|
8
8
|
}[], "contentManagerApi">>, useUpdateContentTypeConfigurationMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<{
|
|
@@ -11,7 +11,7 @@ declare const useGetContentTypeConfigurationQuery: import("@reduxjs/toolkit/dist
|
|
|
11
11
|
settings: Contracts.ContentTypes.Settings;
|
|
12
12
|
} & {
|
|
13
13
|
uid: string;
|
|
14
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", {
|
|
14
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", {
|
|
15
15
|
contentType: Contracts.ContentTypes.Configuration;
|
|
16
16
|
components: Record<string, Contracts.Components.ComponentConfiguration>;
|
|
17
17
|
}, "contentManagerApi">>;
|
|
@@ -4,24 +4,24 @@
|
|
|
4
4
|
import type { Contracts } from '@strapi/plugin-content-manager/_internal/shared';
|
|
5
5
|
declare const useAutoCloneDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Contracts.CollectionTypes.Clone.Params & {
|
|
6
6
|
query?: string | undefined;
|
|
7
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.Clone.Response, "contentManagerApi">>, useCloneDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Contracts.CollectionTypes.Clone.Params & {
|
|
7
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.Clone.Response, "contentManagerApi">>, useCloneDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Contracts.CollectionTypes.Clone.Params & {
|
|
8
8
|
data: Contracts.CollectionTypes.Clone.Request['body'];
|
|
9
9
|
params?: {
|
|
10
10
|
locale?: string | null | undefined;
|
|
11
11
|
} | undefined;
|
|
12
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.Clone.Response, "contentManagerApi">>, useCreateDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Contracts.CollectionTypes.Create.Params & {
|
|
12
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.Clone.Response, "contentManagerApi">>, useCreateDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Contracts.CollectionTypes.Create.Params & {
|
|
13
13
|
data: Contracts.CollectionTypes.Create.Request['body'];
|
|
14
14
|
params?: {} | undefined;
|
|
15
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.Create.Response, "contentManagerApi">>, useDeleteDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Pick<Contracts.CollectionTypes.Delete.Params, "model"> & Pick<Partial<Contracts.CollectionTypes.Delete.Params>, "documentId"> & {
|
|
15
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.Create.Response, "contentManagerApi">>, useDeleteDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Pick<Contracts.CollectionTypes.Delete.Params, "model"> & Pick<Partial<Contracts.CollectionTypes.Delete.Params>, "documentId"> & {
|
|
16
16
|
collectionType: string;
|
|
17
17
|
params?: {
|
|
18
18
|
page?: string | undefined;
|
|
19
19
|
pageSize?: string | undefined;
|
|
20
20
|
sort?: string | undefined;
|
|
21
21
|
} | undefined;
|
|
22
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.Delete.Response, "contentManagerApi">>, useDeleteManyDocumentsMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Contracts.CollectionTypes.BulkDelete.Params & {
|
|
22
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.Delete.Response, "contentManagerApi">>, useDeleteManyDocumentsMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Contracts.CollectionTypes.BulkDelete.Params & {
|
|
23
23
|
documentIds: string[];
|
|
24
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.BulkDelete.Response, "contentManagerApi">>, useDiscardDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Pick<Contracts.CollectionTypes.Discard.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.Discard.Params, "documentId">> & {
|
|
24
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.BulkDelete.Response, "contentManagerApi">>, useDiscardDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Pick<Contracts.CollectionTypes.Discard.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.Discard.Params, "documentId">> & {
|
|
25
25
|
collectionType: string;
|
|
26
26
|
params?: ({
|
|
27
27
|
page?: string | undefined;
|
|
@@ -30,7 +30,7 @@ declare const useAutoCloneDocumentMutation: import("@reduxjs/toolkit/dist/query/
|
|
|
30
30
|
} & {
|
|
31
31
|
[key: string]: any;
|
|
32
32
|
}) | undefined;
|
|
33
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.Discard.Response, "contentManagerApi">>, useGetAllDocumentsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<Contracts.CollectionTypes.Find.Params & {
|
|
33
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.Discard.Response, "contentManagerApi">>, useGetAllDocumentsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<Contracts.CollectionTypes.Find.Params & {
|
|
34
34
|
params?: ({
|
|
35
35
|
page?: string | undefined;
|
|
36
36
|
pageSize?: string | undefined;
|
|
@@ -38,17 +38,17 @@ declare const useAutoCloneDocumentMutation: import("@reduxjs/toolkit/dist/query/
|
|
|
38
38
|
} & {
|
|
39
39
|
[key: string]: any;
|
|
40
40
|
}) | undefined;
|
|
41
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.Find.Response, "contentManagerApi">>, useLazyGetDocumentQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<Pick<Contracts.CollectionTypes.FindOne.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.FindOne.Params, "documentId">> & {
|
|
41
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.Find.Response, "contentManagerApi">>, useLazyGetDocumentQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<Pick<Contracts.CollectionTypes.FindOne.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.FindOne.Params, "documentId">> & {
|
|
42
42
|
collectionType: string;
|
|
43
43
|
params?: {
|
|
44
44
|
locale?: string | null | undefined;
|
|
45
45
|
} | undefined;
|
|
46
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.FindOne.Response, "contentManagerApi">>, useGetDocumentQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<Pick<Contracts.CollectionTypes.FindOne.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.FindOne.Params, "documentId">> & {
|
|
46
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.FindOne.Response, "contentManagerApi">>, useGetDocumentQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<Pick<Contracts.CollectionTypes.FindOne.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.FindOne.Params, "documentId">> & {
|
|
47
47
|
collectionType: string;
|
|
48
48
|
params?: {
|
|
49
49
|
locale?: string | null | undefined;
|
|
50
50
|
} | undefined;
|
|
51
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.FindOne.Response, "contentManagerApi">>, useLazyGetDraftRelationCountQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
51
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.FindOne.Response, "contentManagerApi">>, useLazyGetDraftRelationCountQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
52
52
|
collectionType: string;
|
|
53
53
|
model: string;
|
|
54
54
|
/**
|
|
@@ -58,35 +58,32 @@ declare const useAutoCloneDocumentMutation: import("@reduxjs/toolkit/dist/query/
|
|
|
58
58
|
params?: {
|
|
59
59
|
locale?: string | null | undefined;
|
|
60
60
|
} | undefined;
|
|
61
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.CountDraftRelations.Response, "contentManagerApi">>, useGetManyDraftRelationCountQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
61
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.CountDraftRelations.Response, "contentManagerApi">>, useGetManyDraftRelationCountQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
62
62
|
documentIds?: string[] | undefined;
|
|
63
63
|
locale?: string | undefined;
|
|
64
64
|
} & {
|
|
65
65
|
model: string;
|
|
66
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", number, "contentManagerApi">>, usePublishDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Pick<Contracts.CollectionTypes.Publish.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.Publish.Params, "documentId">> & {
|
|
66
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", number, "contentManagerApi">>, usePublishDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Pick<Contracts.CollectionTypes.Publish.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.Publish.Params, "documentId">> & {
|
|
67
67
|
collectionType: string;
|
|
68
68
|
data: Contracts.CollectionTypes.Publish.Request['body'];
|
|
69
69
|
params?: {
|
|
70
70
|
locale?: string | null | undefined;
|
|
71
71
|
} | undefined;
|
|
72
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.Publish.Response, "contentManagerApi">>, usePublishManyDocumentsMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Contracts.CollectionTypes.BulkPublish.Params & {
|
|
72
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.Publish.Response, "contentManagerApi">>, usePublishManyDocumentsMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Contracts.CollectionTypes.BulkPublish.Params & {
|
|
73
73
|
documentIds: string[];
|
|
74
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.BulkPublish.Response, "contentManagerApi">>, useUpdateDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Pick<Contracts.CollectionTypes.Update.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.Update.Params, "documentId">> & {
|
|
74
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.BulkPublish.Response, "contentManagerApi">>, useUpdateDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Pick<Contracts.CollectionTypes.Update.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.Update.Params, "documentId">> & {
|
|
75
75
|
collectionType: string;
|
|
76
76
|
data: Contracts.CollectionTypes.Update.Request['body'];
|
|
77
77
|
params?: {
|
|
78
78
|
locale?: string | null | undefined;
|
|
79
79
|
} | undefined;
|
|
80
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.Update.Response, "contentManagerApi">>, useUnpublishDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Pick<Contracts.CollectionTypes.Unpublish.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.Unpublish.Params, "documentId">> & {
|
|
80
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.Update.Response, "contentManagerApi">>, useUnpublishDocumentMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Pick<Contracts.CollectionTypes.Unpublish.Params, "model"> & Partial<Pick<Contracts.CollectionTypes.Unpublish.Params, "documentId">> & {
|
|
81
81
|
collectionType: string;
|
|
82
82
|
params?: {
|
|
83
|
-
locale?: string | null | undefined;
|
|
84
|
-
* Gets all documents of a collection type or single type.
|
|
85
|
-
* By passing different params you can get different results e.g. only published documents or 'es' documents.
|
|
86
|
-
*/
|
|
83
|
+
locale?: string | null | undefined;
|
|
87
84
|
} | undefined;
|
|
88
85
|
data: Contracts.CollectionTypes.Unpublish.Request['body'];
|
|
89
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.Unpublish.Response, "contentManagerApi">>, useUnpublishManyDocumentsMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Contracts.CollectionTypes.BulkUnpublish.Params & {
|
|
86
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.Unpublish.Response, "contentManagerApi">>, useUnpublishManyDocumentsMutation: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseMutation<import("@reduxjs/toolkit/query").MutationDefinition<Contracts.CollectionTypes.BulkUnpublish.Params & {
|
|
90
87
|
documentIds: string[];
|
|
91
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.CollectionTypes.BulkUnpublish.Response, "contentManagerApi">>;
|
|
88
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.CollectionTypes.BulkUnpublish.Response, "contentManagerApi">>;
|
|
92
89
|
export { useAutoCloneDocumentMutation, useCloneDocumentMutation, useCreateDocumentMutation, useDeleteDocumentMutation, useDeleteManyDocumentsMutation, useDiscardDocumentMutation, useGetAllDocumentsQuery, useLazyGetDocumentQuery, useGetDocumentQuery, useLazyGetDraftRelationCountQuery as useGetDraftRelationCountQuery, useGetManyDraftRelationCountQuery, usePublishDocumentMutation, usePublishManyDocumentsMutation, useUpdateDocumentMutation, useUnpublishDocumentMutation, useUnpublishManyDocumentsMutation, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Contracts } from '@strapi/plugin-content-manager/_internal/shared';
|
|
2
|
-
declare const useGetInitialDataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", {
|
|
2
|
+
declare const useGetInitialDataQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", {
|
|
3
3
|
fieldSizes: Record<string, {
|
|
4
4
|
default: number;
|
|
5
5
|
isResizable: boolean;
|
|
@@ -27,7 +27,7 @@ declare const useGetRelationsQuery: import("@reduxjs/toolkit/dist/query/react/bu
|
|
|
27
27
|
idsToOmit?: string[] | undefined;
|
|
28
28
|
idsToInclude?: string[] | undefined;
|
|
29
29
|
}) | undefined;
|
|
30
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", GetRelationsResponse, "contentManagerApi">>, useLazySearchRelationsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<Contracts.Relations.FindAvailable.Params & {
|
|
30
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", GetRelationsResponse, "contentManagerApi">>, useLazySearchRelationsQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseLazyQuery<import("@reduxjs/toolkit/query").QueryDefinition<Contracts.Relations.FindAvailable.Params & {
|
|
31
31
|
params?: (Partial<Pick<Contracts.Relations.Pagination, "page" | "pageSize">> & {
|
|
32
32
|
id?: import("@strapi/types/dist/types/core/entity").ID | undefined;
|
|
33
33
|
locale?: string | undefined;
|
|
@@ -36,7 +36,7 @@ declare const useGetRelationsQuery: import("@reduxjs/toolkit/dist/query/react/bu
|
|
|
36
36
|
idsToOmit?: string[] | undefined;
|
|
37
37
|
idsToInclude?: string[] | undefined;
|
|
38
38
|
}) | undefined;
|
|
39
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", {
|
|
39
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", {
|
|
40
40
|
results: Contracts.Relations.RelationResult[];
|
|
41
41
|
pagination: Contracts.Relations.Pagination;
|
|
42
42
|
error?: undefined;
|
|
@@ -12,7 +12,7 @@ declare const useGenerateUIDMutation: import("@reduxjs/toolkit/dist/query/react/
|
|
|
12
12
|
field: string;
|
|
13
13
|
} & {
|
|
14
14
|
params: Contracts.UID.GenerateUID.Request['query'];
|
|
15
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", string, "contentManagerApi">>, useGetDefaultUIDQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
15
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", string, "contentManagerApi">>, useGetDefaultUIDQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
16
16
|
contentTypeUID: string;
|
|
17
17
|
data: {
|
|
18
18
|
id: import("@strapi/types/dist/types/core/entity").ID;
|
|
@@ -22,11 +22,11 @@ declare const useGenerateUIDMutation: import("@reduxjs/toolkit/dist/query/react/
|
|
|
22
22
|
field: string;
|
|
23
23
|
} & {
|
|
24
24
|
params: Contracts.UID.GenerateUID.Request['query'];
|
|
25
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", string, "contentManagerApi">>, useGetAvailabilityQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
25
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", string, "contentManagerApi">>, useGetAvailabilityQuery: import("@reduxjs/toolkit/dist/query/react/buildHooks").UseQuery<import("@reduxjs/toolkit/query").QueryDefinition<{
|
|
26
26
|
contentTypeUID: string;
|
|
27
27
|
field: string;
|
|
28
28
|
value: string;
|
|
29
29
|
} & {
|
|
30
30
|
params: Contracts.UID.CheckUIDAvailability.Request['query'];
|
|
31
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", Contracts.UID.CheckUIDAvailability.Response, "contentManagerApi">>;
|
|
31
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("../../utils/baseQuery").QueryArguments, unknown, import("../../utils/baseQuery").BaseQueryError>, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", Contracts.UID.CheckUIDAvailability.Response, "contentManagerApi">>;
|
|
32
32
|
export { useGenerateUIDMutation, useGetDefaultUIDQuery, useGetAvailabilityQuery };
|
|
@@ -16,7 +16,7 @@ declare const configureStoreImpl: (preloadedState?: PreloadState, appMiddlewares
|
|
|
16
16
|
readonly admin_app: AppState;
|
|
17
17
|
readonly rbacProvider: RBACState;
|
|
18
18
|
readonly 'content-manager_app': ContentManagerAppState;
|
|
19
|
-
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", "contentManagerApi">;
|
|
19
|
+
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", "contentManagerApi">;
|
|
20
20
|
readonly 'content-manager': import("redux").CombinedState<{
|
|
21
21
|
rbac: import("../../content-manager/modules/rbac").SyncRbacState;
|
|
22
22
|
}>;
|
|
@@ -27,7 +27,7 @@ declare const configureStoreImpl: (preloadedState?: PreloadState, appMiddlewares
|
|
|
27
27
|
readonly admin_app: AppState;
|
|
28
28
|
readonly rbacProvider: RBACState;
|
|
29
29
|
readonly 'content-manager_app': ContentManagerAppState;
|
|
30
|
-
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", "contentManagerApi">;
|
|
30
|
+
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", "contentManagerApi">;
|
|
31
31
|
readonly 'content-manager': import("redux").CombinedState<{
|
|
32
32
|
rbac: import("../../content-manager/modules/rbac").SyncRbacState;
|
|
33
33
|
}>;
|
|
@@ -12,7 +12,7 @@ declare const createTypedSelector: <TResult>(selector: (state: {
|
|
|
12
12
|
readonly admin_app: import("../../reducer").AppState;
|
|
13
13
|
readonly rbacProvider: import("../../components/RBACProvider").RBACState;
|
|
14
14
|
readonly 'content-manager_app': import("../../content-manager/layout").ContentManagerAppState;
|
|
15
|
-
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", "contentManagerApi">;
|
|
15
|
+
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", "contentManagerApi">;
|
|
16
16
|
readonly 'content-manager': import("redux").CombinedState<{
|
|
17
17
|
rbac: import("../../content-manager/modules/rbac").SyncRbacState;
|
|
18
18
|
}>;
|
|
@@ -23,7 +23,7 @@ declare const createTypedSelector: <TResult>(selector: (state: {
|
|
|
23
23
|
readonly admin_app: import("../../reducer").AppState;
|
|
24
24
|
readonly rbacProvider: import("../../components/RBACProvider").RBACState;
|
|
25
25
|
readonly 'content-manager_app': import("../../content-manager/layout").ContentManagerAppState;
|
|
26
|
-
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", "contentManagerApi">;
|
|
26
|
+
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", "contentManagerApi">;
|
|
27
27
|
readonly 'content-manager': import("redux").CombinedState<{
|
|
28
28
|
rbac: import("../../content-manager/modules/rbac").SyncRbacState;
|
|
29
29
|
}>;
|
|
@@ -34,7 +34,7 @@ declare const createTypedSelector: <TResult>(selector: (state: {
|
|
|
34
34
|
readonly admin_app: import("../../reducer").AppState;
|
|
35
35
|
readonly rbacProvider: import("../../components/RBACProvider").RBACState;
|
|
36
36
|
readonly 'content-manager_app': import("../../content-manager/layout").ContentManagerAppState;
|
|
37
|
-
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", "contentManagerApi">;
|
|
37
|
+
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", "contentManagerApi">;
|
|
38
38
|
readonly 'content-manager': import("redux").CombinedState<{
|
|
39
39
|
rbac: import("../../content-manager/modules/rbac").SyncRbacState;
|
|
40
40
|
}>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AxiosError } from 'axios';
|
|
2
2
|
import { IntlFormatters } from 'react-intl';
|
|
3
3
|
import { NormalizeErrorOptions } from '../utils/normalizeAPIError';
|
|
4
|
-
import type {
|
|
4
|
+
import type { errors } from '@strapi/utils';
|
|
5
|
+
type ApiError = errors.ApplicationError | errors.ForbiddenError | errors.NotFoundError | errors.NotImplementedError | errors.PaginationError | errors.PayloadTooLargeError | errors.PolicyError | errors.RateLimitError | errors.UnauthorizedError | errors.ValidationError | errors.YupValidationError;
|
|
5
6
|
interface UnknownApiError {
|
|
6
7
|
/**
|
|
7
8
|
* The name of the ApiError, is always a static value.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @description This is an abstraction around the axios instance exposed by a hook. It provides a simple interface to handle API calls
|
|
4
|
+
* to the Strapi backend.
|
|
5
|
+
* It handles request cancellations inside the hook with an {@link https://axios-http.com/docs/cancellation} AbortController.
|
|
6
|
+
* This is typically triggered when the component is unmounted so all the requests that it is currently making are aborted.
|
|
7
|
+
* The expected URL style includes either a protocol (such as HTTP or HTTPS) or a relative URL. The URLs with domain and path but not protocol are not allowed (ex: `www.example.com`).
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import * as React from 'react';
|
|
11
|
+
* import { useFetchClient } from '@strapi/admin/admin';
|
|
12
|
+
*
|
|
13
|
+
* const MyComponent = () => {
|
|
14
|
+
* const [items, setItems] = React.useState([]);
|
|
15
|
+
* const { get } = useFetchClient();
|
|
16
|
+
* const requestURL = "/some-endpoint";
|
|
17
|
+
*
|
|
18
|
+
* const handleGetData = async () => {
|
|
19
|
+
* const { data } = await get(requestURL);
|
|
20
|
+
* setItems(data.items);
|
|
21
|
+
* };
|
|
22
|
+
*
|
|
23
|
+
* return (
|
|
24
|
+
* <div>
|
|
25
|
+
* <div>
|
|
26
|
+
* {
|
|
27
|
+
* items && items.map(item => <h2 key={item.uuid}>{item.name}</h2>))
|
|
28
|
+
* }
|
|
29
|
+
* </div>
|
|
30
|
+
* </div>
|
|
31
|
+
* );
|
|
32
|
+
* };
|
|
33
|
+
* ```
|
|
34
|
+
* @see {@link https://axios-http.com/docs/instance} axios instance API.
|
|
35
|
+
* @see {@link https://axios-http.com/docs/cancellation} AbortController.
|
|
36
|
+
*/
|
|
37
|
+
declare const useFetchClient: () => {
|
|
38
|
+
get: <TData = any, R = import("axios").AxiosResponse<TData, any>, TSend = any>(url: string, config?: import("axios").AxiosRequestConfig<TSend> | undefined) => Promise<R>;
|
|
39
|
+
put: <TData_1 = any, R_1 = import("axios").AxiosResponse<TData_1, any>, TSend_1 = any>(url: string, data?: TSend_1 | undefined, config?: import("axios").AxiosRequestConfig<TSend_1> | undefined) => Promise<R_1>;
|
|
40
|
+
post: <TData_2 = any, R_2 = import("axios").AxiosResponse<TData_2, any>, TSend_2 = any>(url: string, data?: TSend_2 | undefined, config?: import("axios").AxiosRequestConfig<TSend_2> | undefined) => Promise<R_2>;
|
|
41
|
+
del: <TData_3 = any, R_3 = import("axios").AxiosResponse<TData_3, any>, TSend_3 = any>(url: string, config?: import("axios").AxiosRequestConfig<TSend_3> | undefined) => Promise<R_3>;
|
|
42
|
+
};
|
|
43
|
+
export { useFetchClient };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { MutableRefObject } from 'react';
|
|
2
|
+
type InputFieldRefs<T extends HTMLElement> = T | {
|
|
3
|
+
input: MutableRefObject<T>;
|
|
4
|
+
} | null;
|
|
5
|
+
/**
|
|
6
|
+
* @description Given the name of an input field (this does not need to be the name you pass as a prop to the DOM element),
|
|
7
|
+
* when the query param `field` matches the name the field will be focused & scrolled into the center of the view.
|
|
8
|
+
* Uses a callback ref to set the field to ensure asynchronous rendering of inputs does not cause issues e.g. CodeMirror.EditView
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* const fieldRef = useFocusInputField('name');
|
|
13
|
+
*
|
|
14
|
+
* return (
|
|
15
|
+
* <input ref={fieldRef} />
|
|
16
|
+
* );
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
declare const useFocusInputField: <T extends HTMLElement>(name: string) => (node: InputFieldRefs<T>) => void;
|
|
20
|
+
export { useFocusInputField };
|
|
@@ -14,29 +14,31 @@ export * from './components/PageHelpers';
|
|
|
14
14
|
export * from './components/Pagination';
|
|
15
15
|
export * from './components/SearchInput';
|
|
16
16
|
export * from './components/Table';
|
|
17
|
+
export { useGuidedTour } from './components/GuidedTour/Provider';
|
|
17
18
|
/**
|
|
18
19
|
* Features
|
|
19
20
|
*/
|
|
20
21
|
export { useTracking, type TrackingEvent } from './features/Tracking';
|
|
22
|
+
export { useStrapiApp, type StrapiAppContextValue } from './features/StrapiApp';
|
|
23
|
+
export { useNotification, type NotificationsContextValue, type NotificationConfig, NotificationsProvider, } from './features/Notifications';
|
|
24
|
+
export { useAppInfo, type AppInfoContextValue } from './features/AppInfo';
|
|
21
25
|
/**
|
|
22
26
|
* Hooks
|
|
23
27
|
*/
|
|
24
28
|
export { useInjectReducer } from './hooks/useInjectReducer';
|
|
25
29
|
export { useLicenseLimits } from '../../ee/admin/src/hooks/useLicenseLimits';
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export { useNotification, type NotificationsContextValue, type NotificationConfig, NotificationsProvider, } from './features/Notifications';
|
|
30
|
-
export { useAppInfo, type AppInfoContextValue } from './features/AppInfo';
|
|
30
|
+
export { useAPIErrorHandler, type ApiError } from './hooks/useAPIErrorHandler';
|
|
31
|
+
export { useQueryParams } from './hooks/useQueryParams';
|
|
32
|
+
export { useFetchClient } from './hooks/useFetchClient';
|
|
31
33
|
/**
|
|
32
34
|
* Types
|
|
33
35
|
*/
|
|
34
36
|
export type { Store } from './core/store/configure';
|
|
35
37
|
export type { SanitizedAdminUser } from '../../shared/contracts/shared';
|
|
36
38
|
export type { Context, DescriptionComponent, DescriptionReducer, PanelComponentProps, PanelComponent, PanelDescription, DocumentActionComponent, DocumentActionDescription, DocumentActionProps, HeaderActionComponent, HeaderActionDescription, HeaderActionProps, } from './core/apis/content-manager';
|
|
37
|
-
export type { ApiError } from './types/errors';
|
|
38
39
|
/**
|
|
39
40
|
* Utils
|
|
40
41
|
*/
|
|
41
42
|
export { translatedErrors } from './utils/translatedErrors';
|
|
43
|
+
export { getFetchClient } from './utils/getFetchClient';
|
|
42
44
|
export * from './content-manager/exports';
|
|
@@ -11,7 +11,7 @@ export declare const selectAdminPermissions: ((state: {
|
|
|
11
11
|
readonly admin_app: import("./reducer").AppState;
|
|
12
12
|
readonly rbacProvider: import("./components/RBACProvider").RBACState;
|
|
13
13
|
readonly 'content-manager_app': import("./content-manager/layout").ContentManagerAppState;
|
|
14
|
-
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", "contentManagerApi">;
|
|
14
|
+
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", "contentManagerApi">;
|
|
15
15
|
readonly 'content-manager': import("redux").CombinedState<{
|
|
16
16
|
rbac: import("./content-manager/modules/rbac").SyncRbacState;
|
|
17
17
|
}>;
|
|
@@ -22,7 +22,7 @@ export declare const selectAdminPermissions: ((state: {
|
|
|
22
22
|
readonly admin_app: import("./reducer").AppState;
|
|
23
23
|
readonly rbacProvider: import("./components/RBACProvider").RBACState;
|
|
24
24
|
readonly 'content-manager_app': import("./content-manager/layout").ContentManagerAppState;
|
|
25
|
-
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion", "contentManagerApi">;
|
|
25
|
+
readonly contentManagerApi: import("@reduxjs/toolkit/query").CombinedState<{}, "ComponentConfiguration" | "ContentTypesConfiguration" | "ContentTypeSettings" | "Document" | "InitialData" | "HistoryVersion" | "Relations", "contentManagerApi">;
|
|
26
26
|
readonly 'content-manager': import("redux").CombinedState<{
|
|
27
27
|
rbac: import("./content-manager/modules/rbac").SyncRbacState;
|
|
28
28
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SerializedError } from '@reduxjs/toolkit';
|
|
2
2
|
import { BaseQueryFn } from '@reduxjs/toolkit/query';
|
|
3
3
|
import { type AxiosRequestConfig } from 'axios';
|
|
4
|
-
import type { ApiError } from '../
|
|
4
|
+
import type { ApiError } from '../hooks/useAPIErrorHandler';
|
|
5
5
|
export interface QueryArguments {
|
|
6
6
|
url: string;
|
|
7
7
|
method?: AxiosRequestConfig['method'];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AxiosRequestConfig, AxiosResponse, AxiosInstance } from 'axios';
|
|
2
|
+
declare const instance: AxiosInstance;
|
|
3
|
+
type FetchClient = {
|
|
4
|
+
get: <TData = any, R = AxiosResponse<TData>, TSend = any>(url: string, config?: AxiosRequestConfig<TSend>) => Promise<R>;
|
|
5
|
+
put: <TData = any, R = AxiosResponse<TData>, TSend = any>(url: string, data?: TSend, config?: AxiosRequestConfig<TSend>) => Promise<R>;
|
|
6
|
+
post: <TData = any, R = AxiosResponse<TData>, TSend = any>(url: string, data?: TSend, config?: AxiosRequestConfig<TSend>) => Promise<R>;
|
|
7
|
+
del: <TData = any, R = AxiosResponse<TData>, TSend = any>(url: string, config?: AxiosRequestConfig<TSend>) => Promise<R>;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
* @param {AxiosRequestConfig} [defaultOptions={}] - Default options for Axios requests.
|
|
12
|
+
* @returns {FetchClient} A fetch client object with methods for making HTTP requests.
|
|
13
|
+
* @description This is an abstraction around the axios instance exposed by a function. It provides a simple interface to handle API calls
|
|
14
|
+
* to the Strapi backend.
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* import { getFetchClient } from '@strapi/admin/admin';
|
|
18
|
+
*
|
|
19
|
+
* const myFunct = () => {
|
|
20
|
+
* const { get } = getFetchClient();
|
|
21
|
+
* const requestURL = "/some-endpoint";
|
|
22
|
+
*
|
|
23
|
+
* const { data } = await get(requestURL);
|
|
24
|
+
*
|
|
25
|
+
* return data;
|
|
26
|
+
* };
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
declare const getFetchClient: (defaultOptions?: AxiosRequestConfig) => FetchClient;
|
|
30
|
+
export { instance, getFetchClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type {
|
|
1
|
+
import type { ApiError } from '../hooks/useAPIErrorHandler';
|
|
2
|
+
import type { AxiosError } from 'axios';
|
|
3
3
|
export interface NormalizeErrorOptions {
|
|
4
4
|
name?: string;
|
|
5
5
|
intlMessagePrefixCallback?: (id: string) => string;
|