@sonicjs-cms/core 2.17.1 → 2.17.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-5ITJB5ZT.cjs → chunk-2VY2G7OR.cjs} +123 -123
- package/dist/{chunk-5ITJB5ZT.cjs.map → chunk-2VY2G7OR.cjs.map} +1 -1
- package/dist/{chunk-47HKH3D6.cjs → chunk-FXWF5D5V.cjs} +2 -2
- package/dist/{chunk-47HKH3D6.cjs.map → chunk-FXWF5D5V.cjs.map} +1 -1
- package/dist/{chunk-7D7SI5P7.js → chunk-I2Z72YTD.js} +54 -3
- package/dist/chunk-I2Z72YTD.js.map +1 -0
- package/dist/{chunk-QZBZEUZF.js → chunk-ITGOUYVN.js} +2 -2
- package/dist/{chunk-QZBZEUZF.js.map → chunk-ITGOUYVN.js.map} +1 -1
- package/dist/{chunk-P5IDHMOL.js → chunk-K6QVIOTA.js} +4 -4
- package/dist/{chunk-P5IDHMOL.js.map → chunk-K6QVIOTA.js.map} +1 -1
- package/dist/{chunk-UDUHP4PA.js → chunk-KJSZMIBF.js} +9 -9
- package/dist/{chunk-UDUHP4PA.js.map → chunk-KJSZMIBF.js.map} +1 -1
- package/dist/{chunk-I6444XLU.cjs → chunk-LVGB5UU5.cjs} +2 -2
- package/dist/{chunk-I6444XLU.cjs.map → chunk-LVGB5UU5.cjs.map} +1 -1
- package/dist/{chunk-EUFBU4T4.js → chunk-NAYUXSNR.js} +2 -2
- package/dist/{chunk-EUFBU4T4.js.map → chunk-NAYUXSNR.js.map} +1 -1
- package/dist/{chunk-3TVMUQWG.cjs → chunk-P4RAIX7B.cjs} +8 -8
- package/dist/{chunk-3TVMUQWG.cjs.map → chunk-P4RAIX7B.cjs.map} +1 -1
- package/dist/{chunk-5EBTBD2Z.cjs → chunk-Q3W6LCEN.cjs} +54 -3
- package/dist/chunk-Q3W6LCEN.cjs.map +1 -0
- package/dist/index.cjs +140 -140
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/middleware.cjs +32 -32
- package/dist/middleware.js +3 -3
- package/dist/migrations-IFZLGVV3.js +4 -0
- package/dist/{migrations-3TVS3HU5.js.map → migrations-IFZLGVV3.js.map} +1 -1
- package/dist/migrations-Q7C6F2RM.cjs +13 -0
- package/dist/{migrations-VQ4UX4M4.cjs.map → migrations-Q7C6F2RM.cjs.map} +1 -1
- package/dist/routes.cjs +28 -28
- package/dist/routes.js +5 -5
- package/dist/services.cjs +23 -23
- package/dist/services.js +2 -2
- package/dist/utils.cjs +11 -11
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/dist/{version-ChpccWQ1.d.cts → version-DFTyGfIH.d.cts} +9 -1
- package/dist/{version-ChpccWQ1.d.ts → version-DFTyGfIH.d.ts} +9 -1
- package/package.json +1 -1
- package/dist/chunk-5EBTBD2Z.cjs.map +0 -1
- package/dist/chunk-7D7SI5P7.js.map +0 -1
- package/dist/migrations-3TVS3HU5.js +0 -4
- package/dist/migrations-VQ4UX4M4.cjs +0 -13
package/dist/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2VY2G7OR_cjs = require('./chunk-2VY2G7OR.cjs');
|
|
4
4
|
var chunkWAEQXGCX_cjs = require('./chunk-WAEQXGCX.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
5
|
+
var chunkP4RAIX7B_cjs = require('./chunk-P4RAIX7B.cjs');
|
|
6
|
+
var chunkFXWF5D5V_cjs = require('./chunk-FXWF5D5V.cjs');
|
|
7
|
+
var chunkLVGB5UU5_cjs = require('./chunk-LVGB5UU5.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
|
|
13
|
+
var chunkQ3W6LCEN_cjs = require('./chunk-Q3W6LCEN.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("*",
|
|
563
|
+
router3.use("*", chunkP4RAIX7B_cjs.requireAuth());
|
|
564
564
|
router3.get("/api/stats", async (c) => {
|
|
565
565
|
try {
|
|
566
566
|
const user = c.get("user");
|
|
@@ -1939,8 +1939,8 @@ function createOTPLoginPlugin() {
|
|
|
1939
1939
|
error: "Account is deactivated"
|
|
1940
1940
|
}, 403);
|
|
1941
1941
|
}
|
|
1942
|
-
const tokenTtl = await
|
|
1943
|
-
const token = await
|
|
1942
|
+
const tokenTtl = await chunkP4RAIX7B_cjs.getJwtExpirySecondsFromDb(db, c.env);
|
|
1943
|
+
const token = await chunkP4RAIX7B_cjs.AuthManager.generateToken(user.id, user.email, user.role, c.env.JWT_SECRET, tokenTtl);
|
|
1944
1944
|
cookie.setCookie(c, "auth_token", token, {
|
|
1945
1945
|
httpOnly: true,
|
|
1946
1946
|
secure: true,
|
|
@@ -2409,15 +2409,15 @@ function createOAuthProvidersPlugin() {
|
|
|
2409
2409
|
if (!user || !user.is_active) {
|
|
2410
2410
|
return c.redirect("/auth/login?error=Account is deactivated");
|
|
2411
2411
|
}
|
|
2412
|
-
const tokenTtl2 = await
|
|
2413
|
-
const jwt2 = await
|
|
2412
|
+
const tokenTtl2 = await chunkP4RAIX7B_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
|
|
2413
|
+
const jwt2 = await chunkP4RAIX7B_cjs.AuthManager.generateToken(
|
|
2414
2414
|
user.id,
|
|
2415
2415
|
user.email,
|
|
2416
2416
|
user.role,
|
|
2417
2417
|
c.env.JWT_SECRET,
|
|
2418
2418
|
tokenTtl2
|
|
2419
2419
|
);
|
|
2420
|
-
|
|
2420
|
+
chunkP4RAIX7B_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
|
|
2421
2421
|
return c.redirect("/admin");
|
|
2422
2422
|
}
|
|
2423
2423
|
const existingUser = await oauthService.findUserByEmail(profile.email);
|
|
@@ -2434,15 +2434,15 @@ function createOAuthProvidersPlugin() {
|
|
|
2434
2434
|
tokenExpiresAt: tokenExpiresAt ?? void 0,
|
|
2435
2435
|
profileData: JSON.stringify(profile)
|
|
2436
2436
|
});
|
|
2437
|
-
const tokenTtl2 = await
|
|
2438
|
-
const jwt2 = await
|
|
2437
|
+
const tokenTtl2 = await chunkP4RAIX7B_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
|
|
2438
|
+
const jwt2 = await chunkP4RAIX7B_cjs.AuthManager.generateToken(
|
|
2439
2439
|
existingUser.id,
|
|
2440
2440
|
existingUser.email,
|
|
2441
2441
|
existingUser.role,
|
|
2442
2442
|
c.env.JWT_SECRET,
|
|
2443
2443
|
tokenTtl2
|
|
2444
2444
|
);
|
|
2445
|
-
|
|
2445
|
+
chunkP4RAIX7B_cjs.AuthManager.setAuthCookie(c, jwt2, { sameSite: "Lax", maxAge: tokenTtl2 });
|
|
2446
2446
|
return c.redirect("/admin");
|
|
2447
2447
|
}
|
|
2448
2448
|
const newUserId = await oauthService.createUserFromOAuth(profile);
|
|
@@ -2455,15 +2455,15 @@ function createOAuthProvidersPlugin() {
|
|
|
2455
2455
|
tokenExpiresAt: tokenExpiresAt ?? void 0,
|
|
2456
2456
|
profileData: JSON.stringify(profile)
|
|
2457
2457
|
});
|
|
2458
|
-
const tokenTtl = await
|
|
2459
|
-
const jwt = await
|
|
2458
|
+
const tokenTtl = await chunkP4RAIX7B_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
|
|
2459
|
+
const jwt = await chunkP4RAIX7B_cjs.AuthManager.generateToken(
|
|
2460
2460
|
newUserId,
|
|
2461
2461
|
profile.email.toLowerCase(),
|
|
2462
2462
|
"viewer",
|
|
2463
2463
|
c.env.JWT_SECRET,
|
|
2464
2464
|
tokenTtl
|
|
2465
2465
|
);
|
|
2466
|
-
|
|
2466
|
+
chunkP4RAIX7B_cjs.AuthManager.setAuthCookie(c, jwt, { sameSite: "Lax", maxAge: tokenTtl });
|
|
2467
2467
|
return c.redirect("/admin");
|
|
2468
2468
|
} catch (error) {
|
|
2469
2469
|
console.error("OAuth callback error:", error);
|
|
@@ -4156,7 +4156,7 @@ function renderSettingsPage(data) {
|
|
|
4156
4156
|
|
|
4157
4157
|
// src/plugins/core-plugins/ai-search-plugin/routes/admin.ts
|
|
4158
4158
|
var adminRoutes = new hono.Hono();
|
|
4159
|
-
adminRoutes.use("*",
|
|
4159
|
+
adminRoutes.use("*", chunkP4RAIX7B_cjs.requireAuth());
|
|
4160
4160
|
adminRoutes.get("/", async (c) => {
|
|
4161
4161
|
try {
|
|
4162
4162
|
const user = c.get("user");
|
|
@@ -4557,15 +4557,15 @@ function createMagicLinkAuthPlugin() {
|
|
|
4557
4557
|
SET used = 1, used_at = ?
|
|
4558
4558
|
WHERE id = ?
|
|
4559
4559
|
`).bind(Date.now(), magicLink.id).run();
|
|
4560
|
-
const tokenTtl = await
|
|
4561
|
-
const jwtToken = await
|
|
4560
|
+
const tokenTtl = await chunkP4RAIX7B_cjs.getJwtExpirySecondsFromDb(c.env.DB, c.env);
|
|
4561
|
+
const jwtToken = await chunkP4RAIX7B_cjs.AuthManager.generateToken(
|
|
4562
4562
|
user.id,
|
|
4563
4563
|
user.email,
|
|
4564
4564
|
user.role,
|
|
4565
4565
|
c.env.JWT_SECRET,
|
|
4566
4566
|
tokenTtl
|
|
4567
4567
|
);
|
|
4568
|
-
|
|
4568
|
+
chunkP4RAIX7B_cjs.AuthManager.setAuthCookie(c, jwtToken, { maxAge: tokenTtl });
|
|
4569
4569
|
await db.prepare(`
|
|
4570
4570
|
UPDATE users SET last_login_at = ? WHERE id = ?
|
|
4571
4571
|
`).bind(Date.now(), user.id).run();
|
|
@@ -5575,7 +5575,7 @@ function renderSecuritySettingsPage(data) {
|
|
|
5575
5575
|
|
|
5576
5576
|
// src/plugins/core-plugins/security-audit-plugin/routes/admin.ts
|
|
5577
5577
|
var adminRoutes2 = new hono.Hono();
|
|
5578
|
-
adminRoutes2.use("*",
|
|
5578
|
+
adminRoutes2.use("*", chunkP4RAIX7B_cjs.requireAuth());
|
|
5579
5579
|
adminRoutes2.use("*", async (c, next) => {
|
|
5580
5580
|
const user = c.get("user");
|
|
5581
5581
|
if (user?.role !== "admin") {
|
|
@@ -5585,7 +5585,7 @@ adminRoutes2.use("*", async (c, next) => {
|
|
|
5585
5585
|
});
|
|
5586
5586
|
async function getSettings(db) {
|
|
5587
5587
|
try {
|
|
5588
|
-
const pluginService = new
|
|
5588
|
+
const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
|
|
5589
5589
|
const plugin2 = await pluginService.getPlugin("security-audit");
|
|
5590
5590
|
if (plugin2?.settings) {
|
|
5591
5591
|
const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
|
|
@@ -5690,7 +5690,7 @@ adminRoutes2.post("/settings", async (c) => {
|
|
|
5690
5690
|
autoPurge: body["retention.autoPurge"] === "true"
|
|
5691
5691
|
}
|
|
5692
5692
|
};
|
|
5693
|
-
const pluginService = new
|
|
5693
|
+
const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
|
|
5694
5694
|
await pluginService.updatePluginSettings("security-audit", settings);
|
|
5695
5695
|
if (c.req.header("HX-Request")) {
|
|
5696
5696
|
return c.json({ success: true });
|
|
@@ -5851,7 +5851,7 @@ var BruteForceDetector = class {
|
|
|
5851
5851
|
|
|
5852
5852
|
// src/plugins/core-plugins/security-audit-plugin/routes/api.ts
|
|
5853
5853
|
var apiRoutes2 = new hono.Hono();
|
|
5854
|
-
apiRoutes2.use("*",
|
|
5854
|
+
apiRoutes2.use("*", chunkP4RAIX7B_cjs.requireAuth());
|
|
5855
5855
|
apiRoutes2.use("*", async (c, next) => {
|
|
5856
5856
|
const user = c.get("user");
|
|
5857
5857
|
if (user?.role !== "admin") {
|
|
@@ -5861,7 +5861,7 @@ apiRoutes2.use("*", async (c, next) => {
|
|
|
5861
5861
|
});
|
|
5862
5862
|
async function getSettings2(db) {
|
|
5863
5863
|
try {
|
|
5864
|
-
const pluginService = new
|
|
5864
|
+
const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
|
|
5865
5865
|
const plugin2 = await pluginService.getPlugin("security-audit");
|
|
5866
5866
|
if (plugin2?.settings) {
|
|
5867
5867
|
const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
|
|
@@ -6009,7 +6009,7 @@ function generateFingerprint(ip, userAgent) {
|
|
|
6009
6009
|
}
|
|
6010
6010
|
async function getPluginSettings(db) {
|
|
6011
6011
|
try {
|
|
6012
|
-
const pluginService = new
|
|
6012
|
+
const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
|
|
6013
6013
|
const plugin2 = await pluginService.getPlugin("security-audit");
|
|
6014
6014
|
if (plugin2?.settings) {
|
|
6015
6015
|
const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
|
|
@@ -7019,7 +7019,7 @@ var DEFAULT_SETTINGS3 = {
|
|
|
7019
7019
|
|
|
7020
7020
|
// src/plugins/core-plugins/stripe-plugin/routes/admin.ts
|
|
7021
7021
|
var adminRoutes3 = new hono.Hono();
|
|
7022
|
-
adminRoutes3.use("*",
|
|
7022
|
+
adminRoutes3.use("*", chunkP4RAIX7B_cjs.requireAuth());
|
|
7023
7023
|
adminRoutes3.use("*", async (c, next) => {
|
|
7024
7024
|
const user = c.get("user");
|
|
7025
7025
|
if (user?.role !== "admin") {
|
|
@@ -7029,7 +7029,7 @@ adminRoutes3.use("*", async (c, next) => {
|
|
|
7029
7029
|
});
|
|
7030
7030
|
async function getSettings3(db) {
|
|
7031
7031
|
try {
|
|
7032
|
-
const pluginService = new
|
|
7032
|
+
const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
|
|
7033
7033
|
const plugin2 = await pluginService.getPlugin("stripe");
|
|
7034
7034
|
if (plugin2?.settings) {
|
|
7035
7035
|
const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
|
|
@@ -7351,7 +7351,7 @@ function timingSafeEqual(a, b) {
|
|
|
7351
7351
|
var apiRoutes3 = new hono.Hono();
|
|
7352
7352
|
async function getSettings4(db) {
|
|
7353
7353
|
try {
|
|
7354
|
-
const pluginService = new
|
|
7354
|
+
const pluginService = new chunkFXWF5D5V_cjs.PluginService(db);
|
|
7355
7355
|
const plugin2 = await pluginService.getPlugin("stripe");
|
|
7356
7356
|
if (plugin2?.settings) {
|
|
7357
7357
|
const settings = typeof plugin2.settings === "string" ? JSON.parse(plugin2.settings) : plugin2.settings;
|
|
@@ -7502,7 +7502,7 @@ apiRoutes3.post("/webhook", async (c) => {
|
|
|
7502
7502
|
}
|
|
7503
7503
|
return c.json({ received: true });
|
|
7504
7504
|
});
|
|
7505
|
-
apiRoutes3.post("/create-checkout-session",
|
|
7505
|
+
apiRoutes3.post("/create-checkout-session", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
|
|
7506
7506
|
const db = c.env.DB;
|
|
7507
7507
|
const user = c.get("user");
|
|
7508
7508
|
if (!user) return c.json({ error: "Unauthorized" }, 401);
|
|
@@ -7542,7 +7542,7 @@ apiRoutes3.post("/create-checkout-session", chunk3TVMUQWG_cjs.requireAuth(), asy
|
|
|
7542
7542
|
});
|
|
7543
7543
|
return c.json({ sessionId: session.id, url: session.url });
|
|
7544
7544
|
});
|
|
7545
|
-
apiRoutes3.get("/subscription",
|
|
7545
|
+
apiRoutes3.get("/subscription", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
|
|
7546
7546
|
const user = c.get("user");
|
|
7547
7547
|
if (!user) return c.json({ error: "Unauthorized" }, 401);
|
|
7548
7548
|
const db = c.env.DB;
|
|
@@ -7554,7 +7554,7 @@ apiRoutes3.get("/subscription", chunk3TVMUQWG_cjs.requireAuth(), async (c) => {
|
|
|
7554
7554
|
}
|
|
7555
7555
|
return c.json({ subscription });
|
|
7556
7556
|
});
|
|
7557
|
-
apiRoutes3.get("/subscriptions",
|
|
7557
|
+
apiRoutes3.get("/subscriptions", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
|
|
7558
7558
|
const user = c.get("user");
|
|
7559
7559
|
if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
|
|
7560
7560
|
const db = c.env.DB;
|
|
@@ -7570,7 +7570,7 @@ apiRoutes3.get("/subscriptions", chunk3TVMUQWG_cjs.requireAuth(), async (c) => {
|
|
|
7570
7570
|
const result = await subscriptionService.list(filters);
|
|
7571
7571
|
return c.json(result);
|
|
7572
7572
|
});
|
|
7573
|
-
apiRoutes3.get("/stats",
|
|
7573
|
+
apiRoutes3.get("/stats", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
|
|
7574
7574
|
const user = c.get("user");
|
|
7575
7575
|
if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
|
|
7576
7576
|
const db = c.env.DB;
|
|
@@ -7579,7 +7579,7 @@ apiRoutes3.get("/stats", chunk3TVMUQWG_cjs.requireAuth(), async (c) => {
|
|
|
7579
7579
|
const stats = await subscriptionService.getStats();
|
|
7580
7580
|
return c.json(stats);
|
|
7581
7581
|
});
|
|
7582
|
-
apiRoutes3.post("/sync-subscriptions",
|
|
7582
|
+
apiRoutes3.post("/sync-subscriptions", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
|
|
7583
7583
|
const user = c.get("user");
|
|
7584
7584
|
if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
|
|
7585
7585
|
const db = c.env.DB;
|
|
@@ -7627,7 +7627,7 @@ apiRoutes3.post("/sync-subscriptions", chunk3TVMUQWG_cjs.requireAuth(), async (c
|
|
|
7627
7627
|
}, 500);
|
|
7628
7628
|
}
|
|
7629
7629
|
});
|
|
7630
|
-
apiRoutes3.get("/events",
|
|
7630
|
+
apiRoutes3.get("/events", chunkP4RAIX7B_cjs.requireAuth(), async (c) => {
|
|
7631
7631
|
const user = c.get("user");
|
|
7632
7632
|
if (user?.role !== "admin") return c.json({ error: "Access denied" }, 403);
|
|
7633
7633
|
const db = c.env.DB;
|
|
@@ -7693,7 +7693,7 @@ function createStripePlugin() {
|
|
|
7693
7693
|
var stripePlugin = createStripePlugin();
|
|
7694
7694
|
|
|
7695
7695
|
// src/middleware/plugin-menu.ts
|
|
7696
|
-
var REGISTRY_MENU_PLUGINS = Object.values(
|
|
7696
|
+
var REGISTRY_MENU_PLUGINS = Object.values(chunkFXWF5D5V_cjs.PLUGIN_REGISTRY).filter((p) => p.adminMenu !== null).map((p) => ({
|
|
7697
7697
|
codeName: p.codeName,
|
|
7698
7698
|
label: p.adminMenu.label,
|
|
7699
7699
|
path: p.adminMenu.path,
|
|
@@ -7792,7 +7792,7 @@ var HOOKS2 = {
|
|
|
7792
7792
|
USER_LOGIN: "user:login"};
|
|
7793
7793
|
chunkUYJ6TJHX_cjs.init_admin_layout_catalyst_template();
|
|
7794
7794
|
var adminRoutes4 = new hono.Hono();
|
|
7795
|
-
adminRoutes4.use("*",
|
|
7795
|
+
adminRoutes4.use("*", chunkP4RAIX7B_cjs.requireAuth());
|
|
7796
7796
|
adminRoutes4.use("*", async (c, next) => {
|
|
7797
7797
|
const user = c.get("user");
|
|
7798
7798
|
if (user?.role !== "admin") {
|
|
@@ -9591,7 +9591,7 @@ function renderCacheDashboard(data) {
|
|
|
9591
9591
|
</script>
|
|
9592
9592
|
|
|
9593
9593
|
<!-- Confirmation Dialogs -->
|
|
9594
|
-
${
|
|
9594
|
+
${chunk2VY2G7OR_cjs.renderConfirmationDialog({
|
|
9595
9595
|
id: "clear-all-cache-confirm",
|
|
9596
9596
|
title: "Clear All Cache",
|
|
9597
9597
|
message: "Are you sure you want to clear all cache entries? This cannot be undone.",
|
|
@@ -9602,7 +9602,7 @@ function renderCacheDashboard(data) {
|
|
|
9602
9602
|
onConfirm: "performClearAllCaches()"
|
|
9603
9603
|
})}
|
|
9604
9604
|
|
|
9605
|
-
${
|
|
9605
|
+
${chunk2VY2G7OR_cjs.renderConfirmationDialog({
|
|
9606
9606
|
id: "clear-namespace-cache-confirm",
|
|
9607
9607
|
title: "Clear Namespace Cache",
|
|
9608
9608
|
message: "Clear cache for this namespace?",
|
|
@@ -9613,7 +9613,7 @@ function renderCacheDashboard(data) {
|
|
|
9613
9613
|
onConfirm: "performClearNamespaceCache()"
|
|
9614
9614
|
})}
|
|
9615
9615
|
|
|
9616
|
-
${
|
|
9616
|
+
${chunk2VY2G7OR_cjs.getConfirmationDialogScript()}
|
|
9617
9617
|
`;
|
|
9618
9618
|
const layoutData = {
|
|
9619
9619
|
title: "Cache System",
|
|
@@ -10299,14 +10299,14 @@ var faviconSvg = `<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
|
10299
10299
|
// src/app.ts
|
|
10300
10300
|
function createSonicJSApp(config = {}) {
|
|
10301
10301
|
const app2 = new hono.Hono();
|
|
10302
|
-
const appVersion = config.version ||
|
|
10302
|
+
const appVersion = config.version || chunkQ3W6LCEN_cjs.getCoreVersion();
|
|
10303
10303
|
const appName = config.name || "SonicJS AI";
|
|
10304
10304
|
app2.use("*", async (c, next) => {
|
|
10305
10305
|
c.set("appVersion", appVersion);
|
|
10306
10306
|
await next();
|
|
10307
10307
|
});
|
|
10308
|
-
app2.use("*",
|
|
10309
|
-
app2.use("*",
|
|
10308
|
+
app2.use("*", chunkP4RAIX7B_cjs.metricsMiddleware());
|
|
10309
|
+
app2.use("*", chunkP4RAIX7B_cjs.bootstrapMiddleware(config));
|
|
10310
10310
|
if (config.middleware?.beforeAuth) {
|
|
10311
10311
|
for (const middleware of config.middleware.beforeAuth) {
|
|
10312
10312
|
app2.use("*", middleware);
|
|
@@ -10315,32 +10315,32 @@ function createSonicJSApp(config = {}) {
|
|
|
10315
10315
|
app2.use("*", async (_c, next) => {
|
|
10316
10316
|
await next();
|
|
10317
10317
|
});
|
|
10318
|
-
app2.use("*",
|
|
10319
|
-
app2.use("*",
|
|
10318
|
+
app2.use("*", chunkP4RAIX7B_cjs.securityHeadersMiddleware());
|
|
10319
|
+
app2.use("*", chunkP4RAIX7B_cjs.csrfProtection());
|
|
10320
10320
|
if (config.middleware?.afterAuth) {
|
|
10321
10321
|
for (const middleware of config.middleware.afterAuth) {
|
|
10322
10322
|
app2.use("*", middleware);
|
|
10323
10323
|
}
|
|
10324
10324
|
}
|
|
10325
10325
|
const adminRoles = config.adminAccessRoles || ["admin"];
|
|
10326
|
-
app2.use("/admin/*",
|
|
10327
|
-
app2.use("/admin/*",
|
|
10326
|
+
app2.use("/admin/*", chunkP4RAIX7B_cjs.requireAuth());
|
|
10327
|
+
app2.use("/admin/*", chunkP4RAIX7B_cjs.requireRole(adminRoles));
|
|
10328
10328
|
app2.use("/admin/*", pluginMenuMiddleware());
|
|
10329
|
-
app2.route("/api",
|
|
10330
|
-
app2.route("/api/media",
|
|
10331
|
-
app2.route("/api/system",
|
|
10332
|
-
app2.route("/admin/api",
|
|
10333
|
-
app2.route("/admin/dashboard",
|
|
10334
|
-
app2.route("/admin/collections",
|
|
10335
|
-
app2.route("/admin/forms",
|
|
10336
|
-
app2.route("/admin/settings",
|
|
10337
|
-
app2.route("/forms",
|
|
10338
|
-
app2.route("/api/forms",
|
|
10339
|
-
app2.route("/admin/api-reference",
|
|
10329
|
+
app2.route("/api", chunk2VY2G7OR_cjs.api_default);
|
|
10330
|
+
app2.route("/api/media", chunk2VY2G7OR_cjs.api_media_default);
|
|
10331
|
+
app2.route("/api/system", chunk2VY2G7OR_cjs.api_system_default);
|
|
10332
|
+
app2.route("/admin/api", chunk2VY2G7OR_cjs.admin_api_default);
|
|
10333
|
+
app2.route("/admin/dashboard", chunk2VY2G7OR_cjs.router);
|
|
10334
|
+
app2.route("/admin/collections", chunk2VY2G7OR_cjs.adminCollectionsRoutes);
|
|
10335
|
+
app2.route("/admin/forms", chunk2VY2G7OR_cjs.adminFormsRoutes);
|
|
10336
|
+
app2.route("/admin/settings", chunk2VY2G7OR_cjs.adminSettingsRoutes);
|
|
10337
|
+
app2.route("/forms", chunk2VY2G7OR_cjs.public_forms_default);
|
|
10338
|
+
app2.route("/api/forms", chunk2VY2G7OR_cjs.public_forms_default);
|
|
10339
|
+
app2.route("/admin/api-reference", chunk2VY2G7OR_cjs.router2);
|
|
10340
10340
|
app2.route("/admin/database-tools", createDatabaseToolsAdminRoutes());
|
|
10341
10341
|
app2.route("/admin/seed-data", createSeedDataAdminRoutes());
|
|
10342
|
-
app2.route("/admin/content",
|
|
10343
|
-
app2.route("/admin/media",
|
|
10342
|
+
app2.route("/admin/content", chunk2VY2G7OR_cjs.admin_content_default);
|
|
10343
|
+
app2.route("/admin/media", chunk2VY2G7OR_cjs.adminMediaRoutes);
|
|
10344
10344
|
app2.use("/auth/*", securityAuditMiddleware());
|
|
10345
10345
|
if (securityAuditPlugin.routes && securityAuditPlugin.routes.length > 0) {
|
|
10346
10346
|
for (const route of securityAuditPlugin.routes) {
|
|
@@ -10358,8 +10358,8 @@ function createSonicJSApp(config = {}) {
|
|
|
10358
10358
|
app2.route(route.path, route.handler);
|
|
10359
10359
|
}
|
|
10360
10360
|
}
|
|
10361
|
-
if (
|
|
10362
|
-
for (const route of
|
|
10361
|
+
if (chunk2VY2G7OR_cjs.userProfilesPlugin.routes && chunk2VY2G7OR_cjs.userProfilesPlugin.routes.length > 0) {
|
|
10362
|
+
for (const route of chunk2VY2G7OR_cjs.userProfilesPlugin.routes) {
|
|
10363
10363
|
app2.route(route.path, route.handler);
|
|
10364
10364
|
}
|
|
10365
10365
|
}
|
|
@@ -10379,11 +10379,11 @@ function createSonicJSApp(config = {}) {
|
|
|
10379
10379
|
app2.route(route.path, route.handler);
|
|
10380
10380
|
}
|
|
10381
10381
|
}
|
|
10382
|
-
app2.route("/admin/plugins",
|
|
10383
|
-
app2.route("/admin/logs",
|
|
10384
|
-
app2.route("/admin",
|
|
10385
|
-
app2.route("/auth",
|
|
10386
|
-
app2.route("/",
|
|
10382
|
+
app2.route("/admin/plugins", chunk2VY2G7OR_cjs.adminPluginRoutes);
|
|
10383
|
+
app2.route("/admin/logs", chunk2VY2G7OR_cjs.adminLogsRoutes);
|
|
10384
|
+
app2.route("/admin", chunk2VY2G7OR_cjs.userRoutes);
|
|
10385
|
+
app2.route("/auth", chunk2VY2G7OR_cjs.auth_default);
|
|
10386
|
+
app2.route("/", chunk2VY2G7OR_cjs.test_cleanup_default);
|
|
10387
10387
|
if (emailPlugin.routes && emailPlugin.routes.length > 0) {
|
|
10388
10388
|
for (const route of emailPlugin.routes) {
|
|
10389
10389
|
app2.route(route.path, route.handler);
|
|
@@ -10467,99 +10467,99 @@ function createDb(d1$1) {
|
|
|
10467
10467
|
}
|
|
10468
10468
|
|
|
10469
10469
|
// src/index.ts
|
|
10470
|
-
var VERSION =
|
|
10470
|
+
var VERSION = chunkQ3W6LCEN_cjs.package_default.version;
|
|
10471
10471
|
|
|
10472
10472
|
Object.defineProperty(exports, "ROUTES_INFO", {
|
|
10473
10473
|
enumerable: true,
|
|
10474
|
-
get: function () { return
|
|
10474
|
+
get: function () { return chunk2VY2G7OR_cjs.ROUTES_INFO; }
|
|
10475
10475
|
});
|
|
10476
10476
|
Object.defineProperty(exports, "adminApiRoutes", {
|
|
10477
10477
|
enumerable: true,
|
|
10478
|
-
get: function () { return
|
|
10478
|
+
get: function () { return chunk2VY2G7OR_cjs.admin_api_default; }
|
|
10479
10479
|
});
|
|
10480
10480
|
Object.defineProperty(exports, "adminCheckboxRoutes", {
|
|
10481
10481
|
enumerable: true,
|
|
10482
|
-
get: function () { return
|
|
10482
|
+
get: function () { return chunk2VY2G7OR_cjs.adminCheckboxRoutes; }
|
|
10483
10483
|
});
|
|
10484
10484
|
Object.defineProperty(exports, "adminCodeExamplesRoutes", {
|
|
10485
10485
|
enumerable: true,
|
|
10486
|
-
get: function () { return
|
|
10486
|
+
get: function () { return chunk2VY2G7OR_cjs.admin_code_examples_default; }
|
|
10487
10487
|
});
|
|
10488
10488
|
Object.defineProperty(exports, "adminCollectionsRoutes", {
|
|
10489
10489
|
enumerable: true,
|
|
10490
|
-
get: function () { return
|
|
10490
|
+
get: function () { return chunk2VY2G7OR_cjs.adminCollectionsRoutes; }
|
|
10491
10491
|
});
|
|
10492
10492
|
Object.defineProperty(exports, "adminContentRoutes", {
|
|
10493
10493
|
enumerable: true,
|
|
10494
|
-
get: function () { return
|
|
10494
|
+
get: function () { return chunk2VY2G7OR_cjs.admin_content_default; }
|
|
10495
10495
|
});
|
|
10496
10496
|
Object.defineProperty(exports, "adminDashboardRoutes", {
|
|
10497
10497
|
enumerable: true,
|
|
10498
|
-
get: function () { return
|
|
10498
|
+
get: function () { return chunk2VY2G7OR_cjs.router; }
|
|
10499
10499
|
});
|
|
10500
10500
|
Object.defineProperty(exports, "adminDesignRoutes", {
|
|
10501
10501
|
enumerable: true,
|
|
10502
|
-
get: function () { return
|
|
10502
|
+
get: function () { return chunk2VY2G7OR_cjs.adminDesignRoutes; }
|
|
10503
10503
|
});
|
|
10504
10504
|
Object.defineProperty(exports, "adminLogsRoutes", {
|
|
10505
10505
|
enumerable: true,
|
|
10506
|
-
get: function () { return
|
|
10506
|
+
get: function () { return chunk2VY2G7OR_cjs.adminLogsRoutes; }
|
|
10507
10507
|
});
|
|
10508
10508
|
Object.defineProperty(exports, "adminMediaRoutes", {
|
|
10509
10509
|
enumerable: true,
|
|
10510
|
-
get: function () { return
|
|
10510
|
+
get: function () { return chunk2VY2G7OR_cjs.adminMediaRoutes; }
|
|
10511
10511
|
});
|
|
10512
10512
|
Object.defineProperty(exports, "adminPluginRoutes", {
|
|
10513
10513
|
enumerable: true,
|
|
10514
|
-
get: function () { return
|
|
10514
|
+
get: function () { return chunk2VY2G7OR_cjs.adminPluginRoutes; }
|
|
10515
10515
|
});
|
|
10516
10516
|
Object.defineProperty(exports, "adminSettingsRoutes", {
|
|
10517
10517
|
enumerable: true,
|
|
10518
|
-
get: function () { return
|
|
10518
|
+
get: function () { return chunk2VY2G7OR_cjs.adminSettingsRoutes; }
|
|
10519
10519
|
});
|
|
10520
10520
|
Object.defineProperty(exports, "adminTestimonialsRoutes", {
|
|
10521
10521
|
enumerable: true,
|
|
10522
|
-
get: function () { return
|
|
10522
|
+
get: function () { return chunk2VY2G7OR_cjs.admin_testimonials_default; }
|
|
10523
10523
|
});
|
|
10524
10524
|
Object.defineProperty(exports, "adminUsersRoutes", {
|
|
10525
10525
|
enumerable: true,
|
|
10526
|
-
get: function () { return
|
|
10526
|
+
get: function () { return chunk2VY2G7OR_cjs.userRoutes; }
|
|
10527
10527
|
});
|
|
10528
10528
|
Object.defineProperty(exports, "apiContentCrudRoutes", {
|
|
10529
10529
|
enumerable: true,
|
|
10530
|
-
get: function () { return
|
|
10530
|
+
get: function () { return chunk2VY2G7OR_cjs.api_content_crud_default; }
|
|
10531
10531
|
});
|
|
10532
10532
|
Object.defineProperty(exports, "apiMediaRoutes", {
|
|
10533
10533
|
enumerable: true,
|
|
10534
|
-
get: function () { return
|
|
10534
|
+
get: function () { return chunk2VY2G7OR_cjs.api_media_default; }
|
|
10535
10535
|
});
|
|
10536
10536
|
Object.defineProperty(exports, "apiRoutes", {
|
|
10537
10537
|
enumerable: true,
|
|
10538
|
-
get: function () { return
|
|
10538
|
+
get: function () { return chunk2VY2G7OR_cjs.api_default; }
|
|
10539
10539
|
});
|
|
10540
10540
|
Object.defineProperty(exports, "apiSystemRoutes", {
|
|
10541
10541
|
enumerable: true,
|
|
10542
|
-
get: function () { return
|
|
10542
|
+
get: function () { return chunk2VY2G7OR_cjs.api_system_default; }
|
|
10543
10543
|
});
|
|
10544
10544
|
Object.defineProperty(exports, "authRoutes", {
|
|
10545
10545
|
enumerable: true,
|
|
10546
|
-
get: function () { return
|
|
10546
|
+
get: function () { return chunk2VY2G7OR_cjs.auth_default; }
|
|
10547
10547
|
});
|
|
10548
10548
|
Object.defineProperty(exports, "createUserProfilesPlugin", {
|
|
10549
10549
|
enumerable: true,
|
|
10550
|
-
get: function () { return
|
|
10550
|
+
get: function () { return chunk2VY2G7OR_cjs.createUserProfilesPlugin; }
|
|
10551
10551
|
});
|
|
10552
10552
|
Object.defineProperty(exports, "defineUserProfile", {
|
|
10553
10553
|
enumerable: true,
|
|
10554
|
-
get: function () { return
|
|
10554
|
+
get: function () { return chunk2VY2G7OR_cjs.defineUserProfile; }
|
|
10555
10555
|
});
|
|
10556
10556
|
Object.defineProperty(exports, "getUserProfileConfig", {
|
|
10557
10557
|
enumerable: true,
|
|
10558
|
-
get: function () { return
|
|
10558
|
+
get: function () { return chunk2VY2G7OR_cjs.getUserProfileConfig; }
|
|
10559
10559
|
});
|
|
10560
10560
|
Object.defineProperty(exports, "userProfilesPlugin", {
|
|
10561
10561
|
enumerable: true,
|
|
10562
|
-
get: function () { return
|
|
10562
|
+
get: function () { return chunk2VY2G7OR_cjs.userProfilesPlugin; }
|
|
10563
10563
|
});
|
|
10564
10564
|
Object.defineProperty(exports, "Logger", {
|
|
10565
10565
|
enumerable: true,
|
|
@@ -10727,167 +10727,167 @@ Object.defineProperty(exports, "workflowHistory", {
|
|
|
10727
10727
|
});
|
|
10728
10728
|
Object.defineProperty(exports, "AuthManager", {
|
|
10729
10729
|
enumerable: true,
|
|
10730
|
-
get: function () { return
|
|
10730
|
+
get: function () { return chunkP4RAIX7B_cjs.AuthManager; }
|
|
10731
10731
|
});
|
|
10732
10732
|
Object.defineProperty(exports, "PermissionManager", {
|
|
10733
10733
|
enumerable: true,
|
|
10734
|
-
get: function () { return
|
|
10734
|
+
get: function () { return chunkP4RAIX7B_cjs.PermissionManager; }
|
|
10735
10735
|
});
|
|
10736
10736
|
Object.defineProperty(exports, "bootstrapMiddleware", {
|
|
10737
10737
|
enumerable: true,
|
|
10738
|
-
get: function () { return
|
|
10738
|
+
get: function () { return chunkP4RAIX7B_cjs.bootstrapMiddleware; }
|
|
10739
10739
|
});
|
|
10740
10740
|
Object.defineProperty(exports, "cacheHeaders", {
|
|
10741
10741
|
enumerable: true,
|
|
10742
|
-
get: function () { return
|
|
10742
|
+
get: function () { return chunkP4RAIX7B_cjs.cacheHeaders; }
|
|
10743
10743
|
});
|
|
10744
10744
|
Object.defineProperty(exports, "compressionMiddleware", {
|
|
10745
10745
|
enumerable: true,
|
|
10746
|
-
get: function () { return
|
|
10746
|
+
get: function () { return chunkP4RAIX7B_cjs.compressionMiddleware; }
|
|
10747
10747
|
});
|
|
10748
10748
|
Object.defineProperty(exports, "detailedLoggingMiddleware", {
|
|
10749
10749
|
enumerable: true,
|
|
10750
|
-
get: function () { return
|
|
10750
|
+
get: function () { return chunkP4RAIX7B_cjs.detailedLoggingMiddleware; }
|
|
10751
10751
|
});
|
|
10752
10752
|
Object.defineProperty(exports, "getActivePlugins", {
|
|
10753
10753
|
enumerable: true,
|
|
10754
|
-
get: function () { return
|
|
10754
|
+
get: function () { return chunkP4RAIX7B_cjs.getActivePlugins; }
|
|
10755
10755
|
});
|
|
10756
10756
|
Object.defineProperty(exports, "isPluginActive", {
|
|
10757
10757
|
enumerable: true,
|
|
10758
|
-
get: function () { return
|
|
10758
|
+
get: function () { return chunkP4RAIX7B_cjs.isPluginActive; }
|
|
10759
10759
|
});
|
|
10760
10760
|
Object.defineProperty(exports, "logActivity", {
|
|
10761
10761
|
enumerable: true,
|
|
10762
|
-
get: function () { return
|
|
10762
|
+
get: function () { return chunkP4RAIX7B_cjs.logActivity; }
|
|
10763
10763
|
});
|
|
10764
10764
|
Object.defineProperty(exports, "loggingMiddleware", {
|
|
10765
10765
|
enumerable: true,
|
|
10766
|
-
get: function () { return
|
|
10766
|
+
get: function () { return chunkP4RAIX7B_cjs.loggingMiddleware; }
|
|
10767
10767
|
});
|
|
10768
10768
|
Object.defineProperty(exports, "optionalAuth", {
|
|
10769
10769
|
enumerable: true,
|
|
10770
|
-
get: function () { return
|
|
10770
|
+
get: function () { return chunkP4RAIX7B_cjs.optionalAuth; }
|
|
10771
10771
|
});
|
|
10772
10772
|
Object.defineProperty(exports, "performanceLoggingMiddleware", {
|
|
10773
10773
|
enumerable: true,
|
|
10774
|
-
get: function () { return
|
|
10774
|
+
get: function () { return chunkP4RAIX7B_cjs.performanceLoggingMiddleware; }
|
|
10775
10775
|
});
|
|
10776
10776
|
Object.defineProperty(exports, "requireActivePlugin", {
|
|
10777
10777
|
enumerable: true,
|
|
10778
|
-
get: function () { return
|
|
10778
|
+
get: function () { return chunkP4RAIX7B_cjs.requireActivePlugin; }
|
|
10779
10779
|
});
|
|
10780
10780
|
Object.defineProperty(exports, "requireActivePlugins", {
|
|
10781
10781
|
enumerable: true,
|
|
10782
|
-
get: function () { return
|
|
10782
|
+
get: function () { return chunkP4RAIX7B_cjs.requireActivePlugins; }
|
|
10783
10783
|
});
|
|
10784
10784
|
Object.defineProperty(exports, "requireAnyPermission", {
|
|
10785
10785
|
enumerable: true,
|
|
10786
|
-
get: function () { return
|
|
10786
|
+
get: function () { return chunkP4RAIX7B_cjs.requireAnyPermission; }
|
|
10787
10787
|
});
|
|
10788
10788
|
Object.defineProperty(exports, "requireAuth", {
|
|
10789
10789
|
enumerable: true,
|
|
10790
|
-
get: function () { return
|
|
10790
|
+
get: function () { return chunkP4RAIX7B_cjs.requireAuth; }
|
|
10791
10791
|
});
|
|
10792
10792
|
Object.defineProperty(exports, "requirePermission", {
|
|
10793
10793
|
enumerable: true,
|
|
10794
|
-
get: function () { return
|
|
10794
|
+
get: function () { return chunkP4RAIX7B_cjs.requirePermission; }
|
|
10795
10795
|
});
|
|
10796
10796
|
Object.defineProperty(exports, "requireRole", {
|
|
10797
10797
|
enumerable: true,
|
|
10798
|
-
get: function () { return
|
|
10798
|
+
get: function () { return chunkP4RAIX7B_cjs.requireRole; }
|
|
10799
10799
|
});
|
|
10800
10800
|
Object.defineProperty(exports, "securityHeaders", {
|
|
10801
10801
|
enumerable: true,
|
|
10802
|
-
get: function () { return
|
|
10802
|
+
get: function () { return chunkP4RAIX7B_cjs.securityHeadersMiddleware; }
|
|
10803
10803
|
});
|
|
10804
10804
|
Object.defineProperty(exports, "securityLoggingMiddleware", {
|
|
10805
10805
|
enumerable: true,
|
|
10806
|
-
get: function () { return
|
|
10806
|
+
get: function () { return chunkP4RAIX7B_cjs.securityLoggingMiddleware; }
|
|
10807
10807
|
});
|
|
10808
10808
|
Object.defineProperty(exports, "PluginBootstrapService", {
|
|
10809
10809
|
enumerable: true,
|
|
10810
|
-
get: function () { return
|
|
10810
|
+
get: function () { return chunkFXWF5D5V_cjs.PluginBootstrapService; }
|
|
10811
10811
|
});
|
|
10812
10812
|
Object.defineProperty(exports, "PluginServiceClass", {
|
|
10813
10813
|
enumerable: true,
|
|
10814
|
-
get: function () { return
|
|
10814
|
+
get: function () { return chunkFXWF5D5V_cjs.PluginService; }
|
|
10815
10815
|
});
|
|
10816
10816
|
Object.defineProperty(exports, "backfillFormSubmissions", {
|
|
10817
10817
|
enumerable: true,
|
|
10818
|
-
get: function () { return
|
|
10818
|
+
get: function () { return chunkFXWF5D5V_cjs.backfillFormSubmissions; }
|
|
10819
10819
|
});
|
|
10820
10820
|
Object.defineProperty(exports, "cleanupRemovedCollections", {
|
|
10821
10821
|
enumerable: true,
|
|
10822
|
-
get: function () { return
|
|
10822
|
+
get: function () { return chunkFXWF5D5V_cjs.cleanupRemovedCollections; }
|
|
10823
10823
|
});
|
|
10824
10824
|
Object.defineProperty(exports, "createContentFromSubmission", {
|
|
10825
10825
|
enumerable: true,
|
|
10826
|
-
get: function () { return
|
|
10826
|
+
get: function () { return chunkFXWF5D5V_cjs.createContentFromSubmission; }
|
|
10827
10827
|
});
|
|
10828
10828
|
Object.defineProperty(exports, "deriveCollectionSchemaFromFormio", {
|
|
10829
10829
|
enumerable: true,
|
|
10830
|
-
get: function () { return
|
|
10830
|
+
get: function () { return chunkFXWF5D5V_cjs.deriveCollectionSchemaFromFormio; }
|
|
10831
10831
|
});
|
|
10832
10832
|
Object.defineProperty(exports, "deriveSubmissionTitle", {
|
|
10833
10833
|
enumerable: true,
|
|
10834
|
-
get: function () { return
|
|
10834
|
+
get: function () { return chunkFXWF5D5V_cjs.deriveSubmissionTitle; }
|
|
10835
10835
|
});
|
|
10836
10836
|
Object.defineProperty(exports, "fullCollectionSync", {
|
|
10837
10837
|
enumerable: true,
|
|
10838
|
-
get: function () { return
|
|
10838
|
+
get: function () { return chunkFXWF5D5V_cjs.fullCollectionSync; }
|
|
10839
10839
|
});
|
|
10840
10840
|
Object.defineProperty(exports, "getAvailableCollectionNames", {
|
|
10841
10841
|
enumerable: true,
|
|
10842
|
-
get: function () { return
|
|
10842
|
+
get: function () { return chunkFXWF5D5V_cjs.getAvailableCollectionNames; }
|
|
10843
10843
|
});
|
|
10844
10844
|
Object.defineProperty(exports, "getManagedCollections", {
|
|
10845
10845
|
enumerable: true,
|
|
10846
|
-
get: function () { return
|
|
10846
|
+
get: function () { return chunkFXWF5D5V_cjs.getManagedCollections; }
|
|
10847
10847
|
});
|
|
10848
10848
|
Object.defineProperty(exports, "isCollectionManaged", {
|
|
10849
10849
|
enumerable: true,
|
|
10850
|
-
get: function () { return
|
|
10850
|
+
get: function () { return chunkFXWF5D5V_cjs.isCollectionManaged; }
|
|
10851
10851
|
});
|
|
10852
10852
|
Object.defineProperty(exports, "loadCollectionConfig", {
|
|
10853
10853
|
enumerable: true,
|
|
10854
|
-
get: function () { return
|
|
10854
|
+
get: function () { return chunkFXWF5D5V_cjs.loadCollectionConfig; }
|
|
10855
10855
|
});
|
|
10856
10856
|
Object.defineProperty(exports, "loadCollectionConfigs", {
|
|
10857
10857
|
enumerable: true,
|
|
10858
|
-
get: function () { return
|
|
10858
|
+
get: function () { return chunkFXWF5D5V_cjs.loadCollectionConfigs; }
|
|
10859
10859
|
});
|
|
10860
10860
|
Object.defineProperty(exports, "mapFormStatusToContentStatus", {
|
|
10861
10861
|
enumerable: true,
|
|
10862
|
-
get: function () { return
|
|
10862
|
+
get: function () { return chunkFXWF5D5V_cjs.mapFormStatusToContentStatus; }
|
|
10863
10863
|
});
|
|
10864
10864
|
Object.defineProperty(exports, "registerCollections", {
|
|
10865
10865
|
enumerable: true,
|
|
10866
|
-
get: function () { return
|
|
10866
|
+
get: function () { return chunkFXWF5D5V_cjs.registerCollections; }
|
|
10867
10867
|
});
|
|
10868
10868
|
Object.defineProperty(exports, "syncAllFormCollections", {
|
|
10869
10869
|
enumerable: true,
|
|
10870
|
-
get: function () { return
|
|
10870
|
+
get: function () { return chunkFXWF5D5V_cjs.syncAllFormCollections; }
|
|
10871
10871
|
});
|
|
10872
10872
|
Object.defineProperty(exports, "syncCollection", {
|
|
10873
10873
|
enumerable: true,
|
|
10874
|
-
get: function () { return
|
|
10874
|
+
get: function () { return chunkFXWF5D5V_cjs.syncCollection; }
|
|
10875
10875
|
});
|
|
10876
10876
|
Object.defineProperty(exports, "syncCollections", {
|
|
10877
10877
|
enumerable: true,
|
|
10878
|
-
get: function () { return
|
|
10878
|
+
get: function () { return chunkFXWF5D5V_cjs.syncCollections; }
|
|
10879
10879
|
});
|
|
10880
10880
|
Object.defineProperty(exports, "syncFormCollection", {
|
|
10881
10881
|
enumerable: true,
|
|
10882
|
-
get: function () { return
|
|
10882
|
+
get: function () { return chunkFXWF5D5V_cjs.syncFormCollection; }
|
|
10883
10883
|
});
|
|
10884
10884
|
Object.defineProperty(exports, "validateCollectionConfig", {
|
|
10885
10885
|
enumerable: true,
|
|
10886
|
-
get: function () { return
|
|
10886
|
+
get: function () { return chunkFXWF5D5V_cjs.validateCollectionConfig; }
|
|
10887
10887
|
});
|
|
10888
10888
|
Object.defineProperty(exports, "MigrationService", {
|
|
10889
10889
|
enumerable: true,
|
|
10890
|
-
get: function () { return
|
|
10890
|
+
get: function () { return chunkLVGB5UU5_cjs.MigrationService; }
|
|
10891
10891
|
});
|
|
10892
10892
|
Object.defineProperty(exports, "renderFilterBar", {
|
|
10893
10893
|
enumerable: true,
|
|
@@ -10955,31 +10955,31 @@ Object.defineProperty(exports, "PluginHelpers", {
|
|
|
10955
10955
|
});
|
|
10956
10956
|
Object.defineProperty(exports, "QueryFilterBuilder", {
|
|
10957
10957
|
enumerable: true,
|
|
10958
|
-
get: function () { return
|
|
10958
|
+
get: function () { return chunkQ3W6LCEN_cjs.QueryFilterBuilder; }
|
|
10959
10959
|
});
|
|
10960
10960
|
Object.defineProperty(exports, "SONICJS_VERSION", {
|
|
10961
10961
|
enumerable: true,
|
|
10962
|
-
get: function () { return
|
|
10962
|
+
get: function () { return chunkQ3W6LCEN_cjs.SONICJS_VERSION; }
|
|
10963
10963
|
});
|
|
10964
10964
|
Object.defineProperty(exports, "TemplateRenderer", {
|
|
10965
10965
|
enumerable: true,
|
|
10966
|
-
get: function () { return
|
|
10966
|
+
get: function () { return chunkQ3W6LCEN_cjs.TemplateRenderer; }
|
|
10967
10967
|
});
|
|
10968
10968
|
Object.defineProperty(exports, "buildQuery", {
|
|
10969
10969
|
enumerable: true,
|
|
10970
|
-
get: function () { return
|
|
10970
|
+
get: function () { return chunkQ3W6LCEN_cjs.buildQuery; }
|
|
10971
10971
|
});
|
|
10972
10972
|
Object.defineProperty(exports, "getCoreVersion", {
|
|
10973
10973
|
enumerable: true,
|
|
10974
|
-
get: function () { return
|
|
10974
|
+
get: function () { return chunkQ3W6LCEN_cjs.getCoreVersion; }
|
|
10975
10975
|
});
|
|
10976
10976
|
Object.defineProperty(exports, "renderTemplate", {
|
|
10977
10977
|
enumerable: true,
|
|
10978
|
-
get: function () { return
|
|
10978
|
+
get: function () { return chunkQ3W6LCEN_cjs.renderTemplate; }
|
|
10979
10979
|
});
|
|
10980
10980
|
Object.defineProperty(exports, "templateRenderer", {
|
|
10981
10981
|
enumerable: true,
|
|
10982
|
-
get: function () { return
|
|
10982
|
+
get: function () { return chunkQ3W6LCEN_cjs.templateRenderer; }
|
|
10983
10983
|
});
|
|
10984
10984
|
Object.defineProperty(exports, "metricsTracker", {
|
|
10985
10985
|
enumerable: true,
|