@sonicjs-cms/core 2.8.1 → 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.
Files changed (86) hide show
  1. package/dist/{app-CYEm1ytG.d.cts → app-DnQ26Lho.d.cts} +3 -0
  2. package/dist/{app-CYEm1ytG.d.ts → app-DnQ26Lho.d.ts} +3 -0
  3. package/dist/{chunk-S6K2H2TS.cjs → chunk-3G7XX4UI.cjs} +9 -9
  4. package/dist/{chunk-S6K2H2TS.cjs.map → chunk-3G7XX4UI.cjs.map} +1 -1
  5. package/dist/{chunk-KAT3OKHE.js → chunk-5XAI2XUF.js} +33 -37
  6. package/dist/chunk-5XAI2XUF.js.map +1 -0
  7. package/dist/{chunk-H7AMQWVI.js → chunk-74XCYEI7.js} +3 -3
  8. package/dist/{chunk-H7AMQWVI.js.map → chunk-74XCYEI7.js.map} +1 -1
  9. package/dist/{chunk-FZRZYQYU.js → chunk-CH5UHZVM.js} +2604 -2364
  10. package/dist/chunk-CH5UHZVM.js.map +1 -0
  11. package/dist/{chunk-7Q2XPM2U.js → chunk-GTFMI24U.js} +21 -2
  12. package/dist/chunk-GTFMI24U.js.map +1 -0
  13. package/dist/{chunk-SKLRRFJJ.cjs → chunk-HXHVU5GM.cjs} +21 -2
  14. package/dist/chunk-HXHVU5GM.cjs.map +1 -0
  15. package/dist/{chunk-WDQZYCQO.cjs → chunk-JDIM5AG7.cjs} +32 -39
  16. package/dist/chunk-JDIM5AG7.cjs.map +1 -0
  17. package/dist/{chunk-VCH6HXVP.js → chunk-JJS7JZCH.js} +58 -4
  18. package/dist/chunk-JJS7JZCH.js.map +1 -0
  19. package/dist/chunk-K4Q4SFJJ.cjs +568 -0
  20. package/dist/chunk-K4Q4SFJJ.cjs.map +1 -0
  21. package/dist/{chunk-SHCYIZAN.cjs → chunk-LTKV7AE5.cjs} +58 -4
  22. package/dist/chunk-LTKV7AE5.cjs.map +1 -0
  23. package/dist/chunk-MNWKYY5E.cjs +44 -0
  24. package/dist/chunk-MNWKYY5E.cjs.map +1 -0
  25. package/dist/{chunk-JVRRG36J.cjs → chunk-R4WR3VTN.cjs} +2393 -2153
  26. package/dist/chunk-R4WR3VTN.cjs.map +1 -0
  27. package/dist/chunk-TQABQWOP.js +39 -0
  28. package/dist/chunk-TQABQWOP.js.map +1 -0
  29. package/dist/chunk-Y3VMEGY2.js +541 -0
  30. package/dist/chunk-Y3VMEGY2.js.map +1 -0
  31. package/dist/{collection-config-BF95LgQb.d.cts → collection-config-i8EaAF7z.d.cts} +2 -1
  32. package/dist/{collection-config-BF95LgQb.d.ts → collection-config-i8EaAF7z.d.ts} +2 -1
  33. package/dist/{filter-bar.template-By4jeiw_.d.cts → filter-bar.template-Daw8ZDoq.d.cts} +1 -0
  34. package/dist/{filter-bar.template-By4jeiw_.d.ts → filter-bar.template-Daw8ZDoq.d.ts} +1 -0
  35. package/dist/index.cjs +112 -111
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.cts +6 -6
  38. package/dist/index.d.ts +6 -6
  39. package/dist/index.js +16 -15
  40. package/dist/index.js.map +1 -1
  41. package/dist/middleware.cjs +43 -23
  42. package/dist/middleware.d.cts +86 -6
  43. package/dist/middleware.d.ts +86 -6
  44. package/dist/middleware.js +2 -2
  45. package/dist/migrations-7X4RPH7O.cjs +13 -0
  46. package/dist/{migrations-76NR5BVF.cjs.map → migrations-7X4RPH7O.cjs.map} +1 -1
  47. package/dist/migrations-KHWFJ2HN.js +4 -0
  48. package/dist/{migrations-2NTJ44OR.js.map → migrations-KHWFJ2HN.js.map} +1 -1
  49. package/dist/{plugin-bootstrap-C7Mj00Ud.d.ts → plugin-bootstrap-CJozpgmI.d.cts} +1 -1
  50. package/dist/{plugin-bootstrap-DKB5f8-E.d.cts → plugin-bootstrap-DU5VmuHZ.d.ts} +1 -1
  51. package/dist/routes.cjs +29 -28
  52. package/dist/routes.d.cts +1 -1
  53. package/dist/routes.d.ts +1 -1
  54. package/dist/routes.js +6 -5
  55. package/dist/services.cjs +2 -2
  56. package/dist/services.d.cts +2 -2
  57. package/dist/services.d.ts +2 -2
  58. package/dist/services.js +1 -1
  59. package/dist/templates.cjs +20 -19
  60. package/dist/templates.d.cts +1 -1
  61. package/dist/templates.d.ts +1 -1
  62. package/dist/templates.js +3 -2
  63. package/dist/types.d.cts +1 -1
  64. package/dist/types.d.ts +1 -1
  65. package/dist/utils.cjs +24 -23
  66. package/dist/utils.d.cts +2 -2
  67. package/dist/utils.d.ts +2 -2
  68. package/dist/utils.js +2 -1
  69. package/dist/{version-vktVAxhe.d.cts → version-C_CXrN_T.d.cts} +5 -0
  70. package/dist/{version-vktVAxhe.d.ts → version-C_CXrN_T.d.ts} +5 -0
  71. package/migrations/032_user_profiles.sql +36 -0
  72. package/package.json +2 -2
  73. package/dist/chunk-7Q2XPM2U.js.map +0 -1
  74. package/dist/chunk-FZRZYQYU.js.map +0 -1
  75. package/dist/chunk-GIWIJNBH.cjs +0 -243
  76. package/dist/chunk-GIWIJNBH.cjs.map +0 -1
  77. package/dist/chunk-JVRRG36J.cjs.map +0 -1
  78. package/dist/chunk-KAT3OKHE.js.map +0 -1
  79. package/dist/chunk-QWTS6NSP.js +0 -221
  80. package/dist/chunk-QWTS6NSP.js.map +0 -1
  81. package/dist/chunk-SHCYIZAN.cjs.map +0 -1
  82. package/dist/chunk-SKLRRFJJ.cjs.map +0 -1
  83. package/dist/chunk-VCH6HXVP.js.map +0 -1
  84. package/dist/chunk-WDQZYCQO.cjs.map +0 -1
  85. package/dist/migrations-2NTJ44OR.js +0 -4
  86. package/dist/migrations-76NR5BVF.cjs +0 -13
package/dist/index.cjs CHANGED
@@ -1,17 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkJVRRG36J_cjs = require('./chunk-JVRRG36J.cjs');
3
+ var chunkR4WR3VTN_cjs = require('./chunk-R4WR3VTN.cjs');
4
4
  var chunkVNLR35GO_cjs = require('./chunk-VNLR35GO.cjs');
5
- var chunkGIWIJNBH_cjs = require('./chunk-GIWIJNBH.cjs');
5
+ var chunkK4Q4SFJJ_cjs = require('./chunk-K4Q4SFJJ.cjs');
6
6
  var chunkMPT5PA6U_cjs = require('./chunk-MPT5PA6U.cjs');
7
- var chunkSKLRRFJJ_cjs = require('./chunk-SKLRRFJJ.cjs');
8
- var chunkS6K2H2TS_cjs = require('./chunk-S6K2H2TS.cjs');
9
- var chunkSHCYIZAN_cjs = require('./chunk-SHCYIZAN.cjs');
7
+ var chunkHXHVU5GM_cjs = require('./chunk-HXHVU5GM.cjs');
8
+ var chunk3G7XX4UI_cjs = require('./chunk-3G7XX4UI.cjs');
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 chunkWDQZYCQO_cjs = require('./chunk-WDQZYCQO.cjs');
12
+ var chunkJDIM5AG7_cjs = require('./chunk-JDIM5AG7.cjs');
13
13
  require('./chunk-P3XDZL6Q.cjs');
14
14
  var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
15
+ var chunkMNWKYY5E_cjs = require('./chunk-MNWKYY5E.cjs');
15
16
  var chunkKYGRJCZM_cjs = require('./chunk-KYGRJCZM.cjs');
16
17
  require('./chunk-IGJUBJBW.cjs');
17
18
  var hono = require('hono');
@@ -234,7 +235,7 @@ var DatabaseToolsService = class {
234
235
  };
235
236
 
236
237
  // src/templates/pages/admin-database-table.template.ts
237
- chunkSHCYIZAN_cjs.init_admin_layout_catalyst_template();
238
+ chunkLTKV7AE5_cjs.init_admin_layout_catalyst_template();
238
239
  function renderDatabaseTablePage(data) {
239
240
  const totalPages = Math.ceil(data.totalRows / data.pageSize);
240
241
  const startRow = (data.currentPage - 1) * data.pageSize + 1;
@@ -483,7 +484,7 @@ function renderDatabaseTablePage(data) {
483
484
  user: data.user,
484
485
  content: pageContent
485
486
  };
486
- return chunkSHCYIZAN_cjs.renderAdminLayoutCatalyst(layoutData);
487
+ return chunkLTKV7AE5_cjs.renderAdminLayoutCatalyst(layoutData);
487
488
  }
488
489
  function generatePageNumbers(currentPage, totalPages) {
489
490
  const pages = [];
@@ -558,7 +559,7 @@ function formatCellValue(value) {
558
559
  // src/plugins/core-plugins/database-tools-plugin/admin-routes.ts
559
560
  function createDatabaseToolsAdminRoutes() {
560
561
  const router3 = new hono.Hono();
561
- router3.use("*", chunkGIWIJNBH_cjs.requireAuth());
562
+ router3.use("*", chunkK4Q4SFJJ_cjs.requireAuth());
562
563
  router3.get("/api/stats", async (c) => {
563
564
  try {
564
565
  const user = c.get("user");
@@ -1924,7 +1925,7 @@ function createOTPLoginPlugin() {
1924
1925
  error: "Account is deactivated"
1925
1926
  }, 403);
1926
1927
  }
1927
- const token = await chunkGIWIJNBH_cjs.AuthManager.generateToken(user.id, user.email, user.role);
1928
+ const token = await chunkK4Q4SFJJ_cjs.AuthManager.generateToken(user.id, user.email, user.role, c.env.JWT_SECRET);
1928
1929
  cookie.setCookie(c, "auth_token", token, {
1929
1930
  httpOnly: true,
1930
1931
  secure: true,
@@ -3563,7 +3564,7 @@ function renderSettingsPage(data) {
3563
3564
  }, 30000);
3564
3565
  </script>
3565
3566
  `;
3566
- return chunkSHCYIZAN_cjs.renderAdminLayout({
3567
+ return chunkLTKV7AE5_cjs.renderAdminLayout({
3567
3568
  title: "AI Search Settings",
3568
3569
  pageTitle: "AI Search Settings",
3569
3570
  currentPath: "/admin/plugins/ai-search/settings",
@@ -3574,7 +3575,7 @@ function renderSettingsPage(data) {
3574
3575
 
3575
3576
  // src/plugins/core-plugins/ai-search-plugin/routes/admin.ts
3576
3577
  var adminRoutes = new hono.Hono();
3577
- adminRoutes.use("*", chunkGIWIJNBH_cjs.requireAuth());
3578
+ adminRoutes.use("*", chunkK4Q4SFJJ_cjs.requireAuth());
3578
3579
  adminRoutes.get("/", async (c) => {
3579
3580
  try {
3580
3581
  const user = c.get("user");
@@ -3975,12 +3976,13 @@ function createMagicLinkAuthPlugin() {
3975
3976
  SET used = 1, used_at = ?
3976
3977
  WHERE id = ?
3977
3978
  `).bind(Date.now(), magicLink.id).run();
3978
- const jwtToken = await chunkGIWIJNBH_cjs.AuthManager.generateToken(
3979
+ const jwtToken = await chunkK4Q4SFJJ_cjs.AuthManager.generateToken(
3979
3980
  user.id,
3980
3981
  user.email,
3981
- user.role
3982
+ user.role,
3983
+ c.env.JWT_SECRET
3982
3984
  );
3983
- chunkGIWIJNBH_cjs.AuthManager.setAuthCookie(c, jwtToken);
3985
+ chunkK4Q4SFJJ_cjs.AuthManager.setAuthCookie(c, jwtToken);
3984
3986
  await db.prepare(`
3985
3987
  UPDATE users SET last_login_at = ? WHERE id = ?
3986
3988
  `).bind(Date.now(), user.id).run();
@@ -5087,7 +5089,7 @@ async function warmNamespace(namespace, entries) {
5087
5089
  }
5088
5090
 
5089
5091
  // src/templates/pages/admin-cache.template.ts
5090
- chunkSHCYIZAN_cjs.init_admin_layout_catalyst_template();
5092
+ chunkLTKV7AE5_cjs.init_admin_layout_catalyst_template();
5091
5093
  function renderCacheDashboard(data) {
5092
5094
  const pageContent = `
5093
5095
  <div class="space-y-6">
@@ -5266,7 +5268,7 @@ function renderCacheDashboard(data) {
5266
5268
  </script>
5267
5269
 
5268
5270
  <!-- Confirmation Dialogs -->
5269
- ${chunkJVRRG36J_cjs.renderConfirmationDialog({
5271
+ ${chunkR4WR3VTN_cjs.renderConfirmationDialog({
5270
5272
  id: "clear-all-cache-confirm",
5271
5273
  title: "Clear All Cache",
5272
5274
  message: "Are you sure you want to clear all cache entries? This cannot be undone.",
@@ -5277,7 +5279,7 @@ function renderCacheDashboard(data) {
5277
5279
  onConfirm: "performClearAllCaches()"
5278
5280
  })}
5279
5281
 
5280
- ${chunkJVRRG36J_cjs.renderConfirmationDialog({
5282
+ ${chunkR4WR3VTN_cjs.renderConfirmationDialog({
5281
5283
  id: "clear-namespace-cache-confirm",
5282
5284
  title: "Clear Namespace Cache",
5283
5285
  message: "Clear cache for this namespace?",
@@ -5288,7 +5290,7 @@ function renderCacheDashboard(data) {
5288
5290
  onConfirm: "performClearNamespaceCache()"
5289
5291
  })}
5290
5292
 
5291
- ${chunkJVRRG36J_cjs.getConfirmationDialogScript()}
5293
+ ${chunkR4WR3VTN_cjs.getConfirmationDialogScript()}
5292
5294
  `;
5293
5295
  const layoutData = {
5294
5296
  title: "Cache System",
@@ -5298,7 +5300,7 @@ function renderCacheDashboard(data) {
5298
5300
  version: data.version,
5299
5301
  content: pageContent
5300
5302
  };
5301
- return chunkSHCYIZAN_cjs.renderAdminLayoutCatalyst(layoutData);
5303
+ return chunkLTKV7AE5_cjs.renderAdminLayoutCatalyst(layoutData);
5302
5304
  }
5303
5305
  function renderStatCard(label, value, color, icon, colorOverride) {
5304
5306
  const finalColor = colorOverride || color;
@@ -5974,14 +5976,14 @@ var faviconSvg = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
5974
5976
  // src/app.ts
5975
5977
  function createSonicJSApp(config = {}) {
5976
5978
  const app2 = new hono.Hono();
5977
- const appVersion = config.version || chunkWDQZYCQO_cjs.getCoreVersion();
5979
+ const appVersion = config.version || chunkJDIM5AG7_cjs.getCoreVersion();
5978
5980
  const appName = config.name || "SonicJS AI";
5979
5981
  app2.use("*", async (c, next) => {
5980
5982
  c.set("appVersion", appVersion);
5981
5983
  await next();
5982
5984
  });
5983
- app2.use("*", chunkGIWIJNBH_cjs.metricsMiddleware());
5984
- app2.use("*", chunkGIWIJNBH_cjs.bootstrapMiddleware(config));
5985
+ app2.use("*", chunkK4Q4SFJJ_cjs.metricsMiddleware());
5986
+ app2.use("*", chunkK4Q4SFJJ_cjs.bootstrapMiddleware(config));
5985
5987
  if (config.middleware?.beforeAuth) {
5986
5988
  for (const middleware of config.middleware.beforeAuth) {
5987
5989
  app2.use("*", middleware);
@@ -5990,29 +5992,28 @@ function createSonicJSApp(config = {}) {
5990
5992
  app2.use("*", async (_c, next) => {
5991
5993
  await next();
5992
5994
  });
5993
- app2.use("*", async (_c, next) => {
5994
- await next();
5995
- });
5995
+ app2.use("*", chunkK4Q4SFJJ_cjs.securityHeadersMiddleware());
5996
+ app2.use("*", chunkK4Q4SFJJ_cjs.csrfProtection());
5996
5997
  if (config.middleware?.afterAuth) {
5997
5998
  for (const middleware of config.middleware.afterAuth) {
5998
5999
  app2.use("*", middleware);
5999
6000
  }
6000
6001
  }
6001
- app2.route("/api", chunkJVRRG36J_cjs.api_default);
6002
- app2.route("/api/media", chunkJVRRG36J_cjs.api_media_default);
6003
- app2.route("/api/system", chunkJVRRG36J_cjs.api_system_default);
6004
- app2.route("/admin/api", chunkJVRRG36J_cjs.admin_api_default);
6005
- app2.route("/admin/dashboard", chunkJVRRG36J_cjs.router);
6006
- app2.route("/admin/collections", chunkJVRRG36J_cjs.adminCollectionsRoutes);
6007
- app2.route("/admin/forms", chunkJVRRG36J_cjs.adminFormsRoutes);
6008
- app2.route("/admin/settings", chunkJVRRG36J_cjs.adminSettingsRoutes);
6009
- app2.route("/forms", chunkJVRRG36J_cjs.public_forms_default);
6010
- app2.route("/api/forms", chunkJVRRG36J_cjs.public_forms_default);
6011
- app2.route("/admin/api-reference", chunkJVRRG36J_cjs.router2);
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);
6012
6013
  app2.route("/admin/database-tools", createDatabaseToolsAdminRoutes());
6013
6014
  app2.route("/admin/seed-data", createSeedDataAdminRoutes());
6014
- app2.route("/admin/content", chunkJVRRG36J_cjs.admin_content_default);
6015
- app2.route("/admin/media", chunkJVRRG36J_cjs.adminMediaRoutes);
6015
+ app2.route("/admin/content", chunkR4WR3VTN_cjs.admin_content_default);
6016
+ app2.route("/admin/media", chunkR4WR3VTN_cjs.adminMediaRoutes);
6016
6017
  if (aiSearchPlugin.routes && aiSearchPlugin.routes.length > 0) {
6017
6018
  for (const route of aiSearchPlugin.routes) {
6018
6019
  app2.route(route.path, route.handler);
@@ -6024,11 +6025,11 @@ function createSonicJSApp(config = {}) {
6024
6025
  app2.route(route.path, route.handler);
6025
6026
  }
6026
6027
  }
6027
- app2.route("/admin/plugins", chunkJVRRG36J_cjs.adminPluginRoutes);
6028
- app2.route("/admin/logs", chunkJVRRG36J_cjs.adminLogsRoutes);
6029
- app2.route("/admin", chunkJVRRG36J_cjs.userRoutes);
6030
- app2.route("/auth", chunkJVRRG36J_cjs.auth_default);
6031
- app2.route("/", chunkJVRRG36J_cjs.test_cleanup_default);
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);
6032
6033
  if (emailPlugin.routes && emailPlugin.routes.length > 0) {
6033
6034
  for (const route of emailPlugin.routes) {
6034
6035
  app2.route(route.path, route.handler);
@@ -6111,83 +6112,83 @@ function createDb(d1$1) {
6111
6112
  }
6112
6113
 
6113
6114
  // src/index.ts
6114
- var VERSION = chunkWDQZYCQO_cjs.package_default.version;
6115
+ var VERSION = chunkJDIM5AG7_cjs.package_default.version;
6115
6116
 
6116
6117
  Object.defineProperty(exports, "ROUTES_INFO", {
6117
6118
  enumerable: true,
6118
- get: function () { return chunkJVRRG36J_cjs.ROUTES_INFO; }
6119
+ get: function () { return chunkR4WR3VTN_cjs.ROUTES_INFO; }
6119
6120
  });
6120
6121
  Object.defineProperty(exports, "adminApiRoutes", {
6121
6122
  enumerable: true,
6122
- get: function () { return chunkJVRRG36J_cjs.admin_api_default; }
6123
+ get: function () { return chunkR4WR3VTN_cjs.admin_api_default; }
6123
6124
  });
6124
6125
  Object.defineProperty(exports, "adminCheckboxRoutes", {
6125
6126
  enumerable: true,
6126
- get: function () { return chunkJVRRG36J_cjs.adminCheckboxRoutes; }
6127
+ get: function () { return chunkR4WR3VTN_cjs.adminCheckboxRoutes; }
6127
6128
  });
6128
6129
  Object.defineProperty(exports, "adminCodeExamplesRoutes", {
6129
6130
  enumerable: true,
6130
- get: function () { return chunkJVRRG36J_cjs.admin_code_examples_default; }
6131
+ get: function () { return chunkR4WR3VTN_cjs.admin_code_examples_default; }
6131
6132
  });
6132
6133
  Object.defineProperty(exports, "adminCollectionsRoutes", {
6133
6134
  enumerable: true,
6134
- get: function () { return chunkJVRRG36J_cjs.adminCollectionsRoutes; }
6135
+ get: function () { return chunkR4WR3VTN_cjs.adminCollectionsRoutes; }
6135
6136
  });
6136
6137
  Object.defineProperty(exports, "adminContentRoutes", {
6137
6138
  enumerable: true,
6138
- get: function () { return chunkJVRRG36J_cjs.admin_content_default; }
6139
+ get: function () { return chunkR4WR3VTN_cjs.admin_content_default; }
6139
6140
  });
6140
6141
  Object.defineProperty(exports, "adminDashboardRoutes", {
6141
6142
  enumerable: true,
6142
- get: function () { return chunkJVRRG36J_cjs.router; }
6143
+ get: function () { return chunkR4WR3VTN_cjs.router; }
6143
6144
  });
6144
6145
  Object.defineProperty(exports, "adminDesignRoutes", {
6145
6146
  enumerable: true,
6146
- get: function () { return chunkJVRRG36J_cjs.adminDesignRoutes; }
6147
+ get: function () { return chunkR4WR3VTN_cjs.adminDesignRoutes; }
6147
6148
  });
6148
6149
  Object.defineProperty(exports, "adminLogsRoutes", {
6149
6150
  enumerable: true,
6150
- get: function () { return chunkJVRRG36J_cjs.adminLogsRoutes; }
6151
+ get: function () { return chunkR4WR3VTN_cjs.adminLogsRoutes; }
6151
6152
  });
6152
6153
  Object.defineProperty(exports, "adminMediaRoutes", {
6153
6154
  enumerable: true,
6154
- get: function () { return chunkJVRRG36J_cjs.adminMediaRoutes; }
6155
+ get: function () { return chunkR4WR3VTN_cjs.adminMediaRoutes; }
6155
6156
  });
6156
6157
  Object.defineProperty(exports, "adminPluginRoutes", {
6157
6158
  enumerable: true,
6158
- get: function () { return chunkJVRRG36J_cjs.adminPluginRoutes; }
6159
+ get: function () { return chunkR4WR3VTN_cjs.adminPluginRoutes; }
6159
6160
  });
6160
6161
  Object.defineProperty(exports, "adminSettingsRoutes", {
6161
6162
  enumerable: true,
6162
- get: function () { return chunkJVRRG36J_cjs.adminSettingsRoutes; }
6163
+ get: function () { return chunkR4WR3VTN_cjs.adminSettingsRoutes; }
6163
6164
  });
6164
6165
  Object.defineProperty(exports, "adminTestimonialsRoutes", {
6165
6166
  enumerable: true,
6166
- get: function () { return chunkJVRRG36J_cjs.admin_testimonials_default; }
6167
+ get: function () { return chunkR4WR3VTN_cjs.admin_testimonials_default; }
6167
6168
  });
6168
6169
  Object.defineProperty(exports, "adminUsersRoutes", {
6169
6170
  enumerable: true,
6170
- get: function () { return chunkJVRRG36J_cjs.userRoutes; }
6171
+ get: function () { return chunkR4WR3VTN_cjs.userRoutes; }
6171
6172
  });
6172
6173
  Object.defineProperty(exports, "apiContentCrudRoutes", {
6173
6174
  enumerable: true,
6174
- get: function () { return chunkJVRRG36J_cjs.api_content_crud_default; }
6175
+ get: function () { return chunkR4WR3VTN_cjs.api_content_crud_default; }
6175
6176
  });
6176
6177
  Object.defineProperty(exports, "apiMediaRoutes", {
6177
6178
  enumerable: true,
6178
- get: function () { return chunkJVRRG36J_cjs.api_media_default; }
6179
+ get: function () { return chunkR4WR3VTN_cjs.api_media_default; }
6179
6180
  });
6180
6181
  Object.defineProperty(exports, "apiRoutes", {
6181
6182
  enumerable: true,
6182
- get: function () { return chunkJVRRG36J_cjs.api_default; }
6183
+ get: function () { return chunkR4WR3VTN_cjs.api_default; }
6183
6184
  });
6184
6185
  Object.defineProperty(exports, "apiSystemRoutes", {
6185
6186
  enumerable: true,
6186
- get: function () { return chunkJVRRG36J_cjs.api_system_default; }
6187
+ get: function () { return chunkR4WR3VTN_cjs.api_system_default; }
6187
6188
  });
6188
6189
  Object.defineProperty(exports, "authRoutes", {
6189
6190
  enumerable: true,
6190
- get: function () { return chunkJVRRG36J_cjs.auth_default; }
6191
+ get: function () { return chunkR4WR3VTN_cjs.auth_default; }
6191
6192
  });
6192
6193
  Object.defineProperty(exports, "Logger", {
6193
6194
  enumerable: true,
@@ -6355,83 +6356,83 @@ Object.defineProperty(exports, "workflowHistory", {
6355
6356
  });
6356
6357
  Object.defineProperty(exports, "AuthManager", {
6357
6358
  enumerable: true,
6358
- get: function () { return chunkGIWIJNBH_cjs.AuthManager; }
6359
+ get: function () { return chunkK4Q4SFJJ_cjs.AuthManager; }
6359
6360
  });
6360
6361
  Object.defineProperty(exports, "PermissionManager", {
6361
6362
  enumerable: true,
6362
- get: function () { return chunkGIWIJNBH_cjs.PermissionManager; }
6363
+ get: function () { return chunkK4Q4SFJJ_cjs.PermissionManager; }
6363
6364
  });
6364
6365
  Object.defineProperty(exports, "bootstrapMiddleware", {
6365
6366
  enumerable: true,
6366
- get: function () { return chunkGIWIJNBH_cjs.bootstrapMiddleware; }
6367
+ get: function () { return chunkK4Q4SFJJ_cjs.bootstrapMiddleware; }
6367
6368
  });
6368
6369
  Object.defineProperty(exports, "cacheHeaders", {
6369
6370
  enumerable: true,
6370
- get: function () { return chunkGIWIJNBH_cjs.cacheHeaders; }
6371
+ get: function () { return chunkK4Q4SFJJ_cjs.cacheHeaders; }
6371
6372
  });
6372
6373
  Object.defineProperty(exports, "compressionMiddleware", {
6373
6374
  enumerable: true,
6374
- get: function () { return chunkGIWIJNBH_cjs.compressionMiddleware; }
6375
+ get: function () { return chunkK4Q4SFJJ_cjs.compressionMiddleware; }
6375
6376
  });
6376
6377
  Object.defineProperty(exports, "detailedLoggingMiddleware", {
6377
6378
  enumerable: true,
6378
- get: function () { return chunkGIWIJNBH_cjs.detailedLoggingMiddleware; }
6379
+ get: function () { return chunkK4Q4SFJJ_cjs.detailedLoggingMiddleware; }
6379
6380
  });
6380
6381
  Object.defineProperty(exports, "getActivePlugins", {
6381
6382
  enumerable: true,
6382
- get: function () { return chunkGIWIJNBH_cjs.getActivePlugins; }
6383
+ get: function () { return chunkK4Q4SFJJ_cjs.getActivePlugins; }
6383
6384
  });
6384
6385
  Object.defineProperty(exports, "isPluginActive", {
6385
6386
  enumerable: true,
6386
- get: function () { return chunkGIWIJNBH_cjs.isPluginActive; }
6387
+ get: function () { return chunkK4Q4SFJJ_cjs.isPluginActive; }
6387
6388
  });
6388
6389
  Object.defineProperty(exports, "logActivity", {
6389
6390
  enumerable: true,
6390
- get: function () { return chunkGIWIJNBH_cjs.logActivity; }
6391
+ get: function () { return chunkK4Q4SFJJ_cjs.logActivity; }
6391
6392
  });
6392
6393
  Object.defineProperty(exports, "loggingMiddleware", {
6393
6394
  enumerable: true,
6394
- get: function () { return chunkGIWIJNBH_cjs.loggingMiddleware; }
6395
+ get: function () { return chunkK4Q4SFJJ_cjs.loggingMiddleware; }
6395
6396
  });
6396
6397
  Object.defineProperty(exports, "optionalAuth", {
6397
6398
  enumerable: true,
6398
- get: function () { return chunkGIWIJNBH_cjs.optionalAuth; }
6399
+ get: function () { return chunkK4Q4SFJJ_cjs.optionalAuth; }
6399
6400
  });
6400
6401
  Object.defineProperty(exports, "performanceLoggingMiddleware", {
6401
6402
  enumerable: true,
6402
- get: function () { return chunkGIWIJNBH_cjs.performanceLoggingMiddleware; }
6403
+ get: function () { return chunkK4Q4SFJJ_cjs.performanceLoggingMiddleware; }
6403
6404
  });
6404
6405
  Object.defineProperty(exports, "requireActivePlugin", {
6405
6406
  enumerable: true,
6406
- get: function () { return chunkGIWIJNBH_cjs.requireActivePlugin; }
6407
+ get: function () { return chunkK4Q4SFJJ_cjs.requireActivePlugin; }
6407
6408
  });
6408
6409
  Object.defineProperty(exports, "requireActivePlugins", {
6409
6410
  enumerable: true,
6410
- get: function () { return chunkGIWIJNBH_cjs.requireActivePlugins; }
6411
+ get: function () { return chunkK4Q4SFJJ_cjs.requireActivePlugins; }
6411
6412
  });
6412
6413
  Object.defineProperty(exports, "requireAnyPermission", {
6413
6414
  enumerable: true,
6414
- get: function () { return chunkGIWIJNBH_cjs.requireAnyPermission; }
6415
+ get: function () { return chunkK4Q4SFJJ_cjs.requireAnyPermission; }
6415
6416
  });
6416
6417
  Object.defineProperty(exports, "requireAuth", {
6417
6418
  enumerable: true,
6418
- get: function () { return chunkGIWIJNBH_cjs.requireAuth; }
6419
+ get: function () { return chunkK4Q4SFJJ_cjs.requireAuth; }
6419
6420
  });
6420
6421
  Object.defineProperty(exports, "requirePermission", {
6421
6422
  enumerable: true,
6422
- get: function () { return chunkGIWIJNBH_cjs.requirePermission; }
6423
+ get: function () { return chunkK4Q4SFJJ_cjs.requirePermission; }
6423
6424
  });
6424
6425
  Object.defineProperty(exports, "requireRole", {
6425
6426
  enumerable: true,
6426
- get: function () { return chunkGIWIJNBH_cjs.requireRole; }
6427
+ get: function () { return chunkK4Q4SFJJ_cjs.requireRole; }
6427
6428
  });
6428
6429
  Object.defineProperty(exports, "securityHeaders", {
6429
6430
  enumerable: true,
6430
- get: function () { return chunkGIWIJNBH_cjs.securityHeaders; }
6431
+ get: function () { return chunkK4Q4SFJJ_cjs.securityHeadersMiddleware; }
6431
6432
  });
6432
6433
  Object.defineProperty(exports, "securityLoggingMiddleware", {
6433
6434
  enumerable: true,
6434
- get: function () { return chunkGIWIJNBH_cjs.securityLoggingMiddleware; }
6435
+ get: function () { return chunkK4Q4SFJJ_cjs.securityLoggingMiddleware; }
6435
6436
  });
6436
6437
  Object.defineProperty(exports, "PluginBootstrapService", {
6437
6438
  enumerable: true,
@@ -6487,39 +6488,39 @@ Object.defineProperty(exports, "validateCollectionConfig", {
6487
6488
  });
6488
6489
  Object.defineProperty(exports, "MigrationService", {
6489
6490
  enumerable: true,
6490
- get: function () { return chunkSKLRRFJJ_cjs.MigrationService; }
6491
+ get: function () { return chunkHXHVU5GM_cjs.MigrationService; }
6491
6492
  });
6492
6493
  Object.defineProperty(exports, "renderFilterBar", {
6493
6494
  enumerable: true,
6494
- get: function () { return chunkS6K2H2TS_cjs.renderFilterBar; }
6495
+ get: function () { return chunk3G7XX4UI_cjs.renderFilterBar; }
6495
6496
  });
6496
6497
  Object.defineProperty(exports, "getConfirmationDialogScript", {
6497
6498
  enumerable: true,
6498
- get: function () { return chunkSHCYIZAN_cjs.getConfirmationDialogScript; }
6499
+ get: function () { return chunkLTKV7AE5_cjs.getConfirmationDialogScript; }
6499
6500
  });
6500
6501
  Object.defineProperty(exports, "renderAlert", {
6501
6502
  enumerable: true,
6502
- get: function () { return chunkSHCYIZAN_cjs.renderAlert; }
6503
+ get: function () { return chunkLTKV7AE5_cjs.renderAlert; }
6503
6504
  });
6504
6505
  Object.defineProperty(exports, "renderConfirmationDialog", {
6505
6506
  enumerable: true,
6506
- get: function () { return chunkSHCYIZAN_cjs.renderConfirmationDialog; }
6507
+ get: function () { return chunkLTKV7AE5_cjs.renderConfirmationDialog; }
6507
6508
  });
6508
6509
  Object.defineProperty(exports, "renderForm", {
6509
6510
  enumerable: true,
6510
- get: function () { return chunkSHCYIZAN_cjs.renderForm; }
6511
+ get: function () { return chunkLTKV7AE5_cjs.renderForm; }
6511
6512
  });
6512
6513
  Object.defineProperty(exports, "renderFormField", {
6513
6514
  enumerable: true,
6514
- get: function () { return chunkSHCYIZAN_cjs.renderFormField; }
6515
+ get: function () { return chunkLTKV7AE5_cjs.renderFormField; }
6515
6516
  });
6516
6517
  Object.defineProperty(exports, "renderPagination", {
6517
6518
  enumerable: true,
6518
- get: function () { return chunkSHCYIZAN_cjs.renderPagination; }
6519
+ get: function () { return chunkLTKV7AE5_cjs.renderPagination; }
6519
6520
  });
6520
6521
  Object.defineProperty(exports, "renderTable", {
6521
6522
  enumerable: true,
6522
- get: function () { return chunkSHCYIZAN_cjs.renderTable; }
6523
+ get: function () { return chunkLTKV7AE5_cjs.renderTable; }
6523
6524
  });
6524
6525
  Object.defineProperty(exports, "HookSystemImpl", {
6525
6526
  enumerable: true,
@@ -6555,47 +6556,47 @@ Object.defineProperty(exports, "PluginHelpers", {
6555
6556
  });
6556
6557
  Object.defineProperty(exports, "QueryFilterBuilder", {
6557
6558
  enumerable: true,
6558
- get: function () { return chunkWDQZYCQO_cjs.QueryFilterBuilder; }
6559
+ get: function () { return chunkJDIM5AG7_cjs.QueryFilterBuilder; }
6559
6560
  });
6560
6561
  Object.defineProperty(exports, "SONICJS_VERSION", {
6561
6562
  enumerable: true,
6562
- get: function () { return chunkWDQZYCQO_cjs.SONICJS_VERSION; }
6563
+ get: function () { return chunkJDIM5AG7_cjs.SONICJS_VERSION; }
6563
6564
  });
6564
6565
  Object.defineProperty(exports, "TemplateRenderer", {
6565
6566
  enumerable: true,
6566
- get: function () { return chunkWDQZYCQO_cjs.TemplateRenderer; }
6567
+ get: function () { return chunkJDIM5AG7_cjs.TemplateRenderer; }
6567
6568
  });
6568
6569
  Object.defineProperty(exports, "buildQuery", {
6569
6570
  enumerable: true,
6570
- get: function () { return chunkWDQZYCQO_cjs.buildQuery; }
6571
- });
6572
- Object.defineProperty(exports, "escapeHtml", {
6573
- enumerable: true,
6574
- get: function () { return chunkWDQZYCQO_cjs.escapeHtml; }
6571
+ get: function () { return chunkJDIM5AG7_cjs.buildQuery; }
6575
6572
  });
6576
6573
  Object.defineProperty(exports, "getCoreVersion", {
6577
6574
  enumerable: true,
6578
- get: function () { return chunkWDQZYCQO_cjs.getCoreVersion; }
6575
+ get: function () { return chunkJDIM5AG7_cjs.getCoreVersion; }
6579
6576
  });
6580
6577
  Object.defineProperty(exports, "renderTemplate", {
6581
6578
  enumerable: true,
6582
- get: function () { return chunkWDQZYCQO_cjs.renderTemplate; }
6579
+ get: function () { return chunkJDIM5AG7_cjs.renderTemplate; }
6583
6580
  });
6584
- Object.defineProperty(exports, "sanitizeInput", {
6581
+ Object.defineProperty(exports, "templateRenderer", {
6585
6582
  enumerable: true,
6586
- get: function () { return chunkWDQZYCQO_cjs.sanitizeInput; }
6583
+ get: function () { return chunkJDIM5AG7_cjs.templateRenderer; }
6587
6584
  });
6588
- Object.defineProperty(exports, "sanitizeObject", {
6585
+ Object.defineProperty(exports, "metricsTracker", {
6589
6586
  enumerable: true,
6590
- get: function () { return chunkWDQZYCQO_cjs.sanitizeObject; }
6587
+ get: function () { return chunkRCQ2HIQD_cjs.metricsTracker; }
6591
6588
  });
6592
- Object.defineProperty(exports, "templateRenderer", {
6589
+ Object.defineProperty(exports, "escapeHtml", {
6593
6590
  enumerable: true,
6594
- get: function () { return chunkWDQZYCQO_cjs.templateRenderer; }
6591
+ get: function () { return chunkMNWKYY5E_cjs.escapeHtml; }
6595
6592
  });
6596
- Object.defineProperty(exports, "metricsTracker", {
6593
+ Object.defineProperty(exports, "sanitizeInput", {
6597
6594
  enumerable: true,
6598
- get: function () { return chunkRCQ2HIQD_cjs.metricsTracker; }
6595
+ get: function () { return chunkMNWKYY5E_cjs.sanitizeInput; }
6596
+ });
6597
+ Object.defineProperty(exports, "sanitizeObject", {
6598
+ enumerable: true,
6599
+ get: function () { return chunkMNWKYY5E_cjs.sanitizeObject; }
6599
6600
  });
6600
6601
  Object.defineProperty(exports, "HOOKS", {
6601
6602
  enumerable: true,