@sonicjs-cms/core 2.9.0 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/{chunk-YFJJU26H.js → chunk-27AOVQTR.js} +10 -2
  2. package/dist/chunk-27AOVQTR.js.map +1 -0
  3. package/dist/{chunk-25YNV4RK.js → chunk-4TTMQQC7.js} +4 -4
  4. package/dist/{chunk-25YNV4RK.js.map → chunk-4TTMQQC7.js.map} +1 -1
  5. package/dist/{chunk-STTZVLY2.js → chunk-6O3RJV3C.js} +2 -2
  6. package/dist/{chunk-STTZVLY2.js.map → chunk-6O3RJV3C.js.map} +1 -1
  7. package/dist/{chunk-SHU7Q66Q.cjs → chunk-EKPLKUZT.cjs} +7 -3
  8. package/dist/chunk-EKPLKUZT.cjs.map +1 -0
  9. package/dist/{chunk-MPT5PA6U.cjs → chunk-IIBRG5S5.cjs} +10 -2
  10. package/dist/chunk-IIBRG5S5.cjs.map +1 -0
  11. package/dist/{chunk-DQZVU3WB.cjs → chunk-IT2TC4ZD.cjs} +7 -7
  12. package/dist/{chunk-DQZVU3WB.cjs.map → chunk-IT2TC4ZD.cjs.map} +1 -1
  13. package/dist/{chunk-3FHMXGLF.js → chunk-IZWNIUJI.js} +7 -3
  14. package/dist/chunk-IZWNIUJI.js.map +1 -0
  15. package/dist/{chunk-2JGQKF7B.js → chunk-JTNUM7JE.js} +1042 -152
  16. package/dist/chunk-JTNUM7JE.js.map +1 -0
  17. package/dist/{chunk-KSB6FXOP.cjs → chunk-RCA6R6VE.cjs} +1130 -240
  18. package/dist/chunk-RCA6R6VE.cjs.map +1 -0
  19. package/dist/{chunk-LDFMYRG6.cjs → chunk-ZMVWMJ3S.cjs} +2 -2
  20. package/dist/{chunk-LDFMYRG6.cjs.map → chunk-ZMVWMJ3S.cjs.map} +1 -1
  21. package/dist/{collection-config-DckWhkdL.d.cts → collection-config-B4PG-AaF.d.cts} +2 -0
  22. package/dist/{collection-config-DckWhkdL.d.ts → collection-config-B4PG-AaF.d.ts} +2 -0
  23. package/dist/index.cjs +97 -97
  24. package/dist/index.d.cts +3 -3
  25. package/dist/index.d.ts +3 -3
  26. package/dist/index.js +8 -8
  27. package/dist/middleware.cjs +29 -29
  28. package/dist/middleware.js +3 -3
  29. package/dist/migrations-N2C2VPJU.js +4 -0
  30. package/dist/{migrations-SZSR3C3G.js.map → migrations-N2C2VPJU.js.map} +1 -1
  31. package/dist/migrations-ONIAY6GK.cjs +13 -0
  32. package/dist/{migrations-QQWGDWGB.cjs.map → migrations-ONIAY6GK.cjs.map} +1 -1
  33. package/dist/{plugin-bootstrap-BAz7NY0H.d.cts → plugin-bootstrap-WmpvYM5w.d.ts} +1 -1
  34. package/dist/{plugin-bootstrap-Cz3-bj8X.d.ts → plugin-bootstrap-fpG98Otb.d.cts} +1 -1
  35. package/dist/routes.cjs +28 -28
  36. package/dist/routes.js +5 -5
  37. package/dist/services.cjs +16 -16
  38. package/dist/services.d.cts +2 -2
  39. package/dist/services.d.ts +2 -2
  40. package/dist/services.js +2 -2
  41. package/dist/types.d.cts +1 -1
  42. package/dist/types.d.ts +1 -1
  43. package/dist/utils.cjs +11 -11
  44. package/dist/utils.d.cts +1 -1
  45. package/dist/utils.d.ts +1 -1
  46. package/dist/utils.js +1 -1
  47. package/package.json +5 -1
  48. package/dist/chunk-2JGQKF7B.js.map +0 -1
  49. package/dist/chunk-3FHMXGLF.js.map +0 -1
  50. package/dist/chunk-KSB6FXOP.cjs.map +0 -1
  51. package/dist/chunk-MPT5PA6U.cjs.map +0 -1
  52. package/dist/chunk-SHU7Q66Q.cjs.map +0 -1
  53. package/dist/chunk-YFJJU26H.js.map +0 -1
  54. package/dist/migrations-QQWGDWGB.cjs +0 -13
  55. package/dist/migrations-SZSR3C3G.js +0 -4
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkDQZVU3WB_cjs = require('./chunk-DQZVU3WB.cjs');
4
- require('./chunk-MPT5PA6U.cjs');
5
- require('./chunk-LDFMYRG6.cjs');
3
+ var chunkIT2TC4ZD_cjs = require('./chunk-IT2TC4ZD.cjs');
4
+ require('./chunk-IIBRG5S5.cjs');
5
+ require('./chunk-ZMVWMJ3S.cjs');
6
6
  require('./chunk-RCQ2HIQD.cjs');
7
7
  require('./chunk-IGJUBJBW.cjs');
8
8
 
@@ -10,107 +10,107 @@ require('./chunk-IGJUBJBW.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "AuthManager", {
12
12
  enumerable: true,
13
- get: function () { return chunkDQZVU3WB_cjs.AuthManager; }
13
+ get: function () { return chunkIT2TC4ZD_cjs.AuthManager; }
14
14
  });
15
15
  Object.defineProperty(exports, "PermissionManager", {
16
16
  enumerable: true,
17
- get: function () { return chunkDQZVU3WB_cjs.PermissionManager; }
17
+ get: function () { return chunkIT2TC4ZD_cjs.PermissionManager; }
18
18
  });
19
19
  Object.defineProperty(exports, "bootstrapMiddleware", {
20
20
  enumerable: true,
21
- get: function () { return chunkDQZVU3WB_cjs.bootstrapMiddleware; }
21
+ get: function () { return chunkIT2TC4ZD_cjs.bootstrapMiddleware; }
22
22
  });
23
23
  Object.defineProperty(exports, "cacheHeaders", {
24
24
  enumerable: true,
25
- get: function () { return chunkDQZVU3WB_cjs.cacheHeaders; }
25
+ get: function () { return chunkIT2TC4ZD_cjs.cacheHeaders; }
26
26
  });
27
27
  Object.defineProperty(exports, "compressionMiddleware", {
28
28
  enumerable: true,
29
- get: function () { return chunkDQZVU3WB_cjs.compressionMiddleware; }
29
+ get: function () { return chunkIT2TC4ZD_cjs.compressionMiddleware; }
30
30
  });
31
31
  Object.defineProperty(exports, "csrfProtection", {
32
32
  enumerable: true,
33
- get: function () { return chunkDQZVU3WB_cjs.csrfProtection; }
33
+ get: function () { return chunkIT2TC4ZD_cjs.csrfProtection; }
34
34
  });
35
35
  Object.defineProperty(exports, "detailedLoggingMiddleware", {
36
36
  enumerable: true,
37
- get: function () { return chunkDQZVU3WB_cjs.detailedLoggingMiddleware; }
37
+ get: function () { return chunkIT2TC4ZD_cjs.detailedLoggingMiddleware; }
38
38
  });
39
39
  Object.defineProperty(exports, "generateCsrfToken", {
40
40
  enumerable: true,
41
- get: function () { return chunkDQZVU3WB_cjs.generateCsrfToken; }
41
+ get: function () { return chunkIT2TC4ZD_cjs.generateCsrfToken; }
42
42
  });
43
43
  Object.defineProperty(exports, "getActivePlugins", {
44
44
  enumerable: true,
45
- get: function () { return chunkDQZVU3WB_cjs.getActivePlugins; }
45
+ get: function () { return chunkIT2TC4ZD_cjs.getActivePlugins; }
46
46
  });
47
47
  Object.defineProperty(exports, "isPluginActive", {
48
48
  enumerable: true,
49
- get: function () { return chunkDQZVU3WB_cjs.isPluginActive; }
49
+ get: function () { return chunkIT2TC4ZD_cjs.isPluginActive; }
50
50
  });
51
51
  Object.defineProperty(exports, "logActivity", {
52
52
  enumerable: true,
53
- get: function () { return chunkDQZVU3WB_cjs.logActivity; }
53
+ get: function () { return chunkIT2TC4ZD_cjs.logActivity; }
54
54
  });
55
55
  Object.defineProperty(exports, "loggingMiddleware", {
56
56
  enumerable: true,
57
- get: function () { return chunkDQZVU3WB_cjs.loggingMiddleware; }
57
+ get: function () { return chunkIT2TC4ZD_cjs.loggingMiddleware; }
58
58
  });
59
59
  Object.defineProperty(exports, "metricsMiddleware", {
60
60
  enumerable: true,
61
- get: function () { return chunkDQZVU3WB_cjs.metricsMiddleware; }
61
+ get: function () { return chunkIT2TC4ZD_cjs.metricsMiddleware; }
62
62
  });
63
63
  Object.defineProperty(exports, "optionalAuth", {
64
64
  enumerable: true,
65
- get: function () { return chunkDQZVU3WB_cjs.optionalAuth; }
65
+ get: function () { return chunkIT2TC4ZD_cjs.optionalAuth; }
66
66
  });
67
67
  Object.defineProperty(exports, "performanceLoggingMiddleware", {
68
68
  enumerable: true,
69
- get: function () { return chunkDQZVU3WB_cjs.performanceLoggingMiddleware; }
69
+ get: function () { return chunkIT2TC4ZD_cjs.performanceLoggingMiddleware; }
70
70
  });
71
71
  Object.defineProperty(exports, "rateLimit", {
72
72
  enumerable: true,
73
- get: function () { return chunkDQZVU3WB_cjs.rateLimit; }
73
+ get: function () { return chunkIT2TC4ZD_cjs.rateLimit; }
74
74
  });
75
75
  Object.defineProperty(exports, "requireActivePlugin", {
76
76
  enumerable: true,
77
- get: function () { return chunkDQZVU3WB_cjs.requireActivePlugin; }
77
+ get: function () { return chunkIT2TC4ZD_cjs.requireActivePlugin; }
78
78
  });
79
79
  Object.defineProperty(exports, "requireActivePlugins", {
80
80
  enumerable: true,
81
- get: function () { return chunkDQZVU3WB_cjs.requireActivePlugins; }
81
+ get: function () { return chunkIT2TC4ZD_cjs.requireActivePlugins; }
82
82
  });
83
83
  Object.defineProperty(exports, "requireAnyPermission", {
84
84
  enumerable: true,
85
- get: function () { return chunkDQZVU3WB_cjs.requireAnyPermission; }
85
+ get: function () { return chunkIT2TC4ZD_cjs.requireAnyPermission; }
86
86
  });
87
87
  Object.defineProperty(exports, "requireAuth", {
88
88
  enumerable: true,
89
- get: function () { return chunkDQZVU3WB_cjs.requireAuth; }
89
+ get: function () { return chunkIT2TC4ZD_cjs.requireAuth; }
90
90
  });
91
91
  Object.defineProperty(exports, "requirePermission", {
92
92
  enumerable: true,
93
- get: function () { return chunkDQZVU3WB_cjs.requirePermission; }
93
+ get: function () { return chunkIT2TC4ZD_cjs.requirePermission; }
94
94
  });
95
95
  Object.defineProperty(exports, "requireRole", {
96
96
  enumerable: true,
97
- get: function () { return chunkDQZVU3WB_cjs.requireRole; }
97
+ get: function () { return chunkIT2TC4ZD_cjs.requireRole; }
98
98
  });
99
99
  Object.defineProperty(exports, "securityHeaders", {
100
100
  enumerable: true,
101
- get: function () { return chunkDQZVU3WB_cjs.securityHeadersMiddleware; }
101
+ get: function () { return chunkIT2TC4ZD_cjs.securityHeadersMiddleware; }
102
102
  });
103
103
  Object.defineProperty(exports, "securityLoggingMiddleware", {
104
104
  enumerable: true,
105
- get: function () { return chunkDQZVU3WB_cjs.securityLoggingMiddleware; }
105
+ get: function () { return chunkIT2TC4ZD_cjs.securityLoggingMiddleware; }
106
106
  });
107
107
  Object.defineProperty(exports, "validateCsrfToken", {
108
108
  enumerable: true,
109
- get: function () { return chunkDQZVU3WB_cjs.validateCsrfToken; }
109
+ get: function () { return chunkIT2TC4ZD_cjs.validateCsrfToken; }
110
110
  });
111
111
  Object.defineProperty(exports, "verifySecurityConfig", {
112
112
  enumerable: true,
113
- get: function () { return chunkDQZVU3WB_cjs.verifySecurityConfig; }
113
+ get: function () { return chunkIT2TC4ZD_cjs.verifySecurityConfig; }
114
114
  });
115
115
  //# sourceMappingURL=middleware.cjs.map
116
116
  //# sourceMappingURL=middleware.cjs.map
@@ -1,6 +1,6 @@
1
- export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, csrfProtection, detailedLoggingMiddleware, generateCsrfToken, getActivePlugins, isPluginActive, logActivity, loggingMiddleware, metricsMiddleware, optionalAuth, performanceLoggingMiddleware, rateLimit, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeadersMiddleware as securityHeaders, securityLoggingMiddleware, validateCsrfToken, verifySecurityConfig } from './chunk-25YNV4RK.js';
2
- import './chunk-YFJJU26H.js';
3
- import './chunk-STTZVLY2.js';
1
+ export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, csrfProtection, detailedLoggingMiddleware, generateCsrfToken, getActivePlugins, isPluginActive, logActivity, loggingMiddleware, metricsMiddleware, optionalAuth, performanceLoggingMiddleware, rateLimit, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeadersMiddleware as securityHeaders, securityLoggingMiddleware, validateCsrfToken, verifySecurityConfig } from './chunk-4TTMQQC7.js';
2
+ import './chunk-27AOVQTR.js';
3
+ import './chunk-6O3RJV3C.js';
4
4
  import './chunk-FICTAGD4.js';
5
5
  import './chunk-V4OQ3NZ2.js';
6
6
  //# sourceMappingURL=middleware.js.map
@@ -0,0 +1,4 @@
1
+ export { MigrationService } from './chunk-6O3RJV3C.js';
2
+ import './chunk-V4OQ3NZ2.js';
3
+ //# sourceMappingURL=migrations-N2C2VPJU.js.map
4
+ //# sourceMappingURL=migrations-N2C2VPJU.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-SZSR3C3G.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-N2C2VPJU.js"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkZMVWMJ3S_cjs = require('./chunk-ZMVWMJ3S.cjs');
4
+ require('./chunk-IGJUBJBW.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "MigrationService", {
9
+ enumerable: true,
10
+ get: function () { return chunkZMVWMJ3S_cjs.MigrationService; }
11
+ });
12
+ //# sourceMappingURL=migrations-ONIAY6GK.cjs.map
13
+ //# sourceMappingURL=migrations-ONIAY6GK.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-QQWGDWGB.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-ONIAY6GK.cjs"}
@@ -1,4 +1,4 @@
1
- import { C as CollectionConfig, d as CollectionSyncResult } from './collection-config-DckWhkdL.cjs';
1
+ import { C as CollectionConfig, d as CollectionSyncResult } from './collection-config-B4PG-AaF.js';
2
2
  import { D1Database as D1Database$1 } from '@cloudflare/workers-types';
3
3
  import * as drizzle_zod from 'drizzle-zod';
4
4
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
@@ -1,4 +1,4 @@
1
- import { C as CollectionConfig, d as CollectionSyncResult } from './collection-config-DckWhkdL.js';
1
+ import { C as CollectionConfig, d as CollectionSyncResult } from './collection-config-B4PG-AaF.cjs';
2
2
  import { D1Database as D1Database$1 } from '@cloudflare/workers-types';
3
3
  import * as drizzle_zod from 'drizzle-zod';
4
4
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
package/dist/routes.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkKSB6FXOP_cjs = require('./chunk-KSB6FXOP.cjs');
3
+ var chunkRCA6R6VE_cjs = require('./chunk-RCA6R6VE.cjs');
4
4
  require('./chunk-64APW3DW.cjs');
5
- require('./chunk-DQZVU3WB.cjs');
6
- require('./chunk-MPT5PA6U.cjs');
7
- require('./chunk-LDFMYRG6.cjs');
5
+ require('./chunk-IT2TC4ZD.cjs');
6
+ require('./chunk-IIBRG5S5.cjs');
7
+ require('./chunk-ZMVWMJ3S.cjs');
8
8
  require('./chunk-LTKV7AE5.cjs');
9
9
  require('./chunk-6FHNRRJ3.cjs');
10
- require('./chunk-SHU7Q66Q.cjs');
10
+ require('./chunk-EKPLKUZT.cjs');
11
11
  require('./chunk-P3XDZL6Q.cjs');
12
12
  require('./chunk-RCQ2HIQD.cjs');
13
13
  require('./chunk-MNWKYY5E.cjs');
@@ -17,95 +17,95 @@ require('./chunk-IGJUBJBW.cjs');
17
17
 
18
18
  Object.defineProperty(exports, "ROUTES_INFO", {
19
19
  enumerable: true,
20
- get: function () { return chunkKSB6FXOP_cjs.ROUTES_INFO; }
20
+ get: function () { return chunkRCA6R6VE_cjs.ROUTES_INFO; }
21
21
  });
22
22
  Object.defineProperty(exports, "adminApiReferenceRoutes", {
23
23
  enumerable: true,
24
- get: function () { return chunkKSB6FXOP_cjs.router2; }
24
+ get: function () { return chunkRCA6R6VE_cjs.router2; }
25
25
  });
26
26
  Object.defineProperty(exports, "adminApiRoutes", {
27
27
  enumerable: true,
28
- get: function () { return chunkKSB6FXOP_cjs.admin_api_default; }
28
+ get: function () { return chunkRCA6R6VE_cjs.admin_api_default; }
29
29
  });
30
30
  Object.defineProperty(exports, "adminCheckboxRoutes", {
31
31
  enumerable: true,
32
- get: function () { return chunkKSB6FXOP_cjs.adminCheckboxRoutes; }
32
+ get: function () { return chunkRCA6R6VE_cjs.adminCheckboxRoutes; }
33
33
  });
34
34
  Object.defineProperty(exports, "adminCodeExamplesRoutes", {
35
35
  enumerable: true,
36
- get: function () { return chunkKSB6FXOP_cjs.admin_code_examples_default; }
36
+ get: function () { return chunkRCA6R6VE_cjs.admin_code_examples_default; }
37
37
  });
38
38
  Object.defineProperty(exports, "adminCollectionsRoutes", {
39
39
  enumerable: true,
40
- get: function () { return chunkKSB6FXOP_cjs.adminCollectionsRoutes; }
40
+ get: function () { return chunkRCA6R6VE_cjs.adminCollectionsRoutes; }
41
41
  });
42
42
  Object.defineProperty(exports, "adminContentRoutes", {
43
43
  enumerable: true,
44
- get: function () { return chunkKSB6FXOP_cjs.admin_content_default; }
44
+ get: function () { return chunkRCA6R6VE_cjs.admin_content_default; }
45
45
  });
46
46
  Object.defineProperty(exports, "adminDashboardRoutes", {
47
47
  enumerable: true,
48
- get: function () { return chunkKSB6FXOP_cjs.router; }
48
+ get: function () { return chunkRCA6R6VE_cjs.router; }
49
49
  });
50
50
  Object.defineProperty(exports, "adminDesignRoutes", {
51
51
  enumerable: true,
52
- get: function () { return chunkKSB6FXOP_cjs.adminDesignRoutes; }
52
+ get: function () { return chunkRCA6R6VE_cjs.adminDesignRoutes; }
53
53
  });
54
54
  Object.defineProperty(exports, "adminFormsRoutes", {
55
55
  enumerable: true,
56
- get: function () { return chunkKSB6FXOP_cjs.adminFormsRoutes; }
56
+ get: function () { return chunkRCA6R6VE_cjs.adminFormsRoutes; }
57
57
  });
58
58
  Object.defineProperty(exports, "adminLogsRoutes", {
59
59
  enumerable: true,
60
- get: function () { return chunkKSB6FXOP_cjs.adminLogsRoutes; }
60
+ get: function () { return chunkRCA6R6VE_cjs.adminLogsRoutes; }
61
61
  });
62
62
  Object.defineProperty(exports, "adminMediaRoutes", {
63
63
  enumerable: true,
64
- get: function () { return chunkKSB6FXOP_cjs.adminMediaRoutes; }
64
+ get: function () { return chunkRCA6R6VE_cjs.adminMediaRoutes; }
65
65
  });
66
66
  Object.defineProperty(exports, "adminPluginRoutes", {
67
67
  enumerable: true,
68
- get: function () { return chunkKSB6FXOP_cjs.adminPluginRoutes; }
68
+ get: function () { return chunkRCA6R6VE_cjs.adminPluginRoutes; }
69
69
  });
70
70
  Object.defineProperty(exports, "adminSettingsRoutes", {
71
71
  enumerable: true,
72
- get: function () { return chunkKSB6FXOP_cjs.adminSettingsRoutes; }
72
+ get: function () { return chunkRCA6R6VE_cjs.adminSettingsRoutes; }
73
73
  });
74
74
  Object.defineProperty(exports, "adminTestimonialsRoutes", {
75
75
  enumerable: true,
76
- get: function () { return chunkKSB6FXOP_cjs.admin_testimonials_default; }
76
+ get: function () { return chunkRCA6R6VE_cjs.admin_testimonials_default; }
77
77
  });
78
78
  Object.defineProperty(exports, "adminUsersRoutes", {
79
79
  enumerable: true,
80
- get: function () { return chunkKSB6FXOP_cjs.userRoutes; }
80
+ get: function () { return chunkRCA6R6VE_cjs.userRoutes; }
81
81
  });
82
82
  Object.defineProperty(exports, "apiContentCrudRoutes", {
83
83
  enumerable: true,
84
- get: function () { return chunkKSB6FXOP_cjs.api_content_crud_default; }
84
+ get: function () { return chunkRCA6R6VE_cjs.api_content_crud_default; }
85
85
  });
86
86
  Object.defineProperty(exports, "apiMediaRoutes", {
87
87
  enumerable: true,
88
- get: function () { return chunkKSB6FXOP_cjs.api_media_default; }
88
+ get: function () { return chunkRCA6R6VE_cjs.api_media_default; }
89
89
  });
90
90
  Object.defineProperty(exports, "apiRoutes", {
91
91
  enumerable: true,
92
- get: function () { return chunkKSB6FXOP_cjs.api_default; }
92
+ get: function () { return chunkRCA6R6VE_cjs.api_default; }
93
93
  });
94
94
  Object.defineProperty(exports, "apiSystemRoutes", {
95
95
  enumerable: true,
96
- get: function () { return chunkKSB6FXOP_cjs.api_system_default; }
96
+ get: function () { return chunkRCA6R6VE_cjs.api_system_default; }
97
97
  });
98
98
  Object.defineProperty(exports, "authRoutes", {
99
99
  enumerable: true,
100
- get: function () { return chunkKSB6FXOP_cjs.auth_default; }
100
+ get: function () { return chunkRCA6R6VE_cjs.auth_default; }
101
101
  });
102
102
  Object.defineProperty(exports, "publicFormsRoutes", {
103
103
  enumerable: true,
104
- get: function () { return chunkKSB6FXOP_cjs.public_forms_default; }
104
+ get: function () { return chunkRCA6R6VE_cjs.public_forms_default; }
105
105
  });
106
106
  Object.defineProperty(exports, "testCleanupRoutes", {
107
107
  enumerable: true,
108
- get: function () { return chunkKSB6FXOP_cjs.test_cleanup_default; }
108
+ get: function () { return chunkRCA6R6VE_cjs.test_cleanup_default; }
109
109
  });
110
110
  //# sourceMappingURL=routes.cjs.map
111
111
  //# sourceMappingURL=routes.cjs.map
package/dist/routes.js CHANGED
@@ -1,11 +1,11 @@
1
- export { ROUTES_INFO, router2 as adminApiReferenceRoutes, admin_api_default as adminApiRoutes, adminCheckboxRoutes, admin_code_examples_default as adminCodeExamplesRoutes, adminCollectionsRoutes, admin_content_default as adminContentRoutes, router as adminDashboardRoutes, adminDesignRoutes, adminFormsRoutes, adminLogsRoutes, adminMediaRoutes, adminPluginRoutes, adminSettingsRoutes, admin_testimonials_default as adminTestimonialsRoutes, userRoutes as adminUsersRoutes, api_content_crud_default as apiContentCrudRoutes, api_media_default as apiMediaRoutes, api_default as apiRoutes, api_system_default as apiSystemRoutes, auth_default as authRoutes, public_forms_default as publicFormsRoutes, test_cleanup_default as testCleanupRoutes } from './chunk-2JGQKF7B.js';
1
+ export { ROUTES_INFO, router2 as adminApiReferenceRoutes, admin_api_default as adminApiRoutes, adminCheckboxRoutes, admin_code_examples_default as adminCodeExamplesRoutes, adminCollectionsRoutes, admin_content_default as adminContentRoutes, router as adminDashboardRoutes, adminDesignRoutes, adminFormsRoutes, adminLogsRoutes, adminMediaRoutes, adminPluginRoutes, adminSettingsRoutes, admin_testimonials_default as adminTestimonialsRoutes, userRoutes as adminUsersRoutes, api_content_crud_default as apiContentCrudRoutes, api_media_default as apiMediaRoutes, api_default as apiRoutes, api_system_default as apiSystemRoutes, auth_default as authRoutes, public_forms_default as publicFormsRoutes, test_cleanup_default as testCleanupRoutes } from './chunk-JTNUM7JE.js';
2
2
  import './chunk-7JMMLHPQ.js';
3
- import './chunk-25YNV4RK.js';
4
- import './chunk-YFJJU26H.js';
5
- import './chunk-STTZVLY2.js';
3
+ import './chunk-4TTMQQC7.js';
4
+ import './chunk-27AOVQTR.js';
5
+ import './chunk-6O3RJV3C.js';
6
6
  import './chunk-JJS7JZCH.js';
7
7
  import './chunk-J5WGMRSU.js';
8
- import './chunk-3FHMXGLF.js';
8
+ import './chunk-IZWNIUJI.js';
9
9
  import './chunk-X7ZAEI5S.js';
10
10
  import './chunk-FICTAGD4.js';
11
11
  import './chunk-TQABQWOP.js';
package/dist/services.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk64APW3DW_cjs = require('./chunk-64APW3DW.cjs');
4
- var chunkMPT5PA6U_cjs = require('./chunk-MPT5PA6U.cjs');
5
- var chunkLDFMYRG6_cjs = require('./chunk-LDFMYRG6.cjs');
4
+ var chunkIIBRG5S5_cjs = require('./chunk-IIBRG5S5.cjs');
5
+ var chunkZMVWMJ3S_cjs = require('./chunk-ZMVWMJ3S.cjs');
6
6
  require('./chunk-P3XDZL6Q.cjs');
7
7
  require('./chunk-IGJUBJBW.cjs');
8
8
 
@@ -70,59 +70,59 @@ Object.defineProperty(exports, "setAppInstance", {
70
70
  });
71
71
  Object.defineProperty(exports, "PluginBootstrapService", {
72
72
  enumerable: true,
73
- get: function () { return chunkMPT5PA6U_cjs.PluginBootstrapService; }
73
+ get: function () { return chunkIIBRG5S5_cjs.PluginBootstrapService; }
74
74
  });
75
75
  Object.defineProperty(exports, "PluginService", {
76
76
  enumerable: true,
77
- get: function () { return chunkMPT5PA6U_cjs.PluginService; }
77
+ get: function () { return chunkIIBRG5S5_cjs.PluginService; }
78
78
  });
79
79
  Object.defineProperty(exports, "cleanupRemovedCollections", {
80
80
  enumerable: true,
81
- get: function () { return chunkMPT5PA6U_cjs.cleanupRemovedCollections; }
81
+ get: function () { return chunkIIBRG5S5_cjs.cleanupRemovedCollections; }
82
82
  });
83
83
  Object.defineProperty(exports, "fullCollectionSync", {
84
84
  enumerable: true,
85
- get: function () { return chunkMPT5PA6U_cjs.fullCollectionSync; }
85
+ get: function () { return chunkIIBRG5S5_cjs.fullCollectionSync; }
86
86
  });
87
87
  Object.defineProperty(exports, "getAvailableCollectionNames", {
88
88
  enumerable: true,
89
- get: function () { return chunkMPT5PA6U_cjs.getAvailableCollectionNames; }
89
+ get: function () { return chunkIIBRG5S5_cjs.getAvailableCollectionNames; }
90
90
  });
91
91
  Object.defineProperty(exports, "getManagedCollections", {
92
92
  enumerable: true,
93
- get: function () { return chunkMPT5PA6U_cjs.getManagedCollections; }
93
+ get: function () { return chunkIIBRG5S5_cjs.getManagedCollections; }
94
94
  });
95
95
  Object.defineProperty(exports, "isCollectionManaged", {
96
96
  enumerable: true,
97
- get: function () { return chunkMPT5PA6U_cjs.isCollectionManaged; }
97
+ get: function () { return chunkIIBRG5S5_cjs.isCollectionManaged; }
98
98
  });
99
99
  Object.defineProperty(exports, "loadCollectionConfig", {
100
100
  enumerable: true,
101
- get: function () { return chunkMPT5PA6U_cjs.loadCollectionConfig; }
101
+ get: function () { return chunkIIBRG5S5_cjs.loadCollectionConfig; }
102
102
  });
103
103
  Object.defineProperty(exports, "loadCollectionConfigs", {
104
104
  enumerable: true,
105
- get: function () { return chunkMPT5PA6U_cjs.loadCollectionConfigs; }
105
+ get: function () { return chunkIIBRG5S5_cjs.loadCollectionConfigs; }
106
106
  });
107
107
  Object.defineProperty(exports, "registerCollections", {
108
108
  enumerable: true,
109
- get: function () { return chunkMPT5PA6U_cjs.registerCollections; }
109
+ get: function () { return chunkIIBRG5S5_cjs.registerCollections; }
110
110
  });
111
111
  Object.defineProperty(exports, "syncCollection", {
112
112
  enumerable: true,
113
- get: function () { return chunkMPT5PA6U_cjs.syncCollection; }
113
+ get: function () { return chunkIIBRG5S5_cjs.syncCollection; }
114
114
  });
115
115
  Object.defineProperty(exports, "syncCollections", {
116
116
  enumerable: true,
117
- get: function () { return chunkMPT5PA6U_cjs.syncCollections; }
117
+ get: function () { return chunkIIBRG5S5_cjs.syncCollections; }
118
118
  });
119
119
  Object.defineProperty(exports, "validateCollectionConfig", {
120
120
  enumerable: true,
121
- get: function () { return chunkMPT5PA6U_cjs.validateCollectionConfig; }
121
+ get: function () { return chunkIIBRG5S5_cjs.validateCollectionConfig; }
122
122
  });
123
123
  Object.defineProperty(exports, "MigrationService", {
124
124
  enumerable: true,
125
- get: function () { return chunkLDFMYRG6_cjs.MigrationService; }
125
+ get: function () { return chunkZMVWMJ3S_cjs.MigrationService; }
126
126
  });
127
127
  //# sourceMappingURL=services.cjs.map
128
128
  //# sourceMappingURL=services.cjs.map
@@ -1,6 +1,6 @@
1
- export { b as CorePlugin, L as LogCategory, e as LogEntry, f as LogFilter, g as LogLevel, h as Logger, i as Migration, j as MigrationService, k as MigrationStatus, z as PluginBootstrapService, B as PluginService, E as cleanupRemovedCollections, I as fullCollectionSync, J as getAvailableCollectionNames, K as getLogger, O as getManagedCollections, Q as initLogger, a4 as isCollectionManaged, a5 as loadCollectionConfig, a6 as loadCollectionConfigs, ae as registerCollections, ar as syncCollection, as as syncCollections, av as validateCollectionConfig } from './plugin-bootstrap-BAz7NY0H.cjs';
1
+ export { b as CorePlugin, L as LogCategory, e as LogEntry, f as LogFilter, g as LogLevel, h as Logger, i as Migration, j as MigrationService, k as MigrationStatus, z as PluginBootstrapService, B as PluginService, E as cleanupRemovedCollections, I as fullCollectionSync, J as getAvailableCollectionNames, K as getLogger, O as getManagedCollections, Q as initLogger, a4 as isCollectionManaged, a5 as loadCollectionConfig, a6 as loadCollectionConfigs, ae as registerCollections, ar as syncCollection, as as syncCollections, av as validateCollectionConfig } from './plugin-bootstrap-fpG98Otb.cjs';
2
2
  import { T as TelemetryConfig, b as TelemetryIdentity, a as TelemetryEvent, c as TelemetryProperties } from './telemetry-B9vIV4wh.cjs';
3
- import './collection-config-DckWhkdL.cjs';
3
+ import './collection-config-B4PG-AaF.cjs';
4
4
  import '@cloudflare/workers-types';
5
5
  import 'drizzle-zod';
6
6
  import 'drizzle-orm/sqlite-core';
@@ -1,6 +1,6 @@
1
- export { b as CorePlugin, L as LogCategory, e as LogEntry, f as LogFilter, g as LogLevel, h as Logger, i as Migration, j as MigrationService, k as MigrationStatus, z as PluginBootstrapService, B as PluginService, E as cleanupRemovedCollections, I as fullCollectionSync, J as getAvailableCollectionNames, K as getLogger, O as getManagedCollections, Q as initLogger, a4 as isCollectionManaged, a5 as loadCollectionConfig, a6 as loadCollectionConfigs, ae as registerCollections, ar as syncCollection, as as syncCollections, av as validateCollectionConfig } from './plugin-bootstrap-Cz3-bj8X.js';
1
+ export { b as CorePlugin, L as LogCategory, e as LogEntry, f as LogFilter, g as LogLevel, h as Logger, i as Migration, j as MigrationService, k as MigrationStatus, z as PluginBootstrapService, B as PluginService, E as cleanupRemovedCollections, I as fullCollectionSync, J as getAvailableCollectionNames, K as getLogger, O as getManagedCollections, Q as initLogger, a4 as isCollectionManaged, a5 as loadCollectionConfig, a6 as loadCollectionConfigs, ae as registerCollections, ar as syncCollection, as as syncCollections, av as validateCollectionConfig } from './plugin-bootstrap-WmpvYM5w.js';
2
2
  import { T as TelemetryConfig, b as TelemetryIdentity, a as TelemetryEvent, c as TelemetryProperties } from './telemetry-B9vIV4wh.js';
3
- import './collection-config-DckWhkdL.js';
3
+ import './collection-config-B4PG-AaF.js';
4
4
  import '@cloudflare/workers-types';
5
5
  import 'drizzle-zod';
6
6
  import 'drizzle-orm/sqlite-core';
package/dist/services.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { CACHE_CONFIGS, CATEGORY_INFO, CacheService, Logger, SettingsService, TelemetryService, buildRouteList, createInstallationIdentity, getAppInstance, getCacheService, getLogger, getTelemetryService, initLogger, initTelemetry, setAppInstance } from './chunk-7JMMLHPQ.js';
2
- export { PluginBootstrapService, PluginService, cleanupRemovedCollections, fullCollectionSync, getAvailableCollectionNames, getManagedCollections, isCollectionManaged, loadCollectionConfig, loadCollectionConfigs, registerCollections, syncCollection, syncCollections, validateCollectionConfig } from './chunk-YFJJU26H.js';
3
- export { MigrationService } from './chunk-STTZVLY2.js';
2
+ export { PluginBootstrapService, PluginService, cleanupRemovedCollections, fullCollectionSync, getAvailableCollectionNames, getManagedCollections, isCollectionManaged, loadCollectionConfig, loadCollectionConfigs, registerCollections, syncCollection, syncCollections, validateCollectionConfig } from './chunk-27AOVQTR.js';
3
+ export { MigrationService } from './chunk-6O3RJV3C.js';
4
4
  import './chunk-X7ZAEI5S.js';
5
5
  import './chunk-V4OQ3NZ2.js';
6
6
  //# sourceMappingURL=services.js.map
package/dist/types.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BlockDefinition, a as BlockDefinitions, C as CollectionConfig, b as CollectionConfigModule, c as CollectionSchema, d as CollectionSyncResult, F as FieldConfig, e as FieldType } from './collection-config-DckWhkdL.cjs';
1
+ export { B as BlockDefinition, a as BlockDefinitions, C as CollectionConfig, b as CollectionConfigModule, c as CollectionSchema, d as CollectionSyncResult, F as FieldConfig, e as FieldType } from './collection-config-B4PG-AaF.cjs';
2
2
  export { A as AuthService, C as ContentService, H as HOOKS, a as HookContext, b as HookHandler, c as HookName, d as HookSystem, M as MediaService, e as ModelRelationship, P as Plugin, f as PluginAdminPage, g as PluginBuilderOptions, h as PluginComponent, i as PluginConfig, j as PluginContext, k as PluginHook, l as PluginLogger, m as PluginManager, n as PluginMenuItem, o as PluginMiddleware, p as PluginModel, q as PluginRegistry, r as PluginRoutes, s as PluginService, t as PluginStatus, u as PluginValidationResult, v as PluginValidator, S as ScopedHookSystem } from './plugin-0Xogrln-.cjs';
3
3
  export { P as PluginManifest } from './plugin-manifest-Dpy8wxIB.cjs';
4
4
  export { T as TelemetryConfig, a as TelemetryEvent, b as TelemetryIdentity, c as TelemetryProperties } from './telemetry-B9vIV4wh.cjs';
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BlockDefinition, a as BlockDefinitions, C as CollectionConfig, b as CollectionConfigModule, c as CollectionSchema, d as CollectionSyncResult, F as FieldConfig, e as FieldType } from './collection-config-DckWhkdL.js';
1
+ export { B as BlockDefinition, a as BlockDefinitions, C as CollectionConfig, b as CollectionConfigModule, c as CollectionSchema, d as CollectionSyncResult, F as FieldConfig, e as FieldType } from './collection-config-B4PG-AaF.js';
2
2
  export { A as AuthService, C as ContentService, H as HOOKS, a as HookContext, b as HookHandler, c as HookName, d as HookSystem, M as MediaService, e as ModelRelationship, P as Plugin, f as PluginAdminPage, g as PluginBuilderOptions, h as PluginComponent, i as PluginConfig, j as PluginContext, k as PluginHook, l as PluginLogger, m as PluginManager, n as PluginMenuItem, o as PluginMiddleware, p as PluginModel, q as PluginRegistry, r as PluginRoutes, s as PluginService, t as PluginStatus, u as PluginValidationResult, v as PluginValidator, S as ScopedHookSystem } from './plugin-0Xogrln-.js';
3
3
  export { P as PluginManifest } from './plugin-manifest-Dpy8wxIB.js';
4
4
  export { T as TelemetryConfig, a as TelemetryEvent, b as TelemetryIdentity, c as TelemetryProperties } from './telemetry-B9vIV4wh.js';
package/dist/utils.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkSHU7Q66Q_cjs = require('./chunk-SHU7Q66Q.cjs');
3
+ var chunkEKPLKUZT_cjs = require('./chunk-EKPLKUZT.cjs');
4
4
  var chunkP3XDZL6Q_cjs = require('./chunk-P3XDZL6Q.cjs');
5
5
  var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
6
6
  var chunkMNWKYY5E_cjs = require('./chunk-MNWKYY5E.cjs');
@@ -10,43 +10,43 @@ require('./chunk-IGJUBJBW.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "QueryFilterBuilder", {
12
12
  enumerable: true,
13
- get: function () { return chunkSHU7Q66Q_cjs.QueryFilterBuilder; }
13
+ get: function () { return chunkEKPLKUZT_cjs.QueryFilterBuilder; }
14
14
  });
15
15
  Object.defineProperty(exports, "SONICJS_VERSION", {
16
16
  enumerable: true,
17
- get: function () { return chunkSHU7Q66Q_cjs.SONICJS_VERSION; }
17
+ get: function () { return chunkEKPLKUZT_cjs.SONICJS_VERSION; }
18
18
  });
19
19
  Object.defineProperty(exports, "TemplateRenderer", {
20
20
  enumerable: true,
21
- get: function () { return chunkSHU7Q66Q_cjs.TemplateRenderer; }
21
+ get: function () { return chunkEKPLKUZT_cjs.TemplateRenderer; }
22
22
  });
23
23
  Object.defineProperty(exports, "buildQuery", {
24
24
  enumerable: true,
25
- get: function () { return chunkSHU7Q66Q_cjs.buildQuery; }
25
+ get: function () { return chunkEKPLKUZT_cjs.buildQuery; }
26
26
  });
27
27
  Object.defineProperty(exports, "generateSlug", {
28
28
  enumerable: true,
29
- get: function () { return chunkSHU7Q66Q_cjs.generateSlug; }
29
+ get: function () { return chunkEKPLKUZT_cjs.generateSlug; }
30
30
  });
31
31
  Object.defineProperty(exports, "getBlocksFieldConfig", {
32
32
  enumerable: true,
33
- get: function () { return chunkSHU7Q66Q_cjs.getBlocksFieldConfig; }
33
+ get: function () { return chunkEKPLKUZT_cjs.getBlocksFieldConfig; }
34
34
  });
35
35
  Object.defineProperty(exports, "getCoreVersion", {
36
36
  enumerable: true,
37
- get: function () { return chunkSHU7Q66Q_cjs.getCoreVersion; }
37
+ get: function () { return chunkEKPLKUZT_cjs.getCoreVersion; }
38
38
  });
39
39
  Object.defineProperty(exports, "parseBlocksValue", {
40
40
  enumerable: true,
41
- get: function () { return chunkSHU7Q66Q_cjs.parseBlocksValue; }
41
+ get: function () { return chunkEKPLKUZT_cjs.parseBlocksValue; }
42
42
  });
43
43
  Object.defineProperty(exports, "renderTemplate", {
44
44
  enumerable: true,
45
- get: function () { return chunkSHU7Q66Q_cjs.renderTemplate; }
45
+ get: function () { return chunkEKPLKUZT_cjs.renderTemplate; }
46
46
  });
47
47
  Object.defineProperty(exports, "templateRenderer", {
48
48
  enumerable: true,
49
- get: function () { return chunkSHU7Q66Q_cjs.templateRenderer; }
49
+ get: function () { return chunkEKPLKUZT_cjs.templateRenderer; }
50
50
  });
51
51
  Object.defineProperty(exports, "generateInstallationId", {
52
52
  enumerable: true,
package/dist/utils.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { F as FilterCondition, a as FilterGroup, b as FilterOperator, Q as QueryFilter, c as QueryFilterBuilder, d as QueryResult, S as SONICJS_VERSION, T as TemplateRenderer, e as buildQuery, f as escapeHtml, g as getCoreVersion, m as metricsTracker, r as renderTemplate, s as sanitizeInput, h as sanitizeObject, t as templateRenderer } from './version-ChpccWQ1.cjs';
2
2
  import { T as TelemetryConfig } from './telemetry-B9vIV4wh.cjs';
3
- import { a as BlockDefinitions } from './collection-config-DckWhkdL.cjs';
3
+ import { a as BlockDefinitions } from './collection-config-B4PG-AaF.cjs';
4
4
 
5
5
  /**
6
6
  * Slug generation utilities for creating URL-friendly slugs
package/dist/utils.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { F as FilterCondition, a as FilterGroup, b as FilterOperator, Q as QueryFilter, c as QueryFilterBuilder, d as QueryResult, S as SONICJS_VERSION, T as TemplateRenderer, e as buildQuery, f as escapeHtml, g as getCoreVersion, m as metricsTracker, r as renderTemplate, s as sanitizeInput, h as sanitizeObject, t as templateRenderer } from './version-ChpccWQ1.js';
2
2
  import { T as TelemetryConfig } from './telemetry-B9vIV4wh.js';
3
- import { a as BlockDefinitions } from './collection-config-DckWhkdL.js';
3
+ import { a as BlockDefinitions } from './collection-config-B4PG-AaF.js';
4
4
 
5
5
  /**
6
6
  * Slug generation utilities for creating URL-friendly slugs
package/dist/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, generateSlug, getBlocksFieldConfig, getCoreVersion, parseBlocksValue, renderTemplate, templateRenderer } from './chunk-3FHMXGLF.js';
1
+ export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, generateSlug, getBlocksFieldConfig, getCoreVersion, parseBlocksValue, renderTemplate, templateRenderer } from './chunk-IZWNIUJI.js';
2
2
  export { generateInstallationId, generateProjectId, getDefaultTelemetryConfig, getTelemetryConfig, isTelemetryEnabled, sanitizeErrorMessage, sanitizeRoute, shouldSkipEvent } from './chunk-X7ZAEI5S.js';
3
3
  export { metricsTracker } from './chunk-FICTAGD4.js';
4
4
  export { escapeHtml, sanitizeInput, sanitizeObject } from './chunk-TQABQWOP.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonicjs-cms/core",
3
- "version": "2.9.0",
3
+ "version": "2.10.0",
4
4
  "description": "Core framework for SonicJS headless CMS - Edge-first, TypeScript-native CMS built for Cloudflare Workers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -102,16 +102,20 @@
102
102
  "zod": "^3.0.0 || ^4.0.0"
103
103
  },
104
104
  "dependencies": {
105
+ "@cf-wasm/resvg": "^0.3.3",
105
106
  "csv-parse": "^6.2.1",
106
107
  "drizzle-zod": "^0.8.3",
107
108
  "highlight.js": "^11.11.1",
109
+ "linkedom": "^0.18.12",
108
110
  "marked": "^16.4.1",
111
+ "qrcode-svg": "^1.1.0",
109
112
  "semver": "^7.7.3",
110
113
  "tiny-lru": "^13.0.0"
111
114
  },
112
115
  "devDependencies": {
113
116
  "@cloudflare/workers-types": "^4.20251014.0",
114
117
  "@types/node": "^24.9.2",
118
+ "@types/qrcode-svg": "^1.1.5",
115
119
  "@typescript-eslint/eslint-plugin": "^8.50.0",
116
120
  "@typescript-eslint/parser": "^8.50.0",
117
121
  "@vitest/coverage-v8": "^4.0.5",