@nexpress/core 0.2.1 → 0.3.0

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 (109) hide show
  1. package/dist/{audit-54XLVCWD.js → audit-43OLHR3U.js} +4 -4
  2. package/dist/auth.d.ts +2 -2
  3. package/dist/auth.js +6 -6
  4. package/dist/{can-YLUHRJAB.js → can-FKIEV54H.js} +5 -5
  5. package/dist/{chunk-TFJ4MKPH.js → chunk-26RYBFTF.js} +2 -2
  6. package/dist/{chunk-PPAS4SZR.js → chunk-2KNG5KMM.js} +2 -2
  7. package/dist/{chunk-CYCRYBLX.js → chunk-4EPNN4XG.js} +3 -3
  8. package/dist/{chunk-PPBWRKO2.js → chunk-74CGJJDY.js} +3 -3
  9. package/dist/{chunk-2YDGE7YX.js → chunk-B7DTNT4O.js} +2 -2
  10. package/dist/{chunk-CTSQ7BRI.js → chunk-CAS4Z6IN.js} +2 -2
  11. package/dist/{chunk-BHK3AD3Q.js → chunk-CHQJG4BB.js} +3 -3
  12. package/dist/{chunk-NUCGHWCF.js → chunk-CKT4QZDC.js} +7 -7
  13. package/dist/{chunk-RNR7KISG.js → chunk-DPRBHEHI.js} +4 -4
  14. package/dist/{chunk-473S4TER.js → chunk-DWG3RZH2.js} +4 -4
  15. package/dist/{chunk-QVJ2HCAX.js → chunk-ELK6AVW5.js} +4 -4
  16. package/dist/{chunk-RRYDSZXG.js → chunk-EVOBLRHW.js} +6 -6
  17. package/dist/{chunk-UGQSQO5B.js → chunk-HM46WM45.js} +9 -9
  18. package/dist/{chunk-2M4DQNHX.js → chunk-HTDDXBMY.js} +29 -29
  19. package/dist/{chunk-THX3SHYA.js → chunk-L6VG7IK6.js} +3 -3
  20. package/dist/{chunk-VNIHXQ7W.js → chunk-LN6NTH6E.js} +5 -5
  21. package/dist/{chunk-RIPHIRPP.js → chunk-ML2E3P3X.js} +3 -3
  22. package/dist/{chunk-JJL74ZPK.js → chunk-NFHS7CFV.js} +2 -2
  23. package/dist/{chunk-55FU6WED.js → chunk-PQBJWZ7D.js} +6 -6
  24. package/dist/{chunk-DK2JBJH7.js → chunk-QBIJZZ5V.js} +3 -3
  25. package/dist/{chunk-XX4GLFD6.js → chunk-QSJIKNQJ.js} +11 -11
  26. package/dist/{chunk-OK5HOCQI.js → chunk-QYP6E5FP.js} +4 -4
  27. package/dist/{chunk-2GWRIV3W.js → chunk-TD4KNSEP.js} +18 -18
  28. package/dist/{chunk-S27S42QY.js → chunk-TETTWT56.js} +2 -2
  29. package/dist/{chunk-FZ7O6DWI.js → chunk-U4QCCLAW.js} +2 -2
  30. package/dist/{chunk-M43PGOQY.js → chunk-X7K5F2UI.js} +474 -474
  31. package/dist/chunk-X7K5F2UI.js.map +1 -0
  32. package/dist/community.d.ts +1 -1
  33. package/dist/community.js +17 -17
  34. package/dist/{config-QJLI2A5L.js → config-2Y2YGD25.js} +10 -10
  35. package/dist/db-schema.d.ts +2 -2
  36. package/dist/db-schema.js +2 -2
  37. package/dist/db.d.ts +3 -3
  38. package/dist/db.js +3 -3
  39. package/dist/{digest-SY42GQSU.js → digest-ZODDTXA2.js} +6 -6
  40. package/dist/{host-RVFIDFPR.js → host-YSADWU7J.js} +7 -7
  41. package/dist/i18n.d.ts +1 -1
  42. package/dist/i18n.js +5 -5
  43. package/dist/{index-B6-_vr_m.d.ts → index-7_PBSyOq.d.ts} +1 -1
  44. package/dist/{index-XwP1ET8b.d.ts → index-9IhVtFfA.d.ts} +2 -2
  45. package/dist/{index-CY55LC0u.d.ts → index-CXuqW_Gl.d.ts} +3 -3
  46. package/dist/{index-CeiTvwbp.d.ts → index-ClcinJ29.d.ts} +1 -1
  47. package/dist/index.d.ts +34 -8
  48. package/dist/index.js +226 -33
  49. package/dist/index.js.map +1 -1
  50. package/dist/{job-log-VZXWQUDK.js → job-log-N3IGI4NA.js} +4 -4
  51. package/dist/jobs.d.ts +2 -2
  52. package/dist/jobs.js +4 -4
  53. package/dist/{logger-S7REWDNE.js → logger-2WUTTELV.js} +2 -2
  54. package/dist/media.d.ts +2 -2
  55. package/dist/media.js +5 -5
  56. package/dist/{mentions-2IHFVSHW.js → mentions-NCQR4B72.js} +5 -5
  57. package/dist/{mutes-EWAE5FZR.js → mutes-FJSSU2JP.js} +5 -5
  58. package/dist/{notification-prefs-VPJDU7I6.js → notification-prefs-H4HFVCL7.js} +3 -3
  59. package/dist/observability.js +2 -2
  60. package/dist/{registry-XIXDEPVI.js → registry-WZVL5HH6.js} +3 -3
  61. package/dist/reputation-ICIXDGPM.js +11 -0
  62. package/dist/{scheduled-2AHT3QBN.js → scheduled-F77QCDOG.js} +8 -8
  63. package/dist/seo.js +7 -7
  64. package/dist/{settings-FOBIESPB.js → settings-JODDWMDB.js} +3 -3
  65. package/dist/{strings-VAE47B2C.js → strings-4EWJYDOG.js} +6 -6
  66. package/dist/{types-TlsbXS0T.d.ts → types-DI3gxsiY.d.ts} +43 -16
  67. package/package.json +1 -1
  68. package/dist/chunk-M43PGOQY.js.map +0 -1
  69. package/dist/reputation-JRL2YQHM.js +0 -11
  70. /package/dist/{audit-54XLVCWD.js.map → audit-43OLHR3U.js.map} +0 -0
  71. /package/dist/{can-YLUHRJAB.js.map → can-FKIEV54H.js.map} +0 -0
  72. /package/dist/{chunk-TFJ4MKPH.js.map → chunk-26RYBFTF.js.map} +0 -0
  73. /package/dist/{chunk-PPAS4SZR.js.map → chunk-2KNG5KMM.js.map} +0 -0
  74. /package/dist/{chunk-CYCRYBLX.js.map → chunk-4EPNN4XG.js.map} +0 -0
  75. /package/dist/{chunk-PPBWRKO2.js.map → chunk-74CGJJDY.js.map} +0 -0
  76. /package/dist/{chunk-2YDGE7YX.js.map → chunk-B7DTNT4O.js.map} +0 -0
  77. /package/dist/{chunk-CTSQ7BRI.js.map → chunk-CAS4Z6IN.js.map} +0 -0
  78. /package/dist/{chunk-BHK3AD3Q.js.map → chunk-CHQJG4BB.js.map} +0 -0
  79. /package/dist/{chunk-NUCGHWCF.js.map → chunk-CKT4QZDC.js.map} +0 -0
  80. /package/dist/{chunk-RNR7KISG.js.map → chunk-DPRBHEHI.js.map} +0 -0
  81. /package/dist/{chunk-473S4TER.js.map → chunk-DWG3RZH2.js.map} +0 -0
  82. /package/dist/{chunk-QVJ2HCAX.js.map → chunk-ELK6AVW5.js.map} +0 -0
  83. /package/dist/{chunk-RRYDSZXG.js.map → chunk-EVOBLRHW.js.map} +0 -0
  84. /package/dist/{chunk-UGQSQO5B.js.map → chunk-HM46WM45.js.map} +0 -0
  85. /package/dist/{chunk-2M4DQNHX.js.map → chunk-HTDDXBMY.js.map} +0 -0
  86. /package/dist/{chunk-THX3SHYA.js.map → chunk-L6VG7IK6.js.map} +0 -0
  87. /package/dist/{chunk-VNIHXQ7W.js.map → chunk-LN6NTH6E.js.map} +0 -0
  88. /package/dist/{chunk-RIPHIRPP.js.map → chunk-ML2E3P3X.js.map} +0 -0
  89. /package/dist/{chunk-JJL74ZPK.js.map → chunk-NFHS7CFV.js.map} +0 -0
  90. /package/dist/{chunk-55FU6WED.js.map → chunk-PQBJWZ7D.js.map} +0 -0
  91. /package/dist/{chunk-DK2JBJH7.js.map → chunk-QBIJZZ5V.js.map} +0 -0
  92. /package/dist/{chunk-XX4GLFD6.js.map → chunk-QSJIKNQJ.js.map} +0 -0
  93. /package/dist/{chunk-OK5HOCQI.js.map → chunk-QYP6E5FP.js.map} +0 -0
  94. /package/dist/{chunk-2GWRIV3W.js.map → chunk-TD4KNSEP.js.map} +0 -0
  95. /package/dist/{chunk-S27S42QY.js.map → chunk-TETTWT56.js.map} +0 -0
  96. /package/dist/{chunk-FZ7O6DWI.js.map → chunk-U4QCCLAW.js.map} +0 -0
  97. /package/dist/{config-QJLI2A5L.js.map → config-2Y2YGD25.js.map} +0 -0
  98. /package/dist/{digest-SY42GQSU.js.map → digest-ZODDTXA2.js.map} +0 -0
  99. /package/dist/{host-RVFIDFPR.js.map → host-YSADWU7J.js.map} +0 -0
  100. /package/dist/{job-log-VZXWQUDK.js.map → job-log-N3IGI4NA.js.map} +0 -0
  101. /package/dist/{logger-S7REWDNE.js.map → logger-2WUTTELV.js.map} +0 -0
  102. /package/dist/{mentions-2IHFVSHW.js.map → mentions-NCQR4B72.js.map} +0 -0
  103. /package/dist/{mutes-EWAE5FZR.js.map → mutes-FJSSU2JP.js.map} +0 -0
  104. /package/dist/{notification-prefs-VPJDU7I6.js.map → notification-prefs-H4HFVCL7.js.map} +0 -0
  105. /package/dist/{registry-XIXDEPVI.js.map → registry-WZVL5HH6.js.map} +0 -0
  106. /package/dist/{reputation-JRL2YQHM.js.map → reputation-ICIXDGPM.js.map} +0 -0
  107. /package/dist/{scheduled-2AHT3QBN.js.map → scheduled-F77QCDOG.js.map} +0 -0
  108. /package/dist/{settings-FOBIESPB.js.map → settings-JODDWMDB.js.map} +0 -0
  109. /package/dist/{strings-VAE47B2C.js.map → strings-4EWJYDOG.js.map} +0 -0
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  recordDigestSent
3
- } from "./chunk-CTSQ7BRI.js";
3
+ } from "./chunk-CAS4Z6IN.js";
4
4
  import {
5
5
  NP_DEFAULT_SITE_ID,
6
6
  listSites
7
- } from "./chunk-FZ7O6DWI.js";
7
+ } from "./chunk-U4QCCLAW.js";
8
8
  import {
9
9
  getEmailAdapter
10
10
  } from "./chunk-LSHHRDVR.js";
11
11
  import {
12
12
  getLogger
13
- } from "./chunk-JJL74ZPK.js";
13
+ } from "./chunk-NFHS7CFV.js";
14
14
  import {
15
15
  getDb
16
16
  } from "./chunk-XANPEOJC.js";
17
17
  import {
18
18
  npMembers,
19
19
  npNotifications
20
- } from "./chunk-M43PGOQY.js";
20
+ } from "./chunk-X7K5F2UI.js";
21
21
 
22
22
  // src/community/digest.ts
23
23
  import { and, desc, eq, gt, isNull, sql } from "drizzle-orm";
@@ -191,4 +191,4 @@ export {
191
191
  buildDigestEmail,
192
192
  runDigestSweep
193
193
  };
194
- //# sourceMappingURL=chunk-VNIHXQ7W.js.map
194
+ //# sourceMappingURL=chunk-LN6NTH6E.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-SBCVAC2Z.js";
4
4
  import {
5
5
  getLogger
6
- } from "./chunk-JJL74ZPK.js";
6
+ } from "./chunk-NFHS7CFV.js";
7
7
  import {
8
8
  getDb
9
9
  } from "./chunk-XANPEOJC.js";
10
10
  import {
11
11
  npAuditEvents
12
- } from "./chunk-M43PGOQY.js";
12
+ } from "./chunk-X7K5F2UI.js";
13
13
 
14
14
  // src/community/audit.ts
15
15
  import { and, count, desc, eq, gte, lt } from "drizzle-orm";
@@ -65,4 +65,4 @@ export {
65
65
  recordAuditEvent,
66
66
  listAuditEvents
67
67
  };
68
- //# sourceMappingURL=chunk-RIPHIRPP.js.map
68
+ //# sourceMappingURL=chunk-ML2E3P3X.js.map
@@ -12,7 +12,7 @@ var teeImportPromise = null;
12
12
  async function teeToJobLog(level, message, context) {
13
13
  try {
14
14
  if (!teeImportPromise) {
15
- teeImportPromise = import("./job-log-VZXWQUDK.js");
15
+ teeImportPromise = import("./job-log-N3IGI4NA.js");
16
16
  }
17
17
  const mod = await teeImportPromise;
18
18
  if (mod.getCurrentJobId() !== null) {
@@ -65,4 +65,4 @@ export {
65
65
  getScopedLogger,
66
66
  resetLogger
67
67
  };
68
- //# sourceMappingURL=chunk-JJL74ZPK.js.map
68
+ //# sourceMappingURL=chunk-NFHS7CFV.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  NP_DEFAULT_SITE_ID
3
- } from "./chunk-FZ7O6DWI.js";
4
- import {
5
- getCurrentSiteId
6
- } from "./chunk-SBCVAC2Z.js";
3
+ } from "./chunk-U4QCCLAW.js";
7
4
  import {
8
5
  NpForbiddenError
9
6
  } from "./chunk-ZCINJSS4.js";
7
+ import {
8
+ getCurrentSiteId
9
+ } from "./chunk-SBCVAC2Z.js";
10
10
  import {
11
11
  getDb
12
12
  } from "./chunk-XANPEOJC.js";
13
13
  import {
14
14
  npBans,
15
15
  npMemberRoles
16
- } from "./chunk-M43PGOQY.js";
16
+ } from "./chunk-X7K5F2UI.js";
17
17
 
18
18
  // src/community/can.ts
19
19
  import { and, eq, gt, isNull, or } from "drizzle-orm";
@@ -176,4 +176,4 @@ export {
176
176
  withMemberWrite,
177
177
  memberCan
178
178
  };
179
- //# sourceMappingURL=chunk-55FU6WED.js.map
179
+ //# sourceMappingURL=chunk-PQBJWZ7D.js.map
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-OROPGO65.js";
4
4
  import {
5
5
  getLogger
6
- } from "./chunk-JJL74ZPK.js";
6
+ } from "./chunk-NFHS7CFV.js";
7
7
  import {
8
8
  getDb
9
9
  } from "./chunk-XANPEOJC.js";
10
10
  import {
11
11
  npJobLogs
12
- } from "./chunk-M43PGOQY.js";
12
+ } from "./chunk-X7K5F2UI.js";
13
13
 
14
14
  // src/jobs/job-log.ts
15
15
  import { AsyncLocalStorage } from "async_hooks";
@@ -78,4 +78,4 @@ export {
78
78
  pruneJobLogsOlderThan,
79
79
  countJobLogs
80
80
  };
81
- //# sourceMappingURL=chunk-DK2JBJH7.js.map
81
+ //# sourceMappingURL=chunk-QBIJZZ5V.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  recordJobLog,
3
3
  runInJobContext
4
- } from "./chunk-DK2JBJH7.js";
4
+ } from "./chunk-QBIJZZ5V.js";
5
5
  import {
6
6
  getEmailAdapter
7
7
  } from "./chunk-LSHHRDVR.js";
@@ -16,14 +16,14 @@ import {
16
16
  } from "./chunk-OROPGO65.js";
17
17
  import {
18
18
  getLogger
19
- } from "./chunk-JJL74ZPK.js";
19
+ } from "./chunk-NFHS7CFV.js";
20
20
  import {
21
21
  getDb
22
22
  } from "./chunk-XANPEOJC.js";
23
23
  import {
24
24
  npSettings,
25
25
  npWorkerHeartbeats
26
- } from "./chunk-M43PGOQY.js";
26
+ } from "./chunk-X7K5F2UI.js";
27
27
 
28
28
  // src/jobs/handlers.ts
29
29
  var handlers = /* @__PURE__ */ new Map();
@@ -145,7 +145,7 @@ function registerBuiltinHandlers() {
145
145
  registerJobHandler("notifications:sendDigest", handleNotificationsSendDigest);
146
146
  }
147
147
  async function handleContentPublishScheduled(_) {
148
- const { publishScheduledDocuments } = await import("./scheduled-2AHT3QBN.js");
148
+ const { publishScheduledDocuments } = await import("./scheduled-F77QCDOG.js");
149
149
  const result = await publishScheduledDocuments();
150
150
  if (result.published > 0) {
151
151
  console.info(
@@ -193,7 +193,7 @@ async function handleMediaCleanup(data) {
193
193
  async function handlePluginScheduledTask(data) {
194
194
  if (isRecord(data) && typeof data.pluginId === "string" && typeof data.taskId === "string") {
195
195
  try {
196
- const { runPluginScheduledTask } = await import("./host-RVFIDFPR.js");
196
+ const { runPluginScheduledTask } = await import("./host-YSADWU7J.js");
197
197
  await runPluginScheduledTask(data.pluginId, data.taskId);
198
198
  return;
199
199
  } catch (err) {
@@ -212,7 +212,7 @@ async function handleSessionCleanup(_) {
212
212
  await builtinJobContext.cleanupSessions?.();
213
213
  }
214
214
  async function handleJobLogPrune(_) {
215
- const { pruneJobLogsOlderThan: pruneJobLogsOlderThan2, DEFAULT_JOB_LOG_RETENTION_MS: DEFAULT_JOB_LOG_RETENTION_MS2 } = await import("./job-log-VZXWQUDK.js");
215
+ const { pruneJobLogsOlderThan: pruneJobLogsOlderThan2, DEFAULT_JOB_LOG_RETENTION_MS: DEFAULT_JOB_LOG_RETENTION_MS2 } = await import("./job-log-N3IGI4NA.js");
216
216
  const cutoff = new Date(Date.now() - DEFAULT_JOB_LOG_RETENTION_MS2);
217
217
  const deleted = await pruneJobLogsOlderThan2(cutoff);
218
218
  if (deleted > 0) {
@@ -387,7 +387,7 @@ async function handleMemberSendPasswordReset(data) {
387
387
  async function handleNotificationsSendDigest(data) {
388
388
  const cadence = isRecord(data) && (data.cadence === "daily" || data.cadence === "weekly") ? data.cadence : "daily";
389
389
  const siteName = isRecord(data) && typeof data.siteName === "string" ? data.siteName : void 0;
390
- const { runDigestSweep } = await import("./digest-SY42GQSU.js");
390
+ const { runDigestSweep } = await import("./digest-ZODDTXA2.js");
391
391
  const result = await runDigestSweep({ cadence, siteName });
392
392
  console.info(
393
393
  `[nexpress] notifications:sendDigest cadence=${cadence} considered=${result.considered} sent=${result.sent} skipped=${result.skipped} failed=${result.failed}`
@@ -673,7 +673,7 @@ var PgBossAdapter = class {
673
673
  this.workRegistrations.push({ queueName, register });
674
674
  await register();
675
675
  }
676
- const { getRegisteredPluginSchedules, runPluginScheduledTask } = await import("./host-RVFIDFPR.js");
676
+ const { getRegisteredPluginSchedules, runPluginScheduledTask } = await import("./host-YSADWU7J.js");
677
677
  for (const schedule of getRegisteredPluginSchedules()) {
678
678
  const queueName = `${toQueueName("plugin:scheduledTask")}.${schedule.pluginId}.${schedule.taskId}`;
679
679
  await this.boss.createQueue(queueName);
@@ -775,7 +775,7 @@ var PgBossAdapter = class {
775
775
  });
776
776
  await this.boss.schedule(digestQueue, "0 8 * * *", { cadence: "daily" }, { key: "daily" });
777
777
  await this.boss.schedule(digestQueue, "0 8 * * 1", { cadence: "weekly" }, { key: "weekly" });
778
- const { getRegisteredPluginSchedules } = await import("./host-RVFIDFPR.js");
778
+ const { getRegisteredPluginSchedules } = await import("./host-YSADWU7J.js");
779
779
  for (const schedule of getRegisteredPluginSchedules()) {
780
780
  const pgBossName = `${toQueueName("plugin:scheduledTask")}.${schedule.pluginId}.${schedule.taskId}`;
781
781
  await this.boss.schedule(pgBossName, schedule.cron, {
@@ -939,7 +939,7 @@ var PgBossAdapter = class {
939
939
  * `workerOwnsRegistrations` so the admin UI can warn the operator.
940
940
  */
941
941
  async reconcilePluginSchedules() {
942
- const { getRegisteredPluginSchedules } = await import("./host-RVFIDFPR.js");
942
+ const { getRegisteredPluginSchedules } = await import("./host-YSADWU7J.js");
943
943
  const wantedList = getRegisteredPluginSchedules();
944
944
  const wantedByName = /* @__PURE__ */ new Map();
945
945
  for (const schedule of wantedList) {
@@ -1267,4 +1267,4 @@ export {
1267
1267
  stopWorker,
1268
1268
  stopProducer
1269
1269
  };
1270
- //# sourceMappingURL=chunk-XX4GLFD6.js.map
1270
+ //# sourceMappingURL=chunk-QSJIKNQJ.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  recordAuditEvent
3
- } from "./chunk-RIPHIRPP.js";
3
+ } from "./chunk-ML2E3P3X.js";
4
4
  import {
5
5
  getCommunitySettings
6
- } from "./chunk-PPBWRKO2.js";
6
+ } from "./chunk-74CGJJDY.js";
7
7
  import {
8
8
  NpAuthError,
9
9
  NpForbiddenError,
@@ -23,7 +23,7 @@ import {
23
23
  npSessions,
24
24
  npUserOAuthIdentities,
25
25
  npUsers
26
- } from "./chunk-M43PGOQY.js";
26
+ } from "./chunk-X7K5F2UI.js";
27
27
 
28
28
  // src/config/access.ts
29
29
  var authenticated = ({ user }) => !!user;
@@ -842,4 +842,4 @@ export {
842
842
  requestMemberPasswordReset,
843
843
  consumeMemberPasswordReset
844
844
  };
845
- //# sourceMappingURL=chunk-OK5HOCQI.js.map
845
+ //# sourceMappingURL=chunk-QYP6E5FP.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  getMutedTargetIds
3
- } from "./chunk-NUCGHWCF.js";
3
+ } from "./chunk-CKT4QZDC.js";
4
4
  import {
5
5
  createNotification,
6
6
  extractMentionHandles,
7
7
  fanOutMentionNotifications
8
- } from "./chunk-UGQSQO5B.js";
8
+ } from "./chunk-HM46WM45.js";
9
9
  import {
10
10
  applyReputation
11
- } from "./chunk-THX3SHYA.js";
11
+ } from "./chunk-L6VG7IK6.js";
12
12
  import {
13
13
  getSpamAdapter
14
14
  } from "./chunk-JKXAPSU4.js";
@@ -19,23 +19,23 @@ import {
19
19
  getCommunityRole,
20
20
  memberCan,
21
21
  withMemberWrite
22
- } from "./chunk-55FU6WED.js";
22
+ } from "./chunk-PQBJWZ7D.js";
23
23
  import {
24
24
  buildWeightedSearchVectorSql,
25
25
  deleteDocument,
26
26
  findDocuments,
27
27
  getDocumentById,
28
28
  saveDocument
29
- } from "./chunk-2M4DQNHX.js";
29
+ } from "./chunk-HTDDXBMY.js";
30
30
  import {
31
31
  can
32
32
  } from "./chunk-EQ2Z3KMD.js";
33
33
  import {
34
34
  recordAuditEvent
35
- } from "./chunk-RIPHIRPP.js";
35
+ } from "./chunk-ML2E3P3X.js";
36
36
  import {
37
37
  getCommunitySettings
38
- } from "./chunk-PPBWRKO2.js";
38
+ } from "./chunk-74CGJJDY.js";
39
39
  import {
40
40
  getI18nConfig
41
41
  } from "./chunk-4ZLMEKFX.js";
@@ -45,26 +45,26 @@ import {
45
45
  getCollectionConfig,
46
46
  getCollectionRegistration,
47
47
  getCollectionTable
48
- } from "./chunk-FZ7O6DWI.js";
49
- import {
50
- getCurrentSiteId,
51
- requireSiteId
52
- } from "./chunk-SBCVAC2Z.js";
48
+ } from "./chunk-U4QCCLAW.js";
53
49
  import {
54
50
  NpConflictError,
55
51
  NpForbiddenError,
56
52
  NpNotFoundError,
57
53
  NpValidationError
58
54
  } from "./chunk-ZCINJSS4.js";
55
+ import {
56
+ getCurrentSiteId,
57
+ requireSiteId
58
+ } from "./chunk-SBCVAC2Z.js";
59
59
  import {
60
60
  getMediaUrl
61
- } from "./chunk-BHK3AD3Q.js";
61
+ } from "./chunk-CHQJG4BB.js";
62
62
  import {
63
63
  deleteMedia
64
- } from "./chunk-473S4TER.js";
64
+ } from "./chunk-DWG3RZH2.js";
65
65
  import {
66
66
  getLogger
67
- } from "./chunk-JJL74ZPK.js";
67
+ } from "./chunk-NFHS7CFV.js";
68
68
  import {
69
69
  getDb
70
70
  } from "./chunk-XANPEOJC.js";
@@ -78,7 +78,7 @@ import {
78
78
  npReactions,
79
79
  npReports,
80
80
  npRevisions
81
- } from "./chunk-M43PGOQY.js";
81
+ } from "./chunk-X7K5F2UI.js";
82
82
 
83
83
  // src/community/profiles.ts
84
84
  import { and, eq, inArray, ne, or } from "drizzle-orm";
@@ -1587,7 +1587,7 @@ async function searchCollections(opts) {
1587
1587
  });
1588
1588
  if (adapterResult) return adapterResult;
1589
1589
  } catch (err) {
1590
- const { getLogger: getLogger2 } = await import("./logger-S7REWDNE.js");
1590
+ const { getLogger: getLogger2 } = await import("./logger-2WUTTELV.js");
1591
1591
  getLogger2().warn("search adapter threw \u2014 falling back to pg tsvector", {
1592
1592
  error: err instanceof Error ? err.message : String(err)
1593
1593
  });
@@ -1956,4 +1956,4 @@ export {
1956
1956
  revokeMemberRole,
1957
1957
  purgeMemberContent
1958
1958
  };
1959
- //# sourceMappingURL=chunk-2GWRIV3W.js.map
1959
+ //# sourceMappingURL=chunk-TD4KNSEP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  npMediaRefs
3
- } from "./chunk-M43PGOQY.js";
3
+ } from "./chunk-X7K5F2UI.js";
4
4
 
5
5
  // src/media/refs.ts
6
6
  import { and, eq } from "drizzle-orm";
@@ -131,4 +131,4 @@ export {
131
131
  extractMediaIds,
132
132
  syncMediaRefs
133
133
  };
134
- //# sourceMappingURL=chunk-S27S42QY.js.map
134
+ //# sourceMappingURL=chunk-TETTWT56.js.map
@@ -21,7 +21,7 @@ import {
21
21
  npSiteMemberships,
22
22
  npSites,
23
23
  npStringOverrides
24
- } from "./chunk-M43PGOQY.js";
24
+ } from "./chunk-X7K5F2UI.js";
25
25
 
26
26
  // src/sites/registry.ts
27
27
  import { eq, asc, sql } from "drizzle-orm";
@@ -302,4 +302,4 @@ export {
302
302
  deleteSite,
303
303
  NP_DEFAULT_SITE_ID
304
304
  };
305
- //# sourceMappingURL=chunk-FZ7O6DWI.js.map
305
+ //# sourceMappingURL=chunk-U4QCCLAW.js.map