@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
@@ -1,105 +1,207 @@
1
1
  'use strict';
2
2
 
3
- var chunk6IMPH6WV_cjs = require('../chunk-6IMPH6WV.cjs');
3
+ var chunkDEVFAKCQ_cjs = require('../chunk-DEVFAKCQ.cjs');
4
+ var chunk3KTWGODI_cjs = require('../chunk-3KTWGODI.cjs');
5
+ var chunkKC2GDBLS_cjs = require('../chunk-KC2GDBLS.cjs');
4
6
  require('../chunk-G7VZBCD6.cjs');
5
7
 
6
8
 
7
9
 
8
10
  Object.defineProperty(exports, "accessSettingsGlobal", {
9
11
  enumerable: true,
10
- get: function () { return chunk6IMPH6WV_cjs.accessSettingsGlobal; }
12
+ get: function () { return chunkDEVFAKCQ_cjs.accessSettingsGlobal; }
11
13
  });
12
14
  Object.defineProperty(exports, "allSettingsGlobals", {
13
15
  enumerable: true,
14
- get: function () { return chunk6IMPH6WV_cjs.allSettingsGlobals; }
15
- });
16
- Object.defineProperty(exports, "authCollections", {
17
- enumerable: true,
18
- get: function () { return chunk6IMPH6WV_cjs.authCollections; }
16
+ get: function () { return chunkDEVFAKCQ_cjs.allSettingsGlobals; }
19
17
  });
20
18
  Object.defineProperty(exports, "blogCollections", {
21
19
  enumerable: true,
22
- get: function () { return chunk6IMPH6WV_cjs.blogCollections; }
20
+ get: function () { return chunkDEVFAKCQ_cjs.blogCollections; }
23
21
  });
24
22
  Object.defineProperty(exports, "blogGlobals", {
25
23
  enumerable: true,
26
- get: function () { return chunk6IMPH6WV_cjs.blogGlobals; }
24
+ get: function () { return chunkDEVFAKCQ_cjs.blogGlobals; }
25
+ });
26
+ Object.defineProperty(exports, "categoriesCollection", {
27
+ enumerable: true,
28
+ get: function () { return chunkDEVFAKCQ_cjs.categoriesCollection; }
29
+ });
30
+ Object.defineProperty(exports, "categoriesCollections", {
31
+ enumerable: true,
32
+ get: function () { return chunkDEVFAKCQ_cjs.categoriesCollections; }
27
33
  });
28
34
  Object.defineProperty(exports, "coreSettingsGlobals", {
29
35
  enumerable: true,
30
- get: function () { return chunk6IMPH6WV_cjs.coreSettingsGlobals; }
36
+ get: function () { return chunkDEVFAKCQ_cjs.coreSettingsGlobals; }
37
+ });
38
+ Object.defineProperty(exports, "couponsCollection", {
39
+ enumerable: true,
40
+ get: function () { return chunkDEVFAKCQ_cjs.couponsCollection; }
41
+ });
42
+ Object.defineProperty(exports, "couponsCollections", {
43
+ enumerable: true,
44
+ get: function () { return chunkDEVFAKCQ_cjs.couponsCollections; }
31
45
  });
32
46
  Object.defineProperty(exports, "createTemplateConfig", {
33
47
  enumerable: true,
34
- get: function () { return chunk6IMPH6WV_cjs.createTemplateConfig; }
48
+ get: function () { return chunkDEVFAKCQ_cjs.createTemplateConfig; }
49
+ });
50
+ Object.defineProperty(exports, "customersCollection", {
51
+ enumerable: true,
52
+ get: function () { return chunkDEVFAKCQ_cjs.customersCollection; }
53
+ });
54
+ Object.defineProperty(exports, "customersCollections", {
55
+ enumerable: true,
56
+ get: function () { return chunkDEVFAKCQ_cjs.customersCollections; }
35
57
  });
36
58
  Object.defineProperty(exports, "ecommerceCollections", {
37
59
  enumerable: true,
38
- get: function () { return chunk6IMPH6WV_cjs.ecommerceCollections; }
60
+ get: function () { return chunkDEVFAKCQ_cjs.ecommerceCollections; }
39
61
  });
40
62
  Object.defineProperty(exports, "ecommerceGlobals", {
41
63
  enumerable: true,
42
- get: function () { return chunk6IMPH6WV_cjs.ecommerceGlobals; }
64
+ get: function () { return chunkDEVFAKCQ_cjs.ecommerceGlobals; }
43
65
  });
44
66
  Object.defineProperty(exports, "emailSettingsGlobal", {
45
67
  enumerable: true,
46
- get: function () { return chunk6IMPH6WV_cjs.emailSettingsGlobal; }
68
+ get: function () { return chunkDEVFAKCQ_cjs.emailSettingsGlobal; }
69
+ });
70
+ Object.defineProperty(exports, "footerSettingsGlobal", {
71
+ enumerable: true,
72
+ get: function () { return chunkDEVFAKCQ_cjs.footerSettingsGlobal; }
73
+ });
74
+ Object.defineProperty(exports, "formEntriesCollection", {
75
+ enumerable: true,
76
+ get: function () { return chunkDEVFAKCQ_cjs.formEntriesCollection; }
77
+ });
78
+ Object.defineProperty(exports, "formEntriesCollections", {
79
+ enumerable: true,
80
+ get: function () { return chunkDEVFAKCQ_cjs.formEntriesCollections; }
81
+ });
82
+ Object.defineProperty(exports, "formsCollection", {
83
+ enumerable: true,
84
+ get: function () { return chunkDEVFAKCQ_cjs.formsCollection; }
85
+ });
86
+ Object.defineProperty(exports, "formsCollections", {
87
+ enumerable: true,
88
+ get: function () { return chunkDEVFAKCQ_cjs.formsCollections; }
47
89
  });
48
90
  Object.defineProperty(exports, "getSettingsForTemplate", {
49
91
  enumerable: true,
50
- get: function () { return chunk6IMPH6WV_cjs.getSettingsForTemplate; }
92
+ get: function () { return chunkDEVFAKCQ_cjs.getSettingsForTemplate; }
93
+ });
94
+ Object.defineProperty(exports, "headerSettingsGlobal", {
95
+ enumerable: true,
96
+ get: function () { return chunkDEVFAKCQ_cjs.headerSettingsGlobal; }
51
97
  });
52
98
  Object.defineProperty(exports, "kitchenSinkCollections", {
53
99
  enumerable: true,
54
- get: function () { return chunk6IMPH6WV_cjs.kitchenSinkCollections; }
100
+ get: function () { return chunkDEVFAKCQ_cjs.kitchenSinkCollections; }
55
101
  });
56
102
  Object.defineProperty(exports, "mediaCollection", {
57
103
  enumerable: true,
58
- get: function () { return chunk6IMPH6WV_cjs.mediaCollection; }
104
+ get: function () { return chunkDEVFAKCQ_cjs.mediaCollection; }
59
105
  });
60
106
  Object.defineProperty(exports, "mediaCollections", {
61
107
  enumerable: true,
62
- get: function () { return chunk6IMPH6WV_cjs.mediaCollections; }
108
+ get: function () { return chunkDEVFAKCQ_cjs.mediaCollections; }
109
+ });
110
+ Object.defineProperty(exports, "menuCollection", {
111
+ enumerable: true,
112
+ get: function () { return chunkDEVFAKCQ_cjs.menuCollection; }
113
+ });
114
+ Object.defineProperty(exports, "menuCollections", {
115
+ enumerable: true,
116
+ get: function () { return chunkDEVFAKCQ_cjs.menuCollections; }
63
117
  });
64
118
  Object.defineProperty(exports, "minimalCollections", {
65
119
  enumerable: true,
66
- get: function () { return chunk6IMPH6WV_cjs.minimalCollections; }
120
+ get: function () { return chunkDEVFAKCQ_cjs.minimalCollections; }
121
+ });
122
+ Object.defineProperty(exports, "ordersCollection", {
123
+ enumerable: true,
124
+ get: function () { return chunkDEVFAKCQ_cjs.ordersCollection; }
125
+ });
126
+ Object.defineProperty(exports, "ordersCollections", {
127
+ enumerable: true,
128
+ get: function () { return chunkDEVFAKCQ_cjs.ordersCollections; }
129
+ });
130
+ Object.defineProperty(exports, "pageCollection", {
131
+ enumerable: true,
132
+ get: function () { return chunkDEVFAKCQ_cjs.pageCollection; }
133
+ });
134
+ Object.defineProperty(exports, "pageCollections", {
135
+ enumerable: true,
136
+ get: function () { return chunkDEVFAKCQ_cjs.pageCollections; }
67
137
  });
68
138
  Object.defineProperty(exports, "paymentSettingsGlobal", {
69
139
  enumerable: true,
70
- get: function () { return chunk6IMPH6WV_cjs.paymentSettingsGlobal; }
140
+ get: function () { return chunkDEVFAKCQ_cjs.paymentSettingsGlobal; }
141
+ });
142
+ Object.defineProperty(exports, "postsCollection", {
143
+ enumerable: true,
144
+ get: function () { return chunkDEVFAKCQ_cjs.postsCollection; }
145
+ });
146
+ Object.defineProperty(exports, "postsCollections", {
147
+ enumerable: true,
148
+ get: function () { return chunkDEVFAKCQ_cjs.postsCollections; }
149
+ });
150
+ Object.defineProperty(exports, "productCategoriesCollection", {
151
+ enumerable: true,
152
+ get: function () { return chunkDEVFAKCQ_cjs.productCategoriesCollection; }
153
+ });
154
+ Object.defineProperty(exports, "productCategoriesCollections", {
155
+ enumerable: true,
156
+ get: function () { return chunkDEVFAKCQ_cjs.productCategoriesCollections; }
157
+ });
158
+ Object.defineProperty(exports, "productsCollection", {
159
+ enumerable: true,
160
+ get: function () { return chunkDEVFAKCQ_cjs.productsCollection; }
161
+ });
162
+ Object.defineProperty(exports, "productsCollections", {
163
+ enumerable: true,
164
+ get: function () { return chunkDEVFAKCQ_cjs.productsCollections; }
71
165
  });
72
166
  Object.defineProperty(exports, "seoSettingsGlobal", {
73
167
  enumerable: true,
74
- get: function () { return chunk6IMPH6WV_cjs.seoSettingsGlobal; }
168
+ get: function () { return chunkDEVFAKCQ_cjs.seoSettingsGlobal; }
75
169
  });
76
170
  Object.defineProperty(exports, "settingsBySlug", {
77
171
  enumerable: true,
78
- get: function () { return chunk6IMPH6WV_cjs.settingsBySlug; }
172
+ get: function () { return chunkDEVFAKCQ_cjs.settingsBySlug; }
79
173
  });
80
174
  Object.defineProperty(exports, "siteSettingsGlobal", {
81
175
  enumerable: true,
82
- get: function () { return chunk6IMPH6WV_cjs.siteSettingsGlobal; }
176
+ get: function () { return chunkDEVFAKCQ_cjs.siteSettingsGlobal; }
83
177
  });
84
178
  Object.defineProperty(exports, "socialSettingsGlobal", {
85
179
  enumerable: true,
86
- get: function () { return chunk6IMPH6WV_cjs.socialSettingsGlobal; }
180
+ get: function () { return chunkDEVFAKCQ_cjs.socialSettingsGlobal; }
87
181
  });
88
182
  Object.defineProperty(exports, "starterCollections", {
89
183
  enumerable: true,
90
- get: function () { return chunk6IMPH6WV_cjs.starterCollections; }
91
- });
92
- Object.defineProperty(exports, "storageSettingsGlobal", {
93
- enumerable: true,
94
- get: function () { return chunk6IMPH6WV_cjs.storageSettingsGlobal; }
184
+ get: function () { return chunkDEVFAKCQ_cjs.starterCollections; }
95
185
  });
96
186
  Object.defineProperty(exports, "storeSettingsGlobal", {
97
187
  enumerable: true,
98
- get: function () { return chunk6IMPH6WV_cjs.storeSettingsGlobal; }
188
+ get: function () { return chunkDEVFAKCQ_cjs.storeSettingsGlobal; }
99
189
  });
100
190
  Object.defineProperty(exports, "systemSettingsGlobal", {
101
191
  enumerable: true,
102
- get: function () { return chunk6IMPH6WV_cjs.systemSettingsGlobal; }
192
+ get: function () { return chunkDEVFAKCQ_cjs.systemSettingsGlobal; }
193
+ });
194
+ Object.defineProperty(exports, "templateCollections", {
195
+ enumerable: true,
196
+ get: function () { return chunkDEVFAKCQ_cjs.templateCollections; }
197
+ });
198
+ Object.defineProperty(exports, "storageSettingsGlobal", {
199
+ enumerable: true,
200
+ get: function () { return chunk3KTWGODI_cjs.storageSettingsGlobal; }
201
+ });
202
+ Object.defineProperty(exports, "authCollections", {
203
+ enumerable: true,
204
+ get: function () { return chunkKC2GDBLS_cjs.authCollections; }
103
205
  });
104
206
  //# sourceMappingURL=index.cjs.map
105
207
  //# sourceMappingURL=index.cjs.map
@@ -1,14 +1,14 @@
1
- import { C as CollectionConfig, G as GlobalConfig } from '../types-J3R9nVsZ.cjs';
2
- import '../types-VtjUxIMp.cjs';
1
+ import { G as GlobalConfig, C as CollectionConfig } from '../types-DJxD9394.cjs';
2
+ import '../types-Z6FBiqa2.cjs';
3
3
 
4
- declare const minimalCollections: Record<string, CollectionConfig>;
4
+ declare const minimalCollections: Record<string, any>;
5
5
 
6
- declare const starterCollections: Record<string, CollectionConfig>;
6
+ declare const starterCollections: Record<string, any>;
7
7
 
8
- declare const blogCollections: Record<string, CollectionConfig>;
8
+ declare const blogCollections: Record<string, any>;
9
9
  declare const blogGlobals: GlobalConfig[];
10
10
 
11
- declare const ecommerceCollections: Record<string, CollectionConfig>;
11
+ declare const ecommerceCollections: Record<string, any>;
12
12
  declare const ecommerceGlobals: GlobalConfig[];
13
13
 
14
14
  declare const kitchenSinkCollections: Record<string, CollectionConfig>;
@@ -21,6 +21,38 @@ declare const authCollections: {
21
21
  declare const mediaCollection: CollectionConfig;
22
22
  declare const mediaCollections: CollectionConfig[];
23
23
 
24
+ declare const menuCollection: CollectionConfig;
25
+ declare const menuCollections: Record<string, CollectionConfig>;
26
+
27
+ declare const postsCollection: CollectionConfig;
28
+ declare const postsCollections: Record<string, CollectionConfig>;
29
+
30
+ declare const pageCollection: CollectionConfig;
31
+ declare const pageCollections: Record<string, CollectionConfig>;
32
+
33
+ declare const categoriesCollection: CollectionConfig;
34
+ declare const categoriesCollections: Record<string, CollectionConfig>;
35
+ declare const productCategoriesCollection: CollectionConfig;
36
+ declare const productCategoriesCollections: Record<string, CollectionConfig>;
37
+
38
+ declare const productsCollection: CollectionConfig;
39
+ declare const productsCollections: Record<string, CollectionConfig>;
40
+
41
+ declare const customersCollection: CollectionConfig;
42
+ declare const customersCollections: Record<string, CollectionConfig>;
43
+
44
+ declare const ordersCollection: CollectionConfig;
45
+ declare const ordersCollections: Record<string, CollectionConfig>;
46
+
47
+ declare const couponsCollection: CollectionConfig;
48
+ declare const couponsCollections: Record<string, CollectionConfig>;
49
+
50
+ declare const formsCollection: CollectionConfig;
51
+ declare const formsCollections: Record<string, CollectionConfig>;
52
+
53
+ declare const formEntriesCollection: CollectionConfig;
54
+ declare const formEntriesCollections: Record<string, CollectionConfig>;
55
+
24
56
  declare const siteSettingsGlobal: GlobalConfig;
25
57
 
26
58
  declare const seoSettingsGlobal: GlobalConfig;
@@ -29,8 +61,6 @@ declare const socialSettingsGlobal: GlobalConfig;
29
61
 
30
62
  declare const emailSettingsGlobal: GlobalConfig;
31
63
 
32
- declare const storageSettingsGlobal: GlobalConfig;
33
-
34
64
  declare const accessSettingsGlobal: GlobalConfig;
35
65
 
36
66
  declare const storeSettingsGlobal: GlobalConfig;
@@ -39,11 +69,24 @@ declare const paymentSettingsGlobal: GlobalConfig;
39
69
 
40
70
  declare const systemSettingsGlobal: GlobalConfig;
41
71
 
72
+ declare const storageSettingsGlobal: GlobalConfig;
73
+
74
+ declare const headerSettingsGlobal: GlobalConfig;
75
+
76
+ declare const footerSettingsGlobal: GlobalConfig;
77
+
42
78
  declare const allSettingsGlobals: GlobalConfig[];
43
79
  declare const coreSettingsGlobals: GlobalConfig[];
44
80
  declare const settingsBySlug: Record<string, GlobalConfig>;
45
81
  declare function getSettingsForTemplate(template: "minimal" | "starter" | "blog" | "ecommerce" | "kitchen-sink"): GlobalConfig[];
46
82
 
83
+ declare const templateCollections: {
84
+ readonly minimal: CollectionConfig[];
85
+ readonly starter: CollectionConfig[];
86
+ readonly blog: CollectionConfig[];
87
+ readonly ecommerce: CollectionConfig[];
88
+ readonly "kitchen-sink": CollectionConfig[];
89
+ };
47
90
  interface TemplateConfig {
48
91
  collections?: CollectionConfig[];
49
92
  globals?: GlobalConfig[];
@@ -59,4 +102,4 @@ interface CreateTemplateConfigOptions extends TemplateConfig {
59
102
  }
60
103
  declare function createTemplateConfig(options: CreateTemplateConfigOptions): TemplateConfig;
61
104
 
62
- export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, starterCollections, storageSettingsGlobal, storeSettingsGlobal, systemSettingsGlobal };
105
+ export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, categoriesCollection, categoriesCollections, coreSettingsGlobals, couponsCollection, couponsCollections, createTemplateConfig, customersCollection, customersCollections, ecommerceCollections, ecommerceGlobals, emailSettingsGlobal, footerSettingsGlobal, formEntriesCollection, formEntriesCollections, formsCollection, formsCollections, getSettingsForTemplate, headerSettingsGlobal, kitchenSinkCollections, mediaCollection, mediaCollections, menuCollection, menuCollections, minimalCollections, ordersCollection, ordersCollections, pageCollection, pageCollections, paymentSettingsGlobal, postsCollection, postsCollections, productCategoriesCollection, productCategoriesCollections, productsCollection, productsCollections, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, starterCollections, storageSettingsGlobal, storeSettingsGlobal, systemSettingsGlobal, templateCollections };
@@ -1,14 +1,14 @@
1
- import { C as CollectionConfig, G as GlobalConfig } from '../types-Bs1up4yP.js';
2
- import '../types-VtjUxIMp.js';
1
+ import { G as GlobalConfig, C as CollectionConfig } from '../types-CyCQ6SAI.js';
2
+ import '../types-Z6FBiqa2.js';
3
3
 
4
- declare const minimalCollections: Record<string, CollectionConfig>;
4
+ declare const minimalCollections: Record<string, any>;
5
5
 
6
- declare const starterCollections: Record<string, CollectionConfig>;
6
+ declare const starterCollections: Record<string, any>;
7
7
 
8
- declare const blogCollections: Record<string, CollectionConfig>;
8
+ declare const blogCollections: Record<string, any>;
9
9
  declare const blogGlobals: GlobalConfig[];
10
10
 
11
- declare const ecommerceCollections: Record<string, CollectionConfig>;
11
+ declare const ecommerceCollections: Record<string, any>;
12
12
  declare const ecommerceGlobals: GlobalConfig[];
13
13
 
14
14
  declare const kitchenSinkCollections: Record<string, CollectionConfig>;
@@ -21,6 +21,38 @@ declare const authCollections: {
21
21
  declare const mediaCollection: CollectionConfig;
22
22
  declare const mediaCollections: CollectionConfig[];
23
23
 
24
+ declare const menuCollection: CollectionConfig;
25
+ declare const menuCollections: Record<string, CollectionConfig>;
26
+
27
+ declare const postsCollection: CollectionConfig;
28
+ declare const postsCollections: Record<string, CollectionConfig>;
29
+
30
+ declare const pageCollection: CollectionConfig;
31
+ declare const pageCollections: Record<string, CollectionConfig>;
32
+
33
+ declare const categoriesCollection: CollectionConfig;
34
+ declare const categoriesCollections: Record<string, CollectionConfig>;
35
+ declare const productCategoriesCollection: CollectionConfig;
36
+ declare const productCategoriesCollections: Record<string, CollectionConfig>;
37
+
38
+ declare const productsCollection: CollectionConfig;
39
+ declare const productsCollections: Record<string, CollectionConfig>;
40
+
41
+ declare const customersCollection: CollectionConfig;
42
+ declare const customersCollections: Record<string, CollectionConfig>;
43
+
44
+ declare const ordersCollection: CollectionConfig;
45
+ declare const ordersCollections: Record<string, CollectionConfig>;
46
+
47
+ declare const couponsCollection: CollectionConfig;
48
+ declare const couponsCollections: Record<string, CollectionConfig>;
49
+
50
+ declare const formsCollection: CollectionConfig;
51
+ declare const formsCollections: Record<string, CollectionConfig>;
52
+
53
+ declare const formEntriesCollection: CollectionConfig;
54
+ declare const formEntriesCollections: Record<string, CollectionConfig>;
55
+
24
56
  declare const siteSettingsGlobal: GlobalConfig;
25
57
 
26
58
  declare const seoSettingsGlobal: GlobalConfig;
@@ -29,8 +61,6 @@ declare const socialSettingsGlobal: GlobalConfig;
29
61
 
30
62
  declare const emailSettingsGlobal: GlobalConfig;
31
63
 
32
- declare const storageSettingsGlobal: GlobalConfig;
33
-
34
64
  declare const accessSettingsGlobal: GlobalConfig;
35
65
 
36
66
  declare const storeSettingsGlobal: GlobalConfig;
@@ -39,11 +69,24 @@ declare const paymentSettingsGlobal: GlobalConfig;
39
69
 
40
70
  declare const systemSettingsGlobal: GlobalConfig;
41
71
 
72
+ declare const storageSettingsGlobal: GlobalConfig;
73
+
74
+ declare const headerSettingsGlobal: GlobalConfig;
75
+
76
+ declare const footerSettingsGlobal: GlobalConfig;
77
+
42
78
  declare const allSettingsGlobals: GlobalConfig[];
43
79
  declare const coreSettingsGlobals: GlobalConfig[];
44
80
  declare const settingsBySlug: Record<string, GlobalConfig>;
45
81
  declare function getSettingsForTemplate(template: "minimal" | "starter" | "blog" | "ecommerce" | "kitchen-sink"): GlobalConfig[];
46
82
 
83
+ declare const templateCollections: {
84
+ readonly minimal: CollectionConfig[];
85
+ readonly starter: CollectionConfig[];
86
+ readonly blog: CollectionConfig[];
87
+ readonly ecommerce: CollectionConfig[];
88
+ readonly "kitchen-sink": CollectionConfig[];
89
+ };
47
90
  interface TemplateConfig {
48
91
  collections?: CollectionConfig[];
49
92
  globals?: GlobalConfig[];
@@ -59,4 +102,4 @@ interface CreateTemplateConfigOptions extends TemplateConfig {
59
102
  }
60
103
  declare function createTemplateConfig(options: CreateTemplateConfigOptions): TemplateConfig;
61
104
 
62
- export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, starterCollections, storageSettingsGlobal, storeSettingsGlobal, systemSettingsGlobal };
105
+ export { type CreateTemplateConfigOptions, type TemplateConfig, type TemplateType, accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, categoriesCollection, categoriesCollections, coreSettingsGlobals, couponsCollection, couponsCollections, createTemplateConfig, customersCollection, customersCollections, ecommerceCollections, ecommerceGlobals, emailSettingsGlobal, footerSettingsGlobal, formEntriesCollection, formEntriesCollections, formsCollection, formsCollections, getSettingsForTemplate, headerSettingsGlobal, kitchenSinkCollections, mediaCollection, mediaCollections, menuCollection, menuCollections, minimalCollections, ordersCollection, ordersCollections, pageCollection, pageCollections, paymentSettingsGlobal, postsCollection, postsCollections, productCategoriesCollection, productCategoriesCollections, productsCollection, productsCollections, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, starterCollections, storageSettingsGlobal, storeSettingsGlobal, systemSettingsGlobal, templateCollections };
@@ -1,4 +1,6 @@
1
- export { accessSettingsGlobal, allSettingsGlobals, authCollections, blogCollections, blogGlobals, coreSettingsGlobals, createTemplateConfig, ecommerceCollections, ecommerceGlobals, emailSettingsGlobal, getSettingsForTemplate, kitchenSinkCollections, mediaCollection, mediaCollections, minimalCollections, paymentSettingsGlobal, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, starterCollections, storageSettingsGlobal, storeSettingsGlobal, systemSettingsGlobal } from '../chunk-3J4MFTI3.js';
1
+ export { accessSettingsGlobal, allSettingsGlobals, blogCollections, blogGlobals, categoriesCollection, categoriesCollections, coreSettingsGlobals, couponsCollection, couponsCollections, createTemplateConfig, customersCollection, customersCollections, ecommerceCollections, ecommerceGlobals, emailSettingsGlobal, footerSettingsGlobal, formEntriesCollection, formEntriesCollections, formsCollection, formsCollections, getSettingsForTemplate, headerSettingsGlobal, kitchenSinkCollections, mediaCollection, mediaCollections, menuCollection, menuCollections, minimalCollections, ordersCollection, ordersCollections, pageCollection, pageCollections, paymentSettingsGlobal, postsCollection, postsCollections, productCategoriesCollection, productCategoriesCollections, productsCollection, productsCollections, seoSettingsGlobal, settingsBySlug, siteSettingsGlobal, socialSettingsGlobal, starterCollections, storeSettingsGlobal, systemSettingsGlobal, templateCollections } from '../chunk-5EPFQUQD.js';
2
+ export { storageSettingsGlobal } from '../chunk-GAOXD3XT.js';
3
+ export { authCollections } from '../chunk-XEB7PH2E.js';
2
4
  import '../chunk-Z6ZWNWWR.js';
3
5
  //# sourceMappingURL=index.js.map
4
6
  //# sourceMappingURL=index.js.map
@@ -1,47 +1,48 @@
1
1
  'use strict';
2
2
 
3
- var chunkK7JPTH3G_cjs = require('../chunk-K7JPTH3G.cjs');
4
- require('../chunk-IBG6V56E.cjs');
5
- require('../chunk-R3XIBBAW.cjs');
3
+ var chunkKNRSROWB_cjs = require('../chunk-KNRSROWB.cjs');
4
+ require('../chunk-QFLB4EIJ.cjs');
5
+ require('../chunk-4M7X5HAB.cjs');
6
+ require('../chunk-NKPKR5BW.cjs');
6
7
  require('../chunk-G7VZBCD6.cjs');
7
8
 
8
9
 
9
10
 
10
11
  Object.defineProperty(exports, "createContext", {
11
12
  enumerable: true,
12
- get: function () { return chunkK7JPTH3G_cjs.createContext; }
13
+ get: function () { return chunkKNRSROWB_cjs.createContext; }
13
14
  });
14
15
  Object.defineProperty(exports, "createCountProcedure", {
15
16
  enumerable: true,
16
- get: function () { return chunkK7JPTH3G_cjs.createCountProcedure; }
17
+ get: function () { return chunkKNRSROWB_cjs.createCountProcedure; }
17
18
  });
18
19
  Object.defineProperty(exports, "createCreateProcedure", {
19
20
  enumerable: true,
20
- get: function () { return chunkK7JPTH3G_cjs.createCreateProcedure; }
21
+ get: function () { return chunkKNRSROWB_cjs.createCreateProcedure; }
21
22
  });
22
23
  Object.defineProperty(exports, "createDeleteProcedure", {
23
24
  enumerable: true,
24
- get: function () { return chunkK7JPTH3G_cjs.createDeleteProcedure; }
25
+ get: function () { return chunkKNRSROWB_cjs.createDeleteProcedure; }
25
26
  });
26
27
  Object.defineProperty(exports, "createDynamicRouter", {
27
28
  enumerable: true,
28
- get: function () { return chunkK7JPTH3G_cjs.createDynamicRouter; }
29
+ get: function () { return chunkKNRSROWB_cjs.createDynamicRouter; }
29
30
  });
30
31
  Object.defineProperty(exports, "createFindByIDProcedure", {
31
32
  enumerable: true,
32
- get: function () { return chunkK7JPTH3G_cjs.createFindByIDProcedure; }
33
+ get: function () { return chunkKNRSROWB_cjs.createFindByIDProcedure; }
33
34
  });
34
35
  Object.defineProperty(exports, "createFindProcedure", {
35
36
  enumerable: true,
36
- get: function () { return chunkK7JPTH3G_cjs.createFindProcedure; }
37
+ get: function () { return chunkKNRSROWB_cjs.createFindProcedure; }
37
38
  });
38
39
  Object.defineProperty(exports, "createKyroServer", {
39
40
  enumerable: true,
40
- get: function () { return chunkK7JPTH3G_cjs.createKyroServer; }
41
+ get: function () { return chunkKNRSROWB_cjs.createKyroServer; }
41
42
  });
42
43
  Object.defineProperty(exports, "createUpdateProcedure", {
43
44
  enumerable: true,
44
- get: function () { return chunkK7JPTH3G_cjs.createUpdateProcedure; }
45
+ get: function () { return chunkKNRSROWB_cjs.createUpdateProcedure; }
45
46
  });
46
47
  //# sourceMappingURL=index.cjs.map
47
48
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,6 @@
1
- import { B as BaseAdapter, R as Request, m as User, b as FindResult } from '../types-J3R9nVsZ.cjs';
2
- import { i as createWebhookService } from '../WebhookService-AefJfqX0.cjs';
3
- import '../types-VtjUxIMp.cjs';
1
+ import { B as BaseAdapter, R as Request, m as User, b as FindResult } from '../types-DJxD9394.cjs';
2
+ import { i as createWebhookService } from '../WebhookService-Yg2UEOB4.cjs';
3
+ import '../types-Z6FBiqa2.cjs';
4
4
 
5
5
  interface ApiKeyContext {
6
6
  userId: string;
@@ -30,6 +30,55 @@ declare function createContext(options: {
30
30
  settings?: Record<string, any>;
31
31
  }): Promise<KyroContext>;
32
32
 
33
+ declare function createFindProcedure(ctx: KyroContext): (input: {
34
+ collection: string;
35
+ where?: Record<string, any>;
36
+ sort?: string;
37
+ limit?: number;
38
+ page?: number;
39
+ depth?: number;
40
+ select?: string[];
41
+ draft?: boolean;
42
+ }) => Promise<FindResult<unknown>>;
43
+ declare function createFindByIDProcedure(ctx: KyroContext): (input: {
44
+ collection: string;
45
+ id: string;
46
+ depth?: number;
47
+ select?: string[];
48
+ draft?: boolean;
49
+ }) => Promise<{}>;
50
+ declare function createCreateProcedure(ctx: KyroContext): (input: {
51
+ collection: string;
52
+ data: Record<string, any>;
53
+ depth?: number;
54
+ select?: string[];
55
+ }) => Promise<{
56
+ doc: unknown;
57
+ }>;
58
+ declare function createUpdateProcedure(ctx: KyroContext): (input: {
59
+ collection: string;
60
+ id: string;
61
+ data: Record<string, any>;
62
+ depth?: number;
63
+ select?: string[];
64
+ baseUpdatedAt?: string;
65
+ }) => Promise<{
66
+ doc: unknown;
67
+ }>;
68
+ declare function createDeleteProcedure(ctx: KyroContext): (input: {
69
+ collection: string;
70
+ id: string;
71
+ }) => Promise<{
72
+ doc: unknown;
73
+ message: string;
74
+ }>;
75
+ declare function createCountProcedure(ctx: KyroContext): (input: {
76
+ collection: string;
77
+ where?: Record<string, any>;
78
+ }) => Promise<{
79
+ totalDocs: number;
80
+ }>;
81
+
33
82
  declare function createDynamicRouter(ctx: KyroContext): Record<string, any>;
34
83
  interface KyroRouter {
35
84
  [collectionSlug: string]: {
@@ -40,6 +89,7 @@ interface KyroRouter {
40
89
  page?: number;
41
90
  depth?: number;
42
91
  select?: string[];
92
+ draft?: boolean;
43
93
  }) => Promise<{
44
94
  docs: any[];
45
95
  totalDocs: number;
@@ -56,6 +106,7 @@ interface KyroRouter {
56
106
  id: string;
57
107
  depth?: number;
58
108
  select?: string[];
109
+ draft?: boolean;
59
110
  }) => Promise<any>;
60
111
  create: (input: {
61
112
  data: Record<string, any>;
@@ -69,6 +120,7 @@ interface KyroRouter {
69
120
  data: Record<string, any>;
70
121
  depth?: number;
71
122
  select?: string[];
123
+ baseUpdatedAt?: string;
72
124
  }) => Promise<{
73
125
  doc: any;
74
126
  }>;
@@ -87,50 +139,4 @@ interface KyroRouter {
87
139
  }
88
140
  declare function createKyroServer(ctx: KyroContext): KyroRouter;
89
141
 
90
- declare function createFindProcedure(ctx: KyroContext): (input: {
91
- collection: string;
92
- where?: Record<string, any>;
93
- sort?: string;
94
- limit?: number;
95
- page?: number;
96
- depth?: number;
97
- select?: string[];
98
- }) => Promise<FindResult<unknown>>;
99
- declare function createFindByIDProcedure(ctx: KyroContext): (input: {
100
- collection: string;
101
- id: string;
102
- depth?: number;
103
- select?: string[];
104
- }) => Promise<{}>;
105
- declare function createCreateProcedure(ctx: KyroContext): (input: {
106
- collection: string;
107
- data: Record<string, any>;
108
- depth?: number;
109
- select?: string[];
110
- }) => Promise<{
111
- doc: unknown;
112
- }>;
113
- declare function createUpdateProcedure(ctx: KyroContext): (input: {
114
- collection: string;
115
- id: string;
116
- data: Record<string, any>;
117
- depth?: number;
118
- select?: string[];
119
- }) => Promise<{
120
- doc: unknown;
121
- }>;
122
- declare function createDeleteProcedure(ctx: KyroContext): (input: {
123
- collection: string;
124
- id: string;
125
- }) => Promise<{
126
- doc: unknown;
127
- message: string;
128
- }>;
129
- declare function createCountProcedure(ctx: KyroContext): (input: {
130
- collection: string;
131
- where?: Record<string, any>;
132
- }) => Promise<{
133
- totalDocs: number;
134
- }>;
135
-
136
142
  export { type KyroContext, type KyroRouter, createContext, createCountProcedure, createCreateProcedure, createDeleteProcedure, createDynamicRouter, createFindByIDProcedure, createFindProcedure, createKyroServer, createUpdateProcedure };