@sonicjs-cms/core 2.8.2 → 2.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-WI5ESQKT.js → chunk-5XAI2XUF.js} +3 -3
- package/dist/{chunk-WI5ESQKT.js.map → chunk-5XAI2XUF.js.map} +1 -1
- package/dist/{chunk-4Z5BQZT6.js → chunk-CH5UHZVM.js} +160 -23
- package/dist/chunk-CH5UHZVM.js.map +1 -0
- package/dist/{chunk-I6REMSMF.js → chunk-GTFMI24U.js} +2 -2
- package/dist/{chunk-I6REMSMF.js.map → chunk-GTFMI24U.js.map} +1 -1
- package/dist/{chunk-VGSZWZP3.cjs → chunk-HXHVU5GM.cjs} +2 -2
- package/dist/{chunk-VGSZWZP3.cjs.map → chunk-HXHVU5GM.cjs.map} +1 -1
- package/dist/{chunk-JSHIGVIF.cjs → chunk-JDIM5AG7.cjs} +3 -3
- package/dist/{chunk-JSHIGVIF.cjs.map → chunk-JDIM5AG7.cjs.map} +1 -1
- package/dist/{chunk-ZWKCL46S.cjs → chunk-K4Q4SFJJ.cjs} +4 -4
- package/dist/{chunk-ZWKCL46S.cjs.map → chunk-K4Q4SFJJ.cjs.map} +1 -1
- package/dist/{chunk-3U5YHS4G.cjs → chunk-R4WR3VTN.cjs} +238 -101
- package/dist/chunk-R4WR3VTN.cjs.map +1 -0
- package/dist/{chunk-FUUVSYVQ.js → chunk-Y3VMEGY2.js} +3 -3
- package/dist/{chunk-FUUVSYVQ.js.map → chunk-Y3VMEGY2.js.map} +1 -1
- package/dist/{collection-config-BF95LgQb.d.cts → collection-config-i8EaAF7z.d.cts} +2 -1
- package/dist/{collection-config-BF95LgQb.d.ts → collection-config-i8EaAF7z.d.ts} +2 -1
- package/dist/index.cjs +83 -83
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7 -7
- package/dist/middleware.cjs +28 -28
- package/dist/middleware.js +2 -2
- package/dist/migrations-7X4RPH7O.cjs +13 -0
- package/dist/{migrations-F3G6CTRS.cjs.map → migrations-7X4RPH7O.cjs.map} +1 -1
- package/dist/migrations-KHWFJ2HN.js +4 -0
- package/dist/{migrations-LLNEST75.js.map → migrations-KHWFJ2HN.js.map} +1 -1
- package/dist/{plugin-bootstrap-C7Mj00Ud.d.ts → plugin-bootstrap-CJozpgmI.d.cts} +1 -1
- package/dist/{plugin-bootstrap-DKB5f8-E.d.cts → plugin-bootstrap-DU5VmuHZ.d.ts} +1 -1
- package/dist/routes.cjs +27 -27
- package/dist/routes.js +4 -4
- package/dist/services.cjs +2 -2
- package/dist/services.d.cts +2 -2
- package/dist/services.d.ts +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.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-3U5YHS4G.cjs.map +0 -1
- package/dist/chunk-4Z5BQZT6.js.map +0 -1
- package/dist/migrations-F3G6CTRS.cjs +0 -13
- package/dist/migrations-LLNEST75.js +0 -4
package/dist/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkR4WR3VTN_cjs = require('./chunk-R4WR3VTN.cjs');
|
|
4
4
|
var chunkVNLR35GO_cjs = require('./chunk-VNLR35GO.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkK4Q4SFJJ_cjs = require('./chunk-K4Q4SFJJ.cjs');
|
|
6
6
|
var chunkMPT5PA6U_cjs = require('./chunk-MPT5PA6U.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkHXHVU5GM_cjs = require('./chunk-HXHVU5GM.cjs');
|
|
8
8
|
var chunk3G7XX4UI_cjs = require('./chunk-3G7XX4UI.cjs');
|
|
9
9
|
var chunkLTKV7AE5_cjs = require('./chunk-LTKV7AE5.cjs');
|
|
10
10
|
var chunkMNFY6DWY_cjs = require('./chunk-MNFY6DWY.cjs');
|
|
11
11
|
var chunk6FHNRRJ3_cjs = require('./chunk-6FHNRRJ3.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkJDIM5AG7_cjs = require('./chunk-JDIM5AG7.cjs');
|
|
13
13
|
require('./chunk-P3XDZL6Q.cjs');
|
|
14
14
|
var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
|
|
15
15
|
var chunkMNWKYY5E_cjs = require('./chunk-MNWKYY5E.cjs');
|
|
@@ -559,7 +559,7 @@ function formatCellValue(value) {
|
|
|
559
559
|
// src/plugins/core-plugins/database-tools-plugin/admin-routes.ts
|
|
560
560
|
function createDatabaseToolsAdminRoutes() {
|
|
561
561
|
const router3 = new hono.Hono();
|
|
562
|
-
router3.use("*",
|
|
562
|
+
router3.use("*", chunkK4Q4SFJJ_cjs.requireAuth());
|
|
563
563
|
router3.get("/api/stats", async (c) => {
|
|
564
564
|
try {
|
|
565
565
|
const user = c.get("user");
|
|
@@ -1925,7 +1925,7 @@ function createOTPLoginPlugin() {
|
|
|
1925
1925
|
error: "Account is deactivated"
|
|
1926
1926
|
}, 403);
|
|
1927
1927
|
}
|
|
1928
|
-
const token = await
|
|
1928
|
+
const token = await chunkK4Q4SFJJ_cjs.AuthManager.generateToken(user.id, user.email, user.role, c.env.JWT_SECRET);
|
|
1929
1929
|
cookie.setCookie(c, "auth_token", token, {
|
|
1930
1930
|
httpOnly: true,
|
|
1931
1931
|
secure: true,
|
|
@@ -3575,7 +3575,7 @@ function renderSettingsPage(data) {
|
|
|
3575
3575
|
|
|
3576
3576
|
// src/plugins/core-plugins/ai-search-plugin/routes/admin.ts
|
|
3577
3577
|
var adminRoutes = new hono.Hono();
|
|
3578
|
-
adminRoutes.use("*",
|
|
3578
|
+
adminRoutes.use("*", chunkK4Q4SFJJ_cjs.requireAuth());
|
|
3579
3579
|
adminRoutes.get("/", async (c) => {
|
|
3580
3580
|
try {
|
|
3581
3581
|
const user = c.get("user");
|
|
@@ -3976,13 +3976,13 @@ function createMagicLinkAuthPlugin() {
|
|
|
3976
3976
|
SET used = 1, used_at = ?
|
|
3977
3977
|
WHERE id = ?
|
|
3978
3978
|
`).bind(Date.now(), magicLink.id).run();
|
|
3979
|
-
const jwtToken = await
|
|
3979
|
+
const jwtToken = await chunkK4Q4SFJJ_cjs.AuthManager.generateToken(
|
|
3980
3980
|
user.id,
|
|
3981
3981
|
user.email,
|
|
3982
3982
|
user.role,
|
|
3983
3983
|
c.env.JWT_SECRET
|
|
3984
3984
|
);
|
|
3985
|
-
|
|
3985
|
+
chunkK4Q4SFJJ_cjs.AuthManager.setAuthCookie(c, jwtToken);
|
|
3986
3986
|
await db.prepare(`
|
|
3987
3987
|
UPDATE users SET last_login_at = ? WHERE id = ?
|
|
3988
3988
|
`).bind(Date.now(), user.id).run();
|
|
@@ -5268,7 +5268,7 @@ function renderCacheDashboard(data) {
|
|
|
5268
5268
|
</script>
|
|
5269
5269
|
|
|
5270
5270
|
<!-- Confirmation Dialogs -->
|
|
5271
|
-
${
|
|
5271
|
+
${chunkR4WR3VTN_cjs.renderConfirmationDialog({
|
|
5272
5272
|
id: "clear-all-cache-confirm",
|
|
5273
5273
|
title: "Clear All Cache",
|
|
5274
5274
|
message: "Are you sure you want to clear all cache entries? This cannot be undone.",
|
|
@@ -5279,7 +5279,7 @@ function renderCacheDashboard(data) {
|
|
|
5279
5279
|
onConfirm: "performClearAllCaches()"
|
|
5280
5280
|
})}
|
|
5281
5281
|
|
|
5282
|
-
${
|
|
5282
|
+
${chunkR4WR3VTN_cjs.renderConfirmationDialog({
|
|
5283
5283
|
id: "clear-namespace-cache-confirm",
|
|
5284
5284
|
title: "Clear Namespace Cache",
|
|
5285
5285
|
message: "Clear cache for this namespace?",
|
|
@@ -5290,7 +5290,7 @@ function renderCacheDashboard(data) {
|
|
|
5290
5290
|
onConfirm: "performClearNamespaceCache()"
|
|
5291
5291
|
})}
|
|
5292
5292
|
|
|
5293
|
-
${
|
|
5293
|
+
${chunkR4WR3VTN_cjs.getConfirmationDialogScript()}
|
|
5294
5294
|
`;
|
|
5295
5295
|
const layoutData = {
|
|
5296
5296
|
title: "Cache System",
|
|
@@ -5976,14 +5976,14 @@ var faviconSvg = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
|
5976
5976
|
// src/app.ts
|
|
5977
5977
|
function createSonicJSApp(config = {}) {
|
|
5978
5978
|
const app2 = new hono.Hono();
|
|
5979
|
-
const appVersion = config.version ||
|
|
5979
|
+
const appVersion = config.version || chunkJDIM5AG7_cjs.getCoreVersion();
|
|
5980
5980
|
const appName = config.name || "SonicJS AI";
|
|
5981
5981
|
app2.use("*", async (c, next) => {
|
|
5982
5982
|
c.set("appVersion", appVersion);
|
|
5983
5983
|
await next();
|
|
5984
5984
|
});
|
|
5985
|
-
app2.use("*",
|
|
5986
|
-
app2.use("*",
|
|
5985
|
+
app2.use("*", chunkK4Q4SFJJ_cjs.metricsMiddleware());
|
|
5986
|
+
app2.use("*", chunkK4Q4SFJJ_cjs.bootstrapMiddleware(config));
|
|
5987
5987
|
if (config.middleware?.beforeAuth) {
|
|
5988
5988
|
for (const middleware of config.middleware.beforeAuth) {
|
|
5989
5989
|
app2.use("*", middleware);
|
|
@@ -5992,28 +5992,28 @@ function createSonicJSApp(config = {}) {
|
|
|
5992
5992
|
app2.use("*", async (_c, next) => {
|
|
5993
5993
|
await next();
|
|
5994
5994
|
});
|
|
5995
|
-
app2.use("*",
|
|
5996
|
-
app2.use("*",
|
|
5995
|
+
app2.use("*", chunkK4Q4SFJJ_cjs.securityHeadersMiddleware());
|
|
5996
|
+
app2.use("*", chunkK4Q4SFJJ_cjs.csrfProtection());
|
|
5997
5997
|
if (config.middleware?.afterAuth) {
|
|
5998
5998
|
for (const middleware of config.middleware.afterAuth) {
|
|
5999
5999
|
app2.use("*", middleware);
|
|
6000
6000
|
}
|
|
6001
6001
|
}
|
|
6002
|
-
app2.route("/api",
|
|
6003
|
-
app2.route("/api/media",
|
|
6004
|
-
app2.route("/api/system",
|
|
6005
|
-
app2.route("/admin/api",
|
|
6006
|
-
app2.route("/admin/dashboard",
|
|
6007
|
-
app2.route("/admin/collections",
|
|
6008
|
-
app2.route("/admin/forms",
|
|
6009
|
-
app2.route("/admin/settings",
|
|
6010
|
-
app2.route("/forms",
|
|
6011
|
-
app2.route("/api/forms",
|
|
6012
|
-
app2.route("/admin/api-reference",
|
|
6002
|
+
app2.route("/api", chunkR4WR3VTN_cjs.api_default);
|
|
6003
|
+
app2.route("/api/media", chunkR4WR3VTN_cjs.api_media_default);
|
|
6004
|
+
app2.route("/api/system", chunkR4WR3VTN_cjs.api_system_default);
|
|
6005
|
+
app2.route("/admin/api", chunkR4WR3VTN_cjs.admin_api_default);
|
|
6006
|
+
app2.route("/admin/dashboard", chunkR4WR3VTN_cjs.router);
|
|
6007
|
+
app2.route("/admin/collections", chunkR4WR3VTN_cjs.adminCollectionsRoutes);
|
|
6008
|
+
app2.route("/admin/forms", chunkR4WR3VTN_cjs.adminFormsRoutes);
|
|
6009
|
+
app2.route("/admin/settings", chunkR4WR3VTN_cjs.adminSettingsRoutes);
|
|
6010
|
+
app2.route("/forms", chunkR4WR3VTN_cjs.public_forms_default);
|
|
6011
|
+
app2.route("/api/forms", chunkR4WR3VTN_cjs.public_forms_default);
|
|
6012
|
+
app2.route("/admin/api-reference", chunkR4WR3VTN_cjs.router2);
|
|
6013
6013
|
app2.route("/admin/database-tools", createDatabaseToolsAdminRoutes());
|
|
6014
6014
|
app2.route("/admin/seed-data", createSeedDataAdminRoutes());
|
|
6015
|
-
app2.route("/admin/content",
|
|
6016
|
-
app2.route("/admin/media",
|
|
6015
|
+
app2.route("/admin/content", chunkR4WR3VTN_cjs.admin_content_default);
|
|
6016
|
+
app2.route("/admin/media", chunkR4WR3VTN_cjs.adminMediaRoutes);
|
|
6017
6017
|
if (aiSearchPlugin.routes && aiSearchPlugin.routes.length > 0) {
|
|
6018
6018
|
for (const route of aiSearchPlugin.routes) {
|
|
6019
6019
|
app2.route(route.path, route.handler);
|
|
@@ -6025,11 +6025,11 @@ function createSonicJSApp(config = {}) {
|
|
|
6025
6025
|
app2.route(route.path, route.handler);
|
|
6026
6026
|
}
|
|
6027
6027
|
}
|
|
6028
|
-
app2.route("/admin/plugins",
|
|
6029
|
-
app2.route("/admin/logs",
|
|
6030
|
-
app2.route("/admin",
|
|
6031
|
-
app2.route("/auth",
|
|
6032
|
-
app2.route("/",
|
|
6028
|
+
app2.route("/admin/plugins", chunkR4WR3VTN_cjs.adminPluginRoutes);
|
|
6029
|
+
app2.route("/admin/logs", chunkR4WR3VTN_cjs.adminLogsRoutes);
|
|
6030
|
+
app2.route("/admin", chunkR4WR3VTN_cjs.userRoutes);
|
|
6031
|
+
app2.route("/auth", chunkR4WR3VTN_cjs.auth_default);
|
|
6032
|
+
app2.route("/", chunkR4WR3VTN_cjs.test_cleanup_default);
|
|
6033
6033
|
if (emailPlugin.routes && emailPlugin.routes.length > 0) {
|
|
6034
6034
|
for (const route of emailPlugin.routes) {
|
|
6035
6035
|
app2.route(route.path, route.handler);
|
|
@@ -6112,83 +6112,83 @@ function createDb(d1$1) {
|
|
|
6112
6112
|
}
|
|
6113
6113
|
|
|
6114
6114
|
// src/index.ts
|
|
6115
|
-
var VERSION =
|
|
6115
|
+
var VERSION = chunkJDIM5AG7_cjs.package_default.version;
|
|
6116
6116
|
|
|
6117
6117
|
Object.defineProperty(exports, "ROUTES_INFO", {
|
|
6118
6118
|
enumerable: true,
|
|
6119
|
-
get: function () { return
|
|
6119
|
+
get: function () { return chunkR4WR3VTN_cjs.ROUTES_INFO; }
|
|
6120
6120
|
});
|
|
6121
6121
|
Object.defineProperty(exports, "adminApiRoutes", {
|
|
6122
6122
|
enumerable: true,
|
|
6123
|
-
get: function () { return
|
|
6123
|
+
get: function () { return chunkR4WR3VTN_cjs.admin_api_default; }
|
|
6124
6124
|
});
|
|
6125
6125
|
Object.defineProperty(exports, "adminCheckboxRoutes", {
|
|
6126
6126
|
enumerable: true,
|
|
6127
|
-
get: function () { return
|
|
6127
|
+
get: function () { return chunkR4WR3VTN_cjs.adminCheckboxRoutes; }
|
|
6128
6128
|
});
|
|
6129
6129
|
Object.defineProperty(exports, "adminCodeExamplesRoutes", {
|
|
6130
6130
|
enumerable: true,
|
|
6131
|
-
get: function () { return
|
|
6131
|
+
get: function () { return chunkR4WR3VTN_cjs.admin_code_examples_default; }
|
|
6132
6132
|
});
|
|
6133
6133
|
Object.defineProperty(exports, "adminCollectionsRoutes", {
|
|
6134
6134
|
enumerable: true,
|
|
6135
|
-
get: function () { return
|
|
6135
|
+
get: function () { return chunkR4WR3VTN_cjs.adminCollectionsRoutes; }
|
|
6136
6136
|
});
|
|
6137
6137
|
Object.defineProperty(exports, "adminContentRoutes", {
|
|
6138
6138
|
enumerable: true,
|
|
6139
|
-
get: function () { return
|
|
6139
|
+
get: function () { return chunkR4WR3VTN_cjs.admin_content_default; }
|
|
6140
6140
|
});
|
|
6141
6141
|
Object.defineProperty(exports, "adminDashboardRoutes", {
|
|
6142
6142
|
enumerable: true,
|
|
6143
|
-
get: function () { return
|
|
6143
|
+
get: function () { return chunkR4WR3VTN_cjs.router; }
|
|
6144
6144
|
});
|
|
6145
6145
|
Object.defineProperty(exports, "adminDesignRoutes", {
|
|
6146
6146
|
enumerable: true,
|
|
6147
|
-
get: function () { return
|
|
6147
|
+
get: function () { return chunkR4WR3VTN_cjs.adminDesignRoutes; }
|
|
6148
6148
|
});
|
|
6149
6149
|
Object.defineProperty(exports, "adminLogsRoutes", {
|
|
6150
6150
|
enumerable: true,
|
|
6151
|
-
get: function () { return
|
|
6151
|
+
get: function () { return chunkR4WR3VTN_cjs.adminLogsRoutes; }
|
|
6152
6152
|
});
|
|
6153
6153
|
Object.defineProperty(exports, "adminMediaRoutes", {
|
|
6154
6154
|
enumerable: true,
|
|
6155
|
-
get: function () { return
|
|
6155
|
+
get: function () { return chunkR4WR3VTN_cjs.adminMediaRoutes; }
|
|
6156
6156
|
});
|
|
6157
6157
|
Object.defineProperty(exports, "adminPluginRoutes", {
|
|
6158
6158
|
enumerable: true,
|
|
6159
|
-
get: function () { return
|
|
6159
|
+
get: function () { return chunkR4WR3VTN_cjs.adminPluginRoutes; }
|
|
6160
6160
|
});
|
|
6161
6161
|
Object.defineProperty(exports, "adminSettingsRoutes", {
|
|
6162
6162
|
enumerable: true,
|
|
6163
|
-
get: function () { return
|
|
6163
|
+
get: function () { return chunkR4WR3VTN_cjs.adminSettingsRoutes; }
|
|
6164
6164
|
});
|
|
6165
6165
|
Object.defineProperty(exports, "adminTestimonialsRoutes", {
|
|
6166
6166
|
enumerable: true,
|
|
6167
|
-
get: function () { return
|
|
6167
|
+
get: function () { return chunkR4WR3VTN_cjs.admin_testimonials_default; }
|
|
6168
6168
|
});
|
|
6169
6169
|
Object.defineProperty(exports, "adminUsersRoutes", {
|
|
6170
6170
|
enumerable: true,
|
|
6171
|
-
get: function () { return
|
|
6171
|
+
get: function () { return chunkR4WR3VTN_cjs.userRoutes; }
|
|
6172
6172
|
});
|
|
6173
6173
|
Object.defineProperty(exports, "apiContentCrudRoutes", {
|
|
6174
6174
|
enumerable: true,
|
|
6175
|
-
get: function () { return
|
|
6175
|
+
get: function () { return chunkR4WR3VTN_cjs.api_content_crud_default; }
|
|
6176
6176
|
});
|
|
6177
6177
|
Object.defineProperty(exports, "apiMediaRoutes", {
|
|
6178
6178
|
enumerable: true,
|
|
6179
|
-
get: function () { return
|
|
6179
|
+
get: function () { return chunkR4WR3VTN_cjs.api_media_default; }
|
|
6180
6180
|
});
|
|
6181
6181
|
Object.defineProperty(exports, "apiRoutes", {
|
|
6182
6182
|
enumerable: true,
|
|
6183
|
-
get: function () { return
|
|
6183
|
+
get: function () { return chunkR4WR3VTN_cjs.api_default; }
|
|
6184
6184
|
});
|
|
6185
6185
|
Object.defineProperty(exports, "apiSystemRoutes", {
|
|
6186
6186
|
enumerable: true,
|
|
6187
|
-
get: function () { return
|
|
6187
|
+
get: function () { return chunkR4WR3VTN_cjs.api_system_default; }
|
|
6188
6188
|
});
|
|
6189
6189
|
Object.defineProperty(exports, "authRoutes", {
|
|
6190
6190
|
enumerable: true,
|
|
6191
|
-
get: function () { return
|
|
6191
|
+
get: function () { return chunkR4WR3VTN_cjs.auth_default; }
|
|
6192
6192
|
});
|
|
6193
6193
|
Object.defineProperty(exports, "Logger", {
|
|
6194
6194
|
enumerable: true,
|
|
@@ -6356,83 +6356,83 @@ Object.defineProperty(exports, "workflowHistory", {
|
|
|
6356
6356
|
});
|
|
6357
6357
|
Object.defineProperty(exports, "AuthManager", {
|
|
6358
6358
|
enumerable: true,
|
|
6359
|
-
get: function () { return
|
|
6359
|
+
get: function () { return chunkK4Q4SFJJ_cjs.AuthManager; }
|
|
6360
6360
|
});
|
|
6361
6361
|
Object.defineProperty(exports, "PermissionManager", {
|
|
6362
6362
|
enumerable: true,
|
|
6363
|
-
get: function () { return
|
|
6363
|
+
get: function () { return chunkK4Q4SFJJ_cjs.PermissionManager; }
|
|
6364
6364
|
});
|
|
6365
6365
|
Object.defineProperty(exports, "bootstrapMiddleware", {
|
|
6366
6366
|
enumerable: true,
|
|
6367
|
-
get: function () { return
|
|
6367
|
+
get: function () { return chunkK4Q4SFJJ_cjs.bootstrapMiddleware; }
|
|
6368
6368
|
});
|
|
6369
6369
|
Object.defineProperty(exports, "cacheHeaders", {
|
|
6370
6370
|
enumerable: true,
|
|
6371
|
-
get: function () { return
|
|
6371
|
+
get: function () { return chunkK4Q4SFJJ_cjs.cacheHeaders; }
|
|
6372
6372
|
});
|
|
6373
6373
|
Object.defineProperty(exports, "compressionMiddleware", {
|
|
6374
6374
|
enumerable: true,
|
|
6375
|
-
get: function () { return
|
|
6375
|
+
get: function () { return chunkK4Q4SFJJ_cjs.compressionMiddleware; }
|
|
6376
6376
|
});
|
|
6377
6377
|
Object.defineProperty(exports, "detailedLoggingMiddleware", {
|
|
6378
6378
|
enumerable: true,
|
|
6379
|
-
get: function () { return
|
|
6379
|
+
get: function () { return chunkK4Q4SFJJ_cjs.detailedLoggingMiddleware; }
|
|
6380
6380
|
});
|
|
6381
6381
|
Object.defineProperty(exports, "getActivePlugins", {
|
|
6382
6382
|
enumerable: true,
|
|
6383
|
-
get: function () { return
|
|
6383
|
+
get: function () { return chunkK4Q4SFJJ_cjs.getActivePlugins; }
|
|
6384
6384
|
});
|
|
6385
6385
|
Object.defineProperty(exports, "isPluginActive", {
|
|
6386
6386
|
enumerable: true,
|
|
6387
|
-
get: function () { return
|
|
6387
|
+
get: function () { return chunkK4Q4SFJJ_cjs.isPluginActive; }
|
|
6388
6388
|
});
|
|
6389
6389
|
Object.defineProperty(exports, "logActivity", {
|
|
6390
6390
|
enumerable: true,
|
|
6391
|
-
get: function () { return
|
|
6391
|
+
get: function () { return chunkK4Q4SFJJ_cjs.logActivity; }
|
|
6392
6392
|
});
|
|
6393
6393
|
Object.defineProperty(exports, "loggingMiddleware", {
|
|
6394
6394
|
enumerable: true,
|
|
6395
|
-
get: function () { return
|
|
6395
|
+
get: function () { return chunkK4Q4SFJJ_cjs.loggingMiddleware; }
|
|
6396
6396
|
});
|
|
6397
6397
|
Object.defineProperty(exports, "optionalAuth", {
|
|
6398
6398
|
enumerable: true,
|
|
6399
|
-
get: function () { return
|
|
6399
|
+
get: function () { return chunkK4Q4SFJJ_cjs.optionalAuth; }
|
|
6400
6400
|
});
|
|
6401
6401
|
Object.defineProperty(exports, "performanceLoggingMiddleware", {
|
|
6402
6402
|
enumerable: true,
|
|
6403
|
-
get: function () { return
|
|
6403
|
+
get: function () { return chunkK4Q4SFJJ_cjs.performanceLoggingMiddleware; }
|
|
6404
6404
|
});
|
|
6405
6405
|
Object.defineProperty(exports, "requireActivePlugin", {
|
|
6406
6406
|
enumerable: true,
|
|
6407
|
-
get: function () { return
|
|
6407
|
+
get: function () { return chunkK4Q4SFJJ_cjs.requireActivePlugin; }
|
|
6408
6408
|
});
|
|
6409
6409
|
Object.defineProperty(exports, "requireActivePlugins", {
|
|
6410
6410
|
enumerable: true,
|
|
6411
|
-
get: function () { return
|
|
6411
|
+
get: function () { return chunkK4Q4SFJJ_cjs.requireActivePlugins; }
|
|
6412
6412
|
});
|
|
6413
6413
|
Object.defineProperty(exports, "requireAnyPermission", {
|
|
6414
6414
|
enumerable: true,
|
|
6415
|
-
get: function () { return
|
|
6415
|
+
get: function () { return chunkK4Q4SFJJ_cjs.requireAnyPermission; }
|
|
6416
6416
|
});
|
|
6417
6417
|
Object.defineProperty(exports, "requireAuth", {
|
|
6418
6418
|
enumerable: true,
|
|
6419
|
-
get: function () { return
|
|
6419
|
+
get: function () { return chunkK4Q4SFJJ_cjs.requireAuth; }
|
|
6420
6420
|
});
|
|
6421
6421
|
Object.defineProperty(exports, "requirePermission", {
|
|
6422
6422
|
enumerable: true,
|
|
6423
|
-
get: function () { return
|
|
6423
|
+
get: function () { return chunkK4Q4SFJJ_cjs.requirePermission; }
|
|
6424
6424
|
});
|
|
6425
6425
|
Object.defineProperty(exports, "requireRole", {
|
|
6426
6426
|
enumerable: true,
|
|
6427
|
-
get: function () { return
|
|
6427
|
+
get: function () { return chunkK4Q4SFJJ_cjs.requireRole; }
|
|
6428
6428
|
});
|
|
6429
6429
|
Object.defineProperty(exports, "securityHeaders", {
|
|
6430
6430
|
enumerable: true,
|
|
6431
|
-
get: function () { return
|
|
6431
|
+
get: function () { return chunkK4Q4SFJJ_cjs.securityHeadersMiddleware; }
|
|
6432
6432
|
});
|
|
6433
6433
|
Object.defineProperty(exports, "securityLoggingMiddleware", {
|
|
6434
6434
|
enumerable: true,
|
|
6435
|
-
get: function () { return
|
|
6435
|
+
get: function () { return chunkK4Q4SFJJ_cjs.securityLoggingMiddleware; }
|
|
6436
6436
|
});
|
|
6437
6437
|
Object.defineProperty(exports, "PluginBootstrapService", {
|
|
6438
6438
|
enumerable: true,
|
|
@@ -6488,7 +6488,7 @@ Object.defineProperty(exports, "validateCollectionConfig", {
|
|
|
6488
6488
|
});
|
|
6489
6489
|
Object.defineProperty(exports, "MigrationService", {
|
|
6490
6490
|
enumerable: true,
|
|
6491
|
-
get: function () { return
|
|
6491
|
+
get: function () { return chunkHXHVU5GM_cjs.MigrationService; }
|
|
6492
6492
|
});
|
|
6493
6493
|
Object.defineProperty(exports, "renderFilterBar", {
|
|
6494
6494
|
enumerable: true,
|
|
@@ -6556,31 +6556,31 @@ Object.defineProperty(exports, "PluginHelpers", {
|
|
|
6556
6556
|
});
|
|
6557
6557
|
Object.defineProperty(exports, "QueryFilterBuilder", {
|
|
6558
6558
|
enumerable: true,
|
|
6559
|
-
get: function () { return
|
|
6559
|
+
get: function () { return chunkJDIM5AG7_cjs.QueryFilterBuilder; }
|
|
6560
6560
|
});
|
|
6561
6561
|
Object.defineProperty(exports, "SONICJS_VERSION", {
|
|
6562
6562
|
enumerable: true,
|
|
6563
|
-
get: function () { return
|
|
6563
|
+
get: function () { return chunkJDIM5AG7_cjs.SONICJS_VERSION; }
|
|
6564
6564
|
});
|
|
6565
6565
|
Object.defineProperty(exports, "TemplateRenderer", {
|
|
6566
6566
|
enumerable: true,
|
|
6567
|
-
get: function () { return
|
|
6567
|
+
get: function () { return chunkJDIM5AG7_cjs.TemplateRenderer; }
|
|
6568
6568
|
});
|
|
6569
6569
|
Object.defineProperty(exports, "buildQuery", {
|
|
6570
6570
|
enumerable: true,
|
|
6571
|
-
get: function () { return
|
|
6571
|
+
get: function () { return chunkJDIM5AG7_cjs.buildQuery; }
|
|
6572
6572
|
});
|
|
6573
6573
|
Object.defineProperty(exports, "getCoreVersion", {
|
|
6574
6574
|
enumerable: true,
|
|
6575
|
-
get: function () { return
|
|
6575
|
+
get: function () { return chunkJDIM5AG7_cjs.getCoreVersion; }
|
|
6576
6576
|
});
|
|
6577
6577
|
Object.defineProperty(exports, "renderTemplate", {
|
|
6578
6578
|
enumerable: true,
|
|
6579
|
-
get: function () { return
|
|
6579
|
+
get: function () { return chunkJDIM5AG7_cjs.renderTemplate; }
|
|
6580
6580
|
});
|
|
6581
6581
|
Object.defineProperty(exports, "templateRenderer", {
|
|
6582
6582
|
enumerable: true,
|
|
6583
|
-
get: function () { return
|
|
6583
|
+
get: function () { return chunkJDIM5AG7_cjs.templateRenderer; }
|
|
6584
6584
|
});
|
|
6585
6585
|
Object.defineProperty(exports, "metricsTracker", {
|
|
6586
6586
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { B as Bindings, b as SonicJSApp, S as SonicJSConfig, V as Variables, c as createSonicJSApp, s as setupCoreMiddleware, a as setupCoreRoutes } from './app-DnQ26Lho.cjs';
|
|
2
|
-
import { t as schema } from './plugin-bootstrap-
|
|
3
|
-
export { ab as Collection, ad as Content, C as CorePlugin, aj as DbPlugin, al as DbPluginHook, n as LogCategory, av as LogConfig, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, af as Media, e as Migration, M as MigrationService, h as MigrationStatus, ac as NewCollection, ae as NewContent, aw as NewLogConfig, ag as NewMedia, ak as NewPlugin, as as NewPluginActivityLog, aq as NewPluginAsset, am as NewPluginHook, ao as NewPluginRoute, au as NewSystemLog, aa as NewUser, ai as NewWorkflowHistory, ar as PluginActivityLog, ap as PluginAsset, q as PluginBootstrapService, an as PluginRoute, P as PluginServiceClass, at as SystemLog, a9 as User, ah as WorkflowHistory, A as apiTokens, d as cleanupRemovedCollections, w as collections, x as content, y as contentVersions, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, O as insertCollectionSchema, R as insertContentSchema, a7 as insertLogConfigSchema, T as insertMediaSchema, a3 as insertPluginActivityLogSchema, a1 as insertPluginAssetSchema, Z as insertPluginHookSchema, $ as insertPluginRouteSchema, X as insertPluginSchema, a5 as insertSystemLogSchema, K as insertUserSchema, V as insertWorkflowHistorySchema, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, J as logConfig, z as media, H as pluginActivityLog, G as pluginAssets, E as pluginHooks, F as pluginRoutes, D as plugins, r as registerCollections, Q as selectCollectionSchema, S as selectContentSchema, a8 as selectLogConfigSchema, U as selectMediaSchema, a4 as selectPluginActivityLogSchema, a2 as selectPluginAssetSchema, _ as selectPluginHookSchema, a0 as selectPluginRouteSchema, Y as selectPluginSchema, a6 as selectSystemLogSchema, N as selectUserSchema, W as selectWorkflowHistorySchema, b as syncCollection, s as syncCollections, I as systemLogs, u as users, v as validateCollectionConfig, B as workflowHistory } from './plugin-bootstrap-
|
|
2
|
+
import { t as schema } from './plugin-bootstrap-CJozpgmI.cjs';
|
|
3
|
+
export { ab as Collection, ad as Content, C as CorePlugin, aj as DbPlugin, al as DbPluginHook, n as LogCategory, av as LogConfig, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, af as Media, e as Migration, M as MigrationService, h as MigrationStatus, ac as NewCollection, ae as NewContent, aw as NewLogConfig, ag as NewMedia, ak as NewPlugin, as as NewPluginActivityLog, aq as NewPluginAsset, am as NewPluginHook, ao as NewPluginRoute, au as NewSystemLog, aa as NewUser, ai as NewWorkflowHistory, ar as PluginActivityLog, ap as PluginAsset, q as PluginBootstrapService, an as PluginRoute, P as PluginServiceClass, at as SystemLog, a9 as User, ah as WorkflowHistory, A as apiTokens, d as cleanupRemovedCollections, w as collections, x as content, y as contentVersions, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, O as insertCollectionSchema, R as insertContentSchema, a7 as insertLogConfigSchema, T as insertMediaSchema, a3 as insertPluginActivityLogSchema, a1 as insertPluginAssetSchema, Z as insertPluginHookSchema, $ as insertPluginRouteSchema, X as insertPluginSchema, a5 as insertSystemLogSchema, K as insertUserSchema, V as insertWorkflowHistorySchema, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, J as logConfig, z as media, H as pluginActivityLog, G as pluginAssets, E as pluginHooks, F as pluginRoutes, D as plugins, r as registerCollections, Q as selectCollectionSchema, S as selectContentSchema, a8 as selectLogConfigSchema, U as selectMediaSchema, a4 as selectPluginActivityLogSchema, a2 as selectPluginAssetSchema, _ as selectPluginHookSchema, a0 as selectPluginRouteSchema, Y as selectPluginSchema, a6 as selectSystemLogSchema, N as selectUserSchema, W as selectWorkflowHistorySchema, b as syncCollection, s as syncCollections, I as systemLogs, u as users, v as validateCollectionConfig, B as workflowHistory } from './plugin-bootstrap-CJozpgmI.cjs';
|
|
4
4
|
export { AuthManager, Permission, PermissionManager, UserPermissions, bootstrapMiddleware, cacheHeaders, compressionMiddleware, detailedLoggingMiddleware, getActivePlugins, isPluginActive, logActivity, loggingMiddleware, optionalAuth, performanceLoggingMiddleware, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeaders, securityLoggingMiddleware } from './middleware.cjs';
|
|
5
5
|
export { H as HookSystemImpl, a as HookUtils, b as PluginManagerClass, P as PluginRegistryImpl, c as PluginValidatorClass, S as ScopedHookSystemClass } from './plugin-manager-vBal9Zip.cjs';
|
|
6
6
|
export { ROUTES_INFO, adminApiRoutes, adminCheckboxRoutes, adminCodeExamplesRoutes, adminCollectionsRoutes, adminContentRoutes, adminDashboardRoutes, adminDesignRoutes, adminLogsRoutes, adminMediaRoutes, adminPluginRoutes, adminSettingsRoutes, adminTestimonialsRoutes, adminUsersRoutes, apiContentCrudRoutes, apiMediaRoutes, apiRoutes, apiSystemRoutes, authRoutes } from './routes.cjs';
|
|
7
7
|
export { A as AlertData, C as ConfirmationDialogOptions, k as Filter, j as FilterBarData, l as FilterOption, h as FormData, F as FormField, P as PaginationData, T as TableColumn, i as TableData, g as getConfirmationDialogScript, d as renderAlert, e as renderConfirmationDialog, f as renderFilterBar, r as renderForm, a as renderFormField, c as renderPagination, b as renderTable } from './filter-bar.template-Daw8ZDoq.cjs';
|
|
8
|
-
export { c as CollectionConfig, d as CollectionConfigModule, C as CollectionSchema, e as CollectionSyncResult, a as FieldConfig, F as FieldType } from './collection-config-
|
|
8
|
+
export { c as CollectionConfig, d as CollectionConfigModule, C as CollectionSchema, e as CollectionSyncResult, a as FieldConfig, F as FieldType } from './collection-config-i8EaAF7z.cjs';
|
|
9
9
|
export { A as AuthService, C as ContentService, v as HOOKS, k as HookContext, H as HookHandler, u as HookName, l as HookSystem, p as MediaService, P as Plugin, g as PluginAdminPage, r as PluginBuilderOptions, h as PluginComponent, b as PluginConfig, a as PluginContext, j as PluginHook, q as PluginLogger, n as PluginManager, i as PluginMenuItem, d as PluginMiddleware, e as PluginModel, m as PluginRegistry, c as PluginRoutes, f as PluginService, o as PluginStatus, t as PluginValidationResult, s as PluginValidator, S as ScopedHookSystem } from './plugin-zvZpaiP5.cjs';
|
|
10
10
|
export { P as PluginManifest } from './plugin-manifest-Dpy8wxIB.cjs';
|
|
11
11
|
export { c as FilterCondition, d as FilterGroup, F as FilterOperator, f as QueryFilter, Q as QueryFilterBuilder, h as QueryResult, S as SONICJS_VERSION, T as TemplateRenderer, b as buildQuery, e as escapeHtml, g as getCoreVersion, m as metricsTracker, r as renderTemplate, s as sanitizeInput, a as sanitizeObject, t as templateRenderer } from './version-C_CXrN_T.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { B as Bindings, b as SonicJSApp, S as SonicJSConfig, V as Variables, c as createSonicJSApp, s as setupCoreMiddleware, a as setupCoreRoutes } from './app-DnQ26Lho.js';
|
|
2
|
-
import { t as schema } from './plugin-bootstrap-
|
|
3
|
-
export { ab as Collection, ad as Content, C as CorePlugin, aj as DbPlugin, al as DbPluginHook, n as LogCategory, av as LogConfig, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, af as Media, e as Migration, M as MigrationService, h as MigrationStatus, ac as NewCollection, ae as NewContent, aw as NewLogConfig, ag as NewMedia, ak as NewPlugin, as as NewPluginActivityLog, aq as NewPluginAsset, am as NewPluginHook, ao as NewPluginRoute, au as NewSystemLog, aa as NewUser, ai as NewWorkflowHistory, ar as PluginActivityLog, ap as PluginAsset, q as PluginBootstrapService, an as PluginRoute, P as PluginServiceClass, at as SystemLog, a9 as User, ah as WorkflowHistory, A as apiTokens, d as cleanupRemovedCollections, w as collections, x as content, y as contentVersions, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, O as insertCollectionSchema, R as insertContentSchema, a7 as insertLogConfigSchema, T as insertMediaSchema, a3 as insertPluginActivityLogSchema, a1 as insertPluginAssetSchema, Z as insertPluginHookSchema, $ as insertPluginRouteSchema, X as insertPluginSchema, a5 as insertSystemLogSchema, K as insertUserSchema, V as insertWorkflowHistorySchema, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, J as logConfig, z as media, H as pluginActivityLog, G as pluginAssets, E as pluginHooks, F as pluginRoutes, D as plugins, r as registerCollections, Q as selectCollectionSchema, S as selectContentSchema, a8 as selectLogConfigSchema, U as selectMediaSchema, a4 as selectPluginActivityLogSchema, a2 as selectPluginAssetSchema, _ as selectPluginHookSchema, a0 as selectPluginRouteSchema, Y as selectPluginSchema, a6 as selectSystemLogSchema, N as selectUserSchema, W as selectWorkflowHistorySchema, b as syncCollection, s as syncCollections, I as systemLogs, u as users, v as validateCollectionConfig, B as workflowHistory } from './plugin-bootstrap-
|
|
2
|
+
import { t as schema } from './plugin-bootstrap-DU5VmuHZ.js';
|
|
3
|
+
export { ab as Collection, ad as Content, C as CorePlugin, aj as DbPlugin, al as DbPluginHook, n as LogCategory, av as LogConfig, o as LogEntry, p as LogFilter, m as LogLevel, L as Logger, af as Media, e as Migration, M as MigrationService, h as MigrationStatus, ac as NewCollection, ae as NewContent, aw as NewLogConfig, ag as NewMedia, ak as NewPlugin, as as NewPluginActivityLog, aq as NewPluginAsset, am as NewPluginHook, ao as NewPluginRoute, au as NewSystemLog, aa as NewUser, ai as NewWorkflowHistory, ar as PluginActivityLog, ap as PluginAsset, q as PluginBootstrapService, an as PluginRoute, P as PluginServiceClass, at as SystemLog, a9 as User, ah as WorkflowHistory, A as apiTokens, d as cleanupRemovedCollections, w as collections, x as content, y as contentVersions, f as fullCollectionSync, g as getAvailableCollectionNames, j as getLogger, c as getManagedCollections, k as initLogger, O as insertCollectionSchema, R as insertContentSchema, a7 as insertLogConfigSchema, T as insertMediaSchema, a3 as insertPluginActivityLogSchema, a1 as insertPluginAssetSchema, Z as insertPluginHookSchema, $ as insertPluginRouteSchema, X as insertPluginSchema, a5 as insertSystemLogSchema, K as insertUserSchema, V as insertWorkflowHistorySchema, i as isCollectionManaged, a as loadCollectionConfig, l as loadCollectionConfigs, J as logConfig, z as media, H as pluginActivityLog, G as pluginAssets, E as pluginHooks, F as pluginRoutes, D as plugins, r as registerCollections, Q as selectCollectionSchema, S as selectContentSchema, a8 as selectLogConfigSchema, U as selectMediaSchema, a4 as selectPluginActivityLogSchema, a2 as selectPluginAssetSchema, _ as selectPluginHookSchema, a0 as selectPluginRouteSchema, Y as selectPluginSchema, a6 as selectSystemLogSchema, N as selectUserSchema, W as selectWorkflowHistorySchema, b as syncCollection, s as syncCollections, I as systemLogs, u as users, v as validateCollectionConfig, B as workflowHistory } from './plugin-bootstrap-DU5VmuHZ.js';
|
|
4
4
|
export { AuthManager, Permission, PermissionManager, UserPermissions, bootstrapMiddleware, cacheHeaders, compressionMiddleware, detailedLoggingMiddleware, getActivePlugins, isPluginActive, logActivity, loggingMiddleware, optionalAuth, performanceLoggingMiddleware, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeaders, securityLoggingMiddleware } from './middleware.js';
|
|
5
5
|
export { H as HookSystemImpl, a as HookUtils, b as PluginManagerClass, P as PluginRegistryImpl, c as PluginValidatorClass, S as ScopedHookSystemClass } from './plugin-manager-Baa6xXqB.js';
|
|
6
6
|
export { ROUTES_INFO, adminApiRoutes, adminCheckboxRoutes, adminCodeExamplesRoutes, adminCollectionsRoutes, adminContentRoutes, adminDashboardRoutes, adminDesignRoutes, adminLogsRoutes, adminMediaRoutes, adminPluginRoutes, adminSettingsRoutes, adminTestimonialsRoutes, adminUsersRoutes, apiContentCrudRoutes, apiMediaRoutes, apiRoutes, apiSystemRoutes, authRoutes } from './routes.js';
|
|
7
7
|
export { A as AlertData, C as ConfirmationDialogOptions, k as Filter, j as FilterBarData, l as FilterOption, h as FormData, F as FormField, P as PaginationData, T as TableColumn, i as TableData, g as getConfirmationDialogScript, d as renderAlert, e as renderConfirmationDialog, f as renderFilterBar, r as renderForm, a as renderFormField, c as renderPagination, b as renderTable } from './filter-bar.template-Daw8ZDoq.js';
|
|
8
|
-
export { c as CollectionConfig, d as CollectionConfigModule, C as CollectionSchema, e as CollectionSyncResult, a as FieldConfig, F as FieldType } from './collection-config-
|
|
8
|
+
export { c as CollectionConfig, d as CollectionConfigModule, C as CollectionSchema, e as CollectionSyncResult, a as FieldConfig, F as FieldType } from './collection-config-i8EaAF7z.js';
|
|
9
9
|
export { A as AuthService, C as ContentService, v as HOOKS, k as HookContext, H as HookHandler, u as HookName, l as HookSystem, p as MediaService, P as Plugin, g as PluginAdminPage, r as PluginBuilderOptions, h as PluginComponent, b as PluginConfig, a as PluginContext, j as PluginHook, q as PluginLogger, n as PluginManager, i as PluginMenuItem, d as PluginMiddleware, e as PluginModel, m as PluginRegistry, c as PluginRoutes, f as PluginService, o as PluginStatus, t as PluginValidationResult, s as PluginValidator, S as ScopedHookSystem } from './plugin-zvZpaiP5.js';
|
|
10
10
|
export { P as PluginManifest } from './plugin-manifest-Dpy8wxIB.js';
|
|
11
11
|
export { c as FilterCondition, d as FilterGroup, F as FilterOperator, f as QueryFilter, Q as QueryFilterBuilder, h as QueryResult, S as SONICJS_VERSION, T as TemplateRenderer, b as buildQuery, e as escapeHtml, g as getCoreVersion, m as metricsTracker, r as renderTemplate, s as sanitizeInput, a as sanitizeObject, t as templateRenderer } from './version-C_CXrN_T.js';
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { renderConfirmationDialog, getConfirmationDialogScript, api_default, api_media_default, api_system_default, admin_api_default, router, adminCollectionsRoutes, adminFormsRoutes, adminSettingsRoutes, public_forms_default, router2, admin_content_default, adminMediaRoutes, adminPluginRoutes, adminLogsRoutes, userRoutes, auth_default, test_cleanup_default } from './chunk-
|
|
2
|
-
export { ROUTES_INFO, admin_api_default as adminApiRoutes, adminCheckboxRoutes, admin_code_examples_default as adminCodeExamplesRoutes, adminCollectionsRoutes, admin_content_default as adminContentRoutes, router as adminDashboardRoutes, adminDesignRoutes, 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 } from './chunk-
|
|
1
|
+
import { renderConfirmationDialog, getConfirmationDialogScript, api_default, api_media_default, api_system_default, admin_api_default, router, adminCollectionsRoutes, adminFormsRoutes, adminSettingsRoutes, public_forms_default, router2, admin_content_default, adminMediaRoutes, adminPluginRoutes, adminLogsRoutes, userRoutes, auth_default, test_cleanup_default } from './chunk-CH5UHZVM.js';
|
|
2
|
+
export { ROUTES_INFO, admin_api_default as adminApiRoutes, adminCheckboxRoutes, admin_code_examples_default as adminCodeExamplesRoutes, adminCollectionsRoutes, admin_content_default as adminContentRoutes, router as adminDashboardRoutes, adminDesignRoutes, 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 } from './chunk-CH5UHZVM.js';
|
|
3
3
|
import { SettingsService, schema_exports } from './chunk-G44QUVNM.js';
|
|
4
4
|
export { Logger, apiTokens, collections, content, contentVersions, getLogger, initLogger, insertCollectionSchema, insertContentSchema, insertLogConfigSchema, insertMediaSchema, insertPluginActivityLogSchema, insertPluginAssetSchema, insertPluginHookSchema, insertPluginRouteSchema, insertPluginSchema, insertSystemLogSchema, insertUserSchema, insertWorkflowHistorySchema, logConfig, media, pluginActivityLog, pluginAssets, pluginHooks, pluginRoutes, plugins, selectCollectionSchema, selectContentSchema, selectLogConfigSchema, selectMediaSchema, selectPluginActivityLogSchema, selectPluginAssetSchema, selectPluginHookSchema, selectPluginRouteSchema, selectPluginSchema, selectSystemLogSchema, selectUserSchema, selectWorkflowHistorySchema, systemLogs, users, workflowHistory } from './chunk-G44QUVNM.js';
|
|
5
|
-
import { requireAuth, AuthManager, metricsMiddleware, bootstrapMiddleware, securityHeadersMiddleware, csrfProtection } from './chunk-
|
|
6
|
-
export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, detailedLoggingMiddleware, getActivePlugins, isPluginActive, logActivity, loggingMiddleware, optionalAuth, performanceLoggingMiddleware, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeadersMiddleware as securityHeaders, securityLoggingMiddleware } from './chunk-
|
|
5
|
+
import { requireAuth, AuthManager, metricsMiddleware, bootstrapMiddleware, securityHeadersMiddleware, csrfProtection } from './chunk-Y3VMEGY2.js';
|
|
6
|
+
export { AuthManager, PermissionManager, bootstrapMiddleware, cacheHeaders, compressionMiddleware, detailedLoggingMiddleware, getActivePlugins, isPluginActive, logActivity, loggingMiddleware, optionalAuth, performanceLoggingMiddleware, requireActivePlugin, requireActivePlugins, requireAnyPermission, requireAuth, requirePermission, requireRole, securityHeadersMiddleware as securityHeaders, securityLoggingMiddleware } from './chunk-Y3VMEGY2.js';
|
|
7
7
|
export { PluginBootstrapService, PluginService as PluginServiceClass, cleanupRemovedCollections, fullCollectionSync, getAvailableCollectionNames, getManagedCollections, isCollectionManaged, loadCollectionConfig, loadCollectionConfigs, registerCollections, syncCollection, syncCollections, validateCollectionConfig } from './chunk-YFJJU26H.js';
|
|
8
|
-
export { MigrationService } from './chunk-
|
|
8
|
+
export { MigrationService } from './chunk-GTFMI24U.js';
|
|
9
9
|
export { renderFilterBar } from './chunk-74XCYEI7.js';
|
|
10
10
|
import { init_admin_layout_catalyst_template, renderAdminLayout, renderAdminLayoutCatalyst } from './chunk-JJS7JZCH.js';
|
|
11
11
|
export { getConfirmationDialogScript, renderAlert, renderConfirmationDialog, renderForm, renderFormField, renderPagination, renderTable } from './chunk-JJS7JZCH.js';
|
|
12
12
|
export { HookSystemImpl, HookUtils, PluginManager as PluginManagerClass, PluginRegistryImpl, PluginValidator as PluginValidatorClass, ScopedHookSystem as ScopedHookSystemClass } from './chunk-CJYFSKH7.js';
|
|
13
13
|
import { PluginBuilder } from './chunk-J5WGMRSU.js';
|
|
14
14
|
export { PluginBuilder, PluginHelpers } from './chunk-J5WGMRSU.js';
|
|
15
|
-
import { package_default, getCoreVersion } from './chunk-
|
|
16
|
-
export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, getCoreVersion, renderTemplate, templateRenderer } from './chunk-
|
|
15
|
+
import { package_default, getCoreVersion } from './chunk-5XAI2XUF.js';
|
|
16
|
+
export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, getCoreVersion, renderTemplate, templateRenderer } from './chunk-5XAI2XUF.js';
|
|
17
17
|
import './chunk-X7ZAEI5S.js';
|
|
18
18
|
export { metricsTracker } from './chunk-FICTAGD4.js';
|
|
19
19
|
export { escapeHtml, sanitizeInput, sanitizeObject } from './chunk-TQABQWOP.js';
|