@sonicjs-cms/core 2.12.1 → 2.14.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.
- package/dist/{chunk-3V2CQFIR.js → chunk-23DP6TO5.js} +89 -49
- package/dist/chunk-23DP6TO5.js.map +1 -0
- package/dist/{chunk-RBXFXT7H.cjs → chunk-3QCEYJLK.cjs} +9 -9
- package/dist/{chunk-RBXFXT7H.cjs.map → chunk-3QCEYJLK.cjs.map} +1 -1
- package/dist/{chunk-UFWE3MEJ.js → chunk-AFGOH2F6.js} +3 -3
- package/dist/{chunk-UFWE3MEJ.js.map → chunk-AFGOH2F6.js.map} +1 -1
- package/dist/{chunk-BWZBKLOC.js → chunk-CB7ONLGB.js} +3 -3
- package/dist/{chunk-BWZBKLOC.js.map → chunk-CB7ONLGB.js.map} +1 -1
- package/dist/{chunk-DHTCZZUB.cjs → chunk-DRWSHIFG.cjs} +252 -212
- package/dist/chunk-DRWSHIFG.cjs.map +1 -0
- package/dist/{chunk-673VROB3.js → chunk-GAVTTYMC.js} +5 -5
- package/dist/{chunk-673VROB3.js.map → chunk-GAVTTYMC.js.map} +1 -1
- package/dist/{chunk-6C6W54QP.js → chunk-JKNKO6LA.js} +22 -5
- package/dist/chunk-JKNKO6LA.js.map +1 -0
- package/dist/{chunk-76TX6XND.js → chunk-JTUCC6WZ.js} +18 -10
- package/dist/chunk-JTUCC6WZ.js.map +1 -0
- package/dist/{chunk-XK3TKOLQ.cjs → chunk-KZ2MFGET.cjs} +22 -5
- package/dist/chunk-KZ2MFGET.cjs.map +1 -0
- package/dist/{chunk-H4NHRZ6Y.cjs → chunk-QP3OHHON.cjs} +18 -10
- package/dist/chunk-QP3OHHON.cjs.map +1 -0
- package/dist/{chunk-IKBAY2M2.cjs → chunk-YULUPQZV.cjs} +5 -5
- package/dist/{chunk-IKBAY2M2.cjs.map → chunk-YULUPQZV.cjs.map} +1 -1
- package/dist/{chunk-HBUFGLEX.cjs → chunk-YYMPHM3I.cjs} +4 -4
- package/dist/{chunk-HBUFGLEX.cjs.map → chunk-YYMPHM3I.cjs.map} +1 -1
- package/dist/index.cjs +887 -121
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +779 -13
- package/dist/index.js.map +1 -1
- package/dist/middleware.cjs +28 -28
- package/dist/middleware.js +2 -2
- package/dist/migrations-F7KVA74T.cjs +13 -0
- package/dist/{migrations-MIZFGFNS.cjs.map → migrations-F7KVA74T.cjs.map} +1 -1
- package/dist/migrations-WKONKRN7.js +4 -0
- package/dist/{migrations-AH2XIFSA.js.map → migrations-WKONKRN7.js.map} +1 -1
- package/dist/{plugin-bootstrap-DVGLQrcO.d.cts → plugin-bootstrap-BGwBraaN.d.cts} +1 -0
- package/dist/{plugin-bootstrap-CZ1GDum7.d.ts → plugin-bootstrap-Drns7X9w.d.ts} +1 -0
- package/dist/routes.cjs +28 -28
- package/dist/routes.js +5 -5
- package/dist/services.cjs +2 -2
- package/dist/services.d.cts +1 -1
- package/dist/services.d.ts +1 -1
- package/dist/services.js +1 -1
- package/dist/templates.cjs +19 -19
- package/dist/templates.js +2 -2
- package/dist/utils.cjs +11 -11
- package/dist/utils.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-3V2CQFIR.js.map +0 -1
- package/dist/chunk-6C6W54QP.js.map +0 -1
- package/dist/chunk-76TX6XND.js.map +0 -1
- package/dist/chunk-DHTCZZUB.cjs.map +0 -1
- package/dist/chunk-H4NHRZ6Y.cjs.map +0 -1
- package/dist/chunk-XK3TKOLQ.cjs.map +0 -1
- package/dist/migrations-AH2XIFSA.js +0 -4
- package/dist/migrations-MIZFGFNS.cjs +0 -13
package/dist/middleware.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYYMPHM3I_cjs = require('./chunk-YYMPHM3I.cjs');
|
|
4
4
|
require('./chunk-I6FFGQIT.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-KZ2MFGET.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
|
|
13
|
+
get: function () { return chunkYYMPHM3I_cjs.AuthManager; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PermissionManager", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYYMPHM3I_cjs.PermissionManager; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "bootstrapMiddleware", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYYMPHM3I_cjs.bootstrapMiddleware; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cacheHeaders", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkYYMPHM3I_cjs.cacheHeaders; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "compressionMiddleware", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkYYMPHM3I_cjs.compressionMiddleware; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "csrfProtection", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkYYMPHM3I_cjs.csrfProtection; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "detailedLoggingMiddleware", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkYYMPHM3I_cjs.detailedLoggingMiddleware; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "generateCsrfToken", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkYYMPHM3I_cjs.generateCsrfToken; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "getActivePlugins", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkYYMPHM3I_cjs.getActivePlugins; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isPluginActive", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkYYMPHM3I_cjs.isPluginActive; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "logActivity", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkYYMPHM3I_cjs.logActivity; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "loggingMiddleware", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkYYMPHM3I_cjs.loggingMiddleware; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "metricsMiddleware", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkYYMPHM3I_cjs.metricsMiddleware; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "optionalAuth", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkYYMPHM3I_cjs.optionalAuth; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "performanceLoggingMiddleware", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkYYMPHM3I_cjs.performanceLoggingMiddleware; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "rateLimit", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkYYMPHM3I_cjs.rateLimit; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "requireActivePlugin", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkYYMPHM3I_cjs.requireActivePlugin; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "requireActivePlugins", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkYYMPHM3I_cjs.requireActivePlugins; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "requireAnyPermission", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkYYMPHM3I_cjs.requireAnyPermission; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "requireAuth", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkYYMPHM3I_cjs.requireAuth; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "requirePermission", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkYYMPHM3I_cjs.requirePermission; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "requireRole", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkYYMPHM3I_cjs.requireRole; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "securityHeaders", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkYYMPHM3I_cjs.securityHeadersMiddleware; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "securityLoggingMiddleware", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkYYMPHM3I_cjs.securityLoggingMiddleware; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "validateCsrfToken", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkYYMPHM3I_cjs.validateCsrfToken; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "verifySecurityConfig", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkYYMPHM3I_cjs.verifySecurityConfig; }
|
|
114
114
|
});
|
|
115
115
|
//# sourceMappingURL=middleware.cjs.map
|
|
116
116
|
//# sourceMappingURL=middleware.cjs.map
|
package/dist/middleware.js
CHANGED
|
@@ -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-
|
|
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-AFGOH2F6.js';
|
|
2
2
|
import './chunk-H3XXBAMO.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-JKNKO6LA.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 chunkKZ2MFGET_cjs = require('./chunk-KZ2MFGET.cjs');
|
|
4
|
+
require('./chunk-IGJUBJBW.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "MigrationService", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkKZ2MFGET_cjs.MigrationService; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=migrations-F7KVA74T.cjs.map
|
|
13
|
+
//# sourceMappingURL=migrations-F7KVA74T.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-F7KVA74T.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-WKONKRN7.js"}
|
package/dist/routes.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDRWSHIFG_cjs = require('./chunk-DRWSHIFG.cjs');
|
|
4
4
|
require('./chunk-NZWFCUDA.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-YYMPHM3I.cjs');
|
|
6
6
|
require('./chunk-I6FFGQIT.cjs');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-KZ2MFGET.cjs');
|
|
8
|
+
require('./chunk-QP3OHHON.cjs');
|
|
9
9
|
require('./chunk-6FHNRRJ3.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-YULUPQZV.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
|
|
20
|
+
get: function () { return chunkDRWSHIFG_cjs.ROUTES_INFO; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "adminApiReferenceRoutes", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkDRWSHIFG_cjs.router2; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "adminApiRoutes", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkDRWSHIFG_cjs.admin_api_default; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "adminCheckboxRoutes", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkDRWSHIFG_cjs.adminCheckboxRoutes; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "adminCodeExamplesRoutes", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkDRWSHIFG_cjs.admin_code_examples_default; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "adminCollectionsRoutes", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkDRWSHIFG_cjs.adminCollectionsRoutes; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "adminContentRoutes", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkDRWSHIFG_cjs.admin_content_default; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "adminDashboardRoutes", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkDRWSHIFG_cjs.router; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "adminDesignRoutes", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkDRWSHIFG_cjs.adminDesignRoutes; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "adminFormsRoutes", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkDRWSHIFG_cjs.adminFormsRoutes; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "adminLogsRoutes", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkDRWSHIFG_cjs.adminLogsRoutes; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "adminMediaRoutes", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkDRWSHIFG_cjs.adminMediaRoutes; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "adminPluginRoutes", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkDRWSHIFG_cjs.adminPluginRoutes; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "adminSettingsRoutes", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkDRWSHIFG_cjs.adminSettingsRoutes; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "adminTestimonialsRoutes", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkDRWSHIFG_cjs.admin_testimonials_default; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "adminUsersRoutes", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkDRWSHIFG_cjs.userRoutes; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "apiContentCrudRoutes", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkDRWSHIFG_cjs.api_content_crud_default; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "apiMediaRoutes", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkDRWSHIFG_cjs.api_media_default; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "apiRoutes", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkDRWSHIFG_cjs.api_default; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "apiSystemRoutes", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkDRWSHIFG_cjs.api_system_default; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "authRoutes", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkDRWSHIFG_cjs.auth_default; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "publicFormsRoutes", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkDRWSHIFG_cjs.public_forms_default; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "testCleanupRoutes", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkDRWSHIFG_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-
|
|
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-23DP6TO5.js';
|
|
2
2
|
import './chunk-TBJY2FF7.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-AFGOH2F6.js';
|
|
4
4
|
import './chunk-H3XXBAMO.js';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-JKNKO6LA.js';
|
|
6
|
+
import './chunk-JTUCC6WZ.js';
|
|
7
7
|
import './chunk-J5WGMRSU.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-GAVTTYMC.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 chunkNZWFCUDA_cjs = require('./chunk-NZWFCUDA.cjs');
|
|
4
4
|
var chunkI6FFGQIT_cjs = require('./chunk-I6FFGQIT.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkKZ2MFGET_cjs = require('./chunk-KZ2MFGET.cjs');
|
|
6
6
|
require('./chunk-P3XDZL6Q.cjs');
|
|
7
7
|
require('./chunk-IGJUBJBW.cjs');
|
|
8
8
|
|
|
@@ -150,7 +150,7 @@ Object.defineProperty(exports, "validateCollectionConfig", {
|
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "MigrationService", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkKZ2MFGET_cjs.MigrationService; }
|
|
154
154
|
});
|
|
155
155
|
//# sourceMappingURL=services.cjs.map
|
|
156
156
|
//# sourceMappingURL=services.cjs.map
|
package/dist/services.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CorePlugin, L as LogCategory, a as LogEntry, b as LogFilter, c as LogLevel, d as Logger, M as Migration, e as MigrationService, f as MigrationStatus, P as PluginBootstrapService, g as PluginService, h as backfillFormSubmissions, i as cleanupRemovedCollections, j as createContentFromSubmission, k as deriveCollectionSchemaFromFormio, l as deriveSubmissionTitle, m as fullCollectionSync, n as getAvailableCollectionNames, o as getLogger, p as getManagedCollections, q as initLogger, r as isCollectionManaged, s as loadCollectionConfig, t as loadCollectionConfigs, u as mapFormStatusToContentStatus, v as registerCollections, w as syncAllFormCollections, x as syncCollection, y as syncCollections, z as syncFormCollection, A as validateCollectionConfig } from './plugin-bootstrap-
|
|
1
|
+
export { C as CorePlugin, L as LogCategory, a as LogEntry, b as LogFilter, c as LogLevel, d as Logger, M as Migration, e as MigrationService, f as MigrationStatus, P as PluginBootstrapService, g as PluginService, h as backfillFormSubmissions, i as cleanupRemovedCollections, j as createContentFromSubmission, k as deriveCollectionSchemaFromFormio, l as deriveSubmissionTitle, m as fullCollectionSync, n as getAvailableCollectionNames, o as getLogger, p as getManagedCollections, q as initLogger, r as isCollectionManaged, s as loadCollectionConfig, t as loadCollectionConfigs, u as mapFormStatusToContentStatus, v as registerCollections, w as syncAllFormCollections, x as syncCollection, y as syncCollections, z as syncFormCollection, A as validateCollectionConfig } from './plugin-bootstrap-BGwBraaN.cjs';
|
|
2
2
|
import { T as TelemetryConfig, b as TelemetryIdentity, a as TelemetryEvent, c as TelemetryProperties } from './telemetry-B9vIV4wh.cjs';
|
|
3
3
|
import './collection-config-B4PG-AaF.cjs';
|
|
4
4
|
import '@cloudflare/workers-types';
|
package/dist/services.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CorePlugin, L as LogCategory, a as LogEntry, b as LogFilter, c as LogLevel, d as Logger, M as Migration, e as MigrationService, f as MigrationStatus, P as PluginBootstrapService, g as PluginService, h as backfillFormSubmissions, i as cleanupRemovedCollections, j as createContentFromSubmission, k as deriveCollectionSchemaFromFormio, l as deriveSubmissionTitle, m as fullCollectionSync, n as getAvailableCollectionNames, o as getLogger, p as getManagedCollections, q as initLogger, r as isCollectionManaged, s as loadCollectionConfig, t as loadCollectionConfigs, u as mapFormStatusToContentStatus, v as registerCollections, w as syncAllFormCollections, x as syncCollection, y as syncCollections, z as syncFormCollection, A as validateCollectionConfig } from './plugin-bootstrap-
|
|
1
|
+
export { C as CorePlugin, L as LogCategory, a as LogEntry, b as LogFilter, c as LogLevel, d as Logger, M as Migration, e as MigrationService, f as MigrationStatus, P as PluginBootstrapService, g as PluginService, h as backfillFormSubmissions, i as cleanupRemovedCollections, j as createContentFromSubmission, k as deriveCollectionSchemaFromFormio, l as deriveSubmissionTitle, m as fullCollectionSync, n as getAvailableCollectionNames, o as getLogger, p as getManagedCollections, q as initLogger, r as isCollectionManaged, s as loadCollectionConfig, t as loadCollectionConfigs, u as mapFormStatusToContentStatus, v as registerCollections, w as syncAllFormCollections, x as syncCollection, y as syncCollections, z as syncFormCollection, A as validateCollectionConfig } from './plugin-bootstrap-Drns7X9w.js';
|
|
2
2
|
import { T as TelemetryConfig, b as TelemetryIdentity, a as TelemetryEvent, c as TelemetryProperties } from './telemetry-B9vIV4wh.js';
|
|
3
3
|
import './collection-config-B4PG-AaF.js';
|
|
4
4
|
import '@cloudflare/workers-types';
|
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-TBJY2FF7.js';
|
|
2
2
|
export { PluginBootstrapService, PluginService, backfillFormSubmissions, cleanupRemovedCollections, createContentFromSubmission, deriveCollectionSchemaFromFormio, deriveSubmissionTitle, fullCollectionSync, getAvailableCollectionNames, getManagedCollections, isCollectionManaged, loadCollectionConfig, loadCollectionConfigs, mapFormStatusToContentStatus, registerCollections, syncAllFormCollections, syncCollection, syncCollections, syncFormCollection, validateCollectionConfig } from './chunk-H3XXBAMO.js';
|
|
3
|
-
export { MigrationService } from './chunk-
|
|
3
|
+
export { MigrationService } from './chunk-JKNKO6LA.js';
|
|
4
4
|
import './chunk-X7ZAEI5S.js';
|
|
5
5
|
import './chunk-V4OQ3NZ2.js';
|
|
6
6
|
//# sourceMappingURL=services.js.map
|
package/dist/templates.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk3QCEYJLK_cjs = require('./chunk-3QCEYJLK.cjs');
|
|
4
|
+
var chunkQP3OHHON_cjs = require('./chunk-QP3OHHON.cjs');
|
|
5
5
|
require('./chunk-MNWKYY5E.cjs');
|
|
6
6
|
require('./chunk-IGJUBJBW.cjs');
|
|
7
7
|
|
|
@@ -9,71 +9,71 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "renderFilterBar", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk3QCEYJLK_cjs.renderFilterBar; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "renderFormsDocsPage", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk3QCEYJLK_cjs.renderFormsDocsPage; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "renderFormsExamplesPage", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk3QCEYJLK_cjs.renderFormsExamplesPage; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "getConfirmationDialogScript", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkQP3OHHON_cjs.getConfirmationDialogScript; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "renderAdminLayout", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkQP3OHHON_cjs.renderAdminLayout; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "renderAdminLayoutCatalyst", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkQP3OHHON_cjs.renderAdminLayoutCatalyst; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "renderAlert", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkQP3OHHON_cjs.renderAlert; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "renderCheckboxPage", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkQP3OHHON_cjs.renderCheckboxPage; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "renderCodeExamplesList", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkQP3OHHON_cjs.renderCodeExamplesList; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "renderConfirmationDialog", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkQP3OHHON_cjs.renderConfirmationDialog; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "renderDesignPage", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkQP3OHHON_cjs.renderDesignPage; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "renderForm", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkQP3OHHON_cjs.renderForm; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "renderFormField", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkQP3OHHON_cjs.renderFormField; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "renderLogo", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkQP3OHHON_cjs.renderLogo; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "renderPagination", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkQP3OHHON_cjs.renderPagination; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "renderTable", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkQP3OHHON_cjs.renderTable; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "renderTestimonialsList", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkQP3OHHON_cjs.renderTestimonialsList; }
|
|
77
77
|
});
|
|
78
78
|
//# sourceMappingURL=templates.cjs.map
|
|
79
79
|
//# sourceMappingURL=templates.cjs.map
|
package/dist/templates.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { renderFilterBar, renderFormsDocsPage, renderFormsExamplesPage } from './chunk-
|
|
2
|
-
export { getConfirmationDialogScript, renderAdminLayout, renderAdminLayoutCatalyst, renderAlert, renderCheckboxPage, renderCodeExamplesList, renderConfirmationDialog, renderDesignPage, renderForm, renderFormField, renderLogo, renderPagination, renderTable, renderTestimonialsList } from './chunk-
|
|
1
|
+
export { renderFilterBar, renderFormsDocsPage, renderFormsExamplesPage } from './chunk-CB7ONLGB.js';
|
|
2
|
+
export { getConfirmationDialogScript, renderAdminLayout, renderAdminLayoutCatalyst, renderAlert, renderCheckboxPage, renderCodeExamplesList, renderConfirmationDialog, renderDesignPage, renderForm, renderFormField, renderLogo, renderPagination, renderTable, renderTestimonialsList } from './chunk-JTUCC6WZ.js';
|
|
3
3
|
import './chunk-TQABQWOP.js';
|
|
4
4
|
import './chunk-V4OQ3NZ2.js';
|
|
5
5
|
//# sourceMappingURL=templates.js.map
|
package/dist/utils.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYULUPQZV_cjs = require('./chunk-YULUPQZV.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
|
|
13
|
+
get: function () { return chunkYULUPQZV_cjs.QueryFilterBuilder; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "SONICJS_VERSION", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYULUPQZV_cjs.SONICJS_VERSION; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "TemplateRenderer", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYULUPQZV_cjs.TemplateRenderer; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "buildQuery", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkYULUPQZV_cjs.buildQuery; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "generateSlug", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkYULUPQZV_cjs.generateSlug; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getBlocksFieldConfig", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkYULUPQZV_cjs.getBlocksFieldConfig; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getCoreVersion", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkYULUPQZV_cjs.getCoreVersion; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "parseBlocksValue", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkYULUPQZV_cjs.parseBlocksValue; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "renderTemplate", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkYULUPQZV_cjs.renderTemplate; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "templateRenderer", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkYULUPQZV_cjs.templateRenderer; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "generateInstallationId", {
|
|
52
52
|
enumerable: true,
|
package/dist/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, generateSlug, getBlocksFieldConfig, getCoreVersion, parseBlocksValue, renderTemplate, templateRenderer } from './chunk-
|
|
1
|
+
export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, generateSlug, getBlocksFieldConfig, getCoreVersion, parseBlocksValue, renderTemplate, templateRenderer } from './chunk-GAVTTYMC.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.
|
|
3
|
+
"version": "2.14.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",
|
|
@@ -119,10 +119,10 @@
|
|
|
119
119
|
"@typescript-eslint/eslint-plugin": "^8.50.0",
|
|
120
120
|
"@typescript-eslint/parser": "^8.50.0",
|
|
121
121
|
"@vitest/coverage-v8": "^4.0.5",
|
|
122
|
-
"drizzle-orm": "^0.
|
|
122
|
+
"drizzle-orm": "^0.45.2",
|
|
123
123
|
"eslint": "^9.39.2",
|
|
124
124
|
"glob": "^10.5.0",
|
|
125
|
-
"hono": "^4.12.
|
|
125
|
+
"hono": "^4.12.12",
|
|
126
126
|
"tsup": "^8.5.0",
|
|
127
127
|
"typescript": "^5.9.3",
|
|
128
128
|
"vitest": "^4.0.5",
|