@sonicjs-cms/core 2.0.11 → 2.0.13

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 (72) hide show
  1. package/README.md +75 -1
  2. package/dist/{chunk-AMSTLQFI.cjs → chunk-22EFGHAX.cjs} +4 -4
  3. package/dist/chunk-22EFGHAX.cjs.map +1 -0
  4. package/dist/{chunk-IM2LGCYD.cjs → chunk-2CP6535T.cjs} +905 -565
  5. package/dist/chunk-2CP6535T.cjs.map +1 -0
  6. package/dist/{chunk-HKEK7UNV.js → chunk-CPXAVWCU.js} +3 -3
  7. package/dist/{chunk-HKEK7UNV.js.map → chunk-CPXAVWCU.js.map} +1 -1
  8. package/dist/{chunk-F5ESJXI2.cjs → chunk-DTLB6UIH.cjs} +3 -3
  9. package/dist/{chunk-F5ESJXI2.cjs.map → chunk-DTLB6UIH.cjs.map} +1 -1
  10. package/dist/chunk-HFFNEGZB.cjs +70 -0
  11. package/dist/chunk-HFFNEGZB.cjs.map +1 -0
  12. package/dist/chunk-I3R77LQC.js +1550 -0
  13. package/dist/chunk-I3R77LQC.js.map +1 -0
  14. package/dist/chunk-JQIQRMPA.cjs +1552 -0
  15. package/dist/chunk-JQIQRMPA.cjs.map +1 -0
  16. package/dist/{chunk-I5ZPYKNX.js → chunk-LWMMMW43.js} +4 -4
  17. package/dist/chunk-LWMMMW43.js.map +1 -0
  18. package/dist/chunk-MOWI4WYE.js +61 -0
  19. package/dist/chunk-MOWI4WYE.js.map +1 -0
  20. package/dist/{chunk-FYWJMETG.js → chunk-PFNUOW6W.js} +4 -4
  21. package/dist/{chunk-FYWJMETG.js.map → chunk-PFNUOW6W.js.map} +1 -1
  22. package/dist/{chunk-CLLJFZ5U.js → chunk-QWIXOMHW.js} +805 -466
  23. package/dist/chunk-QWIXOMHW.js.map +1 -0
  24. package/dist/{chunk-DOR2IU73.cjs → chunk-U2WYUO32.cjs} +249 -2
  25. package/dist/chunk-U2WYUO32.cjs.map +1 -0
  26. package/dist/{chunk-NNXPAPUD.cjs → chunk-WFHLBYNA.cjs} +7 -4
  27. package/dist/chunk-WFHLBYNA.cjs.map +1 -0
  28. package/dist/{chunk-X2VADBA4.cjs → chunk-WML2ZMHH.cjs} +7 -7
  29. package/dist/{chunk-X2VADBA4.cjs.map → chunk-WML2ZMHH.cjs.map} +1 -1
  30. package/dist/{chunk-DU7JJZN7.js → chunk-ZALNKBLS.js} +7 -4
  31. package/dist/chunk-ZALNKBLS.js.map +1 -0
  32. package/dist/{chunk-6FR25MPC.js → chunk-ZNESOOF2.js} +246 -3
  33. package/dist/chunk-ZNESOOF2.js.map +1 -0
  34. package/dist/index.cjs +139 -137
  35. package/dist/index.cjs.map +1 -1
  36. package/dist/index.js +13 -11
  37. package/dist/index.js.map +1 -1
  38. package/dist/middleware.cjs +24 -24
  39. package/dist/middleware.js +3 -3
  40. package/dist/migrations-GVG73ZJC.js +4 -0
  41. package/dist/{migrations-IHERIQVD.js.map → migrations-GVG73ZJC.js.map} +1 -1
  42. package/dist/migrations-S52MEE4J.cjs +13 -0
  43. package/dist/{migrations-POFD5KNG.cjs.map → migrations-S52MEE4J.cjs.map} +1 -1
  44. package/dist/plugins.cjs +7 -7
  45. package/dist/plugins.js +1 -1
  46. package/dist/routes.cjs +30 -25
  47. package/dist/routes.js +7 -6
  48. package/dist/services.cjs +41 -24
  49. package/dist/services.js +4 -3
  50. package/dist/utils.cjs +44 -11
  51. package/dist/utils.js +2 -1
  52. package/migrations/001_initial_schema.sql +1 -1
  53. package/migrations/{023_add_mdxeditor_plugin.sql → 023_add_easy_mdx_plugin.sql} +7 -7
  54. package/migrations/025_rename_mdxeditor_to_easy_mdx.sql +22 -0
  55. package/package.json +5 -2
  56. package/dist/chunk-6FR25MPC.js.map +0 -1
  57. package/dist/chunk-AMSTLQFI.cjs.map +0 -1
  58. package/dist/chunk-CLLJFZ5U.js.map +0 -1
  59. package/dist/chunk-DOR2IU73.cjs.map +0 -1
  60. package/dist/chunk-DU7JJZN7.js.map +0 -1
  61. package/dist/chunk-I5ZPYKNX.js.map +0 -1
  62. package/dist/chunk-IM2LGCYD.cjs.map +0 -1
  63. package/dist/chunk-NNXPAPUD.cjs.map +0 -1
  64. package/dist/chunk-T7IYBGGO.cjs +0 -746
  65. package/dist/chunk-T7IYBGGO.cjs.map +0 -1
  66. package/dist/chunk-ZPMFT2JW.js +0 -744
  67. package/dist/chunk-ZPMFT2JW.js.map +0 -1
  68. package/dist/migrations-IHERIQVD.js +0 -4
  69. package/dist/migrations-POFD5KNG.cjs +0 -13
  70. package/migrations/013_code_examples_plugin.sql +0 -177
  71. package/migrations/025_add_easymde_plugin.sql +0 -25
  72. /package/migrations/{021_add_otp_login.sql → 026_add_otp_login.sql} +0 -0
package/dist/index.cjs CHANGED
@@ -1,14 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunkIM2LGCYD_cjs = require('./chunk-IM2LGCYD.cjs');
4
- var chunkDOR2IU73_cjs = require('./chunk-DOR2IU73.cjs');
5
- var chunkX2VADBA4_cjs = require('./chunk-X2VADBA4.cjs');
6
- var chunkAMSTLQFI_cjs = require('./chunk-AMSTLQFI.cjs');
7
- var chunkT7IYBGGO_cjs = require('./chunk-T7IYBGGO.cjs');
3
+ var chunk2CP6535T_cjs = require('./chunk-2CP6535T.cjs');
4
+ var chunkU2WYUO32_cjs = require('./chunk-U2WYUO32.cjs');
5
+ var chunkWML2ZMHH_cjs = require('./chunk-WML2ZMHH.cjs');
6
+ var chunk22EFGHAX_cjs = require('./chunk-22EFGHAX.cjs');
7
+ var chunkJQIQRMPA_cjs = require('./chunk-JQIQRMPA.cjs');
8
8
  var chunkZMSYKV62_cjs = require('./chunk-ZMSYKV62.cjs');
9
9
  var chunkYU6QFFI4_cjs = require('./chunk-YU6QFFI4.cjs');
10
- var chunkF5ESJXI2_cjs = require('./chunk-F5ESJXI2.cjs');
11
- var chunkNNXPAPUD_cjs = require('./chunk-NNXPAPUD.cjs');
10
+ var chunkDTLB6UIH_cjs = require('./chunk-DTLB6UIH.cjs');
11
+ var chunkWFHLBYNA_cjs = require('./chunk-WFHLBYNA.cjs');
12
+ require('./chunk-HFFNEGZB.cjs');
12
13
  var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
13
14
  var chunkKYGRJCZM_cjs = require('./chunk-KYGRJCZM.cjs');
14
15
  require('./chunk-IGJUBJBW.cjs');
@@ -555,7 +556,7 @@ function formatCellValue(value) {
555
556
  // src/plugins/core-plugins/database-tools-plugin/admin-routes.ts
556
557
  function createDatabaseToolsAdminRoutes() {
557
558
  const router2 = new hono.Hono();
558
- router2.use("*", chunkX2VADBA4_cjs.requireAuth());
559
+ router2.use("*", chunkWML2ZMHH_cjs.requireAuth());
559
560
  router2.get("/api/stats", async (c) => {
560
561
  try {
561
562
  const user = c.get("user");
@@ -736,7 +737,7 @@ function createDatabaseToolsAdminRoutes() {
736
737
  return router2;
737
738
  }
738
739
  function createEmailPlugin() {
739
- const builder = chunkIM2LGCYD_cjs.PluginBuilder.create({
740
+ const builder = chunk2CP6535T_cjs.PluginBuilder.create({
740
741
  name: "email",
741
742
  version: "1.0.0-beta.1",
742
743
  description: "Send transactional emails using Resend"
@@ -1107,14 +1108,14 @@ var emailPlugin = createEmailPlugin();
1107
1108
  // src/app.ts
1108
1109
  function createSonicJSApp(config = {}) {
1109
1110
  const app = new hono.Hono();
1110
- const appVersion = config.version || chunkNNXPAPUD_cjs.getCoreVersion();
1111
+ const appVersion = config.version || chunkWFHLBYNA_cjs.getCoreVersion();
1111
1112
  const appName = config.name || "SonicJS AI";
1112
1113
  app.use("*", async (c, next) => {
1113
1114
  c.set("appVersion", appVersion);
1114
1115
  await next();
1115
1116
  });
1116
- app.use("*", chunkX2VADBA4_cjs.metricsMiddleware());
1117
- app.use("*", chunkX2VADBA4_cjs.bootstrapMiddleware(config));
1117
+ app.use("*", chunkWML2ZMHH_cjs.metricsMiddleware());
1118
+ app.use("*", chunkWML2ZMHH_cjs.bootstrapMiddleware(config));
1118
1119
  if (config.middleware?.beforeAuth) {
1119
1120
  for (const middleware of config.middleware.beforeAuth) {
1120
1121
  app.use("*", middleware);
@@ -1131,20 +1132,21 @@ function createSonicJSApp(config = {}) {
1131
1132
  app.use("*", middleware);
1132
1133
  }
1133
1134
  }
1134
- app.route("/api", chunkIM2LGCYD_cjs.api_default);
1135
- app.route("/api/media", chunkIM2LGCYD_cjs.api_media_default);
1136
- app.route("/api/system", chunkIM2LGCYD_cjs.api_system_default);
1137
- app.route("/admin/api", chunkIM2LGCYD_cjs.admin_api_default);
1138
- app.route("/admin/dashboard", chunkIM2LGCYD_cjs.router);
1139
- app.route("/admin/collections", chunkIM2LGCYD_cjs.adminCollectionsRoutes);
1140
- app.route("/admin/settings", chunkIM2LGCYD_cjs.adminSettingsRoutes);
1135
+ app.route("/api", chunk2CP6535T_cjs.api_default);
1136
+ app.route("/api/media", chunk2CP6535T_cjs.api_media_default);
1137
+ app.route("/api/system", chunk2CP6535T_cjs.api_system_default);
1138
+ app.route("/admin/api", chunk2CP6535T_cjs.admin_api_default);
1139
+ app.route("/admin/dashboard", chunk2CP6535T_cjs.router);
1140
+ app.route("/admin/collections", chunk2CP6535T_cjs.adminCollectionsRoutes);
1141
+ app.route("/admin/settings", chunk2CP6535T_cjs.adminSettingsRoutes);
1141
1142
  app.route("/admin/database-tools", createDatabaseToolsAdminRoutes());
1142
- app.route("/admin/content", chunkIM2LGCYD_cjs.admin_content_default);
1143
- app.route("/admin/media", chunkIM2LGCYD_cjs.adminMediaRoutes);
1144
- app.route("/admin/plugins", chunkIM2LGCYD_cjs.adminPluginRoutes);
1145
- app.route("/admin/logs", chunkIM2LGCYD_cjs.adminLogsRoutes);
1146
- app.route("/admin", chunkIM2LGCYD_cjs.userRoutes);
1147
- app.route("/auth", chunkIM2LGCYD_cjs.auth_default);
1143
+ app.route("/admin/content", chunk2CP6535T_cjs.admin_content_default);
1144
+ app.route("/admin/media", chunk2CP6535T_cjs.adminMediaRoutes);
1145
+ app.route("/admin/plugins", chunk2CP6535T_cjs.adminPluginRoutes);
1146
+ app.route("/admin/logs", chunk2CP6535T_cjs.adminLogsRoutes);
1147
+ app.route("/admin", chunk2CP6535T_cjs.userRoutes);
1148
+ app.route("/auth", chunk2CP6535T_cjs.auth_default);
1149
+ app.route("/", chunk2CP6535T_cjs.test_cleanup_default);
1148
1150
  if (emailPlugin.routes && emailPlugin.routes.length > 0) {
1149
1151
  for (const route of emailPlugin.routes) {
1150
1152
  app.route(route.path, route.handler);
@@ -1209,387 +1211,387 @@ function setupCoreRoutes(_app) {
1209
1211
  console.warn("setupCoreRoutes is deprecated. Use createSonicJSApp() instead.");
1210
1212
  }
1211
1213
  function createDb(d1$1) {
1212
- return d1.drizzle(d1$1, { schema: chunkDOR2IU73_cjs.schema_exports });
1214
+ return d1.drizzle(d1$1, { schema: chunkU2WYUO32_cjs.schema_exports });
1213
1215
  }
1214
1216
 
1215
1217
  // src/index.ts
1216
- var VERSION = chunkNNXPAPUD_cjs.package_default.version;
1218
+ var VERSION = chunkWFHLBYNA_cjs.package_default.version;
1217
1219
 
1218
1220
  Object.defineProperty(exports, "ROUTES_INFO", {
1219
1221
  enumerable: true,
1220
- get: function () { return chunkIM2LGCYD_cjs.ROUTES_INFO; }
1222
+ get: function () { return chunk2CP6535T_cjs.ROUTES_INFO; }
1221
1223
  });
1222
1224
  Object.defineProperty(exports, "adminApiRoutes", {
1223
1225
  enumerable: true,
1224
- get: function () { return chunkIM2LGCYD_cjs.admin_api_default; }
1226
+ get: function () { return chunk2CP6535T_cjs.admin_api_default; }
1225
1227
  });
1226
1228
  Object.defineProperty(exports, "adminCheckboxRoutes", {
1227
1229
  enumerable: true,
1228
- get: function () { return chunkIM2LGCYD_cjs.adminCheckboxRoutes; }
1230
+ get: function () { return chunk2CP6535T_cjs.adminCheckboxRoutes; }
1229
1231
  });
1230
1232
  Object.defineProperty(exports, "adminCodeExamplesRoutes", {
1231
1233
  enumerable: true,
1232
- get: function () { return chunkIM2LGCYD_cjs.admin_code_examples_default; }
1234
+ get: function () { return chunk2CP6535T_cjs.admin_code_examples_default; }
1233
1235
  });
1234
1236
  Object.defineProperty(exports, "adminCollectionsRoutes", {
1235
1237
  enumerable: true,
1236
- get: function () { return chunkIM2LGCYD_cjs.adminCollectionsRoutes; }
1238
+ get: function () { return chunk2CP6535T_cjs.adminCollectionsRoutes; }
1237
1239
  });
1238
1240
  Object.defineProperty(exports, "adminContentRoutes", {
1239
1241
  enumerable: true,
1240
- get: function () { return chunkIM2LGCYD_cjs.admin_content_default; }
1242
+ get: function () { return chunk2CP6535T_cjs.admin_content_default; }
1241
1243
  });
1242
1244
  Object.defineProperty(exports, "adminDashboardRoutes", {
1243
1245
  enumerable: true,
1244
- get: function () { return chunkIM2LGCYD_cjs.router; }
1246
+ get: function () { return chunk2CP6535T_cjs.router; }
1245
1247
  });
1246
1248
  Object.defineProperty(exports, "adminDesignRoutes", {
1247
1249
  enumerable: true,
1248
- get: function () { return chunkIM2LGCYD_cjs.adminDesignRoutes; }
1250
+ get: function () { return chunk2CP6535T_cjs.adminDesignRoutes; }
1249
1251
  });
1250
1252
  Object.defineProperty(exports, "adminLogsRoutes", {
1251
1253
  enumerable: true,
1252
- get: function () { return chunkIM2LGCYD_cjs.adminLogsRoutes; }
1254
+ get: function () { return chunk2CP6535T_cjs.adminLogsRoutes; }
1253
1255
  });
1254
1256
  Object.defineProperty(exports, "adminMediaRoutes", {
1255
1257
  enumerable: true,
1256
- get: function () { return chunkIM2LGCYD_cjs.adminMediaRoutes; }
1258
+ get: function () { return chunk2CP6535T_cjs.adminMediaRoutes; }
1257
1259
  });
1258
1260
  Object.defineProperty(exports, "adminPluginRoutes", {
1259
1261
  enumerable: true,
1260
- get: function () { return chunkIM2LGCYD_cjs.adminPluginRoutes; }
1262
+ get: function () { return chunk2CP6535T_cjs.adminPluginRoutes; }
1261
1263
  });
1262
1264
  Object.defineProperty(exports, "adminSettingsRoutes", {
1263
1265
  enumerable: true,
1264
- get: function () { return chunkIM2LGCYD_cjs.adminSettingsRoutes; }
1266
+ get: function () { return chunk2CP6535T_cjs.adminSettingsRoutes; }
1265
1267
  });
1266
1268
  Object.defineProperty(exports, "adminTestimonialsRoutes", {
1267
1269
  enumerable: true,
1268
- get: function () { return chunkIM2LGCYD_cjs.admin_testimonials_default; }
1270
+ get: function () { return chunk2CP6535T_cjs.admin_testimonials_default; }
1269
1271
  });
1270
1272
  Object.defineProperty(exports, "adminUsersRoutes", {
1271
1273
  enumerable: true,
1272
- get: function () { return chunkIM2LGCYD_cjs.userRoutes; }
1274
+ get: function () { return chunk2CP6535T_cjs.userRoutes; }
1273
1275
  });
1274
1276
  Object.defineProperty(exports, "apiContentCrudRoutes", {
1275
1277
  enumerable: true,
1276
- get: function () { return chunkIM2LGCYD_cjs.api_content_crud_default; }
1278
+ get: function () { return chunk2CP6535T_cjs.api_content_crud_default; }
1277
1279
  });
1278
1280
  Object.defineProperty(exports, "apiMediaRoutes", {
1279
1281
  enumerable: true,
1280
- get: function () { return chunkIM2LGCYD_cjs.api_media_default; }
1282
+ get: function () { return chunk2CP6535T_cjs.api_media_default; }
1281
1283
  });
1282
1284
  Object.defineProperty(exports, "apiRoutes", {
1283
1285
  enumerable: true,
1284
- get: function () { return chunkIM2LGCYD_cjs.api_default; }
1286
+ get: function () { return chunk2CP6535T_cjs.api_default; }
1285
1287
  });
1286
1288
  Object.defineProperty(exports, "apiSystemRoutes", {
1287
1289
  enumerable: true,
1288
- get: function () { return chunkIM2LGCYD_cjs.api_system_default; }
1290
+ get: function () { return chunk2CP6535T_cjs.api_system_default; }
1289
1291
  });
1290
1292
  Object.defineProperty(exports, "authRoutes", {
1291
1293
  enumerable: true,
1292
- get: function () { return chunkIM2LGCYD_cjs.auth_default; }
1294
+ get: function () { return chunk2CP6535T_cjs.auth_default; }
1293
1295
  });
1294
1296
  Object.defineProperty(exports, "Logger", {
1295
1297
  enumerable: true,
1296
- get: function () { return chunkDOR2IU73_cjs.Logger; }
1298
+ get: function () { return chunkU2WYUO32_cjs.Logger; }
1297
1299
  });
1298
1300
  Object.defineProperty(exports, "apiTokens", {
1299
1301
  enumerable: true,
1300
- get: function () { return chunkDOR2IU73_cjs.apiTokens; }
1302
+ get: function () { return chunkU2WYUO32_cjs.apiTokens; }
1301
1303
  });
1302
1304
  Object.defineProperty(exports, "collections", {
1303
1305
  enumerable: true,
1304
- get: function () { return chunkDOR2IU73_cjs.collections; }
1306
+ get: function () { return chunkU2WYUO32_cjs.collections; }
1305
1307
  });
1306
1308
  Object.defineProperty(exports, "content", {
1307
1309
  enumerable: true,
1308
- get: function () { return chunkDOR2IU73_cjs.content; }
1310
+ get: function () { return chunkU2WYUO32_cjs.content; }
1309
1311
  });
1310
1312
  Object.defineProperty(exports, "contentVersions", {
1311
1313
  enumerable: true,
1312
- get: function () { return chunkDOR2IU73_cjs.contentVersions; }
1314
+ get: function () { return chunkU2WYUO32_cjs.contentVersions; }
1313
1315
  });
1314
1316
  Object.defineProperty(exports, "getLogger", {
1315
1317
  enumerable: true,
1316
- get: function () { return chunkDOR2IU73_cjs.getLogger; }
1318
+ get: function () { return chunkU2WYUO32_cjs.getLogger; }
1317
1319
  });
1318
1320
  Object.defineProperty(exports, "initLogger", {
1319
1321
  enumerable: true,
1320
- get: function () { return chunkDOR2IU73_cjs.initLogger; }
1322
+ get: function () { return chunkU2WYUO32_cjs.initLogger; }
1321
1323
  });
1322
1324
  Object.defineProperty(exports, "insertCollectionSchema", {
1323
1325
  enumerable: true,
1324
- get: function () { return chunkDOR2IU73_cjs.insertCollectionSchema; }
1326
+ get: function () { return chunkU2WYUO32_cjs.insertCollectionSchema; }
1325
1327
  });
1326
1328
  Object.defineProperty(exports, "insertContentSchema", {
1327
1329
  enumerable: true,
1328
- get: function () { return chunkDOR2IU73_cjs.insertContentSchema; }
1330
+ get: function () { return chunkU2WYUO32_cjs.insertContentSchema; }
1329
1331
  });
1330
1332
  Object.defineProperty(exports, "insertLogConfigSchema", {
1331
1333
  enumerable: true,
1332
- get: function () { return chunkDOR2IU73_cjs.insertLogConfigSchema; }
1334
+ get: function () { return chunkU2WYUO32_cjs.insertLogConfigSchema; }
1333
1335
  });
1334
1336
  Object.defineProperty(exports, "insertMediaSchema", {
1335
1337
  enumerable: true,
1336
- get: function () { return chunkDOR2IU73_cjs.insertMediaSchema; }
1338
+ get: function () { return chunkU2WYUO32_cjs.insertMediaSchema; }
1337
1339
  });
1338
1340
  Object.defineProperty(exports, "insertPluginActivityLogSchema", {
1339
1341
  enumerable: true,
1340
- get: function () { return chunkDOR2IU73_cjs.insertPluginActivityLogSchema; }
1342
+ get: function () { return chunkU2WYUO32_cjs.insertPluginActivityLogSchema; }
1341
1343
  });
1342
1344
  Object.defineProperty(exports, "insertPluginAssetSchema", {
1343
1345
  enumerable: true,
1344
- get: function () { return chunkDOR2IU73_cjs.insertPluginAssetSchema; }
1346
+ get: function () { return chunkU2WYUO32_cjs.insertPluginAssetSchema; }
1345
1347
  });
1346
1348
  Object.defineProperty(exports, "insertPluginHookSchema", {
1347
1349
  enumerable: true,
1348
- get: function () { return chunkDOR2IU73_cjs.insertPluginHookSchema; }
1350
+ get: function () { return chunkU2WYUO32_cjs.insertPluginHookSchema; }
1349
1351
  });
1350
1352
  Object.defineProperty(exports, "insertPluginRouteSchema", {
1351
1353
  enumerable: true,
1352
- get: function () { return chunkDOR2IU73_cjs.insertPluginRouteSchema; }
1354
+ get: function () { return chunkU2WYUO32_cjs.insertPluginRouteSchema; }
1353
1355
  });
1354
1356
  Object.defineProperty(exports, "insertPluginSchema", {
1355
1357
  enumerable: true,
1356
- get: function () { return chunkDOR2IU73_cjs.insertPluginSchema; }
1358
+ get: function () { return chunkU2WYUO32_cjs.insertPluginSchema; }
1357
1359
  });
1358
1360
  Object.defineProperty(exports, "insertSystemLogSchema", {
1359
1361
  enumerable: true,
1360
- get: function () { return chunkDOR2IU73_cjs.insertSystemLogSchema; }
1362
+ get: function () { return chunkU2WYUO32_cjs.insertSystemLogSchema; }
1361
1363
  });
1362
1364
  Object.defineProperty(exports, "insertUserSchema", {
1363
1365
  enumerable: true,
1364
- get: function () { return chunkDOR2IU73_cjs.insertUserSchema; }
1366
+ get: function () { return chunkU2WYUO32_cjs.insertUserSchema; }
1365
1367
  });
1366
1368
  Object.defineProperty(exports, "insertWorkflowHistorySchema", {
1367
1369
  enumerable: true,
1368
- get: function () { return chunkDOR2IU73_cjs.insertWorkflowHistorySchema; }
1370
+ get: function () { return chunkU2WYUO32_cjs.insertWorkflowHistorySchema; }
1369
1371
  });
1370
1372
  Object.defineProperty(exports, "logConfig", {
1371
1373
  enumerable: true,
1372
- get: function () { return chunkDOR2IU73_cjs.logConfig; }
1374
+ get: function () { return chunkU2WYUO32_cjs.logConfig; }
1373
1375
  });
1374
1376
  Object.defineProperty(exports, "media", {
1375
1377
  enumerable: true,
1376
- get: function () { return chunkDOR2IU73_cjs.media; }
1378
+ get: function () { return chunkU2WYUO32_cjs.media; }
1377
1379
  });
1378
1380
  Object.defineProperty(exports, "pluginActivityLog", {
1379
1381
  enumerable: true,
1380
- get: function () { return chunkDOR2IU73_cjs.pluginActivityLog; }
1382
+ get: function () { return chunkU2WYUO32_cjs.pluginActivityLog; }
1381
1383
  });
1382
1384
  Object.defineProperty(exports, "pluginAssets", {
1383
1385
  enumerable: true,
1384
- get: function () { return chunkDOR2IU73_cjs.pluginAssets; }
1386
+ get: function () { return chunkU2WYUO32_cjs.pluginAssets; }
1385
1387
  });
1386
1388
  Object.defineProperty(exports, "pluginHooks", {
1387
1389
  enumerable: true,
1388
- get: function () { return chunkDOR2IU73_cjs.pluginHooks; }
1390
+ get: function () { return chunkU2WYUO32_cjs.pluginHooks; }
1389
1391
  });
1390
1392
  Object.defineProperty(exports, "pluginRoutes", {
1391
1393
  enumerable: true,
1392
- get: function () { return chunkDOR2IU73_cjs.pluginRoutes; }
1394
+ get: function () { return chunkU2WYUO32_cjs.pluginRoutes; }
1393
1395
  });
1394
1396
  Object.defineProperty(exports, "plugins", {
1395
1397
  enumerable: true,
1396
- get: function () { return chunkDOR2IU73_cjs.plugins; }
1398
+ get: function () { return chunkU2WYUO32_cjs.plugins; }
1397
1399
  });
1398
1400
  Object.defineProperty(exports, "selectCollectionSchema", {
1399
1401
  enumerable: true,
1400
- get: function () { return chunkDOR2IU73_cjs.selectCollectionSchema; }
1402
+ get: function () { return chunkU2WYUO32_cjs.selectCollectionSchema; }
1401
1403
  });
1402
1404
  Object.defineProperty(exports, "selectContentSchema", {
1403
1405
  enumerable: true,
1404
- get: function () { return chunkDOR2IU73_cjs.selectContentSchema; }
1406
+ get: function () { return chunkU2WYUO32_cjs.selectContentSchema; }
1405
1407
  });
1406
1408
  Object.defineProperty(exports, "selectLogConfigSchema", {
1407
1409
  enumerable: true,
1408
- get: function () { return chunkDOR2IU73_cjs.selectLogConfigSchema; }
1410
+ get: function () { return chunkU2WYUO32_cjs.selectLogConfigSchema; }
1409
1411
  });
1410
1412
  Object.defineProperty(exports, "selectMediaSchema", {
1411
1413
  enumerable: true,
1412
- get: function () { return chunkDOR2IU73_cjs.selectMediaSchema; }
1414
+ get: function () { return chunkU2WYUO32_cjs.selectMediaSchema; }
1413
1415
  });
1414
1416
  Object.defineProperty(exports, "selectPluginActivityLogSchema", {
1415
1417
  enumerable: true,
1416
- get: function () { return chunkDOR2IU73_cjs.selectPluginActivityLogSchema; }
1418
+ get: function () { return chunkU2WYUO32_cjs.selectPluginActivityLogSchema; }
1417
1419
  });
1418
1420
  Object.defineProperty(exports, "selectPluginAssetSchema", {
1419
1421
  enumerable: true,
1420
- get: function () { return chunkDOR2IU73_cjs.selectPluginAssetSchema; }
1422
+ get: function () { return chunkU2WYUO32_cjs.selectPluginAssetSchema; }
1421
1423
  });
1422
1424
  Object.defineProperty(exports, "selectPluginHookSchema", {
1423
1425
  enumerable: true,
1424
- get: function () { return chunkDOR2IU73_cjs.selectPluginHookSchema; }
1426
+ get: function () { return chunkU2WYUO32_cjs.selectPluginHookSchema; }
1425
1427
  });
1426
1428
  Object.defineProperty(exports, "selectPluginRouteSchema", {
1427
1429
  enumerable: true,
1428
- get: function () { return chunkDOR2IU73_cjs.selectPluginRouteSchema; }
1430
+ get: function () { return chunkU2WYUO32_cjs.selectPluginRouteSchema; }
1429
1431
  });
1430
1432
  Object.defineProperty(exports, "selectPluginSchema", {
1431
1433
  enumerable: true,
1432
- get: function () { return chunkDOR2IU73_cjs.selectPluginSchema; }
1434
+ get: function () { return chunkU2WYUO32_cjs.selectPluginSchema; }
1433
1435
  });
1434
1436
  Object.defineProperty(exports, "selectSystemLogSchema", {
1435
1437
  enumerable: true,
1436
- get: function () { return chunkDOR2IU73_cjs.selectSystemLogSchema; }
1438
+ get: function () { return chunkU2WYUO32_cjs.selectSystemLogSchema; }
1437
1439
  });
1438
1440
  Object.defineProperty(exports, "selectUserSchema", {
1439
1441
  enumerable: true,
1440
- get: function () { return chunkDOR2IU73_cjs.selectUserSchema; }
1442
+ get: function () { return chunkU2WYUO32_cjs.selectUserSchema; }
1441
1443
  });
1442
1444
  Object.defineProperty(exports, "selectWorkflowHistorySchema", {
1443
1445
  enumerable: true,
1444
- get: function () { return chunkDOR2IU73_cjs.selectWorkflowHistorySchema; }
1446
+ get: function () { return chunkU2WYUO32_cjs.selectWorkflowHistorySchema; }
1445
1447
  });
1446
1448
  Object.defineProperty(exports, "systemLogs", {
1447
1449
  enumerable: true,
1448
- get: function () { return chunkDOR2IU73_cjs.systemLogs; }
1450
+ get: function () { return chunkU2WYUO32_cjs.systemLogs; }
1449
1451
  });
1450
1452
  Object.defineProperty(exports, "users", {
1451
1453
  enumerable: true,
1452
- get: function () { return chunkDOR2IU73_cjs.users; }
1454
+ get: function () { return chunkU2WYUO32_cjs.users; }
1453
1455
  });
1454
1456
  Object.defineProperty(exports, "workflowHistory", {
1455
1457
  enumerable: true,
1456
- get: function () { return chunkDOR2IU73_cjs.workflowHistory; }
1458
+ get: function () { return chunkU2WYUO32_cjs.workflowHistory; }
1457
1459
  });
1458
1460
  Object.defineProperty(exports, "AuthManager", {
1459
1461
  enumerable: true,
1460
- get: function () { return chunkX2VADBA4_cjs.AuthManager; }
1462
+ get: function () { return chunkWML2ZMHH_cjs.AuthManager; }
1461
1463
  });
1462
1464
  Object.defineProperty(exports, "PermissionManager", {
1463
1465
  enumerable: true,
1464
- get: function () { return chunkX2VADBA4_cjs.PermissionManager; }
1466
+ get: function () { return chunkWML2ZMHH_cjs.PermissionManager; }
1465
1467
  });
1466
1468
  Object.defineProperty(exports, "bootstrapMiddleware", {
1467
1469
  enumerable: true,
1468
- get: function () { return chunkX2VADBA4_cjs.bootstrapMiddleware; }
1470
+ get: function () { return chunkWML2ZMHH_cjs.bootstrapMiddleware; }
1469
1471
  });
1470
1472
  Object.defineProperty(exports, "cacheHeaders", {
1471
1473
  enumerable: true,
1472
- get: function () { return chunkX2VADBA4_cjs.cacheHeaders; }
1474
+ get: function () { return chunkWML2ZMHH_cjs.cacheHeaders; }
1473
1475
  });
1474
1476
  Object.defineProperty(exports, "compressionMiddleware", {
1475
1477
  enumerable: true,
1476
- get: function () { return chunkX2VADBA4_cjs.compressionMiddleware; }
1478
+ get: function () { return chunkWML2ZMHH_cjs.compressionMiddleware; }
1477
1479
  });
1478
1480
  Object.defineProperty(exports, "detailedLoggingMiddleware", {
1479
1481
  enumerable: true,
1480
- get: function () { return chunkX2VADBA4_cjs.detailedLoggingMiddleware; }
1482
+ get: function () { return chunkWML2ZMHH_cjs.detailedLoggingMiddleware; }
1481
1483
  });
1482
1484
  Object.defineProperty(exports, "getActivePlugins", {
1483
1485
  enumerable: true,
1484
- get: function () { return chunkX2VADBA4_cjs.getActivePlugins; }
1486
+ get: function () { return chunkWML2ZMHH_cjs.getActivePlugins; }
1485
1487
  });
1486
1488
  Object.defineProperty(exports, "isPluginActive", {
1487
1489
  enumerable: true,
1488
- get: function () { return chunkX2VADBA4_cjs.isPluginActive; }
1490
+ get: function () { return chunkWML2ZMHH_cjs.isPluginActive; }
1489
1491
  });
1490
1492
  Object.defineProperty(exports, "logActivity", {
1491
1493
  enumerable: true,
1492
- get: function () { return chunkX2VADBA4_cjs.logActivity; }
1494
+ get: function () { return chunkWML2ZMHH_cjs.logActivity; }
1493
1495
  });
1494
1496
  Object.defineProperty(exports, "loggingMiddleware", {
1495
1497
  enumerable: true,
1496
- get: function () { return chunkX2VADBA4_cjs.loggingMiddleware; }
1498
+ get: function () { return chunkWML2ZMHH_cjs.loggingMiddleware; }
1497
1499
  });
1498
1500
  Object.defineProperty(exports, "optionalAuth", {
1499
1501
  enumerable: true,
1500
- get: function () { return chunkX2VADBA4_cjs.optionalAuth; }
1502
+ get: function () { return chunkWML2ZMHH_cjs.optionalAuth; }
1501
1503
  });
1502
1504
  Object.defineProperty(exports, "performanceLoggingMiddleware", {
1503
1505
  enumerable: true,
1504
- get: function () { return chunkX2VADBA4_cjs.performanceLoggingMiddleware; }
1506
+ get: function () { return chunkWML2ZMHH_cjs.performanceLoggingMiddleware; }
1505
1507
  });
1506
1508
  Object.defineProperty(exports, "requireActivePlugin", {
1507
1509
  enumerable: true,
1508
- get: function () { return chunkX2VADBA4_cjs.requireActivePlugin; }
1510
+ get: function () { return chunkWML2ZMHH_cjs.requireActivePlugin; }
1509
1511
  });
1510
1512
  Object.defineProperty(exports, "requireActivePlugins", {
1511
1513
  enumerable: true,
1512
- get: function () { return chunkX2VADBA4_cjs.requireActivePlugins; }
1514
+ get: function () { return chunkWML2ZMHH_cjs.requireActivePlugins; }
1513
1515
  });
1514
1516
  Object.defineProperty(exports, "requireAnyPermission", {
1515
1517
  enumerable: true,
1516
- get: function () { return chunkX2VADBA4_cjs.requireAnyPermission; }
1518
+ get: function () { return chunkWML2ZMHH_cjs.requireAnyPermission; }
1517
1519
  });
1518
1520
  Object.defineProperty(exports, "requireAuth", {
1519
1521
  enumerable: true,
1520
- get: function () { return chunkX2VADBA4_cjs.requireAuth; }
1522
+ get: function () { return chunkWML2ZMHH_cjs.requireAuth; }
1521
1523
  });
1522
1524
  Object.defineProperty(exports, "requirePermission", {
1523
1525
  enumerable: true,
1524
- get: function () { return chunkX2VADBA4_cjs.requirePermission; }
1526
+ get: function () { return chunkWML2ZMHH_cjs.requirePermission; }
1525
1527
  });
1526
1528
  Object.defineProperty(exports, "requireRole", {
1527
1529
  enumerable: true,
1528
- get: function () { return chunkX2VADBA4_cjs.requireRole; }
1530
+ get: function () { return chunkWML2ZMHH_cjs.requireRole; }
1529
1531
  });
1530
1532
  Object.defineProperty(exports, "securityHeaders", {
1531
1533
  enumerable: true,
1532
- get: function () { return chunkX2VADBA4_cjs.securityHeaders; }
1534
+ get: function () { return chunkWML2ZMHH_cjs.securityHeaders; }
1533
1535
  });
1534
1536
  Object.defineProperty(exports, "securityLoggingMiddleware", {
1535
1537
  enumerable: true,
1536
- get: function () { return chunkX2VADBA4_cjs.securityLoggingMiddleware; }
1538
+ get: function () { return chunkWML2ZMHH_cjs.securityLoggingMiddleware; }
1537
1539
  });
1538
1540
  Object.defineProperty(exports, "PluginBootstrapService", {
1539
1541
  enumerable: true,
1540
- get: function () { return chunkAMSTLQFI_cjs.PluginBootstrapService; }
1542
+ get: function () { return chunk22EFGHAX_cjs.PluginBootstrapService; }
1541
1543
  });
1542
1544
  Object.defineProperty(exports, "PluginServiceClass", {
1543
1545
  enumerable: true,
1544
- get: function () { return chunkAMSTLQFI_cjs.PluginService; }
1546
+ get: function () { return chunk22EFGHAX_cjs.PluginService; }
1545
1547
  });
1546
1548
  Object.defineProperty(exports, "cleanupRemovedCollections", {
1547
1549
  enumerable: true,
1548
- get: function () { return chunkAMSTLQFI_cjs.cleanupRemovedCollections; }
1550
+ get: function () { return chunk22EFGHAX_cjs.cleanupRemovedCollections; }
1549
1551
  });
1550
1552
  Object.defineProperty(exports, "fullCollectionSync", {
1551
1553
  enumerable: true,
1552
- get: function () { return chunkAMSTLQFI_cjs.fullCollectionSync; }
1554
+ get: function () { return chunk22EFGHAX_cjs.fullCollectionSync; }
1553
1555
  });
1554
1556
  Object.defineProperty(exports, "getAvailableCollectionNames", {
1555
1557
  enumerable: true,
1556
- get: function () { return chunkAMSTLQFI_cjs.getAvailableCollectionNames; }
1558
+ get: function () { return chunk22EFGHAX_cjs.getAvailableCollectionNames; }
1557
1559
  });
1558
1560
  Object.defineProperty(exports, "getManagedCollections", {
1559
1561
  enumerable: true,
1560
- get: function () { return chunkAMSTLQFI_cjs.getManagedCollections; }
1562
+ get: function () { return chunk22EFGHAX_cjs.getManagedCollections; }
1561
1563
  });
1562
1564
  Object.defineProperty(exports, "isCollectionManaged", {
1563
1565
  enumerable: true,
1564
- get: function () { return chunkAMSTLQFI_cjs.isCollectionManaged; }
1566
+ get: function () { return chunk22EFGHAX_cjs.isCollectionManaged; }
1565
1567
  });
1566
1568
  Object.defineProperty(exports, "loadCollectionConfig", {
1567
1569
  enumerable: true,
1568
- get: function () { return chunkAMSTLQFI_cjs.loadCollectionConfig; }
1570
+ get: function () { return chunk22EFGHAX_cjs.loadCollectionConfig; }
1569
1571
  });
1570
1572
  Object.defineProperty(exports, "loadCollectionConfigs", {
1571
1573
  enumerable: true,
1572
- get: function () { return chunkAMSTLQFI_cjs.loadCollectionConfigs; }
1574
+ get: function () { return chunk22EFGHAX_cjs.loadCollectionConfigs; }
1573
1575
  });
1574
1576
  Object.defineProperty(exports, "registerCollections", {
1575
1577
  enumerable: true,
1576
- get: function () { return chunkAMSTLQFI_cjs.registerCollections; }
1578
+ get: function () { return chunk22EFGHAX_cjs.registerCollections; }
1577
1579
  });
1578
1580
  Object.defineProperty(exports, "syncCollection", {
1579
1581
  enumerable: true,
1580
- get: function () { return chunkAMSTLQFI_cjs.syncCollection; }
1582
+ get: function () { return chunk22EFGHAX_cjs.syncCollection; }
1581
1583
  });
1582
1584
  Object.defineProperty(exports, "syncCollections", {
1583
1585
  enumerable: true,
1584
- get: function () { return chunkAMSTLQFI_cjs.syncCollections; }
1586
+ get: function () { return chunk22EFGHAX_cjs.syncCollections; }
1585
1587
  });
1586
1588
  Object.defineProperty(exports, "validateCollectionConfig", {
1587
1589
  enumerable: true,
1588
- get: function () { return chunkAMSTLQFI_cjs.validateCollectionConfig; }
1590
+ get: function () { return chunk22EFGHAX_cjs.validateCollectionConfig; }
1589
1591
  });
1590
1592
  Object.defineProperty(exports, "MigrationService", {
1591
1593
  enumerable: true,
1592
- get: function () { return chunkT7IYBGGO_cjs.MigrationService; }
1594
+ get: function () { return chunkJQIQRMPA_cjs.MigrationService; }
1593
1595
  });
1594
1596
  Object.defineProperty(exports, "renderFilterBar", {
1595
1597
  enumerable: true,
@@ -1625,67 +1627,67 @@ Object.defineProperty(exports, "renderTable", {
1625
1627
  });
1626
1628
  Object.defineProperty(exports, "HookSystemImpl", {
1627
1629
  enumerable: true,
1628
- get: function () { return chunkF5ESJXI2_cjs.HookSystemImpl; }
1630
+ get: function () { return chunkDTLB6UIH_cjs.HookSystemImpl; }
1629
1631
  });
1630
1632
  Object.defineProperty(exports, "HookUtils", {
1631
1633
  enumerable: true,
1632
- get: function () { return chunkF5ESJXI2_cjs.HookUtils; }
1634
+ get: function () { return chunkDTLB6UIH_cjs.HookUtils; }
1633
1635
  });
1634
1636
  Object.defineProperty(exports, "PluginManagerClass", {
1635
1637
  enumerable: true,
1636
- get: function () { return chunkF5ESJXI2_cjs.PluginManager; }
1638
+ get: function () { return chunkDTLB6UIH_cjs.PluginManager; }
1637
1639
  });
1638
1640
  Object.defineProperty(exports, "PluginRegistryImpl", {
1639
1641
  enumerable: true,
1640
- get: function () { return chunkF5ESJXI2_cjs.PluginRegistryImpl; }
1642
+ get: function () { return chunkDTLB6UIH_cjs.PluginRegistryImpl; }
1641
1643
  });
1642
1644
  Object.defineProperty(exports, "PluginValidatorClass", {
1643
1645
  enumerable: true,
1644
- get: function () { return chunkF5ESJXI2_cjs.PluginValidator; }
1646
+ get: function () { return chunkDTLB6UIH_cjs.PluginValidator; }
1645
1647
  });
1646
1648
  Object.defineProperty(exports, "ScopedHookSystemClass", {
1647
1649
  enumerable: true,
1648
- get: function () { return chunkF5ESJXI2_cjs.ScopedHookSystem; }
1650
+ get: function () { return chunkDTLB6UIH_cjs.ScopedHookSystem; }
1649
1651
  });
1650
1652
  Object.defineProperty(exports, "QueryFilterBuilder", {
1651
1653
  enumerable: true,
1652
- get: function () { return chunkNNXPAPUD_cjs.QueryFilterBuilder; }
1654
+ get: function () { return chunkWFHLBYNA_cjs.QueryFilterBuilder; }
1653
1655
  });
1654
1656
  Object.defineProperty(exports, "SONICJS_VERSION", {
1655
1657
  enumerable: true,
1656
- get: function () { return chunkNNXPAPUD_cjs.SONICJS_VERSION; }
1658
+ get: function () { return chunkWFHLBYNA_cjs.SONICJS_VERSION; }
1657
1659
  });
1658
1660
  Object.defineProperty(exports, "TemplateRenderer", {
1659
1661
  enumerable: true,
1660
- get: function () { return chunkNNXPAPUD_cjs.TemplateRenderer; }
1662
+ get: function () { return chunkWFHLBYNA_cjs.TemplateRenderer; }
1661
1663
  });
1662
1664
  Object.defineProperty(exports, "buildQuery", {
1663
1665
  enumerable: true,
1664
- get: function () { return chunkNNXPAPUD_cjs.buildQuery; }
1666
+ get: function () { return chunkWFHLBYNA_cjs.buildQuery; }
1665
1667
  });
1666
1668
  Object.defineProperty(exports, "escapeHtml", {
1667
1669
  enumerable: true,
1668
- get: function () { return chunkNNXPAPUD_cjs.escapeHtml; }
1670
+ get: function () { return chunkWFHLBYNA_cjs.escapeHtml; }
1669
1671
  });
1670
1672
  Object.defineProperty(exports, "getCoreVersion", {
1671
1673
  enumerable: true,
1672
- get: function () { return chunkNNXPAPUD_cjs.getCoreVersion; }
1674
+ get: function () { return chunkWFHLBYNA_cjs.getCoreVersion; }
1673
1675
  });
1674
1676
  Object.defineProperty(exports, "renderTemplate", {
1675
1677
  enumerable: true,
1676
- get: function () { return chunkNNXPAPUD_cjs.renderTemplate; }
1678
+ get: function () { return chunkWFHLBYNA_cjs.renderTemplate; }
1677
1679
  });
1678
1680
  Object.defineProperty(exports, "sanitizeInput", {
1679
1681
  enumerable: true,
1680
- get: function () { return chunkNNXPAPUD_cjs.sanitizeInput; }
1682
+ get: function () { return chunkWFHLBYNA_cjs.sanitizeInput; }
1681
1683
  });
1682
1684
  Object.defineProperty(exports, "sanitizeObject", {
1683
1685
  enumerable: true,
1684
- get: function () { return chunkNNXPAPUD_cjs.sanitizeObject; }
1686
+ get: function () { return chunkWFHLBYNA_cjs.sanitizeObject; }
1685
1687
  });
1686
1688
  Object.defineProperty(exports, "templateRenderer", {
1687
1689
  enumerable: true,
1688
- get: function () { return chunkNNXPAPUD_cjs.templateRenderer; }
1690
+ get: function () { return chunkWFHLBYNA_cjs.templateRenderer; }
1689
1691
  });
1690
1692
  Object.defineProperty(exports, "metricsTracker", {
1691
1693
  enumerable: true,