@rakun-kit/core 1.3.8 → 1.3.9

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 (354) hide show
  1. package/dist/cjs/api/routes/web/page.js +6 -3
  2. package/dist/cjs/api/routes/web/page.js.map +1 -1
  3. package/dist/esm/api/context.d.ts +1 -1
  4. package/dist/esm/api/context.js +3 -3
  5. package/dist/esm/api/operations/catalog.d.ts +2 -2
  6. package/dist/esm/api/operations/catalog.js +1 -1
  7. package/dist/esm/api/operations/custom.d.ts +1 -1
  8. package/dist/esm/api/operations/custom.js +1 -1
  9. package/dist/esm/api/operations/index.d.ts +92 -92
  10. package/dist/esm/api/operations/index.js +8 -8
  11. package/dist/esm/api/operations/manager-contract.d.ts +65 -65
  12. package/dist/esm/api/operations/manager-contract.js +5 -5
  13. package/dist/esm/api/operations/manager.d.ts +66 -66
  14. package/dist/esm/api/operations/manager.js +51 -51
  15. package/dist/esm/api/operations/tracing.d.ts +1 -1
  16. package/dist/esm/api/operations/tracing.js +1 -1
  17. package/dist/esm/api/operations/types.d.ts +1 -1
  18. package/dist/esm/api/operations/web-contract.d.ts +19 -19
  19. package/dist/esm/api/operations/web-contract.js +3 -3
  20. package/dist/esm/api/operations/web.d.ts +20 -20
  21. package/dist/esm/api/operations/web.js +9 -9
  22. package/dist/esm/api/proxies/context.d.ts +2 -2
  23. package/dist/esm/api/proxies/index.d.ts +8 -8
  24. package/dist/esm/api/proxies/index.js +1 -1
  25. package/dist/esm/api/routes/manager/apiOperations.d.ts +3 -3
  26. package/dist/esm/api/routes/manager/apiOperations.js +5 -5
  27. package/dist/esm/api/routes/manager/auth/accountInfo.d.ts +2 -2
  28. package/dist/esm/api/routes/manager/auth/accountInfo.js +3 -3
  29. package/dist/esm/api/routes/manager/auth/deleteSession.d.ts +2 -2
  30. package/dist/esm/api/routes/manager/auth/deleteSession.js +3 -3
  31. package/dist/esm/api/routes/manager/auth/getSession.d.ts +5 -5
  32. package/dist/esm/api/routes/manager/auth/login.d.ts +1 -1
  33. package/dist/esm/api/routes/manager/auth/login.js +4 -4
  34. package/dist/esm/api/routes/manager/auth/logout.d.ts +1 -1
  35. package/dist/esm/api/routes/manager/auth/logout.js +3 -3
  36. package/dist/esm/api/routes/manager/auth/markTourSeen.d.ts +6 -6
  37. package/dist/esm/api/routes/manager/auth/markTourSeen.js +3 -3
  38. package/dist/esm/api/routes/manager/auth/totp/confirmTotp.d.ts +2 -2
  39. package/dist/esm/api/routes/manager/auth/totp/confirmTotp.js +2 -2
  40. package/dist/esm/api/routes/manager/auth/totp/enrollTotp.d.ts +1 -1
  41. package/dist/esm/api/routes/manager/auth/totp/enrollTotp.js +3 -3
  42. package/dist/esm/api/routes/manager/auth/totp/verifyTotp.d.ts +1 -1
  43. package/dist/esm/api/routes/manager/auth/totp/verifyTotp.js +3 -3
  44. package/dist/esm/api/routes/manager/auth/updateAccount.d.ts +6 -6
  45. package/dist/esm/api/routes/manager/auth/updateAccount.js +3 -3
  46. package/dist/esm/api/routes/manager/auth/updatePassword.d.ts +2 -2
  47. package/dist/esm/api/routes/manager/auth/updatePassword.js +3 -3
  48. package/dist/esm/api/routes/manager/auth/updateTutorialPreferences.d.ts +6 -6
  49. package/dist/esm/api/routes/manager/auth/updateTutorialPreferences.js +3 -3
  50. package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthOptions.js +4 -4
  51. package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthVerify.js +4 -4
  52. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.d.ts +2 -2
  53. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.js +3 -3
  54. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.d.ts +1 -1
  55. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.js +4 -4
  56. package/dist/esm/api/routes/manager/backups/create.d.ts +2 -2
  57. package/dist/esm/api/routes/manager/backups/create.js +2 -2
  58. package/dist/esm/api/routes/manager/backups/list.d.ts +2 -2
  59. package/dist/esm/api/routes/manager/backups/list.js +2 -2
  60. package/dist/esm/api/routes/manager/backups/restore.d.ts +2 -2
  61. package/dist/esm/api/routes/manager/backups/restore.js +3 -3
  62. package/dist/esm/api/routes/manager/contentTypes.d.ts +6 -6
  63. package/dist/esm/api/routes/manager/contentTypes.js +1 -1
  64. package/dist/esm/api/routes/manager/create.d.ts +4 -4
  65. package/dist/esm/api/routes/manager/create.js +8 -8
  66. package/dist/esm/api/routes/manager/delete.d.ts +2 -2
  67. package/dist/esm/api/routes/manager/delete.js +8 -8
  68. package/dist/esm/api/routes/manager/duplicate.d.ts +4 -4
  69. package/dist/esm/api/routes/manager/duplicate.js +5 -5
  70. package/dist/esm/api/routes/manager/get.d.ts +2 -2
  71. package/dist/esm/api/routes/manager/get.js +8 -8
  72. package/dist/esm/api/routes/manager/languages.d.ts +3 -3
  73. package/dist/esm/api/routes/manager/languages.js +1 -1
  74. package/dist/esm/api/routes/manager/list.d.ts +2 -2
  75. package/dist/esm/api/routes/manager/list.js +9 -9
  76. package/dist/esm/api/routes/manager/literals/list.d.ts +2 -2
  77. package/dist/esm/api/routes/manager/literals/list.js +5 -5
  78. package/dist/esm/api/routes/manager/literals/upsert.d.ts +2 -2
  79. package/dist/esm/api/routes/manager/literals/upsert.js +6 -6
  80. package/dist/esm/api/routes/manager/media/createFolder.d.ts +2 -2
  81. package/dist/esm/api/routes/manager/media/createFolder.js +7 -7
  82. package/dist/esm/api/routes/manager/media/deleteFolder.d.ts +2 -2
  83. package/dist/esm/api/routes/manager/media/deleteFolder.js +7 -7
  84. package/dist/esm/api/routes/manager/media/deleteMediaStorage.js +2 -2
  85. package/dist/esm/api/routes/manager/media/finalizeUpload.d.ts +2 -2
  86. package/dist/esm/api/routes/manager/media/finalizeUpload.js +10 -10
  87. package/dist/esm/api/routes/manager/media/getMediaUrl.d.ts +2 -2
  88. package/dist/esm/api/routes/manager/media/getMediaUrl.js +3 -3
  89. package/dist/esm/api/routes/manager/media/listFolders.d.ts +2 -2
  90. package/dist/esm/api/routes/manager/media/listFolders.js +4 -4
  91. package/dist/esm/api/routes/manager/media/prepareUpload.d.ts +2 -2
  92. package/dist/esm/api/routes/manager/media/prepareUpload.js +4 -4
  93. package/dist/esm/api/routes/manager/media/resolveMediaRecordUrls.js +1 -1
  94. package/dist/esm/api/routes/manager/media/uploadBinary.d.ts +1 -1
  95. package/dist/esm/api/routes/manager/media/uploadBinary.js +6 -6
  96. package/dist/esm/api/routes/manager/migrations/list.d.ts +2 -2
  97. package/dist/esm/api/routes/manager/migrations/list.js +2 -2
  98. package/dist/esm/api/routes/manager/permissions.d.ts +1 -1
  99. package/dist/esm/api/routes/manager/permissions.js +2 -2
  100. package/dist/esm/api/routes/manager/preview/create.d.ts +2 -2
  101. package/dist/esm/api/routes/manager/preview/create.js +13 -13
  102. package/dist/esm/api/routes/manager/regenerateRoutes.d.ts +1 -1
  103. package/dist/esm/api/routes/manager/regenerateRoutes.js +2 -2
  104. package/dist/esm/api/routes/manager/setDefaultLanguage.d.ts +2 -2
  105. package/dist/esm/api/routes/manager/setDefaultLanguage.js +4 -4
  106. package/dist/esm/api/routes/manager/translateDocument.d.ts +2 -2
  107. package/dist/esm/api/routes/manager/translateDocument.js +10 -10
  108. package/dist/esm/api/routes/manager/trash.d.ts +2 -2
  109. package/dist/esm/api/routes/manager/trash.js +6 -6
  110. package/dist/esm/api/routes/manager/update.d.ts +4 -4
  111. package/dist/esm/api/routes/manager/update.js +8 -8
  112. package/dist/esm/api/routes/manager/versions/get.d.ts +2 -2
  113. package/dist/esm/api/routes/manager/versions/get.js +2 -2
  114. package/dist/esm/api/routes/manager/versions/list.d.ts +2 -2
  115. package/dist/esm/api/routes/manager/versions/list.js +2 -2
  116. package/dist/esm/api/routes/manager/versions/restore.d.ts +2 -2
  117. package/dist/esm/api/routes/manager/versions/restore.js +4 -4
  118. package/dist/esm/api/routes/web/page.d.ts +4 -4
  119. package/dist/esm/api/routes/web/page.d.ts.map +1 -1
  120. package/dist/esm/api/routes/web/page.js +20 -17
  121. package/dist/esm/api/routes/web/page.js.map +1 -1
  122. package/dist/esm/api/routes/web/previewPage.d.ts +6 -6
  123. package/dist/esm/api/routes/web/previewPage.js +8 -8
  124. package/dist/esm/api/routes/web/robots.d.ts +1 -1
  125. package/dist/esm/api/routes/web/robots.js +2 -2
  126. package/dist/esm/api/routes/web/seo.d.ts +1 -1
  127. package/dist/esm/api/routes/web/sitemap.d.ts +1 -1
  128. package/dist/esm/api/routes/web/sitemap.js +3 -3
  129. package/dist/esm/api/sessionCookie.d.ts +1 -1
  130. package/dist/esm/api/utils/checkFailureCase.d.ts +1 -1
  131. package/dist/esm/api/utils/checkFailureCase.js +1 -1
  132. package/dist/esm/api/utils/checkOwnership.d.ts +2 -2
  133. package/dist/esm/api/utils/checkOwnership.js +4 -4
  134. package/dist/esm/api/utils/checkPermissions.d.ts +2 -2
  135. package/dist/esm/api/utils/checkPermissions.js +3 -3
  136. package/dist/esm/api/utils/getLanguages.d.ts +3 -3
  137. package/dist/esm/api/utils/getLanguages.js +2 -2
  138. package/dist/esm/api/utils/getLink.d.ts +2 -2
  139. package/dist/esm/api/utils/getLink.js +4 -4
  140. package/dist/esm/api/utils/getUser.d.ts +5 -5
  141. package/dist/esm/api/utils/getUser.js +4 -4
  142. package/dist/esm/api/utils/index.d.ts +23 -23
  143. package/dist/esm/api/utils/index.js +23 -23
  144. package/dist/esm/api/utils/parseId.d.ts +1 -1
  145. package/dist/esm/api/utils/parseId.js +1 -1
  146. package/dist/esm/api/utils/passwords.js +1 -1
  147. package/dist/esm/api/utils/populates/populateLinks.d.ts +2 -2
  148. package/dist/esm/api/utils/populates/populateLinks.js +4 -4
  149. package/dist/esm/api/utils/populates/populateRelations.d.ts +2 -2
  150. package/dist/esm/api/utils/populates/populateRelations.js +6 -6
  151. package/dist/esm/api/utils/redirects/resolveRedirect.js +2 -2
  152. package/dist/esm/api/utils/requireContentType.d.ts +1 -1
  153. package/dist/esm/api/utils/requireContentType.js +2 -2
  154. package/dist/esm/api/utils/routes/revalidatePath.js +5 -5
  155. package/dist/esm/api/utils/routes/routeDefinitions.d.ts +1 -1
  156. package/dist/esm/api/utils/routes/routeMapHelpers.d.ts +5 -5
  157. package/dist/esm/api/utils/routes/routeMapHelpers.js +7 -7
  158. package/dist/esm/api/utils/routes/syncConfiguredRoutes.d.ts +2 -2
  159. package/dist/esm/api/utils/routes/syncConfiguredRoutes.js +5 -5
  160. package/dist/esm/api/utils/routes/updateRoutesMap.d.ts +2 -2
  161. package/dist/esm/api/utils/routes/updateRoutesMap.js +4 -4
  162. package/dist/esm/api/utils/transformObjectIdsToStrings.js +1 -1
  163. package/dist/esm/api/utils/transformStringToObjectIds.js +1 -1
  164. package/dist/esm/api/utils/translate.d.ts +1 -1
  165. package/dist/esm/api/utils/translate.js +3 -3
  166. package/dist/esm/api/utils/validateModule.d.ts +1 -1
  167. package/dist/esm/api/utils/validateModule.js +2 -2
  168. package/dist/esm/bootstrapState.d.ts +9 -9
  169. package/dist/esm/client.d.ts +42 -42
  170. package/dist/esm/client.js +26 -26
  171. package/dist/esm/contracts.d.ts +38 -38
  172. package/dist/esm/contracts.js +38 -38
  173. package/dist/esm/index.d.ts +37 -37
  174. package/dist/esm/index.js +34 -34
  175. package/dist/esm/internal-content-types/Backup.d.ts +57 -57
  176. package/dist/esm/internal-content-types/Backup.js +2 -2
  177. package/dist/esm/internal-content-types/BackupDocument.d.ts +114 -114
  178. package/dist/esm/internal-content-types/BackupDocument.js +2 -2
  179. package/dist/esm/internal-content-types/ContentVersion.d.ts +139 -139
  180. package/dist/esm/internal-content-types/ContentVersion.js +2 -2
  181. package/dist/esm/internal-content-types/HelloWorld.d.ts +30 -30
  182. package/dist/esm/internal-content-types/HelloWorld.js +2 -2
  183. package/dist/esm/internal-content-types/Language.d.ts +39 -39
  184. package/dist/esm/internal-content-types/Language.js +2 -2
  185. package/dist/esm/internal-content-types/LiteralTranslation.d.ts +59 -59
  186. package/dist/esm/internal-content-types/LiteralTranslation.js +2 -2
  187. package/dist/esm/internal-content-types/ManagerRole.d.ts +31 -31
  188. package/dist/esm/internal-content-types/ManagerRole.js +3 -3
  189. package/dist/esm/internal-content-types/ManagerUser.d.ts +200 -200
  190. package/dist/esm/internal-content-types/ManagerUser.js +3 -3
  191. package/dist/esm/internal-content-types/Media.d.ts +261 -261
  192. package/dist/esm/internal-content-types/Media.js +3 -3
  193. package/dist/esm/internal-content-types/MediaFolder.d.ts +88 -88
  194. package/dist/esm/internal-content-types/MediaFolder.js +2 -2
  195. package/dist/esm/internal-content-types/MfaChallenge.d.ts +532 -532
  196. package/dist/esm/internal-content-types/MfaChallenge.js +3 -3
  197. package/dist/esm/internal-content-types/Migration.d.ts +133 -133
  198. package/dist/esm/internal-content-types/Migration.js +2 -2
  199. package/dist/esm/internal-content-types/MigrationLock.d.ts +16 -16
  200. package/dist/esm/internal-content-types/MigrationLock.js +2 -2
  201. package/dist/esm/internal-content-types/Page.d.ts +1267 -1267
  202. package/dist/esm/internal-content-types/Page.js +4 -4
  203. package/dist/esm/internal-content-types/PreviewSnapshot.d.ts +213 -213
  204. package/dist/esm/internal-content-types/PreviewSnapshot.js +2 -2
  205. package/dist/esm/internal-content-types/Redirect.d.ts +146 -146
  206. package/dist/esm/internal-content-types/Redirect.js +2 -2
  207. package/dist/esm/internal-content-types/RobotsRule.d.ts +103 -103
  208. package/dist/esm/internal-content-types/RobotsRule.js +2 -2
  209. package/dist/esm/internal-content-types/Route.d.ts +151 -151
  210. package/dist/esm/internal-content-types/Route.js +2 -2
  211. package/dist/esm/internal-content-types/RouteLayoutModule.d.ts +164 -164
  212. package/dist/esm/internal-content-types/RouteLayoutModule.js +2 -2
  213. package/dist/esm/internal-content-types/RouteLayoutModuleOverride.d.ts +143 -143
  214. package/dist/esm/internal-content-types/RouteLayoutModuleOverride.js +2 -2
  215. package/dist/esm/internal-content-types/RouteMap.d.ts +143 -143
  216. package/dist/esm/internal-content-types/RouteMap.js +2 -2
  217. package/dist/esm/internal-content-types/RouteSettings.d.ts +1298 -1298
  218. package/dist/esm/internal-content-types/RouteSettings.js +3 -3
  219. package/dist/esm/internal-content-types/SchemaState.d.ts +65 -65
  220. package/dist/esm/internal-content-types/SchemaState.js +2 -2
  221. package/dist/esm/internal-content-types/Seo.d.ts +430 -430
  222. package/dist/esm/internal-content-types/Seo.js +2 -2
  223. package/dist/esm/internal-content-types/SeoSettings.d.ts +491 -491
  224. package/dist/esm/internal-content-types/SeoSettings.js +3 -3
  225. package/dist/esm/internal-content-types/Session.d.ts +495 -495
  226. package/dist/esm/internal-content-types/Session.js +3 -3
  227. package/dist/esm/internal-content-types/UserMfa.d.ts +464 -464
  228. package/dist/esm/internal-content-types/UserMfa.js +3 -3
  229. package/dist/esm/internal-content-types/WebAuthnCredential.d.ts +586 -586
  230. package/dist/esm/internal-content-types/WebAuthnCredential.js +3 -3
  231. package/dist/esm/internal-content-types/WebAuthnRegChallenge.d.ts +524 -524
  232. package/dist/esm/internal-content-types/WebAuthnRegChallenge.js +3 -3
  233. package/dist/esm/internal-content-types/index.d.ts +29 -29
  234. package/dist/esm/internal-content-types/index.js +29 -29
  235. package/dist/esm/lib/ContentType.d.ts +2 -2
  236. package/dist/esm/lib/ContentType.js +1 -1
  237. package/dist/esm/lib/Permissions.d.ts +1 -1
  238. package/dist/esm/lib/Registry.d.ts +4 -4
  239. package/dist/esm/lib/Registry.js +1 -1
  240. package/dist/esm/lib/errors/AppError.d.ts +1 -1
  241. package/dist/esm/lib/errors/AppError.js +1 -1
  242. package/dist/esm/lib/errors/index.d.ts +4 -4
  243. package/dist/esm/lib/errors/index.js +3 -3
  244. package/dist/esm/lib/errors/throwAppError.d.ts +1 -1
  245. package/dist/esm/lib/errors/throwAppError.js +3 -3
  246. package/dist/esm/lib/fields/Boolean.d.ts +1 -1
  247. package/dist/esm/lib/fields/Boolean.js +1 -1
  248. package/dist/esm/lib/fields/ContentReference.d.ts +2 -2
  249. package/dist/esm/lib/fields/ContentReference.js +2 -2
  250. package/dist/esm/lib/fields/Date.d.ts +1 -1
  251. package/dist/esm/lib/fields/Date.js +1 -1
  252. package/dist/esm/lib/fields/Field.d.ts +12 -12
  253. package/dist/esm/lib/fields/Fields.d.ts +13 -13
  254. package/dist/esm/lib/fields/Fields.js +13 -13
  255. package/dist/esm/lib/fields/File.d.ts +1 -1
  256. package/dist/esm/lib/fields/File.js +2 -2
  257. package/dist/esm/lib/fields/Iterator.d.ts +2 -2
  258. package/dist/esm/lib/fields/Iterator.js +3 -3
  259. package/dist/esm/lib/fields/Link.d.ts +1 -1
  260. package/dist/esm/lib/fields/Link.js +2 -2
  261. package/dist/esm/lib/fields/List.d.ts +1 -1
  262. package/dist/esm/lib/fields/List.js +1 -1
  263. package/dist/esm/lib/fields/Number.d.ts +1 -1
  264. package/dist/esm/lib/fields/Number.js +1 -1
  265. package/dist/esm/lib/fields/Relation.d.ts +3 -3
  266. package/dist/esm/lib/fields/Relation.js +3 -3
  267. package/dist/esm/lib/fields/Select.d.ts +1 -1
  268. package/dist/esm/lib/fields/Select.js +1 -1
  269. package/dist/esm/lib/fields/SelfRelation.d.ts +1 -1
  270. package/dist/esm/lib/fields/SelfRelation.js +2 -2
  271. package/dist/esm/lib/fields/SimpleList.d.ts +1 -1
  272. package/dist/esm/lib/fields/SimpleList.js +1 -1
  273. package/dist/esm/lib/fields/String.d.ts +1 -1
  274. package/dist/esm/lib/fields/String.js +3 -3
  275. package/dist/esm/lib/fields/index.d.ts +15 -15
  276. package/dist/esm/lib/fields/index.js +15 -15
  277. package/dist/esm/lib/types/index.d.ts +2 -2
  278. package/dist/esm/lib/utils/getListField.d.ts +1 -1
  279. package/dist/esm/lib/utils/getSchemas.d.ts +1 -1
  280. package/dist/esm/lib/utils/getTranslation.d.ts +2 -2
  281. package/dist/esm/lib/utils/getTranslation.js +1 -1
  282. package/dist/esm/lib/utils/isTranslatableObject.d.ts +1 -1
  283. package/dist/esm/lib/utils/translateObject.d.ts +2 -2
  284. package/dist/esm/lib/utils/translateObject.js +3 -3
  285. package/dist/esm/literals/definitions.d.ts +1 -1
  286. package/dist/esm/literals/definitions.js +1 -1
  287. package/dist/esm/literals/index.d.ts +3 -3
  288. package/dist/esm/literals/index.js +3 -3
  289. package/dist/esm/literals/manager.d.ts +1 -1
  290. package/dist/esm/literals/manager.js +1 -1
  291. package/dist/esm/manager.d.ts +264 -264
  292. package/dist/esm/manager.js +2 -2
  293. package/dist/esm/media/imageOptimization.d.ts +1 -1
  294. package/dist/esm/media/imageOptimization.js +2 -2
  295. package/dist/esm/media/index.d.ts +4 -4
  296. package/dist/esm/media/index.js +3 -3
  297. package/dist/esm/media/mediaService.d.ts +1 -1
  298. package/dist/esm/orm/backups.js +5 -5
  299. package/dist/esm/orm/createIndexes.js +2 -2
  300. package/dist/esm/orm/database.js +3 -3
  301. package/dist/esm/orm/dbService.d.ts +6 -6
  302. package/dist/esm/orm/index.d.ts +2 -2
  303. package/dist/esm/orm/index.js +16 -16
  304. package/dist/esm/orm/migrations.d.ts +1 -1
  305. package/dist/esm/orm/migrations.js +4 -4
  306. package/dist/esm/orm/mongodbPeer.js +1 -1
  307. package/dist/esm/orm/operations/clear.d.ts +1 -1
  308. package/dist/esm/orm/operations/clear.js +1 -1
  309. package/dist/esm/orm/operations/create.d.ts +3 -3
  310. package/dist/esm/orm/operations/create.js +5 -5
  311. package/dist/esm/orm/operations/delete.d.ts +3 -3
  312. package/dist/esm/orm/operations/delete.js +3 -3
  313. package/dist/esm/orm/operations/find.d.ts +2 -2
  314. package/dist/esm/orm/operations/find.js +3 -3
  315. package/dist/esm/orm/operations/findDependencies.d.ts +2 -2
  316. package/dist/esm/orm/operations/findDependencies.js +4 -4
  317. package/dist/esm/orm/operations/get.d.ts +3 -3
  318. package/dist/esm/orm/operations/get.js +3 -3
  319. package/dist/esm/orm/operations/getAll.d.ts +2 -2
  320. package/dist/esm/orm/operations/getAll.js +2 -2
  321. package/dist/esm/orm/operations/list.d.ts +2 -2
  322. package/dist/esm/orm/operations/list.js +3 -3
  323. package/dist/esm/orm/operations/update.d.ts +4 -4
  324. package/dist/esm/orm/operations/update.js +6 -6
  325. package/dist/esm/orm/operations/updateMany.d.ts +3 -3
  326. package/dist/esm/orm/operations/updateMany.js +3 -3
  327. package/dist/esm/orm/operations/upsert.d.ts +3 -3
  328. package/dist/esm/orm/operations/upsert.js +4 -4
  329. package/dist/esm/orm/utils/deepDeleteNulls.js +1 -1
  330. package/dist/esm/orm/utils/parseId.d.ts +1 -1
  331. package/dist/esm/orm/utils/parseId.js +1 -1
  332. package/dist/esm/orm/utils/transformObjectIdsToStrings.js +1 -1
  333. package/dist/esm/orm/utils/transformStringToObjectIds.js +1 -1
  334. package/dist/esm/orm/versions.d.ts +1 -1
  335. package/dist/esm/orm/versions.js +7 -7
  336. package/dist/esm/schemas/manager/literals/upsert.js +1 -1
  337. package/dist/esm/schemas/manager/media/finalizeUpload.js +1 -1
  338. package/dist/esm/schemas/manager/media/getMediaUrl.js +1 -1
  339. package/dist/esm/schemas/manager/media/listFolders.js +1 -1
  340. package/dist/esm/schemas/web/page.d.ts +28 -28
  341. package/dist/esm/schemas/web/page.js +1 -1
  342. package/dist/esm/schemas/web/previewPage.d.ts +20 -20
  343. package/dist/esm/schemas/web/previewPage.js +1 -1
  344. package/dist/esm/translation/document.d.ts +3 -3
  345. package/dist/esm/translation/index.d.ts +4 -4
  346. package/dist/esm/translation/index.js +3 -3
  347. package/dist/esm/translation/translationService.d.ts +1 -1
  348. package/dist/esm/web/client.d.ts +1 -1
  349. package/dist/esm/web/client.js +1 -1
  350. package/dist/esm/web/index.d.ts +2 -2
  351. package/dist/esm/web/index.js +2 -2
  352. package/dist/esm/web/page.d.ts +1 -1
  353. package/dist/tsconfig.build.tsbuildinfo +1 -1
  354. package/package.json +1 -1
@@ -1,43 +1,43 @@
1
- export { getPermissionList, hasPermissions, mapPermissions, type Permission, } from "./lib/Permissions";
2
- export type { MaybeTranslatableValue, TranslatableValue } from "./lib/types";
3
- export { Fields } from "./lib/fields";
4
- export * from "./lib/fields/Boolean";
5
- export * from "./lib/fields/ContentReference";
6
- export * from "./lib/fields/Date";
7
- export * from "./lib/fields/Field";
8
- export * from "./lib/fields/File";
9
- export * from "./lib/fields/Iterator";
10
- export * from "./lib/fields/Link";
11
- export * from "./lib/fields/List";
12
- export * from "./lib/fields/Number";
13
- export * from "./lib/fields/Relation";
14
- export * from "./lib/fields/Select";
15
- export * from "./lib/fields/SelfRelation";
16
- export * from "./lib/fields/SimpleList";
17
- export * from "./lib/fields/String";
18
- export { getListField } from "./lib/utils/getListField";
19
- export { getTranslation } from "./lib/utils/getTranslation";
20
- export { Id, isId, type Id as IdType } from "./lib/utils/id";
21
- export { isTranslatableObject } from "./lib/utils/isTranslatableObject";
22
- export { slugify } from "./lib/utils/slugify";
23
- export { encodeContentTypeForManager } from "./lib/Registry";
24
- export { instanceofAppErrorShape, type AppErrorShape, } from "./lib/errors/errors";
25
- export { type EncodedContentType, EncodedContentTypeSchema, DocumentVisibility, type DocumentVisibility as DocumentVisibilityType, } from "./lib/ContentType";
26
- export type { FileOptimizeOptions } from "./lib/fields/File";
27
- export { loginInput, type LoginInput } from "./schemas/manager/auth/login";
28
- export type { ApiOperationsOutput } from "./schemas/manager/apiOperations";
29
- export type { BackupRecord, CreateBackupInput, ListBackupsOutput, RestoreBackupInput, RestoreBackupOutput, } from "./schemas/manager/backups";
30
- export type { ListMigrationsOutput, MigrationLedgerRecord, MigrationStateRecord, PendingMigrationRecord, } from "./schemas/manager/migrations";
31
- export type { ContentVersionRecord, GetVersionInput, ListVersionsInput, ListVersionsOutput, RestoreVersionInput, RestoreVersionOutput, } from "./schemas/manager/versions";
32
- export type { DuplicateInput } from "./schemas/manager/duplicate";
33
- export type { TranslateDocumentInput, TranslateDocumentOutput, TranslateDocumentSummary, } from "./schemas/manager/translateDocument";
34
- export type { CreatePreviewInput, CreatePreviewOutput, } from "./schemas/manager/preview";
35
- export type { ListOutput } from "./schemas/manager/list";
36
- export type { ListLiteralsOutput } from "./schemas/manager/literals/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 { Seo } from "./internal-content-types/Seo";
41
- export type { LanguageSchema } from "./internal-content-types/Language";
42
- export type { ManagerUserSchema } from "./internal-content-types/ManagerUser";
1
+ export { getPermissionList, hasPermissions, mapPermissions, type Permission, } from "./lib/Permissions.js";
2
+ export type { MaybeTranslatableValue, TranslatableValue } from "./lib/types/index.js";
3
+ export { Fields } from "./lib/fields/index.js";
4
+ export * from "./lib/fields/Boolean.js";
5
+ export * from "./lib/fields/ContentReference.js";
6
+ export * from "./lib/fields/Date.js";
7
+ export * from "./lib/fields/Field.js";
8
+ export * from "./lib/fields/File.js";
9
+ export * from "./lib/fields/Iterator.js";
10
+ export * from "./lib/fields/Link.js";
11
+ export * from "./lib/fields/List.js";
12
+ export * from "./lib/fields/Number.js";
13
+ export * from "./lib/fields/Relation.js";
14
+ export * from "./lib/fields/Select.js";
15
+ export * from "./lib/fields/SelfRelation.js";
16
+ export * from "./lib/fields/SimpleList.js";
17
+ export * from "./lib/fields/String.js";
18
+ export { getListField } from "./lib/utils/getListField.js";
19
+ export { getTranslation } from "./lib/utils/getTranslation.js";
20
+ export { Id, isId, type Id as IdType } from "./lib/utils/id.js";
21
+ export { isTranslatableObject } from "./lib/utils/isTranslatableObject.js";
22
+ export { slugify } from "./lib/utils/slugify.js";
23
+ export { encodeContentTypeForManager } from "./lib/Registry.js";
24
+ export { instanceofAppErrorShape, type AppErrorShape, } from "./lib/errors/errors.js";
25
+ export { type EncodedContentType, EncodedContentTypeSchema, DocumentVisibility, type DocumentVisibility as DocumentVisibilityType, } from "./lib/ContentType.js";
26
+ export type { FileOptimizeOptions } from "./lib/fields/File.js";
27
+ export { loginInput, type LoginInput } from "./schemas/manager/auth/login.js";
28
+ export type { ApiOperationsOutput } from "./schemas/manager/apiOperations.js";
29
+ export type { BackupRecord, CreateBackupInput, ListBackupsOutput, RestoreBackupInput, RestoreBackupOutput, } from "./schemas/manager/backups.js";
30
+ export type { ListMigrationsOutput, MigrationLedgerRecord, MigrationStateRecord, PendingMigrationRecord, } from "./schemas/manager/migrations.js";
31
+ export type { ContentVersionRecord, GetVersionInput, ListVersionsInput, ListVersionsOutput, RestoreVersionInput, RestoreVersionOutput, } from "./schemas/manager/versions.js";
32
+ export type { DuplicateInput } from "./schemas/manager/duplicate.js";
33
+ export type { TranslateDocumentInput, TranslateDocumentOutput, TranslateDocumentSummary, } from "./schemas/manager/translateDocument.js";
34
+ export type { CreatePreviewInput, CreatePreviewOutput, } from "./schemas/manager/preview.js";
35
+ export type { ListOutput } from "./schemas/manager/list.js";
36
+ export type { ListLiteralsOutput } from "./schemas/manager/literals/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 { Seo } from "./internal-content-types/Seo.js";
41
+ export type { LanguageSchema } from "./internal-content-types/Language.js";
42
+ export type { ManagerUserSchema } from "./internal-content-types/ManagerUser.js";
43
43
  //# sourceMappingURL=client.d.ts.map
@@ -1,27 +1,27 @@
1
- export { getPermissionList, hasPermissions, mapPermissions, } from "./lib/Permissions";
2
- export { Fields } from "./lib/fields";
3
- export * from "./lib/fields/Boolean";
4
- export * from "./lib/fields/ContentReference";
5
- export * from "./lib/fields/Date";
6
- export * from "./lib/fields/Field";
7
- export * from "./lib/fields/File";
8
- export * from "./lib/fields/Iterator";
9
- export * from "./lib/fields/Link";
10
- export * from "./lib/fields/List";
11
- export * from "./lib/fields/Number";
12
- export * from "./lib/fields/Relation";
13
- export * from "./lib/fields/Select";
14
- export * from "./lib/fields/SelfRelation";
15
- export * from "./lib/fields/SimpleList";
16
- export * from "./lib/fields/String";
17
- export { getListField } from "./lib/utils/getListField";
18
- export { getTranslation } from "./lib/utils/getTranslation";
19
- export { Id, isId } from "./lib/utils/id";
20
- export { isTranslatableObject } from "./lib/utils/isTranslatableObject";
21
- export { slugify } from "./lib/utils/slugify";
22
- export { encodeContentTypeForManager } from "./lib/Registry";
23
- export { instanceofAppErrorShape, } from "./lib/errors/errors";
24
- export { EncodedContentTypeSchema, DocumentVisibility, } from "./lib/ContentType";
25
- export { loginInput } from "./schemas/manager/auth/login";
26
- export { Seo } from "./internal-content-types/Seo";
1
+ export { getPermissionList, hasPermissions, mapPermissions, } from "./lib/Permissions.js";
2
+ export { Fields } from "./lib/fields/index.js";
3
+ export * from "./lib/fields/Boolean.js";
4
+ export * from "./lib/fields/ContentReference.js";
5
+ export * from "./lib/fields/Date.js";
6
+ export * from "./lib/fields/Field.js";
7
+ export * from "./lib/fields/File.js";
8
+ export * from "./lib/fields/Iterator.js";
9
+ export * from "./lib/fields/Link.js";
10
+ export * from "./lib/fields/List.js";
11
+ export * from "./lib/fields/Number.js";
12
+ export * from "./lib/fields/Relation.js";
13
+ export * from "./lib/fields/Select.js";
14
+ export * from "./lib/fields/SelfRelation.js";
15
+ export * from "./lib/fields/SimpleList.js";
16
+ export * from "./lib/fields/String.js";
17
+ export { getListField } from "./lib/utils/getListField.js";
18
+ export { getTranslation } from "./lib/utils/getTranslation.js";
19
+ export { Id, isId } from "./lib/utils/id.js";
20
+ export { isTranslatableObject } from "./lib/utils/isTranslatableObject.js";
21
+ export { slugify } from "./lib/utils/slugify.js";
22
+ export { encodeContentTypeForManager } from "./lib/Registry.js";
23
+ export { instanceofAppErrorShape, } from "./lib/errors/errors.js";
24
+ export { EncodedContentTypeSchema, DocumentVisibility, } from "./lib/ContentType.js";
25
+ export { loginInput } from "./schemas/manager/auth/login.js";
26
+ export { Seo } from "./internal-content-types/Seo.js";
27
27
  //# sourceMappingURL=client.js.map
@@ -1,39 +1,39 @@
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";
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";
39
39
  //# sourceMappingURL=contracts.d.ts.map
@@ -1,39 +1,39 @@
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";
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";
39
39
  //# sourceMappingURL=contracts.js.map
@@ -1,43 +1,43 @@
1
- import { type RakunBootstrapOptions } from "./bootstrapState";
1
+ import { type RakunBootstrapOptions } from "./bootstrapState.js";
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";
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";
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";
43
43
  //# sourceMappingURL=index.d.ts.map
package/dist/esm/index.js CHANGED
@@ -1,13 +1,13 @@
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";
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";
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";
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";
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";
168
168
  //# sourceMappingURL=index.js.map