@sonicjs-cms/core 2.18.0 → 2.18.1

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-OWJPOVFW.js → chunk-4R3NOOL3.js} +2 -2
  2. package/dist/{chunk-OWJPOVFW.js.map → chunk-4R3NOOL3.js.map} +1 -1
  3. package/dist/{chunk-DAESIIWY.cjs → chunk-C54YUA23.cjs} +2 -2
  4. package/dist/{chunk-DAESIIWY.cjs.map → chunk-C54YUA23.cjs.map} +1 -1
  5. package/dist/{chunk-3XP76LM7.cjs → chunk-DSUJ5YQH.cjs} +8 -8
  6. package/dist/{chunk-3XP76LM7.cjs.map → chunk-DSUJ5YQH.cjs.map} +1 -1
  7. package/dist/{chunk-YK5IEGQZ.js → chunk-EW5NOBVU.js} +2 -2
  8. package/dist/{chunk-YK5IEGQZ.js.map → chunk-EW5NOBVU.js.map} +1 -1
  9. package/dist/{chunk-GH3HYA7D.js → chunk-I2H5NGJQ.js} +4 -4
  10. package/dist/{chunk-GH3HYA7D.js.map → chunk-I2H5NGJQ.js.map} +1 -1
  11. package/dist/{chunk-NDS4S4AG.js → chunk-MGFRZO24.js} +3 -3
  12. package/dist/{chunk-NDS4S4AG.js.map → chunk-MGFRZO24.js.map} +1 -1
  13. package/dist/{chunk-74BFRAQS.cjs → chunk-SQ6FNXU2.cjs} +3 -3
  14. package/dist/{chunk-74BFRAQS.cjs.map → chunk-SQ6FNXU2.cjs.map} +1 -1
  15. package/dist/{chunk-LTJ7P7RT.cjs → chunk-SXXTQETM.cjs} +126 -124
  16. package/dist/chunk-SXXTQETM.cjs.map +1 -0
  17. package/dist/{chunk-56PLLVDG.cjs → chunk-T3Q5V33G.cjs} +2 -2
  18. package/dist/{chunk-56PLLVDG.cjs.map → chunk-T3Q5V33G.cjs.map} +1 -1
  19. package/dist/{chunk-RYRNZYND.js → chunk-XXDFQERJ.js} +12 -11
  20. package/dist/chunk-XXDFQERJ.js.map +1 -0
  21. package/dist/index.cjs +155 -145
  22. package/dist/index.cjs.map +1 -1
  23. package/dist/index.js +24 -14
  24. package/dist/index.js.map +1 -1
  25. package/dist/middleware.cjs +32 -32
  26. package/dist/middleware.js +3 -3
  27. package/dist/migrations-IYNTWDC6.cjs +13 -0
  28. package/dist/{migrations-CW2IT5YP.cjs.map → migrations-IYNTWDC6.cjs.map} +1 -1
  29. package/dist/migrations-R337UD46.js +4 -0
  30. package/dist/{migrations-S42BOXI4.js.map → migrations-R337UD46.js.map} +1 -1
  31. package/dist/routes.cjs +28 -28
  32. package/dist/routes.js +5 -5
  33. package/dist/services.cjs +23 -23
  34. package/dist/services.js +2 -2
  35. package/dist/utils.cjs +11 -11
  36. package/dist/utils.js +1 -1
  37. package/package.json +1 -1
  38. package/dist/chunk-LTJ7P7RT.cjs.map +0 -1
  39. package/dist/chunk-RYRNZYND.js.map +0 -1
  40. package/dist/migrations-CW2IT5YP.cjs +0 -13
  41. package/dist/migrations-S42BOXI4.js +0 -4
package/dist/index.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkLTJ7P7RT_cjs = require('./chunk-LTJ7P7RT.cjs');
3
+ var chunkSXXTQETM_cjs = require('./chunk-SXXTQETM.cjs');
4
4
  var chunkWAEQXGCX_cjs = require('./chunk-WAEQXGCX.cjs');
5
- var chunk3XP76LM7_cjs = require('./chunk-3XP76LM7.cjs');
6
- var chunk56PLLVDG_cjs = require('./chunk-56PLLVDG.cjs');
7
- var chunkDAESIIWY_cjs = require('./chunk-DAESIIWY.cjs');
5
+ var chunkDSUJ5YQH_cjs = require('./chunk-DSUJ5YQH.cjs');
6
+ var chunkT3Q5V33G_cjs = require('./chunk-T3Q5V33G.cjs');
7
+ var chunkC54YUA23_cjs = require('./chunk-C54YUA23.cjs');
8
8
  var chunk4ZSNJDLS_cjs = require('./chunk-4ZSNJDLS.cjs');
9
9
  var chunkOHYBNCVL_cjs = require('./chunk-OHYBNCVL.cjs');
10
10
  var chunkUYJ6TJHX_cjs = require('./chunk-UYJ6TJHX.cjs');
11
11
  var chunkABB34XUS_cjs = require('./chunk-ABB34XUS.cjs');
12
12
  var chunk635JAMSE_cjs = require('./chunk-635JAMSE.cjs');
13
- var chunk74BFRAQS_cjs = require('./chunk-74BFRAQS.cjs');
13
+ var chunkSQ6FNXU2_cjs = require('./chunk-SQ6FNXU2.cjs');
14
14
  require('./chunk-P3XDZL6Q.cjs');
15
15
  var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
16
16
  var chunkMNWKYY5E_cjs = require('./chunk-MNWKYY5E.cjs');
@@ -560,7 +560,7 @@ function formatCellValue(value) {
560
560
  // src/plugins/core-plugins/database-tools-plugin/admin-routes.ts
561
561
  function createDatabaseToolsAdminRoutes() {
562
562
  const router3 = new hono.Hono();
563
- router3.use("*", chunk3XP76LM7_cjs.requireAuth());
563
+ router3.use("*", chunkDSUJ5YQH_cjs.requireAuth());
564
564
  router3.get("/api/stats", async (c) => {
565
565
  try {
566
566
  const user = c.get("user");
@@ -1956,7 +1956,7 @@ function createOTPLoginPlugin() {
1956
1956
  }, 401);
1957
1957
  }
1958
1958
  let user = await db.prepare(`
1959
- SELECT id, email, role, is_active
1959
+ SELECT id, email, username, first_name, last_name, role, is_active, created_at
1960
1960
  FROM users
1961
1961
  WHERE email = ?
1962
1962
  `).bind(normalizedEmail).first();
@@ -1970,7 +1970,16 @@ function createOTPLoginPlugin() {
1970
1970
  password_hash, role, is_active, email_verified, created_at, updated_at
1971
1971
  ) VALUES (?, ?, ?, '', '', NULL, 'viewer', 1, 1, ?, ?)
1972
1972
  `).bind(userId, normalizedEmail, username, now, now).run();
1973
- user = { id: userId, email: normalizedEmail, role: "viewer", is_active: 1 };
1973
+ user = {
1974
+ id: userId,
1975
+ email: normalizedEmail,
1976
+ username,
1977
+ first_name: "",
1978
+ last_name: "",
1979
+ role: "viewer",
1980
+ is_active: 1,
1981
+ created_at: now
1982
+ };
1974
1983
  }
1975
1984
  if (!user) {
1976
1985
  return c.json({
@@ -1982,20 +1991,21 @@ function createOTPLoginPlugin() {
1982
1991
  error: "Account is deactivated"
1983
1992
  }, 403);
1984
1993
  }
1985
- const tokenTtl = await chunk3XP76LM7_cjs.getJwtExpirySecondsFromDb(db, c.env);
1986
- const token = await chunk3XP76LM7_cjs.AuthManager.generateToken(user.id, user.email, user.role, c.env.JWT_SECRET, tokenTtl);
1994
+ const tokenTtl = await chunkDSUJ5YQH_cjs.getJwtExpirySecondsFromDb(db, c.env);
1995
+ const token = await chunkDSUJ5YQH_cjs.AuthManager.generateToken(user.id, user.email, user.role, c.env.JWT_SECRET, tokenTtl);
1987
1996
  cookie.setCookie(c, "auth_token", token, {
1988
1997
  httpOnly: true,
1989
1998
  secure: true,
1990
1999
  sameSite: "Strict",
1991
2000
  maxAge: tokenTtl
1992
2001
  });
2002
+ const customData = await chunkSXXTQETM_cjs.getCustomData(db, user.id);
2003
+ const { is_active, ...publicUser } = user;
1993
2004
  return c.json({
1994
2005
  success: true,
1995
2006
  user: {
1996
- id: user.id,
1997
- email: user.email,
1998
- role: user.role
2007
+ ...publicUser,
2008
+ ...customData
1999
2009
  },
2000
2010
  token,
2001
2011
  message: "Authentication successful"
@@ -2452,15 +2462,15 @@ function createOAuthProvidersPlugin() {
2452
2462
  if (!user || !user.is_active) {
2453
2463
  return c.redirect("/auth/login?error=Account is deactivated");
2454
2464
  }
2455
- const tokenTtl2 = await chunk3XP76LM7_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2456
- const jwt2 = await chunk3XP76LM7_cjs.AuthManager.generateToken(
2465
+ const tokenTtl2 = await chunkDSUJ5YQH_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2466
+ const jwt2 = await chunkDSUJ5YQH_cjs.AuthManager.generateToken(
2457
2467
  user.id,
2458
2468
  user.email,
2459
2469
  user.role,
2460
2470
  c.env.JWT_SECRET,
2461
2471
  tokenTtl2
2462
2472
  );
2463
- chunk3XP76LM7_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
2473
+ chunkDSUJ5YQH_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
2464
2474
  return c.redirect("/admin");
2465
2475
  }
2466
2476
  const existingUser = await oauthService.findUserByEmail(profile.email);
@@ -2477,15 +2487,15 @@ function createOAuthProvidersPlugin() {
2477
2487
  tokenExpiresAt: tokenExpiresAt ?? void 0,
2478
2488
  profileData: JSON.stringify(profile)
2479
2489
  });
2480
- const tokenTtl2 = await chunk3XP76LM7_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2481
- const jwt2 = await chunk3XP76LM7_cjs.AuthManager.generateToken(
2490
+ const tokenTtl2 = await chunkDSUJ5YQH_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2491
+ const jwt2 = await chunkDSUJ5YQH_cjs.AuthManager.generateToken(
2482
2492
  existingUser.id,
2483
2493
  existingUser.email,
2484
2494
  existingUser.role,
2485
2495
  c.env.JWT_SECRET,
2486
2496
  tokenTtl2
2487
2497
  );
2488
- chunk3XP76LM7_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
2498
+ chunkDSUJ5YQH_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
2489
2499
  return c.redirect("/admin");
2490
2500
  }
2491
2501
  const newUserId = await oauthService.createUserFromOAuth(profile);
@@ -2498,15 +2508,15 @@ function createOAuthProvidersPlugin() {
2498
2508
  tokenExpiresAt: tokenExpiresAt ?? void 0,
2499
2509
  profileData: JSON.stringify(profile)
2500
2510
  });
2501
- const tokenTtl = await chunk3XP76LM7_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2502
- const jwt = await chunk3XP76LM7_cjs.AuthManager.generateToken(
2511
+ const tokenTtl = await chunkDSUJ5YQH_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
2512
+ const jwt = await chunkDSUJ5YQH_cjs.AuthManager.generateToken(
2503
2513
  newUserId,
2504
2514
  profile.email.toLowerCase(),
2505
2515
  "viewer",
2506
2516
  c.env.JWT_SECRET,
2507
2517
  tokenTtl
2508
2518
  );
2509
- chunk3XP76LM7_cjs.AuthManager.setAuthCookie(c, jwt, { sameSite: "Lax", maxAge: tokenTtl });
2519
+ chunkDSUJ5YQH_cjs.AuthManager.setAuthCookie(c, jwt, { sameSite: "Lax", maxAge: tokenTtl });
2510
2520
  return c.redirect("/admin");
2511
2521
  } catch (error) {
2512
2522
  console.error("OAuth callback error:", error);
@@ -4199,7 +4209,7 @@ function renderSettingsPage(data) {
4199
4209
 
4200
4210
  // src/plugins/core-plugins/ai-search-plugin/routes/admin.ts
4201
4211
  var adminRoutes = new hono.Hono();
4202
- adminRoutes.use("*", chunk3XP76LM7_cjs.requireAuth());
4212
+ adminRoutes.use("*", chunkDSUJ5YQH_cjs.requireAuth());
4203
4213
  adminRoutes.get("/", async (c) => {
4204
4214
  try {
4205
4215
  const user = c.get("user");
@@ -4600,15 +4610,15 @@ function createMagicLinkAuthPlugin() {
4600
4610
  SET used = 1, used_at = ?
4601
4611
  WHERE id = ?
4602
4612
  `).bind(Date.now(), magicLink.id).run();
4603
- const tokenTtl = await chunk3XP76LM7_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
4604
- const jwtToken = await chunk3XP76LM7_cjs.AuthManager.generateToken(
4613
+ const tokenTtl = await chunkDSUJ5YQH_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
4614
+ const jwtToken = await chunkDSUJ5YQH_cjs.AuthManager.generateToken(
4605
4615
  user.id,
4606
4616
  user.email,
4607
4617
  user.role,
4608
4618
  c.env.JWT_SECRET,
4609
4619
  tokenTtl
4610
4620
  );
4611
- chunk3XP76LM7_cjs.AuthManager.setAuthCookie(c, jwtToken, { maxAge: tokenTtl });
4621
+ chunkDSUJ5YQH_cjs.AuthManager.setAuthCookie(c, jwtToken, { maxAge: tokenTtl });
4612
4622
  await db.prepare(`
4613
4623
  UPDATE users SET last_login_at = ? WHERE id = ?
4614
4624
  `).bind(Date.now(), user.id).run();
@@ -5618,7 +5628,7 @@ function renderSecuritySettingsPage(data) {
5618
5628
 
5619
5629
  // src/plugins/core-plugins/security-audit-plugin/routes/admin.ts
5620
5630
  var adminRoutes2 = new hono.Hono();
5621
- adminRoutes2.use("*", chunk3XP76LM7_cjs.requireAuth());
5631
+ adminRoutes2.use("*", chunkDSUJ5YQH_cjs.requireAuth());
5622
5632
  adminRoutes2.use("*", async (c, next) => {
5623
5633
  const user = c.get("user");
5624
5634
  if (user?.role !== "admin") {
@@ -5628,7 +5638,7 @@ adminRoutes2.use("*", async (c, next) => {
5628
5638
  });
5629
5639
  async function getSettings(db) {
5630
5640
  try {
5631
- const pluginService = new chunk56PLLVDG_cjs.PluginService(db);
5641
+ const pluginService = new chunkT3Q5V33G_cjs.PluginService(db);
5632
5642
  const plugin2 = await pluginService.getPlugin("security-audit");
5633
5643
  if (plugin2?.settings) {
5634
5644
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -5733,7 +5743,7 @@ adminRoutes2.post("/settings", async (c) => {
5733
5743
  autoPurge: body["retention.autoPurge"] === "true"
5734
5744
  }
5735
5745
  };
5736
- const pluginService = new chunk56PLLVDG_cjs.PluginService(db);
5746
+ const pluginService = new chunkT3Q5V33G_cjs.PluginService(db);
5737
5747
  await pluginService.updatePluginSettings("security-audit", settings);
5738
5748
  if (c.req.header("HX-Request")) {
5739
5749
  return c.json({ success: true });
@@ -5894,7 +5904,7 @@ var BruteForceDetector = class {
5894
5904
 
5895
5905
  // src/plugins/core-plugins/security-audit-plugin/routes/api.ts
5896
5906
  var apiRoutes2 = new hono.Hono();
5897
- apiRoutes2.use("*", chunk3XP76LM7_cjs.requireAuth());
5907
+ apiRoutes2.use("*", chunkDSUJ5YQH_cjs.requireAuth());
5898
5908
  apiRoutes2.use("*", async (c, next) => {
5899
5909
  const user = c.get("user");
5900
5910
  if (user?.role !== "admin") {
@@ -5904,7 +5914,7 @@ apiRoutes2.use("*", async (c, next) => {
5904
5914
  });
5905
5915
  async function getSettings2(db) {
5906
5916
  try {
5907
- const pluginService = new chunk56PLLVDG_cjs.PluginService(db);
5917
+ const pluginService = new chunkT3Q5V33G_cjs.PluginService(db);
5908
5918
  const plugin2 = await pluginService.getPlugin("security-audit");
5909
5919
  if (plugin2?.settings) {
5910
5920
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -6052,7 +6062,7 @@ function generateFingerprint(ip, userAgent) {
6052
6062
  }
6053
6063
  async function getPluginSettings(db) {
6054
6064
  try {
6055
- const pluginService = new chunk56PLLVDG_cjs.PluginService(db);
6065
+ const pluginService = new chunkT3Q5V33G_cjs.PluginService(db);
6056
6066
  const plugin2 = await pluginService.getPlugin("security-audit");
6057
6067
  if (plugin2?.settings) {
6058
6068
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -7062,7 +7072,7 @@ var DEFAULT_SETTINGS3 = {
7062
7072
 
7063
7073
  // src/plugins/core-plugins/stripe-plugin/routes/admin.ts
7064
7074
  var adminRoutes3 = new hono.Hono();
7065
- adminRoutes3.use("*", chunk3XP76LM7_cjs.requireAuth());
7075
+ adminRoutes3.use("*", chunkDSUJ5YQH_cjs.requireAuth());
7066
7076
  adminRoutes3.use("*", async (c, next) => {
7067
7077
  const user = c.get("user");
7068
7078
  if (user?.role !== "admin") {
@@ -7072,7 +7082,7 @@ adminRoutes3.use("*", async (c, next) => {
7072
7082
  });
7073
7083
  async function getSettings3(db) {
7074
7084
  try {
7075
- const pluginService = new chunk56PLLVDG_cjs.PluginService(db);
7085
+ const pluginService = new chunkT3Q5V33G_cjs.PluginService(db);
7076
7086
  const plugin2 = await pluginService.getPlugin("stripe");
7077
7087
  if (plugin2?.settings) {
7078
7088
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -7394,7 +7404,7 @@ function timingSafeEqual(a, b) {
7394
7404
  var apiRoutes3 = new hono.Hono();
7395
7405
  async function getSettings4(db) {
7396
7406
  try {
7397
- const pluginService = new chunk56PLLVDG_cjs.PluginService(db);
7407
+ const pluginService = new chunkT3Q5V33G_cjs.PluginService(db);
7398
7408
  const plugin2 = await pluginService.getPlugin("stripe");
7399
7409
  if (plugin2?.settings) {
7400
7410
  const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
@@ -7545,7 +7555,7 @@ apiRoutes3.post("/webhook", async (c) => {
7545
7555
  }
7546
7556
  return c.json({ received: true });
7547
7557
  });
7548
- apiRoutes3.post("/create-checkout-session", chunk3XP76LM7_cjs.requireAuth(), async (c) => {
7558
+ apiRoutes3.post("/create-checkout-session", chunkDSUJ5YQH_cjs.requireAuth(), async (c) => {
7549
7559
  const db = c.env.DB;
7550
7560
  const user = c.get("user");
7551
7561
  if (!user) return c.json({ error: "Unauthorized" }, 401);
@@ -7585,7 +7595,7 @@ apiRoutes3.post("/create-checkout-session", chunk3XP76LM7_cjs.requireAuth(), asy
7585
7595
  });
7586
7596
  return c.json({ sessionId: session.id, url: session.url });
7587
7597
  });
7588
- apiRoutes3.get("/subscription", chunk3XP76LM7_cjs.requireAuth(), async (c) => {
7598
+ apiRoutes3.get("/subscription", chunkDSUJ5YQH_cjs.requireAuth(), async (c) => {
7589
7599
  const user = c.get("user");
7590
7600
  if (!user) return c.json({ error: "Unauthorized" }, 401);
7591
7601
  const db = c.env.DB;
@@ -7597,7 +7607,7 @@ apiRoutes3.get("/subscription", chunk3XP76LM7_cjs.requireAuth(), async (c) => {
7597
7607
  }
7598
7608
  return c.json({ subscription });
7599
7609
  });
7600
- apiRoutes3.get("/subscriptions", chunk3XP76LM7_cjs.requireAuth(), async (c) => {
7610
+ apiRoutes3.get("/subscriptions", chunkDSUJ5YQH_cjs.requireAuth(), async (c) => {
7601
7611
  const user = c.get("user");
7602
7612
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7603
7613
  const db = c.env.DB;
@@ -7613,7 +7623,7 @@ apiRoutes3.get("/subscriptions", chunk3XP76LM7_cjs.requireAuth(), async (c) => {
7613
7623
  const result = await subscriptionService.list(filters);
7614
7624
  return c.json(result);
7615
7625
  });
7616
- apiRoutes3.get("/stats", chunk3XP76LM7_cjs.requireAuth(), async (c) => {
7626
+ apiRoutes3.get("/stats", chunkDSUJ5YQH_cjs.requireAuth(), async (c) => {
7617
7627
  const user = c.get("user");
7618
7628
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7619
7629
  const db = c.env.DB;
@@ -7622,7 +7632,7 @@ apiRoutes3.get("/stats", chunk3XP76LM7_cjs.requireAuth(), async (c) => {
7622
7632
  const stats = await subscriptionService.getStats();
7623
7633
  return c.json(stats);
7624
7634
  });
7625
- apiRoutes3.post("/sync-subscriptions", chunk3XP76LM7_cjs.requireAuth(), async (c) => {
7635
+ apiRoutes3.post("/sync-subscriptions", chunkDSUJ5YQH_cjs.requireAuth(), async (c) => {
7626
7636
  const user = c.get("user");
7627
7637
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7628
7638
  const db = c.env.DB;
@@ -7670,7 +7680,7 @@ apiRoutes3.post("/sync-subscriptions", chunk3XP76LM7_cjs.requireAuth(), async (c
7670
7680
  }, 500);
7671
7681
  }
7672
7682
  });
7673
- apiRoutes3.get("/events", chunk3XP76LM7_cjs.requireAuth(), async (c) => {
7683
+ apiRoutes3.get("/events", chunkDSUJ5YQH_cjs.requireAuth(), async (c) => {
7674
7684
  const user = c.get("user");
7675
7685
  if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
7676
7686
  const db = c.env.DB;
@@ -7736,7 +7746,7 @@ function createStripePlugin() {
7736
7746
  var stripePlugin = createStripePlugin();
7737
7747
 
7738
7748
  // src/middleware/plugin-menu.ts
7739
- var REGISTRY_MENU_PLUGINS = Object.values(chunk56PLLVDG_cjs.PLUGIN_REGISTRY).filter((p) => p.adminMenu !== null).map((p) => ({
7749
+ var REGISTRY_MENU_PLUGINS = Object.values(chunkT3Q5V33G_cjs.PLUGIN_REGISTRY).filter((p) => p.adminMenu !== null).map((p) => ({
7740
7750
  codeName: p.codeName,
7741
7751
  label: p.adminMenu.label,
7742
7752
  path: p.adminMenu.path,
@@ -7835,7 +7845,7 @@ var HOOKS2 = {
7835
7845
  USER_LOGIN: "user:login"};
7836
7846
  chunkUYJ6TJHX_cjs.init_admin_layout_catalyst_template();
7837
7847
  var adminRoutes4 = new hono.Hono();
7838
- adminRoutes4.use("*", chunk3XP76LM7_cjs.requireAuth());
7848
+ adminRoutes4.use("*", chunkDSUJ5YQH_cjs.requireAuth());
7839
7849
  adminRoutes4.use("*", async (c, next) => {
7840
7850
  const user = c.get("user");
7841
7851
  if (user?.role !== "admin") {
@@ -9634,7 +9644,7 @@ function renderCacheDashboard(data) {
9634
9644
  </script>
9635
9645
 
9636
9646
  <!-- Confirmation Dialogs -->
9637
- ${chunkLTJ7P7RT_cjs.renderConfirmationDialog({
9647
+ ${chunkSXXTQETM_cjs.renderConfirmationDialog({
9638
9648
  id: "clear-all-cache-confirm",
9639
9649
  title: "Clear All Cache",
9640
9650
  message: "Are you sure you want to clear all cache entries? This cannot be undone.",
@@ -9645,7 +9655,7 @@ function renderCacheDashboard(data) {
9645
9655
  onConfirm: "performClearAllCaches()"
9646
9656
  })}
9647
9657
 
9648
- ${chunkLTJ7P7RT_cjs.renderConfirmationDialog({
9658
+ ${chunkSXXTQETM_cjs.renderConfirmationDialog({
9649
9659
  id: "clear-namespace-cache-confirm",
9650
9660
  title: "Clear Namespace Cache",
9651
9661
  message: "Clear cache for this namespace?",
@@ -9656,7 +9666,7 @@ function renderCacheDashboard(data) {
9656
9666
  onConfirm: "performClearNamespaceCache()"
9657
9667
  })}
9658
9668
 
9659
- ${chunkLTJ7P7RT_cjs.getConfirmationDialogScript()}
9669
+ ${chunkSXXTQETM_cjs.getConfirmationDialogScript()}
9660
9670
  `;
9661
9671
  const layoutData = {
9662
9672
  title: "Cache System",
@@ -10342,14 +10352,14 @@ var faviconSvg = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
10342
10352
  // src/app.ts
10343
10353
  function createSonicJSApp(config = {}) {
10344
10354
  const app2 = new hono.Hono();
10345
- const appVersion = config.version || chunk74BFRAQS_cjs.getCoreVersion();
10355
+ const appVersion = config.version || chunkSQ6FNXU2_cjs.getCoreVersion();
10346
10356
  const appName = config.name || "SonicJS AI";
10347
10357
  app2.use("*", async (c, next) => {
10348
10358
  c.set("appVersion", appVersion);
10349
10359
  await next();
10350
10360
  });
10351
- app2.use("*", chunk3XP76LM7_cjs.metricsMiddleware());
10352
- app2.use("*", chunk3XP76LM7_cjs.bootstrapMiddleware(config));
10361
+ app2.use("*", chunkDSUJ5YQH_cjs.metricsMiddleware());
10362
+ app2.use("*", chunkDSUJ5YQH_cjs.bootstrapMiddleware(config));
10353
10363
  if (config.middleware?.beforeAuth) {
10354
10364
  for (const middleware of config.middleware.beforeAuth) {
10355
10365
  app2.use("*", middleware);
@@ -10358,32 +10368,32 @@ function createSonicJSApp(config = {}) {
10358
10368
  app2.use("*", async (_c, next) => {
10359
10369
  await next();
10360
10370
  });
10361
- app2.use("*", chunk3XP76LM7_cjs.securityHeadersMiddleware());
10362
- app2.use("*", chunk3XP76LM7_cjs.csrfProtection());
10371
+ app2.use("*", chunkDSUJ5YQH_cjs.securityHeadersMiddleware());
10372
+ app2.use("*", chunkDSUJ5YQH_cjs.csrfProtection());
10363
10373
  if (config.middleware?.afterAuth) {
10364
10374
  for (const middleware of config.middleware.afterAuth) {
10365
10375
  app2.use("*", middleware);
10366
10376
  }
10367
10377
  }
10368
10378
  const adminRoles = config.adminAccessRoles || ["admin"];
10369
- app2.use("/admin/*", chunk3XP76LM7_cjs.requireAuth());
10370
- app2.use("/admin/*", chunk3XP76LM7_cjs.requireRole(adminRoles));
10379
+ app2.use("/admin/*", chunkDSUJ5YQH_cjs.requireAuth());
10380
+ app2.use("/admin/*", chunkDSUJ5YQH_cjs.requireRole(adminRoles));
10371
10381
  app2.use("/admin/*", pluginMenuMiddleware());
10372
- app2.route("/api", chunkLTJ7P7RT_cjs.api_default);
10373
- app2.route("/api/media", chunkLTJ7P7RT_cjs.api_media_default);
10374
- app2.route("/api/system", chunkLTJ7P7RT_cjs.api_system_default);
10375
- app2.route("/admin/api", chunkLTJ7P7RT_cjs.admin_api_default);
10376
- app2.route("/admin/dashboard", chunkLTJ7P7RT_cjs.router);
10377
- app2.route("/admin/collections", chunkLTJ7P7RT_cjs.adminCollectionsRoutes);
10378
- app2.route("/admin/forms", chunkLTJ7P7RT_cjs.adminFormsRoutes);
10379
- app2.route("/admin/settings", chunkLTJ7P7RT_cjs.adminSettingsRoutes);
10380
- app2.route("/forms", chunkLTJ7P7RT_cjs.public_forms_default);
10381
- app2.route("/api/forms", chunkLTJ7P7RT_cjs.public_forms_default);
10382
- app2.route("/admin/api-reference", chunkLTJ7P7RT_cjs.router2);
10382
+ app2.route("/api", chunkSXXTQETM_cjs.api_default);
10383
+ app2.route("/api/media", chunkSXXTQETM_cjs.api_media_default);
10384
+ app2.route("/api/system", chunkSXXTQETM_cjs.api_system_default);
10385
+ app2.route("/admin/api", chunkSXXTQETM_cjs.admin_api_default);
10386
+ app2.route("/admin/dashboard", chunkSXXTQETM_cjs.router);
10387
+ app2.route("/admin/collections", chunkSXXTQETM_cjs.adminCollectionsRoutes);
10388
+ app2.route("/admin/forms", chunkSXXTQETM_cjs.adminFormsRoutes);
10389
+ app2.route("/admin/settings", chunkSXXTQETM_cjs.adminSettingsRoutes);
10390
+ app2.route("/forms", chunkSXXTQETM_cjs.public_forms_default);
10391
+ app2.route("/api/forms", chunkSXXTQETM_cjs.public_forms_default);
10392
+ app2.route("/admin/api-reference", chunkSXXTQETM_cjs.router2);
10383
10393
  app2.route("/admin/database-tools", createDatabaseToolsAdminRoutes());
10384
10394
  app2.route("/admin/seed-data", createSeedDataAdminRoutes());
10385
- app2.route("/admin/content", chunkLTJ7P7RT_cjs.admin_content_default);
10386
- app2.route("/admin/media", chunkLTJ7P7RT_cjs.adminMediaRoutes);
10395
+ app2.route("/admin/content", chunkSXXTQETM_cjs.admin_content_default);
10396
+ app2.route("/admin/media", chunkSXXTQETM_cjs.adminMediaRoutes);
10387
10397
  app2.use("/auth/*", securityAuditMiddleware());
10388
10398
  if (securityAuditPlugin.routes && securityAuditPlugin.routes.length > 0) {
10389
10399
  for (const route of securityAuditPlugin.routes) {
@@ -10401,8 +10411,8 @@ function createSonicJSApp(config = {}) {
10401
10411
  app2.route(route.path, route.handler);
10402
10412
  }
10403
10413
  }
10404
- if (chunkLTJ7P7RT_cjs.userProfilesPlugin.routes && chunkLTJ7P7RT_cjs.userProfilesPlugin.routes.length > 0) {
10405
- for (const route of chunkLTJ7P7RT_cjs.userProfilesPlugin.routes) {
10414
+ if (chunkSXXTQETM_cjs.userProfilesPlugin.routes && chunkSXXTQETM_cjs.userProfilesPlugin.routes.length > 0) {
10415
+ for (const route of chunkSXXTQETM_cjs.userProfilesPlugin.routes) {
10406
10416
  app2.route(route.path, route.handler);
10407
10417
  }
10408
10418
  }
@@ -10422,11 +10432,11 @@ function createSonicJSApp(config = {}) {
10422
10432
  app2.route(route.path, route.handler);
10423
10433
  }
10424
10434
  }
10425
- app2.route("/admin/plugins", chunkLTJ7P7RT_cjs.adminPluginRoutes);
10426
- app2.route("/admin/logs", chunkLTJ7P7RT_cjs.adminLogsRoutes);
10427
- app2.route("/admin", chunkLTJ7P7RT_cjs.userRoutes);
10428
- app2.route("/auth", chunkLTJ7P7RT_cjs.auth_default);
10429
- app2.route("/", chunkLTJ7P7RT_cjs.test_cleanup_default);
10435
+ app2.route("/admin/plugins", chunkSXXTQETM_cjs.adminPluginRoutes);
10436
+ app2.route("/admin/logs", chunkSXXTQETM_cjs.adminLogsRoutes);
10437
+ app2.route("/admin", chunkSXXTQETM_cjs.userRoutes);
10438
+ app2.route("/auth", chunkSXXTQETM_cjs.auth_default);
10439
+ app2.route("/", chunkSXXTQETM_cjs.test_cleanup_default);
10430
10440
  if (emailPlugin.routes && emailPlugin.routes.length > 0) {
10431
10441
  for (const route of emailPlugin.routes) {
10432
10442
  app2.route(route.path, route.handler);
@@ -10510,99 +10520,99 @@ function createDb(d1$1) {
10510
10520
  }
10511
10521
 
10512
10522
  // src/index.ts
10513
- var VERSION = chunk74BFRAQS_cjs.package_default.version;
10523
+ var VERSION = chunkSQ6FNXU2_cjs.package_default.version;
10514
10524
 
10515
10525
  Object.defineProperty(exports, "ROUTES_INFO", {
10516
10526
  enumerable: true,
10517
- get: function () { return chunkLTJ7P7RT_cjs.ROUTES_INFO; }
10527
+ get: function () { return chunkSXXTQETM_cjs.ROUTES_INFO; }
10518
10528
  });
10519
10529
  Object.defineProperty(exports, "adminApiRoutes", {
10520
10530
  enumerable: true,
10521
- get: function () { return chunkLTJ7P7RT_cjs.admin_api_default; }
10531
+ get: function () { return chunkSXXTQETM_cjs.admin_api_default; }
10522
10532
  });
10523
10533
  Object.defineProperty(exports, "adminCheckboxRoutes", {
10524
10534
  enumerable: true,
10525
- get: function () { return chunkLTJ7P7RT_cjs.adminCheckboxRoutes; }
10535
+ get: function () { return chunkSXXTQETM_cjs.adminCheckboxRoutes; }
10526
10536
  });
10527
10537
  Object.defineProperty(exports, "adminCodeExamplesRoutes", {
10528
10538
  enumerable: true,
10529
- get: function () { return chunkLTJ7P7RT_cjs.admin_code_examples_default; }
10539
+ get: function () { return chunkSXXTQETM_cjs.admin_code_examples_default; }
10530
10540
  });
10531
10541
  Object.defineProperty(exports, "adminCollectionsRoutes", {
10532
10542
  enumerable: true,
10533
- get: function () { return chunkLTJ7P7RT_cjs.adminCollectionsRoutes; }
10543
+ get: function () { return chunkSXXTQETM_cjs.adminCollectionsRoutes; }
10534
10544
  });
10535
10545
  Object.defineProperty(exports, "adminContentRoutes", {
10536
10546
  enumerable: true,
10537
- get: function () { return chunkLTJ7P7RT_cjs.admin_content_default; }
10547
+ get: function () { return chunkSXXTQETM_cjs.admin_content_default; }
10538
10548
  });
10539
10549
  Object.defineProperty(exports, "adminDashboardRoutes", {
10540
10550
  enumerable: true,
10541
- get: function () { return chunkLTJ7P7RT_cjs.router; }
10551
+ get: function () { return chunkSXXTQETM_cjs.router; }
10542
10552
  });
10543
10553
  Object.defineProperty(exports, "adminDesignRoutes", {
10544
10554
  enumerable: true,
10545
- get: function () { return chunkLTJ7P7RT_cjs.adminDesignRoutes; }
10555
+ get: function () { return chunkSXXTQETM_cjs.adminDesignRoutes; }
10546
10556
  });
10547
10557
  Object.defineProperty(exports, "adminLogsRoutes", {
10548
10558
  enumerable: true,
10549
- get: function () { return chunkLTJ7P7RT_cjs.adminLogsRoutes; }
10559
+ get: function () { return chunkSXXTQETM_cjs.adminLogsRoutes; }
10550
10560
  });
10551
10561
  Object.defineProperty(exports, "adminMediaRoutes", {
10552
10562
  enumerable: true,
10553
- get: function () { return chunkLTJ7P7RT_cjs.adminMediaRoutes; }
10563
+ get: function () { return chunkSXXTQETM_cjs.adminMediaRoutes; }
10554
10564
  });
10555
10565
  Object.defineProperty(exports, "adminPluginRoutes", {
10556
10566
  enumerable: true,
10557
- get: function () { return chunkLTJ7P7RT_cjs.adminPluginRoutes; }
10567
+ get: function () { return chunkSXXTQETM_cjs.adminPluginRoutes; }
10558
10568
  });
10559
10569
  Object.defineProperty(exports, "adminSettingsRoutes", {
10560
10570
  enumerable: true,
10561
- get: function () { return chunkLTJ7P7RT_cjs.adminSettingsRoutes; }
10571
+ get: function () { return chunkSXXTQETM_cjs.adminSettingsRoutes; }
10562
10572
  });
10563
10573
  Object.defineProperty(exports, "adminTestimonialsRoutes", {
10564
10574
  enumerable: true,
10565
- get: function () { return chunkLTJ7P7RT_cjs.admin_testimonials_default; }
10575
+ get: function () { return chunkSXXTQETM_cjs.admin_testimonials_default; }
10566
10576
  });
10567
10577
  Object.defineProperty(exports, "adminUsersRoutes", {
10568
10578
  enumerable: true,
10569
- get: function () { return chunkLTJ7P7RT_cjs.userRoutes; }
10579
+ get: function () { return chunkSXXTQETM_cjs.userRoutes; }
10570
10580
  });
10571
10581
  Object.defineProperty(exports, "apiContentCrudRoutes", {
10572
10582
  enumerable: true,
10573
- get: function () { return chunkLTJ7P7RT_cjs.api_content_crud_default; }
10583
+ get: function () { return chunkSXXTQETM_cjs.api_content_crud_default; }
10574
10584
  });
10575
10585
  Object.defineProperty(exports, "apiMediaRoutes", {
10576
10586
  enumerable: true,
10577
- get: function () { return chunkLTJ7P7RT_cjs.api_media_default; }
10587
+ get: function () { return chunkSXXTQETM_cjs.api_media_default; }
10578
10588
  });
10579
10589
  Object.defineProperty(exports, "apiRoutes", {
10580
10590
  enumerable: true,
10581
- get: function () { return chunkLTJ7P7RT_cjs.api_default; }
10591
+ get: function () { return chunkSXXTQETM_cjs.api_default; }
10582
10592
  });
10583
10593
  Object.defineProperty(exports, "apiSystemRoutes", {
10584
10594
  enumerable: true,
10585
- get: function () { return chunkLTJ7P7RT_cjs.api_system_default; }
10595
+ get: function () { return chunkSXXTQETM_cjs.api_system_default; }
10586
10596
  });
10587
10597
  Object.defineProperty(exports, "authRoutes", {
10588
10598
  enumerable: true,
10589
- get: function () { return chunkLTJ7P7RT_cjs.auth_default; }
10599
+ get: function () { return chunkSXXTQETM_cjs.auth_default; }
10590
10600
  });
10591
10601
  Object.defineProperty(exports, "createUserProfilesPlugin", {
10592
10602
  enumerable: true,
10593
- get: function () { return chunkLTJ7P7RT_cjs.createUserProfilesPlugin; }
10603
+ get: function () { return chunkSXXTQETM_cjs.createUserProfilesPlugin; }
10594
10604
  });
10595
10605
  Object.defineProperty(exports, "defineUserProfile", {
10596
10606
  enumerable: true,
10597
- get: function () { return chunkLTJ7P7RT_cjs.defineUserProfile; }
10607
+ get: function () { return chunkSXXTQETM_cjs.defineUserProfile; }
10598
10608
  });
10599
10609
  Object.defineProperty(exports, "getUserProfileConfig", {
10600
10610
  enumerable: true,
10601
- get: function () { return chunkLTJ7P7RT_cjs.getUserProfileConfig; }
10611
+ get: function () { return chunkSXXTQETM_cjs.getUserProfileConfig; }
10602
10612
  });
10603
10613
  Object.defineProperty(exports, "userProfilesPlugin", {
10604
10614
  enumerable: true,
10605
- get: function () { return chunkLTJ7P7RT_cjs.userProfilesPlugin; }
10615
+ get: function () { return chunkSXXTQETM_cjs.userProfilesPlugin; }
10606
10616
  });
10607
10617
  Object.defineProperty(exports, "Logger", {
10608
10618
  enumerable: true,
@@ -10770,167 +10780,167 @@ Object.defineProperty(exports, "workflowHistory", {
10770
10780
  });
10771
10781
  Object.defineProperty(exports, "AuthManager", {
10772
10782
  enumerable: true,
10773
- get: function () { return chunk3XP76LM7_cjs.AuthManager; }
10783
+ get: function () { return chunkDSUJ5YQH_cjs.AuthManager; }
10774
10784
  });
10775
10785
  Object.defineProperty(exports, "PermissionManager", {
10776
10786
  enumerable: true,
10777
- get: function () { return chunk3XP76LM7_cjs.PermissionManager; }
10787
+ get: function () { return chunkDSUJ5YQH_cjs.PermissionManager; }
10778
10788
  });
10779
10789
  Object.defineProperty(exports, "bootstrapMiddleware", {
10780
10790
  enumerable: true,
10781
- get: function () { return chunk3XP76LM7_cjs.bootstrapMiddleware; }
10791
+ get: function () { return chunkDSUJ5YQH_cjs.bootstrapMiddleware; }
10782
10792
  });
10783
10793
  Object.defineProperty(exports, "cacheHeaders", {
10784
10794
  enumerable: true,
10785
- get: function () { return chunk3XP76LM7_cjs.cacheHeaders; }
10795
+ get: function () { return chunkDSUJ5YQH_cjs.cacheHeaders; }
10786
10796
  });
10787
10797
  Object.defineProperty(exports, "compressionMiddleware", {
10788
10798
  enumerable: true,
10789
- get: function () { return chunk3XP76LM7_cjs.compressionMiddleware; }
10799
+ get: function () { return chunkDSUJ5YQH_cjs.compressionMiddleware; }
10790
10800
  });
10791
10801
  Object.defineProperty(exports, "detailedLoggingMiddleware", {
10792
10802
  enumerable: true,
10793
- get: function () { return chunk3XP76LM7_cjs.detailedLoggingMiddleware; }
10803
+ get: function () { return chunkDSUJ5YQH_cjs.detailedLoggingMiddleware; }
10794
10804
  });
10795
10805
  Object.defineProperty(exports, "getActivePlugins", {
10796
10806
  enumerable: true,
10797
- get: function () { return chunk3XP76LM7_cjs.getActivePlugins; }
10807
+ get: function () { return chunkDSUJ5YQH_cjs.getActivePlugins; }
10798
10808
  });
10799
10809
  Object.defineProperty(exports, "isPluginActive", {
10800
10810
  enumerable: true,
10801
- get: function () { return chunk3XP76LM7_cjs.isPluginActive; }
10811
+ get: function () { return chunkDSUJ5YQH_cjs.isPluginActive; }
10802
10812
  });
10803
10813
  Object.defineProperty(exports, "logActivity", {
10804
10814
  enumerable: true,
10805
- get: function () { return chunk3XP76LM7_cjs.logActivity; }
10815
+ get: function () { return chunkDSUJ5YQH_cjs.logActivity; }
10806
10816
  });
10807
10817
  Object.defineProperty(exports, "loggingMiddleware", {
10808
10818
  enumerable: true,
10809
- get: function () { return chunk3XP76LM7_cjs.loggingMiddleware; }
10819
+ get: function () { return chunkDSUJ5YQH_cjs.loggingMiddleware; }
10810
10820
  });
10811
10821
  Object.defineProperty(exports, "optionalAuth", {
10812
10822
  enumerable: true,
10813
- get: function () { return chunk3XP76LM7_cjs.optionalAuth; }
10823
+ get: function () { return chunkDSUJ5YQH_cjs.optionalAuth; }
10814
10824
  });
10815
10825
  Object.defineProperty(exports, "performanceLoggingMiddleware", {
10816
10826
  enumerable: true,
10817
- get: function () { return chunk3XP76LM7_cjs.performanceLoggingMiddleware; }
10827
+ get: function () { return chunkDSUJ5YQH_cjs.performanceLoggingMiddleware; }
10818
10828
  });
10819
10829
  Object.defineProperty(exports, "requireActivePlugin", {
10820
10830
  enumerable: true,
10821
- get: function () { return chunk3XP76LM7_cjs.requireActivePlugin; }
10831
+ get: function () { return chunkDSUJ5YQH_cjs.requireActivePlugin; }
10822
10832
  });
10823
10833
  Object.defineProperty(exports, "requireActivePlugins", {
10824
10834
  enumerable: true,
10825
- get: function () { return chunk3XP76LM7_cjs.requireActivePlugins; }
10835
+ get: function () { return chunkDSUJ5YQH_cjs.requireActivePlugins; }
10826
10836
  });
10827
10837
  Object.defineProperty(exports, "requireAnyPermission", {
10828
10838
  enumerable: true,
10829
- get: function () { return chunk3XP76LM7_cjs.requireAnyPermission; }
10839
+ get: function () { return chunkDSUJ5YQH_cjs.requireAnyPermission; }
10830
10840
  });
10831
10841
  Object.defineProperty(exports, "requireAuth", {
10832
10842
  enumerable: true,
10833
- get: function () { return chunk3XP76LM7_cjs.requireAuth; }
10843
+ get: function () { return chunkDSUJ5YQH_cjs.requireAuth; }
10834
10844
  });
10835
10845
  Object.defineProperty(exports, "requirePermission", {
10836
10846
  enumerable: true,
10837
- get: function () { return chunk3XP76LM7_cjs.requirePermission; }
10847
+ get: function () { return chunkDSUJ5YQH_cjs.requirePermission; }
10838
10848
  });
10839
10849
  Object.defineProperty(exports, "requireRole", {
10840
10850
  enumerable: true,
10841
- get: function () { return chunk3XP76LM7_cjs.requireRole; }
10851
+ get: function () { return chunkDSUJ5YQH_cjs.requireRole; }
10842
10852
  });
10843
10853
  Object.defineProperty(exports, "securityHeaders", {
10844
10854
  enumerable: true,
10845
- get: function () { return chunk3XP76LM7_cjs.securityHeadersMiddleware; }
10855
+ get: function () { return chunkDSUJ5YQH_cjs.securityHeadersMiddleware; }
10846
10856
  });
10847
10857
  Object.defineProperty(exports, "securityLoggingMiddleware", {
10848
10858
  enumerable: true,
10849
- get: function () { return chunk3XP76LM7_cjs.securityLoggingMiddleware; }
10859
+ get: function () { return chunkDSUJ5YQH_cjs.securityLoggingMiddleware; }
10850
10860
  });
10851
10861
  Object.defineProperty(exports, "PluginBootstrapService", {
10852
10862
  enumerable: true,
10853
- get: function () { return chunk56PLLVDG_cjs.PluginBootstrapService; }
10863
+ get: function () { return chunkT3Q5V33G_cjs.PluginBootstrapService; }
10854
10864
  });
10855
10865
  Object.defineProperty(exports, "PluginServiceClass", {
10856
10866
  enumerable: true,
10857
- get: function () { return chunk56PLLVDG_cjs.PluginService; }
10867
+ get: function () { return chunkT3Q5V33G_cjs.PluginService; }
10858
10868
  });
10859
10869
  Object.defineProperty(exports, "backfillFormSubmissions", {
10860
10870
  enumerable: true,
10861
- get: function () { return chunk56PLLVDG_cjs.backfillFormSubmissions; }
10871
+ get: function () { return chunkT3Q5V33G_cjs.backfillFormSubmissions; }
10862
10872
  });
10863
10873
  Object.defineProperty(exports, "cleanupRemovedCollections", {
10864
10874
  enumerable: true,
10865
- get: function () { return chunk56PLLVDG_cjs.cleanupRemovedCollections; }
10875
+ get: function () { return chunkT3Q5V33G_cjs.cleanupRemovedCollections; }
10866
10876
  });
10867
10877
  Object.defineProperty(exports, "createContentFromSubmission", {
10868
10878
  enumerable: true,
10869
- get: function () { return chunk56PLLVDG_cjs.createContentFromSubmission; }
10879
+ get: function () { return chunkT3Q5V33G_cjs.createContentFromSubmission; }
10870
10880
  });
10871
10881
  Object.defineProperty(exports, "deriveCollectionSchemaFromFormio", {
10872
10882
  enumerable: true,
10873
- get: function () { return chunk56PLLVDG_cjs.deriveCollectionSchemaFromFormio; }
10883
+ get: function () { return chunkT3Q5V33G_cjs.deriveCollectionSchemaFromFormio; }
10874
10884
  });
10875
10885
  Object.defineProperty(exports, "deriveSubmissionTitle", {
10876
10886
  enumerable: true,
10877
- get: function () { return chunk56PLLVDG_cjs.deriveSubmissionTitle; }
10887
+ get: function () { return chunkT3Q5V33G_cjs.deriveSubmissionTitle; }
10878
10888
  });
10879
10889
  Object.defineProperty(exports, "fullCollectionSync", {
10880
10890
  enumerable: true,
10881
- get: function () { return chunk56PLLVDG_cjs.fullCollectionSync; }
10891
+ get: function () { return chunkT3Q5V33G_cjs.fullCollectionSync; }
10882
10892
  });
10883
10893
  Object.defineProperty(exports, "getAvailableCollectionNames", {
10884
10894
  enumerable: true,
10885
- get: function () { return chunk56PLLVDG_cjs.getAvailableCollectionNames; }
10895
+ get: function () { return chunkT3Q5V33G_cjs.getAvailableCollectionNames; }
10886
10896
  });
10887
10897
  Object.defineProperty(exports, "getManagedCollections", {
10888
10898
  enumerable: true,
10889
- get: function () { return chunk56PLLVDG_cjs.getManagedCollections; }
10899
+ get: function () { return chunkT3Q5V33G_cjs.getManagedCollections; }
10890
10900
  });
10891
10901
  Object.defineProperty(exports, "isCollectionManaged", {
10892
10902
  enumerable: true,
10893
- get: function () { return chunk56PLLVDG_cjs.isCollectionManaged; }
10903
+ get: function () { return chunkT3Q5V33G_cjs.isCollectionManaged; }
10894
10904
  });
10895
10905
  Object.defineProperty(exports, "loadCollectionConfig", {
10896
10906
  enumerable: true,
10897
- get: function () { return chunk56PLLVDG_cjs.loadCollectionConfig; }
10907
+ get: function () { return chunkT3Q5V33G_cjs.loadCollectionConfig; }
10898
10908
  });
10899
10909
  Object.defineProperty(exports, "loadCollectionConfigs", {
10900
10910
  enumerable: true,
10901
- get: function () { return chunk56PLLVDG_cjs.loadCollectionConfigs; }
10911
+ get: function () { return chunkT3Q5V33G_cjs.loadCollectionConfigs; }
10902
10912
  });
10903
10913
  Object.defineProperty(exports, "mapFormStatusToContentStatus", {
10904
10914
  enumerable: true,
10905
- get: function () { return chunk56PLLVDG_cjs.mapFormStatusToContentStatus; }
10915
+ get: function () { return chunkT3Q5V33G_cjs.mapFormStatusToContentStatus; }
10906
10916
  });
10907
10917
  Object.defineProperty(exports, "registerCollections", {
10908
10918
  enumerable: true,
10909
- get: function () { return chunk56PLLVDG_cjs.registerCollections; }
10919
+ get: function () { return chunkT3Q5V33G_cjs.registerCollections; }
10910
10920
  });
10911
10921
  Object.defineProperty(exports, "syncAllFormCollections", {
10912
10922
  enumerable: true,
10913
- get: function () { return chunk56PLLVDG_cjs.syncAllFormCollections; }
10923
+ get: function () { return chunkT3Q5V33G_cjs.syncAllFormCollections; }
10914
10924
  });
10915
10925
  Object.defineProperty(exports, "syncCollection", {
10916
10926
  enumerable: true,
10917
- get: function () { return chunk56PLLVDG_cjs.syncCollection; }
10927
+ get: function () { return chunkT3Q5V33G_cjs.syncCollection; }
10918
10928
  });
10919
10929
  Object.defineProperty(exports, "syncCollections", {
10920
10930
  enumerable: true,
10921
- get: function () { return chunk56PLLVDG_cjs.syncCollections; }
10931
+ get: function () { return chunkT3Q5V33G_cjs.syncCollections; }
10922
10932
  });
10923
10933
  Object.defineProperty(exports, "syncFormCollection", {
10924
10934
  enumerable: true,
10925
- get: function () { return chunk56PLLVDG_cjs.syncFormCollection; }
10935
+ get: function () { return chunkT3Q5V33G_cjs.syncFormCollection; }
10926
10936
  });
10927
10937
  Object.defineProperty(exports, "validateCollectionConfig", {
10928
10938
  enumerable: true,
10929
- get: function () { return chunk56PLLVDG_cjs.validateCollectionConfig; }
10939
+ get: function () { return chunkT3Q5V33G_cjs.validateCollectionConfig; }
10930
10940
  });
10931
10941
  Object.defineProperty(exports, "MigrationService", {
10932
10942
  enumerable: true,
10933
- get: function () { return chunkDAESIIWY_cjs.MigrationService; }
10943
+ get: function () { return chunkC54YUA23_cjs.MigrationService; }
10934
10944
  });
10935
10945
  Object.defineProperty(exports, "renderFilterBar", {
10936
10946
  enumerable: true,
@@ -10998,31 +11008,31 @@ Object.defineProperty(exports, "PluginHelpers", {
10998
11008
  });
10999
11009
  Object.defineProperty(exports, "QueryFilterBuilder", {
11000
11010
  enumerable: true,
11001
- get: function () { return chunk74BFRAQS_cjs.QueryFilterBuilder; }
11011
+ get: function () { return chunkSQ6FNXU2_cjs.QueryFilterBuilder; }
11002
11012
  });
11003
11013
  Object.defineProperty(exports, "SONICJS_VERSION", {
11004
11014
  enumerable: true,
11005
- get: function () { return chunk74BFRAQS_cjs.SONICJS_VERSION; }
11015
+ get: function () { return chunkSQ6FNXU2_cjs.SONICJS_VERSION; }
11006
11016
  });
11007
11017
  Object.defineProperty(exports, "TemplateRenderer", {
11008
11018
  enumerable: true,
11009
- get: function () { return chunk74BFRAQS_cjs.TemplateRenderer; }
11019
+ get: function () { return chunkSQ6FNXU2_cjs.TemplateRenderer; }
11010
11020
  });
11011
11021
  Object.defineProperty(exports, "buildQuery", {
11012
11022
  enumerable: true,
11013
- get: function () { return chunk74BFRAQS_cjs.buildQuery; }
11023
+ get: function () { return chunkSQ6FNXU2_cjs.buildQuery; }
11014
11024
  });
11015
11025
  Object.defineProperty(exports, "getCoreVersion", {
11016
11026
  enumerable: true,
11017
- get: function () { return chunk74BFRAQS_cjs.getCoreVersion; }
11027
+ get: function () { return chunkSQ6FNXU2_cjs.getCoreVersion; }
11018
11028
  });
11019
11029
  Object.defineProperty(exports, "renderTemplate", {
11020
11030
  enumerable: true,
11021
- get: function () { return chunk74BFRAQS_cjs.renderTemplate; }
11031
+ get: function () { return chunkSQ6FNXU2_cjs.renderTemplate; }
11022
11032
  });
11023
11033
  Object.defineProperty(exports, "templateRenderer", {
11024
11034
  enumerable: true,
11025
- get: function () { return chunk74BFRAQS_cjs.templateRenderer; }
11035
+ get: function () { return chunkSQ6FNXU2_cjs.templateRenderer; }
11026
11036
  });
11027
11037
  Object.defineProperty(exports, "metricsTracker", {
11028
11038
  enumerable: true,