@sonicjs-cms/core 2.3.14 → 2.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/{chunk-T4XRPNX2.js → chunk-4M2UOUXV.js} +8 -8
  2. package/dist/{chunk-T4XRPNX2.js.map → chunk-4M2UOUXV.js.map} +1 -1
  3. package/dist/{chunk-D4PJFFOV.cjs → chunk-5OLN5JO3.cjs} +90 -90
  4. package/dist/{chunk-D4PJFFOV.cjs.map → chunk-5OLN5JO3.cjs.map} +1 -1
  5. package/dist/{chunk-ETS5XSAG.cjs → chunk-63LV4YVI.cjs} +2 -2
  6. package/dist/{chunk-ETS5XSAG.cjs.map → chunk-63LV4YVI.cjs.map} +1 -1
  7. package/dist/{chunk-SKPETEM5.js → chunk-67SKO5RQ.js} +3 -3
  8. package/dist/{chunk-SKPETEM5.js.map → chunk-67SKO5RQ.js.map} +1 -1
  9. package/dist/{chunk-CAJOP354.js → chunk-72I2MOSH.js} +2 -2
  10. package/dist/{chunk-CAJOP354.js.map → chunk-72I2MOSH.js.map} +1 -1
  11. package/dist/{chunk-H34L445M.js → chunk-A27RBGBA.js} +3 -3
  12. package/dist/{chunk-H34L445M.js.map → chunk-A27RBGBA.js.map} +1 -1
  13. package/dist/{chunk-SZE3XVET.cjs → chunk-H2X4BFCW.cjs} +3 -3
  14. package/dist/{chunk-SZE3XVET.cjs.map → chunk-H2X4BFCW.cjs.map} +1 -1
  15. package/dist/{chunk-XWPGIFS7.cjs → chunk-QG3YQKL4.cjs} +4 -4
  16. package/dist/{chunk-XWPGIFS7.cjs.map → chunk-QG3YQKL4.cjs.map} +1 -1
  17. package/dist/index.cjs +108 -77
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +1 -1
  20. package/dist/index.d.ts +1 -1
  21. package/dist/index.js +38 -7
  22. package/dist/index.js.map +1 -1
  23. package/dist/middleware.cjs +23 -23
  24. package/dist/middleware.js +2 -2
  25. package/dist/migrations-H3Q5FZGZ.js +4 -0
  26. package/dist/{migrations-WF6VIVU2.js.map → migrations-H3Q5FZGZ.js.map} +1 -1
  27. package/dist/migrations-VN5VTX3C.cjs +13 -0
  28. package/dist/{migrations-3A53GREK.cjs.map → migrations-VN5VTX3C.cjs.map} +1 -1
  29. package/dist/{plugin-manifest-BCMx9CAq.d.cts → plugin-manifest-Dpy8wxIB.d.cts} +2 -2
  30. package/dist/{plugin-manifest-BCMx9CAq.d.ts → plugin-manifest-Dpy8wxIB.d.ts} +2 -2
  31. package/dist/routes.cjs +24 -24
  32. package/dist/routes.js +4 -4
  33. package/dist/services.cjs +2 -2
  34. package/dist/services.js +1 -1
  35. package/dist/types.d.cts +1 -1
  36. package/dist/types.d.ts +1 -1
  37. package/dist/utils.cjs +11 -11
  38. package/dist/utils.js +1 -1
  39. package/package.json +1 -1
  40. package/dist/migrations-3A53GREK.cjs +0 -13
  41. package/dist/migrations-WF6VIVU2.js +0 -4
package/dist/index.cjs CHANGED
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkD4PJFFOV_cjs = require('./chunk-D4PJFFOV.cjs');
3
+ var chunk5OLN5JO3_cjs = require('./chunk-5OLN5JO3.cjs');
4
4
  var chunk7FOAMNTI_cjs = require('./chunk-7FOAMNTI.cjs');
5
- var chunkXWPGIFS7_cjs = require('./chunk-XWPGIFS7.cjs');
5
+ var chunkQG3YQKL4_cjs = require('./chunk-QG3YQKL4.cjs');
6
6
  var chunkILZ3DP4I_cjs = require('./chunk-ILZ3DP4I.cjs');
7
- var chunkETS5XSAG_cjs = require('./chunk-ETS5XSAG.cjs');
7
+ var chunk63LV4YVI_cjs = require('./chunk-63LV4YVI.cjs');
8
8
  var chunkYIXSSJWD_cjs = require('./chunk-YIXSSJWD.cjs');
9
9
  var chunkAZLU3ROK_cjs = require('./chunk-AZLU3ROK.cjs');
10
10
  var chunkDTLB6UIH_cjs = require('./chunk-DTLB6UIH.cjs');
11
- var chunkSZE3XVET_cjs = require('./chunk-SZE3XVET.cjs');
11
+ var chunkH2X4BFCW_cjs = require('./chunk-H2X4BFCW.cjs');
12
12
  require('./chunk-P3XDZL6Q.cjs');
13
13
  var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
14
14
  var chunkKYGRJCZM_cjs = require('./chunk-KYGRJCZM.cjs');
@@ -557,7 +557,7 @@ function formatCellValue(value) {
557
557
  // src/plugins/core-plugins/database-tools-plugin/admin-routes.ts
558
558
  function createDatabaseToolsAdminRoutes() {
559
559
  const router2 = new hono.Hono();
560
- router2.use("*", chunkXWPGIFS7_cjs.requireAuth());
560
+ router2.use("*", chunkQG3YQKL4_cjs.requireAuth());
561
561
  router2.get("/api/stats", async (c) => {
562
562
  try {
563
563
  const user = c.get("user");
@@ -738,7 +738,7 @@ function createDatabaseToolsAdminRoutes() {
738
738
  return router2;
739
739
  }
740
740
  function createEmailPlugin() {
741
- const builder = chunkD4PJFFOV_cjs.PluginBuilder.create({
741
+ const builder = chunk5OLN5JO3_cjs.PluginBuilder.create({
742
742
  name: "email",
743
743
  version: "1.0.0-beta.1",
744
744
  description: "Send transactional emails using Resend"
@@ -1415,7 +1415,7 @@ var DEFAULT_SETTINGS = {
1415
1415
  appName: "SonicJS"
1416
1416
  };
1417
1417
  function createOTPLoginPlugin() {
1418
- const builder = chunkD4PJFFOV_cjs.PluginBuilder.create({
1418
+ const builder = chunk5OLN5JO3_cjs.PluginBuilder.create({
1419
1419
  name: "otp-login",
1420
1420
  version: "1.0.0-beta.1",
1421
1421
  description: "Passwordless authentication via email one-time codes"
@@ -1489,6 +1489,37 @@ function createOTPLoginPlugin() {
1489
1489
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
1490
1490
  appName: settings.appName
1491
1491
  });
1492
+ const emailPlugin2 = await db.prepare(`
1493
+ SELECT settings FROM plugins WHERE id = 'email' AND status = 'active'
1494
+ `).first();
1495
+ if (emailPlugin2?.settings) {
1496
+ const emailSettings = JSON.parse(emailPlugin2.settings);
1497
+ if (emailSettings.apiKey && emailSettings.fromEmail && emailSettings.fromName) {
1498
+ const emailResponse = await fetch("https://api.resend.com/emails", {
1499
+ method: "POST",
1500
+ headers: {
1501
+ "Authorization": `Bearer ${emailSettings.apiKey}`,
1502
+ "Content-Type": "application/json"
1503
+ },
1504
+ body: JSON.stringify({
1505
+ from: `${emailSettings.fromName} <${emailSettings.fromEmail}>`,
1506
+ to: [normalizedEmail],
1507
+ subject: `Your login code for ${settings.appName}`,
1508
+ html: emailContent.html,
1509
+ text: emailContent.text,
1510
+ reply_to: emailSettings.replyTo || emailSettings.fromEmail
1511
+ })
1512
+ });
1513
+ if (!emailResponse.ok) {
1514
+ const errorData = await emailResponse.json();
1515
+ console.error("Failed to send OTP email via Resend:", errorData);
1516
+ }
1517
+ } else {
1518
+ console.warn("Email plugin is not fully configured (missing apiKey, fromEmail, or fromName)");
1519
+ }
1520
+ } else {
1521
+ console.warn("Email plugin is not active or has no settings configured");
1522
+ }
1492
1523
  const response = {
1493
1524
  message: "If an account exists for this email, you will receive a verification code shortly.",
1494
1525
  expiresIn: settings.codeExpiryMinutes * 60
@@ -1942,12 +1973,12 @@ function createMagicLinkAuthPlugin() {
1942
1973
  SET used = 1, used_at = ?
1943
1974
  WHERE id = ?
1944
1975
  `).bind(Date.now(), magicLink.id).run();
1945
- const jwtToken = await chunkXWPGIFS7_cjs.AuthManager.generateToken(
1976
+ const jwtToken = await chunkQG3YQKL4_cjs.AuthManager.generateToken(
1946
1977
  user.id,
1947
1978
  user.email,
1948
1979
  user.role
1949
1980
  );
1950
- chunkXWPGIFS7_cjs.AuthManager.setAuthCookie(c, jwtToken);
1981
+ chunkQG3YQKL4_cjs.AuthManager.setAuthCookie(c, jwtToken);
1951
1982
  await db.prepare(`
1952
1983
  UPDATE users SET last_login_at = ? WHERE id = ?
1953
1984
  `).bind(Date.now(), user.id).run();
@@ -2095,14 +2126,14 @@ createMagicLinkAuthPlugin();
2095
2126
  // src/app.ts
2096
2127
  function createSonicJSApp(config = {}) {
2097
2128
  const app = new hono.Hono();
2098
- const appVersion = config.version || chunkSZE3XVET_cjs.getCoreVersion();
2129
+ const appVersion = config.version || chunkH2X4BFCW_cjs.getCoreVersion();
2099
2130
  const appName = config.name || "SonicJS AI";
2100
2131
  app.use("*", async (c, next) => {
2101
2132
  c.set("appVersion", appVersion);
2102
2133
  await next();
2103
2134
  });
2104
- app.use("*", chunkXWPGIFS7_cjs.metricsMiddleware());
2105
- app.use("*", chunkXWPGIFS7_cjs.bootstrapMiddleware(config));
2135
+ app.use("*", chunkQG3YQKL4_cjs.metricsMiddleware());
2136
+ app.use("*", chunkQG3YQKL4_cjs.bootstrapMiddleware(config));
2106
2137
  if (config.middleware?.beforeAuth) {
2107
2138
  for (const middleware of config.middleware.beforeAuth) {
2108
2139
  app.use("*", middleware);
@@ -2119,21 +2150,21 @@ function createSonicJSApp(config = {}) {
2119
2150
  app.use("*", middleware);
2120
2151
  }
2121
2152
  }
2122
- app.route("/api", chunkD4PJFFOV_cjs.api_default);
2123
- app.route("/api/media", chunkD4PJFFOV_cjs.api_media_default);
2124
- app.route("/api/system", chunkD4PJFFOV_cjs.api_system_default);
2125
- app.route("/admin/api", chunkD4PJFFOV_cjs.admin_api_default);
2126
- app.route("/admin/dashboard", chunkD4PJFFOV_cjs.router);
2127
- app.route("/admin/collections", chunkD4PJFFOV_cjs.adminCollectionsRoutes);
2128
- app.route("/admin/settings", chunkD4PJFFOV_cjs.adminSettingsRoutes);
2153
+ app.route("/api", chunk5OLN5JO3_cjs.api_default);
2154
+ app.route("/api/media", chunk5OLN5JO3_cjs.api_media_default);
2155
+ app.route("/api/system", chunk5OLN5JO3_cjs.api_system_default);
2156
+ app.route("/admin/api", chunk5OLN5JO3_cjs.admin_api_default);
2157
+ app.route("/admin/dashboard", chunk5OLN5JO3_cjs.router);
2158
+ app.route("/admin/collections", chunk5OLN5JO3_cjs.adminCollectionsRoutes);
2159
+ app.route("/admin/settings", chunk5OLN5JO3_cjs.adminSettingsRoutes);
2129
2160
  app.route("/admin/database-tools", createDatabaseToolsAdminRoutes());
2130
- app.route("/admin/content", chunkD4PJFFOV_cjs.admin_content_default);
2131
- app.route("/admin/media", chunkD4PJFFOV_cjs.adminMediaRoutes);
2132
- app.route("/admin/plugins", chunkD4PJFFOV_cjs.adminPluginRoutes);
2133
- app.route("/admin/logs", chunkD4PJFFOV_cjs.adminLogsRoutes);
2134
- app.route("/admin", chunkD4PJFFOV_cjs.userRoutes);
2135
- app.route("/auth", chunkD4PJFFOV_cjs.auth_default);
2136
- app.route("/", chunkD4PJFFOV_cjs.test_cleanup_default);
2161
+ app.route("/admin/content", chunk5OLN5JO3_cjs.admin_content_default);
2162
+ app.route("/admin/media", chunk5OLN5JO3_cjs.adminMediaRoutes);
2163
+ app.route("/admin/plugins", chunk5OLN5JO3_cjs.adminPluginRoutes);
2164
+ app.route("/admin/logs", chunk5OLN5JO3_cjs.adminLogsRoutes);
2165
+ app.route("/admin", chunk5OLN5JO3_cjs.userRoutes);
2166
+ app.route("/auth", chunk5OLN5JO3_cjs.auth_default);
2167
+ app.route("/", chunk5OLN5JO3_cjs.test_cleanup_default);
2137
2168
  if (emailPlugin.routes && emailPlugin.routes.length > 0) {
2138
2169
  for (const route of emailPlugin.routes) {
2139
2170
  app.route(route.path, route.handler);
@@ -2213,83 +2244,83 @@ function createDb(d1$1) {
2213
2244
  }
2214
2245
 
2215
2246
  // src/index.ts
2216
- var VERSION = chunkSZE3XVET_cjs.package_default.version;
2247
+ var VERSION = chunkH2X4BFCW_cjs.package_default.version;
2217
2248
 
2218
2249
  Object.defineProperty(exports, "ROUTES_INFO", {
2219
2250
  enumerable: true,
2220
- get: function () { return chunkD4PJFFOV_cjs.ROUTES_INFO; }
2251
+ get: function () { return chunk5OLN5JO3_cjs.ROUTES_INFO; }
2221
2252
  });
2222
2253
  Object.defineProperty(exports, "adminApiRoutes", {
2223
2254
  enumerable: true,
2224
- get: function () { return chunkD4PJFFOV_cjs.admin_api_default; }
2255
+ get: function () { return chunk5OLN5JO3_cjs.admin_api_default; }
2225
2256
  });
2226
2257
  Object.defineProperty(exports, "adminCheckboxRoutes", {
2227
2258
  enumerable: true,
2228
- get: function () { return chunkD4PJFFOV_cjs.adminCheckboxRoutes; }
2259
+ get: function () { return chunk5OLN5JO3_cjs.adminCheckboxRoutes; }
2229
2260
  });
2230
2261
  Object.defineProperty(exports, "adminCodeExamplesRoutes", {
2231
2262
  enumerable: true,
2232
- get: function () { return chunkD4PJFFOV_cjs.admin_code_examples_default; }
2263
+ get: function () { return chunk5OLN5JO3_cjs.admin_code_examples_default; }
2233
2264
  });
2234
2265
  Object.defineProperty(exports, "adminCollectionsRoutes", {
2235
2266
  enumerable: true,
2236
- get: function () { return chunkD4PJFFOV_cjs.adminCollectionsRoutes; }
2267
+ get: function () { return chunk5OLN5JO3_cjs.adminCollectionsRoutes; }
2237
2268
  });
2238
2269
  Object.defineProperty(exports, "adminContentRoutes", {
2239
2270
  enumerable: true,
2240
- get: function () { return chunkD4PJFFOV_cjs.admin_content_default; }
2271
+ get: function () { return chunk5OLN5JO3_cjs.admin_content_default; }
2241
2272
  });
2242
2273
  Object.defineProperty(exports, "adminDashboardRoutes", {
2243
2274
  enumerable: true,
2244
- get: function () { return chunkD4PJFFOV_cjs.router; }
2275
+ get: function () { return chunk5OLN5JO3_cjs.router; }
2245
2276
  });
2246
2277
  Object.defineProperty(exports, "adminDesignRoutes", {
2247
2278
  enumerable: true,
2248
- get: function () { return chunkD4PJFFOV_cjs.adminDesignRoutes; }
2279
+ get: function () { return chunk5OLN5JO3_cjs.adminDesignRoutes; }
2249
2280
  });
2250
2281
  Object.defineProperty(exports, "adminLogsRoutes", {
2251
2282
  enumerable: true,
2252
- get: function () { return chunkD4PJFFOV_cjs.adminLogsRoutes; }
2283
+ get: function () { return chunk5OLN5JO3_cjs.adminLogsRoutes; }
2253
2284
  });
2254
2285
  Object.defineProperty(exports, "adminMediaRoutes", {
2255
2286
  enumerable: true,
2256
- get: function () { return chunkD4PJFFOV_cjs.adminMediaRoutes; }
2287
+ get: function () { return chunk5OLN5JO3_cjs.adminMediaRoutes; }
2257
2288
  });
2258
2289
  Object.defineProperty(exports, "adminPluginRoutes", {
2259
2290
  enumerable: true,
2260
- get: function () { return chunkD4PJFFOV_cjs.adminPluginRoutes; }
2291
+ get: function () { return chunk5OLN5JO3_cjs.adminPluginRoutes; }
2261
2292
  });
2262
2293
  Object.defineProperty(exports, "adminSettingsRoutes", {
2263
2294
  enumerable: true,
2264
- get: function () { return chunkD4PJFFOV_cjs.adminSettingsRoutes; }
2295
+ get: function () { return chunk5OLN5JO3_cjs.adminSettingsRoutes; }
2265
2296
  });
2266
2297
  Object.defineProperty(exports, "adminTestimonialsRoutes", {
2267
2298
  enumerable: true,
2268
- get: function () { return chunkD4PJFFOV_cjs.admin_testimonials_default; }
2299
+ get: function () { return chunk5OLN5JO3_cjs.admin_testimonials_default; }
2269
2300
  });
2270
2301
  Object.defineProperty(exports, "adminUsersRoutes", {
2271
2302
  enumerable: true,
2272
- get: function () { return chunkD4PJFFOV_cjs.userRoutes; }
2303
+ get: function () { return chunk5OLN5JO3_cjs.userRoutes; }
2273
2304
  });
2274
2305
  Object.defineProperty(exports, "apiContentCrudRoutes", {
2275
2306
  enumerable: true,
2276
- get: function () { return chunkD4PJFFOV_cjs.api_content_crud_default; }
2307
+ get: function () { return chunk5OLN5JO3_cjs.api_content_crud_default; }
2277
2308
  });
2278
2309
  Object.defineProperty(exports, "apiMediaRoutes", {
2279
2310
  enumerable: true,
2280
- get: function () { return chunkD4PJFFOV_cjs.api_media_default; }
2311
+ get: function () { return chunk5OLN5JO3_cjs.api_media_default; }
2281
2312
  });
2282
2313
  Object.defineProperty(exports, "apiRoutes", {
2283
2314
  enumerable: true,
2284
- get: function () { return chunkD4PJFFOV_cjs.api_default; }
2315
+ get: function () { return chunk5OLN5JO3_cjs.api_default; }
2285
2316
  });
2286
2317
  Object.defineProperty(exports, "apiSystemRoutes", {
2287
2318
  enumerable: true,
2288
- get: function () { return chunkD4PJFFOV_cjs.api_system_default; }
2319
+ get: function () { return chunk5OLN5JO3_cjs.api_system_default; }
2289
2320
  });
2290
2321
  Object.defineProperty(exports, "authRoutes", {
2291
2322
  enumerable: true,
2292
- get: function () { return chunkD4PJFFOV_cjs.auth_default; }
2323
+ get: function () { return chunk5OLN5JO3_cjs.auth_default; }
2293
2324
  });
2294
2325
  Object.defineProperty(exports, "Logger", {
2295
2326
  enumerable: true,
@@ -2457,83 +2488,83 @@ Object.defineProperty(exports, "workflowHistory", {
2457
2488
  });
2458
2489
  Object.defineProperty(exports, "AuthManager", {
2459
2490
  enumerable: true,
2460
- get: function () { return chunkXWPGIFS7_cjs.AuthManager; }
2491
+ get: function () { return chunkQG3YQKL4_cjs.AuthManager; }
2461
2492
  });
2462
2493
  Object.defineProperty(exports, "PermissionManager", {
2463
2494
  enumerable: true,
2464
- get: function () { return chunkXWPGIFS7_cjs.PermissionManager; }
2495
+ get: function () { return chunkQG3YQKL4_cjs.PermissionManager; }
2465
2496
  });
2466
2497
  Object.defineProperty(exports, "bootstrapMiddleware", {
2467
2498
  enumerable: true,
2468
- get: function () { return chunkXWPGIFS7_cjs.bootstrapMiddleware; }
2499
+ get: function () { return chunkQG3YQKL4_cjs.bootstrapMiddleware; }
2469
2500
  });
2470
2501
  Object.defineProperty(exports, "cacheHeaders", {
2471
2502
  enumerable: true,
2472
- get: function () { return chunkXWPGIFS7_cjs.cacheHeaders; }
2503
+ get: function () { return chunkQG3YQKL4_cjs.cacheHeaders; }
2473
2504
  });
2474
2505
  Object.defineProperty(exports, "compressionMiddleware", {
2475
2506
  enumerable: true,
2476
- get: function () { return chunkXWPGIFS7_cjs.compressionMiddleware; }
2507
+ get: function () { return chunkQG3YQKL4_cjs.compressionMiddleware; }
2477
2508
  });
2478
2509
  Object.defineProperty(exports, "detailedLoggingMiddleware", {
2479
2510
  enumerable: true,
2480
- get: function () { return chunkXWPGIFS7_cjs.detailedLoggingMiddleware; }
2511
+ get: function () { return chunkQG3YQKL4_cjs.detailedLoggingMiddleware; }
2481
2512
  });
2482
2513
  Object.defineProperty(exports, "getActivePlugins", {
2483
2514
  enumerable: true,
2484
- get: function () { return chunkXWPGIFS7_cjs.getActivePlugins; }
2515
+ get: function () { return chunkQG3YQKL4_cjs.getActivePlugins; }
2485
2516
  });
2486
2517
  Object.defineProperty(exports, "isPluginActive", {
2487
2518
  enumerable: true,
2488
- get: function () { return chunkXWPGIFS7_cjs.isPluginActive; }
2519
+ get: function () { return chunkQG3YQKL4_cjs.isPluginActive; }
2489
2520
  });
2490
2521
  Object.defineProperty(exports, "logActivity", {
2491
2522
  enumerable: true,
2492
- get: function () { return chunkXWPGIFS7_cjs.logActivity; }
2523
+ get: function () { return chunkQG3YQKL4_cjs.logActivity; }
2493
2524
  });
2494
2525
  Object.defineProperty(exports, "loggingMiddleware", {
2495
2526
  enumerable: true,
2496
- get: function () { return chunkXWPGIFS7_cjs.loggingMiddleware; }
2527
+ get: function () { return chunkQG3YQKL4_cjs.loggingMiddleware; }
2497
2528
  });
2498
2529
  Object.defineProperty(exports, "optionalAuth", {
2499
2530
  enumerable: true,
2500
- get: function () { return chunkXWPGIFS7_cjs.optionalAuth; }
2531
+ get: function () { return chunkQG3YQKL4_cjs.optionalAuth; }
2501
2532
  });
2502
2533
  Object.defineProperty(exports, "performanceLoggingMiddleware", {
2503
2534
  enumerable: true,
2504
- get: function () { return chunkXWPGIFS7_cjs.performanceLoggingMiddleware; }
2535
+ get: function () { return chunkQG3YQKL4_cjs.performanceLoggingMiddleware; }
2505
2536
  });
2506
2537
  Object.defineProperty(exports, "requireActivePlugin", {
2507
2538
  enumerable: true,
2508
- get: function () { return chunkXWPGIFS7_cjs.requireActivePlugin; }
2539
+ get: function () { return chunkQG3YQKL4_cjs.requireActivePlugin; }
2509
2540
  });
2510
2541
  Object.defineProperty(exports, "requireActivePlugins", {
2511
2542
  enumerable: true,
2512
- get: function () { return chunkXWPGIFS7_cjs.requireActivePlugins; }
2543
+ get: function () { return chunkQG3YQKL4_cjs.requireActivePlugins; }
2513
2544
  });
2514
2545
  Object.defineProperty(exports, "requireAnyPermission", {
2515
2546
  enumerable: true,
2516
- get: function () { return chunkXWPGIFS7_cjs.requireAnyPermission; }
2547
+ get: function () { return chunkQG3YQKL4_cjs.requireAnyPermission; }
2517
2548
  });
2518
2549
  Object.defineProperty(exports, "requireAuth", {
2519
2550
  enumerable: true,
2520
- get: function () { return chunkXWPGIFS7_cjs.requireAuth; }
2551
+ get: function () { return chunkQG3YQKL4_cjs.requireAuth; }
2521
2552
  });
2522
2553
  Object.defineProperty(exports, "requirePermission", {
2523
2554
  enumerable: true,
2524
- get: function () { return chunkXWPGIFS7_cjs.requirePermission; }
2555
+ get: function () { return chunkQG3YQKL4_cjs.requirePermission; }
2525
2556
  });
2526
2557
  Object.defineProperty(exports, "requireRole", {
2527
2558
  enumerable: true,
2528
- get: function () { return chunkXWPGIFS7_cjs.requireRole; }
2559
+ get: function () { return chunkQG3YQKL4_cjs.requireRole; }
2529
2560
  });
2530
2561
  Object.defineProperty(exports, "securityHeaders", {
2531
2562
  enumerable: true,
2532
- get: function () { return chunkXWPGIFS7_cjs.securityHeaders; }
2563
+ get: function () { return chunkQG3YQKL4_cjs.securityHeaders; }
2533
2564
  });
2534
2565
  Object.defineProperty(exports, "securityLoggingMiddleware", {
2535
2566
  enumerable: true,
2536
- get: function () { return chunkXWPGIFS7_cjs.securityLoggingMiddleware; }
2567
+ get: function () { return chunkQG3YQKL4_cjs.securityLoggingMiddleware; }
2537
2568
  });
2538
2569
  Object.defineProperty(exports, "PluginBootstrapService", {
2539
2570
  enumerable: true,
@@ -2589,7 +2620,7 @@ Object.defineProperty(exports, "validateCollectionConfig", {
2589
2620
  });
2590
2621
  Object.defineProperty(exports, "MigrationService", {
2591
2622
  enumerable: true,
2592
- get: function () { return chunkETS5XSAG_cjs.MigrationService; }
2623
+ get: function () { return chunk63LV4YVI_cjs.MigrationService; }
2593
2624
  });
2594
2625
  Object.defineProperty(exports, "renderFilterBar", {
2595
2626
  enumerable: true,
@@ -2649,43 +2680,43 @@ Object.defineProperty(exports, "ScopedHookSystemClass", {
2649
2680
  });
2650
2681
  Object.defineProperty(exports, "QueryFilterBuilder", {
2651
2682
  enumerable: true,
2652
- get: function () { return chunkSZE3XVET_cjs.QueryFilterBuilder; }
2683
+ get: function () { return chunkH2X4BFCW_cjs.QueryFilterBuilder; }
2653
2684
  });
2654
2685
  Object.defineProperty(exports, "SONICJS_VERSION", {
2655
2686
  enumerable: true,
2656
- get: function () { return chunkSZE3XVET_cjs.SONICJS_VERSION; }
2687
+ get: function () { return chunkH2X4BFCW_cjs.SONICJS_VERSION; }
2657
2688
  });
2658
2689
  Object.defineProperty(exports, "TemplateRenderer", {
2659
2690
  enumerable: true,
2660
- get: function () { return chunkSZE3XVET_cjs.TemplateRenderer; }
2691
+ get: function () { return chunkH2X4BFCW_cjs.TemplateRenderer; }
2661
2692
  });
2662
2693
  Object.defineProperty(exports, "buildQuery", {
2663
2694
  enumerable: true,
2664
- get: function () { return chunkSZE3XVET_cjs.buildQuery; }
2695
+ get: function () { return chunkH2X4BFCW_cjs.buildQuery; }
2665
2696
  });
2666
2697
  Object.defineProperty(exports, "escapeHtml", {
2667
2698
  enumerable: true,
2668
- get: function () { return chunkSZE3XVET_cjs.escapeHtml; }
2699
+ get: function () { return chunkH2X4BFCW_cjs.escapeHtml; }
2669
2700
  });
2670
2701
  Object.defineProperty(exports, "getCoreVersion", {
2671
2702
  enumerable: true,
2672
- get: function () { return chunkSZE3XVET_cjs.getCoreVersion; }
2703
+ get: function () { return chunkH2X4BFCW_cjs.getCoreVersion; }
2673
2704
  });
2674
2705
  Object.defineProperty(exports, "renderTemplate", {
2675
2706
  enumerable: true,
2676
- get: function () { return chunkSZE3XVET_cjs.renderTemplate; }
2707
+ get: function () { return chunkH2X4BFCW_cjs.renderTemplate; }
2677
2708
  });
2678
2709
  Object.defineProperty(exports, "sanitizeInput", {
2679
2710
  enumerable: true,
2680
- get: function () { return chunkSZE3XVET_cjs.sanitizeInput; }
2711
+ get: function () { return chunkH2X4BFCW_cjs.sanitizeInput; }
2681
2712
  });
2682
2713
  Object.defineProperty(exports, "sanitizeObject", {
2683
2714
  enumerable: true,
2684
- get: function () { return chunkSZE3XVET_cjs.sanitizeObject; }
2715
+ get: function () { return chunkH2X4BFCW_cjs.sanitizeObject; }
2685
2716
  });
2686
2717
  Object.defineProperty(exports, "templateRenderer", {
2687
2718
  enumerable: true,
2688
- get: function () { return chunkSZE3XVET_cjs.templateRenderer; }
2719
+ get: function () { return chunkH2X4BFCW_cjs.templateRenderer; }
2689
2720
  });
2690
2721
  Object.defineProperty(exports, "metricsTracker", {
2691
2722
  enumerable: true,