@sonicjs-cms/core 2.8.2 → 2.8.3

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 (47) hide show
  1. package/dist/{chunk-WI5ESQKT.js → chunk-5XAI2XUF.js} +3 -3
  2. package/dist/{chunk-WI5ESQKT.js.map → chunk-5XAI2XUF.js.map} +1 -1
  3. package/dist/{chunk-4Z5BQZT6.js → chunk-CH5UHZVM.js} +160 -23
  4. package/dist/chunk-CH5UHZVM.js.map +1 -0
  5. package/dist/{chunk-I6REMSMF.js → chunk-GTFMI24U.js} +2 -2
  6. package/dist/{chunk-I6REMSMF.js.map → chunk-GTFMI24U.js.map} +1 -1
  7. package/dist/{chunk-VGSZWZP3.cjs → chunk-HXHVU5GM.cjs} +2 -2
  8. package/dist/{chunk-VGSZWZP3.cjs.map → chunk-HXHVU5GM.cjs.map} +1 -1
  9. package/dist/{chunk-JSHIGVIF.cjs → chunk-JDIM5AG7.cjs} +3 -3
  10. package/dist/{chunk-JSHIGVIF.cjs.map → chunk-JDIM5AG7.cjs.map} +1 -1
  11. package/dist/{chunk-ZWKCL46S.cjs → chunk-K4Q4SFJJ.cjs} +4 -4
  12. package/dist/{chunk-ZWKCL46S.cjs.map → chunk-K4Q4SFJJ.cjs.map} +1 -1
  13. package/dist/{chunk-3U5YHS4G.cjs → chunk-R4WR3VTN.cjs} +238 -101
  14. package/dist/chunk-R4WR3VTN.cjs.map +1 -0
  15. package/dist/{chunk-FUUVSYVQ.js → chunk-Y3VMEGY2.js} +3 -3
  16. package/dist/{chunk-FUUVSYVQ.js.map → chunk-Y3VMEGY2.js.map} +1 -1
  17. package/dist/{collection-config-BF95LgQb.d.cts → collection-config-i8EaAF7z.d.cts} +2 -1
  18. package/dist/{collection-config-BF95LgQb.d.ts → collection-config-i8EaAF7z.d.ts} +2 -1
  19. package/dist/index.cjs +83 -83
  20. package/dist/index.d.cts +3 -3
  21. package/dist/index.d.ts +3 -3
  22. package/dist/index.js +7 -7
  23. package/dist/middleware.cjs +28 -28
  24. package/dist/middleware.js +2 -2
  25. package/dist/migrations-7X4RPH7O.cjs +13 -0
  26. package/dist/{migrations-F3G6CTRS.cjs.map → migrations-7X4RPH7O.cjs.map} +1 -1
  27. package/dist/migrations-KHWFJ2HN.js +4 -0
  28. package/dist/{migrations-LLNEST75.js.map → migrations-KHWFJ2HN.js.map} +1 -1
  29. package/dist/{plugin-bootstrap-C7Mj00Ud.d.ts → plugin-bootstrap-CJozpgmI.d.cts} +1 -1
  30. package/dist/{plugin-bootstrap-DKB5f8-E.d.cts → plugin-bootstrap-DU5VmuHZ.d.ts} +1 -1
  31. package/dist/routes.cjs +27 -27
  32. package/dist/routes.js +4 -4
  33. package/dist/services.cjs +2 -2
  34. package/dist/services.d.cts +2 -2
  35. package/dist/services.d.ts +2 -2
  36. package/dist/services.js +1 -1
  37. package/dist/types.d.cts +1 -1
  38. package/dist/types.d.ts +1 -1
  39. package/dist/utils.cjs +11 -11
  40. package/dist/utils.d.cts +1 -1
  41. package/dist/utils.d.ts +1 -1
  42. package/dist/utils.js +1 -1
  43. package/package.json +1 -1
  44. package/dist/chunk-3U5YHS4G.cjs.map +0 -1
  45. package/dist/chunk-4Z5BQZT6.js.map +0 -1
  46. package/dist/migrations-F3G6CTRS.cjs +0 -13
  47. package/dist/migrations-LLNEST75.js +0 -4
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkZWKCL46S_cjs = require('./chunk-ZWKCL46S.cjs');
3
+ var chunkK4Q4SFJJ_cjs = require('./chunk-K4Q4SFJJ.cjs');
4
4
  require('./chunk-MPT5PA6U.cjs');
5
- require('./chunk-VGSZWZP3.cjs');
5
+ require('./chunk-HXHVU5GM.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 chunkZWKCL46S_cjs.AuthManager; }
13
+ get: function () { return chunkK4Q4SFJJ_cjs.AuthManager; }
14
14
  });
15
15
  Object.defineProperty(exports, "PermissionManager", {
16
16
  enumerable: true,
17
- get: function () { return chunkZWKCL46S_cjs.PermissionManager; }
17
+ get: function () { return chunkK4Q4SFJJ_cjs.PermissionManager; }
18
18
  });
19
19
  Object.defineProperty(exports, "bootstrapMiddleware", {
20
20
  enumerable: true,
21
- get: function () { return chunkZWKCL46S_cjs.bootstrapMiddleware; }
21
+ get: function () { return chunkK4Q4SFJJ_cjs.bootstrapMiddleware; }
22
22
  });
23
23
  Object.defineProperty(exports, "cacheHeaders", {
24
24
  enumerable: true,
25
- get: function () { return chunkZWKCL46S_cjs.cacheHeaders; }
25
+ get: function () { return chunkK4Q4SFJJ_cjs.cacheHeaders; }
26
26
  });
27
27
  Object.defineProperty(exports, "compressionMiddleware", {
28
28
  enumerable: true,
29
- get: function () { return chunkZWKCL46S_cjs.compressionMiddleware; }
29
+ get: function () { return chunkK4Q4SFJJ_cjs.compressionMiddleware; }
30
30
  });
31
31
  Object.defineProperty(exports, "csrfProtection", {
32
32
  enumerable: true,
33
- get: function () { return chunkZWKCL46S_cjs.csrfProtection; }
33
+ get: function () { return chunkK4Q4SFJJ_cjs.csrfProtection; }
34
34
  });
35
35
  Object.defineProperty(exports, "detailedLoggingMiddleware", {
36
36
  enumerable: true,
37
- get: function () { return chunkZWKCL46S_cjs.detailedLoggingMiddleware; }
37
+ get: function () { return chunkK4Q4SFJJ_cjs.detailedLoggingMiddleware; }
38
38
  });
39
39
  Object.defineProperty(exports, "generateCsrfToken", {
40
40
  enumerable: true,
41
- get: function () { return chunkZWKCL46S_cjs.generateCsrfToken; }
41
+ get: function () { return chunkK4Q4SFJJ_cjs.generateCsrfToken; }
42
42
  });
43
43
  Object.defineProperty(exports, "getActivePlugins", {
44
44
  enumerable: true,
45
- get: function () { return chunkZWKCL46S_cjs.getActivePlugins; }
45
+ get: function () { return chunkK4Q4SFJJ_cjs.getActivePlugins; }
46
46
  });
47
47
  Object.defineProperty(exports, "isPluginActive", {
48
48
  enumerable: true,
49
- get: function () { return chunkZWKCL46S_cjs.isPluginActive; }
49
+ get: function () { return chunkK4Q4SFJJ_cjs.isPluginActive; }
50
50
  });
51
51
  Object.defineProperty(exports, "logActivity", {
52
52
  enumerable: true,
53
- get: function () { return chunkZWKCL46S_cjs.logActivity; }
53
+ get: function () { return chunkK4Q4SFJJ_cjs.logActivity; }
54
54
  });
55
55
  Object.defineProperty(exports, "loggingMiddleware", {
56
56
  enumerable: true,
57
- get: function () { return chunkZWKCL46S_cjs.loggingMiddleware; }
57
+ get: function () { return chunkK4Q4SFJJ_cjs.loggingMiddleware; }
58
58
  });
59
59
  Object.defineProperty(exports, "metricsMiddleware", {
60
60
  enumerable: true,
61
- get: function () { return chunkZWKCL46S_cjs.metricsMiddleware; }
61
+ get: function () { return chunkK4Q4SFJJ_cjs.metricsMiddleware; }
62
62
  });
63
63
  Object.defineProperty(exports, "optionalAuth", {
64
64
  enumerable: true,
65
- get: function () { return chunkZWKCL46S_cjs.optionalAuth; }
65
+ get: function () { return chunkK4Q4SFJJ_cjs.optionalAuth; }
66
66
  });
67
67
  Object.defineProperty(exports, "performanceLoggingMiddleware", {
68
68
  enumerable: true,
69
- get: function () { return chunkZWKCL46S_cjs.performanceLoggingMiddleware; }
69
+ get: function () { return chunkK4Q4SFJJ_cjs.performanceLoggingMiddleware; }
70
70
  });
71
71
  Object.defineProperty(exports, "rateLimit", {
72
72
  enumerable: true,
73
- get: function () { return chunkZWKCL46S_cjs.rateLimit; }
73
+ get: function () { return chunkK4Q4SFJJ_cjs.rateLimit; }
74
74
  });
75
75
  Object.defineProperty(exports, "requireActivePlugin", {
76
76
  enumerable: true,
77
- get: function () { return chunkZWKCL46S_cjs.requireActivePlugin; }
77
+ get: function () { return chunkK4Q4SFJJ_cjs.requireActivePlugin; }
78
78
  });
79
79
  Object.defineProperty(exports, "requireActivePlugins", {
80
80
  enumerable: true,
81
- get: function () { return chunkZWKCL46S_cjs.requireActivePlugins; }
81
+ get: function () { return chunkK4Q4SFJJ_cjs.requireActivePlugins; }
82
82
  });
83
83
  Object.defineProperty(exports, "requireAnyPermission", {
84
84
  enumerable: true,
85
- get: function () { return chunkZWKCL46S_cjs.requireAnyPermission; }
85
+ get: function () { return chunkK4Q4SFJJ_cjs.requireAnyPermission; }
86
86
  });
87
87
  Object.defineProperty(exports, "requireAuth", {
88
88
  enumerable: true,
89
- get: function () { return chunkZWKCL46S_cjs.requireAuth; }
89
+ get: function () { return chunkK4Q4SFJJ_cjs.requireAuth; }
90
90
  });
91
91
  Object.defineProperty(exports, "requirePermission", {
92
92
  enumerable: true,
93
- get: function () { return chunkZWKCL46S_cjs.requirePermission; }
93
+ get: function () { return chunkK4Q4SFJJ_cjs.requirePermission; }
94
94
  });
95
95
  Object.defineProperty(exports, "requireRole", {
96
96
  enumerable: true,
97
- get: function () { return chunkZWKCL46S_cjs.requireRole; }
97
+ get: function () { return chunkK4Q4SFJJ_cjs.requireRole; }
98
98
  });
99
99
  Object.defineProperty(exports, "securityHeaders", {
100
100
  enumerable: true,
101
- get: function () { return chunkZWKCL46S_cjs.securityHeadersMiddleware; }
101
+ get: function () { return chunkK4Q4SFJJ_cjs.securityHeadersMiddleware; }
102
102
  });
103
103
  Object.defineProperty(exports, "securityLoggingMiddleware", {
104
104
  enumerable: true,
105
- get: function () { return chunkZWKCL46S_cjs.securityLoggingMiddleware; }
105
+ get: function () { return chunkK4Q4SFJJ_cjs.securityLoggingMiddleware; }
106
106
  });
107
107
  Object.defineProperty(exports, "validateCsrfToken", {
108
108
  enumerable: true,
109
- get: function () { return chunkZWKCL46S_cjs.validateCsrfToken; }
109
+ get: function () { return chunkK4Q4SFJJ_cjs.validateCsrfToken; }
110
110
  });
111
111
  Object.defineProperty(exports, "verifySecurityConfig", {
112
112
  enumerable: true,
113
- get: function () { return chunkZWKCL46S_cjs.verifySecurityConfig; }
113
+ get: function () { return chunkK4Q4SFJJ_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-FUUVSYVQ.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-Y3VMEGY2.js';
2
2
  import './chunk-YFJJU26H.js';
3
- import './chunk-I6REMSMF.js';
3
+ import './chunk-GTFMI24U.js';
4
4
  import './chunk-FICTAGD4.js';
5
5
  import './chunk-V4OQ3NZ2.js';
6
6
  //# sourceMappingURL=middleware.js.map
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkHXHVU5GM_cjs = require('./chunk-HXHVU5GM.cjs');
4
+ require('./chunk-IGJUBJBW.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "MigrationService", {
9
+ enumerable: true,
10
+ get: function () { return chunkHXHVU5GM_cjs.MigrationService; }
11
+ });
12
+ //# sourceMappingURL=migrations-7X4RPH7O.cjs.map
13
+ //# sourceMappingURL=migrations-7X4RPH7O.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-F3G6CTRS.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-7X4RPH7O.cjs"}
@@ -0,0 +1,4 @@
1
+ export { MigrationService } from './chunk-GTFMI24U.js';
2
+ import './chunk-V4OQ3NZ2.js';
3
+ //# sourceMappingURL=migrations-KHWFJ2HN.js.map
4
+ //# sourceMappingURL=migrations-KHWFJ2HN.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-LLNEST75.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-KHWFJ2HN.js"}
@@ -1,4 +1,4 @@
1
- import { c as CollectionConfig, e as CollectionSyncResult } from './collection-config-BF95LgQb.js';
1
+ import { c as CollectionConfig, e as CollectionSyncResult } from './collection-config-i8EaAF7z.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';
@@ -1,4 +1,4 @@
1
- import { c as CollectionConfig, e as CollectionSyncResult } from './collection-config-BF95LgQb.cjs';
1
+ import { c as CollectionConfig, e as CollectionSyncResult } from './collection-config-i8EaAF7z.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';
package/dist/routes.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunk3U5YHS4G_cjs = require('./chunk-3U5YHS4G.cjs');
3
+ var chunkR4WR3VTN_cjs = require('./chunk-R4WR3VTN.cjs');
4
4
  require('./chunk-VNLR35GO.cjs');
5
- require('./chunk-ZWKCL46S.cjs');
5
+ require('./chunk-K4Q4SFJJ.cjs');
6
6
  require('./chunk-MPT5PA6U.cjs');
7
- require('./chunk-VGSZWZP3.cjs');
7
+ require('./chunk-HXHVU5GM.cjs');
8
8
  require('./chunk-LTKV7AE5.cjs');
9
9
  require('./chunk-6FHNRRJ3.cjs');
10
- require('./chunk-JSHIGVIF.cjs');
10
+ require('./chunk-JDIM5AG7.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 chunk3U5YHS4G_cjs.ROUTES_INFO; }
20
+ get: function () { return chunkR4WR3VTN_cjs.ROUTES_INFO; }
21
21
  });
22
22
  Object.defineProperty(exports, "adminApiReferenceRoutes", {
23
23
  enumerable: true,
24
- get: function () { return chunk3U5YHS4G_cjs.router2; }
24
+ get: function () { return chunkR4WR3VTN_cjs.router2; }
25
25
  });
26
26
  Object.defineProperty(exports, "adminApiRoutes", {
27
27
  enumerable: true,
28
- get: function () { return chunk3U5YHS4G_cjs.admin_api_default; }
28
+ get: function () { return chunkR4WR3VTN_cjs.admin_api_default; }
29
29
  });
30
30
  Object.defineProperty(exports, "adminCheckboxRoutes", {
31
31
  enumerable: true,
32
- get: function () { return chunk3U5YHS4G_cjs.adminCheckboxRoutes; }
32
+ get: function () { return chunkR4WR3VTN_cjs.adminCheckboxRoutes; }
33
33
  });
34
34
  Object.defineProperty(exports, "adminCodeExamplesRoutes", {
35
35
  enumerable: true,
36
- get: function () { return chunk3U5YHS4G_cjs.admin_code_examples_default; }
36
+ get: function () { return chunkR4WR3VTN_cjs.admin_code_examples_default; }
37
37
  });
38
38
  Object.defineProperty(exports, "adminCollectionsRoutes", {
39
39
  enumerable: true,
40
- get: function () { return chunk3U5YHS4G_cjs.adminCollectionsRoutes; }
40
+ get: function () { return chunkR4WR3VTN_cjs.adminCollectionsRoutes; }
41
41
  });
42
42
  Object.defineProperty(exports, "adminContentRoutes", {
43
43
  enumerable: true,
44
- get: function () { return chunk3U5YHS4G_cjs.admin_content_default; }
44
+ get: function () { return chunkR4WR3VTN_cjs.admin_content_default; }
45
45
  });
46
46
  Object.defineProperty(exports, "adminDashboardRoutes", {
47
47
  enumerable: true,
48
- get: function () { return chunk3U5YHS4G_cjs.router; }
48
+ get: function () { return chunkR4WR3VTN_cjs.router; }
49
49
  });
50
50
  Object.defineProperty(exports, "adminDesignRoutes", {
51
51
  enumerable: true,
52
- get: function () { return chunk3U5YHS4G_cjs.adminDesignRoutes; }
52
+ get: function () { return chunkR4WR3VTN_cjs.adminDesignRoutes; }
53
53
  });
54
54
  Object.defineProperty(exports, "adminFormsRoutes", {
55
55
  enumerable: true,
56
- get: function () { return chunk3U5YHS4G_cjs.adminFormsRoutes; }
56
+ get: function () { return chunkR4WR3VTN_cjs.adminFormsRoutes; }
57
57
  });
58
58
  Object.defineProperty(exports, "adminLogsRoutes", {
59
59
  enumerable: true,
60
- get: function () { return chunk3U5YHS4G_cjs.adminLogsRoutes; }
60
+ get: function () { return chunkR4WR3VTN_cjs.adminLogsRoutes; }
61
61
  });
62
62
  Object.defineProperty(exports, "adminMediaRoutes", {
63
63
  enumerable: true,
64
- get: function () { return chunk3U5YHS4G_cjs.adminMediaRoutes; }
64
+ get: function () { return chunkR4WR3VTN_cjs.adminMediaRoutes; }
65
65
  });
66
66
  Object.defineProperty(exports, "adminPluginRoutes", {
67
67
  enumerable: true,
68
- get: function () { return chunk3U5YHS4G_cjs.adminPluginRoutes; }
68
+ get: function () { return chunkR4WR3VTN_cjs.adminPluginRoutes; }
69
69
  });
70
70
  Object.defineProperty(exports, "adminSettingsRoutes", {
71
71
  enumerable: true,
72
- get: function () { return chunk3U5YHS4G_cjs.adminSettingsRoutes; }
72
+ get: function () { return chunkR4WR3VTN_cjs.adminSettingsRoutes; }
73
73
  });
74
74
  Object.defineProperty(exports, "adminTestimonialsRoutes", {
75
75
  enumerable: true,
76
- get: function () { return chunk3U5YHS4G_cjs.admin_testimonials_default; }
76
+ get: function () { return chunkR4WR3VTN_cjs.admin_testimonials_default; }
77
77
  });
78
78
  Object.defineProperty(exports, "adminUsersRoutes", {
79
79
  enumerable: true,
80
- get: function () { return chunk3U5YHS4G_cjs.userRoutes; }
80
+ get: function () { return chunkR4WR3VTN_cjs.userRoutes; }
81
81
  });
82
82
  Object.defineProperty(exports, "apiContentCrudRoutes", {
83
83
  enumerable: true,
84
- get: function () { return chunk3U5YHS4G_cjs.api_content_crud_default; }
84
+ get: function () { return chunkR4WR3VTN_cjs.api_content_crud_default; }
85
85
  });
86
86
  Object.defineProperty(exports, "apiMediaRoutes", {
87
87
  enumerable: true,
88
- get: function () { return chunk3U5YHS4G_cjs.api_media_default; }
88
+ get: function () { return chunkR4WR3VTN_cjs.api_media_default; }
89
89
  });
90
90
  Object.defineProperty(exports, "apiRoutes", {
91
91
  enumerable: true,
92
- get: function () { return chunk3U5YHS4G_cjs.api_default; }
92
+ get: function () { return chunkR4WR3VTN_cjs.api_default; }
93
93
  });
94
94
  Object.defineProperty(exports, "apiSystemRoutes", {
95
95
  enumerable: true,
96
- get: function () { return chunk3U5YHS4G_cjs.api_system_default; }
96
+ get: function () { return chunkR4WR3VTN_cjs.api_system_default; }
97
97
  });
98
98
  Object.defineProperty(exports, "authRoutes", {
99
99
  enumerable: true,
100
- get: function () { return chunk3U5YHS4G_cjs.auth_default; }
100
+ get: function () { return chunkR4WR3VTN_cjs.auth_default; }
101
101
  });
102
102
  Object.defineProperty(exports, "publicFormsRoutes", {
103
103
  enumerable: true,
104
- get: function () { return chunk3U5YHS4G_cjs.public_forms_default; }
104
+ get: function () { return chunkR4WR3VTN_cjs.public_forms_default; }
105
105
  });
106
106
  Object.defineProperty(exports, "testCleanupRoutes", {
107
107
  enumerable: true,
108
- get: function () { return chunk3U5YHS4G_cjs.test_cleanup_default; }
108
+ get: function () { return chunkR4WR3VTN_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-4Z5BQZT6.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-CH5UHZVM.js';
2
2
  import './chunk-G44QUVNM.js';
3
- import './chunk-FUUVSYVQ.js';
3
+ import './chunk-Y3VMEGY2.js';
4
4
  import './chunk-YFJJU26H.js';
5
- import './chunk-I6REMSMF.js';
5
+ import './chunk-GTFMI24U.js';
6
6
  import './chunk-JJS7JZCH.js';
7
7
  import './chunk-J5WGMRSU.js';
8
- import './chunk-WI5ESQKT.js';
8
+ import './chunk-5XAI2XUF.js';
9
9
  import './chunk-X7ZAEI5S.js';
10
10
  import './chunk-FICTAGD4.js';
11
11
  import './chunk-TQABQWOP.js';
package/dist/services.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chunkVNLR35GO_cjs = require('./chunk-VNLR35GO.cjs');
4
4
  var chunkMPT5PA6U_cjs = require('./chunk-MPT5PA6U.cjs');
5
- var chunkVGSZWZP3_cjs = require('./chunk-VGSZWZP3.cjs');
5
+ var chunkHXHVU5GM_cjs = require('./chunk-HXHVU5GM.cjs');
6
6
  require('./chunk-P3XDZL6Q.cjs');
7
7
  require('./chunk-IGJUBJBW.cjs');
8
8
 
@@ -106,7 +106,7 @@ Object.defineProperty(exports, "validateCollectionConfig", {
106
106
  });
107
107
  Object.defineProperty(exports, "MigrationService", {
108
108
  enumerable: true,
109
- get: function () { return chunkVGSZWZP3_cjs.MigrationService; }
109
+ get: function () { return chunkHXHVU5GM_cjs.MigrationService; }
110
110
  });
111
111
  //# sourceMappingURL=services.cjs.map
112
112
  //# sourceMappingURL=services.cjs.map
@@ -1,6 +1,6 @@
1
- export { C as CorePlugin, n as LogCategory, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, e as Migration, M as MigrationService, h as MigrationStatus, q as PluginBootstrapService, P as PluginService, d as cleanupRemovedCollections, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, r as registerCollections, b as syncCollection, s as syncCollections, v as validateCollectionConfig } from './plugin-bootstrap-DKB5f8-E.cjs';
1
+ export { C as CorePlugin, n as LogCategory, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, e as Migration, M as MigrationService, h as MigrationStatus, q as PluginBootstrapService, P as PluginService, d as cleanupRemovedCollections, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, r as registerCollections, b as syncCollection, s as syncCollections, v as validateCollectionConfig } from './plugin-bootstrap-CJozpgmI.cjs';
2
2
  import { b as TelemetryConfig, c as TelemetryIdentity, T as TelemetryEvent, a as TelemetryProperties } from './telemetry-UiD1i9GS.cjs';
3
- import './collection-config-BF95LgQb.cjs';
3
+ import './collection-config-i8EaAF7z.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 { C as CorePlugin, n as LogCategory, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, e as Migration, M as MigrationService, h as MigrationStatus, q as PluginBootstrapService, P as PluginService, d as cleanupRemovedCollections, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, r as registerCollections, b as syncCollection, s as syncCollections, v as validateCollectionConfig } from './plugin-bootstrap-C7Mj00Ud.js';
1
+ export { C as CorePlugin, n as LogCategory, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, e as Migration, M as MigrationService, h as MigrationStatus, q as PluginBootstrapService, P as PluginService, d as cleanupRemovedCollections, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, r as registerCollections, b as syncCollection, s as syncCollections, v as validateCollectionConfig } from './plugin-bootstrap-DU5VmuHZ.js';
2
2
  import { b as TelemetryConfig, c as TelemetryIdentity, T as TelemetryEvent, a as TelemetryProperties } from './telemetry-UiD1i9GS.js';
3
- import './collection-config-BF95LgQb.js';
3
+ import './collection-config-i8EaAF7z.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, CacheService, Logger, SettingsService, TelemetryService, createInstallationIdentity, getCacheService, getLogger, getTelemetryService, initLogger, initTelemetry } from './chunk-G44QUVNM.js';
2
2
  export { PluginBootstrapService, PluginService, cleanupRemovedCollections, fullCollectionSync, getAvailableCollectionNames, getManagedCollections, isCollectionManaged, loadCollectionConfig, loadCollectionConfigs, registerCollections, syncCollection, syncCollections, validateCollectionConfig } from './chunk-YFJJU26H.js';
3
- export { MigrationService } from './chunk-I6REMSMF.js';
3
+ export { MigrationService } from './chunk-GTFMI24U.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, b as BlockDefinitions, c as CollectionConfig, d as CollectionConfigModule, C as CollectionSchema, e as CollectionSyncResult, a as FieldConfig, F as FieldType } from './collection-config-BF95LgQb.cjs';
1
+ export { B as BlockDefinition, b as BlockDefinitions, c as CollectionConfig, d as CollectionConfigModule, C as CollectionSchema, e as CollectionSyncResult, a as FieldConfig, F as FieldType } from './collection-config-i8EaAF7z.cjs';
2
2
  export { A as AuthService, C as ContentService, v as HOOKS, k as HookContext, H as HookHandler, u as HookName, l as HookSystem, p as MediaService, M as ModelRelationship, P as Plugin, g as PluginAdminPage, r as PluginBuilderOptions, h as PluginComponent, b as PluginConfig, a as PluginContext, j as PluginHook, q as PluginLogger, n as PluginManager, i as PluginMenuItem, d as PluginMiddleware, e as PluginModel, m as PluginRegistry, c as PluginRoutes, f as PluginService, o as PluginStatus, t as PluginValidationResult, s as PluginValidator, S as ScopedHookSystem } from './plugin-zvZpaiP5.cjs';
3
3
  export { P as PluginManifest } from './plugin-manifest-Dpy8wxIB.cjs';
4
4
  export { b as TelemetryConfig, T as TelemetryEvent, c as TelemetryIdentity, a as TelemetryProperties } from './telemetry-UiD1i9GS.cjs';
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { B as BlockDefinition, b as BlockDefinitions, c as CollectionConfig, d as CollectionConfigModule, C as CollectionSchema, e as CollectionSyncResult, a as FieldConfig, F as FieldType } from './collection-config-BF95LgQb.js';
1
+ export { B as BlockDefinition, b as BlockDefinitions, c as CollectionConfig, d as CollectionConfigModule, C as CollectionSchema, e as CollectionSyncResult, a as FieldConfig, F as FieldType } from './collection-config-i8EaAF7z.js';
2
2
  export { A as AuthService, C as ContentService, v as HOOKS, k as HookContext, H as HookHandler, u as HookName, l as HookSystem, p as MediaService, M as ModelRelationship, P as Plugin, g as PluginAdminPage, r as PluginBuilderOptions, h as PluginComponent, b as PluginConfig, a as PluginContext, j as PluginHook, q as PluginLogger, n as PluginManager, i as PluginMenuItem, d as PluginMiddleware, e as PluginModel, m as PluginRegistry, c as PluginRoutes, f as PluginService, o as PluginStatus, t as PluginValidationResult, s as PluginValidator, S as ScopedHookSystem } from './plugin-zvZpaiP5.js';
3
3
  export { P as PluginManifest } from './plugin-manifest-Dpy8wxIB.js';
4
4
  export { b as TelemetryConfig, T as TelemetryEvent, c as TelemetryIdentity, a as TelemetryProperties } from './telemetry-UiD1i9GS.js';
package/dist/utils.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkJSHIGVIF_cjs = require('./chunk-JSHIGVIF.cjs');
3
+ var chunkJDIM5AG7_cjs = require('./chunk-JDIM5AG7.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 chunkJSHIGVIF_cjs.QueryFilterBuilder; }
13
+ get: function () { return chunkJDIM5AG7_cjs.QueryFilterBuilder; }
14
14
  });
15
15
  Object.defineProperty(exports, "SONICJS_VERSION", {
16
16
  enumerable: true,
17
- get: function () { return chunkJSHIGVIF_cjs.SONICJS_VERSION; }
17
+ get: function () { return chunkJDIM5AG7_cjs.SONICJS_VERSION; }
18
18
  });
19
19
  Object.defineProperty(exports, "TemplateRenderer", {
20
20
  enumerable: true,
21
- get: function () { return chunkJSHIGVIF_cjs.TemplateRenderer; }
21
+ get: function () { return chunkJDIM5AG7_cjs.TemplateRenderer; }
22
22
  });
23
23
  Object.defineProperty(exports, "buildQuery", {
24
24
  enumerable: true,
25
- get: function () { return chunkJSHIGVIF_cjs.buildQuery; }
25
+ get: function () { return chunkJDIM5AG7_cjs.buildQuery; }
26
26
  });
27
27
  Object.defineProperty(exports, "generateSlug", {
28
28
  enumerable: true,
29
- get: function () { return chunkJSHIGVIF_cjs.generateSlug; }
29
+ get: function () { return chunkJDIM5AG7_cjs.generateSlug; }
30
30
  });
31
31
  Object.defineProperty(exports, "getBlocksFieldConfig", {
32
32
  enumerable: true,
33
- get: function () { return chunkJSHIGVIF_cjs.getBlocksFieldConfig; }
33
+ get: function () { return chunkJDIM5AG7_cjs.getBlocksFieldConfig; }
34
34
  });
35
35
  Object.defineProperty(exports, "getCoreVersion", {
36
36
  enumerable: true,
37
- get: function () { return chunkJSHIGVIF_cjs.getCoreVersion; }
37
+ get: function () { return chunkJDIM5AG7_cjs.getCoreVersion; }
38
38
  });
39
39
  Object.defineProperty(exports, "parseBlocksValue", {
40
40
  enumerable: true,
41
- get: function () { return chunkJSHIGVIF_cjs.parseBlocksValue; }
41
+ get: function () { return chunkJDIM5AG7_cjs.parseBlocksValue; }
42
42
  });
43
43
  Object.defineProperty(exports, "renderTemplate", {
44
44
  enumerable: true,
45
- get: function () { return chunkJSHIGVIF_cjs.renderTemplate; }
45
+ get: function () { return chunkJDIM5AG7_cjs.renderTemplate; }
46
46
  });
47
47
  Object.defineProperty(exports, "templateRenderer", {
48
48
  enumerable: true,
49
- get: function () { return chunkJSHIGVIF_cjs.templateRenderer; }
49
+ get: function () { return chunkJDIM5AG7_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 { c as FilterCondition, d as FilterGroup, F as FilterOperator, f as QueryFilter, Q as QueryFilterBuilder, h as QueryResult, S as SONICJS_VERSION, T as TemplateRenderer, b as buildQuery, e as escapeHtml, g as getCoreVersion, m as metricsTracker, r as renderTemplate, s as sanitizeInput, a as sanitizeObject, t as templateRenderer } from './version-C_CXrN_T.cjs';
2
2
  import { b as TelemetryConfig } from './telemetry-UiD1i9GS.cjs';
3
- import { b as BlockDefinitions } from './collection-config-BF95LgQb.cjs';
3
+ import { b as BlockDefinitions } from './collection-config-i8EaAF7z.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 { c as FilterCondition, d as FilterGroup, F as FilterOperator, f as QueryFilter, Q as QueryFilterBuilder, h as QueryResult, S as SONICJS_VERSION, T as TemplateRenderer, b as buildQuery, e as escapeHtml, g as getCoreVersion, m as metricsTracker, r as renderTemplate, s as sanitizeInput, a as sanitizeObject, t as templateRenderer } from './version-C_CXrN_T.js';
2
2
  import { b as TelemetryConfig } from './telemetry-UiD1i9GS.js';
3
- import { b as BlockDefinitions } from './collection-config-BF95LgQb.js';
3
+ import { b as BlockDefinitions } from './collection-config-i8EaAF7z.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-WI5ESQKT.js';
1
+ export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, generateSlug, getBlocksFieldConfig, getCoreVersion, parseBlocksValue, renderTemplate, templateRenderer } from './chunk-5XAI2XUF.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.8.2",
3
+ "version": "2.8.3",
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",