@kyro-cms/core 0.8.0 → 0.9.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 (248) hide show
  1. package/README.md +57 -589
  2. package/dist/{WebhookService-118ZTFis.d.ts → WebhookService-CUTb9XOy.d.ts} +1 -1
  3. package/dist/{WebhookService-AefJfqX0.d.cts → WebhookService-Yg2UEOB4.d.cts} +1 -1
  4. package/dist/api-handler-graphql.cjs +44 -0
  5. package/dist/api-handler-graphql.cjs.map +1 -0
  6. package/dist/api-handler-graphql.d.cts +6 -0
  7. package/dist/api-handler-graphql.d.ts +6 -0
  8. package/dist/api-handler-graphql.js +41 -0
  9. package/dist/api-handler-graphql.js.map +1 -0
  10. package/dist/api-handler-trpc.cjs +38 -0
  11. package/dist/api-handler-trpc.cjs.map +1 -0
  12. package/dist/api-handler-trpc.d.cts +5 -0
  13. package/dist/api-handler-trpc.d.ts +5 -0
  14. package/dist/api-handler-trpc.js +36 -0
  15. package/dist/api-handler-trpc.js.map +1 -0
  16. package/dist/api-handler.cjs +31 -97
  17. package/dist/api-handler.cjs.map +1 -1
  18. package/dist/api-handler.d.cts +2 -1
  19. package/dist/api-handler.d.ts +2 -1
  20. package/dist/api-handler.js +19 -95
  21. package/dist/api-handler.js.map +1 -1
  22. package/dist/{tenant-B1YB0Jy8.d.ts → base-B71y_EAF.d.cts} +6 -12
  23. package/dist/{tenant-Cpeveji6.d.cts → base-DaqY2GhA.d.ts} +6 -12
  24. package/dist/bootstrap-5NLASFOG.cjs +32 -0
  25. package/dist/{bootstrap-AKAUP6F6.cjs.map → bootstrap-5NLASFOG.cjs.map} +1 -1
  26. package/dist/bootstrap-T5BK77LD.js +7 -0
  27. package/dist/{bootstrap-JCML6NFO.js.map → bootstrap-T5BK77LD.js.map} +1 -1
  28. package/dist/{chunk-35U3FROB.js → chunk-22M4O4ZJ.js} +607 -63
  29. package/dist/chunk-22M4O4ZJ.js.map +1 -0
  30. package/dist/chunk-2HZRBATX.cjs +253 -0
  31. package/dist/chunk-2HZRBATX.cjs.map +1 -0
  32. package/dist/{chunk-VJT6P4N6.cjs → chunk-3HR772HI.cjs} +199 -32
  33. package/dist/chunk-3HR772HI.cjs.map +1 -0
  34. package/dist/chunk-3KTWGODI.cjs +178 -0
  35. package/dist/chunk-3KTWGODI.cjs.map +1 -0
  36. package/dist/{chunk-QXIQWPAP.js → chunk-3UK5XBVJ.js} +4 -134
  37. package/dist/chunk-3UK5XBVJ.js.map +1 -0
  38. package/dist/{chunk-FXYP2HA6.js → chunk-4AO3A3JM.js} +48 -4
  39. package/dist/chunk-4AO3A3JM.js.map +1 -0
  40. package/dist/chunk-4M7X5HAB.cjs +173 -0
  41. package/dist/chunk-4M7X5HAB.cjs.map +1 -0
  42. package/dist/chunk-5EPFQUQD.js +3243 -0
  43. package/dist/chunk-5EPFQUQD.js.map +1 -0
  44. package/dist/{chunk-Y3N7UUDO.js → chunk-7OGPN7MP.js} +5 -2
  45. package/dist/chunk-7OGPN7MP.js.map +1 -0
  46. package/dist/{chunk-WOWUL7ZY.js → chunk-AL5KX63J.js} +4 -3
  47. package/dist/chunk-AL5KX63J.js.map +1 -0
  48. package/dist/{chunk-2OL4O2TH.cjs → chunk-C36TMDTY.cjs} +66 -61
  49. package/dist/chunk-C36TMDTY.cjs.map +1 -0
  50. package/dist/{chunk-ES5HNFFT.js → chunk-CF7OL6HR.js} +4 -2
  51. package/dist/chunk-CF7OL6HR.js.map +1 -0
  52. package/dist/chunk-CJONKRHJ.js +162 -0
  53. package/dist/chunk-CJONKRHJ.js.map +1 -0
  54. package/dist/{chunk-2KVHZE6O.cjs → chunk-COIASRDK.cjs} +202 -46
  55. package/dist/chunk-COIASRDK.cjs.map +1 -0
  56. package/dist/chunk-DEVFAKCQ.cjs +3291 -0
  57. package/dist/chunk-DEVFAKCQ.cjs.map +1 -0
  58. package/dist/{chunk-3ZFYL34R.js → chunk-DYTZ6FQ7.js} +12 -185
  59. package/dist/chunk-DYTZ6FQ7.js.map +1 -0
  60. package/dist/{chunk-QPPDLRNR.js → chunk-EJN2PAOE.js} +197 -41
  61. package/dist/chunk-EJN2PAOE.js.map +1 -0
  62. package/dist/chunk-FAXU7BMP.js +220 -0
  63. package/dist/chunk-FAXU7BMP.js.map +1 -0
  64. package/dist/{chunk-OHVB4AJ7.js → chunk-FOPGUM27.js} +22 -17
  65. package/dist/chunk-FOPGUM27.js.map +1 -0
  66. package/dist/chunk-GAOXD3XT.js +175 -0
  67. package/dist/chunk-GAOXD3XT.js.map +1 -0
  68. package/dist/{chunk-4DA7QPLA.cjs → chunk-GXFOGU7N.cjs} +5 -2
  69. package/dist/chunk-GXFOGU7N.cjs.map +1 -0
  70. package/dist/{chunk-I7HHI6QV.cjs → chunk-IDVRRRAK.cjs} +17 -9
  71. package/dist/chunk-IDVRRRAK.cjs.map +1 -0
  72. package/dist/{chunk-WQBRWOQT.cjs → chunk-JOPVMWTM.cjs} +3 -2
  73. package/dist/chunk-JOPVMWTM.cjs.map +1 -0
  74. package/dist/chunk-KC2GDBLS.cjs +84 -0
  75. package/dist/chunk-KC2GDBLS.cjs.map +1 -0
  76. package/dist/{chunk-K7JPTH3G.cjs → chunk-KNRSROWB.cjs} +132 -74
  77. package/dist/chunk-KNRSROWB.cjs.map +1 -0
  78. package/dist/{chunk-3AJE4SEG.js → chunk-KPA4AN4R.js} +125 -67
  79. package/dist/chunk-KPA4AN4R.js.map +1 -0
  80. package/dist/{chunk-QUW2RZTM.cjs → chunk-L46ROHUS.cjs} +51 -7
  81. package/dist/chunk-L46ROHUS.cjs.map +1 -0
  82. package/dist/chunk-L4EZKIEX.js +185 -0
  83. package/dist/chunk-L4EZKIEX.js.map +1 -0
  84. package/dist/{chunk-REK7AYOC.js → chunk-L5UKKZQN.js} +199 -32
  85. package/dist/chunk-L5UKKZQN.js.map +1 -0
  86. package/dist/chunk-NKPKR5BW.cjs +188 -0
  87. package/dist/chunk-NKPKR5BW.cjs.map +1 -0
  88. package/dist/{chunk-Y3QQN7PN.js → chunk-P2HKJ7P5.js} +13 -4
  89. package/dist/chunk-P2HKJ7P5.js.map +1 -0
  90. package/dist/{chunk-SA7NSSIQ.cjs → chunk-PI73NNOK.cjs} +13 -187
  91. package/dist/chunk-PI73NNOK.cjs.map +1 -0
  92. package/dist/{chunk-HXRD4B37.js → chunk-PU2Z5VWF.js} +1279 -556
  93. package/dist/chunk-PU2Z5VWF.js.map +1 -0
  94. package/dist/{chunk-H727JIG7.js → chunk-Q72BOAPK.js} +16 -8
  95. package/dist/chunk-Q72BOAPK.js.map +1 -0
  96. package/dist/{chunk-IBG6V56E.cjs → chunk-QFLB4EIJ.cjs} +2 -139
  97. package/dist/chunk-QFLB4EIJ.cjs.map +1 -0
  98. package/dist/{chunk-YVUJBEXE.cjs → chunk-RAMGUDJN.cjs} +16 -7
  99. package/dist/chunk-RAMGUDJN.cjs.map +1 -0
  100. package/dist/{chunk-LINKCEG4.cjs → chunk-ROJHKAQ4.cjs} +617 -73
  101. package/dist/chunk-ROJHKAQ4.cjs.map +1 -0
  102. package/dist/{chunk-5KVM3WEY.cjs → chunk-RSF3UU7H.cjs} +1330 -602
  103. package/dist/chunk-RSF3UU7H.cjs.map +1 -0
  104. package/dist/{chunk-V3LKPM3O.cjs → chunk-SHTTJMLT.cjs} +4 -2
  105. package/dist/chunk-SHTTJMLT.cjs.map +1 -0
  106. package/dist/chunk-SPBTLUN6.js +92 -0
  107. package/dist/chunk-SPBTLUN6.js.map +1 -0
  108. package/dist/{chunk-57P6MJKC.js → chunk-TXSZFA4G.js} +3 -3
  109. package/dist/chunk-TXSZFA4G.js.map +1 -0
  110. package/dist/chunk-UERVXYVK.cjs +99 -0
  111. package/dist/chunk-UERVXYVK.cjs.map +1 -0
  112. package/dist/{chunk-PDYFVNUX.cjs → chunk-V2TVSCV5.cjs} +16 -23
  113. package/dist/chunk-V2TVSCV5.cjs.map +1 -0
  114. package/dist/{chunk-DXHRBMGB.js → chunk-VO35MNPH.js} +12 -19
  115. package/dist/chunk-VO35MNPH.js.map +1 -0
  116. package/dist/{chunk-IA6AU5PI.cjs → chunk-WNCYAKF3.cjs} +3 -3
  117. package/dist/chunk-WNCYAKF3.cjs.map +1 -0
  118. package/dist/chunk-XEB7PH2E.js +81 -0
  119. package/dist/chunk-XEB7PH2E.js.map +1 -0
  120. package/dist/cli/index.cjs +5 -5
  121. package/dist/cli/index.cjs.map +1 -1
  122. package/dist/cli/index.js +5 -5
  123. package/dist/cli/index.js.map +1 -1
  124. package/dist/client.cjs +3 -3
  125. package/dist/client.d.cts +3 -3
  126. package/dist/client.d.ts +3 -3
  127. package/dist/client.js +1 -1
  128. package/dist/drizzle/index.cjs +14 -13
  129. package/dist/drizzle/index.d.cts +9 -7
  130. package/dist/drizzle/index.d.ts +9 -7
  131. package/dist/drizzle/index.js +5 -4
  132. package/dist/fields/index.cjs +21 -37
  133. package/dist/fields/index.d.cts +2 -22
  134. package/dist/fields/index.d.ts +2 -22
  135. package/dist/fields/index.js +1 -1
  136. package/dist/graphql/index.cjs +5 -4
  137. package/dist/graphql/index.d.cts +5 -3
  138. package/dist/graphql/index.d.ts +5 -3
  139. package/dist/graphql/index.js +3 -2
  140. package/dist/index-CJXPB_ot.d.ts +276 -0
  141. package/dist/index-CaTNnLGd.d.cts +276 -0
  142. package/dist/index.cjs +304 -162
  143. package/dist/index.cjs.map +1 -1
  144. package/dist/index.d.cts +129 -205
  145. package/dist/index.d.ts +129 -205
  146. package/dist/index.js +172 -33
  147. package/dist/index.js.map +1 -1
  148. package/dist/integration.cjs +2 -2
  149. package/dist/integration.js +1 -1
  150. package/dist/mongo-auth-adapter-ISOM7FSS.cjs +17 -0
  151. package/dist/{mongo-auth-adapter-NHHUJHVH.cjs.map → mongo-auth-adapter-ISOM7FSS.cjs.map} +1 -1
  152. package/dist/mongo-auth-adapter-MO6STCV3.js +4 -0
  153. package/dist/{mongo-auth-adapter-NJQUUCTP.js.map → mongo-auth-adapter-MO6STCV3.js.map} +1 -1
  154. package/dist/mongodb/index.cjs +8 -7
  155. package/dist/mongodb/index.d.cts +5 -7
  156. package/dist/mongodb/index.d.ts +5 -7
  157. package/dist/mongodb/index.js +4 -3
  158. package/dist/postgres-auth-adapter-DWDR7P5G.js +5 -0
  159. package/dist/{postgres-auth-adapter-3T2NKTSE.js.map → postgres-auth-adapter-DWDR7P5G.js.map} +1 -1
  160. package/dist/postgres-auth-adapter-WRWSJD4E.cjs +14 -0
  161. package/dist/{postgres-auth-adapter-7IEENCKQ.cjs.map → postgres-auth-adapter-WRWSJD4E.cjs.map} +1 -1
  162. package/dist/redis-adapter-HGTPWIGV.js +4 -0
  163. package/dist/{redis-adapter-VQXD7ESY.js.map → redis-adapter-HGTPWIGV.js.map} +1 -1
  164. package/dist/redis-adapter-KJ3YOOT6.cjs +13 -0
  165. package/dist/{redis-adapter-D2E2S3GB.cjs.map → redis-adapter-KJ3YOOT6.cjs.map} +1 -1
  166. package/dist/rest/index.cjs +15 -14
  167. package/dist/rest/index.d.cts +4 -4
  168. package/dist/rest/index.d.ts +4 -4
  169. package/dist/rest/index.js +13 -12
  170. package/dist/{schema-5PHL5IVB.js → schema-6I5OFR4Z.js} +3 -3
  171. package/dist/{schema-5PHL5IVB.js.map → schema-6I5OFR4Z.js.map} +1 -1
  172. package/dist/{schema-37SE2F4B.cjs → schema-TTFE4467.cjs} +14 -14
  173. package/dist/{schema-37SE2F4B.cjs.map → schema-TTFE4467.cjs.map} +1 -1
  174. package/dist/sqlite-adapter-6GEUSVXQ.js +4 -0
  175. package/dist/{sqlite-adapter-TR3U3W6Q.js.map → sqlite-adapter-6GEUSVXQ.js.map} +1 -1
  176. package/dist/sqlite-adapter-CSIZE5SX.cjs +13 -0
  177. package/dist/{sqlite-adapter-LVK5PS4T.cjs.map → sqlite-adapter-CSIZE5SX.cjs.map} +1 -1
  178. package/dist/templates/index.cjs +133 -31
  179. package/dist/templates/index.d.cts +52 -9
  180. package/dist/templates/index.d.ts +52 -9
  181. package/dist/templates/index.js +3 -1
  182. package/dist/trpc/index.cjs +13 -12
  183. package/dist/trpc/index.d.cts +55 -49
  184. package/dist/trpc/index.d.ts +55 -49
  185. package/dist/trpc/index.js +4 -3
  186. package/dist/{types-D6ZLRGbH.d.cts → types-CpjuXbe7.d.cts} +2 -0
  187. package/dist/{types-D6ZLRGbH.d.ts → types-CpjuXbe7.d.ts} +2 -0
  188. package/dist/{types-Bs1up4yP.d.ts → types-CyCQ6SAI.d.ts} +28 -2
  189. package/dist/{types-J3R9nVsZ.d.cts → types-DJxD9394.d.cts} +28 -2
  190. package/dist/{types-VtjUxIMp.d.cts → types-Z6FBiqa2.d.cts} +35 -14
  191. package/dist/{types-VtjUxIMp.d.ts → types-Z6FBiqa2.d.ts} +35 -14
  192. package/package.json +22 -4
  193. package/dist/bootstrap-AKAUP6F6.cjs +0 -32
  194. package/dist/bootstrap-JCML6NFO.js +0 -7
  195. package/dist/chunk-2KVHZE6O.cjs.map +0 -1
  196. package/dist/chunk-2OL4O2TH.cjs.map +0 -1
  197. package/dist/chunk-35U3FROB.js.map +0 -1
  198. package/dist/chunk-3AJE4SEG.js.map +0 -1
  199. package/dist/chunk-3J4MFTI3.js +0 -3872
  200. package/dist/chunk-3J4MFTI3.js.map +0 -1
  201. package/dist/chunk-3ZFYL34R.js.map +0 -1
  202. package/dist/chunk-4DA7QPLA.cjs.map +0 -1
  203. package/dist/chunk-57P6MJKC.js.map +0 -1
  204. package/dist/chunk-5KVM3WEY.cjs.map +0 -1
  205. package/dist/chunk-6IMPH6WV.cjs +0 -3897
  206. package/dist/chunk-6IMPH6WV.cjs.map +0 -1
  207. package/dist/chunk-ATBOUGQP.cjs +0 -513
  208. package/dist/chunk-ATBOUGQP.cjs.map +0 -1
  209. package/dist/chunk-DXHRBMGB.js.map +0 -1
  210. package/dist/chunk-ES5HNFFT.js.map +0 -1
  211. package/dist/chunk-FXYP2HA6.js.map +0 -1
  212. package/dist/chunk-H727JIG7.js.map +0 -1
  213. package/dist/chunk-HXRD4B37.js.map +0 -1
  214. package/dist/chunk-I7HHI6QV.cjs.map +0 -1
  215. package/dist/chunk-IA6AU5PI.cjs.map +0 -1
  216. package/dist/chunk-IBG6V56E.cjs.map +0 -1
  217. package/dist/chunk-K7JPTH3G.cjs.map +0 -1
  218. package/dist/chunk-LINKCEG4.cjs.map +0 -1
  219. package/dist/chunk-OHVB4AJ7.js.map +0 -1
  220. package/dist/chunk-PDYFVNUX.cjs.map +0 -1
  221. package/dist/chunk-Q23JB3KL.js +0 -488
  222. package/dist/chunk-Q23JB3KL.js.map +0 -1
  223. package/dist/chunk-QPPDLRNR.js.map +0 -1
  224. package/dist/chunk-QUW2RZTM.cjs.map +0 -1
  225. package/dist/chunk-QXIQWPAP.js.map +0 -1
  226. package/dist/chunk-R3XIBBAW.cjs +0 -34
  227. package/dist/chunk-R3XIBBAW.cjs.map +0 -1
  228. package/dist/chunk-REK7AYOC.js.map +0 -1
  229. package/dist/chunk-SA7NSSIQ.cjs.map +0 -1
  230. package/dist/chunk-SDMNUYVU.js +0 -30
  231. package/dist/chunk-SDMNUYVU.js.map +0 -1
  232. package/dist/chunk-V3LKPM3O.cjs.map +0 -1
  233. package/dist/chunk-VJT6P4N6.cjs.map +0 -1
  234. package/dist/chunk-WOWUL7ZY.js.map +0 -1
  235. package/dist/chunk-WQBRWOQT.cjs.map +0 -1
  236. package/dist/chunk-Y3N7UUDO.js.map +0 -1
  237. package/dist/chunk-Y3QQN7PN.js.map +0 -1
  238. package/dist/chunk-YVUJBEXE.cjs.map +0 -1
  239. package/dist/index-CLp-DRKA.d.ts +0 -64
  240. package/dist/index-DfO7G4kN.d.cts +0 -64
  241. package/dist/mongo-auth-adapter-NHHUJHVH.cjs +0 -17
  242. package/dist/mongo-auth-adapter-NJQUUCTP.js +0 -4
  243. package/dist/postgres-auth-adapter-3T2NKTSE.js +0 -5
  244. package/dist/postgres-auth-adapter-7IEENCKQ.cjs +0 -14
  245. package/dist/redis-adapter-D2E2S3GB.cjs +0 -13
  246. package/dist/redis-adapter-VQXD7ESY.js +0 -4
  247. package/dist/sqlite-adapter-LVK5PS4T.cjs +0 -13
  248. package/dist/sqlite-adapter-TR3U3W6Q.js +0 -4
package/dist/client.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export { A as AdminConfig, a as AuthConfig, C as CollectionConfig, G as GlobalConfig, I as ImageSize, K as KyroConfig, U as UploadConfig, V as VersionConfig } from './types-Bs1up4yP.js';
2
- export { A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, F as Field, h as FieldAdmin, i as FieldType, G as GroupField, I as ImageField, J as JSONField, M as MarkdownField, N as NumberField, P as PasswordField, R as RadioField, j as RelationshipField, k as RichTextBlock, l as RichTextField, m as RowField, S as SelectField, T as TabsField, n as TextField, o as TextareaField, U as UploadField } from './types-VtjUxIMp.js';
1
+ export { A as AdminConfig, a as AuthConfig, C as CollectionConfig, G as GlobalConfig, I as ImageSize, K as KyroConfig, U as UploadConfig, V as VersionConfig } from './types-CyCQ6SAI.js';
2
+ export { A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, h as DeclarativeCondition, E as EmailField, F as Field, i as FieldAdmin, j as FieldType, G as GroupField, I as ImageField, J as JSONField, M as MarkdownField, N as NumberField, P as PasswordField, R as RadioField, k as RelationshipField, l as RichTextBlock, m as RichTextField, n as RowField, S as SecretField, o as SelectField, T as TabsField, p as TextField, q as TextareaField, U as UploadField } from './types-Z6FBiqa2.js';
3
3
  export { renderRichText, richTextStyles } from './fields/index.js';
4
- export { A as AuthAdapter, a as AuthResult, S as AuthSession, b as AuthTokenConfig, c as AuthUser, J as JWTPayload, L as LoginCredentials, R as RegisterData, S as Session, U as UserRole } from './types-D6ZLRGbH.js';
4
+ export { A as AuthAdapter, a as AuthResult, S as AuthSession, b as AuthTokenConfig, c as AuthUser, J as JWTPayload, L as LoginCredentials, R as RegisterData, S as Session, U as UserRole } from './types-CpjuXbe7.js';
5
5
  export { A as AdminStylingConfig, C as CSSGenerator, F as FieldStyling, S as StylingConfig, a as StylingMode, T as ThemeBorderRadius, b as ThemeColors, c as ThemeConfig, d as ThemeFonts, e as ThemeShadows, f as ThemeSpacing, g as createAdminStyling, h as defaultDarkTheme, i as defaultFieldStyling, j as defaultLightTheme, k as ecommerce2026Theme, l as generateCSSVariables, m as generateTailwindConfig } from './index-Bz9JqRGI.js';
6
6
 
7
7
  declare function createAuditContext(req: Request): {
package/dist/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { CSSGenerator, createAdminStyling, defaultDarkTheme, defaultFieldStyling, defaultLightTheme, ecommerce2026Theme, generateCSSVariables, generateTailwindConfig } from './chunk-2HFJUUFZ.js';
2
- export { renderRichText, richTextStyles } from './chunk-Q23JB3KL.js';
2
+ export { renderRichText, richTextStyles } from './chunk-FAXU7BMP.js';
3
3
  export { createAuditContext } from './chunk-P2YW545G.js';
4
4
  import './chunk-Z6ZWNWWR.js';
5
5
  //# sourceMappingURL=client.js.map
@@ -1,49 +1,50 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-3YELQL7Z.cjs');
4
- var chunk2KVHZE6O_cjs = require('../chunk-2KVHZE6O.cjs');
5
- var chunk2OL4O2TH_cjs = require('../chunk-2OL4O2TH.cjs');
6
- require('../chunk-WQBRWOQT.cjs');
7
- require('../chunk-SA7NSSIQ.cjs');
4
+ var chunkCOIASRDK_cjs = require('../chunk-COIASRDK.cjs');
5
+ var chunkC36TMDTY_cjs = require('../chunk-C36TMDTY.cjs');
6
+ require('../chunk-JOPVMWTM.cjs');
7
+ require('../chunk-PI73NNOK.cjs');
8
+ require('../chunk-NKPKR5BW.cjs');
8
9
  require('../chunk-G7VZBCD6.cjs');
9
10
 
10
11
 
11
12
 
12
13
  Object.defineProperty(exports, "DrizzleAdapter", {
13
14
  enumerable: true,
14
- get: function () { return chunk2KVHZE6O_cjs.DrizzleAdapter; }
15
+ get: function () { return chunkCOIASRDK_cjs.DrizzleAdapter; }
15
16
  });
16
17
  Object.defineProperty(exports, "collectionToDrizzleSchema", {
17
18
  enumerable: true,
18
- get: function () { return chunk2KVHZE6O_cjs.collectionToDrizzleSchema; }
19
+ get: function () { return chunkCOIASRDK_cjs.collectionToDrizzleSchema; }
19
20
  });
20
21
  Object.defineProperty(exports, "createDatabase", {
21
22
  enumerable: true,
22
- get: function () { return chunk2KVHZE6O_cjs.createDatabase; }
23
+ get: function () { return chunkCOIASRDK_cjs.createDatabase; }
23
24
  });
24
25
  Object.defineProperty(exports, "createDrizzleAdapter", {
25
26
  enumerable: true,
26
- get: function () { return chunk2KVHZE6O_cjs.createDrizzleAdapter; }
27
+ get: function () { return chunkCOIASRDK_cjs.createDrizzleAdapter; }
27
28
  });
28
29
  Object.defineProperty(exports, "fieldToDrizzleType", {
29
30
  enumerable: true,
30
- get: function () { return chunk2KVHZE6O_cjs.fieldToDrizzleType; }
31
+ get: function () { return chunkCOIASRDK_cjs.fieldToDrizzleType; }
31
32
  });
32
33
  Object.defineProperty(exports, "genId", {
33
34
  enumerable: true,
34
- get: function () { return chunk2KVHZE6O_cjs.genId; }
35
+ get: function () { return chunkCOIASRDK_cjs.genId; }
35
36
  });
36
37
  Object.defineProperty(exports, "runMigrations", {
37
38
  enumerable: true,
38
- get: function () { return chunk2KVHZE6O_cjs.runMigrations; }
39
+ get: function () { return chunkCOIASRDK_cjs.runMigrations; }
39
40
  });
40
41
  Object.defineProperty(exports, "seedDefaultRoles", {
41
42
  enumerable: true,
42
- get: function () { return chunk2KVHZE6O_cjs.seedDefaultRoles; }
43
+ get: function () { return chunkCOIASRDK_cjs.seedDefaultRoles; }
43
44
  });
44
45
  Object.defineProperty(exports, "PostgresAuthAdapter", {
45
46
  enumerable: true,
46
- get: function () { return chunk2OL4O2TH_cjs.PostgresAuthAdapter; }
47
+ get: function () { return chunkC36TMDTY_cjs.PostgresAuthAdapter; }
47
48
  });
48
49
  //# sourceMappingURL=index.cjs.map
49
50
  //# sourceMappingURL=index.cjs.map
@@ -1,8 +1,8 @@
1
- import { A as AbstractBaseAdapter, T as TenantContext } from '../tenant-Cpeveji6.cjs';
2
- import { C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, i as DraftFindArgs, j as DraftSnapshot, k as DraftUpsertArgs, l as DraftDeleteArgs } from '../types-J3R9nVsZ.cjs';
3
- import { F as Field } from '../types-VtjUxIMp.cjs';
1
+ import { A as AbstractBaseAdapter } from '../base-B71y_EAF.cjs';
2
+ import { C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, i as DraftFindArgs, j as DraftSnapshot, k as DraftUpsertArgs, l as DraftDeleteArgs } from '../types-DJxD9394.cjs';
3
+ import { F as Field } from '../types-Z6FBiqa2.cjs';
4
4
  import { PostgresJsDatabase } from 'drizzle-orm/postgres-js';
5
- import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-D6ZLRGbH.cjs';
5
+ import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-CpjuXbe7.cjs';
6
6
 
7
7
  declare function fieldToDrizzleType(field: Field, dialect?: 'postgres' | 'sqlite'): string;
8
8
  declare function collectionToDrizzleSchema(collection: CollectionConfig, dialect?: 'postgres' | 'sqlite'): string;
@@ -13,9 +13,6 @@ declare class DrizzleAdapter extends AbstractBaseAdapter {
13
13
  private connectionString?;
14
14
  private draftsTableReady;
15
15
  private versionsTableReady;
16
- private tenantContext?;
17
- setTenantContext(context: TenantContext | undefined): void;
18
- getTenantContext(): TenantContext | undefined;
19
16
  constructor(options: {
20
17
  type?: 'postgres' | 'sqlite';
21
18
  client?: any;
@@ -27,6 +24,10 @@ declare class DrizzleAdapter extends AbstractBaseAdapter {
27
24
  init(collections: CollectionConfig[], globals?: GlobalConfig[]): Promise<void>;
28
25
  private createTableFromConfig;
29
26
  private ensureCollectionTables;
27
+ private getColumnSqlDefinition;
28
+ private columnSqlType;
29
+ private getExpectedColumnDefs;
30
+ private syncTableColumns;
30
31
  private generateCreateColumns;
31
32
  disconnect(): Promise<void>;
32
33
  find<T>(args: FindArgs): Promise<FindResult<T>>;
@@ -96,6 +97,7 @@ declare class PostgresAuthAdapter implements AuthAdapter {
96
97
  password: string;
97
98
  name?: string;
98
99
  role?: UserRole;
100
+ avatar?: string;
99
101
  tenantId?: string;
100
102
  }): Promise<AuthUser>;
101
103
  findUserByEmail(email: string): Promise<AuthUser | null>;
@@ -1,8 +1,8 @@
1
- import { A as AbstractBaseAdapter, T as TenantContext } from '../tenant-B1YB0Jy8.js';
2
- import { C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, i as DraftFindArgs, j as DraftSnapshot, k as DraftUpsertArgs, l as DraftDeleteArgs } from '../types-Bs1up4yP.js';
3
- import { F as Field } from '../types-VtjUxIMp.js';
1
+ import { A as AbstractBaseAdapter } from '../base-DaqY2GhA.js';
2
+ import { C as CollectionConfig, G as GlobalConfig, F as FindArgs, b as FindResult, c as FindByIDArgs, d as CreateArgs, e as UpdateArgs, D as DeleteArgs, i as DraftFindArgs, j as DraftSnapshot, k as DraftUpsertArgs, l as DraftDeleteArgs } from '../types-CyCQ6SAI.js';
3
+ import { F as Field } from '../types-Z6FBiqa2.js';
4
4
  import { PostgresJsDatabase } from 'drizzle-orm/postgres-js';
5
- import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-D6ZLRGbH.js';
5
+ import { A as AuthAdapter, U as UserRole, c as AuthUser, S as Session, e as AuditLogFilter, d as AuditLog } from '../types-CpjuXbe7.js';
6
6
 
7
7
  declare function fieldToDrizzleType(field: Field, dialect?: 'postgres' | 'sqlite'): string;
8
8
  declare function collectionToDrizzleSchema(collection: CollectionConfig, dialect?: 'postgres' | 'sqlite'): string;
@@ -13,9 +13,6 @@ declare class DrizzleAdapter extends AbstractBaseAdapter {
13
13
  private connectionString?;
14
14
  private draftsTableReady;
15
15
  private versionsTableReady;
16
- private tenantContext?;
17
- setTenantContext(context: TenantContext | undefined): void;
18
- getTenantContext(): TenantContext | undefined;
19
16
  constructor(options: {
20
17
  type?: 'postgres' | 'sqlite';
21
18
  client?: any;
@@ -27,6 +24,10 @@ declare class DrizzleAdapter extends AbstractBaseAdapter {
27
24
  init(collections: CollectionConfig[], globals?: GlobalConfig[]): Promise<void>;
28
25
  private createTableFromConfig;
29
26
  private ensureCollectionTables;
27
+ private getColumnSqlDefinition;
28
+ private columnSqlType;
29
+ private getExpectedColumnDefs;
30
+ private syncTableColumns;
30
31
  private generateCreateColumns;
31
32
  disconnect(): Promise<void>;
32
33
  find<T>(args: FindArgs): Promise<FindResult<T>>;
@@ -96,6 +97,7 @@ declare class PostgresAuthAdapter implements AuthAdapter {
96
97
  password: string;
97
98
  name?: string;
98
99
  role?: UserRole;
100
+ avatar?: string;
99
101
  tenantId?: string;
100
102
  }): Promise<AuthUser>;
101
103
  findUserByEmail(email: string): Promise<AuthUser | null>;
@@ -1,8 +1,9 @@
1
1
  import '../chunk-QU2RFFH4.js';
2
- export { DrizzleAdapter, collectionToDrizzleSchema, createDatabase, createDrizzleAdapter, fieldToDrizzleType, genId, runMigrations, seedDefaultRoles } from '../chunk-QPPDLRNR.js';
3
- export { PostgresAuthAdapter } from '../chunk-OHVB4AJ7.js';
4
- import '../chunk-WOWUL7ZY.js';
5
- import '../chunk-3ZFYL34R.js';
2
+ export { DrizzleAdapter, collectionToDrizzleSchema, createDatabase, createDrizzleAdapter, fieldToDrizzleType, genId, runMigrations, seedDefaultRoles } from '../chunk-EJN2PAOE.js';
3
+ export { PostgresAuthAdapter } from '../chunk-FOPGUM27.js';
4
+ import '../chunk-AL5KX63J.js';
5
+ import '../chunk-DYTZ6FQ7.js';
6
+ import '../chunk-L4EZKIEX.js';
6
7
  import '../chunk-Z6ZWNWWR.js';
7
8
  //# sourceMappingURL=index.js.map
8
9
  //# sourceMappingURL=index.js.map
@@ -1,105 +1,89 @@
1
1
  'use strict';
2
2
 
3
- var chunkATBOUGQP_cjs = require('../chunk-ATBOUGQP.cjs');
3
+ var chunk2HZRBATX_cjs = require('../chunk-2HZRBATX.cjs');
4
4
  require('../chunk-G7VZBCD6.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "ALL_FIELD_TYPES", {
9
9
  enumerable: true,
10
- get: function () { return chunkATBOUGQP_cjs.ALL_FIELD_TYPES; }
10
+ get: function () { return chunk2HZRBATX_cjs.ALL_FIELD_TYPES; }
11
11
  });
12
12
  Object.defineProperty(exports, "COMPLEX_FIELD_TYPES", {
13
13
  enumerable: true,
14
- get: function () { return chunkATBOUGQP_cjs.COMPLEX_FIELD_TYPES; }
14
+ get: function () { return chunk2HZRBATX_cjs.COMPLEX_FIELD_TYPES; }
15
15
  });
16
16
  Object.defineProperty(exports, "LAYOUT_FIELD_TYPES", {
17
17
  enumerable: true,
18
- get: function () { return chunkATBOUGQP_cjs.LAYOUT_FIELD_TYPES; }
18
+ get: function () { return chunk2HZRBATX_cjs.LAYOUT_FIELD_TYPES; }
19
19
  });
20
20
  Object.defineProperty(exports, "PRIMITIVE_FIELD_TYPES", {
21
21
  enumerable: true,
22
- get: function () { return chunkATBOUGQP_cjs.PRIMITIVE_FIELD_TYPES; }
22
+ get: function () { return chunk2HZRBATX_cjs.PRIMITIVE_FIELD_TYPES; }
23
23
  });
24
24
  Object.defineProperty(exports, "RELATIONAL_FIELD_TYPES", {
25
25
  enumerable: true,
26
- get: function () { return chunkATBOUGQP_cjs.RELATIONAL_FIELD_TYPES; }
27
- });
28
- Object.defineProperty(exports, "createColumnNode", {
29
- enumerable: true,
30
- get: function () { return chunkATBOUGQP_cjs.createColumnNode; }
31
- });
32
- Object.defineProperty(exports, "createColumnsNode", {
33
- enumerable: true,
34
- get: function () { return chunkATBOUGQP_cjs.createColumnsNode; }
35
- });
36
- Object.defineProperty(exports, "createEmptyParagraphNode", {
37
- enumerable: true,
38
- get: function () { return chunkATBOUGQP_cjs.createEmptyParagraphNode; }
26
+ get: function () { return chunk2HZRBATX_cjs.RELATIONAL_FIELD_TYPES; }
39
27
  });
40
28
  Object.defineProperty(exports, "createRelationshipFieldConfig", {
41
29
  enumerable: true,
42
- get: function () { return chunkATBOUGQP_cjs.createRelationshipFieldConfig; }
30
+ get: function () { return chunk2HZRBATX_cjs.createRelationshipFieldConfig; }
43
31
  });
44
32
  Object.defineProperty(exports, "isArrayField", {
45
33
  enumerable: true,
46
- get: function () { return chunkATBOUGQP_cjs.isArrayField; }
34
+ get: function () { return chunk2HZRBATX_cjs.isArrayField; }
47
35
  });
48
36
  Object.defineProperty(exports, "isBlocksField", {
49
37
  enumerable: true,
50
- get: function () { return chunkATBOUGQP_cjs.isBlocksField; }
38
+ get: function () { return chunk2HZRBATX_cjs.isBlocksField; }
51
39
  });
52
40
  Object.defineProperty(exports, "isGroupField", {
53
41
  enumerable: true,
54
- get: function () { return chunkATBOUGQP_cjs.isGroupField; }
42
+ get: function () { return chunk2HZRBATX_cjs.isGroupField; }
55
43
  });
56
44
  Object.defineProperty(exports, "isImageField", {
57
45
  enumerable: true,
58
- get: function () { return chunkATBOUGQP_cjs.isImageField; }
46
+ get: function () { return chunk2HZRBATX_cjs.isImageField; }
59
47
  });
60
48
  Object.defineProperty(exports, "isLayoutField", {
61
49
  enumerable: true,
62
- get: function () { return chunkATBOUGQP_cjs.isLayoutField; }
50
+ get: function () { return chunk2HZRBATX_cjs.isLayoutField; }
63
51
  });
64
52
  Object.defineProperty(exports, "isNumberField", {
65
53
  enumerable: true,
66
- get: function () { return chunkATBOUGQP_cjs.isNumberField; }
54
+ get: function () { return chunk2HZRBATX_cjs.isNumberField; }
67
55
  });
68
56
  Object.defineProperty(exports, "isRelationshipField", {
69
57
  enumerable: true,
70
- get: function () { return chunkATBOUGQP_cjs.isRelationshipField; }
58
+ get: function () { return chunk2HZRBATX_cjs.isRelationshipField; }
71
59
  });
72
60
  Object.defineProperty(exports, "isRichTextField", {
73
61
  enumerable: true,
74
- get: function () { return chunkATBOUGQP_cjs.isRichTextField; }
62
+ get: function () { return chunk2HZRBATX_cjs.isRichTextField; }
75
63
  });
76
64
  Object.defineProperty(exports, "isSelectField", {
77
65
  enumerable: true,
78
- get: function () { return chunkATBOUGQP_cjs.isSelectField; }
66
+ get: function () { return chunk2HZRBATX_cjs.isSelectField; }
79
67
  });
80
68
  Object.defineProperty(exports, "isTextField", {
81
69
  enumerable: true,
82
- get: function () { return chunkATBOUGQP_cjs.isTextField; }
70
+ get: function () { return chunk2HZRBATX_cjs.isTextField; }
83
71
  });
84
72
  Object.defineProperty(exports, "isUploadField", {
85
73
  enumerable: true,
86
- get: function () { return chunkATBOUGQP_cjs.isUploadField; }
87
- });
88
- Object.defineProperty(exports, "normalizeRichTextDocument", {
89
- enumerable: true,
90
- get: function () { return chunkATBOUGQP_cjs.normalizeRichTextDocument; }
74
+ get: function () { return chunk2HZRBATX_cjs.isUploadField; }
91
75
  });
92
76
  Object.defineProperty(exports, "normalizeRichTextValue", {
93
77
  enumerable: true,
94
- get: function () { return chunkATBOUGQP_cjs.normalizeRichTextValue; }
78
+ get: function () { return chunk2HZRBATX_cjs.normalizeRichTextValue; }
95
79
  });
96
80
  Object.defineProperty(exports, "renderRichText", {
97
81
  enumerable: true,
98
- get: function () { return chunkATBOUGQP_cjs.renderRichText; }
82
+ get: function () { return chunk2HZRBATX_cjs.renderRichText; }
99
83
  });
100
84
  Object.defineProperty(exports, "richTextStyles", {
101
85
  enumerable: true,
102
- get: function () { return chunkATBOUGQP_cjs.richTextStyles; }
86
+ get: function () { return chunk2HZRBATX_cjs.richTextStyles; }
103
87
  });
104
88
  //# sourceMappingURL=index.cjs.map
105
89
  //# sourceMappingURL=index.cjs.map
@@ -1,27 +1,7 @@
1
- export { p as ALL_FIELD_TYPES, A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, W as ButtonField, q as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, F as Field, h as FieldAdmin, i as FieldType, G as GroupField, X as Hook, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, Y as ListField, M as MarkdownField, N as NumberField, r as PRIMITIVE_FIELD_TYPES, P as PasswordField, s as RELATIONAL_FIELD_TYPES, R as RadioField, j as RelationshipField, k as RichTextBlock, l as RichTextField, m as RowField, S as SelectField, T as TabsField, n as TextField, Z as TextFieldVariant, o as TextareaField, U as UploadField, V as ValidateOptions, _ as createRelationshipFieldConfig, t as isArrayField, u as isBlocksField, v as isGroupField, w as isImageField, x as isLayoutField, y as isNumberField, z as isRelationshipField, H as isRichTextField, K as isSelectField, O as isTextField, Q as isUploadField } from '../types-VtjUxIMp.cjs';
1
+ export { r as ALL_FIELD_TYPES, Y as ActionField, A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, Z as ButtonField, s as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, h as DeclarativeCondition, E as EmailField, F as Field, i as FieldAdmin, j as FieldType, G as GroupField, _ as Hook, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, $ as ListField, M as MarkdownField, N as NumberField, t as PRIMITIVE_FIELD_TYPES, P as PasswordField, u as RELATIONAL_FIELD_TYPES, R as RadioField, k as RelationshipField, l as RichTextBlock, m as RichTextField, n as RowField, S as SecretField, o as SelectField, T as TabsField, p as TextField, a0 as TextFieldVariant, q as TextareaField, U as UploadField, V as ValidateOptions, a1 as createRelationshipFieldConfig, v as isArrayField, w as isBlocksField, x as isGroupField, y as isImageField, z as isLayoutField, H as isNumberField, K as isRelationshipField, O as isRichTextField, Q as isSelectField, W as isTextField, X as isUploadField } from '../types-Z6FBiqa2.cjs';
2
2
 
3
- interface RichTextMark {
4
- type: string;
5
- attrs?: Record<string, unknown>;
6
- }
7
- interface RichTextNode {
8
- type?: string;
9
- attrs?: Record<string, unknown>;
10
- content?: RichTextNode[];
11
- text?: string;
12
- marks?: RichTextMark[];
13
- [key: string]: unknown;
14
- }
15
- interface RichTextDocument extends RichTextNode {
16
- type: "doc";
17
- content: RichTextNode[];
18
- }
19
3
  declare const richTextStyles: string;
20
- declare function createEmptyParagraphNode(): RichTextNode;
21
- declare function createColumnNode(content?: RichTextNode[]): RichTextNode;
22
- declare function createColumnsNode(columns?: number): RichTextNode;
23
- declare function normalizeRichTextDocument(value: unknown): RichTextDocument;
24
4
  declare function normalizeRichTextValue<T>(value: T): T;
25
5
  declare function renderRichText(value: unknown): string;
26
6
 
27
- export { type RichTextDocument, type RichTextMark, type RichTextNode, createColumnNode, createColumnsNode, createEmptyParagraphNode, normalizeRichTextDocument, normalizeRichTextValue, renderRichText, richTextStyles };
7
+ export { normalizeRichTextValue, renderRichText, richTextStyles };
@@ -1,27 +1,7 @@
1
- export { p as ALL_FIELD_TYPES, A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, W as ButtonField, q as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, E as EmailField, F as Field, h as FieldAdmin, i as FieldType, G as GroupField, X as Hook, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, Y as ListField, M as MarkdownField, N as NumberField, r as PRIMITIVE_FIELD_TYPES, P as PasswordField, s as RELATIONAL_FIELD_TYPES, R as RadioField, j as RelationshipField, k as RichTextBlock, l as RichTextField, m as RowField, S as SelectField, T as TabsField, n as TextField, Z as TextFieldVariant, o as TextareaField, U as UploadField, V as ValidateOptions, _ as createRelationshipFieldConfig, t as isArrayField, u as isBlocksField, v as isGroupField, w as isImageField, x as isLayoutField, y as isNumberField, z as isRelationshipField, H as isRichTextField, K as isSelectField, O as isTextField, Q as isUploadField } from '../types-VtjUxIMp.js';
1
+ export { r as ALL_FIELD_TYPES, Y as ActionField, A as ArrayField, B as BaseField, a as Block, b as BlockAdmin, c as BlockImage, d as BlocksField, Z as ButtonField, s as COMPLEX_FIELD_TYPES, C as CheckboxField, e as CodeField, f as CollapsibleField, g as ColorField, D as DateField, h as DeclarativeCondition, E as EmailField, F as Field, i as FieldAdmin, j as FieldType, G as GroupField, _ as Hook, I as ImageField, J as JSONField, L as LAYOUT_FIELD_TYPES, $ as ListField, M as MarkdownField, N as NumberField, t as PRIMITIVE_FIELD_TYPES, P as PasswordField, u as RELATIONAL_FIELD_TYPES, R as RadioField, k as RelationshipField, l as RichTextBlock, m as RichTextField, n as RowField, S as SecretField, o as SelectField, T as TabsField, p as TextField, a0 as TextFieldVariant, q as TextareaField, U as UploadField, V as ValidateOptions, a1 as createRelationshipFieldConfig, v as isArrayField, w as isBlocksField, x as isGroupField, y as isImageField, z as isLayoutField, H as isNumberField, K as isRelationshipField, O as isRichTextField, Q as isSelectField, W as isTextField, X as isUploadField } from '../types-Z6FBiqa2.js';
2
2
 
3
- interface RichTextMark {
4
- type: string;
5
- attrs?: Record<string, unknown>;
6
- }
7
- interface RichTextNode {
8
- type?: string;
9
- attrs?: Record<string, unknown>;
10
- content?: RichTextNode[];
11
- text?: string;
12
- marks?: RichTextMark[];
13
- [key: string]: unknown;
14
- }
15
- interface RichTextDocument extends RichTextNode {
16
- type: "doc";
17
- content: RichTextNode[];
18
- }
19
3
  declare const richTextStyles: string;
20
- declare function createEmptyParagraphNode(): RichTextNode;
21
- declare function createColumnNode(content?: RichTextNode[]): RichTextNode;
22
- declare function createColumnsNode(columns?: number): RichTextNode;
23
- declare function normalizeRichTextDocument(value: unknown): RichTextDocument;
24
4
  declare function normalizeRichTextValue<T>(value: T): T;
25
5
  declare function renderRichText(value: unknown): string;
26
6
 
27
- export { type RichTextDocument, type RichTextMark, type RichTextNode, createColumnNode, createColumnsNode, createEmptyParagraphNode, normalizeRichTextDocument, normalizeRichTextValue, renderRichText, richTextStyles };
7
+ export { normalizeRichTextValue, renderRichText, richTextStyles };
@@ -1,4 +1,4 @@
1
- export { ALL_FIELD_TYPES, COMPLEX_FIELD_TYPES, LAYOUT_FIELD_TYPES, PRIMITIVE_FIELD_TYPES, RELATIONAL_FIELD_TYPES, createColumnNode, createColumnsNode, createEmptyParagraphNode, createRelationshipFieldConfig, isArrayField, isBlocksField, isGroupField, isImageField, isLayoutField, isNumberField, isRelationshipField, isRichTextField, isSelectField, isTextField, isUploadField, normalizeRichTextDocument, normalizeRichTextValue, renderRichText, richTextStyles } from '../chunk-Q23JB3KL.js';
1
+ export { ALL_FIELD_TYPES, COMPLEX_FIELD_TYPES, LAYOUT_FIELD_TYPES, PRIMITIVE_FIELD_TYPES, RELATIONAL_FIELD_TYPES, createRelationshipFieldConfig, isArrayField, isBlocksField, isGroupField, isImageField, isLayoutField, isNumberField, isRelationshipField, isRichTextField, isSelectField, isTextField, isUploadField, normalizeRichTextValue, renderRichText, richTextStyles } from '../chunk-FAXU7BMP.js';
2
2
  import '../chunk-Z6ZWNWWR.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1,18 +1,19 @@
1
1
  'use strict';
2
2
 
3
- var chunkVJT6P4N6_cjs = require('../chunk-VJT6P4N6.cjs');
4
- require('../chunk-R3XIBBAW.cjs');
3
+ var chunk3HR772HI_cjs = require('../chunk-3HR772HI.cjs');
4
+ require('../chunk-4M7X5HAB.cjs');
5
+ require('../chunk-NKPKR5BW.cjs');
5
6
  require('../chunk-G7VZBCD6.cjs');
6
7
 
7
8
 
8
9
 
9
10
  Object.defineProperty(exports, "buildGraphQLSchema", {
10
11
  enumerable: true,
11
- get: function () { return chunkVJT6P4N6_cjs.buildGraphQLSchema; }
12
+ get: function () { return chunk3HR772HI_cjs.buildGraphQLSchema; }
12
13
  });
13
14
  Object.defineProperty(exports, "createGraphQLSchema", {
14
15
  enumerable: true,
15
- get: function () { return chunkVJT6P4N6_cjs.createGraphQLSchema; }
16
+ get: function () { return chunk3HR772HI_cjs.createGraphQLSchema; }
16
17
  });
17
18
  //# sourceMappingURL=index.cjs.map
18
19
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
1
  import { GraphQLSchema } from 'graphql';
2
- import { B as BaseAdapter, m as User, R as Request } from '../types-J3R9nVsZ.cjs';
3
- import { R as Registry } from '../index-DfO7G4kN.cjs';
4
- import '../types-VtjUxIMp.cjs';
2
+ import { B as BaseAdapter, m as User, R as Request } from '../types-DJxD9394.cjs';
3
+ import { R as Registry } from '../index-CaTNnLGd.cjs';
4
+ import '../types-Z6FBiqa2.cjs';
5
5
  import 'zod';
6
6
 
7
7
  interface GraphQLSchemaOptions {
@@ -10,6 +10,7 @@ interface GraphQLSchemaOptions {
10
10
  user?: User;
11
11
  req?: Request;
12
12
  tenantID?: string;
13
+ apiKey?: any;
13
14
  settings?: Record<string, any>;
14
15
  }
15
16
  declare function buildGraphQLSchema(options: GraphQLSchemaOptions): GraphQLSchema;
@@ -17,6 +18,7 @@ declare function createGraphQLSchema(registry: Registry, db: BaseAdapter, option
17
18
  user?: User;
18
19
  req?: Request;
19
20
  tenantID?: string;
21
+ apiKey?: any;
20
22
  }): GraphQLSchema;
21
23
 
22
24
  export { type GraphQLSchemaOptions, buildGraphQLSchema, createGraphQLSchema };
@@ -1,7 +1,7 @@
1
1
  import { GraphQLSchema } from 'graphql';
2
- import { B as BaseAdapter, m as User, R as Request } from '../types-Bs1up4yP.js';
3
- import { R as Registry } from '../index-CLp-DRKA.js';
4
- import '../types-VtjUxIMp.js';
2
+ import { B as BaseAdapter, m as User, R as Request } from '../types-CyCQ6SAI.js';
3
+ import { R as Registry } from '../index-CJXPB_ot.js';
4
+ import '../types-Z6FBiqa2.js';
5
5
  import 'zod';
6
6
 
7
7
  interface GraphQLSchemaOptions {
@@ -10,6 +10,7 @@ interface GraphQLSchemaOptions {
10
10
  user?: User;
11
11
  req?: Request;
12
12
  tenantID?: string;
13
+ apiKey?: any;
13
14
  settings?: Record<string, any>;
14
15
  }
15
16
  declare function buildGraphQLSchema(options: GraphQLSchemaOptions): GraphQLSchema;
@@ -17,6 +18,7 @@ declare function createGraphQLSchema(registry: Registry, db: BaseAdapter, option
17
18
  user?: User;
18
19
  req?: Request;
19
20
  tenantID?: string;
21
+ apiKey?: any;
20
22
  }): GraphQLSchema;
21
23
 
22
24
  export { type GraphQLSchemaOptions, buildGraphQLSchema, createGraphQLSchema };
@@ -1,5 +1,6 @@
1
- export { buildGraphQLSchema, createGraphQLSchema } from '../chunk-REK7AYOC.js';
2
- import '../chunk-SDMNUYVU.js';
1
+ export { buildGraphQLSchema, createGraphQLSchema } from '../chunk-L5UKKZQN.js';
2
+ import '../chunk-CJONKRHJ.js';
3
+ import '../chunk-L4EZKIEX.js';
3
4
  import '../chunk-Z6ZWNWWR.js';
4
5
  //# sourceMappingURL=index.js.map
5
6
  //# sourceMappingURL=index.js.map