@sonicjs-cms/core 2.3.14 → 2.3.15
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-T4XRPNX2.js → chunk-4M2UOUXV.js} +8 -8
- package/dist/{chunk-T4XRPNX2.js.map → chunk-4M2UOUXV.js.map} +1 -1
- package/dist/{chunk-D4PJFFOV.cjs → chunk-5OLN5JO3.cjs} +90 -90
- package/dist/{chunk-D4PJFFOV.cjs.map → chunk-5OLN5JO3.cjs.map} +1 -1
- package/dist/{chunk-ETS5XSAG.cjs → chunk-63LV4YVI.cjs} +2 -2
- package/dist/{chunk-ETS5XSAG.cjs.map → chunk-63LV4YVI.cjs.map} +1 -1
- package/dist/{chunk-SKPETEM5.js → chunk-67SKO5RQ.js} +3 -3
- package/dist/{chunk-SKPETEM5.js.map → chunk-67SKO5RQ.js.map} +1 -1
- package/dist/{chunk-CAJOP354.js → chunk-72I2MOSH.js} +2 -2
- package/dist/{chunk-CAJOP354.js.map → chunk-72I2MOSH.js.map} +1 -1
- package/dist/{chunk-H34L445M.js → chunk-A27RBGBA.js} +3 -3
- package/dist/{chunk-H34L445M.js.map → chunk-A27RBGBA.js.map} +1 -1
- package/dist/{chunk-SZE3XVET.cjs → chunk-H2X4BFCW.cjs} +3 -3
- package/dist/{chunk-SZE3XVET.cjs.map → chunk-H2X4BFCW.cjs.map} +1 -1
- package/dist/{chunk-XWPGIFS7.cjs → chunk-QG3YQKL4.cjs} +4 -4
- package/dist/{chunk-XWPGIFS7.cjs.map → chunk-QG3YQKL4.cjs.map} +1 -1
- package/dist/index.cjs +108 -77
- 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 +38 -7
- package/dist/index.js.map +1 -1
- package/dist/middleware.cjs +23 -23
- package/dist/middleware.js +2 -2
- package/dist/migrations-H3Q5FZGZ.js +4 -0
- package/dist/{migrations-WF6VIVU2.js.map → migrations-H3Q5FZGZ.js.map} +1 -1
- package/dist/migrations-VN5VTX3C.cjs +13 -0
- package/dist/{migrations-3A53GREK.cjs.map → migrations-VN5VTX3C.cjs.map} +1 -1
- package/dist/{plugin-manifest-BCMx9CAq.d.cts → plugin-manifest-Dpy8wxIB.d.cts} +2 -2
- package/dist/{plugin-manifest-BCMx9CAq.d.ts → plugin-manifest-Dpy8wxIB.d.ts} +2 -2
- package/dist/routes.cjs +24 -24
- package/dist/routes.js +4 -4
- package/dist/services.cjs +2 -2
- package/dist/services.js +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utils.cjs +11 -11
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/migrations-3A53GREK.cjs +0 -13
- package/dist/migrations-WF6VIVU2.js +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getCacheService, CACHE_CONFIGS, getLogger, SettingsService } from './chunk-3YNNVSMC.js';
|
|
2
|
-
import { requireAuth, isPluginActive, requireRole, AuthManager, logActivity } from './chunk-
|
|
2
|
+
import { requireAuth, isPluginActive, requireRole, AuthManager, logActivity } from './chunk-A27RBGBA.js';
|
|
3
3
|
import { PluginService } from './chunk-SGAG6FD3.js';
|
|
4
|
-
import { MigrationService } from './chunk-
|
|
4
|
+
import { MigrationService } from './chunk-72I2MOSH.js';
|
|
5
5
|
import { init_admin_layout_catalyst_template, renderDesignPage, renderCheckboxPage, renderTestimonialsList, renderCodeExamplesList, renderAlert, renderTable, renderPagination, renderConfirmationDialog, getConfirmationDialogScript, renderAdminLayoutCatalyst, renderAdminLayout, adminLayoutV2, renderForm } from './chunk-V5LBQN3I.js';
|
|
6
|
-
import { QueryFilterBuilder, sanitizeInput, getCoreVersion, escapeHtml } from './chunk-
|
|
6
|
+
import { QueryFilterBuilder, sanitizeInput, getCoreVersion, escapeHtml } from './chunk-67SKO5RQ.js';
|
|
7
7
|
import { metricsTracker } from './chunk-FICTAGD4.js';
|
|
8
8
|
import { Hono } from 'hono';
|
|
9
9
|
import { cors } from 'hono/cors';
|
|
@@ -1720,7 +1720,7 @@ adminApiRoutes.delete("/collections/:id", async (c) => {
|
|
|
1720
1720
|
});
|
|
1721
1721
|
adminApiRoutes.get("/migrations/status", async (c) => {
|
|
1722
1722
|
try {
|
|
1723
|
-
const { MigrationService: MigrationService2 } = await import('./migrations-
|
|
1723
|
+
const { MigrationService: MigrationService2 } = await import('./migrations-H3Q5FZGZ.js');
|
|
1724
1724
|
const db = c.env.DB;
|
|
1725
1725
|
const migrationService = new MigrationService2(db);
|
|
1726
1726
|
const status = await migrationService.getMigrationStatus();
|
|
@@ -1745,7 +1745,7 @@ adminApiRoutes.post("/migrations/run", async (c) => {
|
|
|
1745
1745
|
error: "Unauthorized. Admin access required."
|
|
1746
1746
|
}, 403);
|
|
1747
1747
|
}
|
|
1748
|
-
const { MigrationService: MigrationService2 } = await import('./migrations-
|
|
1748
|
+
const { MigrationService: MigrationService2 } = await import('./migrations-H3Q5FZGZ.js');
|
|
1749
1749
|
const db = c.env.DB;
|
|
1750
1750
|
const migrationService = new MigrationService2(db);
|
|
1751
1751
|
const result = await migrationService.runPendingMigrations();
|
|
@@ -1764,7 +1764,7 @@ adminApiRoutes.post("/migrations/run", async (c) => {
|
|
|
1764
1764
|
});
|
|
1765
1765
|
adminApiRoutes.get("/migrations/validate", async (c) => {
|
|
1766
1766
|
try {
|
|
1767
|
-
const { MigrationService: MigrationService2 } = await import('./migrations-
|
|
1767
|
+
const { MigrationService: MigrationService2 } = await import('./migrations-H3Q5FZGZ.js');
|
|
1768
1768
|
const db = c.env.DB;
|
|
1769
1769
|
const migrationService = new MigrationService2(db);
|
|
1770
1770
|
const validation = await migrationService.validateSchema();
|
|
@@ -21757,5 +21757,5 @@ var ROUTES_INFO = {
|
|
|
21757
21757
|
};
|
|
21758
21758
|
|
|
21759
21759
|
export { PluginBuilder, ROUTES_INFO, adminCheckboxRoutes, adminCollectionsRoutes, adminDesignRoutes, adminLogsRoutes, adminMediaRoutes, adminPluginRoutes, adminSettingsRoutes, admin_api_default, admin_code_examples_default, admin_content_default, admin_testimonials_default, api_content_crud_default, api_default, api_media_default, api_system_default, auth_default, router, test_cleanup_default, userRoutes };
|
|
21760
|
-
//# sourceMappingURL=chunk-
|
|
21761
|
-
//# sourceMappingURL=chunk-
|
|
21760
|
+
//# sourceMappingURL=chunk-4M2UOUXV.js.map
|
|
21761
|
+
//# sourceMappingURL=chunk-4M2UOUXV.js.map
|