@rakun-kit/core 1.3.9 → 1.3.10

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 (349) hide show
  1. package/dist/esm/api/context.d.ts +1 -1
  2. package/dist/esm/api/context.js +3 -3
  3. package/dist/esm/api/operations/catalog.d.ts +2 -2
  4. package/dist/esm/api/operations/catalog.js +1 -1
  5. package/dist/esm/api/operations/custom.d.ts +1 -1
  6. package/dist/esm/api/operations/custom.js +1 -1
  7. package/dist/esm/api/operations/index.d.ts +92 -92
  8. package/dist/esm/api/operations/index.js +8 -8
  9. package/dist/esm/api/operations/manager-contract.d.ts +65 -65
  10. package/dist/esm/api/operations/manager-contract.js +5 -5
  11. package/dist/esm/api/operations/manager.d.ts +66 -66
  12. package/dist/esm/api/operations/manager.js +51 -51
  13. package/dist/esm/api/operations/tracing.d.ts +1 -1
  14. package/dist/esm/api/operations/tracing.js +1 -1
  15. package/dist/esm/api/operations/types.d.ts +1 -1
  16. package/dist/esm/api/operations/web-contract.d.ts +19 -19
  17. package/dist/esm/api/operations/web-contract.js +3 -3
  18. package/dist/esm/api/operations/web.d.ts +20 -20
  19. package/dist/esm/api/operations/web.js +9 -9
  20. package/dist/esm/api/proxies/context.d.ts +2 -2
  21. package/dist/esm/api/proxies/index.d.ts +8 -8
  22. package/dist/esm/api/proxies/index.js +1 -1
  23. package/dist/esm/api/routes/manager/apiOperations.d.ts +3 -3
  24. package/dist/esm/api/routes/manager/apiOperations.js +5 -5
  25. package/dist/esm/api/routes/manager/auth/accountInfo.d.ts +2 -2
  26. package/dist/esm/api/routes/manager/auth/accountInfo.js +3 -3
  27. package/dist/esm/api/routes/manager/auth/deleteSession.d.ts +2 -2
  28. package/dist/esm/api/routes/manager/auth/deleteSession.js +3 -3
  29. package/dist/esm/api/routes/manager/auth/getSession.d.ts +5 -5
  30. package/dist/esm/api/routes/manager/auth/login.d.ts +1 -1
  31. package/dist/esm/api/routes/manager/auth/login.js +4 -4
  32. package/dist/esm/api/routes/manager/auth/logout.d.ts +1 -1
  33. package/dist/esm/api/routes/manager/auth/logout.js +3 -3
  34. package/dist/esm/api/routes/manager/auth/markTourSeen.d.ts +6 -6
  35. package/dist/esm/api/routes/manager/auth/markTourSeen.js +3 -3
  36. package/dist/esm/api/routes/manager/auth/totp/confirmTotp.d.ts +2 -2
  37. package/dist/esm/api/routes/manager/auth/totp/confirmTotp.js +2 -2
  38. package/dist/esm/api/routes/manager/auth/totp/enrollTotp.d.ts +1 -1
  39. package/dist/esm/api/routes/manager/auth/totp/enrollTotp.js +3 -3
  40. package/dist/esm/api/routes/manager/auth/totp/verifyTotp.d.ts +1 -1
  41. package/dist/esm/api/routes/manager/auth/totp/verifyTotp.js +3 -3
  42. package/dist/esm/api/routes/manager/auth/updateAccount.d.ts +6 -6
  43. package/dist/esm/api/routes/manager/auth/updateAccount.js +3 -3
  44. package/dist/esm/api/routes/manager/auth/updatePassword.d.ts +2 -2
  45. package/dist/esm/api/routes/manager/auth/updatePassword.js +3 -3
  46. package/dist/esm/api/routes/manager/auth/updateTutorialPreferences.d.ts +6 -6
  47. package/dist/esm/api/routes/manager/auth/updateTutorialPreferences.js +3 -3
  48. package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthOptions.js +4 -4
  49. package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthVerify.js +4 -4
  50. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.d.ts +2 -2
  51. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.js +3 -3
  52. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.d.ts +1 -1
  53. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.js +4 -4
  54. package/dist/esm/api/routes/manager/backups/create.d.ts +2 -2
  55. package/dist/esm/api/routes/manager/backups/create.js +2 -2
  56. package/dist/esm/api/routes/manager/backups/list.d.ts +2 -2
  57. package/dist/esm/api/routes/manager/backups/list.js +2 -2
  58. package/dist/esm/api/routes/manager/backups/restore.d.ts +2 -2
  59. package/dist/esm/api/routes/manager/backups/restore.js +3 -3
  60. package/dist/esm/api/routes/manager/contentTypes.d.ts +6 -6
  61. package/dist/esm/api/routes/manager/contentTypes.js +1 -1
  62. package/dist/esm/api/routes/manager/create.d.ts +4 -4
  63. package/dist/esm/api/routes/manager/create.js +8 -8
  64. package/dist/esm/api/routes/manager/delete.d.ts +2 -2
  65. package/dist/esm/api/routes/manager/delete.js +8 -8
  66. package/dist/esm/api/routes/manager/duplicate.d.ts +4 -4
  67. package/dist/esm/api/routes/manager/duplicate.js +5 -5
  68. package/dist/esm/api/routes/manager/get.d.ts +2 -2
  69. package/dist/esm/api/routes/manager/get.js +8 -8
  70. package/dist/esm/api/routes/manager/languages.d.ts +3 -3
  71. package/dist/esm/api/routes/manager/languages.js +1 -1
  72. package/dist/esm/api/routes/manager/list.d.ts +2 -2
  73. package/dist/esm/api/routes/manager/list.js +9 -9
  74. package/dist/esm/api/routes/manager/literals/list.d.ts +2 -2
  75. package/dist/esm/api/routes/manager/literals/list.js +5 -5
  76. package/dist/esm/api/routes/manager/literals/upsert.d.ts +2 -2
  77. package/dist/esm/api/routes/manager/literals/upsert.js +6 -6
  78. package/dist/esm/api/routes/manager/media/createFolder.d.ts +2 -2
  79. package/dist/esm/api/routes/manager/media/createFolder.js +7 -7
  80. package/dist/esm/api/routes/manager/media/deleteFolder.d.ts +2 -2
  81. package/dist/esm/api/routes/manager/media/deleteFolder.js +7 -7
  82. package/dist/esm/api/routes/manager/media/deleteMediaStorage.js +2 -2
  83. package/dist/esm/api/routes/manager/media/finalizeUpload.d.ts +2 -2
  84. package/dist/esm/api/routes/manager/media/finalizeUpload.js +10 -10
  85. package/dist/esm/api/routes/manager/media/getMediaUrl.d.ts +2 -2
  86. package/dist/esm/api/routes/manager/media/getMediaUrl.js +3 -3
  87. package/dist/esm/api/routes/manager/media/listFolders.d.ts +2 -2
  88. package/dist/esm/api/routes/manager/media/listFolders.js +4 -4
  89. package/dist/esm/api/routes/manager/media/prepareUpload.d.ts +2 -2
  90. package/dist/esm/api/routes/manager/media/prepareUpload.js +4 -4
  91. package/dist/esm/api/routes/manager/media/resolveMediaRecordUrls.js +1 -1
  92. package/dist/esm/api/routes/manager/media/uploadBinary.d.ts +1 -1
  93. package/dist/esm/api/routes/manager/media/uploadBinary.js +6 -6
  94. package/dist/esm/api/routes/manager/migrations/list.d.ts +2 -2
  95. package/dist/esm/api/routes/manager/migrations/list.js +2 -2
  96. package/dist/esm/api/routes/manager/permissions.d.ts +1 -1
  97. package/dist/esm/api/routes/manager/permissions.js +2 -2
  98. package/dist/esm/api/routes/manager/preview/create.d.ts +2 -2
  99. package/dist/esm/api/routes/manager/preview/create.js +13 -13
  100. package/dist/esm/api/routes/manager/regenerateRoutes.d.ts +1 -1
  101. package/dist/esm/api/routes/manager/regenerateRoutes.js +2 -2
  102. package/dist/esm/api/routes/manager/setDefaultLanguage.d.ts +2 -2
  103. package/dist/esm/api/routes/manager/setDefaultLanguage.js +4 -4
  104. package/dist/esm/api/routes/manager/translateDocument.d.ts +2 -2
  105. package/dist/esm/api/routes/manager/translateDocument.js +10 -10
  106. package/dist/esm/api/routes/manager/trash.d.ts +2 -2
  107. package/dist/esm/api/routes/manager/trash.js +6 -6
  108. package/dist/esm/api/routes/manager/update.d.ts +4 -4
  109. package/dist/esm/api/routes/manager/update.js +8 -8
  110. package/dist/esm/api/routes/manager/versions/get.d.ts +2 -2
  111. package/dist/esm/api/routes/manager/versions/get.js +2 -2
  112. package/dist/esm/api/routes/manager/versions/list.d.ts +2 -2
  113. package/dist/esm/api/routes/manager/versions/list.js +2 -2
  114. package/dist/esm/api/routes/manager/versions/restore.d.ts +2 -2
  115. package/dist/esm/api/routes/manager/versions/restore.js +4 -4
  116. package/dist/esm/api/routes/web/page.d.ts +4 -4
  117. package/dist/esm/api/routes/web/page.js +15 -15
  118. package/dist/esm/api/routes/web/previewPage.d.ts +6 -6
  119. package/dist/esm/api/routes/web/previewPage.js +8 -8
  120. package/dist/esm/api/routes/web/robots.d.ts +1 -1
  121. package/dist/esm/api/routes/web/robots.js +2 -2
  122. package/dist/esm/api/routes/web/seo.d.ts +1 -1
  123. package/dist/esm/api/routes/web/sitemap.d.ts +1 -1
  124. package/dist/esm/api/routes/web/sitemap.js +3 -3
  125. package/dist/esm/api/sessionCookie.d.ts +1 -1
  126. package/dist/esm/api/utils/checkFailureCase.d.ts +1 -1
  127. package/dist/esm/api/utils/checkFailureCase.js +1 -1
  128. package/dist/esm/api/utils/checkOwnership.d.ts +2 -2
  129. package/dist/esm/api/utils/checkOwnership.js +4 -4
  130. package/dist/esm/api/utils/checkPermissions.d.ts +2 -2
  131. package/dist/esm/api/utils/checkPermissions.js +3 -3
  132. package/dist/esm/api/utils/getLanguages.d.ts +3 -3
  133. package/dist/esm/api/utils/getLanguages.js +2 -2
  134. package/dist/esm/api/utils/getLink.d.ts +2 -2
  135. package/dist/esm/api/utils/getLink.js +4 -4
  136. package/dist/esm/api/utils/getUser.d.ts +5 -5
  137. package/dist/esm/api/utils/getUser.js +4 -4
  138. package/dist/esm/api/utils/index.d.ts +23 -23
  139. package/dist/esm/api/utils/index.js +23 -23
  140. package/dist/esm/api/utils/parseId.d.ts +1 -1
  141. package/dist/esm/api/utils/parseId.js +1 -1
  142. package/dist/esm/api/utils/passwords.js +1 -1
  143. package/dist/esm/api/utils/populates/populateLinks.d.ts +2 -2
  144. package/dist/esm/api/utils/populates/populateLinks.js +4 -4
  145. package/dist/esm/api/utils/populates/populateRelations.d.ts +2 -2
  146. package/dist/esm/api/utils/populates/populateRelations.js +6 -6
  147. package/dist/esm/api/utils/redirects/resolveRedirect.js +2 -2
  148. package/dist/esm/api/utils/requireContentType.d.ts +1 -1
  149. package/dist/esm/api/utils/requireContentType.js +2 -2
  150. package/dist/esm/api/utils/routes/revalidatePath.js +5 -5
  151. package/dist/esm/api/utils/routes/routeDefinitions.d.ts +1 -1
  152. package/dist/esm/api/utils/routes/routeMapHelpers.d.ts +5 -5
  153. package/dist/esm/api/utils/routes/routeMapHelpers.js +7 -7
  154. package/dist/esm/api/utils/routes/syncConfiguredRoutes.d.ts +2 -2
  155. package/dist/esm/api/utils/routes/syncConfiguredRoutes.js +5 -5
  156. package/dist/esm/api/utils/routes/updateRoutesMap.d.ts +2 -2
  157. package/dist/esm/api/utils/routes/updateRoutesMap.js +4 -4
  158. package/dist/esm/api/utils/transformObjectIdsToStrings.js +1 -1
  159. package/dist/esm/api/utils/transformStringToObjectIds.js +1 -1
  160. package/dist/esm/api/utils/translate.d.ts +1 -1
  161. package/dist/esm/api/utils/translate.js +3 -3
  162. package/dist/esm/api/utils/validateModule.d.ts +1 -1
  163. package/dist/esm/api/utils/validateModule.js +2 -2
  164. package/dist/esm/bootstrapState.d.ts +9 -9
  165. package/dist/esm/client.d.ts +42 -42
  166. package/dist/esm/client.js +26 -26
  167. package/dist/esm/contracts.d.ts +38 -38
  168. package/dist/esm/contracts.js +38 -38
  169. package/dist/esm/index.d.ts +37 -37
  170. package/dist/esm/index.js +34 -34
  171. package/dist/esm/internal-content-types/Backup.d.ts +57 -57
  172. package/dist/esm/internal-content-types/Backup.js +2 -2
  173. package/dist/esm/internal-content-types/BackupDocument.d.ts +114 -114
  174. package/dist/esm/internal-content-types/BackupDocument.js +2 -2
  175. package/dist/esm/internal-content-types/ContentVersion.d.ts +139 -139
  176. package/dist/esm/internal-content-types/ContentVersion.js +2 -2
  177. package/dist/esm/internal-content-types/HelloWorld.d.ts +30 -30
  178. package/dist/esm/internal-content-types/HelloWorld.js +2 -2
  179. package/dist/esm/internal-content-types/Language.d.ts +39 -39
  180. package/dist/esm/internal-content-types/Language.js +2 -2
  181. package/dist/esm/internal-content-types/LiteralTranslation.d.ts +59 -59
  182. package/dist/esm/internal-content-types/LiteralTranslation.js +2 -2
  183. package/dist/esm/internal-content-types/ManagerRole.d.ts +31 -31
  184. package/dist/esm/internal-content-types/ManagerRole.js +3 -3
  185. package/dist/esm/internal-content-types/ManagerUser.d.ts +200 -200
  186. package/dist/esm/internal-content-types/ManagerUser.js +3 -3
  187. package/dist/esm/internal-content-types/Media.d.ts +261 -261
  188. package/dist/esm/internal-content-types/Media.js +3 -3
  189. package/dist/esm/internal-content-types/MediaFolder.d.ts +88 -88
  190. package/dist/esm/internal-content-types/MediaFolder.js +2 -2
  191. package/dist/esm/internal-content-types/MfaChallenge.d.ts +532 -532
  192. package/dist/esm/internal-content-types/MfaChallenge.js +3 -3
  193. package/dist/esm/internal-content-types/Migration.d.ts +133 -133
  194. package/dist/esm/internal-content-types/Migration.js +2 -2
  195. package/dist/esm/internal-content-types/MigrationLock.d.ts +16 -16
  196. package/dist/esm/internal-content-types/MigrationLock.js +2 -2
  197. package/dist/esm/internal-content-types/Page.d.ts +1267 -1267
  198. package/dist/esm/internal-content-types/Page.js +4 -4
  199. package/dist/esm/internal-content-types/PreviewSnapshot.d.ts +213 -213
  200. package/dist/esm/internal-content-types/PreviewSnapshot.js +2 -2
  201. package/dist/esm/internal-content-types/Redirect.d.ts +146 -146
  202. package/dist/esm/internal-content-types/Redirect.js +2 -2
  203. package/dist/esm/internal-content-types/RobotsRule.d.ts +103 -103
  204. package/dist/esm/internal-content-types/RobotsRule.js +2 -2
  205. package/dist/esm/internal-content-types/Route.d.ts +151 -151
  206. package/dist/esm/internal-content-types/Route.js +2 -2
  207. package/dist/esm/internal-content-types/RouteLayoutModule.d.ts +164 -164
  208. package/dist/esm/internal-content-types/RouteLayoutModule.js +2 -2
  209. package/dist/esm/internal-content-types/RouteLayoutModuleOverride.d.ts +143 -143
  210. package/dist/esm/internal-content-types/RouteLayoutModuleOverride.js +2 -2
  211. package/dist/esm/internal-content-types/RouteMap.d.ts +143 -143
  212. package/dist/esm/internal-content-types/RouteMap.js +2 -2
  213. package/dist/esm/internal-content-types/RouteSettings.d.ts +1298 -1298
  214. package/dist/esm/internal-content-types/RouteSettings.js +3 -3
  215. package/dist/esm/internal-content-types/SchemaState.d.ts +65 -65
  216. package/dist/esm/internal-content-types/SchemaState.js +2 -2
  217. package/dist/esm/internal-content-types/Seo.d.ts +430 -430
  218. package/dist/esm/internal-content-types/Seo.js +2 -2
  219. package/dist/esm/internal-content-types/SeoSettings.d.ts +491 -491
  220. package/dist/esm/internal-content-types/SeoSettings.js +3 -3
  221. package/dist/esm/internal-content-types/Session.d.ts +495 -495
  222. package/dist/esm/internal-content-types/Session.js +3 -3
  223. package/dist/esm/internal-content-types/UserMfa.d.ts +464 -464
  224. package/dist/esm/internal-content-types/UserMfa.js +3 -3
  225. package/dist/esm/internal-content-types/WebAuthnCredential.d.ts +586 -586
  226. package/dist/esm/internal-content-types/WebAuthnCredential.js +3 -3
  227. package/dist/esm/internal-content-types/WebAuthnRegChallenge.d.ts +524 -524
  228. package/dist/esm/internal-content-types/WebAuthnRegChallenge.js +3 -3
  229. package/dist/esm/internal-content-types/index.d.ts +29 -29
  230. package/dist/esm/internal-content-types/index.js +29 -29
  231. package/dist/esm/lib/ContentType.d.ts +2 -2
  232. package/dist/esm/lib/ContentType.js +1 -1
  233. package/dist/esm/lib/Permissions.d.ts +1 -1
  234. package/dist/esm/lib/Registry.d.ts +4 -4
  235. package/dist/esm/lib/Registry.js +1 -1
  236. package/dist/esm/lib/errors/AppError.d.ts +1 -1
  237. package/dist/esm/lib/errors/AppError.js +1 -1
  238. package/dist/esm/lib/errors/index.d.ts +4 -4
  239. package/dist/esm/lib/errors/index.js +3 -3
  240. package/dist/esm/lib/errors/throwAppError.d.ts +1 -1
  241. package/dist/esm/lib/errors/throwAppError.js +3 -3
  242. package/dist/esm/lib/fields/Boolean.d.ts +1 -1
  243. package/dist/esm/lib/fields/Boolean.js +1 -1
  244. package/dist/esm/lib/fields/ContentReference.d.ts +2 -2
  245. package/dist/esm/lib/fields/ContentReference.js +2 -2
  246. package/dist/esm/lib/fields/Date.d.ts +1 -1
  247. package/dist/esm/lib/fields/Date.js +1 -1
  248. package/dist/esm/lib/fields/Field.d.ts +12 -12
  249. package/dist/esm/lib/fields/Fields.d.ts +13 -13
  250. package/dist/esm/lib/fields/Fields.js +13 -13
  251. package/dist/esm/lib/fields/File.d.ts +1 -1
  252. package/dist/esm/lib/fields/File.js +2 -2
  253. package/dist/esm/lib/fields/Iterator.d.ts +2 -2
  254. package/dist/esm/lib/fields/Iterator.js +3 -3
  255. package/dist/esm/lib/fields/Link.d.ts +1 -1
  256. package/dist/esm/lib/fields/Link.js +2 -2
  257. package/dist/esm/lib/fields/List.d.ts +1 -1
  258. package/dist/esm/lib/fields/List.js +1 -1
  259. package/dist/esm/lib/fields/Number.d.ts +1 -1
  260. package/dist/esm/lib/fields/Number.js +1 -1
  261. package/dist/esm/lib/fields/Relation.d.ts +3 -3
  262. package/dist/esm/lib/fields/Relation.js +3 -3
  263. package/dist/esm/lib/fields/Select.d.ts +1 -1
  264. package/dist/esm/lib/fields/Select.js +1 -1
  265. package/dist/esm/lib/fields/SelfRelation.d.ts +1 -1
  266. package/dist/esm/lib/fields/SelfRelation.js +2 -2
  267. package/dist/esm/lib/fields/SimpleList.d.ts +1 -1
  268. package/dist/esm/lib/fields/SimpleList.js +1 -1
  269. package/dist/esm/lib/fields/String.d.ts +1 -1
  270. package/dist/esm/lib/fields/String.js +3 -3
  271. package/dist/esm/lib/fields/index.d.ts +15 -15
  272. package/dist/esm/lib/fields/index.js +15 -15
  273. package/dist/esm/lib/types/index.d.ts +2 -2
  274. package/dist/esm/lib/utils/getListField.d.ts +1 -1
  275. package/dist/esm/lib/utils/getSchemas.d.ts +1 -1
  276. package/dist/esm/lib/utils/getTranslation.d.ts +2 -2
  277. package/dist/esm/lib/utils/getTranslation.js +1 -1
  278. package/dist/esm/lib/utils/isTranslatableObject.d.ts +1 -1
  279. package/dist/esm/lib/utils/translateObject.d.ts +2 -2
  280. package/dist/esm/lib/utils/translateObject.js +3 -3
  281. package/dist/esm/literals/definitions.d.ts +1 -1
  282. package/dist/esm/literals/definitions.js +1 -1
  283. package/dist/esm/literals/index.d.ts +3 -3
  284. package/dist/esm/literals/index.js +3 -3
  285. package/dist/esm/literals/manager.d.ts +1 -1
  286. package/dist/esm/literals/manager.js +1 -1
  287. package/dist/esm/manager.d.ts +264 -264
  288. package/dist/esm/manager.js +2 -2
  289. package/dist/esm/media/imageOptimization.d.ts +1 -1
  290. package/dist/esm/media/imageOptimization.js +2 -2
  291. package/dist/esm/media/index.d.ts +4 -4
  292. package/dist/esm/media/index.js +3 -3
  293. package/dist/esm/media/mediaService.d.ts +1 -1
  294. package/dist/esm/orm/backups.js +5 -5
  295. package/dist/esm/orm/createIndexes.js +2 -2
  296. package/dist/esm/orm/database.js +3 -3
  297. package/dist/esm/orm/dbService.d.ts +6 -6
  298. package/dist/esm/orm/index.d.ts +2 -2
  299. package/dist/esm/orm/index.js +16 -16
  300. package/dist/esm/orm/migrations.d.ts +1 -1
  301. package/dist/esm/orm/migrations.js +4 -4
  302. package/dist/esm/orm/mongodbPeer.js +1 -1
  303. package/dist/esm/orm/operations/clear.d.ts +1 -1
  304. package/dist/esm/orm/operations/clear.js +1 -1
  305. package/dist/esm/orm/operations/create.d.ts +3 -3
  306. package/dist/esm/orm/operations/create.js +5 -5
  307. package/dist/esm/orm/operations/delete.d.ts +3 -3
  308. package/dist/esm/orm/operations/delete.js +3 -3
  309. package/dist/esm/orm/operations/find.d.ts +2 -2
  310. package/dist/esm/orm/operations/find.js +3 -3
  311. package/dist/esm/orm/operations/findDependencies.d.ts +2 -2
  312. package/dist/esm/orm/operations/findDependencies.js +4 -4
  313. package/dist/esm/orm/operations/get.d.ts +3 -3
  314. package/dist/esm/orm/operations/get.js +3 -3
  315. package/dist/esm/orm/operations/getAll.d.ts +2 -2
  316. package/dist/esm/orm/operations/getAll.js +2 -2
  317. package/dist/esm/orm/operations/list.d.ts +2 -2
  318. package/dist/esm/orm/operations/list.js +3 -3
  319. package/dist/esm/orm/operations/update.d.ts +4 -4
  320. package/dist/esm/orm/operations/update.js +6 -6
  321. package/dist/esm/orm/operations/updateMany.d.ts +3 -3
  322. package/dist/esm/orm/operations/updateMany.js +3 -3
  323. package/dist/esm/orm/operations/upsert.d.ts +3 -3
  324. package/dist/esm/orm/operations/upsert.js +4 -4
  325. package/dist/esm/orm/utils/deepDeleteNulls.js +1 -1
  326. package/dist/esm/orm/utils/parseId.d.ts +1 -1
  327. package/dist/esm/orm/utils/parseId.js +1 -1
  328. package/dist/esm/orm/utils/transformObjectIdsToStrings.js +1 -1
  329. package/dist/esm/orm/utils/transformStringToObjectIds.js +1 -1
  330. package/dist/esm/orm/versions.d.ts +1 -1
  331. package/dist/esm/orm/versions.js +7 -7
  332. package/dist/esm/schemas/manager/literals/upsert.js +1 -1
  333. package/dist/esm/schemas/manager/media/finalizeUpload.js +1 -1
  334. package/dist/esm/schemas/manager/media/getMediaUrl.js +1 -1
  335. package/dist/esm/schemas/manager/media/listFolders.js +1 -1
  336. package/dist/esm/schemas/web/page.d.ts +28 -28
  337. package/dist/esm/schemas/web/page.js +1 -1
  338. package/dist/esm/schemas/web/previewPage.d.ts +20 -20
  339. package/dist/esm/schemas/web/previewPage.js +1 -1
  340. package/dist/esm/translation/document.d.ts +3 -3
  341. package/dist/esm/translation/index.d.ts +4 -4
  342. package/dist/esm/translation/index.js +3 -3
  343. package/dist/esm/translation/translationService.d.ts +1 -1
  344. package/dist/esm/web/client.d.ts +1 -1
  345. package/dist/esm/web/client.js +1 -1
  346. package/dist/esm/web/index.d.ts +2 -2
  347. package/dist/esm/web/index.js +2 -2
  348. package/dist/esm/web/page.d.ts +1 -1
  349. package/package.json +1 -1
@@ -1,39 +1,39 @@
1
- export * from "./schemas/manager/create.js";
2
- export * from "./schemas/manager/duplicate.js";
3
- export * from "./schemas/manager/update.js";
4
- export * from "./schemas/manager/delete.js";
5
- export * from "./schemas/manager/get.js";
6
- export * from "./schemas/manager/list.js";
7
- export * from "./schemas/manager/apiOperations.js";
8
- export * from "./schemas/manager/setDefaultLanguage.js";
9
- export * from "./schemas/manager/backups.js";
10
- export * from "./schemas/manager/migrations.js";
11
- export * from "./schemas/manager/versions.js";
12
- export * from "./schemas/manager/translateDocument.js";
13
- export * from "./schemas/manager/preview.js";
14
- export * from "./schemas/manager/updatePassword.js";
15
- export * from "./schemas/manager/literals/list.js";
16
- export * from "./schemas/manager/literals/upsert.js";
17
- export * from "./schemas/manager/auth/accountInfo.js";
18
- export * from "./schemas/manager/auth/tutorials.js";
19
- export * from "./schemas/manager/auth/login.js";
20
- export * from "./schemas/manager/auth/logout.js";
21
- export * from "./schemas/manager/auth/deleteSession.js";
22
- export * from "./schemas/manager/auth/totp/enrollTotp.js";
23
- export * from "./schemas/manager/auth/totp/confirmTotp.js";
24
- export * from "./schemas/manager/auth/totp/verifyTotp.js";
25
- export * from "./schemas/manager/auth/webauthn/webauthnRegisterOptions.js";
26
- export * from "./schemas/manager/auth/webauthn/webauthnRegisterVerify.js";
27
- export * from "./schemas/manager/auth/webauthn/webauthnAuthOptions.js";
28
- export * from "./schemas/manager/auth/webauthn/webauthnAuthVerify.js";
29
- export * from "./schemas/manager/media/prepareUpload.js";
30
- export * from "./schemas/manager/media/finalizeUpload.js";
31
- export * from "./schemas/manager/media/getMediaUrl.js";
32
- export * from "./schemas/manager/media/createFolder.js";
33
- export * from "./schemas/manager/media/listFolders.js";
34
- export * from "./schemas/manager/media/deleteFolder.js";
35
- export * from "./schemas/web/page.js";
36
- export * from "./schemas/web/previewPage.js";
37
- export * from "./schemas/web/sitemap.js";
38
- export * from "./schemas/web/robots.js";
1
+ export * from "./schemas/manager/create";
2
+ export * from "./schemas/manager/duplicate";
3
+ export * from "./schemas/manager/update";
4
+ export * from "./schemas/manager/delete";
5
+ export * from "./schemas/manager/get";
6
+ export * from "./schemas/manager/list";
7
+ export * from "./schemas/manager/apiOperations";
8
+ export * from "./schemas/manager/setDefaultLanguage";
9
+ export * from "./schemas/manager/backups";
10
+ export * from "./schemas/manager/migrations";
11
+ export * from "./schemas/manager/versions";
12
+ export * from "./schemas/manager/translateDocument";
13
+ export * from "./schemas/manager/preview";
14
+ export * from "./schemas/manager/updatePassword";
15
+ export * from "./schemas/manager/literals/list";
16
+ export * from "./schemas/manager/literals/upsert";
17
+ export * from "./schemas/manager/auth/accountInfo";
18
+ export * from "./schemas/manager/auth/tutorials";
19
+ export * from "./schemas/manager/auth/login";
20
+ export * from "./schemas/manager/auth/logout";
21
+ export * from "./schemas/manager/auth/deleteSession";
22
+ export * from "./schemas/manager/auth/totp/enrollTotp";
23
+ export * from "./schemas/manager/auth/totp/confirmTotp";
24
+ export * from "./schemas/manager/auth/totp/verifyTotp";
25
+ export * from "./schemas/manager/auth/webauthn/webauthnRegisterOptions";
26
+ export * from "./schemas/manager/auth/webauthn/webauthnRegisterVerify";
27
+ export * from "./schemas/manager/auth/webauthn/webauthnAuthOptions";
28
+ export * from "./schemas/manager/auth/webauthn/webauthnAuthVerify";
29
+ export * from "./schemas/manager/media/prepareUpload";
30
+ export * from "./schemas/manager/media/finalizeUpload";
31
+ export * from "./schemas/manager/media/getMediaUrl";
32
+ export * from "./schemas/manager/media/createFolder";
33
+ export * from "./schemas/manager/media/listFolders";
34
+ export * from "./schemas/manager/media/deleteFolder";
35
+ export * from "./schemas/web/page";
36
+ export * from "./schemas/web/previewPage";
37
+ export * from "./schemas/web/sitemap";
38
+ export * from "./schemas/web/robots";
39
39
  //# sourceMappingURL=contracts.d.ts.map
@@ -1,39 +1,39 @@
1
- export * from "./schemas/manager/create.js";
2
- export * from "./schemas/manager/duplicate.js";
3
- export * from "./schemas/manager/update.js";
4
- export * from "./schemas/manager/delete.js";
5
- export * from "./schemas/manager/get.js";
6
- export * from "./schemas/manager/list.js";
7
- export * from "./schemas/manager/apiOperations.js";
8
- export * from "./schemas/manager/setDefaultLanguage.js";
9
- export * from "./schemas/manager/backups.js";
10
- export * from "./schemas/manager/migrations.js";
11
- export * from "./schemas/manager/versions.js";
12
- export * from "./schemas/manager/translateDocument.js";
13
- export * from "./schemas/manager/preview.js";
14
- export * from "./schemas/manager/updatePassword.js";
15
- export * from "./schemas/manager/literals/list.js";
16
- export * from "./schemas/manager/literals/upsert.js";
17
- export * from "./schemas/manager/auth/accountInfo.js";
18
- export * from "./schemas/manager/auth/tutorials.js";
19
- export * from "./schemas/manager/auth/login.js";
20
- export * from "./schemas/manager/auth/logout.js";
21
- export * from "./schemas/manager/auth/deleteSession.js";
22
- export * from "./schemas/manager/auth/totp/enrollTotp.js";
23
- export * from "./schemas/manager/auth/totp/confirmTotp.js";
24
- export * from "./schemas/manager/auth/totp/verifyTotp.js";
25
- export * from "./schemas/manager/auth/webauthn/webauthnRegisterOptions.js";
26
- export * from "./schemas/manager/auth/webauthn/webauthnRegisterVerify.js";
27
- export * from "./schemas/manager/auth/webauthn/webauthnAuthOptions.js";
28
- export * from "./schemas/manager/auth/webauthn/webauthnAuthVerify.js";
29
- export * from "./schemas/manager/media/prepareUpload.js";
30
- export * from "./schemas/manager/media/finalizeUpload.js";
31
- export * from "./schemas/manager/media/getMediaUrl.js";
32
- export * from "./schemas/manager/media/createFolder.js";
33
- export * from "./schemas/manager/media/listFolders.js";
34
- export * from "./schemas/manager/media/deleteFolder.js";
35
- export * from "./schemas/web/page.js";
36
- export * from "./schemas/web/previewPage.js";
37
- export * from "./schemas/web/sitemap.js";
38
- export * from "./schemas/web/robots.js";
1
+ export * from "./schemas/manager/create";
2
+ export * from "./schemas/manager/duplicate";
3
+ export * from "./schemas/manager/update";
4
+ export * from "./schemas/manager/delete";
5
+ export * from "./schemas/manager/get";
6
+ export * from "./schemas/manager/list";
7
+ export * from "./schemas/manager/apiOperations";
8
+ export * from "./schemas/manager/setDefaultLanguage";
9
+ export * from "./schemas/manager/backups";
10
+ export * from "./schemas/manager/migrations";
11
+ export * from "./schemas/manager/versions";
12
+ export * from "./schemas/manager/translateDocument";
13
+ export * from "./schemas/manager/preview";
14
+ export * from "./schemas/manager/updatePassword";
15
+ export * from "./schemas/manager/literals/list";
16
+ export * from "./schemas/manager/literals/upsert";
17
+ export * from "./schemas/manager/auth/accountInfo";
18
+ export * from "./schemas/manager/auth/tutorials";
19
+ export * from "./schemas/manager/auth/login";
20
+ export * from "./schemas/manager/auth/logout";
21
+ export * from "./schemas/manager/auth/deleteSession";
22
+ export * from "./schemas/manager/auth/totp/enrollTotp";
23
+ export * from "./schemas/manager/auth/totp/confirmTotp";
24
+ export * from "./schemas/manager/auth/totp/verifyTotp";
25
+ export * from "./schemas/manager/auth/webauthn/webauthnRegisterOptions";
26
+ export * from "./schemas/manager/auth/webauthn/webauthnRegisterVerify";
27
+ export * from "./schemas/manager/auth/webauthn/webauthnAuthOptions";
28
+ export * from "./schemas/manager/auth/webauthn/webauthnAuthVerify";
29
+ export * from "./schemas/manager/media/prepareUpload";
30
+ export * from "./schemas/manager/media/finalizeUpload";
31
+ export * from "./schemas/manager/media/getMediaUrl";
32
+ export * from "./schemas/manager/media/createFolder";
33
+ export * from "./schemas/manager/media/listFolders";
34
+ export * from "./schemas/manager/media/deleteFolder";
35
+ export * from "./schemas/web/page";
36
+ export * from "./schemas/web/previewPage";
37
+ export * from "./schemas/web/sitemap";
38
+ export * from "./schemas/web/robots";
39
39
  //# sourceMappingURL=contracts.js.map
@@ -1,43 +1,43 @@
1
- import { type RakunBootstrapOptions } from "./bootstrapState.js";
1
+ import { type RakunBootstrapOptions } from "./bootstrapState";
2
2
  export declare const ensureRakunInitialized: () => Promise<void>;
3
3
  export declare const runWithRakunRequestTrace: <T>(method: string, url: string, run: () => T) => T;
4
4
  export declare const rakunBootstrap: (options: RakunBootstrapOptions) => void;
5
5
  export declare const ensureRakunBootstrap: (options: RakunBootstrapOptions) => void;
6
6
  export type { RakunBootstrapOptions };
7
- export type { ApiProxies, InputProxy, OutputProxy } from "./api/proxies/index.js";
8
- export { getInputProxy, getOutputProxy, getProxies, ProxyOutput, } from "./api/proxies/index.js";
9
- export { getProxyContext, runProxyContext, type ProxyContext, } from "./api/proxies/context.js";
10
- export { getRakunBootstrapOptions } from "./bootstrapState.js";
11
- export { closeDatabase, closeMongoService, createMongoConnection, createMongoService, getMongoService, } from "./orm/index.js";
12
- export type { DBMutationOptions, DBService } from "./orm/dbService.js";
13
- export type { MongoConfig } from "./orm/database.js";
14
- export { default as ContentType, DocumentVisibility, type ContentTypeMigration, type ContentTypeMigrationContext, type VersioningOptions, } from "./lib/ContentType.js";
15
- export * from "./lib/fields/index.js";
16
- export * from "./translation/index.js";
17
- export { type AnyRakunOperation, type AnyRakunOperationContract, createRakunOperationDefinitions, createManagerOperationContracts, createManagerOperationDefinitions, createOperationManifest, createOperationPath, createWebOperationContracts, createWebOperationDefinitions, defineOperation, defineOperationContract, mergeOperationContracts, type RakunOperationAccess, type RakunOperationContractDefinition, type RakunOperationContractMap, type RakunOperationDefinitionFromContract, type RakunOperationDefinition, type RakunOperationHttpMethod, type RakunOperationImplementationFromContract, type RakunOperationImplementationMap, type RakunOperationKind, type RakunOperationManifestFromContracts, type RakunOperationMeta, type RakunOperationMap, type RakunOperationSuccessArgs, } from "./api/operations/index.js";
18
- export { createRequestContext, type CookieOptions, type RakunRequestContext, type RakunRequestContextInput, } from "./api/context.js";
19
- export { getSessionCookie, setSessionCookie } from "./api/sessionCookie.js";
20
- export { handleMediaBinaryUpload, type MediaBinaryUploadRequest, type MediaBinaryUploadResponse, } from "./api/routes/manager/media/uploadBinary.js";
21
- export { parseCookieHeader } from "./lib/utils/parseCookieHeader.js";
22
- export { getPermissionList, hasPermissions, mapPermissions, PermissionsList, type Permission, } from "./lib/Permissions.js";
23
- export type { LiteralCatalogInput } from "./literals/index.js";
24
- export type { MaybeTranslatableValue, TranslatableValue } from "./lib/types/index.js";
25
- export { getListField } from "./lib/utils/getListField.js";
26
- export { getTranslation } from "./lib/utils/getTranslation.js";
27
- export { encodeContentTypeForManager } from "./lib/Registry.js";
28
- export { Id, isId, type Id as IdType } from "./lib/utils/id.js";
29
- export { isTranslatableObject } from "./lib/utils/isTranslatableObject.js";
30
- export { slugify } from "./lib/utils/slugify.js";
31
- export * from "./api/utils/index.js";
32
- export { Language, ManagerUser, Seo, SeoSettings, } from "./internal-content-types/index.js";
33
- export type { LanguageSchema } from "./internal-content-types/Language.js";
34
- export type { ManagerUserSchema } from "./internal-content-types/ManagerUser.js";
35
- export type { EncodedContentType } from "./lib/ContentType.js";
36
- export type { ListOutput } from "./schemas/manager/list.js";
37
- export type { FinalizeUploadInput, FinalizeUploadOutput, } from "./schemas/manager/media/finalizeUpload.js";
38
- export type { GetMediaUrlInput, GetMediaUrlOutput, } from "./schemas/manager/media/getMediaUrl.js";
39
- export type { PrepareUploadInput, PrepareUploadOutput, } from "./schemas/manager/media/prepareUpload.js";
40
- export * from "./media/index.js";
41
- export * from "./contracts.js";
42
- export * from "./web/index.js";
7
+ export type { ApiProxies, InputProxy, OutputProxy } from "./api/proxies";
8
+ export { getInputProxy, getOutputProxy, getProxies, ProxyOutput, } from "./api/proxies";
9
+ export { getProxyContext, runProxyContext, type ProxyContext, } from "./api/proxies/context";
10
+ export { getRakunBootstrapOptions } from "./bootstrapState";
11
+ export { closeDatabase, closeMongoService, createMongoConnection, createMongoService, getMongoService, } from "./orm";
12
+ export type { DBMutationOptions, DBService } from "./orm/dbService";
13
+ export type { MongoConfig } from "./orm/database";
14
+ export { default as ContentType, DocumentVisibility, type ContentTypeMigration, type ContentTypeMigrationContext, type VersioningOptions, } from "./lib/ContentType";
15
+ export * from "./lib/fields";
16
+ export * from "./translation";
17
+ export { type AnyRakunOperation, type AnyRakunOperationContract, createRakunOperationDefinitions, createManagerOperationContracts, createManagerOperationDefinitions, createOperationManifest, createOperationPath, createWebOperationContracts, createWebOperationDefinitions, defineOperation, defineOperationContract, mergeOperationContracts, type RakunOperationAccess, type RakunOperationContractDefinition, type RakunOperationContractMap, type RakunOperationDefinitionFromContract, type RakunOperationDefinition, type RakunOperationHttpMethod, type RakunOperationImplementationFromContract, type RakunOperationImplementationMap, type RakunOperationKind, type RakunOperationManifestFromContracts, type RakunOperationMeta, type RakunOperationMap, type RakunOperationSuccessArgs, } from "./api/operations";
18
+ export { createRequestContext, type CookieOptions, type RakunRequestContext, type RakunRequestContextInput, } from "./api/context";
19
+ export { getSessionCookie, setSessionCookie } from "./api/sessionCookie";
20
+ export { handleMediaBinaryUpload, type MediaBinaryUploadRequest, type MediaBinaryUploadResponse, } from "./api/routes/manager/media/uploadBinary";
21
+ export { parseCookieHeader } from "./lib/utils/parseCookieHeader";
22
+ export { getPermissionList, hasPermissions, mapPermissions, PermissionsList, type Permission, } from "./lib/Permissions";
23
+ export type { LiteralCatalogInput } from "./literals";
24
+ export type { MaybeTranslatableValue, TranslatableValue } from "./lib/types";
25
+ export { getListField } from "./lib/utils/getListField";
26
+ export { getTranslation } from "./lib/utils/getTranslation";
27
+ export { encodeContentTypeForManager } from "./lib/Registry";
28
+ export { Id, isId, type Id as IdType } from "./lib/utils/id";
29
+ export { isTranslatableObject } from "./lib/utils/isTranslatableObject";
30
+ export { slugify } from "./lib/utils/slugify";
31
+ export * from "./api/utils";
32
+ export { Language, ManagerUser, Seo, SeoSettings, } from "./internal-content-types";
33
+ export type { LanguageSchema } from "./internal-content-types/Language";
34
+ export type { ManagerUserSchema } from "./internal-content-types/ManagerUser";
35
+ export type { EncodedContentType } from "./lib/ContentType";
36
+ export type { ListOutput } from "./schemas/manager/list";
37
+ export type { FinalizeUploadInput, FinalizeUploadOutput, } from "./schemas/manager/media/finalizeUpload";
38
+ export type { GetMediaUrlInput, GetMediaUrlOutput, } from "./schemas/manager/media/getMediaUrl";
39
+ export type { PrepareUploadInput, PrepareUploadOutput, } from "./schemas/manager/media/prepareUpload";
40
+ export * from "./media";
41
+ export * from "./contracts";
42
+ export * from "./web";
43
43
  //# sourceMappingURL=index.d.ts.map
package/dist/esm/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import { registerInternalContentType, registerContentType, } from "./lib/Registry.js";
2
- import { createLogger, Logger } from "./lib/Logger.js";
3
- import * as internalContentTypes from "./internal-content-types/index.js";
4
- import { syncConfiguredRoutes } from "./api/utils/routes/syncConfiguredRoutes.js";
5
- import { createMongoConnection, getMongoService } from "./orm/index.js";
6
- import { runMigrations } from "./orm/migrations.js";
7
- import { createMediaService } from "./media/index.js";
8
- import { createTranslationService } from "./translation/index.js";
9
- import { getRakunBootstrapOptions, hasRakunBootstrapped, setRakunBootstrapOptions, } from "./bootstrapState.js";
10
- import { setLiteralCatalog } from "./literals/definitions.js";
1
+ import { registerInternalContentType, registerContentType, } from "./lib/Registry";
2
+ import { createLogger, Logger } from "./lib/Logger";
3
+ import * as internalContentTypes from "./internal-content-types";
4
+ import { syncConfiguredRoutes } from "./api/utils/routes/syncConfiguredRoutes";
5
+ import { createMongoConnection, getMongoService } from "./orm";
6
+ import { runMigrations } from "./orm/migrations";
7
+ import { createMediaService } from "./media";
8
+ import { createTranslationService } from "./translation";
9
+ import { getRakunBootstrapOptions, hasRakunBootstrapped, setRakunBootstrapOptions, } from "./bootstrapState";
10
+ import { setLiteralCatalog } from "./literals/definitions";
11
11
  let initPromise = null;
12
12
  const ensureLogger = () => {
13
13
  const bootstrapOptions = getRakunBootstrapOptions();
@@ -141,28 +141,28 @@ export const ensureRakunBootstrap = (options) => {
141
141
  }
142
142
  rakunBootstrap(options);
143
143
  };
144
- export { getInputProxy, getOutputProxy, getProxies, ProxyOutput, } from "./api/proxies/index.js";
145
- export { getProxyContext, runProxyContext, } from "./api/proxies/context.js";
146
- export { getRakunBootstrapOptions } from "./bootstrapState.js";
147
- export { closeDatabase, closeMongoService, createMongoConnection, createMongoService, getMongoService, } from "./orm/index.js";
148
- export { default as ContentType, DocumentVisibility, } from "./lib/ContentType.js";
149
- export * from "./lib/fields/index.js";
150
- export * from "./translation/index.js";
151
- export { createRakunOperationDefinitions, createManagerOperationContracts, createManagerOperationDefinitions, createOperationManifest, createOperationPath, createWebOperationContracts, createWebOperationDefinitions, defineOperation, defineOperationContract, mergeOperationContracts, } from "./api/operations/index.js";
152
- export { createRequestContext, } from "./api/context.js";
153
- export { getSessionCookie, setSessionCookie } from "./api/sessionCookie.js";
154
- export { handleMediaBinaryUpload, } from "./api/routes/manager/media/uploadBinary.js";
155
- export { parseCookieHeader } from "./lib/utils/parseCookieHeader.js";
156
- export { getPermissionList, hasPermissions, mapPermissions, PermissionsList, } from "./lib/Permissions.js";
157
- export { getListField } from "./lib/utils/getListField.js";
158
- export { getTranslation } from "./lib/utils/getTranslation.js";
159
- export { encodeContentTypeForManager } from "./lib/Registry.js";
160
- export { Id, isId } from "./lib/utils/id.js";
161
- export { isTranslatableObject } from "./lib/utils/isTranslatableObject.js";
162
- export { slugify } from "./lib/utils/slugify.js";
163
- export * from "./api/utils/index.js";
164
- export { Language, ManagerUser, Seo, SeoSettings, } from "./internal-content-types/index.js";
165
- export * from "./media/index.js";
166
- export * from "./contracts.js";
167
- export * from "./web/index.js";
144
+ export { getInputProxy, getOutputProxy, getProxies, ProxyOutput, } from "./api/proxies";
145
+ export { getProxyContext, runProxyContext, } from "./api/proxies/context";
146
+ export { getRakunBootstrapOptions } from "./bootstrapState";
147
+ export { closeDatabase, closeMongoService, createMongoConnection, createMongoService, getMongoService, } from "./orm";
148
+ export { default as ContentType, DocumentVisibility, } from "./lib/ContentType";
149
+ export * from "./lib/fields";
150
+ export * from "./translation";
151
+ export { createRakunOperationDefinitions, createManagerOperationContracts, createManagerOperationDefinitions, createOperationManifest, createOperationPath, createWebOperationContracts, createWebOperationDefinitions, defineOperation, defineOperationContract, mergeOperationContracts, } from "./api/operations";
152
+ export { createRequestContext, } from "./api/context";
153
+ export { getSessionCookie, setSessionCookie } from "./api/sessionCookie";
154
+ export { handleMediaBinaryUpload, } from "./api/routes/manager/media/uploadBinary";
155
+ export { parseCookieHeader } from "./lib/utils/parseCookieHeader";
156
+ export { getPermissionList, hasPermissions, mapPermissions, PermissionsList, } from "./lib/Permissions";
157
+ export { getListField } from "./lib/utils/getListField";
158
+ export { getTranslation } from "./lib/utils/getTranslation";
159
+ export { encodeContentTypeForManager } from "./lib/Registry";
160
+ export { Id, isId } from "./lib/utils/id";
161
+ export { isTranslatableObject } from "./lib/utils/isTranslatableObject";
162
+ export { slugify } from "./lib/utils/slugify";
163
+ export * from "./api/utils";
164
+ export { Language, ManagerUser, Seo, SeoSettings, } from "./internal-content-types";
165
+ export * from "./media";
166
+ export * from "./contracts";
167
+ export * from "./web";
168
168
  //# sourceMappingURL=index.js.map
@@ -1,26 +1,26 @@
1
- import ContentType from "../lib/ContentType.js";
2
- import type { DBOutput } from "../lib/types/index.js";
1
+ import ContentType from "../lib/ContentType";
2
+ import type { DBOutput } from "../lib/types";
3
3
  export declare const Backup: ContentType<{
4
- reason: import("../index.js").StringField<"Textarea", import("../index.js").DefaultFieldState>;
5
- contentTypes: import("../index.js").WithFieldState<import("../index.js").FieldLike<(string | null | undefined)[], (string | undefined)[], (string | undefined)[], import("../index.js").SimpleListMeta<import("../index.js").StringField<"Text", import("../index.js").DefaultFieldState>>, import("../index.js").DefaultFieldState> & import("../index.js").PopulatableFieldLike<(string | undefined)[], import("../index.js").DefaultFieldState> & {
6
- field: import("../index.js").StringField<"Text", import("../index.js").DefaultFieldState>;
7
- }, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
8
- createdAt: import("../index.js").WithFieldState<{
4
+ reason: import("..").StringField<"Textarea", import("..").DefaultFieldState>;
5
+ contentTypes: import("..").WithFieldState<import("..").FieldLike<(string | null | undefined)[], (string | undefined)[], (string | undefined)[], import("..").SimpleListMeta<import("..").StringField<"Text", import("..").DefaultFieldState>>, import("..").DefaultFieldState> & import("..").PopulatableFieldLike<(string | undefined)[], import("..").DefaultFieldState> & {
6
+ field: import("..").StringField<"Text", import("..").DefaultFieldState>;
7
+ }, import("..").SetRequired<import("..").DefaultFieldState>>;
8
+ createdAt: import("..").WithFieldState<{
9
9
  kind: "field";
10
10
  readonly __fieldTypes?: {
11
11
  input: Date;
12
12
  db: Date;
13
13
  output: Date;
14
- meta: import("../index.js").DateMeta<"DateTime">;
15
- state: import("../index.js").DefaultFieldState;
14
+ meta: import("..").DateMeta<"DateTime">;
15
+ state: import("..").DefaultFieldState;
16
16
  } | undefined;
17
- meta: import("../index.js").DateMeta<"DateTime">;
18
- state: import("../index.js").DefaultFieldState;
17
+ meta: import("..").DateMeta<"DateTime">;
18
+ state: import("..").DefaultFieldState;
19
19
  toZod: () => import("zod").ZodType<Date, unknown, import("zod/v4/core").$ZodTypeInternals<Date, unknown>>;
20
20
  getInputSchema: () => import("zod").ZodType<Date | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Date | null | undefined, unknown>>;
21
21
  getSchema: () => import("zod").ZodType<Date | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Date | undefined, unknown>>;
22
22
  getOutputSchema: () => import("zod").ZodType<Date | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Date | undefined, unknown>>;
23
- getConfig: () => import("../index.js").DateMeta<"DateTime">;
23
+ getConfig: () => import("..").DateMeta<"DateTime">;
24
24
  getIsRequired: () => false;
25
25
  getIsTranslatable: () => false;
26
26
  getVisibility: () => "all";
@@ -32,19 +32,19 @@ export declare const Backup: ContentType<{
32
32
  input: Date;
33
33
  db: Date;
34
34
  output: Date;
35
- meta: import("../index.js").DateMeta<"DateTime">;
36
- state: import("../index.js").FieldState;
35
+ meta: import("..").DateMeta<"DateTime">;
36
+ state: import("..").FieldState;
37
37
  } | undefined;
38
- meta: import("../index.js").DateMeta<"DateTime">;
39
- state: import("../index.js").FieldState;
38
+ meta: import("..").DateMeta<"DateTime">;
39
+ state: import("..").FieldState;
40
40
  toZod: () => import("zod").ZodType<Date, unknown, import("zod/v4/core").$ZodTypeInternals<Date, unknown>>;
41
41
  getInputSchema: () => import("zod").ZodType<Date | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Date | null | undefined, unknown>>;
42
42
  getSchema: () => import("zod").ZodType<Date | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Date | undefined, unknown>>;
43
43
  getOutputSchema: () => import("zod").ZodType<Date | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<Date | undefined, unknown>>;
44
- getConfig: () => import("../index.js").DateMeta<"DateTime">;
44
+ getConfig: () => import("..").DateMeta<"DateTime">;
45
45
  getIsRequired: () => boolean;
46
46
  getIsTranslatable: () => boolean;
47
- getVisibility: () => import("../index.js").Visibility;
47
+ getVisibility: () => import("..").Visibility;
48
48
  getCondition: () => {
49
49
  field: string;
50
50
  equals: unknown;
@@ -82,25 +82,25 @@ export declare const Backup: ContentType<{
82
82
  lte?: number | undefined;
83
83
  };
84
84
  } | undefined;
85
- }, NextUi extends import("../index.js").DateUI>(this: TThis, ui: NextUi) => import("../index.js").DateField<NextUi, import("../index.js").FieldStateOf<TThis>>;
86
- }, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
87
- createdBy: import("../index.js").StringField<"Id", import("../index.js").DefaultFieldState>;
88
- documentCount: import("../index.js").WithFieldState<{
85
+ }, NextUi extends import("..").DateUI>(this: TThis, ui: NextUi) => import("..").DateField<NextUi, import("..").FieldStateOf<TThis>>;
86
+ }, import("..").SetRequired<import("..").DefaultFieldState>>;
87
+ createdBy: import("..").StringField<"Id", import("..").DefaultFieldState>;
88
+ documentCount: import("..").WithFieldState<{
89
89
  kind: "field";
90
90
  readonly __fieldTypes?: {
91
91
  input: number;
92
92
  db: number;
93
93
  output: number;
94
- meta: import("../index.js").NumberMeta;
95
- state: import("../index.js").DefaultFieldState;
94
+ meta: import("..").NumberMeta;
95
+ state: import("..").DefaultFieldState;
96
96
  } | undefined;
97
- meta: import("../index.js").NumberMeta;
98
- state: import("../index.js").DefaultFieldState;
97
+ meta: import("..").NumberMeta;
98
+ state: import("..").DefaultFieldState;
99
99
  toZod: () => import("zod").ZodType<number, unknown, import("zod/v4/core").$ZodTypeInternals<number, unknown>>;
100
100
  getInputSchema: () => import("zod").ZodType<number | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<number | null | undefined, unknown>>;
101
101
  getSchema: () => import("zod").ZodType<number | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<number | undefined, unknown>>;
102
102
  getOutputSchema: () => import("zod").ZodType<number | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<number | undefined, unknown>>;
103
- getConfig: () => import("../index.js").NumberMeta;
103
+ getConfig: () => import("..").NumberMeta;
104
104
  getIsRequired: () => false;
105
105
  getIsTranslatable: () => false;
106
106
  getVisibility: () => "all";
@@ -112,19 +112,19 @@ export declare const Backup: ContentType<{
112
112
  input: number;
113
113
  db: number;
114
114
  output: number;
115
- meta: import("../index.js").NumberMeta;
116
- state: import("../index.js").FieldState;
115
+ meta: import("..").NumberMeta;
116
+ state: import("..").FieldState;
117
117
  } | undefined;
118
- meta: import("../index.js").NumberMeta;
119
- state: import("../index.js").FieldState;
118
+ meta: import("..").NumberMeta;
119
+ state: import("..").FieldState;
120
120
  toZod: () => import("zod").ZodType<number, unknown, import("zod/v4/core").$ZodTypeInternals<number, unknown>>;
121
121
  getInputSchema: () => import("zod").ZodType<number | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<number | null | undefined, unknown>>;
122
122
  getSchema: () => import("zod").ZodType<number | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<number | undefined, unknown>>;
123
123
  getOutputSchema: () => import("zod").ZodType<number | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<number | undefined, unknown>>;
124
- getConfig: () => import("../index.js").NumberMeta;
124
+ getConfig: () => import("..").NumberMeta;
125
125
  getIsRequired: () => boolean;
126
126
  getIsTranslatable: () => boolean;
127
- getVisibility: () => import("../index.js").Visibility;
127
+ getVisibility: () => import("..").Visibility;
128
128
  getCondition: () => {
129
129
  field: string;
130
130
  equals: unknown;
@@ -162,26 +162,26 @@ export declare const Backup: ContentType<{
162
162
  lte?: number | undefined;
163
163
  };
164
164
  } | undefined;
165
- }>(this: TThis, value: number, message?: string) => import("../index.js").NumberField<import("../index.js").FieldStateOf<TThis>>;
165
+ }>(this: TThis, value: number, message?: string) => import("..").NumberField<import("..").FieldStateOf<TThis>>;
166
166
  max: <TThis extends {
167
167
  kind: "field";
168
168
  readonly __fieldTypes?: {
169
169
  input: number;
170
170
  db: number;
171
171
  output: number;
172
- meta: import("../index.js").NumberMeta;
173
- state: import("../index.js").FieldState;
172
+ meta: import("..").NumberMeta;
173
+ state: import("..").FieldState;
174
174
  } | undefined;
175
- meta: import("../index.js").NumberMeta;
176
- state: import("../index.js").FieldState;
175
+ meta: import("..").NumberMeta;
176
+ state: import("..").FieldState;
177
177
  toZod: () => import("zod").ZodType<number, unknown, import("zod/v4/core").$ZodTypeInternals<number, unknown>>;
178
178
  getInputSchema: () => import("zod").ZodType<number | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<number | null | undefined, unknown>>;
179
179
  getSchema: () => import("zod").ZodType<number | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<number | undefined, unknown>>;
180
180
  getOutputSchema: () => import("zod").ZodType<number | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<number | undefined, unknown>>;
181
- getConfig: () => import("../index.js").NumberMeta;
181
+ getConfig: () => import("..").NumberMeta;
182
182
  getIsRequired: () => boolean;
183
183
  getIsTranslatable: () => boolean;
184
- getVisibility: () => import("../index.js").Visibility;
184
+ getVisibility: () => import("..").Visibility;
185
185
  getCondition: () => {
186
186
  field: string;
187
187
  equals: unknown;
@@ -219,24 +219,24 @@ export declare const Backup: ContentType<{
219
219
  lte?: number | undefined;
220
220
  };
221
221
  } | undefined;
222
- }>(this: TThis, value: number, message?: string) => import("../index.js").NumberField<import("../index.js").FieldStateOf<TThis>>;
223
- }, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
224
- status: import("../index.js").WithFieldState<{
222
+ }>(this: TThis, value: number, message?: string) => import("..").NumberField<import("..").FieldStateOf<TThis>>;
223
+ }, import("..").SetRequired<import("..").DefaultFieldState>>;
224
+ status: import("..").WithFieldState<{
225
225
  kind: "field";
226
226
  readonly __fieldTypes?: {
227
227
  input: "completed" | "failed";
228
228
  db: "completed" | "failed";
229
229
  output: "completed" | "failed";
230
- meta: import("../index.js").SelectMeta<readonly ["completed", "failed"], false>;
231
- state: import("../index.js").DefaultFieldState;
230
+ meta: import("..").SelectMeta<readonly ["completed", "failed"], false>;
231
+ state: import("..").DefaultFieldState;
232
232
  } | undefined;
233
- meta: import("../index.js").SelectMeta<readonly ["completed", "failed"], false>;
234
- state: import("../index.js").DefaultFieldState;
233
+ meta: import("..").SelectMeta<readonly ["completed", "failed"], false>;
234
+ state: import("..").DefaultFieldState;
235
235
  toZod: () => import("zod").ZodType<"completed" | "failed", unknown, import("zod/v4/core").$ZodTypeInternals<"completed" | "failed", unknown>>;
236
236
  getInputSchema: () => import("zod").ZodType<"completed" | "failed" | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<"completed" | "failed" | null | undefined, unknown>>;
237
237
  getSchema: () => import("zod").ZodType<"completed" | "failed" | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<"completed" | "failed" | undefined, unknown>>;
238
238
  getOutputSchema: () => import("zod").ZodType<"completed" | "failed" | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<"completed" | "failed" | undefined, unknown>>;
239
- getConfig: () => import("../index.js").SelectMeta<readonly ["completed", "failed"], false>;
239
+ getConfig: () => import("..").SelectMeta<readonly ["completed", "failed"], false>;
240
240
  getIsRequired: () => false;
241
241
  getIsTranslatable: () => false;
242
242
  getVisibility: () => "all";
@@ -248,19 +248,19 @@ export declare const Backup: ContentType<{
248
248
  input: "completed" | "failed";
249
249
  db: "completed" | "failed";
250
250
  output: "completed" | "failed";
251
- meta: import("../index.js").SelectMeta<readonly ["completed", "failed"], false>;
252
- state: import("../index.js").FieldState;
251
+ meta: import("..").SelectMeta<readonly ["completed", "failed"], false>;
252
+ state: import("..").FieldState;
253
253
  } | undefined;
254
- meta: import("../index.js").SelectMeta<readonly ["completed", "failed"], false>;
255
- state: import("../index.js").FieldState;
254
+ meta: import("..").SelectMeta<readonly ["completed", "failed"], false>;
255
+ state: import("..").FieldState;
256
256
  toZod: () => import("zod").ZodType<"completed" | "failed", unknown, import("zod/v4/core").$ZodTypeInternals<"completed" | "failed", unknown>>;
257
257
  getInputSchema: () => import("zod").ZodType<"completed" | "failed" | null | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<"completed" | "failed" | null | undefined, unknown>>;
258
258
  getSchema: () => import("zod").ZodType<"completed" | "failed" | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<"completed" | "failed" | undefined, unknown>>;
259
259
  getOutputSchema: () => import("zod").ZodType<"completed" | "failed" | undefined, unknown, import("zod/v4/core").$ZodTypeInternals<"completed" | "failed" | undefined, unknown>>;
260
- getConfig: () => import("../index.js").SelectMeta<readonly ["completed", "failed"], false>;
260
+ getConfig: () => import("..").SelectMeta<readonly ["completed", "failed"], false>;
261
261
  getIsRequired: () => boolean;
262
262
  getIsTranslatable: () => boolean;
263
- getVisibility: () => import("../index.js").Visibility;
263
+ getVisibility: () => import("..").Visibility;
264
264
  getCondition: () => {
265
265
  field: string;
266
266
  equals: unknown;
@@ -298,9 +298,9 @@ export declare const Backup: ContentType<{
298
298
  lte?: number | undefined;
299
299
  };
300
300
  } | undefined;
301
- }>(this: TThis) => import("../index.js").SelectField<readonly ["completed", "failed"], true, import("../index.js").FieldStateOf<TThis>>;
302
- }, import("../index.js").SetRequired<import("../index.js").DefaultFieldState>>;
303
- error: import("../index.js").StringField<"Textarea", import("../index.js").DefaultFieldState>;
301
+ }>(this: TThis) => import("..").SelectField<readonly ["completed", "failed"], true, import("..").FieldStateOf<TThis>>;
302
+ }, import("..").SetRequired<import("..").DefaultFieldState>>;
303
+ error: import("..").StringField<"Textarea", import("..").DefaultFieldState>;
304
304
  }, "Backup">;
305
305
  export type Backup = typeof Backup;
306
306
  export type BackupManager = DBOutput<Backup>;
@@ -1,5 +1,5 @@
1
- import ContentType from "../lib/ContentType.js";
2
- import { Fields } from "../lib/fields/index.js";
1
+ import ContentType from "../lib/ContentType";
2
+ import { Fields } from "../lib/fields";
3
3
  export const Backup = new ContentType({
4
4
  name: "Backup",
5
5
  fields: {