@rakun-kit/core 1.1.0 → 1.1.1

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 (270) hide show
  1. package/dist/cjs/api/routes/manager/media/finalizeUpload.js +42 -0
  2. package/dist/cjs/api/routes/manager/media/finalizeUpload.js.map +1 -1
  3. package/dist/cjs/api/routes/manager/media/prepareUpload.js +26 -1
  4. package/dist/cjs/api/routes/manager/media/prepareUpload.js.map +1 -1
  5. package/dist/cjs/api/routes/manager/media/uploadBinary.js +40 -0
  6. package/dist/cjs/api/routes/manager/media/uploadBinary.js.map +1 -1
  7. package/dist/esm/api/context.d.ts +1 -1
  8. package/dist/esm/api/context.js +2 -2
  9. package/dist/esm/api/operations/custom.d.ts +1 -1
  10. package/dist/esm/api/operations/custom.js +1 -1
  11. package/dist/esm/api/operations/index.d.ts +41 -41
  12. package/dist/esm/api/operations/index.js +7 -7
  13. package/dist/esm/api/operations/manager-contract.d.ts +30 -30
  14. package/dist/esm/api/operations/manager-contract.js +4 -4
  15. package/dist/esm/api/operations/manager.d.ts +31 -31
  16. package/dist/esm/api/operations/manager.js +35 -35
  17. package/dist/esm/api/operations/types.d.ts +1 -1
  18. package/dist/esm/api/operations/web-contract.d.ts +3 -3
  19. package/dist/esm/api/operations/web-contract.js +3 -3
  20. package/dist/esm/api/operations/web.d.ts +4 -4
  21. package/dist/esm/api/operations/web.js +5 -5
  22. package/dist/esm/api/proxies/context.d.ts +2 -2
  23. package/dist/esm/api/proxies/index.d.ts +4 -4
  24. package/dist/esm/api/proxies/index.js +1 -1
  25. package/dist/esm/api/routes/manager/auth/accountInfo.d.ts +2 -2
  26. package/dist/esm/api/routes/manager/auth/accountInfo.js +3 -3
  27. package/dist/esm/api/routes/manager/auth/deleteSession.d.ts +2 -2
  28. package/dist/esm/api/routes/manager/auth/deleteSession.js +3 -3
  29. package/dist/esm/api/routes/manager/auth/login.d.ts +1 -1
  30. package/dist/esm/api/routes/manager/auth/login.js +4 -4
  31. package/dist/esm/api/routes/manager/auth/logout.d.ts +1 -1
  32. package/dist/esm/api/routes/manager/auth/logout.js +3 -3
  33. package/dist/esm/api/routes/manager/auth/totp/confirmTotp.d.ts +2 -2
  34. package/dist/esm/api/routes/manager/auth/totp/confirmTotp.js +2 -2
  35. package/dist/esm/api/routes/manager/auth/totp/enrollTotp.d.ts +1 -1
  36. package/dist/esm/api/routes/manager/auth/totp/enrollTotp.js +3 -3
  37. package/dist/esm/api/routes/manager/auth/totp/verifyTotp.d.ts +1 -1
  38. package/dist/esm/api/routes/manager/auth/totp/verifyTotp.js +3 -3
  39. package/dist/esm/api/routes/manager/auth/updatePassword.d.ts +2 -2
  40. package/dist/esm/api/routes/manager/auth/updatePassword.js +3 -3
  41. package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthOptions.js +4 -4
  42. package/dist/esm/api/routes/manager/auth/webauthn/webauthnAuthVerify.js +4 -4
  43. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.d.ts +2 -2
  44. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterOptions.js +3 -3
  45. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.d.ts +1 -1
  46. package/dist/esm/api/routes/manager/auth/webauthn/webauthnRegisterVerify.js +4 -4
  47. package/dist/esm/api/routes/manager/create.d.ts +2 -2
  48. package/dist/esm/api/routes/manager/create.js +8 -8
  49. package/dist/esm/api/routes/manager/delete.d.ts +2 -2
  50. package/dist/esm/api/routes/manager/delete.js +8 -8
  51. package/dist/esm/api/routes/manager/get.d.ts +2 -2
  52. package/dist/esm/api/routes/manager/get.js +6 -6
  53. package/dist/esm/api/routes/manager/list.d.ts +2 -2
  54. package/dist/esm/api/routes/manager/list.js +8 -8
  55. package/dist/esm/api/routes/manager/literals/list.d.ts +2 -2
  56. package/dist/esm/api/routes/manager/literals/list.js +5 -5
  57. package/dist/esm/api/routes/manager/literals/upsert.d.ts +2 -2
  58. package/dist/esm/api/routes/manager/literals/upsert.js +6 -6
  59. package/dist/esm/api/routes/manager/media/createFolder.d.ts +2 -2
  60. package/dist/esm/api/routes/manager/media/createFolder.js +7 -7
  61. package/dist/esm/api/routes/manager/media/finalizeUpload.d.ts +2 -2
  62. package/dist/esm/api/routes/manager/media/finalizeUpload.d.ts.map +1 -1
  63. package/dist/esm/api/routes/manager/media/finalizeUpload.js +50 -8
  64. package/dist/esm/api/routes/manager/media/finalizeUpload.js.map +1 -1
  65. package/dist/esm/api/routes/manager/media/getMediaUrl.d.ts +2 -2
  66. package/dist/esm/api/routes/manager/media/getMediaUrl.js +3 -3
  67. package/dist/esm/api/routes/manager/media/listFolders.d.ts +2 -2
  68. package/dist/esm/api/routes/manager/media/listFolders.js +4 -4
  69. package/dist/esm/api/routes/manager/media/prepareUpload.d.ts +2 -2
  70. package/dist/esm/api/routes/manager/media/prepareUpload.d.ts.map +1 -1
  71. package/dist/esm/api/routes/manager/media/prepareUpload.js +29 -4
  72. package/dist/esm/api/routes/manager/media/prepareUpload.js.map +1 -1
  73. package/dist/esm/api/routes/manager/media/uploadBinary.d.ts +1 -1
  74. package/dist/esm/api/routes/manager/media/uploadBinary.d.ts.map +1 -1
  75. package/dist/esm/api/routes/manager/media/uploadBinary.js +45 -5
  76. package/dist/esm/api/routes/manager/media/uploadBinary.js.map +1 -1
  77. package/dist/esm/api/routes/manager/setDefaultLanguage.d.ts +2 -2
  78. package/dist/esm/api/routes/manager/setDefaultLanguage.js +4 -4
  79. package/dist/esm/api/routes/manager/update.d.ts +2 -2
  80. package/dist/esm/api/routes/manager/update.js +8 -8
  81. package/dist/esm/api/routes/web/page.d.ts +1 -1
  82. package/dist/esm/api/routes/web/page.js +13 -13
  83. package/dist/esm/api/sessionCookie.d.ts +1 -1
  84. package/dist/esm/api/utils/checkFailureCase.d.ts +1 -1
  85. package/dist/esm/api/utils/checkFailureCase.js +1 -1
  86. package/dist/esm/api/utils/checkOwnership.d.ts +2 -2
  87. package/dist/esm/api/utils/checkOwnership.js +3 -3
  88. package/dist/esm/api/utils/checkPermissions.d.ts +2 -2
  89. package/dist/esm/api/utils/checkPermissions.js +2 -2
  90. package/dist/esm/api/utils/getLanguages.js +2 -2
  91. package/dist/esm/api/utils/getLink.d.ts +2 -2
  92. package/dist/esm/api/utils/getLink.js +4 -4
  93. package/dist/esm/api/utils/getUser.d.ts +1 -1
  94. package/dist/esm/api/utils/getUser.js +4 -4
  95. package/dist/esm/api/utils/parseId.d.ts +1 -1
  96. package/dist/esm/api/utils/parseId.js +1 -1
  97. package/dist/esm/api/utils/passwords.js +1 -1
  98. package/dist/esm/api/utils/populates/populateLinks.d.ts +2 -2
  99. package/dist/esm/api/utils/populates/populateLinks.js +4 -4
  100. package/dist/esm/api/utils/populates/populateRelations.d.ts +2 -2
  101. package/dist/esm/api/utils/populates/populateRelations.js +6 -6
  102. package/dist/esm/api/utils/redirects/resolveRedirect.js +2 -2
  103. package/dist/esm/api/utils/routes/revalidatePath.js +5 -5
  104. package/dist/esm/api/utils/routes/routeDefinitions.d.ts +1 -1
  105. package/dist/esm/api/utils/routes/routeMapHelpers.d.ts +3 -3
  106. package/dist/esm/api/utils/routes/routeMapHelpers.js +6 -6
  107. package/dist/esm/api/utils/routes/syncConfiguredRoutes.d.ts +2 -2
  108. package/dist/esm/api/utils/routes/syncConfiguredRoutes.js +5 -5
  109. package/dist/esm/api/utils/routes/updateRoutesMap.d.ts +2 -2
  110. package/dist/esm/api/utils/routes/updateRoutesMap.js +4 -4
  111. package/dist/esm/api/utils/transformObjectIdsToStrings.js +1 -1
  112. package/dist/esm/api/utils/transformStringToObjectIds.js +1 -1
  113. package/dist/esm/api/utils/translate.d.ts +1 -1
  114. package/dist/esm/api/utils/translate.js +3 -3
  115. package/dist/esm/api/utils/validateModule.d.ts +1 -1
  116. package/dist/esm/api/utils/validateModule.js +2 -2
  117. package/dist/esm/bootstrapState.d.ts +8 -8
  118. package/dist/esm/client.d.ts +34 -34
  119. package/dist/esm/client.js +25 -25
  120. package/dist/esm/contracts.d.ts +26 -26
  121. package/dist/esm/contracts.js +26 -26
  122. package/dist/esm/index.d.ts +43 -43
  123. package/dist/esm/index.js +39 -39
  124. package/dist/esm/internal-content-types/HelloWorld.d.ts +3 -3
  125. package/dist/esm/internal-content-types/HelloWorld.js +2 -2
  126. package/dist/esm/internal-content-types/Language.d.ts +6 -6
  127. package/dist/esm/internal-content-types/Language.js +2 -2
  128. package/dist/esm/internal-content-types/LiteralTranslation.d.ts +5 -5
  129. package/dist/esm/internal-content-types/LiteralTranslation.js +2 -2
  130. package/dist/esm/internal-content-types/ManagerRole.d.ts +4 -4
  131. package/dist/esm/internal-content-types/ManagerRole.js +3 -3
  132. package/dist/esm/internal-content-types/ManagerUser.d.ts +9 -9
  133. package/dist/esm/internal-content-types/ManagerUser.js +3 -3
  134. package/dist/esm/internal-content-types/Media.d.ts +29 -29
  135. package/dist/esm/internal-content-types/Media.js +3 -3
  136. package/dist/esm/internal-content-types/MediaFolder.d.ts +7 -7
  137. package/dist/esm/internal-content-types/MediaFolder.js +2 -2
  138. package/dist/esm/internal-content-types/MfaChallenge.d.ts +16 -16
  139. package/dist/esm/internal-content-types/MfaChallenge.js +3 -3
  140. package/dist/esm/internal-content-types/Page.d.ts +5 -5
  141. package/dist/esm/internal-content-types/Page.js +3 -3
  142. package/dist/esm/internal-content-types/Redirect.d.ts +14 -14
  143. package/dist/esm/internal-content-types/Redirect.js +2 -2
  144. package/dist/esm/internal-content-types/Route.d.ts +11 -11
  145. package/dist/esm/internal-content-types/Route.js +2 -2
  146. package/dist/esm/internal-content-types/RouteLayoutModule.d.ts +9 -9
  147. package/dist/esm/internal-content-types/RouteLayoutModule.js +2 -2
  148. package/dist/esm/internal-content-types/RouteLayoutModuleOverride.d.ts +8 -8
  149. package/dist/esm/internal-content-types/RouteLayoutModuleOverride.js +2 -2
  150. package/dist/esm/internal-content-types/RouteMap.d.ts +7 -7
  151. package/dist/esm/internal-content-types/RouteMap.js +2 -2
  152. package/dist/esm/internal-content-types/RouteSettings.d.ts +8 -8
  153. package/dist/esm/internal-content-types/RouteSettings.js +3 -3
  154. package/dist/esm/internal-content-types/Seo.d.ts +4 -4
  155. package/dist/esm/internal-content-types/Seo.js +2 -2
  156. package/dist/esm/internal-content-types/Session.d.ts +12 -12
  157. package/dist/esm/internal-content-types/Session.js +3 -3
  158. package/dist/esm/internal-content-types/UserMfa.d.ts +15 -15
  159. package/dist/esm/internal-content-types/UserMfa.js +3 -3
  160. package/dist/esm/internal-content-types/WebAuthnCredential.d.ts +15 -15
  161. package/dist/esm/internal-content-types/WebAuthnCredential.js +3 -3
  162. package/dist/esm/internal-content-types/WebAuthnRegChallenge.d.ts +14 -14
  163. package/dist/esm/internal-content-types/WebAuthnRegChallenge.js +3 -3
  164. package/dist/esm/internal-content-types/index.d.ts +20 -20
  165. package/dist/esm/internal-content-types/index.js +20 -20
  166. package/dist/esm/lib/ContentType.d.ts +3 -3
  167. package/dist/esm/lib/ContentType.js +4 -4
  168. package/dist/esm/lib/Permissions.d.ts +1 -1
  169. package/dist/esm/lib/Registry.d.ts +2 -2
  170. package/dist/esm/lib/Registry.js +4 -4
  171. package/dist/esm/lib/errors/AppError.d.ts +1 -1
  172. package/dist/esm/lib/errors/AppError.js +1 -1
  173. package/dist/esm/lib/errors/index.d.ts +4 -4
  174. package/dist/esm/lib/errors/index.js +3 -3
  175. package/dist/esm/lib/errors/throwAppError.d.ts +1 -1
  176. package/dist/esm/lib/errors/throwAppError.js +3 -3
  177. package/dist/esm/lib/fields/Boolean.d.ts +3 -3
  178. package/dist/esm/lib/fields/Boolean.js +1 -1
  179. package/dist/esm/lib/fields/ContentReference.d.ts +5 -5
  180. package/dist/esm/lib/fields/ContentReference.js +2 -2
  181. package/dist/esm/lib/fields/Date.d.ts +3 -3
  182. package/dist/esm/lib/fields/Date.js +1 -1
  183. package/dist/esm/lib/fields/Field.d.ts +19 -19
  184. package/dist/esm/lib/fields/Field.js +1 -1
  185. package/dist/esm/lib/fields/File.d.ts +3 -3
  186. package/dist/esm/lib/fields/File.js +3 -3
  187. package/dist/esm/lib/fields/Iterator.d.ts +4 -4
  188. package/dist/esm/lib/fields/Iterator.js +2 -2
  189. package/dist/esm/lib/fields/Link.d.ts +4 -4
  190. package/dist/esm/lib/fields/Link.js +3 -3
  191. package/dist/esm/lib/fields/List.d.ts +3 -3
  192. package/dist/esm/lib/fields/List.js +1 -1
  193. package/dist/esm/lib/fields/Number.d.ts +3 -3
  194. package/dist/esm/lib/fields/Number.js +1 -1
  195. package/dist/esm/lib/fields/Relation.d.ts +6 -6
  196. package/dist/esm/lib/fields/Relation.js +5 -5
  197. package/dist/esm/lib/fields/Select.d.ts +3 -3
  198. package/dist/esm/lib/fields/Select.js +1 -1
  199. package/dist/esm/lib/fields/SelfRelation.d.ts +4 -4
  200. package/dist/esm/lib/fields/SelfRelation.js +2 -2
  201. package/dist/esm/lib/fields/SimpleList.d.ts +4 -4
  202. package/dist/esm/lib/fields/SimpleList.js +2 -2
  203. package/dist/esm/lib/fields/String.d.ts +3 -3
  204. package/dist/esm/lib/fields/String.js +3 -3
  205. package/dist/esm/lib/fields/index.d.ts +19 -19
  206. package/dist/esm/lib/fields/index.js +13 -13
  207. package/dist/esm/lib/types/index.d.ts +2 -2
  208. package/dist/esm/lib/utils/getListField.d.ts +1 -1
  209. package/dist/esm/lib/utils/getSchemas.d.ts +1 -1
  210. package/dist/esm/lib/utils/getTranslation.d.ts +2 -2
  211. package/dist/esm/lib/utils/getTranslation.js +1 -1
  212. package/dist/esm/lib/utils/isTranslatableObject.d.ts +1 -1
  213. package/dist/esm/lib/utils/translateObject.d.ts +2 -2
  214. package/dist/esm/lib/utils/translateObject.js +3 -3
  215. package/dist/esm/literals/definitions.d.ts +1 -1
  216. package/dist/esm/literals/definitions.js +1 -1
  217. package/dist/esm/literals/index.d.ts +3 -3
  218. package/dist/esm/literals/index.js +3 -3
  219. package/dist/esm/literals/manager.d.ts +1 -1
  220. package/dist/esm/literals/manager.js +1 -1
  221. package/dist/esm/manager.d.ts +124 -124
  222. package/dist/esm/manager.js +2 -2
  223. package/dist/esm/media/imageOptimization.d.ts +1 -1
  224. package/dist/esm/media/imageOptimization.js +2 -2
  225. package/dist/esm/media/index.d.ts +4 -4
  226. package/dist/esm/media/index.js +3 -3
  227. package/dist/esm/media/mediaService.d.ts +1 -1
  228. package/dist/esm/orm/createIndexes.js +1 -1
  229. package/dist/esm/orm/database.js +3 -3
  230. package/dist/esm/orm/dbService.d.ts +3 -3
  231. package/dist/esm/orm/index.d.ts +2 -2
  232. package/dist/esm/orm/index.js +12 -12
  233. package/dist/esm/orm/mongodbPeer.js +1 -1
  234. package/dist/esm/orm/operations/clear.d.ts +1 -1
  235. package/dist/esm/orm/operations/clear.js +1 -1
  236. package/dist/esm/orm/operations/create.d.ts +2 -2
  237. package/dist/esm/orm/operations/create.js +4 -4
  238. package/dist/esm/orm/operations/delete.d.ts +2 -2
  239. package/dist/esm/orm/operations/delete.js +2 -2
  240. package/dist/esm/orm/operations/find.d.ts +2 -2
  241. package/dist/esm/orm/operations/find.js +3 -3
  242. package/dist/esm/orm/operations/findDependencies.d.ts +2 -2
  243. package/dist/esm/orm/operations/findDependencies.js +4 -4
  244. package/dist/esm/orm/operations/get.d.ts +3 -3
  245. package/dist/esm/orm/operations/get.js +3 -3
  246. package/dist/esm/orm/operations/getAll.d.ts +2 -2
  247. package/dist/esm/orm/operations/getAll.js +2 -2
  248. package/dist/esm/orm/operations/list.d.ts +2 -2
  249. package/dist/esm/orm/operations/list.js +3 -3
  250. package/dist/esm/orm/operations/update.d.ts +3 -3
  251. package/dist/esm/orm/operations/update.js +5 -5
  252. package/dist/esm/orm/operations/updateMany.d.ts +2 -2
  253. package/dist/esm/orm/operations/updateMany.js +3 -3
  254. package/dist/esm/orm/operations/upsert.d.ts +2 -2
  255. package/dist/esm/orm/operations/upsert.js +4 -4
  256. package/dist/esm/orm/utils/deepDeleteNulls.js +1 -1
  257. package/dist/esm/orm/utils/parseId.d.ts +1 -1
  258. package/dist/esm/orm/utils/parseId.js +1 -1
  259. package/dist/esm/orm/utils/transformObjectIdsToStrings.js +1 -1
  260. package/dist/esm/orm/utils/transformStringToObjectIds.js +1 -1
  261. package/dist/esm/schemas/manager/literals/upsert.js +1 -1
  262. package/dist/esm/schemas/manager/media/finalizeUpload.js +1 -1
  263. package/dist/esm/schemas/manager/media/getMediaUrl.js +1 -1
  264. package/dist/esm/schemas/manager/media/listFolders.js +1 -1
  265. package/dist/esm/schemas/web/page.js +1 -1
  266. package/dist/esm/web/index.d.ts +1 -1
  267. package/dist/esm/web/index.js +1 -1
  268. package/dist/esm/web/page.d.ts +1 -1
  269. package/dist/tsconfig.build.tsbuildinfo +1 -1
  270. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
1
  import { z } from "zod";
2
- import type { Apply, FieldHKT, HKT, Visibility } from "../types";
3
- import { EncodedBooleanField } from "./Boolean";
4
- import { EncodedDateField } from "./Date";
5
- import { EncodedFileField } from "./File";
6
- import { EncodedLinkField } from "./Link";
7
- import { EncodedListField } from "./List";
8
- import { EncodedNumberField } from "./Number";
9
- import { EncodedContentReferenceField } from "./ContentReference";
10
- import { EncodedRelationField } from "./Relation";
11
- import { EncodedSelectField } from "./Select";
12
- import { EncodedSelfRelationField } from "./SelfRelation";
13
- import { EncodedSimpleListField } from "./SimpleList";
14
- import { EncodedStringField } from "./String";
2
+ import type { Apply, FieldHKT, HKT, Visibility } from "../types/index.js";
3
+ import { EncodedBooleanField } from "./Boolean.js";
4
+ import { EncodedDateField } from "./Date.js";
5
+ import { EncodedFileField } from "./File.js";
6
+ import { EncodedLinkField } from "./Link.js";
7
+ import { EncodedListField } from "./List.js";
8
+ import { EncodedNumberField } from "./Number.js";
9
+ import { EncodedContentReferenceField } from "./ContentReference.js";
10
+ import { EncodedRelationField } from "./Relation.js";
11
+ import { EncodedSelectField } from "./Select.js";
12
+ import { EncodedSelfRelationField } from "./SelfRelation.js";
13
+ import { EncodedSimpleListField } from "./SimpleList.js";
14
+ import { EncodedStringField } from "./String.js";
15
15
  export declare const FieldUIType: z.ZodEnum<{
16
16
  Text: "Text";
17
17
  Number: "Number";
@@ -72,12 +72,12 @@ export declare abstract class Field<T extends HKT<unknown[]> = FieldHKT, S exten
72
72
  translatable(): Apply<T, [S, TRequired, true, TVisibility]>;
73
73
  apiOnly(): Apply<T, [S, TRequired, TTranslatable, "api"]>;
74
74
  managerOnly(): Apply<T, [S, TRequired, TTranslatable, "manager"]>;
75
- protected getBaseInputSchema(): import("../types").getRequiredTypeWithNull<import("../types").getTranslatableType<S, TTranslatable>, TRequired>;
76
- protected getBaseSchema(): import("../types").getRequiredType<import("../types").getTranslatableType<S, TTranslatable>, TRequired>;
77
- protected getBaseOutputSchema(): import("../types").getRequiredType<Sout, TRequired>;
78
- getInputSchema(): import("../types").If<import("../types").Or<import("../types").Extends<TVisibility, "manager">, import("../types").Extends<TVisibility, "all">>, import("../types").getRequiredTypeWithNull<import("../types").getTranslatableType<S, TTranslatable>, TRequired>, z.ZodOptional<z.ZodNever>>;
79
- getSchema(): import("../types").If<import("../types").Or<import("../types").Extends<TVisibility, "manager">, import("../types").Extends<TVisibility, "all">>, import("../types").getRequiredType<import("../types").getTranslatableType<S, TTranslatable>, TRequired>, z.ZodOptional<z.ZodNever>>;
80
- getOutputSchema(): import("../types").If<import("../types").Or<import("../types").Extends<TVisibility, "api">, import("../types").Extends<TVisibility, "all">>, import("../types").getRequiredType<Sout, TRequired>, z.ZodOptional<z.ZodNever>>;
75
+ protected getBaseInputSchema(): import("../types/index.js").getRequiredTypeWithNull<import("../types/index.js").getTranslatableType<S, TTranslatable>, TRequired>;
76
+ protected getBaseSchema(): import("../types/index.js").getRequiredType<import("../types/index.js").getTranslatableType<S, TTranslatable>, TRequired>;
77
+ protected getBaseOutputSchema(): import("../types/index.js").getRequiredType<Sout, TRequired>;
78
+ getInputSchema(): import("../types/index.js").If<import("../types/index.js").Or<import("../types/index.js").Extends<TVisibility, "manager">, import("../types/index.js").Extends<TVisibility, "all">>, import("../types/index.js").getRequiredTypeWithNull<import("../types/index.js").getTranslatableType<S, TTranslatable>, TRequired>, z.ZodOptional<z.ZodNever>>;
79
+ getSchema(): import("../types/index.js").If<import("../types/index.js").Or<import("../types/index.js").Extends<TVisibility, "manager">, import("../types/index.js").Extends<TVisibility, "all">>, import("../types/index.js").getRequiredType<import("../types/index.js").getTranslatableType<S, TTranslatable>, TRequired>, z.ZodOptional<z.ZodNever>>;
80
+ getOutputSchema(): import("../types/index.js").If<import("../types/index.js").Or<import("../types/index.js").Extends<TVisibility, "api">, import("../types/index.js").Extends<TVisibility, "all">>, import("../types/index.js").getRequiredType<Sout, TRequired>, z.ZodOptional<z.ZodNever>>;
81
81
  getIsRequired(): boolean;
82
82
  getIsTranslatable(): boolean;
83
83
  getVisibility(): TVisibility;
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { getDefaultSchema, getDefaultManagerSchema, getDefaultApiSchema, getDefaultOutputSchema, getDefaultInputSchema, } from "../utils/getSchemas";
2
+ import { getDefaultSchema, getDefaultManagerSchema, getDefaultApiSchema, getDefaultOutputSchema, getDefaultInputSchema, } from "../utils/getSchemas.js";
3
3
  export const FieldUIType = z.enum([
4
4
  "Text",
5
5
  "Number",
@@ -1,7 +1,7 @@
1
1
  import z from "zod";
2
- import type { EncodedField } from "./Field";
3
- import { Field } from "./Field";
4
- import type { FieldHKT, Visibility, getRequiredType } from "../types";
2
+ import type { EncodedField } from "./Field.js";
3
+ import { Field } from "./Field.js";
4
+ import type { FieldHKT, Visibility, getRequiredType } from "../types/index.js";
5
5
  export declare const FileMediaType: z.ZodEnum<{
6
6
  Image: "Image";
7
7
  Video: "Video";
@@ -1,7 +1,7 @@
1
1
  import z from "zod";
2
- import { Field } from "./Field";
3
- import { Id } from "../utils/id";
4
- import { getDefaultOutputSchema } from "../utils/getSchemas";
2
+ import { Field } from "./Field.js";
3
+ import { Id } from "../utils/id.js";
4
+ import { getDefaultOutputSchema } from "../utils/getSchemas.js";
5
5
  export const FileMediaType = z.enum(["Image", "Video", "Document", "Any"]);
6
6
  export const FileUploadMethod = z.enum(["default", "optimize"]);
7
7
  export const FileOptimizeFormat = z.enum(["webp", "jpeg", "png", "avif"]);
@@ -1,8 +1,8 @@
1
1
  import z from "zod";
2
- import ContentType from "../ContentType";
3
- import { ListField } from "./List";
4
- import { OnlyType, RelationField } from "./Relation";
5
- import type { FieldHKT } from "../types";
2
+ import ContentType from "../ContentType.js";
3
+ import { ListField } from "./List.js";
4
+ import { OnlyType, RelationField } from "./Relation.js";
5
+ import type { FieldHKT } from "../types/index.js";
6
6
  export type EntryContentType = {
7
7
  contentType: ContentType;
8
8
  type?: OnlyType;
@@ -1,5 +1,5 @@
1
- import { ListField } from "./List";
2
- import { RelationField } from "./Relation";
1
+ import { ListField } from "./List.js";
2
+ import { RelationField } from "./Relation.js";
3
3
  export class IteratorField extends ListField {
4
4
  constructor(fields) {
5
5
  super(fields.map((f) => ({
@@ -1,7 +1,7 @@
1
1
  import z from "zod";
2
- import type { EncodedField } from "./Field";
3
- import { Field } from "./Field";
4
- import type { FieldHKT } from "../types";
2
+ import type { EncodedField } from "./Field.js";
3
+ import { Field } from "./Field.js";
4
+ import type { FieldHKT } from "../types/index.js";
5
5
  declare const LinkSchema: z.ZodObject<{
6
6
  routeId: z.ZodString;
7
7
  contentTypeId: z.ZodString;
@@ -14,7 +14,7 @@ interface LinkFieldHKT extends FieldHKT {
14
14
  }
15
15
  export declare class LinkField<TRequired extends boolean = false, TTranslatable extends boolean = false, TVisibility extends "api" | "manager" | "all" = "all"> extends Field<LinkFieldHKT, LinkSchema, LinkOutputSchema, TRequired, TTranslatable, TVisibility> {
16
16
  constructor();
17
- protected getBaseOutputSchema(): import("../types").getRequiredType<z.ZodString, TRequired>;
17
+ protected getBaseOutputSchema(): import("../types/index.js").getRequiredType<z.ZodString, TRequired>;
18
18
  }
19
19
  export type EncodedLinkField = EncodedField;
20
20
  export type LinkfieldValue = z.infer<LinkSchema>;
@@ -1,7 +1,7 @@
1
1
  import z from "zod";
2
- import { Field } from "./Field";
3
- import { Id } from "../utils/id";
4
- import { getDefaultOutputSchema } from "../utils/getSchemas";
2
+ import { Field } from "./Field.js";
3
+ import { Id } from "../utils/id.js";
4
+ import { getDefaultOutputSchema } from "../utils/getSchemas.js";
5
5
  const LinkSchema = z.object({
6
6
  routeId: Id,
7
7
  contentTypeId: Id,
@@ -1,7 +1,7 @@
1
1
  import z from "zod";
2
- import type { EncodedField } from "./Field";
3
- import { Field } from "./Field";
4
- import type { FieldHKT, getRequiredType } from "../types";
2
+ import type { EncodedField } from "./Field.js";
3
+ import { Field } from "./Field.js";
4
+ import type { FieldHKT, getRequiredType } from "../types/index.js";
5
5
  export type Entry = {
6
6
  name: string;
7
7
  field: Field<any, any, any, any, any, any>;
@@ -1,5 +1,5 @@
1
1
  import z from "zod";
2
- import { Field } from "./Field";
2
+ import { Field } from "./Field.js";
3
3
  export class ListField extends Field {
4
4
  constructor(fields) {
5
5
  super({
@@ -1,7 +1,7 @@
1
1
  import z from "zod";
2
- import type { EncodedField } from "./Field";
3
- import { Field } from "./Field";
4
- import type { FieldHKT } from "../types";
2
+ import type { EncodedField } from "./Field.js";
3
+ import { Field } from "./Field.js";
4
+ import type { FieldHKT } from "../types/index.js";
5
5
  interface NumberFieldHKT extends FieldHKT {
6
6
  type: NumberField<this["args"][1], this["args"][2], this["args"][3]>;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import z from "zod";
2
- import { Field } from "./Field";
2
+ import { Field } from "./Field.js";
3
3
  export class NumberField extends Field {
4
4
  constructor() {
5
5
  super({
@@ -1,10 +1,10 @@
1
1
  import z from "zod";
2
- import type { EncodedField } from "./Field";
3
- import { Field } from "./Field";
4
- import { SimpleListField } from "./SimpleList";
5
- import type ContentType from "../ContentType";
6
- import type { FieldHKT, If, getInputTypeWithModifiers, getTypeWithModifiers, getOutputTypeWithModifiers } from "../types";
7
- import type { EncodedContentType } from "../ContentType";
2
+ import type { EncodedField } from "./Field.js";
3
+ import { Field } from "./Field.js";
4
+ import { SimpleListField } from "./SimpleList.js";
5
+ import type ContentType from "../ContentType.js";
6
+ import type { FieldHKT, If, getInputTypeWithModifiers, getTypeWithModifiers, getOutputTypeWithModifiers } from "../types/index.js";
7
+ import type { EncodedContentType } from "../ContentType.js";
8
8
  export type OnlyType = "existing" | "new" | undefined;
9
9
  type isNew<X extends OnlyType> = X extends "new" ? true : false;
10
10
  interface RelationFieldHKT<CT extends ContentType, X extends OnlyType, S extends ReturnType<CT["getInputSchema"]>, Sout extends ReturnType<CT["getOutputSchema"]>> extends FieldHKT {
@@ -1,9 +1,9 @@
1
1
  import z from "zod";
2
- import { Field } from "./Field";
3
- import { SimpleListField } from "./SimpleList";
4
- import { SelfRelationField } from "./SelfRelation";
5
- import { getDefaultInputSchema, getDefaultOutputSchema, getDefaultSchema, } from "../utils/getSchemas";
6
- import { Id } from "../utils/id";
2
+ import { Field } from "./Field.js";
3
+ import { SimpleListField } from "./SimpleList.js";
4
+ import { SelfRelationField } from "./SelfRelation.js";
5
+ import { getDefaultInputSchema, getDefaultOutputSchema, getDefaultSchema, } from "../utils/getSchemas.js";
6
+ import { Id } from "../utils/id.js";
7
7
  export class RelationField extends Field {
8
8
  constructor(contentType, only) {
9
9
  super({
@@ -1,7 +1,7 @@
1
1
  import z from "zod";
2
- import type { EncodedField } from "./Field";
3
- import { Field } from "./Field";
4
- import type { FieldHKT, If, Visibility } from "../types";
2
+ import type { EncodedField } from "./Field.js";
3
+ import { Field } from "./Field.js";
4
+ import type { FieldHKT, If, Visibility } from "../types/index.js";
5
5
  interface SelectFieldHKT<L extends string[], M extends boolean> extends FieldHKT {
6
6
  type: SelectField<L, M, If<M, z.ZodArray<z.ZodLiteral<L[number]>>, z.ZodLiteral<L[number]>>, this["args"][1], this["args"][2], this["args"][3]>;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import z from "zod";
2
- import { Field } from "./Field";
2
+ import { Field } from "./Field.js";
3
3
  export class SelectField extends Field {
4
4
  constructor(options) {
5
5
  super({
@@ -1,8 +1,8 @@
1
1
  import z from "zod";
2
- import type { EncodedField } from "./Field";
3
- import { Field } from "./Field";
4
- import type ContentType from "../ContentType";
5
- import type { FieldHKT, Visibility } from "../types";
2
+ import type { EncodedField } from "./Field.js";
3
+ import { Field } from "./Field.js";
4
+ import type ContentType from "../ContentType.js";
5
+ import type { FieldHKT, Visibility } from "../types/index.js";
6
6
  declare const SelfRelationSchema: z.ZodObject<{
7
7
  type: z.ZodLiteral<"self">;
8
8
  _id: z.ZodString;
@@ -1,6 +1,6 @@
1
1
  import z from "zod";
2
- import { Field } from "./Field";
3
- import { Id } from "../utils/id";
2
+ import { Field } from "./Field.js";
3
+ import { Id } from "../utils/id.js";
4
4
  const SelfRelationSchema = z.object({
5
5
  type: z.literal("self"),
6
6
  _id: Id,
@@ -1,7 +1,7 @@
1
1
  import z from "zod";
2
- import type { EncodedField } from "./Field";
3
- import { Field } from "./Field";
4
- import type { FieldHKT, getOutputTypeWithModifiers } from "../types";
2
+ import type { EncodedField } from "./Field.js";
3
+ import { Field } from "./Field.js";
4
+ import type { FieldHKT, getOutputTypeWithModifiers } from "../types/index.js";
5
5
  interface SimpleListFieldHKT<F extends Field<any, any, any, any, any, any>, S extends z.ZodArray<ReturnType<F["getSchema"]>>, Sout extends z.ZodArray<ReturnType<F extends {
6
6
  getPopulatedSchema: () => z.ZodTypeAny;
7
7
  } ? F["getPopulatedSchema"] : F["getSchema"]>>> extends FieldHKT {
@@ -14,7 +14,7 @@ export declare class SimpleListField<F extends Field<any, any, any, any, any, an
14
14
  } ? F["getPopulatedSchema"] : F["getSchema"]>>, TRequired extends boolean = false, TTranslatable extends boolean = false, TVisibility extends "api" | "manager" | "all" = "all"> extends Field<SimpleListFieldHKT<F, S, Sout>, S, Sout, TRequired, TTranslatable, TVisibility> {
15
15
  field: F;
16
16
  constructor(field: F);
17
- protected getBaseOutputSchema(): import("../types").getRequiredType<Sout, TRequired>;
17
+ protected getBaseOutputSchema(): import("../types/index.js").getRequiredType<Sout, TRequired>;
18
18
  getPopulatedSchema(): getOutputTypeWithModifiers<Sout, TRequired>;
19
19
  }
20
20
  export type EncodedSimpleListField = EncodedField & {
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  import z from "zod";
3
- import { Field } from "./Field";
4
- import { getDefaultOutputSchema } from "../utils/getSchemas";
3
+ import { Field } from "./Field.js";
4
+ import { getDefaultOutputSchema } from "../utils/getSchemas.js";
5
5
  export class SimpleListField extends Field {
6
6
  constructor(field) {
7
7
  super({
@@ -1,7 +1,7 @@
1
1
  import z from "zod";
2
- import type { EncodedField } from "./Field";
3
- import { Field } from "./Field";
4
- import type { FieldHKT, Visibility } from "../types";
2
+ import type { EncodedField } from "./Field.js";
3
+ import { Field } from "./Field.js";
4
+ import type { FieldHKT, Visibility } from "../types/index.js";
5
5
  export declare const StringUI: z.ZodEnum<{
6
6
  Text: "Text";
7
7
  Textarea: "Textarea";
@@ -1,7 +1,7 @@
1
1
  import z from "zod";
2
- import { Field } from "./Field";
3
- import { Id } from "../utils/id";
4
- import { slugify } from "../utils/slugify";
2
+ import { Field } from "./Field.js";
3
+ import { Id } from "../utils/id.js";
4
+ import { slugify } from "../utils/slugify.js";
5
5
  export const StringUI = z.enum([
6
6
  "Text",
7
7
  "Textarea",
@@ -1,20 +1,20 @@
1
- import type ContentType from "../ContentType";
2
- import { BooleanField } from "./Boolean";
3
- import { ContentReferenceField } from "./ContentReference";
4
- import { DateField } from "./Date";
5
- import { Field } from "./Field";
6
- import { EntryContentType, IteratorField } from "./Iterator";
7
- import { LinkField } from "./Link";
8
- import { FileField } from "./File";
9
- import type { Entry } from "./List";
10
- import { ListField } from "./List";
11
- import { NumberField } from "./Number";
12
- import type { OnlyType } from "./Relation";
13
- import { RelationField } from "./Relation";
14
- import { SelectField } from "./Select";
15
- import { SelfRelationField } from "./SelfRelation";
16
- import { SimpleListField } from "./SimpleList";
17
- import { StringField } from "./String";
1
+ import type ContentType from "../ContentType.js";
2
+ import { BooleanField } from "./Boolean.js";
3
+ import { ContentReferenceField } from "./ContentReference.js";
4
+ import { DateField } from "./Date.js";
5
+ import { Field } from "./Field.js";
6
+ import { EntryContentType, IteratorField } from "./Iterator.js";
7
+ import { LinkField } from "./Link.js";
8
+ import { FileField } from "./File.js";
9
+ import type { Entry } from "./List.js";
10
+ import { ListField } from "./List.js";
11
+ import { NumberField } from "./Number.js";
12
+ import type { OnlyType } from "./Relation.js";
13
+ import { RelationField } from "./Relation.js";
14
+ import { SelectField } from "./Select.js";
15
+ import { SelfRelationField } from "./SelfRelation.js";
16
+ import { SimpleListField } from "./SimpleList.js";
17
+ import { StringField } from "./String.js";
18
18
  export declare const Fields: {
19
19
  string: () => StringField<"Text", false, false, "all">;
20
20
  relation: <CT extends ContentType, const X extends OnlyType = undefined>(contentType: CT, only?: X) => RelationField<CT, X, ReturnType<CT["getInputSchema"]>, ReturnType<CT["getOutputSchemaWithoutIterators"]>, false, false, "all">;
@@ -44,7 +44,7 @@ export declare const Fields: {
44
44
  select: <const L extends string[] = string[]>(options: L) => SelectField<L, false, import("zod").ZodLiteral<L[number]>, false, false, "all">;
45
45
  iterator: <CT extends EntryContentType[]>(fields: CT) => IteratorField<CT, import("zod").ZodArray<import("zod").ZodObject<{
46
46
  name: import("zod").ZodString;
47
- value: import("zod").ZodUnion<readonly [import("zod").ZodOptional<import("../types").If<CT[number]["type"] extends infer T ? T extends CT[number]["type"] ? T extends "new" ? true : false : never : never, import("zod").ZodObject<{
47
+ value: import("zod").ZodUnion<readonly [import("zod").ZodOptional<import("../types/index.js").If<CT[number]["type"] extends infer T ? T extends CT[number]["type"] ? T extends "new" ? true : false : never : never, import("zod").ZodObject<{
48
48
  type: import("zod").ZodLiteral<"new">;
49
49
  data: ReturnType<CT[number]["contentType"]["getInputSchema"]>;
50
50
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
@@ -66,7 +66,7 @@ export declare const Fields: {
66
66
  }, import("zod/v4/core").$strip>>, import("zod").ZodArray<import("zod").ZodObject<{
67
67
  name: import("zod").ZodString;
68
68
  value: import("zod").ZodUnion<readonly [ReturnType<T[number]["field"]["getOutputSchema"]>]>;
69
- }, import("zod/v4/core").$strip>>, false, false, "all", import("./List").ListFieldHKT<T, import("zod").ZodArray<import("zod").ZodObject<{
69
+ }, import("zod/v4/core").$strip>>, false, false, "all", import("./List.js").ListFieldHKT<T, import("zod").ZodArray<import("zod").ZodObject<{
70
70
  name: import("zod").ZodString;
71
71
  value: import("zod").ZodUnion<readonly [ReturnType<T[number]["field"]["getSchema"]>]>;
72
72
  }, import("zod/v4/core").$strip>>, import("zod").ZodArray<import("zod").ZodObject<{
@@ -1,16 +1,16 @@
1
- import { BooleanField } from "./Boolean";
2
- import { ContentReferenceField } from "./ContentReference";
3
- import { DateField } from "./Date";
4
- import { IteratorField } from "./Iterator";
5
- import { LinkField } from "./Link";
6
- import { FileField } from "./File";
7
- import { ListField } from "./List";
8
- import { NumberField } from "./Number";
9
- import { RelationField } from "./Relation";
10
- import { SelectField } from "./Select";
11
- import { SelfRelationField } from "./SelfRelation";
12
- import { SimpleListField } from "./SimpleList";
13
- import { StringField } from "./String";
1
+ import { BooleanField } from "./Boolean.js";
2
+ import { ContentReferenceField } from "./ContentReference.js";
3
+ import { DateField } from "./Date.js";
4
+ import { IteratorField } from "./Iterator.js";
5
+ import { LinkField } from "./Link.js";
6
+ import { FileField } from "./File.js";
7
+ import { ListField } from "./List.js";
8
+ import { NumberField } from "./Number.js";
9
+ import { RelationField } from "./Relation.js";
10
+ import { SelectField } from "./Select.js";
11
+ import { SelfRelationField } from "./SelfRelation.js";
12
+ import { SimpleListField } from "./SimpleList.js";
13
+ import { StringField } from "./String.js";
14
14
  export const Fields = {
15
15
  string: () => new StringField(),
16
16
  relation: (contentType, only) => new RelationField(contentType, only),
@@ -1,6 +1,6 @@
1
1
  import type z from "zod";
2
- import type { Field } from "../fields/Field";
3
- import ContentType from "../ContentType";
2
+ import type { Field } from "../fields/Field.js";
3
+ import ContentType from "../ContentType.js";
4
4
  export type ExtractFieldType<F extends Field> = F;
5
5
  export type getTranslatableType<S, TTranslatable extends boolean> = TTranslatable extends true ? z.ZodType<{
6
6
  _tag: "Translatable";
@@ -1,4 +1,4 @@
1
- import type { MaybeTranslatableValue } from "../types";
1
+ import type { MaybeTranslatableValue } from "../types/index.js";
2
2
  export declare const getListField: (data: {
3
3
  [x: string]: unknown;
4
4
  _id: string;
@@ -1,5 +1,5 @@
1
1
  import z from "zod";
2
- import type { getTypeWithModifiers, Visibility, If, Extends, Or, getOutputTypeWithModifiers, getInputTypeWithModifiers } from "../types";
2
+ import type { getTypeWithModifiers, Visibility, If, Extends, Or, getOutputTypeWithModifiers, getInputTypeWithModifiers } from "../types/index.js";
3
3
  export declare function getDefaultInputSchema<S extends z.ZodTypeAny, TRequired extends boolean, TTranslatable extends boolean>(baseSchema: S, isRequired: boolean, isTranslatable: boolean): getInputTypeWithModifiers<S, TRequired, TTranslatable>;
4
4
  export declare function getDefaultSchema<S extends z.ZodTypeAny, TRequired extends boolean, TTranslatable extends boolean>(baseSchema: S, isRequired: boolean, isTranslatable: boolean): getTypeWithModifiers<S, TRequired, TTranslatable>;
5
5
  export declare function getDefaultOutputSchema<S extends z.ZodTypeAny, TRequired extends boolean>(baseSchema: S, isRequired: boolean): getOutputTypeWithModifiers<S, TRequired>;
@@ -1,4 +1,4 @@
1
- import { LanguageSchema } from "../../internal-content-types";
2
- import { MaybeTranslatableValue } from "../types";
1
+ import { LanguageSchema } from "../../internal-content-types/index.js";
2
+ import { MaybeTranslatableValue } from "../types/index.js";
3
3
  export declare const getTranslation: <T>(object: MaybeTranslatableValue<T>, language: LanguageSchema, languageList: LanguageSchema[]) => T;
4
4
  //# sourceMappingURL=getTranslation.d.ts.map
@@ -1,4 +1,4 @@
1
- import { isTranslatableObject } from "./isTranslatableObject";
1
+ import { isTranslatableObject } from "./isTranslatableObject.js";
2
2
  export const getTranslation = (object, language, languageList) => {
3
3
  if (!object)
4
4
  return object;
@@ -1,3 +1,3 @@
1
- import type { TranslatableValue } from "../types";
1
+ import type { TranslatableValue } from "../types/index.js";
2
2
  export declare const isTranslatableObject: <T>(obj: unknown) => obj is TranslatableValue<T>;
3
3
  //# sourceMappingURL=isTranslatableObject.d.ts.map
@@ -1,4 +1,4 @@
1
- import { LanguageSchema } from "../../internal-content-types";
2
- import { FlattenTranslate, MaybeTranslatableValue } from "../types";
1
+ import { LanguageSchema } from "../../internal-content-types/index.js";
2
+ import { FlattenTranslate, MaybeTranslatableValue } from "../types/index.js";
3
3
  export declare const translateObject: <T extends Record<string, MaybeTranslatableValue<unknown>>>(obj: T, language: LanguageSchema, languages: LanguageSchema[]) => FlattenTranslate<T>;
4
4
  //# sourceMappingURL=translateObject.d.ts.map
@@ -1,6 +1,6 @@
1
- import { getTranslation } from "./getTranslation";
2
- import { hasKeys } from "./hasKeys";
3
- import { isTranslatableObject } from "./isTranslatableObject";
1
+ import { getTranslation } from "./getTranslation.js";
2
+ import { hasKeys } from "./hasKeys.js";
3
+ import { isTranslatableObject } from "./isTranslatableObject.js";
4
4
  export const translateObject = (obj, language, languages) => {
5
5
  return Object.fromEntries(Object.entries(obj).map(([key, value]) => {
6
6
  if (isTranslatableObject(value)) {
@@ -1,4 +1,4 @@
1
- import { type IcuVariable } from "./icu";
1
+ import { type IcuVariable } from "./icu.js";
2
2
  declare const literalCatalogInput: {};
3
3
  export type LiteralDefinition = {
4
4
  key: string;
@@ -1,4 +1,4 @@
1
- import { extractIcuVariables } from "./icu";
1
+ import { extractIcuVariables } from "./icu.js";
2
2
  const literalCatalogInput = {};
3
3
  const defineLiteralCatalog = (catalog) => {
4
4
  const keys = Object.keys(catalog);
@@ -1,4 +1,4 @@
1
- export * from './icu';
2
- export * from './definitions';
3
- export * from './manager';
1
+ export * from './icu.js';
2
+ export * from './definitions.js';
3
+ export * from './manager.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- export * from './icu';
2
- export * from './definitions';
3
- export * from './manager';
1
+ export * from './icu.js';
2
+ export * from './definitions.js';
3
+ export * from './manager.js';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { managerLiteralCatalogInput } from './managerLiterals';
1
+ import { managerLiteralCatalogInput } from './managerLiterals.js';
2
2
  type ManagerLiteralParamSpecValue = 'string' | 'number' | 'boolean' | readonly string[];
3
3
  type ManagerLiteralInput = {
4
4
  defaultMessage: string;
@@ -1,4 +1,4 @@
1
- import { managerLiteralCatalogInput } from './managerLiterals';
1
+ import { managerLiteralCatalogInput } from './managerLiterals.js';
2
2
  const managerLiteralDefinitionsByKey = new Map(Object.entries(managerLiteralCatalogInput).map(([key, definition]) => [
3
3
  key,
4
4
  definition,