@strapi/content-type-builder 0.0.0 → 5.0.0-beta.7

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.
Files changed (315) hide show
  1. package/README.md +1 -1
  2. package/dist/_chunks/ListView-BuXQ605A.js +959 -0
  3. package/dist/_chunks/ListView-BuXQ605A.js.map +1 -0
  4. package/dist/_chunks/ListView-C4hI-wBm.mjs +954 -0
  5. package/dist/_chunks/ListView-C4hI-wBm.mjs.map +1 -0
  6. package/dist/_chunks/ar-BYDB75EB.mjs +51 -0
  7. package/dist/_chunks/ar-BYDB75EB.mjs.map +1 -0
  8. package/dist/_chunks/ar-OCxhAFUy.js +51 -0
  9. package/dist/_chunks/ar-OCxhAFUy.js.map +1 -0
  10. package/dist/_chunks/cs-ChL4LaFY.mjs +139 -0
  11. package/dist/_chunks/cs-ChL4LaFY.mjs.map +1 -0
  12. package/dist/_chunks/cs-Ci3js5EC.js +139 -0
  13. package/dist/_chunks/cs-Ci3js5EC.js.map +1 -0
  14. package/dist/_chunks/de-DnlblIOh.js +193 -0
  15. package/dist/_chunks/de-DnlblIOh.js.map +1 -0
  16. package/dist/_chunks/de-DsHQNzp2.mjs +193 -0
  17. package/dist/_chunks/de-DsHQNzp2.mjs.map +1 -0
  18. package/dist/_chunks/dk-BC7NAQR2.mjs +183 -0
  19. package/dist/_chunks/dk-BC7NAQR2.mjs.map +1 -0
  20. package/dist/_chunks/dk-D3XnOjYz.js +183 -0
  21. package/dist/_chunks/dk-D3XnOjYz.js.map +1 -0
  22. package/dist/_chunks/en-BbczxQBr.mjs +216 -0
  23. package/dist/_chunks/en-BbczxQBr.mjs.map +1 -0
  24. package/dist/_chunks/en-BnToboMV.js +216 -0
  25. package/dist/_chunks/en-BnToboMV.js.map +1 -0
  26. package/dist/_chunks/es-BE_zx2_w.mjs +183 -0
  27. package/dist/_chunks/es-BE_zx2_w.mjs.map +1 -0
  28. package/dist/_chunks/es-DL8lez9W.js +183 -0
  29. package/dist/_chunks/es-DL8lez9W.js.map +1 -0
  30. package/dist/_chunks/fr-DnTxugIo.js +75 -0
  31. package/dist/_chunks/fr-DnTxugIo.js.map +1 -0
  32. package/dist/_chunks/fr-lU_OMJma.mjs +75 -0
  33. package/dist/_chunks/fr-lU_OMJma.mjs.map +1 -0
  34. package/dist/_chunks/id-DYuTgqcc.js +166 -0
  35. package/dist/_chunks/id-DYuTgqcc.js.map +1 -0
  36. package/dist/_chunks/id-W1sKBFEw.mjs +166 -0
  37. package/dist/_chunks/id-W1sKBFEw.mjs.map +1 -0
  38. package/dist/_chunks/index-2ofTO2HM.js +6738 -0
  39. package/dist/_chunks/index-2ofTO2HM.js.map +1 -0
  40. package/dist/_chunks/index-CH93OgkC.js +1209 -0
  41. package/dist/_chunks/index-CH93OgkC.js.map +1 -0
  42. package/dist/_chunks/index-CPBF498m.mjs +6701 -0
  43. package/dist/_chunks/index-CPBF498m.mjs.map +1 -0
  44. package/dist/_chunks/index-DmqlavBo.mjs +1183 -0
  45. package/dist/_chunks/index-DmqlavBo.mjs.map +1 -0
  46. package/dist/_chunks/it-D04lb2Wc.mjs +167 -0
  47. package/dist/_chunks/it-D04lb2Wc.mjs.map +1 -0
  48. package/dist/_chunks/it-DS4sM3km.js +167 -0
  49. package/dist/_chunks/it-DS4sM3km.js.map +1 -0
  50. package/dist/_chunks/ja-BHLK_2_g.mjs +50 -0
  51. package/dist/_chunks/ja-BHLK_2_g.mjs.map +1 -0
  52. package/dist/_chunks/ja-BjouJgZf.js +50 -0
  53. package/dist/_chunks/ja-BjouJgZf.js.map +1 -0
  54. package/dist/_chunks/ko-D_71Pdfn.js +183 -0
  55. package/dist/_chunks/ko-D_71Pdfn.js.map +1 -0
  56. package/dist/_chunks/ko-DoNsXHXA.mjs +183 -0
  57. package/dist/_chunks/ko-DoNsXHXA.mjs.map +1 -0
  58. package/dist/_chunks/ms-BtGFDB9t.mjs +163 -0
  59. package/dist/_chunks/ms-BtGFDB9t.mjs.map +1 -0
  60. package/dist/_chunks/ms-Re1pSHmx.js +163 -0
  61. package/dist/_chunks/ms-Re1pSHmx.js.map +1 -0
  62. package/dist/_chunks/nl-BaTAuelQ.mjs +156 -0
  63. package/dist/_chunks/nl-BaTAuelQ.mjs.map +1 -0
  64. package/dist/_chunks/nl-DQjrDEw0.js +156 -0
  65. package/dist/_chunks/nl-DQjrDEw0.js.map +1 -0
  66. package/dist/_chunks/pl-BGwXgwH7.js +193 -0
  67. package/dist/_chunks/pl-BGwXgwH7.js.map +1 -0
  68. package/dist/_chunks/pl-CP2Zgp01.mjs +193 -0
  69. package/dist/_chunks/pl-CP2Zgp01.mjs.map +1 -0
  70. package/dist/_chunks/pt-BR-CCQGwXs0.mjs +193 -0
  71. package/dist/_chunks/pt-BR-CCQGwXs0.mjs.map +1 -0
  72. package/dist/_chunks/pt-BR-DPd5nRnl.js +193 -0
  73. package/dist/_chunks/pt-BR-DPd5nRnl.js.map +1 -0
  74. package/dist/_chunks/pt-CJoUDTHQ.js +51 -0
  75. package/dist/_chunks/pt-CJoUDTHQ.js.map +1 -0
  76. package/dist/_chunks/pt-DMeTMW2x.mjs +51 -0
  77. package/dist/_chunks/pt-DMeTMW2x.mjs.map +1 -0
  78. package/dist/_chunks/ru-C8A_4j0w.js +168 -0
  79. package/dist/_chunks/ru-C8A_4j0w.js.map +1 -0
  80. package/dist/_chunks/ru-DGSjru5m.mjs +168 -0
  81. package/dist/_chunks/ru-DGSjru5m.mjs.map +1 -0
  82. package/dist/_chunks/sk-DVK4HfSC.mjs +167 -0
  83. package/dist/_chunks/sk-DVK4HfSC.mjs.map +1 -0
  84. package/dist/_chunks/sk-raWRcmPT.js +167 -0
  85. package/dist/_chunks/sk-raWRcmPT.js.map +1 -0
  86. package/dist/_chunks/sv-BGb12eW3.mjs +202 -0
  87. package/dist/_chunks/sv-BGb12eW3.mjs.map +1 -0
  88. package/dist/_chunks/sv-BNN71SFE.js +202 -0
  89. package/dist/_chunks/sv-BNN71SFE.js.map +1 -0
  90. package/dist/_chunks/th--u3VqsON.mjs +164 -0
  91. package/dist/_chunks/th--u3VqsON.mjs.map +1 -0
  92. package/dist/_chunks/th-C83Bb_kR.js +164 -0
  93. package/dist/_chunks/th-C83Bb_kR.js.map +1 -0
  94. package/dist/_chunks/tr-BW20CfcO.js +179 -0
  95. package/dist/_chunks/tr-BW20CfcO.js.map +1 -0
  96. package/dist/_chunks/tr-DsUerr-c.mjs +179 -0
  97. package/dist/_chunks/tr-DsUerr-c.mjs.map +1 -0
  98. package/dist/_chunks/uk-Bx5IlOKX.mjs +164 -0
  99. package/dist/_chunks/uk-Bx5IlOKX.mjs.map +1 -0
  100. package/dist/_chunks/uk-VwB0oiuV.js +164 -0
  101. package/dist/_chunks/uk-VwB0oiuV.js.map +1 -0
  102. package/dist/_chunks/zh-BiOCwPJu.js +202 -0
  103. package/dist/_chunks/zh-BiOCwPJu.js.map +1 -0
  104. package/dist/_chunks/zh-CsUDN13W.mjs +202 -0
  105. package/dist/_chunks/zh-CsUDN13W.mjs.map +1 -0
  106. package/dist/_chunks/zh-Hans-CLTLm_nt.js +147 -0
  107. package/dist/_chunks/zh-Hans-CLTLm_nt.js.map +1 -0
  108. package/dist/_chunks/zh-Hans-Cc0M5PXr.mjs +147 -0
  109. package/dist/_chunks/zh-Hans-Cc0M5PXr.mjs.map +1 -0
  110. package/dist/admin/index.js +5 -0
  111. package/dist/admin/index.js.map +1 -0
  112. package/dist/admin/index.mjs +6 -0
  113. package/dist/admin/index.mjs.map +1 -0
  114. package/dist/admin/src/components/AllowedTypesSelect.d.ts +9 -0
  115. package/dist/admin/src/components/AttributeIcon.d.ts +9 -0
  116. package/dist/admin/src/components/AttributeOptions/AttributeList.d.ts +6 -0
  117. package/dist/admin/src/components/AttributeOptions/AttributeOption.d.ts +11 -0
  118. package/dist/admin/src/components/AttributeOptions/AttributeOptions.d.ts +13 -0
  119. package/dist/admin/src/components/AttributeOptions/CustomFieldOption.d.ts +22 -0
  120. package/dist/admin/src/components/AttributeOptions/CustomFieldsList.d.ts +1 -0
  121. package/dist/admin/src/components/AttributeOptions/EmptyAttributes.d.ts +2 -0
  122. package/dist/admin/src/components/AttributeOptions/OptionBoxWrapper.d.ts +4 -0
  123. package/dist/admin/src/components/AutoReloadOverlayBlocker.d.ts +25 -0
  124. package/dist/admin/src/components/BooleanDefaultValueSelect.d.ts +20 -0
  125. package/dist/admin/src/components/BooleanRadioGroup.d.ts +8 -0
  126. package/dist/admin/src/components/BoxWrapper.d.ts +4 -0
  127. package/dist/admin/src/components/CheckboxWithNumberField.d.ts +11 -0
  128. package/dist/admin/src/components/ComponentCard/ComponentCard.d.ts +10 -0
  129. package/dist/admin/src/components/ComponentCard/ComponentIcon/ComponentIcon.d.ts +7 -0
  130. package/dist/admin/src/components/ComponentCard/ComponentIcon/index.d.ts +1 -0
  131. package/dist/admin/src/components/ComponentCard/index.d.ts +1 -0
  132. package/dist/admin/src/components/ComponentList.d.ts +10 -0
  133. package/dist/admin/src/components/ContentTypeBuilderNav/ContentTypeBuilderNav.d.ts +1 -0
  134. package/dist/admin/src/components/ContentTypeBuilderNav/useContentTypeBuilderMenu.d.ts +18 -0
  135. package/dist/admin/src/components/ContentTypeRadioGroup.d.ts +15 -0
  136. package/dist/admin/src/components/CustomRadioGroup/CustomRadioGroup.d.ts +15 -0
  137. package/dist/admin/src/components/CustomRadioGroup/Styles.d.ts +5 -0
  138. package/dist/admin/src/components/CustomRadioGroup/index.d.ts +1 -0
  139. package/dist/admin/src/components/DataManagerProvider/DataManagerProvider.d.ts +6 -0
  140. package/dist/admin/src/components/DataManagerProvider/constants.d.ts +17 -0
  141. package/dist/admin/src/components/DataManagerProvider/reducer.d.ts +12 -0
  142. package/dist/admin/src/components/DataManagerProvider/selectors.d.ts +17 -0
  143. package/dist/admin/src/components/DataManagerProvider/utils/cleanData.d.ts +23 -0
  144. package/dist/admin/src/components/DataManagerProvider/utils/createDataObject.d.ts +2 -0
  145. package/dist/admin/src/components/DataManagerProvider/utils/createModifiedDataSchema.d.ts +6 -0
  146. package/dist/admin/src/components/DataManagerProvider/utils/formatSchemas.d.ts +6 -0
  147. package/dist/admin/src/components/DataManagerProvider/utils/retrieveComponentsFromSchema.d.ts +4 -0
  148. package/dist/admin/src/components/DataManagerProvider/utils/retrieveComponentsThatHaveComponents.d.ts +4 -0
  149. package/dist/admin/src/components/DataManagerProvider/utils/retrieveNestedComponents.d.ts +1 -0
  150. package/dist/admin/src/components/DataManagerProvider/utils/retrieveSpecificInfoFromComponents.d.ts +1 -0
  151. package/dist/admin/src/components/DataManagerProvider/utils/serverRestartWatcher.d.ts +6 -0
  152. package/dist/admin/src/components/DataManagerProvider/utils/validateSchema.d.ts +1 -0
  153. package/dist/admin/src/components/DisplayedType.d.ts +7 -0
  154. package/dist/admin/src/components/DraftAndPublishToggle.d.ts +27 -0
  155. package/dist/admin/src/components/DynamicZoneList.d.ts +10 -0
  156. package/dist/admin/src/components/FormModal/FormModal.d.ts +1 -0
  157. package/dist/admin/src/components/FormModal/attributes/advancedForm.d.ts +416 -0
  158. package/dist/admin/src/components/FormModal/attributes/attributeOptions.d.ts +90 -0
  159. package/dist/admin/src/components/FormModal/attributes/baseForm.d.ts +376 -0
  160. package/dist/admin/src/components/FormModal/attributes/commonBaseForm.d.ts +17 -0
  161. package/dist/admin/src/components/FormModal/attributes/form.d.ts +792 -0
  162. package/dist/admin/src/components/FormModal/attributes/nameField.d.ts +12 -0
  163. package/dist/admin/src/components/FormModal/attributes/types.d.ts +325 -0
  164. package/dist/admin/src/components/FormModal/attributes/validation/common.d.ts +29 -0
  165. package/dist/admin/src/components/FormModal/category/createCategorySchema.d.ts +5 -0
  166. package/dist/admin/src/components/FormModal/category/form.d.ts +20 -0
  167. package/dist/admin/src/components/FormModal/category/regex.d.ts +1 -0
  168. package/dist/admin/src/components/FormModal/component/componentField.d.ts +20 -0
  169. package/dist/admin/src/components/FormModal/component/componentForm.d.ts +25 -0
  170. package/dist/admin/src/components/FormModal/component/createComponentSchema.d.ts +10 -0
  171. package/dist/admin/src/components/FormModal/constants.d.ts +12 -0
  172. package/dist/admin/src/components/FormModal/contentType/contentTypeForm.d.ts +116 -0
  173. package/dist/admin/src/components/FormModal/contentType/createContentTypeSchema.d.ts +24 -0
  174. package/dist/admin/src/components/FormModal/dynamiczoneForm.d.ts +68 -0
  175. package/dist/admin/src/components/FormModal/forms/forms.d.ts +207 -0
  176. package/dist/admin/src/components/FormModal/forms/utils/addItemsToFormSection.d.ts +38 -0
  177. package/dist/admin/src/components/FormModal/forms/utils/createCollectionName.d.ts +2 -0
  178. package/dist/admin/src/components/FormModal/forms/utils/getUsedAttributeNames.d.ts +11 -0
  179. package/dist/admin/src/components/FormModal/reducer.d.ts +4 -0
  180. package/dist/admin/src/components/FormModal/selectors.d.ts +16 -0
  181. package/dist/admin/src/components/FormModal/utils/canEditContentType.d.ts +18 -0
  182. package/dist/admin/src/components/FormModal/utils/createUid.d.ts +4 -0
  183. package/dist/admin/src/components/FormModal/utils/customFieldDefaultOptionsReducer.d.ts +1 -0
  184. package/dist/admin/src/components/FormModal/utils/getAttributesToDisplay.d.ts +3 -0
  185. package/dist/admin/src/components/FormModal/utils/getFormInputNames.d.ts +1 -0
  186. package/dist/admin/src/components/FormModal/utils/relations.d.ts +4 -0
  187. package/dist/admin/src/components/FormModalEndActions.d.ts +42 -0
  188. package/dist/admin/src/components/FormModalHeader.d.ts +18 -0
  189. package/dist/admin/src/components/FormModalNavigationProvider/FormModalNavigationProvider.d.ts +22 -0
  190. package/dist/admin/src/components/FormModalNavigationProvider/constants.d.ts +16 -0
  191. package/dist/admin/src/components/FormModalSubHeader.d.ts +22 -0
  192. package/dist/admin/src/components/GenericInputs.d.ts +57 -0
  193. package/dist/admin/src/components/IconPicker/IconPicker.d.ts +13 -0
  194. package/dist/admin/src/components/IconPicker/constants.d.ts +5 -0
  195. package/dist/admin/src/components/IconPicker/index.d.ts +1 -0
  196. package/dist/admin/src/components/List.d.ts +18 -0
  197. package/dist/admin/src/components/ListRow.d.ts +22 -0
  198. package/dist/admin/src/components/NestedFooter.d.ts +9 -0
  199. package/dist/admin/src/components/PluralName.d.ts +22 -0
  200. package/dist/admin/src/components/Relation/Relation.d.ts +9 -0
  201. package/dist/admin/src/components/Relation/RelationField/RelationField.d.ts +13 -0
  202. package/dist/admin/src/components/Relation/RelationField/RelationTargetPicker/RelationTargetPicker.d.ts +6 -0
  203. package/dist/admin/src/components/Relation/RelationNaturePicker/Components.d.ts +14 -0
  204. package/dist/admin/src/components/Relation/RelationNaturePicker/RelationNaturePicker.d.ts +8 -0
  205. package/dist/admin/src/components/SelectCategory.d.ts +19 -0
  206. package/dist/admin/src/components/SelectComponent.d.ts +19 -0
  207. package/dist/admin/src/components/SelectComponents.d.ts +19 -0
  208. package/dist/admin/src/components/SelectDateType.d.ts +38 -0
  209. package/dist/admin/src/components/SelectNumber.d.ts +42 -0
  210. package/dist/admin/src/components/SingularName.d.ts +17 -0
  211. package/dist/admin/src/components/TabForm.d.ts +9 -0
  212. package/dist/admin/src/components/TextareaEnum.d.ts +20 -0
  213. package/dist/admin/src/components/Tr.d.ts +5 -0
  214. package/dist/admin/src/components/UpperFirst.d.ts +3 -0
  215. package/dist/admin/src/constants.d.ts +6 -0
  216. package/dist/admin/src/contexts/DataManagerContext.d.ts +41 -0
  217. package/dist/admin/src/contexts/FormModalNavigationContext.d.ts +38 -0
  218. package/dist/admin/src/hooks/useDataManager.d.ts +1 -0
  219. package/dist/admin/src/hooks/useFormModalNavigation.d.ts +1 -0
  220. package/dist/admin/src/icons/Curve.d.ts +5 -0
  221. package/dist/admin/src/index.d.ts +16 -0
  222. package/dist/admin/src/pages/App/index.d.ts +2 -0
  223. package/dist/admin/src/pages/ListView/LinkToCMSettingsView.d.ts +10 -0
  224. package/dist/admin/src/pages/ListView/ListView.d.ts +2 -0
  225. package/dist/admin/src/pages/RecursivePath/RecursivePath.d.ts +1 -0
  226. package/dist/admin/src/pluginId.d.ts +1 -0
  227. package/dist/admin/src/reducers.d.ts +3 -0
  228. package/dist/admin/src/types.d.ts +57 -0
  229. package/dist/admin/src/utils/findAttribute.d.ts +2 -0
  230. package/dist/admin/src/utils/formAPI.d.ts +1 -0
  231. package/dist/admin/src/utils/getAttributeDisplayedType.d.ts +1 -0
  232. package/dist/admin/src/utils/getRelationType.d.ts +6 -0
  233. package/dist/admin/src/utils/getTrad.d.ts +1 -0
  234. package/dist/admin/src/utils/getYupInnerErrors.d.ts +7 -0
  235. package/dist/admin/src/utils/index.d.ts +2 -0
  236. package/dist/admin/src/utils/isAllowedContentTypesForRelations.d.ts +2 -0
  237. package/dist/admin/src/utils/makeUnique.d.ts +2 -0
  238. package/dist/admin/src/utils/nameToSlug.d.ts +1 -0
  239. package/dist/admin/src/utils/prefixPluginTranslations.d.ts +3 -0
  240. package/dist/admin/src/utils/startsWithANumber.d.ts +1 -0
  241. package/dist/admin/src/utils/toRegressedEnumValue.d.ts +1 -0
  242. package/dist/server/index.js +2312 -0
  243. package/dist/server/index.js.map +1 -0
  244. package/dist/server/index.mjs +2291 -0
  245. package/dist/server/index.mjs.map +1 -0
  246. package/dist/server/src/bootstrap.d.ts +6 -0
  247. package/dist/server/src/bootstrap.d.ts.map +1 -0
  248. package/dist/server/src/config.d.ts +6 -0
  249. package/dist/server/src/config.d.ts.map +1 -0
  250. package/dist/server/src/controllers/builder.d.ts +6 -0
  251. package/dist/server/src/controllers/builder.d.ts.map +1 -0
  252. package/dist/server/src/controllers/component-categories.d.ts +7 -0
  253. package/dist/server/src/controllers/component-categories.d.ts.map +1 -0
  254. package/dist/server/src/controllers/components.d.ts +38 -0
  255. package/dist/server/src/controllers/components.d.ts.map +1 -0
  256. package/dist/server/src/controllers/content-types.d.ts +10 -0
  257. package/dist/server/src/controllers/content-types.d.ts.map +1 -0
  258. package/dist/server/src/controllers/index.d.ts +25 -0
  259. package/dist/server/src/controllers/index.d.ts.map +1 -0
  260. package/dist/server/src/controllers/validation/common.d.ts +25 -0
  261. package/dist/server/src/controllers/validation/common.d.ts.map +1 -0
  262. package/dist/server/src/controllers/validation/component-category.d.ts +5 -0
  263. package/dist/server/src/controllers/validation/component-category.d.ts.map +1 -0
  264. package/dist/server/src/controllers/validation/component.d.ts +25 -0
  265. package/dist/server/src/controllers/validation/component.d.ts.map +1 -0
  266. package/dist/server/src/controllers/validation/content-type.d.ts +36 -0
  267. package/dist/server/src/controllers/validation/content-type.d.ts.map +1 -0
  268. package/dist/server/src/controllers/validation/data-transform.d.ts +4 -0
  269. package/dist/server/src/controllers/validation/data-transform.d.ts.map +1 -0
  270. package/dist/server/src/controllers/validation/model-schema.d.ts +12 -0
  271. package/dist/server/src/controllers/validation/model-schema.d.ts.map +1 -0
  272. package/dist/server/src/controllers/validation/relations.d.ts +16 -0
  273. package/dist/server/src/controllers/validation/relations.d.ts.map +1 -0
  274. package/dist/server/src/controllers/validation/types.d.ts +9 -0
  275. package/dist/server/src/controllers/validation/types.d.ts.map +1 -0
  276. package/dist/server/src/index.d.ts +68 -0
  277. package/dist/server/src/index.d.ts.map +1 -0
  278. package/dist/server/src/routes/admin.d.ts +18 -0
  279. package/dist/server/src/routes/admin.d.ts.map +1 -0
  280. package/dist/server/src/routes/content-api.d.ts +10 -0
  281. package/dist/server/src/routes/content-api.d.ts.map +1 -0
  282. package/dist/server/src/routes/index.d.ts +28 -0
  283. package/dist/server/src/routes/index.d.ts.map +1 -0
  284. package/dist/server/src/services/api-handler.d.ts +15 -0
  285. package/dist/server/src/services/api-handler.d.ts.map +1 -0
  286. package/dist/server/src/services/builder.d.ts +5 -0
  287. package/dist/server/src/services/builder.d.ts.map +1 -0
  288. package/dist/server/src/services/component-categories.d.ts +13 -0
  289. package/dist/server/src/services/component-categories.d.ts.map +1 -0
  290. package/dist/server/src/services/components.d.ts +54 -0
  291. package/dist/server/src/services/components.d.ts.map +1 -0
  292. package/dist/server/src/services/constants.d.ts +19 -0
  293. package/dist/server/src/services/constants.d.ts.map +1 -0
  294. package/dist/server/src/services/content-types.d.ts +60 -0
  295. package/dist/server/src/services/content-types.d.ts.map +1 -0
  296. package/dist/server/src/services/index.d.ts +14 -0
  297. package/dist/server/src/services/index.d.ts.map +1 -0
  298. package/dist/server/src/services/schema-builder/component-builder.d.ts +39 -0
  299. package/dist/server/src/services/schema-builder/component-builder.d.ts.map +1 -0
  300. package/dist/server/src/services/schema-builder/content-type-builder.d.ts +38 -0
  301. package/dist/server/src/services/schema-builder/content-type-builder.d.ts.map +1 -0
  302. package/dist/server/src/services/schema-builder/index.d.ts +78 -0
  303. package/dist/server/src/services/schema-builder/index.d.ts.map +1 -0
  304. package/dist/server/src/services/schema-builder/schema-handler.d.ts +36 -0
  305. package/dist/server/src/services/schema-builder/schema-handler.d.ts.map +1 -0
  306. package/dist/server/src/utils/attributes.d.ts +192 -0
  307. package/dist/server/src/utils/attributes.d.ts.map +1 -0
  308. package/dist/server/src/utils/helpers.d.ts +3 -0
  309. package/dist/server/src/utils/helpers.d.ts.map +1 -0
  310. package/dist/server/src/utils/index.d.ts +15 -0
  311. package/dist/server/src/utils/index.d.ts.map +1 -0
  312. package/dist/server/src/utils/typeguards.d.ts +3 -0
  313. package/dist/server/src/utils/typeguards.d.ts.map +1 -0
  314. package/package.json +91 -3
  315. package/strapi-server.js +3 -0
@@ -0,0 +1,22 @@
1
+ import type { IntlLabel } from '../types';
2
+ interface Description {
3
+ id: string;
4
+ defaultMessage: string;
5
+ values?: Record<string, any>;
6
+ }
7
+ interface PluralNameProps {
8
+ description?: Description;
9
+ error?: string;
10
+ intlLabel: IntlLabel;
11
+ modifiedData: Record<string, any>;
12
+ name: string;
13
+ onChange: (value: {
14
+ target: {
15
+ name: string;
16
+ value: string;
17
+ };
18
+ }) => void;
19
+ value?: string;
20
+ }
21
+ export declare const PluralName: ({ description, error, intlLabel, modifiedData, name, onChange, value, }: PluralNameProps) => import("react/jsx-runtime").JSX.Element;
22
+ export {};
@@ -0,0 +1,9 @@
1
+ interface RelationProps {
2
+ formErrors: Record<string, any>;
3
+ mainBoxHeader: string;
4
+ modifiedData: Record<string, any>;
5
+ onChange: (value: any) => void;
6
+ naturePickerType: string;
7
+ }
8
+ export declare const Relation: ({ formErrors, mainBoxHeader, modifiedData, naturePickerType, onChange, }: RelationProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,13 @@
1
+ interface RelationFormBoxProps {
2
+ disabled?: boolean;
3
+ error?: Record<string, any>;
4
+ header?: string;
5
+ isMain?: boolean;
6
+ name: string;
7
+ onChange: (value: any) => void;
8
+ oneThatIsCreatingARelationWithAnother?: string;
9
+ target?: string;
10
+ value?: string;
11
+ }
12
+ export declare const RelationFormBox: ({ disabled, error, header, isMain, name, onChange, oneThatIsCreatingARelationWithAnother, target, value, }: RelationFormBoxProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,6 @@
1
+ interface RelationTargetPickerProps {
2
+ oneThatIsCreatingARelationWithAnother: string;
3
+ target: string;
4
+ }
5
+ export declare const RelationTargetPicker: ({ oneThatIsCreatingARelationWithAnother, target, }: RelationTargetPickerProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { BoxComponent, FlexComponent } from '@strapi/design-system';
3
+ declare const Wrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<Omit<import("@strapi/design-system").BoxProps<"div">, "ref"> & import("react").RefAttributes<unknown>, "ref"> & {
4
+ ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined;
5
+ }, never>> & Omit<BoxComponent, keyof import("react").Component<any, {}, any>>;
6
+ declare const IconWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<Omit<import("@strapi/design-system").BoxProps<"button">, "ref"> & import("react").RefAttributes<unknown>, "ref"> & {
7
+ ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined;
8
+ }, {
9
+ $isSelected: boolean;
10
+ }>> & Omit<BoxComponent<"button">, keyof import("react").Component<any, {}, any>>;
11
+ declare const InfosWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<Omit<Omit<import("@strapi/design-system").FlexProps<"div">, "ref"> & import("react").RefAttributes<unknown>, "ref"> & {
12
+ ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined;
13
+ }, never>> & Omit<FlexComponent, keyof import("react").Component<any, {}, any>>;
14
+ export { IconWrapper, InfosWrapper, Wrapper };
@@ -0,0 +1,8 @@
1
+ interface RelationNaturePickerProps {
2
+ naturePickerType: string;
3
+ oneThatIsCreatingARelationWithAnother: string;
4
+ relationType: string;
5
+ target: string;
6
+ }
7
+ export declare const RelationNaturePicker: ({ naturePickerType, oneThatIsCreatingARelationWithAnother, relationType, target, }: RelationNaturePickerProps) => import("react/jsx-runtime").JSX.Element | null;
8
+ export {};
@@ -0,0 +1,19 @@
1
+ interface SelectCategoryProps {
2
+ error?: string | null;
3
+ intlLabel: {
4
+ id: string;
5
+ defaultMessage: string;
6
+ values?: Record<string, any>;
7
+ };
8
+ name: string;
9
+ onChange: (value: {
10
+ target: {
11
+ name: string;
12
+ value: any;
13
+ type: string;
14
+ };
15
+ }) => void;
16
+ value?: string;
17
+ }
18
+ export declare const SelectCategory: ({ error, intlLabel, name, onChange, value, }: SelectCategoryProps) => import("react/jsx-runtime").JSX.Element;
19
+ export {};
@@ -0,0 +1,19 @@
1
+ interface SelectComponentProps {
2
+ componentToCreate?: Record<string, any> | null;
3
+ error?: string | null;
4
+ intlLabel: {
5
+ id: string;
6
+ defaultMessage: string;
7
+ values?: Record<string, any>;
8
+ };
9
+ isAddingAComponentToAnotherComponent: boolean;
10
+ isCreating: boolean;
11
+ isCreatingComponentWhileAddingAField: boolean;
12
+ name: string;
13
+ onChange: (value: any) => void;
14
+ targetUid: string;
15
+ value: string;
16
+ forTarget: string;
17
+ }
18
+ export declare const SelectComponent: ({ error, intlLabel, isAddingAComponentToAnotherComponent, isCreating, isCreatingComponentWhileAddingAField, componentToCreate, name, onChange, targetUid, forTarget, value, }: SelectComponentProps) => import("react/jsx-runtime").JSX.Element;
19
+ export {};
@@ -0,0 +1,19 @@
1
+ type SelectComponentsProps = {
2
+ dynamicZoneTarget: string;
3
+ intlLabel: {
4
+ id: string;
5
+ defaultMessage: string;
6
+ values?: object;
7
+ };
8
+ name: string;
9
+ onChange: (value: {
10
+ target: {
11
+ name: string;
12
+ value: string[];
13
+ type?: string;
14
+ };
15
+ }) => void;
16
+ value: string[];
17
+ };
18
+ export declare const SelectComponents: ({ dynamicZoneTarget, intlLabel, name, onChange, value, }: SelectComponentsProps) => import("react/jsx-runtime").JSX.Element;
19
+ export {};
@@ -0,0 +1,38 @@
1
+ import { PrimitiveType } from 'react-intl';
2
+ type SelectDateTypeProps = {
3
+ intlLabel: {
4
+ id: string;
5
+ defaultMessage: string;
6
+ values?: object;
7
+ };
8
+ error?: string;
9
+ modifiedData: {
10
+ default: number;
11
+ max: number;
12
+ min: number;
13
+ };
14
+ name: string;
15
+ onChange: (value: {
16
+ target: {
17
+ name: string;
18
+ value: string | number | null;
19
+ type?: string;
20
+ };
21
+ }) => void;
22
+ options: Array<{
23
+ metadatas: {
24
+ intlLabel: {
25
+ id: string;
26
+ defaultMessage: string;
27
+ values: Record<string, PrimitiveType> | undefined;
28
+ };
29
+ disabled?: boolean;
30
+ hidden?: boolean;
31
+ };
32
+ key: string | number;
33
+ value: string | number;
34
+ }>;
35
+ value?: string;
36
+ };
37
+ export declare const SelectDateType: ({ intlLabel, error, modifiedData, name, onChange, options, value, }: SelectDateTypeProps) => import("react/jsx-runtime").JSX.Element;
38
+ export {};
@@ -0,0 +1,42 @@
1
+ type SelectNumberProps = {
2
+ intlLabel: {
3
+ id: string;
4
+ defaultMessage: string;
5
+ values?: object;
6
+ };
7
+ error?: string;
8
+ modifiedData: {
9
+ default: number;
10
+ max: number;
11
+ min: number;
12
+ };
13
+ name: string;
14
+ onChange: (value: {
15
+ target: {
16
+ name: string;
17
+ value: string | number | null;
18
+ type?: string;
19
+ };
20
+ }) => void;
21
+ options: Array<{
22
+ metadatas: {
23
+ intlLabel: {
24
+ id: string;
25
+ defaultMessage: string;
26
+ };
27
+ disabled?: boolean;
28
+ hidden?: boolean;
29
+ };
30
+ key: string | number;
31
+ value: string | number;
32
+ }>;
33
+ value?: string;
34
+ };
35
+ export declare const SelectNumber: {
36
+ ({ intlLabel, error, modifiedData, name, onChange, options, value, }: SelectNumberProps): import("react/jsx-runtime").JSX.Element;
37
+ defaultProps: {
38
+ error: undefined;
39
+ value: string;
40
+ };
41
+ };
42
+ export {};
@@ -0,0 +1,17 @@
1
+ import type { IntlLabel } from '../types';
2
+ interface SingularNameProps {
3
+ description?: IntlLabel | null;
4
+ error?: string | null;
5
+ intlLabel: IntlLabel;
6
+ modifiedData: Record<string, any>;
7
+ name: string;
8
+ onChange: (value: {
9
+ target: {
10
+ name: string;
11
+ value: string;
12
+ };
13
+ }) => void;
14
+ value?: string | null;
15
+ }
16
+ export declare const SingularName: ({ description, error, intlLabel, modifiedData, name, onChange, value, }: SingularNameProps) => import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -0,0 +1,9 @@
1
+ interface TabFormProps {
2
+ form: Array<Record<string, any>>;
3
+ formErrors: Record<string, any>;
4
+ genericInputProps: Record<string, any>;
5
+ modifiedData: Record<string, any>;
6
+ onChange: (value: any) => void;
7
+ }
8
+ export declare const TabForm: ({ form, formErrors, genericInputProps, modifiedData, onChange, }: TabFormProps) => import("react/jsx-runtime").JSX.Element;
9
+ export {};
@@ -0,0 +1,20 @@
1
+ import { ReactNode } from 'react';
2
+ import type { IntlLabel } from '../types';
3
+ interface TextareaEnumProps {
4
+ description?: IntlLabel | null;
5
+ disabled?: boolean;
6
+ error?: string;
7
+ intlLabel: IntlLabel;
8
+ labelAction?: ReactNode;
9
+ name: string;
10
+ onChange: (value: {
11
+ target: {
12
+ name: string;
13
+ value: string | string[];
14
+ };
15
+ }) => void;
16
+ placeholder?: IntlLabel | null;
17
+ value: string | string[] | undefined;
18
+ }
19
+ export declare const TextareaEnum: ({ description, disabled, error, intlLabel, labelAction, name, onChange, placeholder, value, }: TextareaEnumProps) => import("react/jsx-runtime").JSX.Element;
20
+ export {};
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const Tr: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {
3
+ $isFromDynamicZone?: boolean | undefined;
4
+ $isChildOfDynamicZone?: boolean | undefined;
5
+ }>>;
@@ -0,0 +1,3 @@
1
+ export declare const UpperFirst: ({ content }: {
2
+ content: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export declare const PERMISSIONS: {
2
+ main: {
3
+ action: string;
4
+ subject: null;
5
+ }[];
6
+ };
@@ -0,0 +1,41 @@
1
+ /// <reference types="react" />
2
+ import type { SchemaType, Component } from '../types';
3
+ import type { Internal } from '@strapi/types';
4
+ export interface CustomFieldAttributeParams {
5
+ attributeToSet: Record<string, any>;
6
+ forTarget: SchemaType;
7
+ targetUid: Internal.UID.Schema;
8
+ initialAttribute: Record<string, any>;
9
+ }
10
+ export interface DataManagerContextValue {
11
+ addAttribute: (attributeToSet: Record<string, any>, forTarget: SchemaType, targetUid: Internal.UID.Schema, isEditing?: boolean, initialAttribute?: Record<string, any>, shouldAddComponentToData?: boolean) => void;
12
+ addCustomFieldAttribute: (params: CustomFieldAttributeParams) => void;
13
+ editCustomFieldAttribute: (params: CustomFieldAttributeParams) => void;
14
+ addCreatedComponentToDynamicZone: (dynamicZoneTarget: string, componentsToAdd: string[]) => void;
15
+ createSchema: (data: Record<string, any>, schemaType: SchemaType, uid: Internal.UID.Schema, componentCategory?: string, shouldAddComponentToData?: boolean) => void;
16
+ changeDynamicZoneComponents: (dynamicZoneTarget: string, newComponents: string[]) => void;
17
+ removeAttribute: (mainDataKey: string, attributeToRemoveName: string, componentUid?: string) => void;
18
+ deleteCategory: (categoryUid: string) => void;
19
+ deleteData: () => void;
20
+ editCategory: (categoryUid: string, body: any) => void;
21
+ removeComponentFromDynamicZone: (dzName: string, componentToRemoveIndex: number) => void;
22
+ setModifiedData: () => void;
23
+ sortedContentTypesList: any[];
24
+ submitData: (additionalContentTypeData?: Record<string, any>) => Promise<void>;
25
+ updateSchema: (data: Record<string, any>, schemaType: SchemaType, componentUID: Internal.UID.Component) => void;
26
+ components: Record<Internal.UID.Component, Component>;
27
+ componentsGroupedByCategory: Record<string, Component[]>;
28
+ componentsThatHaveOtherComponentInTheirAttributes: any[];
29
+ contentTypes: Record<string, any>;
30
+ initialData: Record<string, any>;
31
+ isInContentTypeView: boolean;
32
+ isInDevelopmentMode?: boolean;
33
+ modifiedData: Record<string, any>;
34
+ nestedComponents: any[];
35
+ reservedNames: {
36
+ models: string[];
37
+ attributes: string[];
38
+ };
39
+ allComponentsCategories: any[];
40
+ }
41
+ export declare const DataManagerContext: import("react").Context<DataManagerContextValue>;
@@ -0,0 +1,38 @@
1
+ import * as React from 'react';
2
+ import { INITIAL_STATE_DATA } from '../components/FormModalNavigationProvider/constants';
3
+ import type { ModalEventProps, State } from '../components/FormModalNavigationProvider/FormModalNavigationProvider';
4
+ import type { SchemaType } from '../types';
5
+ import type { Internal } from '@strapi/types';
6
+ export interface FormModalNavigationContextValue {
7
+ onCloseModal: () => void;
8
+ onOpenModalAddField: (options: {
9
+ forTarget: SchemaType;
10
+ targetUid?: Internal.UID.Schema;
11
+ }) => void;
12
+ onClickSelectField: (option: ModalEventProps) => void;
13
+ onClickSelectCustomField: (option: ModalEventProps) => void;
14
+ onNavigateToChooseAttributeModal: (options: ModalEventProps) => void;
15
+ onNavigateToAddCompoToDZModal: (options: ModalEventProps) => void;
16
+ onOpenModalAddComponentsToDZ: (options: ModalEventProps) => void;
17
+ onNavigateToCreateComponentStep2: () => void;
18
+ onOpenModalCreateSchema: (options: State) => void;
19
+ onOpenModalEditCategory: (categoryName: string) => void;
20
+ onOpenModalEditField: (options: ModalEventProps) => void;
21
+ onOpenModalEditCustomField: (options: ModalEventProps) => void;
22
+ onOpenModalEditSchema: (options: ModalEventProps) => void;
23
+ setFormModalNavigationState: (value: React.SetStateAction<typeof INITIAL_STATE_DATA>) => void;
24
+ actionType: string;
25
+ attributeName: string;
26
+ attributeType: string;
27
+ customFieldUid: string;
28
+ categoryName: string;
29
+ dynamicZoneTarget: string;
30
+ forTarget: SchemaType;
31
+ modalType: string;
32
+ isOpen: boolean;
33
+ showBackLink: boolean;
34
+ kind: string;
35
+ step: string;
36
+ targetUid: Internal.UID.Schema;
37
+ }
38
+ export declare const FormModalNavigationContext: React.Context<FormModalNavigationContextValue>;
@@ -0,0 +1 @@
1
+ export declare const useDataManager: () => import("../contexts/DataManagerContext").DataManagerContextValue;
@@ -0,0 +1 @@
1
+ export declare const useFormModalNavigation: () => import("../contexts/FormModalNavigationContext").FormModalNavigationContextValue;
@@ -0,0 +1,5 @@
1
+ interface CurveProps {
2
+ color: string;
3
+ }
4
+ export declare const Curve: (props: CurveProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,16 @@
1
+ declare const _default: {
2
+ register(app: any): void;
3
+ bootstrap(): void;
4
+ registerTrads({ locales }: {
5
+ locales: string[];
6
+ }): Promise<({
7
+ data: {
8
+ [x: string]: string;
9
+ };
10
+ locale: string;
11
+ } | {
12
+ data: {};
13
+ locale: string;
14
+ })[]>;
15
+ };
16
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const App: () => import("react/jsx-runtime").JSX.Element;
2
+ export default App;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ interface LinkToCMSettingsViewProps {
3
+ disabled: boolean;
4
+ contentTypeKind?: string;
5
+ isInContentTypeView?: boolean;
6
+ isTemporary?: boolean;
7
+ targetUid?: string;
8
+ }
9
+ export declare const LinkToCMSettingsView: import("react").MemoExoticComponent<({ disabled, isTemporary, isInContentTypeView, contentTypeKind, targetUid, }: LinkToCMSettingsViewProps) => import("react/jsx-runtime").JSX.Element | null>;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ declare const ListView: () => import("react/jsx-runtime").JSX.Element;
2
+ export default ListView;
@@ -0,0 +1 @@
1
+ export declare const RecursivePath: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const pluginId: string;
@@ -0,0 +1,3 @@
1
+ export declare const reducers: {
2
+ [x: string]: ((state: import("./types").DataManagerStateType | undefined, action: import("./components/DataManagerProvider/reducer").Action) => import("./types").DataManagerStateType) | ((state: any, action: import("redux").AnyAction) => (base?: ((draftState: any) => any) | undefined, ...args: unknown[]) => ((draftState: any) => any) | Promise<(draftState: any) => any>);
3
+ };
@@ -0,0 +1,57 @@
1
+ import type { Internal, Schema } from '@strapi/types';
2
+ export type IntlLabel = {
3
+ id: string;
4
+ defaultMessage: string;
5
+ values?: Record<string, any>;
6
+ };
7
+ export type SchemaType = 'contentType' | 'component' | 'components';
8
+ export type DifferentAttributesKind = 'Populatable' | 'NonPopulatable' | 'Any';
9
+ export type AttributeType = Schema.Attribute.AnyAttribute & {
10
+ name?: string;
11
+ target?: string;
12
+ targetAttribute?: string | null;
13
+ customField?: any;
14
+ default?: any;
15
+ repeatable?: boolean;
16
+ [key: string]: any;
17
+ };
18
+ export interface Component {
19
+ uid: Internal.UID.Component;
20
+ category?: string;
21
+ schema: any;
22
+ isTemporary?: boolean;
23
+ attributes?: AttributeType[];
24
+ [key: string]: any;
25
+ }
26
+ export interface ContentType {
27
+ uid?: Internal.UID.ContentType;
28
+ isTemporary?: boolean;
29
+ visible?: boolean;
30
+ name?: string;
31
+ title?: string;
32
+ plugin?: string;
33
+ to?: string;
34
+ kind?: 'singleType' | 'collectionType';
35
+ restrictRelationsTo?: unknown;
36
+ schema?: any;
37
+ [key: string]: any;
38
+ }
39
+ export type Components = Record<string, Component>;
40
+ export type ContentTypes = Record<string, ContentType>;
41
+ export interface DataManagerStateType {
42
+ components: Components;
43
+ contentTypes?: ContentTypes;
44
+ initialComponents: Components;
45
+ initialContentTypes: ContentTypes;
46
+ initialData: Record<string, any>;
47
+ modifiedData: {
48
+ components: Components;
49
+ contentTypes: ContentTypes;
50
+ contentType?: ContentType;
51
+ component?: Component;
52
+ };
53
+ reservedNames: Record<string, string>;
54
+ isLoading: boolean;
55
+ isLoadingForDataToBeSet: boolean;
56
+ [key: string]: any;
57
+ }
@@ -0,0 +1,2 @@
1
+ import { AttributeType } from '../types';
2
+ export declare const findAttribute: (attributes: AttributeType[], attributeToFind: string) => AttributeType | undefined;
@@ -0,0 +1 @@
1
+ export declare const formsAPI: any;
@@ -0,0 +1 @@
1
+ export declare const getAttributeDisplayedType: (type: string) => string;
@@ -0,0 +1,6 @@
1
+ import type { Schema } from '@strapi/types';
2
+ /**
3
+ *
4
+ * Retrieves the relation type
5
+ */
6
+ export declare const getRelationType: (relation: Schema.Attribute.RelationKind.WithTarget | undefined, targetAttribute?: string | null) => Schema.Attribute.RelationKind.WithTarget | undefined;
@@ -0,0 +1 @@
1
+ export declare const getTrad: (id: string) => string;
@@ -0,0 +1,7 @@
1
+ import type { MessageDescriptor, PrimitiveType } from 'react-intl';
2
+ import type { ValidationError } from 'yup';
3
+ interface TranslationMessage extends MessageDescriptor {
4
+ values?: Record<string, PrimitiveType>;
5
+ }
6
+ declare const getYupInnerErrors: (error: ValidationError) => Record<string, TranslationMessage>;
7
+ export { getYupInnerErrors };
@@ -0,0 +1,2 @@
1
+ export { getTrad } from './getTrad';
2
+ export { isAllowedContentTypesForRelations } from './isAllowedContentTypesForRelations';
@@ -0,0 +1,2 @@
1
+ import type { ContentType } from '../types';
2
+ export declare const isAllowedContentTypesForRelations: (contentType: ContentType) => boolean;
@@ -0,0 +1,2 @@
1
+ declare const makeUnique: <T extends string>(array: T[]) => T[];
2
+ export { makeUnique };
@@ -0,0 +1 @@
1
+ export declare const nameToSlug: (name: string) => string;
@@ -0,0 +1,3 @@
1
+ type TradOptions = Record<string, string>;
2
+ declare const prefixPluginTranslations: (trad: TradOptions, pluginId: string) => TradOptions;
3
+ export { prefixPluginTranslations };
@@ -0,0 +1 @@
1
+ export declare const startsWithANumber: (value: string) => boolean;
@@ -0,0 +1 @@
1
+ export declare const toRegressedEnumValue: (value: string | undefined) => string;