@sonicjs-cms/core 2.8.0 → 2.8.1
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-JDFPB6UW.js → chunk-7Q2XPM2U.js} +2 -2
- package/dist/{chunk-JDFPB6UW.js.map → chunk-7Q2XPM2U.js.map} +1 -1
- package/dist/{chunk-BAWMAS5S.js → chunk-FZRZYQYU.js} +82 -30
- package/dist/chunk-FZRZYQYU.js.map +1 -0
- package/dist/{chunk-GPTMGUFN.cjs → chunk-GIWIJNBH.cjs} +4 -4
- package/dist/{chunk-GPTMGUFN.cjs.map → chunk-GIWIJNBH.cjs.map} +1 -1
- package/dist/{chunk-YE2MU7CN.cjs → chunk-JVRRG36J.cjs} +178 -126
- package/dist/chunk-JVRRG36J.cjs.map +1 -0
- package/dist/{chunk-34QIAULP.js → chunk-KAT3OKHE.js} +3 -3
- package/dist/{chunk-34QIAULP.js.map → chunk-KAT3OKHE.js.map} +1 -1
- package/dist/{chunk-3E76TKR5.js → chunk-QWTS6NSP.js} +3 -3
- package/dist/{chunk-3E76TKR5.js.map → chunk-QWTS6NSP.js.map} +1 -1
- package/dist/{chunk-5CENPGR2.cjs → chunk-SKLRRFJJ.cjs} +2 -2
- package/dist/{chunk-5CENPGR2.cjs.map → chunk-SKLRRFJJ.cjs.map} +1 -1
- package/dist/{chunk-5HMR2SJW.cjs → chunk-WDQZYCQO.cjs} +3 -3
- package/dist/{chunk-5HMR2SJW.cjs.map → chunk-WDQZYCQO.cjs.map} +1 -1
- package/dist/index.cjs +84 -84
- package/dist/index.js +7 -7
- package/dist/middleware.cjs +23 -23
- package/dist/middleware.js +2 -2
- package/dist/migrations-2NTJ44OR.js +4 -0
- package/dist/{migrations-YB77VTVF.js.map → migrations-2NTJ44OR.js.map} +1 -1
- package/dist/migrations-76NR5BVF.cjs +13 -0
- package/dist/{migrations-7JGSFOCM.cjs.map → migrations-76NR5BVF.cjs.map} +1 -1
- package/dist/routes.cjs +27 -27
- package/dist/routes.js +4 -4
- package/dist/services.cjs +2 -2
- package/dist/services.js +1 -1
- package/dist/utils.cjs +14 -14
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-BAWMAS5S.js.map +0 -1
- package/dist/chunk-YE2MU7CN.cjs.map +0 -1
- package/dist/migrations-7JGSFOCM.cjs +0 -13
- package/dist/migrations-YB77VTVF.js +0 -4
package/dist/routes.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJVRRG36J_cjs = require('./chunk-JVRRG36J.cjs');
|
|
4
4
|
require('./chunk-VNLR35GO.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-GIWIJNBH.cjs');
|
|
6
6
|
require('./chunk-MPT5PA6U.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-SKLRRFJJ.cjs');
|
|
8
8
|
require('./chunk-SHCYIZAN.cjs');
|
|
9
9
|
require('./chunk-6FHNRRJ3.cjs');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-WDQZYCQO.cjs');
|
|
11
11
|
require('./chunk-P3XDZL6Q.cjs');
|
|
12
12
|
require('./chunk-RCQ2HIQD.cjs');
|
|
13
13
|
require('./chunk-IGJUBJBW.cjs');
|
|
@@ -16,95 +16,95 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
16
16
|
|
|
17
17
|
Object.defineProperty(exports, "ROUTES_INFO", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkJVRRG36J_cjs.ROUTES_INFO; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "adminApiReferenceRoutes", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkJVRRG36J_cjs.router2; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "adminApiRoutes", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkJVRRG36J_cjs.admin_api_default; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "adminCheckboxRoutes", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkJVRRG36J_cjs.adminCheckboxRoutes; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "adminCodeExamplesRoutes", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkJVRRG36J_cjs.admin_code_examples_default; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "adminCollectionsRoutes", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkJVRRG36J_cjs.adminCollectionsRoutes; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "adminContentRoutes", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkJVRRG36J_cjs.admin_content_default; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "adminDashboardRoutes", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkJVRRG36J_cjs.router; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "adminDesignRoutes", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkJVRRG36J_cjs.adminDesignRoutes; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "adminFormsRoutes", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkJVRRG36J_cjs.adminFormsRoutes; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "adminLogsRoutes", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkJVRRG36J_cjs.adminLogsRoutes; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "adminMediaRoutes", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkJVRRG36J_cjs.adminMediaRoutes; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "adminPluginRoutes", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkJVRRG36J_cjs.adminPluginRoutes; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "adminSettingsRoutes", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkJVRRG36J_cjs.adminSettingsRoutes; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "adminTestimonialsRoutes", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkJVRRG36J_cjs.admin_testimonials_default; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "adminUsersRoutes", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkJVRRG36J_cjs.userRoutes; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "apiContentCrudRoutes", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkJVRRG36J_cjs.api_content_crud_default; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "apiMediaRoutes", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkJVRRG36J_cjs.api_media_default; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "apiRoutes", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkJVRRG36J_cjs.api_default; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "apiSystemRoutes", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkJVRRG36J_cjs.api_system_default; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "authRoutes", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkJVRRG36J_cjs.auth_default; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "publicFormsRoutes", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkJVRRG36J_cjs.public_forms_default; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "testCleanupRoutes", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkJVRRG36J_cjs.test_cleanup_default; }
|
|
108
108
|
});
|
|
109
109
|
//# sourceMappingURL=routes.cjs.map
|
|
110
110
|
//# 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-FZRZYQYU.js';
|
|
2
2
|
import './chunk-G44QUVNM.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-QWTS6NSP.js';
|
|
4
4
|
import './chunk-YFJJU26H.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-7Q2XPM2U.js';
|
|
6
6
|
import './chunk-VCH6HXVP.js';
|
|
7
7
|
import './chunk-J5WGMRSU.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-KAT3OKHE.js';
|
|
9
9
|
import './chunk-X7ZAEI5S.js';
|
|
10
10
|
import './chunk-FICTAGD4.js';
|
|
11
11
|
import './chunk-V4OQ3NZ2.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
|
|
5
|
+
var chunkSKLRRFJJ_cjs = require('./chunk-SKLRRFJJ.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
|
|
109
|
+
get: function () { return chunkSKLRRFJJ_cjs.MigrationService; }
|
|
110
110
|
});
|
|
111
111
|
//# sourceMappingURL=services.cjs.map
|
|
112
112
|
//# sourceMappingURL=services.cjs.map
|
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-
|
|
3
|
+
export { MigrationService } from './chunk-7Q2XPM2U.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 chunkWDQZYCQO_cjs = require('./chunk-WDQZYCQO.cjs');
|
|
4
4
|
var chunkP3XDZL6Q_cjs = require('./chunk-P3XDZL6Q.cjs');
|
|
5
5
|
var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
|
|
6
6
|
require('./chunk-IGJUBJBW.cjs');
|
|
@@ -9,55 +9,55 @@ require('./chunk-IGJUBJBW.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "QueryFilterBuilder", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkWDQZYCQO_cjs.QueryFilterBuilder; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "SONICJS_VERSION", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkWDQZYCQO_cjs.SONICJS_VERSION; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "TemplateRenderer", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkWDQZYCQO_cjs.TemplateRenderer; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "buildQuery", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkWDQZYCQO_cjs.buildQuery; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "escapeHtml", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkWDQZYCQO_cjs.escapeHtml; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "generateSlug", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkWDQZYCQO_cjs.generateSlug; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "getBlocksFieldConfig", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkWDQZYCQO_cjs.getBlocksFieldConfig; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "getCoreVersion", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkWDQZYCQO_cjs.getCoreVersion; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "parseBlocksValue", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkWDQZYCQO_cjs.parseBlocksValue; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "renderTemplate", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkWDQZYCQO_cjs.renderTemplate; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "sanitizeInput", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkWDQZYCQO_cjs.sanitizeInput; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "sanitizeObject", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkWDQZYCQO_cjs.sanitizeObject; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "templateRenderer", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkWDQZYCQO_cjs.templateRenderer; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "generateInstallationId", {
|
|
63
63
|
enumerable: true,
|
package/dist/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, escapeHtml, generateSlug, getBlocksFieldConfig, getCoreVersion, parseBlocksValue, renderTemplate, sanitizeInput, sanitizeObject, templateRenderer } from './chunk-
|
|
1
|
+
export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, escapeHtml, generateSlug, getBlocksFieldConfig, getCoreVersion, parseBlocksValue, renderTemplate, sanitizeInput, sanitizeObject, templateRenderer } from './chunk-KAT3OKHE.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
|
import './chunk-V4OQ3NZ2.js';
|
package/package.json
CHANGED