@kyro-cms/core 0.9.1 → 0.9.2

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 (180) hide show
  1. package/README.md +0 -6
  2. package/dist/{WebhookService-Yg2UEOB4.d.cts → WebhookService-BKszZlG0.d.cts} +1 -1
  3. package/dist/{WebhookService-CUTb9XOy.d.ts → WebhookService-Ccf1j-IN.d.ts} +1 -1
  4. package/dist/api-handler-graphql.cjs +17 -17
  5. package/dist/api-handler-graphql.js +13 -13
  6. package/dist/api-handler-trpc.cjs +15 -15
  7. package/dist/api-handler-trpc.js +13 -13
  8. package/dist/api-handler.cjs +16 -16
  9. package/dist/api-handler.js +13 -13
  10. package/dist/{base-DaqY2GhA.d.ts → base-CIuXkrH4.d.cts} +3 -5
  11. package/dist/{base-B71y_EAF.d.cts → base-fFo4lqER.d.ts} +3 -5
  12. package/dist/bootstrap-3PV3GJ3S.js +7 -0
  13. package/dist/{bootstrap-T5BK77LD.js.map → bootstrap-3PV3GJ3S.js.map} +1 -1
  14. package/dist/bootstrap-4CELFLJO.cjs +32 -0
  15. package/dist/{bootstrap-5NLASFOG.cjs.map → bootstrap-4CELFLJO.cjs.map} +1 -1
  16. package/dist/{chunk-Z6ZWNWWR.js → chunk-4CV4JOE5.js} +3 -9
  17. package/dist/{chunk-Z6ZWNWWR.js.map → chunk-4CV4JOE5.js.map} +1 -1
  18. package/dist/{chunk-5EPFQUQD.js → chunk-53NYVYVX.js} +6 -6
  19. package/dist/chunk-53NYVYVX.js.map +1 -0
  20. package/dist/{chunk-22M4O4ZJ.js → chunk-5H3MWQJS.js} +129 -143
  21. package/dist/chunk-5H3MWQJS.js.map +1 -0
  22. package/dist/{chunk-RAMGUDJN.cjs → chunk-5PMQQFRE.cjs} +5 -5
  23. package/dist/{chunk-RAMGUDJN.cjs.map → chunk-5PMQQFRE.cjs.map} +1 -1
  24. package/dist/{chunk-TXSZFA4G.js → chunk-6UNONDW7.js} +93 -9
  25. package/dist/chunk-6UNONDW7.js.map +1 -0
  26. package/dist/{chunk-C36TMDTY.cjs → chunk-7OS7TX2Q.cjs} +49 -48
  27. package/dist/chunk-7OS7TX2Q.cjs.map +1 -0
  28. package/dist/{chunk-3TPQ2BU6.js → chunk-BYBMTIMT.js} +2 -6
  29. package/dist/chunk-BYBMTIMT.js.map +1 -0
  30. package/dist/{chunk-FOPGUM27.js → chunk-CJX74IYK.js} +5 -4
  31. package/dist/chunk-CJX74IYK.js.map +1 -0
  32. package/dist/{chunk-RSF3UU7H.cjs → chunk-CNKT4PME.cjs} +196 -200
  33. package/dist/chunk-CNKT4PME.cjs.map +1 -0
  34. package/dist/{chunk-G7VZBCD6.cjs → chunk-CZLDE2OZ.cjs} +2 -9
  35. package/dist/{chunk-G7VZBCD6.cjs.map → chunk-CZLDE2OZ.cjs.map} +1 -1
  36. package/dist/{chunk-JOPVMWTM.cjs → chunk-DPA3KWPY.cjs} +3 -3
  37. package/dist/chunk-DPA3KWPY.cjs.map +1 -0
  38. package/dist/{chunk-ROJHKAQ4.cjs → chunk-E2763JUP.cjs} +143 -157
  39. package/dist/chunk-E2763JUP.cjs.map +1 -0
  40. package/dist/{chunk-FAXU7BMP.js → chunk-E5UJBLQ7.js} +2 -2
  41. package/dist/chunk-E5UJBLQ7.js.map +1 -0
  42. package/dist/{chunk-DVD5P72E.cjs → chunk-EEJUFDMF.cjs} +2 -6
  43. package/dist/chunk-EEJUFDMF.cjs.map +1 -0
  44. package/dist/{chunk-2HZRBATX.cjs → chunk-FSKONGCX.cjs} +2 -2
  45. package/dist/chunk-FSKONGCX.cjs.map +1 -0
  46. package/dist/{chunk-P2HKJ7P5.js → chunk-GAAHG2Z4.js} +3 -3
  47. package/dist/{chunk-P2HKJ7P5.js.map → chunk-GAAHG2Z4.js.map} +1 -1
  48. package/dist/{chunk-PI73NNOK.cjs → chunk-GUUB5EAG.cjs} +2 -2
  49. package/dist/chunk-GUUB5EAG.cjs.map +1 -0
  50. package/dist/{chunk-PU2Z5VWF.js → chunk-IPTZM3VE.js} +183 -187
  51. package/dist/chunk-IPTZM3VE.js.map +1 -0
  52. package/dist/{chunk-UERVXYVK.cjs → chunk-NWUEVLQT.cjs} +13 -13
  53. package/dist/{chunk-UERVXYVK.cjs.map → chunk-NWUEVLQT.cjs.map} +1 -1
  54. package/dist/{chunk-KPA4AN4R.js → chunk-OHC6UHFY.js} +86 -12
  55. package/dist/chunk-OHC6UHFY.js.map +1 -0
  56. package/dist/{chunk-DEVFAKCQ.cjs → chunk-PHJRNPHY.cjs} +6 -6
  57. package/dist/chunk-PHJRNPHY.cjs.map +1 -0
  58. package/dist/{chunk-VO35MNPH.js → chunk-PQ72Z6WC.js} +67 -105
  59. package/dist/chunk-PQ72Z6WC.js.map +1 -0
  60. package/dist/{chunk-KNRSROWB.cjs → chunk-PV2I2KMI.cjs} +86 -12
  61. package/dist/chunk-PV2I2KMI.cjs.map +1 -0
  62. package/dist/{chunk-V2TVSCV5.cjs → chunk-Q23GAMLE.cjs} +71 -109
  63. package/dist/chunk-Q23GAMLE.cjs.map +1 -0
  64. package/dist/{chunk-COIASRDK.cjs → chunk-RFFSZSCL.cjs} +107 -171
  65. package/dist/chunk-RFFSZSCL.cjs.map +1 -0
  66. package/dist/{chunk-AL5KX63J.js → chunk-UUDTPZX6.js} +3 -3
  67. package/dist/chunk-UUDTPZX6.js.map +1 -0
  68. package/dist/{chunk-EJN2PAOE.js → chunk-V7KZQIZ6.js} +102 -166
  69. package/dist/chunk-V7KZQIZ6.js.map +1 -0
  70. package/dist/{chunk-DYTZ6FQ7.js → chunk-WXVB364T.js} +2 -2
  71. package/dist/chunk-WXVB364T.js.map +1 -0
  72. package/dist/{chunk-WNCYAKF3.cjs → chunk-Y7AQK4R4.cjs} +93 -9
  73. package/dist/chunk-Y7AQK4R4.cjs.map +1 -0
  74. package/dist/{chunk-SPBTLUN6.js → chunk-YFAVQQTU.js} +7 -7
  75. package/dist/{chunk-SPBTLUN6.js.map → chunk-YFAVQQTU.js.map} +1 -1
  76. package/dist/cli/index.cjs +5 -5
  77. package/dist/cli/index.js +5 -5
  78. package/dist/client.cjs +4 -4
  79. package/dist/client.d.cts +2 -2
  80. package/dist/client.d.ts +2 -2
  81. package/dist/client.js +2 -2
  82. package/dist/drizzle/index.cjs +14 -14
  83. package/dist/drizzle/index.d.cts +4 -10
  84. package/dist/drizzle/index.d.ts +4 -10
  85. package/dist/drizzle/index.js +5 -5
  86. package/dist/fields/index.cjs +22 -22
  87. package/dist/fields/index.d.cts +1 -1
  88. package/dist/fields/index.d.ts +1 -1
  89. package/dist/fields/index.js +2 -2
  90. package/dist/graphql/index.cjs +1 -1
  91. package/dist/graphql/index.d.cts +3 -3
  92. package/dist/graphql/index.d.ts +3 -3
  93. package/dist/graphql/index.js +1 -1
  94. package/dist/{index-CaTNnLGd.d.cts → index-BKta3cBH.d.cts} +3 -2
  95. package/dist/{index-CJXPB_ot.d.ts → index-ClOqnkTO.d.ts} +3 -2
  96. package/dist/index.cjs +117 -117
  97. package/dist/index.d.cts +10 -15
  98. package/dist/index.d.ts +10 -15
  99. package/dist/index.js +18 -18
  100. package/dist/integration.cjs +1 -1
  101. package/dist/integration.js +1 -1
  102. package/dist/media-7WDX4BDJ.js +4 -0
  103. package/dist/{media-GPPTZ43E.js.map → media-7WDX4BDJ.js.map} +1 -1
  104. package/dist/{media-XNTUFJZR.cjs → media-TUSLVRQ6.cjs} +3 -3
  105. package/dist/{media-XNTUFJZR.cjs.map → media-TUSLVRQ6.cjs.map} +1 -1
  106. package/dist/{mongo-auth-adapter-ISOM7FSS.cjs → mongo-auth-adapter-GT4S7SCU.cjs} +3 -3
  107. package/dist/{mongo-auth-adapter-ISOM7FSS.cjs.map → mongo-auth-adapter-GT4S7SCU.cjs.map} +1 -1
  108. package/dist/mongo-auth-adapter-M7VV4LNB.js +4 -0
  109. package/dist/{mongo-auth-adapter-MO6STCV3.js.map → mongo-auth-adapter-M7VV4LNB.js.map} +1 -1
  110. package/dist/mongodb/index.cjs +5 -5
  111. package/dist/mongodb/index.d.cts +4 -9
  112. package/dist/mongodb/index.d.ts +4 -9
  113. package/dist/mongodb/index.js +3 -3
  114. package/dist/postgres-auth-adapter-AFAPISH7.js +5 -0
  115. package/dist/{postgres-auth-adapter-DWDR7P5G.js.map → postgres-auth-adapter-AFAPISH7.js.map} +1 -1
  116. package/dist/postgres-auth-adapter-SFDTLONT.cjs +14 -0
  117. package/dist/{postgres-auth-adapter-WRWSJD4E.cjs.map → postgres-auth-adapter-SFDTLONT.cjs.map} +1 -1
  118. package/dist/{redis-adapter-KJ3YOOT6.cjs → redis-adapter-UQX4EE3B.cjs} +3 -3
  119. package/dist/{redis-adapter-KJ3YOOT6.cjs.map → redis-adapter-UQX4EE3B.cjs.map} +1 -1
  120. package/dist/redis-adapter-XALOGWY3.js +4 -0
  121. package/dist/{redis-adapter-HGTPWIGV.js.map → redis-adapter-XALOGWY3.js.map} +1 -1
  122. package/dist/rest/index.cjs +10 -10
  123. package/dist/rest/index.d.cts +4 -4
  124. package/dist/rest/index.d.ts +4 -4
  125. package/dist/rest/index.js +8 -8
  126. package/dist/{schema-TTFE4467.cjs → schema-6QL3USNB.cjs} +15 -15
  127. package/dist/{schema-TTFE4467.cjs.map → schema-6QL3USNB.cjs.map} +1 -1
  128. package/dist/{schema-6I5OFR4Z.js → schema-FNNWEAAW.js} +4 -4
  129. package/dist/{schema-6I5OFR4Z.js.map → schema-FNNWEAAW.js.map} +1 -1
  130. package/dist/{sqlite-adapter-CSIZE5SX.cjs → sqlite-adapter-AQB5TCGV.cjs} +3 -3
  131. package/dist/{sqlite-adapter-CSIZE5SX.cjs.map → sqlite-adapter-AQB5TCGV.cjs.map} +1 -1
  132. package/dist/sqlite-adapter-N5H6IM2X.js +4 -0
  133. package/dist/{sqlite-adapter-6GEUSVXQ.js.map → sqlite-adapter-N5H6IM2X.js.map} +1 -1
  134. package/dist/templates/index.cjs +49 -49
  135. package/dist/templates/index.d.cts +2 -2
  136. package/dist/templates/index.d.ts +2 -2
  137. package/dist/templates/index.js +2 -2
  138. package/dist/trpc/index.cjs +11 -11
  139. package/dist/trpc/index.d.cts +3 -3
  140. package/dist/trpc/index.d.ts +3 -3
  141. package/dist/trpc/index.js +2 -2
  142. package/dist/{types-Z6FBiqa2.d.cts → types-DeSApf9T.d.cts} +1 -0
  143. package/dist/{types-Z6FBiqa2.d.ts → types-DeSApf9T.d.ts} +1 -0
  144. package/dist/{types-CyCQ6SAI.d.ts → types-Dgzlftb7.d.ts} +6 -28
  145. package/dist/{types-DJxD9394.d.cts → types-Ds0tCA3L.d.cts} +6 -28
  146. package/dist/ws/index.cjs +6 -6
  147. package/dist/ws/index.js +2 -2
  148. package/package.json +1 -1
  149. package/dist/bootstrap-5NLASFOG.cjs +0 -32
  150. package/dist/bootstrap-T5BK77LD.js +0 -7
  151. package/dist/chunk-22M4O4ZJ.js.map +0 -1
  152. package/dist/chunk-2HZRBATX.cjs.map +0 -1
  153. package/dist/chunk-3TPQ2BU6.js.map +0 -1
  154. package/dist/chunk-5EPFQUQD.js.map +0 -1
  155. package/dist/chunk-AL5KX63J.js.map +0 -1
  156. package/dist/chunk-C36TMDTY.cjs.map +0 -1
  157. package/dist/chunk-COIASRDK.cjs.map +0 -1
  158. package/dist/chunk-DEVFAKCQ.cjs.map +0 -1
  159. package/dist/chunk-DVD5P72E.cjs.map +0 -1
  160. package/dist/chunk-DYTZ6FQ7.js.map +0 -1
  161. package/dist/chunk-EJN2PAOE.js.map +0 -1
  162. package/dist/chunk-FAXU7BMP.js.map +0 -1
  163. package/dist/chunk-FOPGUM27.js.map +0 -1
  164. package/dist/chunk-JOPVMWTM.cjs.map +0 -1
  165. package/dist/chunk-KNRSROWB.cjs.map +0 -1
  166. package/dist/chunk-KPA4AN4R.js.map +0 -1
  167. package/dist/chunk-PI73NNOK.cjs.map +0 -1
  168. package/dist/chunk-PU2Z5VWF.js.map +0 -1
  169. package/dist/chunk-ROJHKAQ4.cjs.map +0 -1
  170. package/dist/chunk-RSF3UU7H.cjs.map +0 -1
  171. package/dist/chunk-TXSZFA4G.js.map +0 -1
  172. package/dist/chunk-V2TVSCV5.cjs.map +0 -1
  173. package/dist/chunk-VO35MNPH.js.map +0 -1
  174. package/dist/chunk-WNCYAKF3.cjs.map +0 -1
  175. package/dist/media-GPPTZ43E.js +0 -4
  176. package/dist/mongo-auth-adapter-MO6STCV3.js +0 -4
  177. package/dist/postgres-auth-adapter-DWDR7P5G.js +0 -5
  178. package/dist/postgres-auth-adapter-WRWSJD4E.cjs +0 -14
  179. package/dist/redis-adapter-HGTPWIGV.js +0 -4
  180. package/dist/sqlite-adapter-6GEUSVXQ.js +0 -4
@@ -2,8 +2,8 @@
2
2
 
3
3
  var chunkCKVOU6MX_cjs = require('./chunk-CKVOU6MX.cjs');
4
4
  var chunk4PWRCMTQ_cjs = require('./chunk-4PWRCMTQ.cjs');
5
- var chunkJOPVMWTM_cjs = require('./chunk-JOPVMWTM.cjs');
6
- require('./chunk-G7VZBCD6.cjs');
5
+ var chunkDPA3KWPY_cjs = require('./chunk-DPA3KWPY.cjs');
6
+ require('./chunk-CZLDE2OZ.cjs');
7
7
 
8
8
 
9
9
 
@@ -21,47 +21,47 @@ Object.defineProperty(exports, "settings", {
21
21
  });
22
22
  Object.defineProperty(exports, "apiKeys", {
23
23
  enumerable: true,
24
- get: function () { return chunkJOPVMWTM_cjs.apiKeys; }
24
+ get: function () { return chunkDPA3KWPY_cjs.apiKeys; }
25
25
  });
26
26
  Object.defineProperty(exports, "auditLogs", {
27
27
  enumerable: true,
28
- get: function () { return chunkJOPVMWTM_cjs.auditLogs; }
28
+ get: function () { return chunkDPA3KWPY_cjs.auditLogs; }
29
29
  });
30
30
  Object.defineProperty(exports, "emailVerifications", {
31
31
  enumerable: true,
32
- get: function () { return chunkJOPVMWTM_cjs.emailVerifications; }
32
+ get: function () { return chunkDPA3KWPY_cjs.emailVerifications; }
33
33
  });
34
34
  Object.defineProperty(exports, "lockouts", {
35
35
  enumerable: true,
36
- get: function () { return chunkJOPVMWTM_cjs.lockouts; }
36
+ get: function () { return chunkDPA3KWPY_cjs.lockouts; }
37
37
  });
38
38
  Object.defineProperty(exports, "passwordHistory", {
39
39
  enumerable: true,
40
- get: function () { return chunkJOPVMWTM_cjs.passwordHistory; }
40
+ get: function () { return chunkDPA3KWPY_cjs.passwordHistory; }
41
41
  });
42
42
  Object.defineProperty(exports, "passwordResets", {
43
43
  enumerable: true,
44
- get: function () { return chunkJOPVMWTM_cjs.passwordResets; }
44
+ get: function () { return chunkDPA3KWPY_cjs.passwordResets; }
45
45
  });
46
46
  Object.defineProperty(exports, "permissions", {
47
47
  enumerable: true,
48
- get: function () { return chunkJOPVMWTM_cjs.permissions; }
48
+ get: function () { return chunkDPA3KWPY_cjs.permissions; }
49
49
  });
50
50
  Object.defineProperty(exports, "roles", {
51
51
  enumerable: true,
52
- get: function () { return chunkJOPVMWTM_cjs.roles; }
52
+ get: function () { return chunkDPA3KWPY_cjs.roles; }
53
53
  });
54
54
  Object.defineProperty(exports, "sessions", {
55
55
  enumerable: true,
56
- get: function () { return chunkJOPVMWTM_cjs.sessions; }
56
+ get: function () { return chunkDPA3KWPY_cjs.sessions; }
57
57
  });
58
58
  Object.defineProperty(exports, "tenants", {
59
59
  enumerable: true,
60
- get: function () { return chunkJOPVMWTM_cjs.tenants; }
60
+ get: function () { return chunkDPA3KWPY_cjs.tenants; }
61
61
  });
62
62
  Object.defineProperty(exports, "users", {
63
63
  enumerable: true,
64
- get: function () { return chunkJOPVMWTM_cjs.users; }
64
+ get: function () { return chunkDPA3KWPY_cjs.users; }
65
65
  });
66
- //# sourceMappingURL=schema-TTFE4467.cjs.map
67
- //# sourceMappingURL=schema-TTFE4467.cjs.map
66
+ //# sourceMappingURL=schema-6QL3USNB.cjs.map
67
+ //# sourceMappingURL=schema-6QL3USNB.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"schema-TTFE4467.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"schema-6QL3USNB.cjs"}
@@ -1,6 +1,6 @@
1
1
  export { media, mediaFolders } from './chunk-RP7VZUEL.js';
2
2
  export { settings } from './chunk-YT7HXXVN.js';
3
- export { apiKeys, auditLogs, emailVerifications, lockouts, passwordHistory, passwordResets, permissions, roles, sessions, tenants, users } from './chunk-AL5KX63J.js';
4
- import './chunk-Z6ZWNWWR.js';
5
- //# sourceMappingURL=schema-6I5OFR4Z.js.map
6
- //# sourceMappingURL=schema-6I5OFR4Z.js.map
3
+ export { apiKeys, auditLogs, emailVerifications, lockouts, passwordHistory, passwordResets, permissions, roles, sessions, tenants, users } from './chunk-UUDTPZX6.js';
4
+ import './chunk-4CV4JOE5.js';
5
+ //# sourceMappingURL=schema-FNNWEAAW.js.map
6
+ //# sourceMappingURL=schema-FNNWEAAW.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"schema-6I5OFR4Z.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"schema-FNNWEAAW.js"}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkIDVRRRAK_cjs = require('./chunk-IDVRRRAK.cjs');
4
- require('./chunk-G7VZBCD6.cjs');
4
+ require('./chunk-CZLDE2OZ.cjs');
5
5
 
6
6
 
7
7
 
@@ -9,5 +9,5 @@ Object.defineProperty(exports, "SQLiteAuthAdapter", {
9
9
  enumerable: true,
10
10
  get: function () { return chunkIDVRRRAK_cjs.SQLiteAuthAdapter; }
11
11
  });
12
- //# sourceMappingURL=sqlite-adapter-CSIZE5SX.cjs.map
13
- //# sourceMappingURL=sqlite-adapter-CSIZE5SX.cjs.map
12
+ //# sourceMappingURL=sqlite-adapter-AQB5TCGV.cjs.map
13
+ //# sourceMappingURL=sqlite-adapter-AQB5TCGV.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"sqlite-adapter-CSIZE5SX.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"sqlite-adapter-AQB5TCGV.cjs"}
@@ -0,0 +1,4 @@
1
+ export { SQLiteAuthAdapter } from './chunk-Q72BOAPK.js';
2
+ import './chunk-4CV4JOE5.js';
3
+ //# sourceMappingURL=sqlite-adapter-N5H6IM2X.js.map
4
+ //# sourceMappingURL=sqlite-adapter-N5H6IM2X.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"sqlite-adapter-6GEUSVXQ.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"sqlite-adapter-N5H6IM2X.js"}
@@ -1,199 +1,199 @@
1
1
  'use strict';
2
2
 
3
- var chunkDEVFAKCQ_cjs = require('../chunk-DEVFAKCQ.cjs');
3
+ var chunkPHJRNPHY_cjs = require('../chunk-PHJRNPHY.cjs');
4
4
  var chunk3KTWGODI_cjs = require('../chunk-3KTWGODI.cjs');
5
5
  var chunkKC2GDBLS_cjs = require('../chunk-KC2GDBLS.cjs');
6
- require('../chunk-G7VZBCD6.cjs');
6
+ require('../chunk-CZLDE2OZ.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "accessSettingsGlobal", {
11
11
  enumerable: true,
12
- get: function () { return chunkDEVFAKCQ_cjs.accessSettingsGlobal; }
12
+ get: function () { return chunkPHJRNPHY_cjs.accessSettingsGlobal; }
13
13
  });
14
14
  Object.defineProperty(exports, "allSettingsGlobals", {
15
15
  enumerable: true,
16
- get: function () { return chunkDEVFAKCQ_cjs.allSettingsGlobals; }
16
+ get: function () { return chunkPHJRNPHY_cjs.allSettingsGlobals; }
17
17
  });
18
18
  Object.defineProperty(exports, "blogCollections", {
19
19
  enumerable: true,
20
- get: function () { return chunkDEVFAKCQ_cjs.blogCollections; }
20
+ get: function () { return chunkPHJRNPHY_cjs.blogCollections; }
21
21
  });
22
22
  Object.defineProperty(exports, "blogGlobals", {
23
23
  enumerable: true,
24
- get: function () { return chunkDEVFAKCQ_cjs.blogGlobals; }
24
+ get: function () { return chunkPHJRNPHY_cjs.blogGlobals; }
25
25
  });
26
26
  Object.defineProperty(exports, "categoriesCollection", {
27
27
  enumerable: true,
28
- get: function () { return chunkDEVFAKCQ_cjs.categoriesCollection; }
28
+ get: function () { return chunkPHJRNPHY_cjs.categoriesCollection; }
29
29
  });
30
30
  Object.defineProperty(exports, "categoriesCollections", {
31
31
  enumerable: true,
32
- get: function () { return chunkDEVFAKCQ_cjs.categoriesCollections; }
32
+ get: function () { return chunkPHJRNPHY_cjs.categoriesCollections; }
33
33
  });
34
34
  Object.defineProperty(exports, "coreSettingsGlobals", {
35
35
  enumerable: true,
36
- get: function () { return chunkDEVFAKCQ_cjs.coreSettingsGlobals; }
36
+ get: function () { return chunkPHJRNPHY_cjs.coreSettingsGlobals; }
37
37
  });
38
38
  Object.defineProperty(exports, "couponsCollection", {
39
39
  enumerable: true,
40
- get: function () { return chunkDEVFAKCQ_cjs.couponsCollection; }
40
+ get: function () { return chunkPHJRNPHY_cjs.couponsCollection; }
41
41
  });
42
42
  Object.defineProperty(exports, "couponsCollections", {
43
43
  enumerable: true,
44
- get: function () { return chunkDEVFAKCQ_cjs.couponsCollections; }
44
+ get: function () { return chunkPHJRNPHY_cjs.couponsCollections; }
45
45
  });
46
46
  Object.defineProperty(exports, "createTemplateConfig", {
47
47
  enumerable: true,
48
- get: function () { return chunkDEVFAKCQ_cjs.createTemplateConfig; }
48
+ get: function () { return chunkPHJRNPHY_cjs.createTemplateConfig; }
49
49
  });
50
50
  Object.defineProperty(exports, "customersCollection", {
51
51
  enumerable: true,
52
- get: function () { return chunkDEVFAKCQ_cjs.customersCollection; }
52
+ get: function () { return chunkPHJRNPHY_cjs.customersCollection; }
53
53
  });
54
54
  Object.defineProperty(exports, "customersCollections", {
55
55
  enumerable: true,
56
- get: function () { return chunkDEVFAKCQ_cjs.customersCollections; }
56
+ get: function () { return chunkPHJRNPHY_cjs.customersCollections; }
57
57
  });
58
58
  Object.defineProperty(exports, "ecommerceCollections", {
59
59
  enumerable: true,
60
- get: function () { return chunkDEVFAKCQ_cjs.ecommerceCollections; }
60
+ get: function () { return chunkPHJRNPHY_cjs.ecommerceCollections; }
61
61
  });
62
62
  Object.defineProperty(exports, "ecommerceGlobals", {
63
63
  enumerable: true,
64
- get: function () { return chunkDEVFAKCQ_cjs.ecommerceGlobals; }
64
+ get: function () { return chunkPHJRNPHY_cjs.ecommerceGlobals; }
65
65
  });
66
66
  Object.defineProperty(exports, "emailSettingsGlobal", {
67
67
  enumerable: true,
68
- get: function () { return chunkDEVFAKCQ_cjs.emailSettingsGlobal; }
68
+ get: function () { return chunkPHJRNPHY_cjs.emailSettingsGlobal; }
69
69
  });
70
70
  Object.defineProperty(exports, "footerSettingsGlobal", {
71
71
  enumerable: true,
72
- get: function () { return chunkDEVFAKCQ_cjs.footerSettingsGlobal; }
72
+ get: function () { return chunkPHJRNPHY_cjs.footerSettingsGlobal; }
73
73
  });
74
74
  Object.defineProperty(exports, "formEntriesCollection", {
75
75
  enumerable: true,
76
- get: function () { return chunkDEVFAKCQ_cjs.formEntriesCollection; }
76
+ get: function () { return chunkPHJRNPHY_cjs.formEntriesCollection; }
77
77
  });
78
78
  Object.defineProperty(exports, "formEntriesCollections", {
79
79
  enumerable: true,
80
- get: function () { return chunkDEVFAKCQ_cjs.formEntriesCollections; }
80
+ get: function () { return chunkPHJRNPHY_cjs.formEntriesCollections; }
81
81
  });
82
82
  Object.defineProperty(exports, "formsCollection", {
83
83
  enumerable: true,
84
- get: function () { return chunkDEVFAKCQ_cjs.formsCollection; }
84
+ get: function () { return chunkPHJRNPHY_cjs.formsCollection; }
85
85
  });
86
86
  Object.defineProperty(exports, "formsCollections", {
87
87
  enumerable: true,
88
- get: function () { return chunkDEVFAKCQ_cjs.formsCollections; }
88
+ get: function () { return chunkPHJRNPHY_cjs.formsCollections; }
89
89
  });
90
90
  Object.defineProperty(exports, "getSettingsForTemplate", {
91
91
  enumerable: true,
92
- get: function () { return chunkDEVFAKCQ_cjs.getSettingsForTemplate; }
92
+ get: function () { return chunkPHJRNPHY_cjs.getSettingsForTemplate; }
93
93
  });
94
94
  Object.defineProperty(exports, "headerSettingsGlobal", {
95
95
  enumerable: true,
96
- get: function () { return chunkDEVFAKCQ_cjs.headerSettingsGlobal; }
96
+ get: function () { return chunkPHJRNPHY_cjs.headerSettingsGlobal; }
97
97
  });
98
98
  Object.defineProperty(exports, "kitchenSinkCollections", {
99
99
  enumerable: true,
100
- get: function () { return chunkDEVFAKCQ_cjs.kitchenSinkCollections; }
100
+ get: function () { return chunkPHJRNPHY_cjs.kitchenSinkCollections; }
101
101
  });
102
102
  Object.defineProperty(exports, "mediaCollection", {
103
103
  enumerable: true,
104
- get: function () { return chunkDEVFAKCQ_cjs.mediaCollection; }
104
+ get: function () { return chunkPHJRNPHY_cjs.mediaCollection; }
105
105
  });
106
106
  Object.defineProperty(exports, "mediaCollections", {
107
107
  enumerable: true,
108
- get: function () { return chunkDEVFAKCQ_cjs.mediaCollections; }
108
+ get: function () { return chunkPHJRNPHY_cjs.mediaCollections; }
109
109
  });
110
110
  Object.defineProperty(exports, "menuCollection", {
111
111
  enumerable: true,
112
- get: function () { return chunkDEVFAKCQ_cjs.menuCollection; }
112
+ get: function () { return chunkPHJRNPHY_cjs.menuCollection; }
113
113
  });
114
114
  Object.defineProperty(exports, "menuCollections", {
115
115
  enumerable: true,
116
- get: function () { return chunkDEVFAKCQ_cjs.menuCollections; }
116
+ get: function () { return chunkPHJRNPHY_cjs.menuCollections; }
117
117
  });
118
118
  Object.defineProperty(exports, "minimalCollections", {
119
119
  enumerable: true,
120
- get: function () { return chunkDEVFAKCQ_cjs.minimalCollections; }
120
+ get: function () { return chunkPHJRNPHY_cjs.minimalCollections; }
121
121
  });
122
122
  Object.defineProperty(exports, "ordersCollection", {
123
123
  enumerable: true,
124
- get: function () { return chunkDEVFAKCQ_cjs.ordersCollection; }
124
+ get: function () { return chunkPHJRNPHY_cjs.ordersCollection; }
125
125
  });
126
126
  Object.defineProperty(exports, "ordersCollections", {
127
127
  enumerable: true,
128
- get: function () { return chunkDEVFAKCQ_cjs.ordersCollections; }
128
+ get: function () { return chunkPHJRNPHY_cjs.ordersCollections; }
129
129
  });
130
130
  Object.defineProperty(exports, "pageCollection", {
131
131
  enumerable: true,
132
- get: function () { return chunkDEVFAKCQ_cjs.pageCollection; }
132
+ get: function () { return chunkPHJRNPHY_cjs.pageCollection; }
133
133
  });
134
134
  Object.defineProperty(exports, "pageCollections", {
135
135
  enumerable: true,
136
- get: function () { return chunkDEVFAKCQ_cjs.pageCollections; }
136
+ get: function () { return chunkPHJRNPHY_cjs.pageCollections; }
137
137
  });
138
138
  Object.defineProperty(exports, "paymentSettingsGlobal", {
139
139
  enumerable: true,
140
- get: function () { return chunkDEVFAKCQ_cjs.paymentSettingsGlobal; }
140
+ get: function () { return chunkPHJRNPHY_cjs.paymentSettingsGlobal; }
141
141
  });
142
142
  Object.defineProperty(exports, "postsCollection", {
143
143
  enumerable: true,
144
- get: function () { return chunkDEVFAKCQ_cjs.postsCollection; }
144
+ get: function () { return chunkPHJRNPHY_cjs.postsCollection; }
145
145
  });
146
146
  Object.defineProperty(exports, "postsCollections", {
147
147
  enumerable: true,
148
- get: function () { return chunkDEVFAKCQ_cjs.postsCollections; }
148
+ get: function () { return chunkPHJRNPHY_cjs.postsCollections; }
149
149
  });
150
150
  Object.defineProperty(exports, "productCategoriesCollection", {
151
151
  enumerable: true,
152
- get: function () { return chunkDEVFAKCQ_cjs.productCategoriesCollection; }
152
+ get: function () { return chunkPHJRNPHY_cjs.productCategoriesCollection; }
153
153
  });
154
154
  Object.defineProperty(exports, "productCategoriesCollections", {
155
155
  enumerable: true,
156
- get: function () { return chunkDEVFAKCQ_cjs.productCategoriesCollections; }
156
+ get: function () { return chunkPHJRNPHY_cjs.productCategoriesCollections; }
157
157
  });
158
158
  Object.defineProperty(exports, "productsCollection", {
159
159
  enumerable: true,
160
- get: function () { return chunkDEVFAKCQ_cjs.productsCollection; }
160
+ get: function () { return chunkPHJRNPHY_cjs.productsCollection; }
161
161
  });
162
162
  Object.defineProperty(exports, "productsCollections", {
163
163
  enumerable: true,
164
- get: function () { return chunkDEVFAKCQ_cjs.productsCollections; }
164
+ get: function () { return chunkPHJRNPHY_cjs.productsCollections; }
165
165
  });
166
166
  Object.defineProperty(exports, "seoSettingsGlobal", {
167
167
  enumerable: true,
168
- get: function () { return chunkDEVFAKCQ_cjs.seoSettingsGlobal; }
168
+ get: function () { return chunkPHJRNPHY_cjs.seoSettingsGlobal; }
169
169
  });
170
170
  Object.defineProperty(exports, "settingsBySlug", {
171
171
  enumerable: true,
172
- get: function () { return chunkDEVFAKCQ_cjs.settingsBySlug; }
172
+ get: function () { return chunkPHJRNPHY_cjs.settingsBySlug; }
173
173
  });
174
174
  Object.defineProperty(exports, "siteSettingsGlobal", {
175
175
  enumerable: true,
176
- get: function () { return chunkDEVFAKCQ_cjs.siteSettingsGlobal; }
176
+ get: function () { return chunkPHJRNPHY_cjs.siteSettingsGlobal; }
177
177
  });
178
178
  Object.defineProperty(exports, "socialSettingsGlobal", {
179
179
  enumerable: true,
180
- get: function () { return chunkDEVFAKCQ_cjs.socialSettingsGlobal; }
180
+ get: function () { return chunkPHJRNPHY_cjs.socialSettingsGlobal; }
181
181
  });
182
182
  Object.defineProperty(exports, "starterCollections", {
183
183
  enumerable: true,
184
- get: function () { return chunkDEVFAKCQ_cjs.starterCollections; }
184
+ get: function () { return chunkPHJRNPHY_cjs.starterCollections; }
185
185
  });
186
186
  Object.defineProperty(exports, "storeSettingsGlobal", {
187
187
  enumerable: true,
188
- get: function () { return chunkDEVFAKCQ_cjs.storeSettingsGlobal; }
188
+ get: function () { return chunkPHJRNPHY_cjs.storeSettingsGlobal; }
189
189
  });
190
190
  Object.defineProperty(exports, "systemSettingsGlobal", {
191
191
  enumerable: true,
192
- get: function () { return chunkDEVFAKCQ_cjs.systemSettingsGlobal; }
192
+ get: function () { return chunkPHJRNPHY_cjs.systemSettingsGlobal; }
193
193
  });
194
194
  Object.defineProperty(exports, "templateCollections", {
195
195
  enumerable: true,
196
- get: function () { return chunkDEVFAKCQ_cjs.templateCollections; }
196
+ get: function () { return chunkPHJRNPHY_cjs.templateCollections; }
197
197
  });
198
198
  Object.defineProperty(exports, "storageSettingsGlobal", {
199
199
  enumerable: true,
@@ -1,5 +1,5 @@
1
- import { G as GlobalConfig, C as CollectionConfig } from '../types-DJxD9394.cjs';
2
- import '../types-Z6FBiqa2.cjs';
1
+ import { G as GlobalConfig, C as CollectionConfig } from '../types-Ds0tCA3L.cjs';
2
+ import '../types-DeSApf9T.cjs';
3
3
 
4
4
  declare const minimalCollections: Record<string, any>;
5
5
 
@@ -1,5 +1,5 @@
1
- import { G as GlobalConfig, C as CollectionConfig } from '../types-CyCQ6SAI.js';
2
- import '../types-Z6FBiqa2.js';
1
+ import { G as GlobalConfig, C as CollectionConfig } from '../types-Dgzlftb7.js';
2
+ import '../types-DeSApf9T.js';
3
3
 
4
4
  declare const minimalCollections: Record<string, any>;
5
5
 
@@ -1,6 +1,6 @@
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';
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-53NYVYVX.js';
2
2
  export { storageSettingsGlobal } from '../chunk-GAOXD3XT.js';
3
3
  export { authCollections } from '../chunk-XEB7PH2E.js';
4
- import '../chunk-Z6ZWNWWR.js';
4
+ import '../chunk-4CV4JOE5.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -1,48 +1,48 @@
1
1
  'use strict';
2
2
 
3
- var chunkKNRSROWB_cjs = require('../chunk-KNRSROWB.cjs');
3
+ var chunkPV2I2KMI_cjs = require('../chunk-PV2I2KMI.cjs');
4
4
  require('../chunk-QFLB4EIJ.cjs');
5
5
  require('../chunk-4M7X5HAB.cjs');
6
6
  require('../chunk-NKPKR5BW.cjs');
7
- require('../chunk-G7VZBCD6.cjs');
7
+ require('../chunk-CZLDE2OZ.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "createContext", {
12
12
  enumerable: true,
13
- get: function () { return chunkKNRSROWB_cjs.createContext; }
13
+ get: function () { return chunkPV2I2KMI_cjs.createContext; }
14
14
  });
15
15
  Object.defineProperty(exports, "createCountProcedure", {
16
16
  enumerable: true,
17
- get: function () { return chunkKNRSROWB_cjs.createCountProcedure; }
17
+ get: function () { return chunkPV2I2KMI_cjs.createCountProcedure; }
18
18
  });
19
19
  Object.defineProperty(exports, "createCreateProcedure", {
20
20
  enumerable: true,
21
- get: function () { return chunkKNRSROWB_cjs.createCreateProcedure; }
21
+ get: function () { return chunkPV2I2KMI_cjs.createCreateProcedure; }
22
22
  });
23
23
  Object.defineProperty(exports, "createDeleteProcedure", {
24
24
  enumerable: true,
25
- get: function () { return chunkKNRSROWB_cjs.createDeleteProcedure; }
25
+ get: function () { return chunkPV2I2KMI_cjs.createDeleteProcedure; }
26
26
  });
27
27
  Object.defineProperty(exports, "createDynamicRouter", {
28
28
  enumerable: true,
29
- get: function () { return chunkKNRSROWB_cjs.createDynamicRouter; }
29
+ get: function () { return chunkPV2I2KMI_cjs.createDynamicRouter; }
30
30
  });
31
31
  Object.defineProperty(exports, "createFindByIDProcedure", {
32
32
  enumerable: true,
33
- get: function () { return chunkKNRSROWB_cjs.createFindByIDProcedure; }
33
+ get: function () { return chunkPV2I2KMI_cjs.createFindByIDProcedure; }
34
34
  });
35
35
  Object.defineProperty(exports, "createFindProcedure", {
36
36
  enumerable: true,
37
- get: function () { return chunkKNRSROWB_cjs.createFindProcedure; }
37
+ get: function () { return chunkPV2I2KMI_cjs.createFindProcedure; }
38
38
  });
39
39
  Object.defineProperty(exports, "createKyroServer", {
40
40
  enumerable: true,
41
- get: function () { return chunkKNRSROWB_cjs.createKyroServer; }
41
+ get: function () { return chunkPV2I2KMI_cjs.createKyroServer; }
42
42
  });
43
43
  Object.defineProperty(exports, "createUpdateProcedure", {
44
44
  enumerable: true,
45
- get: function () { return chunkKNRSROWB_cjs.createUpdateProcedure; }
45
+ get: function () { return chunkPV2I2KMI_cjs.createUpdateProcedure; }
46
46
  });
47
47
  //# sourceMappingURL=index.cjs.map
48
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-DJxD9394.cjs';
2
- import { i as createWebhookService } from '../WebhookService-Yg2UEOB4.cjs';
3
- import '../types-Z6FBiqa2.cjs';
1
+ import { B as BaseAdapter, R as Request, i as User, b as FindResult } from '../types-Ds0tCA3L.cjs';
2
+ import { i as createWebhookService } from '../WebhookService-BKszZlG0.cjs';
3
+ import '../types-DeSApf9T.cjs';
4
4
 
5
5
  interface ApiKeyContext {
6
6
  userId: string;
@@ -1,6 +1,6 @@
1
- import { B as BaseAdapter, R as Request, m as User, b as FindResult } from '../types-CyCQ6SAI.js';
2
- import { i as createWebhookService } from '../WebhookService-CUTb9XOy.js';
3
- import '../types-Z6FBiqa2.js';
1
+ import { B as BaseAdapter, R as Request, i as User, b as FindResult } from '../types-Dgzlftb7.js';
2
+ import { i as createWebhookService } from '../WebhookService-Ccf1j-IN.js';
3
+ import '../types-DeSApf9T.js';
4
4
 
5
5
  interface ApiKeyContext {
6
6
  userId: string;
@@ -1,7 +1,7 @@
1
- export { createContext, createCountProcedure, createCreateProcedure, createDeleteProcedure, createDynamicRouter, createFindByIDProcedure, createFindProcedure, createKyroServer, createUpdateProcedure } from '../chunk-KPA4AN4R.js';
1
+ export { createContext, createCountProcedure, createCreateProcedure, createDeleteProcedure, createDynamicRouter, createFindByIDProcedure, createFindProcedure, createKyroServer, createUpdateProcedure } from '../chunk-OHC6UHFY.js';
2
2
  import '../chunk-3UK5XBVJ.js';
3
3
  import '../chunk-CJONKRHJ.js';
4
4
  import '../chunk-L4EZKIEX.js';
5
- import '../chunk-Z6ZWNWWR.js';
5
+ import '../chunk-4CV4JOE5.js';
6
6
  //# sourceMappingURL=index.js.map
7
7
  //# sourceMappingURL=index.js.map
@@ -24,6 +24,7 @@ interface FieldAdmin {
24
24
  action?: string;
25
25
  method?: string;
26
26
  inline?: boolean;
27
+ pickerMode?: "drawer" | "dropdown";
27
28
  condition?: ((data: Record<string, any>, siblingData: Record<string, any>) => boolean) | DeclarativeCondition;
28
29
  }
29
30
  interface BaseField {
@@ -24,6 +24,7 @@ interface FieldAdmin {
24
24
  action?: string;
25
25
  method?: string;
26
26
  inline?: boolean;
27
+ pickerMode?: "drawer" | "dropdown";
27
28
  condition?: ((data: Record<string, any>, siblingData: Record<string, any>) => boolean) | DeclarativeCondition;
28
29
  }
29
30
  interface BaseField {
@@ -1,4 +1,4 @@
1
- import { F as Field } from './types-Z6FBiqa2.js';
1
+ import { F as Field } from './types-DeSApf9T.js';
2
2
 
3
3
  interface Request {
4
4
  body?: any;
@@ -307,29 +307,6 @@ interface FindResult<T = any> {
307
307
  prevPage: number | null;
308
308
  nextPage: number | null;
309
309
  }
310
- interface DraftSnapshot<T = Record<string, any>> {
311
- id: string;
312
- collection: string;
313
- documentId: string;
314
- tenantID?: string;
315
- data: T;
316
- baseUpdatedAt?: string | null;
317
- draftUpdatedAt: string;
318
- createdAt: string;
319
- updatedAt: string;
320
- }
321
- interface DraftFindArgs {
322
- collection: string;
323
- documentId: string;
324
- tenantID?: string;
325
- }
326
- interface DraftUpsertArgs<T = Record<string, any>> extends DraftFindArgs {
327
- data: T;
328
- baseUpdatedAt?: string | null;
329
- draftUpdatedAt?: string;
330
- }
331
- interface DraftDeleteArgs extends DraftFindArgs {
332
- }
333
310
  interface CreateResult<T = any> {
334
311
  doc: T;
335
312
  errors?: Array<{
@@ -349,6 +326,7 @@ interface VersionRecord<T = Record<string, any>> {
349
326
  updatedAt: string;
350
327
  publishedAt?: string | null;
351
328
  changeDescription?: string;
329
+ autosave?: boolean;
352
330
  }
353
331
  interface CreateVersionArgs<T = Record<string, any>> {
354
332
  collection: string;
@@ -358,6 +336,8 @@ interface CreateVersionArgs<T = Record<string, any>> {
358
336
  createdBy?: string;
359
337
  changeDescription?: string;
360
338
  tenantID?: string;
339
+ /** When true, reuses a single version slot (find existing + update) */
340
+ autosave?: boolean;
361
341
  }
362
342
  interface FindVersionsArgs {
363
343
  collection: string;
@@ -398,9 +378,7 @@ interface BaseAdapter {
398
378
  keepLatest?: number;
399
379
  tenantID?: string;
400
380
  }): Promise<void>;
401
- findDraft<T = Record<string, any>>(args: DraftFindArgs): Promise<DraftSnapshot<T> | null>;
402
- upsertDraft<T = Record<string, any>>(args: DraftUpsertArgs<T>): Promise<DraftSnapshot<T>>;
403
- deleteDraft(args: DraftDeleteArgs): Promise<void>;
381
+ updateLatestVersion<T = Record<string, any>>(args: CreateVersionArgs<T>): Promise<VersionRecord<T>>;
404
382
  migrate?(): Promise<void>;
405
383
  rollback?(): Promise<void>;
406
384
  connect(): Promise<void>;
@@ -484,4 +462,4 @@ interface KyroConfig {
484
462
  debug?: boolean;
485
463
  }
486
464
 
487
- export { type AdminConfig as A, type BaseAdapter as B, type CollectionConfig as C, type DeleteArgs as D, mergeWhereClauses as E, type FindArgs as F, type GlobalConfig as G, type Hook as H, type ImageSize as I, runFieldHooks as J, type KyroConfig as K, runHooks as L, type PluginConfig as P, type Request as R, type TenantContext as T, type UploadConfig as U, type VersionConfig as V, type WhereClause as W, type AuthConfig as a, type FindResult as b, type FindByIDArgs as c, type CreateArgs as d, type UpdateArgs as e, type FindVersionsArgs as f, type VersionRecord as g, type CreateVersionArgs as h, type DraftFindArgs as i, type DraftSnapshot as j, type DraftUpsertArgs as k, type DraftDeleteArgs as l, type User as m, type AccessArgs as n, type AccessControl as o, type AdapterConfig as p, type CollectionAccess as q, type CollectionHooks as r, type CreateResult as s, type FieldAccess as t, type FieldHooks as u, type GlobalAccess as v, type GlobalHooks as w, type HookArgs as x, evaluateAccess as y, getWhereClause as z };
465
+ export { type AdminConfig as A, type BaseAdapter as B, type CollectionConfig as C, type DeleteArgs as D, type FindArgs as F, type GlobalConfig as G, type Hook as H, type ImageSize as I, type KyroConfig as K, type PluginConfig as P, type Request as R, type TenantContext as T, type UploadConfig as U, type VersionConfig as V, type WhereClause as W, type AuthConfig as a, type FindResult as b, type FindByIDArgs as c, type CreateArgs as d, type UpdateArgs as e, type FindVersionsArgs as f, type VersionRecord as g, type CreateVersionArgs as h, type User as i, type AccessArgs as j, type AccessControl as k, type AdapterConfig as l, type CollectionAccess as m, type CollectionHooks as n, type CreateResult as o, type FieldAccess as p, type FieldHooks as q, type GlobalAccess as r, type GlobalHooks as s, type HookArgs as t, evaluateAccess as u, getWhereClause as v, mergeWhereClauses as w, runFieldHooks as x, runHooks as y };