@rakun-kit/core 1.1.1 → 1.2.0

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 (387) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/bootstrapState.js.map +1 -1
  3. package/dist/cjs/client.js +3 -2
  4. package/dist/cjs/client.js.map +1 -1
  5. package/dist/cjs/index.js +0 -14
  6. package/dist/cjs/index.js.map +1 -1
  7. package/dist/cjs/lib/ContentType.js +106 -74
  8. package/dist/cjs/lib/ContentType.js.map +1 -1
  9. package/dist/cjs/lib/Logger.js +56 -0
  10. package/dist/cjs/lib/Logger.js.map +1 -1
  11. package/dist/cjs/lib/Registry.js +35 -22
  12. package/dist/cjs/lib/Registry.js.map +1 -1
  13. package/dist/cjs/lib/fields/Boolean.js +14 -9
  14. package/dist/cjs/lib/fields/Boolean.js.map +1 -1
  15. package/dist/cjs/lib/fields/ContentReference.js +29 -17
  16. package/dist/cjs/lib/fields/ContentReference.js.map +1 -1
  17. package/dist/cjs/lib/fields/Date.js +26 -22
  18. package/dist/cjs/lib/fields/Date.js.map +1 -1
  19. package/dist/cjs/lib/fields/Field.js +79 -59
  20. package/dist/cjs/lib/fields/Field.js.map +1 -1
  21. package/dist/cjs/lib/fields/Fields.js +32 -0
  22. package/dist/cjs/lib/fields/Fields.js.map +1 -0
  23. package/dist/cjs/lib/fields/File.js +60 -85
  24. package/dist/cjs/lib/fields/File.js.map +1 -1
  25. package/dist/cjs/lib/fields/Iterator.js +8 -10
  26. package/dist/cjs/lib/fields/Iterator.js.map +1 -1
  27. package/dist/cjs/lib/fields/Link.js +20 -15
  28. package/dist/cjs/lib/fields/Link.js.map +1 -1
  29. package/dist/cjs/lib/fields/List.js +47 -16
  30. package/dist/cjs/lib/fields/List.js.map +1 -1
  31. package/dist/cjs/lib/fields/Number.js +35 -17
  32. package/dist/cjs/lib/fields/Number.js.map +1 -1
  33. package/dist/cjs/lib/fields/Relation.js +73 -66
  34. package/dist/cjs/lib/fields/Relation.js.map +1 -1
  35. package/dist/cjs/lib/fields/Select.js +28 -17
  36. package/dist/cjs/lib/fields/Select.js.map +1 -1
  37. package/dist/cjs/lib/fields/SelfRelation.js +30 -21
  38. package/dist/cjs/lib/fields/SelfRelation.js.map +1 -1
  39. package/dist/cjs/lib/fields/SimpleList.js +38 -21
  40. package/dist/cjs/lib/fields/SimpleList.js.map +1 -1
  41. package/dist/cjs/lib/fields/String.js +54 -40
  42. package/dist/cjs/lib/fields/String.js.map +1 -1
  43. package/dist/cjs/lib/fields/index.js +29 -37
  44. package/dist/cjs/lib/fields/index.js.map +1 -1
  45. package/dist/cjs/orm/operations/findDependencies.js +4 -2
  46. package/dist/cjs/orm/operations/findDependencies.js.map +1 -1
  47. package/dist/esm/api/context.d.ts +1 -1
  48. package/dist/esm/api/context.js +2 -2
  49. package/dist/esm/api/operations/custom.d.ts +1 -1
  50. package/dist/esm/api/operations/custom.js +1 -1
  51. package/dist/esm/api/operations/index.d.ts +56 -57
  52. package/dist/esm/api/operations/index.d.ts.map +1 -1
  53. package/dist/esm/api/operations/index.js +7 -7
  54. package/dist/esm/api/operations/manager-contract.d.ts +37 -36
  55. package/dist/esm/api/operations/manager-contract.d.ts.map +1 -1
  56. package/dist/esm/api/operations/manager-contract.js +4 -4
  57. package/dist/esm/api/operations/manager.d.ts +38 -37
  58. package/dist/esm/api/operations/manager.d.ts.map +1 -1
  59. package/dist/esm/api/operations/manager.js +35 -35
  60. package/dist/esm/api/operations/types.d.ts +1 -1
  61. package/dist/esm/api/operations/web-contract.d.ts +11 -13
  62. package/dist/esm/api/operations/web-contract.d.ts.map +1 -1
  63. package/dist/esm/api/operations/web-contract.js +3 -3
  64. package/dist/esm/api/operations/web.d.ts +12 -14
  65. package/dist/esm/api/operations/web.d.ts.map +1 -1
  66. package/dist/esm/api/operations/web.js +5 -5
  67. package/dist/esm/api/proxies/context.d.ts +2 -2
  68. package/dist/esm/api/proxies/index.d.ts +9 -5
  69. package/dist/esm/api/proxies/index.d.ts.map +1 -1
  70. package/dist/esm/api/proxies/index.js +1 -1
  71. package/dist/esm/api/routes/manager/auth/accountInfo.d.ts +2 -2
  72. package/dist/esm/api/routes/manager/auth/accountInfo.js +3 -3
  73. package/dist/esm/api/routes/manager/auth/deleteSession.d.ts +2 -2
  74. package/dist/esm/api/routes/manager/auth/deleteSession.js +3 -3
  75. package/dist/esm/api/routes/manager/auth/login.d.ts +1 -1
  76. package/dist/esm/api/routes/manager/auth/login.js +4 -4
  77. package/dist/esm/api/routes/manager/auth/logout.d.ts +1 -1
  78. package/dist/esm/api/routes/manager/auth/logout.js +3 -3
  79. package/dist/esm/api/routes/manager/auth/totp/confirmTotp.d.ts +2 -2
  80. package/dist/esm/api/routes/manager/auth/totp/confirmTotp.js +2 -2
  81. package/dist/esm/api/routes/manager/auth/totp/enrollTotp.d.ts +1 -1
  82. package/dist/esm/api/routes/manager/auth/totp/enrollTotp.js +3 -3
  83. package/dist/esm/api/routes/manager/auth/totp/verifyTotp.d.ts +1 -1
  84. package/dist/esm/api/routes/manager/auth/totp/verifyTotp.js +3 -3
  85. package/dist/esm/api/routes/manager/auth/updatePassword.d.ts +2 -2
  86. package/dist/esm/api/routes/manager/auth/updatePassword.js +3 -3
  87. package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthOptions.js +4 -4
  88. package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthVerify.js +4 -4
  89. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.d.ts +2 -2
  90. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.js +3 -3
  91. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.d.ts +1 -1
  92. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.js +4 -4
  93. package/dist/esm/api/routes/manager/create.d.ts +2 -2
  94. package/dist/esm/api/routes/manager/create.js +8 -8
  95. package/dist/esm/api/routes/manager/delete.d.ts +2 -2
  96. package/dist/esm/api/routes/manager/delete.js +8 -8
  97. package/dist/esm/api/routes/manager/get.d.ts +2 -2
  98. package/dist/esm/api/routes/manager/get.js +6 -6
  99. package/dist/esm/api/routes/manager/list.d.ts +2 -2
  100. package/dist/esm/api/routes/manager/list.js +8 -8
  101. package/dist/esm/api/routes/manager/literals/list.d.ts +2 -2
  102. package/dist/esm/api/routes/manager/literals/list.js +5 -5
  103. package/dist/esm/api/routes/manager/literals/upsert.d.ts +2 -2
  104. package/dist/esm/api/routes/manager/literals/upsert.js +6 -6
  105. package/dist/esm/api/routes/manager/media/createFolder.d.ts +2 -2
  106. package/dist/esm/api/routes/manager/media/createFolder.js +7 -7
  107. package/dist/esm/api/routes/manager/media/finalizeUpload.d.ts +2 -2
  108. package/dist/esm/api/routes/manager/media/finalizeUpload.js +9 -9
  109. package/dist/esm/api/routes/manager/media/getMediaUrl.d.ts +2 -2
  110. package/dist/esm/api/routes/manager/media/getMediaUrl.js +3 -3
  111. package/dist/esm/api/routes/manager/media/listFolders.d.ts +2 -2
  112. package/dist/esm/api/routes/manager/media/listFolders.js +4 -4
  113. package/dist/esm/api/routes/manager/media/prepareUpload.d.ts +2 -2
  114. package/dist/esm/api/routes/manager/media/prepareUpload.js +4 -4
  115. package/dist/esm/api/routes/manager/media/uploadBinary.d.ts +1 -1
  116. package/dist/esm/api/routes/manager/media/uploadBinary.js +6 -6
  117. package/dist/esm/api/routes/manager/setDefaultLanguage.d.ts +2 -2
  118. package/dist/esm/api/routes/manager/setDefaultLanguage.js +4 -4
  119. package/dist/esm/api/routes/manager/update.d.ts +2 -2
  120. package/dist/esm/api/routes/manager/update.js +8 -8
  121. package/dist/esm/api/routes/web/page.d.ts +1 -1
  122. package/dist/esm/api/routes/web/page.js +13 -13
  123. package/dist/esm/api/sessionCookie.d.ts +1 -1
  124. package/dist/esm/api/utils/checkFailureCase.d.ts +1 -1
  125. package/dist/esm/api/utils/checkFailureCase.js +1 -1
  126. package/dist/esm/api/utils/checkOwnership.d.ts +2 -2
  127. package/dist/esm/api/utils/checkOwnership.js +3 -3
  128. package/dist/esm/api/utils/checkPermissions.d.ts +2 -2
  129. package/dist/esm/api/utils/checkPermissions.js +2 -2
  130. package/dist/esm/api/utils/getLanguages.d.ts +2 -6
  131. package/dist/esm/api/utils/getLanguages.d.ts.map +1 -1
  132. package/dist/esm/api/utils/getLanguages.js +2 -2
  133. package/dist/esm/api/utils/getLink.d.ts +2 -2
  134. package/dist/esm/api/utils/getLink.js +4 -4
  135. package/dist/esm/api/utils/getUser.d.ts +7 -3
  136. package/dist/esm/api/utils/getUser.d.ts.map +1 -1
  137. package/dist/esm/api/utils/getUser.js +4 -4
  138. package/dist/esm/api/utils/parseId.d.ts +1 -1
  139. package/dist/esm/api/utils/parseId.js +1 -1
  140. package/dist/esm/api/utils/passwords.js +1 -1
  141. package/dist/esm/api/utils/populates/populateLinks.d.ts +2 -2
  142. package/dist/esm/api/utils/populates/populateLinks.js +4 -4
  143. package/dist/esm/api/utils/populates/populateRelations.d.ts +2 -2
  144. package/dist/esm/api/utils/populates/populateRelations.js +6 -6
  145. package/dist/esm/api/utils/redirects/resolveRedirect.js +2 -2
  146. package/dist/esm/api/utils/routes/revalidatePath.js +5 -5
  147. package/dist/esm/api/utils/routes/routeDefinitions.d.ts +1 -1
  148. package/dist/esm/api/utils/routes/routeMapHelpers.d.ts +3 -3
  149. package/dist/esm/api/utils/routes/routeMapHelpers.js +6 -6
  150. package/dist/esm/api/utils/routes/syncConfiguredRoutes.d.ts +2 -2
  151. package/dist/esm/api/utils/routes/syncConfiguredRoutes.js +5 -5
  152. package/dist/esm/api/utils/routes/updateRoutesMap.d.ts +2 -2
  153. package/dist/esm/api/utils/routes/updateRoutesMap.js +4 -4
  154. package/dist/esm/api/utils/transformObjectIdsToStrings.js +1 -1
  155. package/dist/esm/api/utils/transformStringToObjectIds.js +1 -1
  156. package/dist/esm/api/utils/translate.d.ts +1 -1
  157. package/dist/esm/api/utils/translate.js +3 -3
  158. package/dist/esm/api/utils/validateModule.d.ts +1 -1
  159. package/dist/esm/api/utils/validateModule.js +2 -2
  160. package/dist/esm/bootstrapState.d.ts +11 -10
  161. package/dist/esm/bootstrapState.d.ts.map +1 -1
  162. package/dist/esm/bootstrapState.js.map +1 -1
  163. package/dist/esm/client.d.ts +34 -34
  164. package/dist/esm/client.d.ts.map +1 -1
  165. package/dist/esm/client.js +25 -25
  166. package/dist/esm/client.js.map +1 -1
  167. package/dist/esm/contracts.d.ts +26 -26
  168. package/dist/esm/contracts.js +26 -26
  169. package/dist/esm/index.d.ts +29 -43
  170. package/dist/esm/index.d.ts.map +1 -1
  171. package/dist/esm/index.js +25 -39
  172. package/dist/esm/index.js.map +1 -1
  173. package/dist/esm/internal-content-types/HelloWorld.d.ts +55 -3
  174. package/dist/esm/internal-content-types/HelloWorld.d.ts.map +1 -1
  175. package/dist/esm/internal-content-types/HelloWorld.js +2 -2
  176. package/dist/esm/internal-content-types/Language.d.ts +70 -6
  177. package/dist/esm/internal-content-types/Language.d.ts.map +1 -1
  178. package/dist/esm/internal-content-types/Language.js +2 -2
  179. package/dist/esm/internal-content-types/LiteralTranslation.d.ts +109 -5
  180. package/dist/esm/internal-content-types/LiteralTranslation.d.ts.map +1 -1
  181. package/dist/esm/internal-content-types/LiteralTranslation.js +2 -2
  182. package/dist/esm/internal-content-types/ManagerRole.d.ts +56 -4
  183. package/dist/esm/internal-content-types/ManagerRole.d.ts.map +1 -1
  184. package/dist/esm/internal-content-types/ManagerRole.js +3 -3
  185. package/dist/esm/internal-content-types/ManagerUser.d.ts +350 -21
  186. package/dist/esm/internal-content-types/ManagerUser.d.ts.map +1 -1
  187. package/dist/esm/internal-content-types/ManagerUser.js +3 -3
  188. package/dist/esm/internal-content-types/Media.d.ts +472 -55
  189. package/dist/esm/internal-content-types/Media.d.ts.map +1 -1
  190. package/dist/esm/internal-content-types/Media.js +3 -3
  191. package/dist/esm/internal-content-types/MediaFolder.d.ts +163 -7
  192. package/dist/esm/internal-content-types/MediaFolder.d.ts.map +1 -1
  193. package/dist/esm/internal-content-types/MediaFolder.js +2 -2
  194. package/dist/esm/internal-content-types/MfaChallenge.d.ts +963 -55
  195. package/dist/esm/internal-content-types/MfaChallenge.d.ts.map +1 -1
  196. package/dist/esm/internal-content-types/MfaChallenge.js +3 -3
  197. package/dist/esm/internal-content-types/Page.d.ts +243 -27
  198. package/dist/esm/internal-content-types/Page.d.ts.map +1 -1
  199. package/dist/esm/internal-content-types/Page.js +3 -3
  200. package/dist/esm/internal-content-types/Redirect.d.ts +272 -14
  201. package/dist/esm/internal-content-types/Redirect.d.ts.map +1 -1
  202. package/dist/esm/internal-content-types/Redirect.js +2 -2
  203. package/dist/esm/internal-content-types/Route.d.ts +282 -11
  204. package/dist/esm/internal-content-types/Route.d.ts.map +1 -1
  205. package/dist/esm/internal-content-types/Route.js +2 -2
  206. package/dist/esm/internal-content-types/RouteLayoutModule.d.ts +308 -9
  207. package/dist/esm/internal-content-types/RouteLayoutModule.d.ts.map +1 -1
  208. package/dist/esm/internal-content-types/RouteLayoutModule.js +2 -2
  209. package/dist/esm/internal-content-types/RouteLayoutModuleOverride.d.ts +268 -8
  210. package/dist/esm/internal-content-types/RouteLayoutModuleOverride.d.ts.map +1 -1
  211. package/dist/esm/internal-content-types/RouteLayoutModuleOverride.js +2 -2
  212. package/dist/esm/internal-content-types/RouteMap.d.ts +267 -7
  213. package/dist/esm/internal-content-types/RouteMap.d.ts.map +1 -1
  214. package/dist/esm/internal-content-types/RouteMap.js +2 -2
  215. package/dist/esm/internal-content-types/RouteSettings.d.ts +299 -79
  216. package/dist/esm/internal-content-types/RouteSettings.d.ts.map +1 -1
  217. package/dist/esm/internal-content-types/RouteSettings.js +3 -3
  218. package/dist/esm/internal-content-types/Seo.d.ts +56 -4
  219. package/dist/esm/internal-content-types/Seo.d.ts.map +1 -1
  220. package/dist/esm/internal-content-types/Seo.js +2 -2
  221. package/dist/esm/internal-content-types/Session.d.ts +894 -51
  222. package/dist/esm/internal-content-types/Session.d.ts.map +1 -1
  223. package/dist/esm/internal-content-types/Session.js +3 -3
  224. package/dist/esm/internal-content-types/UserMfa.d.ts +831 -54
  225. package/dist/esm/internal-content-types/UserMfa.d.ts.map +1 -1
  226. package/dist/esm/internal-content-types/UserMfa.js +3 -3
  227. package/dist/esm/internal-content-types/WebAuthnCredential.d.ts +1066 -54
  228. package/dist/esm/internal-content-types/WebAuthnCredential.d.ts.map +1 -1
  229. package/dist/esm/internal-content-types/WebAuthnCredential.js +3 -3
  230. package/dist/esm/internal-content-types/WebAuthnRegChallenge.d.ts +948 -53
  231. package/dist/esm/internal-content-types/WebAuthnRegChallenge.d.ts.map +1 -1
  232. package/dist/esm/internal-content-types/WebAuthnRegChallenge.js +3 -3
  233. package/dist/esm/internal-content-types/index.d.ts +20 -20
  234. package/dist/esm/internal-content-types/index.js +20 -20
  235. package/dist/esm/lib/ContentType.d.ts +87 -49
  236. package/dist/esm/lib/ContentType.d.ts.map +1 -1
  237. package/dist/esm/lib/ContentType.js +94 -65
  238. package/dist/esm/lib/ContentType.js.map +1 -1
  239. package/dist/esm/lib/Logger.d.ts.map +1 -1
  240. package/dist/esm/lib/Logger.js +56 -0
  241. package/dist/esm/lib/Logger.js.map +1 -1
  242. package/dist/esm/lib/Permissions.d.ts +1 -1
  243. package/dist/esm/lib/Registry.d.ts +29 -7
  244. package/dist/esm/lib/Registry.d.ts.map +1 -1
  245. package/dist/esm/lib/Registry.js +35 -22
  246. package/dist/esm/lib/Registry.js.map +1 -1
  247. package/dist/esm/lib/errors/AppError.d.ts +1 -1
  248. package/dist/esm/lib/errors/AppError.js +1 -1
  249. package/dist/esm/lib/errors/index.d.ts +4 -4
  250. package/dist/esm/lib/errors/index.js +3 -3
  251. package/dist/esm/lib/errors/throwAppError.d.ts +1 -1
  252. package/dist/esm/lib/errors/throwAppError.js +3 -3
  253. package/dist/esm/lib/fields/Boolean.d.ts +8 -10
  254. package/dist/esm/lib/fields/Boolean.d.ts.map +1 -1
  255. package/dist/esm/lib/fields/Boolean.js +14 -8
  256. package/dist/esm/lib/fields/Boolean.js.map +1 -1
  257. package/dist/esm/lib/fields/ContentReference.d.ts +15 -15
  258. package/dist/esm/lib/fields/ContentReference.d.ts.map +1 -1
  259. package/dist/esm/lib/fields/ContentReference.js +30 -17
  260. package/dist/esm/lib/fields/ContentReference.js.map +1 -1
  261. package/dist/esm/lib/fields/Date.d.ts +14 -17
  262. package/dist/esm/lib/fields/Date.d.ts.map +1 -1
  263. package/dist/esm/lib/fields/Date.js +25 -21
  264. package/dist/esm/lib/fields/Date.js.map +1 -1
  265. package/dist/esm/lib/fields/Field.d.ts +122 -59
  266. package/dist/esm/lib/fields/Field.d.ts.map +1 -1
  267. package/dist/esm/lib/fields/Field.js +70 -55
  268. package/dist/esm/lib/fields/Field.js.map +1 -1
  269. package/dist/esm/lib/fields/Fields.d.ts +29 -0
  270. package/dist/esm/lib/fields/Fields.d.ts.map +1 -0
  271. package/dist/esm/lib/fields/Fields.js +29 -0
  272. package/dist/esm/lib/fields/Fields.js.map +1 -0
  273. package/dist/esm/lib/fields/File.d.ts +26 -51
  274. package/dist/esm/lib/fields/File.d.ts.map +1 -1
  275. package/dist/esm/lib/fields/File.js +60 -85
  276. package/dist/esm/lib/fields/File.js.map +1 -1
  277. package/dist/esm/lib/fields/Iterator.d.ts +13 -25
  278. package/dist/esm/lib/fields/Iterator.d.ts.map +1 -1
  279. package/dist/esm/lib/fields/Iterator.js +9 -10
  280. package/dist/esm/lib/fields/Iterator.js.map +1 -1
  281. package/dist/esm/lib/fields/Link.d.ts +13 -15
  282. package/dist/esm/lib/fields/Link.d.ts.map +1 -1
  283. package/dist/esm/lib/fields/Link.js +21 -15
  284. package/dist/esm/lib/fields/Link.js.map +1 -1
  285. package/dist/esm/lib/fields/List.d.ts +34 -34
  286. package/dist/esm/lib/fields/List.d.ts.map +1 -1
  287. package/dist/esm/lib/fields/List.js +46 -15
  288. package/dist/esm/lib/fields/List.js.map +1 -1
  289. package/dist/esm/lib/fields/Number.d.ts +12 -12
  290. package/dist/esm/lib/fields/Number.d.ts.map +1 -1
  291. package/dist/esm/lib/fields/Number.js +35 -16
  292. package/dist/esm/lib/fields/Number.js.map +1 -1
  293. package/dist/esm/lib/fields/Relation.d.ts +45 -39
  294. package/dist/esm/lib/fields/Relation.d.ts.map +1 -1
  295. package/dist/esm/lib/fields/Relation.js +75 -67
  296. package/dist/esm/lib/fields/Relation.js.map +1 -1
  297. package/dist/esm/lib/fields/Select.d.ts +14 -13
  298. package/dist/esm/lib/fields/Select.d.ts.map +1 -1
  299. package/dist/esm/lib/fields/Select.js +28 -16
  300. package/dist/esm/lib/fields/Select.js.map +1 -1
  301. package/dist/esm/lib/fields/SelfRelation.d.ts +19 -18
  302. package/dist/esm/lib/fields/SelfRelation.d.ts.map +1 -1
  303. package/dist/esm/lib/fields/SelfRelation.js +31 -21
  304. package/dist/esm/lib/fields/SelfRelation.js.map +1 -1
  305. package/dist/esm/lib/fields/SimpleList.d.ts +16 -20
  306. package/dist/esm/lib/fields/SimpleList.d.ts.map +1 -1
  307. package/dist/esm/lib/fields/SimpleList.js +38 -20
  308. package/dist/esm/lib/fields/SimpleList.js.map +1 -1
  309. package/dist/esm/lib/fields/String.d.ts +18 -25
  310. package/dist/esm/lib/fields/String.d.ts.map +1 -1
  311. package/dist/esm/lib/fields/String.js +55 -41
  312. package/dist/esm/lib/fields/String.js.map +1 -1
  313. package/dist/esm/lib/fields/index.d.ts +15 -83
  314. package/dist/esm/lib/fields/index.d.ts.map +1 -1
  315. package/dist/esm/lib/fields/index.js +15 -36
  316. package/dist/esm/lib/fields/index.js.map +1 -1
  317. package/dist/esm/lib/types/index.d.ts +8 -4
  318. package/dist/esm/lib/types/index.d.ts.map +1 -1
  319. package/dist/esm/lib/utils/getListField.d.ts +1 -1
  320. package/dist/esm/lib/utils/getSchemas.d.ts +1 -1
  321. package/dist/esm/lib/utils/getTranslation.d.ts +2 -2
  322. package/dist/esm/lib/utils/getTranslation.js +1 -1
  323. package/dist/esm/lib/utils/isTranslatableObject.d.ts +1 -1
  324. package/dist/esm/lib/utils/translateObject.d.ts +2 -2
  325. package/dist/esm/lib/utils/translateObject.js +3 -3
  326. package/dist/esm/literals/definitions.d.ts +1 -1
  327. package/dist/esm/literals/definitions.js +1 -1
  328. package/dist/esm/literals/index.d.ts +3 -3
  329. package/dist/esm/literals/index.js +3 -3
  330. package/dist/esm/literals/manager.d.ts +1 -1
  331. package/dist/esm/literals/manager.js +1 -1
  332. package/dist/esm/manager.d.ts +152 -148
  333. package/dist/esm/manager.d.ts.map +1 -1
  334. package/dist/esm/manager.js +2 -2
  335. package/dist/esm/media/imageOptimization.d.ts +1 -1
  336. package/dist/esm/media/imageOptimization.js +2 -2
  337. package/dist/esm/media/index.d.ts +4 -4
  338. package/dist/esm/media/index.js +3 -3
  339. package/dist/esm/media/mediaService.d.ts +1 -1
  340. package/dist/esm/orm/createIndexes.js +1 -1
  341. package/dist/esm/orm/database.js +3 -3
  342. package/dist/esm/orm/dbService.d.ts +3 -3
  343. package/dist/esm/orm/index.d.ts +2 -2
  344. package/dist/esm/orm/index.js +12 -12
  345. package/dist/esm/orm/mongodbPeer.js +1 -1
  346. package/dist/esm/orm/operations/clear.d.ts +1 -1
  347. package/dist/esm/orm/operations/clear.js +1 -1
  348. package/dist/esm/orm/operations/create.d.ts +2 -2
  349. package/dist/esm/orm/operations/create.js +4 -4
  350. package/dist/esm/orm/operations/delete.d.ts +2 -2
  351. package/dist/esm/orm/operations/delete.js +2 -2
  352. package/dist/esm/orm/operations/find.d.ts +2 -2
  353. package/dist/esm/orm/operations/find.js +3 -3
  354. package/dist/esm/orm/operations/findDependencies.d.ts +2 -2
  355. package/dist/esm/orm/operations/findDependencies.d.ts.map +1 -1
  356. package/dist/esm/orm/operations/findDependencies.js +8 -6
  357. package/dist/esm/orm/operations/findDependencies.js.map +1 -1
  358. package/dist/esm/orm/operations/get.d.ts +3 -3
  359. package/dist/esm/orm/operations/get.js +3 -3
  360. package/dist/esm/orm/operations/getAll.d.ts +2 -2
  361. package/dist/esm/orm/operations/getAll.js +2 -2
  362. package/dist/esm/orm/operations/list.d.ts +2 -2
  363. package/dist/esm/orm/operations/list.js +3 -3
  364. package/dist/esm/orm/operations/update.d.ts +3 -3
  365. package/dist/esm/orm/operations/update.js +5 -5
  366. package/dist/esm/orm/operations/updateMany.d.ts +2 -2
  367. package/dist/esm/orm/operations/updateMany.js +3 -3
  368. package/dist/esm/orm/operations/upsert.d.ts +2 -2
  369. package/dist/esm/orm/operations/upsert.js +4 -4
  370. package/dist/esm/orm/utils/deepDeleteNulls.js +1 -1
  371. package/dist/esm/orm/utils/parseId.d.ts +2 -2
  372. package/dist/esm/orm/utils/parseId.d.ts.map +1 -1
  373. package/dist/esm/orm/utils/parseId.js +1 -1
  374. package/dist/esm/orm/utils/transformObjectIdsToStrings.js +1 -1
  375. package/dist/esm/orm/utils/transformStringToObjectIds.js +1 -1
  376. package/dist/esm/schemas/manager/literals/upsert.js +1 -1
  377. package/dist/esm/schemas/manager/media/finalizeUpload.js +1 -1
  378. package/dist/esm/schemas/manager/media/getMediaUrl.js +1 -1
  379. package/dist/esm/schemas/manager/media/listFolders.js +1 -1
  380. package/dist/esm/schemas/web/page.d.ts +66 -18
  381. package/dist/esm/schemas/web/page.d.ts.map +1 -1
  382. package/dist/esm/schemas/web/page.js +1 -1
  383. package/dist/esm/web/index.d.ts +1 -1
  384. package/dist/esm/web/index.js +1 -1
  385. package/dist/esm/web/page.d.ts +1 -1
  386. package/dist/tsconfig.build.tsbuildinfo +1 -1
  387. package/package.json +4 -3
@@ -1,5 +1,5 @@
1
- import { type AnyRakunOperationContract, type RakunOperationHttpMethod, type RakunOperationKind } from "./api/operations/types.js";
2
- import { createManagerOperationContracts } from "./api/operations/manager-contract.js";
1
+ import { type AnyRakunOperationContract, type RakunOperationHttpMethod, type RakunOperationKind } from "./api/operations/types";
2
+ import { createManagerOperationContracts } from "./api/operations/manager-contract";
3
3
  export type ManagerOperationContracts = ReturnType<typeof createManagerOperationContracts>;
4
4
  export type ManagerOperationDefinitions = ManagerOperationContracts;
5
5
  export type ManagerOperationName = keyof ManagerOperationContracts & string;
@@ -30,7 +30,7 @@ export type ManagerOperationMeta = {
30
30
  };
31
31
  export declare const toManagerOperationPath: (name: string) => string;
32
32
  declare const managerOperationContracts: {
33
- "manager.contentTypes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
33
+ "manager.contentTypes": import("./api/operations/types").RakunOperationContractWithoutInput<{
34
34
  name: string;
35
35
  fields: Record<string, unknown>;
36
36
  uniques: string[][];
@@ -42,39 +42,37 @@ declare const managerOperationContracts: {
42
42
  listFields?: string[] | undefined;
43
43
  isHiddenFromManager?: boolean | undefined;
44
44
  }[], "query", "get", "auth">;
45
- "manager.languages": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
45
+ "manager.languages": import("./api/operations/types").RakunOperationContractWithoutInput<{
46
46
  code: string;
47
47
  name: string;
48
48
  default: boolean;
49
49
  _type: "Language";
50
50
  _id: string;
51
- parent?: {
52
- type: "self";
53
- _id: string;
54
- contentType: string;
55
- } | undefined;
51
+ parent?: import("./client").SelfRelationValue<string> | undefined;
52
+ createdAt?: Date | undefined;
53
+ updatedAt?: Date | undefined;
56
54
  }[], "query", "get", "auth">;
57
- "manager.regenerateRoutes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
55
+ "manager.regenerateRoutes": import("./api/operations/types").RakunOperationContractWithoutInput<{
58
56
  ok: boolean;
59
57
  }, "mutation", "post", "auth">;
60
- "manager.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
58
+ "manager.create": import("./api/operations/types").RakunOperationContractWithInput<{
61
59
  contentType: string;
62
60
  data: any;
63
61
  }, any, "mutation", "post", "auth">;
64
- "manager.update": import("./api/operations/types.js").RakunOperationContractWithInput<{
62
+ "manager.update": import("./api/operations/types").RakunOperationContractWithInput<{
65
63
  contentType: string;
66
64
  id: string;
67
65
  data: any;
68
66
  }, any, "mutation", "post", "auth">;
69
- "manager.delete": import("./api/operations/types.js").RakunOperationContractWithInput<{
67
+ "manager.delete": import("./api/operations/types").RakunOperationContractWithInput<{
70
68
  contentType: string;
71
69
  id: string;
72
70
  }, any, "mutation", "post", "auth">;
73
- "manager.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
71
+ "manager.get": import("./api/operations/types").RakunOperationContractWithInput<{
74
72
  contentType: string;
75
73
  id: string;
76
74
  }, any, "query", "post", "auth">;
77
- "manager.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
75
+ "manager.list": import("./api/operations/types").RakunOperationContractWithInput<{
78
76
  contentType: string;
79
77
  query: {
80
78
  filter?: Record<string, any> | undefined;
@@ -92,13 +90,13 @@ declare const managerOperationContracts: {
92
90
  _id: string;
93
91
  }[];
94
92
  }, "query", "post", "auth">;
95
- "manager.setDefaultLanguage": import("./api/operations/types.js").RakunOperationContractWithInput<{
93
+ "manager.setDefaultLanguage": import("./api/operations/types").RakunOperationContractWithInput<{
96
94
  language: string;
97
95
  }, {
98
96
  ok: boolean;
99
97
  }, "mutation", "post", "auth">;
100
- "manager.permissions": import("./api/operations/types.js").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
101
- "manager.media.prepareUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
98
+ "manager.permissions": import("./api/operations/types").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
99
+ "manager.media.prepareUpload": import("./api/operations/types").RakunOperationContractWithInput<{
102
100
  fileName: string;
103
101
  mime: string;
104
102
  size: number;
@@ -111,7 +109,7 @@ declare const managerOperationContracts: {
111
109
  access: "public" | "private";
112
110
  headers?: Record<string, string> | undefined;
113
111
  }, "mutation", "post", "auth">;
114
- "manager.media.finalizeUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
112
+ "manager.media.finalizeUpload": import("./api/operations/types").RakunOperationContractWithInput<{
115
113
  key: string;
116
114
  access?: "public" | "private" | undefined;
117
115
  fileName?: string | undefined;
@@ -178,7 +176,7 @@ declare const managerOperationContracts: {
178
176
  path: string;
179
177
  } | undefined;
180
178
  }, "mutation", "post", "auth">;
181
- "manager.media.getUrl": import("./api/operations/types.js").RakunOperationContractWithInput<{
179
+ "manager.media.getUrl": import("./api/operations/types").RakunOperationContractWithInput<{
182
180
  key: string;
183
181
  access?: "public" | "private" | undefined;
184
182
  expiresInSeconds?: number | undefined;
@@ -189,7 +187,7 @@ declare const managerOperationContracts: {
189
187
  expiresAt: Date | null;
190
188
  isPublic: boolean;
191
189
  }, "query", "post", "auth">;
192
- "manager.media.createFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
190
+ "manager.media.createFolder": import("./api/operations/types").RakunOperationContractWithInput<{
193
191
  name: string;
194
192
  parentId?: string | undefined;
195
193
  description?: string | undefined;
@@ -201,7 +199,7 @@ declare const managerOperationContracts: {
201
199
  parentId?: string | undefined;
202
200
  description?: string | undefined;
203
201
  }, "mutation", "post", "auth">;
204
- "manager.media.listFolders": import("./api/operations/types.js").RakunOperationContractWithInput<{
202
+ "manager.media.listFolders": import("./api/operations/types").RakunOperationContractWithInput<{
205
203
  parentId?: string | undefined;
206
204
  }, {
207
205
  items: {
@@ -213,7 +211,7 @@ declare const managerOperationContracts: {
213
211
  description?: string | undefined;
214
212
  }[];
215
213
  }, "query", "post", "auth">;
216
- "manager.literals.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
214
+ "manager.literals.list": import("./api/operations/types").RakunOperationContractWithInput<{
217
215
  locale?: string | undefined;
218
216
  }, {
219
217
  defaultLocale: string;
@@ -242,7 +240,7 @@ declare const managerOperationContracts: {
242
240
  translation?: string | undefined;
243
241
  }[];
244
242
  }, "query", "post", "auth">;
245
- "manager.literals.upsert": import("./api/operations/types.js").RakunOperationContractWithInput<{
243
+ "manager.literals.upsert": import("./api/operations/types").RakunOperationContractWithInput<{
246
244
  key: string;
247
245
  locale: string;
248
246
  message: string;
@@ -258,13 +256,13 @@ declare const managerOperationContracts: {
258
256
  extra: string[];
259
257
  };
260
258
  }, "mutation", "post", "auth">;
261
- "manager.auth.updatePassword": import("./api/operations/types.js").RakunOperationContractWithInput<{
259
+ "manager.auth.updatePassword": import("./api/operations/types").RakunOperationContractWithInput<{
262
260
  currentPassword: string;
263
261
  newPassword: string;
264
262
  }, {
265
263
  ok: boolean;
266
264
  }, "mutation", "post", "auth">;
267
- "manager.auth.login": import("./api/operations/types.js").RakunOperationContractWithInput<{
265
+ "manager.auth.login": import("./api/operations/types").RakunOperationContractWithInput<{
268
266
  username: string;
269
267
  password: string;
270
268
  }, {
@@ -274,10 +272,10 @@ declare const managerOperationContracts: {
274
272
  expiresAt: string;
275
273
  method: string;
276
274
  }, "mutation", "post", "public">;
277
- "manager.auth.logout": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
275
+ "manager.auth.logout": import("./api/operations/types").RakunOperationContractWithoutInput<{
278
276
  token: string;
279
277
  }, "mutation", "post", "auth">;
280
- "manager.auth.getSession": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
278
+ "manager.auth.getSession": import("./api/operations/types").RakunOperationContractWithoutInput<{
281
279
  user: string;
282
280
  email: string;
283
281
  role: {
@@ -285,13 +283,16 @@ declare const managerOperationContracts: {
285
283
  permissions: ("manager.users.readAny" | "manager.users.updateAny" | "manager.users.deleteAny" | "manager.roles.readAny" | "manager.roles.updateAny" | "manager.roles.deleteAny" | "manager.routes.readAny" | "manager.routes.updateAny" | "manager.routes.deleteAny" | "manager.languages.readAny" | "manager.languages.updateAny" | "manager.languages.deleteAny" | "content.Media.readAny" | "content.Media.own" | "content.Media.updateAny" | "content.Media.deleteAny" | "content.Redirect.readAny" | "content.Redirect.own" | "content.Redirect.updateAny" | "content.Redirect.deleteAny" | "manager.literals.readAny" | "manager.literals.updateAny")[];
286
284
  _type: "ManagerRole";
287
285
  _id: string;
286
+ createdAt?: Date | undefined;
287
+ updatedAt?: Date | undefined;
288
288
  };
289
289
  twoFactorEnabled: boolean;
290
290
  _type: "ManagerUser";
291
291
  _id: string;
292
- password?: undefined;
292
+ createdAt?: Date | undefined;
293
+ updatedAt?: Date | undefined;
293
294
  } | null, "query", "get", "public">;
294
- "manager.auth.accountInfo": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
295
+ "manager.auth.accountInfo": import("./api/operations/types").RakunOperationContractWithoutInput<{
295
296
  has2FA: boolean;
296
297
  enabled2FA: boolean;
297
298
  method2FA: "totp" | "webauthn";
@@ -302,21 +303,21 @@ declare const managerOperationContracts: {
302
303
  }[];
303
304
  currentSession: string;
304
305
  }, "query", "get", "auth">;
305
- "manager.auth.deleteSession": import("./api/operations/types.js").RakunOperationContractWithInput<{
306
+ "manager.auth.deleteSession": import("./api/operations/types").RakunOperationContractWithInput<{
306
307
  token: string;
307
308
  }, {
308
309
  ok: boolean;
309
310
  }, "mutation", "post", "auth">;
310
- "manager.auth.totp.enroll": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
311
+ "manager.auth.totp.enroll": import("./api/operations/types").RakunOperationContractWithoutInput<{
311
312
  qrDataURL: string;
312
313
  otpauthURL: string;
313
314
  }, "query", "get", "auth">;
314
- "manager.auth.totp.confirm": import("./api/operations/types.js").RakunOperationContractWithInput<{
315
+ "manager.auth.totp.confirm": import("./api/operations/types").RakunOperationContractWithInput<{
315
316
  code: string;
316
317
  }, {
317
318
  ok: boolean;
318
319
  }, "mutation", "post", "auth">;
319
- "manager.auth.totp.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
320
+ "manager.auth.totp.verify": import("./api/operations/types").RakunOperationContractWithInput<{
320
321
  code: string;
321
322
  challenge: string;
322
323
  }, {
@@ -324,25 +325,25 @@ declare const managerOperationContracts: {
324
325
  } | {
325
326
  error: string;
326
327
  }, "mutation", "post", "public">;
327
- "manager.auth.webauthn.register.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
328
+ "manager.auth.webauthn.register.options": import("./api/operations/types").RakunOperationContractWithInput<{
328
329
  deviceName: string;
329
330
  }, {
330
331
  token: string;
331
332
  options: any;
332
333
  }, "query", "post", "auth">;
333
- "manager.auth.webauthn.register.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
334
+ "manager.auth.webauthn.register.verify": import("./api/operations/types").RakunOperationContractWithInput<{
334
335
  token: string;
335
336
  deviceName: string;
336
337
  response: any;
337
338
  }, {
338
339
  ok: boolean;
339
340
  }, "mutation", "post", "auth">;
340
- "manager.auth.webauthn.auth.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
341
+ "manager.auth.webauthn.auth.options": import("./api/operations/types").RakunOperationContractWithInput<{
341
342
  challengeToken: string;
342
343
  }, {
343
344
  options: any;
344
345
  }, "query", "post", "public">;
345
- "manager.auth.webauthn.auth.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
346
+ "manager.auth.webauthn.auth.verify": import("./api/operations/types").RakunOperationContractWithInput<{
346
347
  challengeToken: string;
347
348
  response: any;
348
349
  }, {
@@ -350,8 +351,8 @@ declare const managerOperationContracts: {
350
351
  }, "mutation", "post", "public">;
351
352
  };
352
353
  export { managerOperationContracts };
353
- export declare const managerOperationManifest: import("./index.js").RakunOperationManifestFromContracts<{
354
- "manager.contentTypes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
354
+ export declare const managerOperationManifest: import(".").RakunOperationManifestFromContracts<{
355
+ "manager.contentTypes": import("./api/operations/types").RakunOperationContractWithoutInput<{
355
356
  name: string;
356
357
  fields: Record<string, unknown>;
357
358
  uniques: string[][];
@@ -363,39 +364,37 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
363
364
  listFields?: string[] | undefined;
364
365
  isHiddenFromManager?: boolean | undefined;
365
366
  }[], "query", "get", "auth">;
366
- "manager.languages": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
367
+ "manager.languages": import("./api/operations/types").RakunOperationContractWithoutInput<{
367
368
  code: string;
368
369
  name: string;
369
370
  default: boolean;
370
371
  _type: "Language";
371
372
  _id: string;
372
- parent?: {
373
- type: "self";
374
- _id: string;
375
- contentType: string;
376
- } | undefined;
373
+ parent?: import("./client").SelfRelationValue<string> | undefined;
374
+ createdAt?: Date | undefined;
375
+ updatedAt?: Date | undefined;
377
376
  }[], "query", "get", "auth">;
378
- "manager.regenerateRoutes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
377
+ "manager.regenerateRoutes": import("./api/operations/types").RakunOperationContractWithoutInput<{
379
378
  ok: boolean;
380
379
  }, "mutation", "post", "auth">;
381
- "manager.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
380
+ "manager.create": import("./api/operations/types").RakunOperationContractWithInput<{
382
381
  contentType: string;
383
382
  data: any;
384
383
  }, any, "mutation", "post", "auth">;
385
- "manager.update": import("./api/operations/types.js").RakunOperationContractWithInput<{
384
+ "manager.update": import("./api/operations/types").RakunOperationContractWithInput<{
386
385
  contentType: string;
387
386
  id: string;
388
387
  data: any;
389
388
  }, any, "mutation", "post", "auth">;
390
- "manager.delete": import("./api/operations/types.js").RakunOperationContractWithInput<{
389
+ "manager.delete": import("./api/operations/types").RakunOperationContractWithInput<{
391
390
  contentType: string;
392
391
  id: string;
393
392
  }, any, "mutation", "post", "auth">;
394
- "manager.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
393
+ "manager.get": import("./api/operations/types").RakunOperationContractWithInput<{
395
394
  contentType: string;
396
395
  id: string;
397
396
  }, any, "query", "post", "auth">;
398
- "manager.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
397
+ "manager.list": import("./api/operations/types").RakunOperationContractWithInput<{
399
398
  contentType: string;
400
399
  query: {
401
400
  filter?: Record<string, any> | undefined;
@@ -413,13 +412,13 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
413
412
  _id: string;
414
413
  }[];
415
414
  }, "query", "post", "auth">;
416
- "manager.setDefaultLanguage": import("./api/operations/types.js").RakunOperationContractWithInput<{
415
+ "manager.setDefaultLanguage": import("./api/operations/types").RakunOperationContractWithInput<{
417
416
  language: string;
418
417
  }, {
419
418
  ok: boolean;
420
419
  }, "mutation", "post", "auth">;
421
- "manager.permissions": import("./api/operations/types.js").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
422
- "manager.media.prepareUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
420
+ "manager.permissions": import("./api/operations/types").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
421
+ "manager.media.prepareUpload": import("./api/operations/types").RakunOperationContractWithInput<{
423
422
  fileName: string;
424
423
  mime: string;
425
424
  size: number;
@@ -432,7 +431,7 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
432
431
  access: "public" | "private";
433
432
  headers?: Record<string, string> | undefined;
434
433
  }, "mutation", "post", "auth">;
435
- "manager.media.finalizeUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
434
+ "manager.media.finalizeUpload": import("./api/operations/types").RakunOperationContractWithInput<{
436
435
  key: string;
437
436
  access?: "public" | "private" | undefined;
438
437
  fileName?: string | undefined;
@@ -499,7 +498,7 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
499
498
  path: string;
500
499
  } | undefined;
501
500
  }, "mutation", "post", "auth">;
502
- "manager.media.getUrl": import("./api/operations/types.js").RakunOperationContractWithInput<{
501
+ "manager.media.getUrl": import("./api/operations/types").RakunOperationContractWithInput<{
503
502
  key: string;
504
503
  access?: "public" | "private" | undefined;
505
504
  expiresInSeconds?: number | undefined;
@@ -510,7 +509,7 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
510
509
  expiresAt: Date | null;
511
510
  isPublic: boolean;
512
511
  }, "query", "post", "auth">;
513
- "manager.media.createFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
512
+ "manager.media.createFolder": import("./api/operations/types").RakunOperationContractWithInput<{
514
513
  name: string;
515
514
  parentId?: string | undefined;
516
515
  description?: string | undefined;
@@ -522,7 +521,7 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
522
521
  parentId?: string | undefined;
523
522
  description?: string | undefined;
524
523
  }, "mutation", "post", "auth">;
525
- "manager.media.listFolders": import("./api/operations/types.js").RakunOperationContractWithInput<{
524
+ "manager.media.listFolders": import("./api/operations/types").RakunOperationContractWithInput<{
526
525
  parentId?: string | undefined;
527
526
  }, {
528
527
  items: {
@@ -534,7 +533,7 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
534
533
  description?: string | undefined;
535
534
  }[];
536
535
  }, "query", "post", "auth">;
537
- "manager.literals.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
536
+ "manager.literals.list": import("./api/operations/types").RakunOperationContractWithInput<{
538
537
  locale?: string | undefined;
539
538
  }, {
540
539
  defaultLocale: string;
@@ -563,7 +562,7 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
563
562
  translation?: string | undefined;
564
563
  }[];
565
564
  }, "query", "post", "auth">;
566
- "manager.literals.upsert": import("./api/operations/types.js").RakunOperationContractWithInput<{
565
+ "manager.literals.upsert": import("./api/operations/types").RakunOperationContractWithInput<{
567
566
  key: string;
568
567
  locale: string;
569
568
  message: string;
@@ -579,13 +578,13 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
579
578
  extra: string[];
580
579
  };
581
580
  }, "mutation", "post", "auth">;
582
- "manager.auth.updatePassword": import("./api/operations/types.js").RakunOperationContractWithInput<{
581
+ "manager.auth.updatePassword": import("./api/operations/types").RakunOperationContractWithInput<{
583
582
  currentPassword: string;
584
583
  newPassword: string;
585
584
  }, {
586
585
  ok: boolean;
587
586
  }, "mutation", "post", "auth">;
588
- "manager.auth.login": import("./api/operations/types.js").RakunOperationContractWithInput<{
587
+ "manager.auth.login": import("./api/operations/types").RakunOperationContractWithInput<{
589
588
  username: string;
590
589
  password: string;
591
590
  }, {
@@ -595,10 +594,10 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
595
594
  expiresAt: string;
596
595
  method: string;
597
596
  }, "mutation", "post", "public">;
598
- "manager.auth.logout": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
597
+ "manager.auth.logout": import("./api/operations/types").RakunOperationContractWithoutInput<{
599
598
  token: string;
600
599
  }, "mutation", "post", "auth">;
601
- "manager.auth.getSession": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
600
+ "manager.auth.getSession": import("./api/operations/types").RakunOperationContractWithoutInput<{
602
601
  user: string;
603
602
  email: string;
604
603
  role: {
@@ -606,13 +605,16 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
606
605
  permissions: ("manager.users.readAny" | "manager.users.updateAny" | "manager.users.deleteAny" | "manager.roles.readAny" | "manager.roles.updateAny" | "manager.roles.deleteAny" | "manager.routes.readAny" | "manager.routes.updateAny" | "manager.routes.deleteAny" | "manager.languages.readAny" | "manager.languages.updateAny" | "manager.languages.deleteAny" | "content.Media.readAny" | "content.Media.own" | "content.Media.updateAny" | "content.Media.deleteAny" | "content.Redirect.readAny" | "content.Redirect.own" | "content.Redirect.updateAny" | "content.Redirect.deleteAny" | "manager.literals.readAny" | "manager.literals.updateAny")[];
607
606
  _type: "ManagerRole";
608
607
  _id: string;
608
+ createdAt?: Date | undefined;
609
+ updatedAt?: Date | undefined;
609
610
  };
610
611
  twoFactorEnabled: boolean;
611
612
  _type: "ManagerUser";
612
613
  _id: string;
613
- password?: undefined;
614
+ createdAt?: Date | undefined;
615
+ updatedAt?: Date | undefined;
614
616
  } | null, "query", "get", "public">;
615
- "manager.auth.accountInfo": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
617
+ "manager.auth.accountInfo": import("./api/operations/types").RakunOperationContractWithoutInput<{
616
618
  has2FA: boolean;
617
619
  enabled2FA: boolean;
618
620
  method2FA: "totp" | "webauthn";
@@ -623,21 +625,21 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
623
625
  }[];
624
626
  currentSession: string;
625
627
  }, "query", "get", "auth">;
626
- "manager.auth.deleteSession": import("./api/operations/types.js").RakunOperationContractWithInput<{
628
+ "manager.auth.deleteSession": import("./api/operations/types").RakunOperationContractWithInput<{
627
629
  token: string;
628
630
  }, {
629
631
  ok: boolean;
630
632
  }, "mutation", "post", "auth">;
631
- "manager.auth.totp.enroll": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
633
+ "manager.auth.totp.enroll": import("./api/operations/types").RakunOperationContractWithoutInput<{
632
634
  qrDataURL: string;
633
635
  otpauthURL: string;
634
636
  }, "query", "get", "auth">;
635
- "manager.auth.totp.confirm": import("./api/operations/types.js").RakunOperationContractWithInput<{
637
+ "manager.auth.totp.confirm": import("./api/operations/types").RakunOperationContractWithInput<{
636
638
  code: string;
637
639
  }, {
638
640
  ok: boolean;
639
641
  }, "mutation", "post", "auth">;
640
- "manager.auth.totp.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
642
+ "manager.auth.totp.verify": import("./api/operations/types").RakunOperationContractWithInput<{
641
643
  code: string;
642
644
  challenge: string;
643
645
  }, {
@@ -645,25 +647,25 @@ export declare const managerOperationManifest: import("./index.js").RakunOperati
645
647
  } | {
646
648
  error: string;
647
649
  }, "mutation", "post", "public">;
648
- "manager.auth.webauthn.register.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
650
+ "manager.auth.webauthn.register.options": import("./api/operations/types").RakunOperationContractWithInput<{
649
651
  deviceName: string;
650
652
  }, {
651
653
  token: string;
652
654
  options: any;
653
655
  }, "query", "post", "auth">;
654
- "manager.auth.webauthn.register.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
656
+ "manager.auth.webauthn.register.verify": import("./api/operations/types").RakunOperationContractWithInput<{
655
657
  token: string;
656
658
  deviceName: string;
657
659
  response: any;
658
660
  }, {
659
661
  ok: boolean;
660
662
  }, "mutation", "post", "auth">;
661
- "manager.auth.webauthn.auth.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
663
+ "manager.auth.webauthn.auth.options": import("./api/operations/types").RakunOperationContractWithInput<{
662
664
  challengeToken: string;
663
665
  }, {
664
666
  options: any;
665
667
  }, "query", "post", "public">;
666
- "manager.auth.webauthn.auth.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
668
+ "manager.auth.webauthn.auth.verify": import("./api/operations/types").RakunOperationContractWithInput<{
667
669
  challengeToken: string;
668
670
  response: any;
669
671
  }, {
@@ -677,8 +679,8 @@ export type ManagerQueryOperationName = {
677
679
  export type ManagerMutationOperationName = {
678
680
  [TName in keyof ManagerManifest]: ManagerManifest[TName]["kind"] extends "mutation" ? TName : never;
679
681
  }[keyof ManagerManifest];
680
- export declare const getManagerOperationMeta: <TName extends ManagerOperationName>(name: TName) => import("./index.js").RakunOperationManifestFromContracts<{
681
- "manager.contentTypes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
682
+ export declare const getManagerOperationMeta: <TName extends ManagerOperationName>(name: TName) => import(".").RakunOperationManifestFromContracts<{
683
+ "manager.contentTypes": import("./api/operations/types").RakunOperationContractWithoutInput<{
682
684
  name: string;
683
685
  fields: Record<string, unknown>;
684
686
  uniques: string[][];
@@ -690,39 +692,37 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
690
692
  listFields?: string[] | undefined;
691
693
  isHiddenFromManager?: boolean | undefined;
692
694
  }[], "query", "get", "auth">;
693
- "manager.languages": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
695
+ "manager.languages": import("./api/operations/types").RakunOperationContractWithoutInput<{
694
696
  code: string;
695
697
  name: string;
696
698
  default: boolean;
697
699
  _type: "Language";
698
700
  _id: string;
699
- parent?: {
700
- type: "self";
701
- _id: string;
702
- contentType: string;
703
- } | undefined;
701
+ parent?: import("./client").SelfRelationValue<string> | undefined;
702
+ createdAt?: Date | undefined;
703
+ updatedAt?: Date | undefined;
704
704
  }[], "query", "get", "auth">;
705
- "manager.regenerateRoutes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
705
+ "manager.regenerateRoutes": import("./api/operations/types").RakunOperationContractWithoutInput<{
706
706
  ok: boolean;
707
707
  }, "mutation", "post", "auth">;
708
- "manager.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
708
+ "manager.create": import("./api/operations/types").RakunOperationContractWithInput<{
709
709
  contentType: string;
710
710
  data: any;
711
711
  }, any, "mutation", "post", "auth">;
712
- "manager.update": import("./api/operations/types.js").RakunOperationContractWithInput<{
712
+ "manager.update": import("./api/operations/types").RakunOperationContractWithInput<{
713
713
  contentType: string;
714
714
  id: string;
715
715
  data: any;
716
716
  }, any, "mutation", "post", "auth">;
717
- "manager.delete": import("./api/operations/types.js").RakunOperationContractWithInput<{
717
+ "manager.delete": import("./api/operations/types").RakunOperationContractWithInput<{
718
718
  contentType: string;
719
719
  id: string;
720
720
  }, any, "mutation", "post", "auth">;
721
- "manager.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
721
+ "manager.get": import("./api/operations/types").RakunOperationContractWithInput<{
722
722
  contentType: string;
723
723
  id: string;
724
724
  }, any, "query", "post", "auth">;
725
- "manager.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
725
+ "manager.list": import("./api/operations/types").RakunOperationContractWithInput<{
726
726
  contentType: string;
727
727
  query: {
728
728
  filter?: Record<string, any> | undefined;
@@ -740,13 +740,13 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
740
740
  _id: string;
741
741
  }[];
742
742
  }, "query", "post", "auth">;
743
- "manager.setDefaultLanguage": import("./api/operations/types.js").RakunOperationContractWithInput<{
743
+ "manager.setDefaultLanguage": import("./api/operations/types").RakunOperationContractWithInput<{
744
744
  language: string;
745
745
  }, {
746
746
  ok: boolean;
747
747
  }, "mutation", "post", "auth">;
748
- "manager.permissions": import("./api/operations/types.js").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
749
- "manager.media.prepareUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
748
+ "manager.permissions": import("./api/operations/types").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
749
+ "manager.media.prepareUpload": import("./api/operations/types").RakunOperationContractWithInput<{
750
750
  fileName: string;
751
751
  mime: string;
752
752
  size: number;
@@ -759,7 +759,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
759
759
  access: "public" | "private";
760
760
  headers?: Record<string, string> | undefined;
761
761
  }, "mutation", "post", "auth">;
762
- "manager.media.finalizeUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
762
+ "manager.media.finalizeUpload": import("./api/operations/types").RakunOperationContractWithInput<{
763
763
  key: string;
764
764
  access?: "public" | "private" | undefined;
765
765
  fileName?: string | undefined;
@@ -826,7 +826,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
826
826
  path: string;
827
827
  } | undefined;
828
828
  }, "mutation", "post", "auth">;
829
- "manager.media.getUrl": import("./api/operations/types.js").RakunOperationContractWithInput<{
829
+ "manager.media.getUrl": import("./api/operations/types").RakunOperationContractWithInput<{
830
830
  key: string;
831
831
  access?: "public" | "private" | undefined;
832
832
  expiresInSeconds?: number | undefined;
@@ -837,7 +837,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
837
837
  expiresAt: Date | null;
838
838
  isPublic: boolean;
839
839
  }, "query", "post", "auth">;
840
- "manager.media.createFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
840
+ "manager.media.createFolder": import("./api/operations/types").RakunOperationContractWithInput<{
841
841
  name: string;
842
842
  parentId?: string | undefined;
843
843
  description?: string | undefined;
@@ -849,7 +849,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
849
849
  parentId?: string | undefined;
850
850
  description?: string | undefined;
851
851
  }, "mutation", "post", "auth">;
852
- "manager.media.listFolders": import("./api/operations/types.js").RakunOperationContractWithInput<{
852
+ "manager.media.listFolders": import("./api/operations/types").RakunOperationContractWithInput<{
853
853
  parentId?: string | undefined;
854
854
  }, {
855
855
  items: {
@@ -861,7 +861,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
861
861
  description?: string | undefined;
862
862
  }[];
863
863
  }, "query", "post", "auth">;
864
- "manager.literals.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
864
+ "manager.literals.list": import("./api/operations/types").RakunOperationContractWithInput<{
865
865
  locale?: string | undefined;
866
866
  }, {
867
867
  defaultLocale: string;
@@ -890,7 +890,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
890
890
  translation?: string | undefined;
891
891
  }[];
892
892
  }, "query", "post", "auth">;
893
- "manager.literals.upsert": import("./api/operations/types.js").RakunOperationContractWithInput<{
893
+ "manager.literals.upsert": import("./api/operations/types").RakunOperationContractWithInput<{
894
894
  key: string;
895
895
  locale: string;
896
896
  message: string;
@@ -906,13 +906,13 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
906
906
  extra: string[];
907
907
  };
908
908
  }, "mutation", "post", "auth">;
909
- "manager.auth.updatePassword": import("./api/operations/types.js").RakunOperationContractWithInput<{
909
+ "manager.auth.updatePassword": import("./api/operations/types").RakunOperationContractWithInput<{
910
910
  currentPassword: string;
911
911
  newPassword: string;
912
912
  }, {
913
913
  ok: boolean;
914
914
  }, "mutation", "post", "auth">;
915
- "manager.auth.login": import("./api/operations/types.js").RakunOperationContractWithInput<{
915
+ "manager.auth.login": import("./api/operations/types").RakunOperationContractWithInput<{
916
916
  username: string;
917
917
  password: string;
918
918
  }, {
@@ -922,10 +922,10 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
922
922
  expiresAt: string;
923
923
  method: string;
924
924
  }, "mutation", "post", "public">;
925
- "manager.auth.logout": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
925
+ "manager.auth.logout": import("./api/operations/types").RakunOperationContractWithoutInput<{
926
926
  token: string;
927
927
  }, "mutation", "post", "auth">;
928
- "manager.auth.getSession": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
928
+ "manager.auth.getSession": import("./api/operations/types").RakunOperationContractWithoutInput<{
929
929
  user: string;
930
930
  email: string;
931
931
  role: {
@@ -933,13 +933,16 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
933
933
  permissions: ("manager.users.readAny" | "manager.users.updateAny" | "manager.users.deleteAny" | "manager.roles.readAny" | "manager.roles.updateAny" | "manager.roles.deleteAny" | "manager.routes.readAny" | "manager.routes.updateAny" | "manager.routes.deleteAny" | "manager.languages.readAny" | "manager.languages.updateAny" | "manager.languages.deleteAny" | "content.Media.readAny" | "content.Media.own" | "content.Media.updateAny" | "content.Media.deleteAny" | "content.Redirect.readAny" | "content.Redirect.own" | "content.Redirect.updateAny" | "content.Redirect.deleteAny" | "manager.literals.readAny" | "manager.literals.updateAny")[];
934
934
  _type: "ManagerRole";
935
935
  _id: string;
936
+ createdAt?: Date | undefined;
937
+ updatedAt?: Date | undefined;
936
938
  };
937
939
  twoFactorEnabled: boolean;
938
940
  _type: "ManagerUser";
939
941
  _id: string;
940
- password?: undefined;
942
+ createdAt?: Date | undefined;
943
+ updatedAt?: Date | undefined;
941
944
  } | null, "query", "get", "public">;
942
- "manager.auth.accountInfo": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
945
+ "manager.auth.accountInfo": import("./api/operations/types").RakunOperationContractWithoutInput<{
943
946
  has2FA: boolean;
944
947
  enabled2FA: boolean;
945
948
  method2FA: "totp" | "webauthn";
@@ -950,21 +953,21 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
950
953
  }[];
951
954
  currentSession: string;
952
955
  }, "query", "get", "auth">;
953
- "manager.auth.deleteSession": import("./api/operations/types.js").RakunOperationContractWithInput<{
956
+ "manager.auth.deleteSession": import("./api/operations/types").RakunOperationContractWithInput<{
954
957
  token: string;
955
958
  }, {
956
959
  ok: boolean;
957
960
  }, "mutation", "post", "auth">;
958
- "manager.auth.totp.enroll": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
961
+ "manager.auth.totp.enroll": import("./api/operations/types").RakunOperationContractWithoutInput<{
959
962
  qrDataURL: string;
960
963
  otpauthURL: string;
961
964
  }, "query", "get", "auth">;
962
- "manager.auth.totp.confirm": import("./api/operations/types.js").RakunOperationContractWithInput<{
965
+ "manager.auth.totp.confirm": import("./api/operations/types").RakunOperationContractWithInput<{
963
966
  code: string;
964
967
  }, {
965
968
  ok: boolean;
966
969
  }, "mutation", "post", "auth">;
967
- "manager.auth.totp.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
970
+ "manager.auth.totp.verify": import("./api/operations/types").RakunOperationContractWithInput<{
968
971
  code: string;
969
972
  challenge: string;
970
973
  }, {
@@ -972,25 +975,25 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
972
975
  } | {
973
976
  error: string;
974
977
  }, "mutation", "post", "public">;
975
- "manager.auth.webauthn.register.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
978
+ "manager.auth.webauthn.register.options": import("./api/operations/types").RakunOperationContractWithInput<{
976
979
  deviceName: string;
977
980
  }, {
978
981
  token: string;
979
982
  options: any;
980
983
  }, "query", "post", "auth">;
981
- "manager.auth.webauthn.register.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
984
+ "manager.auth.webauthn.register.verify": import("./api/operations/types").RakunOperationContractWithInput<{
982
985
  token: string;
983
986
  deviceName: string;
984
987
  response: any;
985
988
  }, {
986
989
  ok: boolean;
987
990
  }, "mutation", "post", "auth">;
988
- "manager.auth.webauthn.auth.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
991
+ "manager.auth.webauthn.auth.options": import("./api/operations/types").RakunOperationContractWithInput<{
989
992
  challengeToken: string;
990
993
  }, {
991
994
  options: any;
992
995
  }, "query", "post", "public">;
993
- "manager.auth.webauthn.auth.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
996
+ "manager.auth.webauthn.auth.verify": import("./api/operations/types").RakunOperationContractWithInput<{
994
997
  challengeToken: string;
995
998
  response: any;
996
999
  }, {
@@ -998,7 +1001,7 @@ export declare const getManagerOperationMeta: <TName extends ManagerOperationNam
998
1001
  }, "mutation", "post", "public">;
999
1002
  }>[TName];
1000
1003
  export declare const getManagerOperationContract: <TName extends ManagerOperationName>(name: TName) => {
1001
- "manager.contentTypes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1004
+ "manager.contentTypes": import("./api/operations/types").RakunOperationContractWithoutInput<{
1002
1005
  name: string;
1003
1006
  fields: Record<string, unknown>;
1004
1007
  uniques: string[][];
@@ -1010,39 +1013,37 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1010
1013
  listFields?: string[] | undefined;
1011
1014
  isHiddenFromManager?: boolean | undefined;
1012
1015
  }[], "query", "get", "auth">;
1013
- "manager.languages": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1016
+ "manager.languages": import("./api/operations/types").RakunOperationContractWithoutInput<{
1014
1017
  code: string;
1015
1018
  name: string;
1016
1019
  default: boolean;
1017
1020
  _type: "Language";
1018
1021
  _id: string;
1019
- parent?: {
1020
- type: "self";
1021
- _id: string;
1022
- contentType: string;
1023
- } | undefined;
1022
+ parent?: import("./client").SelfRelationValue<string> | undefined;
1023
+ createdAt?: Date | undefined;
1024
+ updatedAt?: Date | undefined;
1024
1025
  }[], "query", "get", "auth">;
1025
- "manager.regenerateRoutes": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1026
+ "manager.regenerateRoutes": import("./api/operations/types").RakunOperationContractWithoutInput<{
1026
1027
  ok: boolean;
1027
1028
  }, "mutation", "post", "auth">;
1028
- "manager.create": import("./api/operations/types.js").RakunOperationContractWithInput<{
1029
+ "manager.create": import("./api/operations/types").RakunOperationContractWithInput<{
1029
1030
  contentType: string;
1030
1031
  data: any;
1031
1032
  }, any, "mutation", "post", "auth">;
1032
- "manager.update": import("./api/operations/types.js").RakunOperationContractWithInput<{
1033
+ "manager.update": import("./api/operations/types").RakunOperationContractWithInput<{
1033
1034
  contentType: string;
1034
1035
  id: string;
1035
1036
  data: any;
1036
1037
  }, any, "mutation", "post", "auth">;
1037
- "manager.delete": import("./api/operations/types.js").RakunOperationContractWithInput<{
1038
+ "manager.delete": import("./api/operations/types").RakunOperationContractWithInput<{
1038
1039
  contentType: string;
1039
1040
  id: string;
1040
1041
  }, any, "mutation", "post", "auth">;
1041
- "manager.get": import("./api/operations/types.js").RakunOperationContractWithInput<{
1042
+ "manager.get": import("./api/operations/types").RakunOperationContractWithInput<{
1042
1043
  contentType: string;
1043
1044
  id: string;
1044
1045
  }, any, "query", "post", "auth">;
1045
- "manager.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
1046
+ "manager.list": import("./api/operations/types").RakunOperationContractWithInput<{
1046
1047
  contentType: string;
1047
1048
  query: {
1048
1049
  filter?: Record<string, any> | undefined;
@@ -1060,13 +1061,13 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1060
1061
  _id: string;
1061
1062
  }[];
1062
1063
  }, "query", "post", "auth">;
1063
- "manager.setDefaultLanguage": import("./api/operations/types.js").RakunOperationContractWithInput<{
1064
+ "manager.setDefaultLanguage": import("./api/operations/types").RakunOperationContractWithInput<{
1064
1065
  language: string;
1065
1066
  }, {
1066
1067
  ok: boolean;
1067
1068
  }, "mutation", "post", "auth">;
1068
- "manager.permissions": import("./api/operations/types.js").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
1069
- "manager.media.prepareUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
1069
+ "manager.permissions": import("./api/operations/types").RakunOperationContractWithoutInput<string[], "query", "get", "auth">;
1070
+ "manager.media.prepareUpload": import("./api/operations/types").RakunOperationContractWithInput<{
1070
1071
  fileName: string;
1071
1072
  mime: string;
1072
1073
  size: number;
@@ -1079,7 +1080,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1079
1080
  access: "public" | "private";
1080
1081
  headers?: Record<string, string> | undefined;
1081
1082
  }, "mutation", "post", "auth">;
1082
- "manager.media.finalizeUpload": import("./api/operations/types.js").RakunOperationContractWithInput<{
1083
+ "manager.media.finalizeUpload": import("./api/operations/types").RakunOperationContractWithInput<{
1083
1084
  key: string;
1084
1085
  access?: "public" | "private" | undefined;
1085
1086
  fileName?: string | undefined;
@@ -1146,7 +1147,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1146
1147
  path: string;
1147
1148
  } | undefined;
1148
1149
  }, "mutation", "post", "auth">;
1149
- "manager.media.getUrl": import("./api/operations/types.js").RakunOperationContractWithInput<{
1150
+ "manager.media.getUrl": import("./api/operations/types").RakunOperationContractWithInput<{
1150
1151
  key: string;
1151
1152
  access?: "public" | "private" | undefined;
1152
1153
  expiresInSeconds?: number | undefined;
@@ -1157,7 +1158,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1157
1158
  expiresAt: Date | null;
1158
1159
  isPublic: boolean;
1159
1160
  }, "query", "post", "auth">;
1160
- "manager.media.createFolder": import("./api/operations/types.js").RakunOperationContractWithInput<{
1161
+ "manager.media.createFolder": import("./api/operations/types").RakunOperationContractWithInput<{
1161
1162
  name: string;
1162
1163
  parentId?: string | undefined;
1163
1164
  description?: string | undefined;
@@ -1169,7 +1170,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1169
1170
  parentId?: string | undefined;
1170
1171
  description?: string | undefined;
1171
1172
  }, "mutation", "post", "auth">;
1172
- "manager.media.listFolders": import("./api/operations/types.js").RakunOperationContractWithInput<{
1173
+ "manager.media.listFolders": import("./api/operations/types").RakunOperationContractWithInput<{
1173
1174
  parentId?: string | undefined;
1174
1175
  }, {
1175
1176
  items: {
@@ -1181,7 +1182,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1181
1182
  description?: string | undefined;
1182
1183
  }[];
1183
1184
  }, "query", "post", "auth">;
1184
- "manager.literals.list": import("./api/operations/types.js").RakunOperationContractWithInput<{
1185
+ "manager.literals.list": import("./api/operations/types").RakunOperationContractWithInput<{
1185
1186
  locale?: string | undefined;
1186
1187
  }, {
1187
1188
  defaultLocale: string;
@@ -1210,7 +1211,7 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1210
1211
  translation?: string | undefined;
1211
1212
  }[];
1212
1213
  }, "query", "post", "auth">;
1213
- "manager.literals.upsert": import("./api/operations/types.js").RakunOperationContractWithInput<{
1214
+ "manager.literals.upsert": import("./api/operations/types").RakunOperationContractWithInput<{
1214
1215
  key: string;
1215
1216
  locale: string;
1216
1217
  message: string;
@@ -1226,13 +1227,13 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1226
1227
  extra: string[];
1227
1228
  };
1228
1229
  }, "mutation", "post", "auth">;
1229
- "manager.auth.updatePassword": import("./api/operations/types.js").RakunOperationContractWithInput<{
1230
+ "manager.auth.updatePassword": import("./api/operations/types").RakunOperationContractWithInput<{
1230
1231
  currentPassword: string;
1231
1232
  newPassword: string;
1232
1233
  }, {
1233
1234
  ok: boolean;
1234
1235
  }, "mutation", "post", "auth">;
1235
- "manager.auth.login": import("./api/operations/types.js").RakunOperationContractWithInput<{
1236
+ "manager.auth.login": import("./api/operations/types").RakunOperationContractWithInput<{
1236
1237
  username: string;
1237
1238
  password: string;
1238
1239
  }, {
@@ -1242,10 +1243,10 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1242
1243
  expiresAt: string;
1243
1244
  method: string;
1244
1245
  }, "mutation", "post", "public">;
1245
- "manager.auth.logout": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1246
+ "manager.auth.logout": import("./api/operations/types").RakunOperationContractWithoutInput<{
1246
1247
  token: string;
1247
1248
  }, "mutation", "post", "auth">;
1248
- "manager.auth.getSession": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1249
+ "manager.auth.getSession": import("./api/operations/types").RakunOperationContractWithoutInput<{
1249
1250
  user: string;
1250
1251
  email: string;
1251
1252
  role: {
@@ -1253,13 +1254,16 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1253
1254
  permissions: ("manager.users.readAny" | "manager.users.updateAny" | "manager.users.deleteAny" | "manager.roles.readAny" | "manager.roles.updateAny" | "manager.roles.deleteAny" | "manager.routes.readAny" | "manager.routes.updateAny" | "manager.routes.deleteAny" | "manager.languages.readAny" | "manager.languages.updateAny" | "manager.languages.deleteAny" | "content.Media.readAny" | "content.Media.own" | "content.Media.updateAny" | "content.Media.deleteAny" | "content.Redirect.readAny" | "content.Redirect.own" | "content.Redirect.updateAny" | "content.Redirect.deleteAny" | "manager.literals.readAny" | "manager.literals.updateAny")[];
1254
1255
  _type: "ManagerRole";
1255
1256
  _id: string;
1257
+ createdAt?: Date | undefined;
1258
+ updatedAt?: Date | undefined;
1256
1259
  };
1257
1260
  twoFactorEnabled: boolean;
1258
1261
  _type: "ManagerUser";
1259
1262
  _id: string;
1260
- password?: undefined;
1263
+ createdAt?: Date | undefined;
1264
+ updatedAt?: Date | undefined;
1261
1265
  } | null, "query", "get", "public">;
1262
- "manager.auth.accountInfo": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1266
+ "manager.auth.accountInfo": import("./api/operations/types").RakunOperationContractWithoutInput<{
1263
1267
  has2FA: boolean;
1264
1268
  enabled2FA: boolean;
1265
1269
  method2FA: "totp" | "webauthn";
@@ -1270,21 +1274,21 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1270
1274
  }[];
1271
1275
  currentSession: string;
1272
1276
  }, "query", "get", "auth">;
1273
- "manager.auth.deleteSession": import("./api/operations/types.js").RakunOperationContractWithInput<{
1277
+ "manager.auth.deleteSession": import("./api/operations/types").RakunOperationContractWithInput<{
1274
1278
  token: string;
1275
1279
  }, {
1276
1280
  ok: boolean;
1277
1281
  }, "mutation", "post", "auth">;
1278
- "manager.auth.totp.enroll": import("./api/operations/types.js").RakunOperationContractWithoutInput<{
1282
+ "manager.auth.totp.enroll": import("./api/operations/types").RakunOperationContractWithoutInput<{
1279
1283
  qrDataURL: string;
1280
1284
  otpauthURL: string;
1281
1285
  }, "query", "get", "auth">;
1282
- "manager.auth.totp.confirm": import("./api/operations/types.js").RakunOperationContractWithInput<{
1286
+ "manager.auth.totp.confirm": import("./api/operations/types").RakunOperationContractWithInput<{
1283
1287
  code: string;
1284
1288
  }, {
1285
1289
  ok: boolean;
1286
1290
  }, "mutation", "post", "auth">;
1287
- "manager.auth.totp.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
1291
+ "manager.auth.totp.verify": import("./api/operations/types").RakunOperationContractWithInput<{
1288
1292
  code: string;
1289
1293
  challenge: string;
1290
1294
  }, {
@@ -1292,25 +1296,25 @@ export declare const getManagerOperationContract: <TName extends ManagerOperatio
1292
1296
  } | {
1293
1297
  error: string;
1294
1298
  }, "mutation", "post", "public">;
1295
- "manager.auth.webauthn.register.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
1299
+ "manager.auth.webauthn.register.options": import("./api/operations/types").RakunOperationContractWithInput<{
1296
1300
  deviceName: string;
1297
1301
  }, {
1298
1302
  token: string;
1299
1303
  options: any;
1300
1304
  }, "query", "post", "auth">;
1301
- "manager.auth.webauthn.register.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
1305
+ "manager.auth.webauthn.register.verify": import("./api/operations/types").RakunOperationContractWithInput<{
1302
1306
  token: string;
1303
1307
  deviceName: string;
1304
1308
  response: any;
1305
1309
  }, {
1306
1310
  ok: boolean;
1307
1311
  }, "mutation", "post", "auth">;
1308
- "manager.auth.webauthn.auth.options": import("./api/operations/types.js").RakunOperationContractWithInput<{
1312
+ "manager.auth.webauthn.auth.options": import("./api/operations/types").RakunOperationContractWithInput<{
1309
1313
  challengeToken: string;
1310
1314
  }, {
1311
1315
  options: any;
1312
1316
  }, "query", "post", "public">;
1313
- "manager.auth.webauthn.auth.verify": import("./api/operations/types.js").RakunOperationContractWithInput<{
1317
+ "manager.auth.webauthn.auth.verify": import("./api/operations/types").RakunOperationContractWithInput<{
1314
1318
  challengeToken: string;
1315
1319
  response: any;
1316
1320
  }, {