@sonicjs-cms/core 2.17.1 → 2.18.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-3TVMUQWG.cjs → chunk-3XP76LM7.cjs} +8 -8
- package/dist/{chunk-3TVMUQWG.cjs.map → chunk-3XP76LM7.cjs.map} +1 -1
- package/dist/{chunk-47HKH3D6.cjs → chunk-56PLLVDG.cjs} +9 -3
- package/dist/chunk-56PLLVDG.cjs.map +1 -0
- package/dist/{chunk-5EBTBD2Z.cjs → chunk-74BFRAQS.cjs} +54 -3
- package/dist/chunk-74BFRAQS.cjs.map +1 -0
- package/dist/{chunk-I6444XLU.cjs → chunk-DAESIIWY.cjs} +2 -2
- package/dist/{chunk-I6444XLU.cjs.map → chunk-DAESIIWY.cjs.map} +1 -1
- package/dist/{chunk-P5IDHMOL.js → chunk-GH3HYA7D.js} +4 -4
- package/dist/{chunk-P5IDHMOL.js.map → chunk-GH3HYA7D.js.map} +1 -1
- package/dist/{chunk-5ITJB5ZT.cjs → chunk-LTJ7P7RT.cjs} +242 -124
- package/dist/chunk-LTJ7P7RT.cjs.map +1 -0
- package/dist/{chunk-7D7SI5P7.js → chunk-NDS4S4AG.js} +54 -3
- package/dist/chunk-NDS4S4AG.js.map +1 -0
- package/dist/{chunk-QZBZEUZF.js → chunk-OWJPOVFW.js} +2 -2
- package/dist/{chunk-QZBZEUZF.js.map → chunk-OWJPOVFW.js.map} +1 -1
- package/dist/{chunk-UDUHP4PA.js → chunk-RYRNZYND.js} +128 -10
- package/dist/chunk-RYRNZYND.js.map +1 -0
- package/dist/{chunk-EUFBU4T4.js → chunk-YK5IEGQZ.js} +9 -3
- package/dist/chunk-YK5IEGQZ.js.map +1 -0
- package/dist/index.cjs +196 -153
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +65 -22
- package/dist/index.js.map +1 -1
- package/dist/middleware.cjs +32 -32
- package/dist/middleware.js +3 -3
- package/dist/migrations-CW2IT5YP.cjs +13 -0
- package/dist/{migrations-VQ4UX4M4.cjs.map → migrations-CW2IT5YP.cjs.map} +1 -1
- package/dist/migrations-S42BOXI4.js +4 -0
- package/dist/{migrations-3TVS3HU5.js.map → migrations-S42BOXI4.js.map} +1 -1
- package/dist/routes.cjs +28 -28
- package/dist/routes.js +5 -5
- package/dist/services.cjs +23 -23
- package/dist/services.js +2 -2
- package/dist/utils.cjs +11 -11
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/dist/{version-ChpccWQ1.d.cts → version-DFTyGfIH.d.cts} +9 -1
- package/dist/{version-ChpccWQ1.d.ts → version-DFTyGfIH.d.ts} +9 -1
- package/package.json +1 -1
- package/dist/chunk-47HKH3D6.cjs.map +0 -1
- package/dist/chunk-5EBTBD2Z.cjs.map +0 -1
- package/dist/chunk-5ITJB5ZT.cjs.map +0 -1
- package/dist/chunk-7D7SI5P7.js.map +0 -1
- package/dist/chunk-EUFBU4T4.js.map +0 -1
- package/dist/chunk-UDUHP4PA.js.map +0 -1
- package/dist/migrations-3TVS3HU5.js +0 -4
- package/dist/migrations-VQ4UX4M4.cjs +0 -13
package/dist/middleware.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunk3XP76LM7_cjs = require('./chunk-3XP76LM7.cjs');
|
|
4
|
+
require('./chunk-56PLLVDG.cjs');
|
|
5
|
+
require('./chunk-DAESIIWY.cjs');
|
|
6
6
|
require('./chunk-RCQ2HIQD.cjs');
|
|
7
7
|
require('./chunk-IGJUBJBW.cjs');
|
|
8
8
|
|
|
@@ -10,119 +10,119 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AuthManager", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk3XP76LM7_cjs.AuthManager; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PermissionManager", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk3XP76LM7_cjs.PermissionManager; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "bootstrapMiddleware", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk3XP76LM7_cjs.bootstrapMiddleware; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cacheHeaders", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk3XP76LM7_cjs.cacheHeaders; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "compressionMiddleware", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk3XP76LM7_cjs.compressionMiddleware; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "csrfProtection", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk3XP76LM7_cjs.csrfProtection; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "detailedLoggingMiddleware", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk3XP76LM7_cjs.detailedLoggingMiddleware; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "generateCsrfToken", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk3XP76LM7_cjs.generateCsrfToken; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "getActivePlugins", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk3XP76LM7_cjs.getActivePlugins; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getJwtExpirySeconds", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk3XP76LM7_cjs.getJwtExpirySeconds; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "getJwtExpirySecondsFromDb", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk3XP76LM7_cjs.getJwtExpirySecondsFromDb; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "getJwtRefreshGraceSecondsFromDb", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk3XP76LM7_cjs.getJwtRefreshGraceSecondsFromDb; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "isPluginActive", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk3XP76LM7_cjs.isPluginActive; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "logActivity", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk3XP76LM7_cjs.logActivity; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "loggingMiddleware", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk3XP76LM7_cjs.loggingMiddleware; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "metricsMiddleware", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk3XP76LM7_cjs.metricsMiddleware; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "optionalAuth", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk3XP76LM7_cjs.optionalAuth; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "performanceLoggingMiddleware", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunk3XP76LM7_cjs.performanceLoggingMiddleware; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "rateLimit", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunk3XP76LM7_cjs.rateLimit; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "requireActivePlugin", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk3XP76LM7_cjs.requireActivePlugin; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "requireActivePlugins", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunk3XP76LM7_cjs.requireActivePlugins; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "requireAnyPermission", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunk3XP76LM7_cjs.requireAnyPermission; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "requireAuth", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunk3XP76LM7_cjs.requireAuth; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "requirePermission", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunk3XP76LM7_cjs.requirePermission; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "requireRole", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunk3XP76LM7_cjs.requireRole; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "securityHeaders", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunk3XP76LM7_cjs.securityHeadersMiddleware; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "securityLoggingMiddleware", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunk3XP76LM7_cjs.securityLoggingMiddleware; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "validateCsrfToken", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunk3XP76LM7_cjs.validateCsrfToken; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "verifySecurityConfig", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunk3XP76LM7_cjs.verifySecurityConfig; }
|
|
126
126
|
});
|
|
127
127
|
//# sourceMappingURL=middleware.cjs.map
|
|
128
128
|
//# sourceMappingURL=middleware.cjs.map
|
package/dist/middleware.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, csrfProtection, detailedLoggingMiddleware, generateCsrfToken, getActivePlugins, getJwtExpirySeconds, getJwtExpirySecondsFromDb, getJwtRefreshGraceSecondsFromDb, isPluginActive, logActivity, loggingMiddleware, metricsMiddleware, optionalAuth, performanceLoggingMiddleware, rateLimit, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeadersMiddleware as securityHeaders, securityLoggingMiddleware, validateCsrfToken, verifySecurityConfig } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, csrfProtection, detailedLoggingMiddleware, generateCsrfToken, getActivePlugins, getJwtExpirySeconds, getJwtExpirySecondsFromDb, getJwtRefreshGraceSecondsFromDb, isPluginActive, logActivity, loggingMiddleware, metricsMiddleware, optionalAuth, performanceLoggingMiddleware, rateLimit, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeadersMiddleware as securityHeaders, securityLoggingMiddleware, validateCsrfToken, verifySecurityConfig } from './chunk-GH3HYA7D.js';
|
|
2
|
+
import './chunk-YK5IEGQZ.js';
|
|
3
|
+
import './chunk-OWJPOVFW.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 chunkDAESIIWY_cjs = require('./chunk-DAESIIWY.cjs');
|
|
4
|
+
require('./chunk-IGJUBJBW.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "MigrationService", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkDAESIIWY_cjs.MigrationService; }
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=migrations-CW2IT5YP.cjs.map
|
|
13
|
+
//# sourceMappingURL=migrations-CW2IT5YP.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-CW2IT5YP.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"migrations-S42BOXI4.js"}
|
package/dist/routes.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLTJ7P7RT_cjs = require('./chunk-LTJ7P7RT.cjs');
|
|
4
4
|
require('./chunk-WAEQXGCX.cjs');
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-3XP76LM7.cjs');
|
|
6
|
+
require('./chunk-56PLLVDG.cjs');
|
|
7
|
+
require('./chunk-DAESIIWY.cjs');
|
|
8
8
|
require('./chunk-OHYBNCVL.cjs');
|
|
9
9
|
require('./chunk-UYJ6TJHX.cjs');
|
|
10
10
|
require('./chunk-635JAMSE.cjs');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-74BFRAQS.cjs');
|
|
12
12
|
require('./chunk-P3XDZL6Q.cjs');
|
|
13
13
|
require('./chunk-RCQ2HIQD.cjs');
|
|
14
14
|
require('./chunk-MNWKYY5E.cjs');
|
|
@@ -18,95 +18,95 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "ROUTES_INFO", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkLTJ7P7RT_cjs.ROUTES_INFO; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "adminApiReferenceRoutes", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkLTJ7P7RT_cjs.router2; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "adminApiRoutes", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkLTJ7P7RT_cjs.admin_api_default; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "adminCheckboxRoutes", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkLTJ7P7RT_cjs.adminCheckboxRoutes; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "adminCodeExamplesRoutes", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkLTJ7P7RT_cjs.admin_code_examples_default; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "adminCollectionsRoutes", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkLTJ7P7RT_cjs.adminCollectionsRoutes; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "adminContentRoutes", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkLTJ7P7RT_cjs.admin_content_default; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "adminDashboardRoutes", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkLTJ7P7RT_cjs.router; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "adminDesignRoutes", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkLTJ7P7RT_cjs.adminDesignRoutes; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "adminFormsRoutes", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkLTJ7P7RT_cjs.adminFormsRoutes; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "adminLogsRoutes", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkLTJ7P7RT_cjs.adminLogsRoutes; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "adminMediaRoutes", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkLTJ7P7RT_cjs.adminMediaRoutes; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "adminPluginRoutes", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkLTJ7P7RT_cjs.adminPluginRoutes; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "adminSettingsRoutes", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkLTJ7P7RT_cjs.adminSettingsRoutes; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "adminTestimonialsRoutes", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkLTJ7P7RT_cjs.admin_testimonials_default; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "adminUsersRoutes", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkLTJ7P7RT_cjs.userRoutes; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "apiContentCrudRoutes", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkLTJ7P7RT_cjs.api_content_crud_default; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "apiMediaRoutes", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkLTJ7P7RT_cjs.api_media_default; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "apiRoutes", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkLTJ7P7RT_cjs.api_default; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "apiSystemRoutes", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkLTJ7P7RT_cjs.api_system_default; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "authRoutes", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkLTJ7P7RT_cjs.auth_default; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "publicFormsRoutes", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkLTJ7P7RT_cjs.public_forms_default; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "testCleanupRoutes", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkLTJ7P7RT_cjs.test_cleanup_default; }
|
|
110
110
|
});
|
|
111
111
|
//# sourceMappingURL=routes.cjs.map
|
|
112
112
|
//# sourceMappingURL=routes.cjs.map
|
package/dist/routes.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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-RYRNZYND.js';
|
|
2
2
|
import './chunk-QFWHAFEO.js';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
import './chunk-GH3HYA7D.js';
|
|
4
|
+
import './chunk-YK5IEGQZ.js';
|
|
5
|
+
import './chunk-OWJPOVFW.js';
|
|
6
6
|
import './chunk-XWIA3HVX.js';
|
|
7
7
|
import './chunk-55RDMDOP.js';
|
|
8
8
|
import './chunk-EXNEW5US.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-NDS4S4AG.js';
|
|
10
10
|
import './chunk-X7ZAEI5S.js';
|
|
11
11
|
import './chunk-FICTAGD4.js';
|
|
12
12
|
import './chunk-TQABQWOP.js';
|
package/dist/services.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkWAEQXGCX_cjs = require('./chunk-WAEQXGCX.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunk56PLLVDG_cjs = require('./chunk-56PLLVDG.cjs');
|
|
5
|
+
var chunkDAESIIWY_cjs = require('./chunk-DAESIIWY.cjs');
|
|
6
6
|
require('./chunk-P3XDZL6Q.cjs');
|
|
7
7
|
require('./chunk-IGJUBJBW.cjs');
|
|
8
8
|
|
|
@@ -70,87 +70,87 @@ Object.defineProperty(exports, "setAppInstance", {
|
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "PluginBootstrapService", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk56PLLVDG_cjs.PluginBootstrapService; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "PluginService", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk56PLLVDG_cjs.PluginService; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "backfillFormSubmissions", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunk56PLLVDG_cjs.backfillFormSubmissions; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "cleanupRemovedCollections", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunk56PLLVDG_cjs.cleanupRemovedCollections; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "createContentFromSubmission", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk56PLLVDG_cjs.createContentFromSubmission; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "deriveCollectionSchemaFromFormio", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunk56PLLVDG_cjs.deriveCollectionSchemaFromFormio; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "deriveSubmissionTitle", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunk56PLLVDG_cjs.deriveSubmissionTitle; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "fullCollectionSync", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunk56PLLVDG_cjs.fullCollectionSync; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "getAvailableCollectionNames", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunk56PLLVDG_cjs.getAvailableCollectionNames; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "getManagedCollections", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunk56PLLVDG_cjs.getManagedCollections; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "isCollectionManaged", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunk56PLLVDG_cjs.isCollectionManaged; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "loadCollectionConfig", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunk56PLLVDG_cjs.loadCollectionConfig; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "loadCollectionConfigs", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunk56PLLVDG_cjs.loadCollectionConfigs; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "mapFormStatusToContentStatus", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunk56PLLVDG_cjs.mapFormStatusToContentStatus; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "registerCollections", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunk56PLLVDG_cjs.registerCollections; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "syncAllFormCollections", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunk56PLLVDG_cjs.syncAllFormCollections; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "syncCollection", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunk56PLLVDG_cjs.syncCollection; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "syncCollections", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunk56PLLVDG_cjs.syncCollections; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "syncFormCollection", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunk56PLLVDG_cjs.syncFormCollection; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "validateCollectionConfig", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunk56PLLVDG_cjs.validateCollectionConfig; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "MigrationService", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkDAESIIWY_cjs.MigrationService; }
|
|
154
154
|
});
|
|
155
155
|
//# sourceMappingURL=services.cjs.map
|
|
156
156
|
//# sourceMappingURL=services.cjs.map
|
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-QFWHAFEO.js';
|
|
2
|
-
export { PluginBootstrapService, PluginService, backfillFormSubmissions, cleanupRemovedCollections, createContentFromSubmission, deriveCollectionSchemaFromFormio, deriveSubmissionTitle, fullCollectionSync, getAvailableCollectionNames, getManagedCollections, isCollectionManaged, loadCollectionConfig, loadCollectionConfigs, mapFormStatusToContentStatus, registerCollections, syncAllFormCollections, syncCollection, syncCollections, syncFormCollection, validateCollectionConfig } from './chunk-
|
|
3
|
-
export { MigrationService } from './chunk-
|
|
2
|
+
export { PluginBootstrapService, PluginService, backfillFormSubmissions, cleanupRemovedCollections, createContentFromSubmission, deriveCollectionSchemaFromFormio, deriveSubmissionTitle, fullCollectionSync, getAvailableCollectionNames, getManagedCollections, isCollectionManaged, loadCollectionConfig, loadCollectionConfigs, mapFormStatusToContentStatus, registerCollections, syncAllFormCollections, syncCollection, syncCollections, syncFormCollection, validateCollectionConfig } from './chunk-YK5IEGQZ.js';
|
|
3
|
+
export { MigrationService } from './chunk-OWJPOVFW.js';
|
|
4
4
|
import './chunk-X7ZAEI5S.js';
|
|
5
5
|
import './chunk-V4OQ3NZ2.js';
|
|
6
6
|
//# sourceMappingURL=services.js.map
|
package/dist/utils.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk74BFRAQS_cjs = require('./chunk-74BFRAQS.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 chunk74BFRAQS_cjs.QueryFilterBuilder; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "SONICJS_VERSION", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk74BFRAQS_cjs.SONICJS_VERSION; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "TemplateRenderer", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk74BFRAQS_cjs.TemplateRenderer; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "buildQuery", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk74BFRAQS_cjs.buildQuery; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "generateSlug", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk74BFRAQS_cjs.generateSlug; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getBlocksFieldConfig", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk74BFRAQS_cjs.getBlocksFieldConfig; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getCoreVersion", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk74BFRAQS_cjs.getCoreVersion; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "parseBlocksValue", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk74BFRAQS_cjs.parseBlocksValue; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "renderTemplate", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk74BFRAQS_cjs.renderTemplate; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "templateRenderer", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk74BFRAQS_cjs.templateRenderer; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "generateInstallationId", {
|
|
52
52
|
enumerable: true,
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-DFTyGfIH.cjs';
|
|
2
2
|
import { T as TelemetryConfig } from './telemetry-B9vIV4wh.cjs';
|
|
3
3
|
import { a as BlockDefinitions } from './collection-config-B4PG-AaF.cjs';
|
|
4
4
|
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-DFTyGfIH.js';
|
|
2
2
|
import { T as TelemetryConfig } from './telemetry-B9vIV4wh.js';
|
|
3
3
|
import { a as BlockDefinitions } from './collection-config-B4PG-AaF.js';
|
|
4
4
|
|
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-NDS4S4AG.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';
|
|
@@ -57,7 +57,7 @@ declare function renderTemplate(template: string, data?: TemplateData): string;
|
|
|
57
57
|
* Supports comprehensive filtering with AND/OR logic
|
|
58
58
|
* Compatible with D1 Database (SQLite)
|
|
59
59
|
*/
|
|
60
|
-
type FilterOperator = 'equals' | 'not_equals' | 'greater_than' | 'greater_than_equal' | 'less_than' | 'less_than_equal' | 'like' | 'contains' | 'in' | 'not_in' | 'all' | 'exists' | 'near' | 'within' | 'intersects';
|
|
60
|
+
type FilterOperator = 'equals' | 'not_equals' | 'greater_than' | 'greater_than_equal' | 'less_than' | 'less_than_equal' | 'like' | 'contains' | 'starts_with' | 'ends_with' | 'in' | 'not_in' | 'all' | 'exists' | 'near' | 'within' | 'intersects';
|
|
61
61
|
interface FilterCondition {
|
|
62
62
|
field: string;
|
|
63
63
|
operator: FilterOperator;
|
|
@@ -120,6 +120,14 @@ declare class QueryFilterBuilder {
|
|
|
120
120
|
* Build CONTAINS condition (case-insensitive substring)
|
|
121
121
|
*/
|
|
122
122
|
private buildContains;
|
|
123
|
+
/**
|
|
124
|
+
* Build STARTS_WITH condition (case-insensitive prefix match)
|
|
125
|
+
*/
|
|
126
|
+
private buildStartsWith;
|
|
127
|
+
/**
|
|
128
|
+
* Build ENDS_WITH condition (case-insensitive suffix match)
|
|
129
|
+
*/
|
|
130
|
+
private buildEndsWith;
|
|
123
131
|
/**
|
|
124
132
|
* Build IN condition
|
|
125
133
|
*/
|
|
@@ -57,7 +57,7 @@ declare function renderTemplate(template: string, data?: TemplateData): string;
|
|
|
57
57
|
* Supports comprehensive filtering with AND/OR logic
|
|
58
58
|
* Compatible with D1 Database (SQLite)
|
|
59
59
|
*/
|
|
60
|
-
type FilterOperator = 'equals' | 'not_equals' | 'greater_than' | 'greater_than_equal' | 'less_than' | 'less_than_equal' | 'like' | 'contains' | 'in' | 'not_in' | 'all' | 'exists' | 'near' | 'within' | 'intersects';
|
|
60
|
+
type FilterOperator = 'equals' | 'not_equals' | 'greater_than' | 'greater_than_equal' | 'less_than' | 'less_than_equal' | 'like' | 'contains' | 'starts_with' | 'ends_with' | 'in' | 'not_in' | 'all' | 'exists' | 'near' | 'within' | 'intersects';
|
|
61
61
|
interface FilterCondition {
|
|
62
62
|
field: string;
|
|
63
63
|
operator: FilterOperator;
|
|
@@ -120,6 +120,14 @@ declare class QueryFilterBuilder {
|
|
|
120
120
|
* Build CONTAINS condition (case-insensitive substring)
|
|
121
121
|
*/
|
|
122
122
|
private buildContains;
|
|
123
|
+
/**
|
|
124
|
+
* Build STARTS_WITH condition (case-insensitive prefix match)
|
|
125
|
+
*/
|
|
126
|
+
private buildStartsWith;
|
|
127
|
+
/**
|
|
128
|
+
* Build ENDS_WITH condition (case-insensitive suffix match)
|
|
129
|
+
*/
|
|
130
|
+
private buildEndsWith;
|
|
123
131
|
/**
|
|
124
132
|
* Build IN condition
|
|
125
133
|
*/
|
package/package.json
CHANGED