@nexpress/core 0.3.15 → 0.3.17

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.
@@ -29,7 +29,7 @@ import {
29
29
  findDocuments,
30
30
  getDocumentById,
31
31
  saveDocument
32
- } from "./chunk-GALYCQK7.js";
32
+ } from "./chunk-DCURMH3G.js";
33
33
  import {
34
34
  deleteMedia
35
35
  } from "./chunk-PXVCVEXV.js";
@@ -1956,4 +1956,4 @@ export {
1956
1956
  revokeMemberRole,
1957
1957
  purgeMemberContent
1958
1958
  };
1959
- //# sourceMappingURL=chunk-R3QOQ2SP.js.map
1959
+ //# sourceMappingURL=chunk-A3FQBPUS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  findDocuments
3
- } from "./chunk-GALYCQK7.js";
3
+ } from "./chunk-DCURMH3G.js";
4
4
  import {
5
5
  getI18nConfig
6
6
  } from "./chunk-4ZLMEKFX.js";
@@ -597,4 +597,4 @@ export {
597
597
  buildDiscussionForumPostingJsonLd,
598
598
  buildPersonJsonLd
599
599
  };
600
- //# sourceMappingURL=chunk-AOBFBD25.js.map
600
+ //# sourceMappingURL=chunk-BIPVC7AX.js.map
@@ -1873,7 +1873,7 @@ function createPluginRuntimeContext(options) {
1873
1873
  return row.value;
1874
1874
  },
1875
1875
  async getPlugin() {
1876
- const { getPluginConfig } = await import("./config-OM4JVN7I.js");
1876
+ const { getPluginConfig } = await import("./config-VSF3CM3F.js");
1877
1877
  const value = await getPluginConfig(pluginId);
1878
1878
  if (value && typeof value === "object" && !Array.isArray(value)) {
1879
1879
  return value;
@@ -1881,8 +1881,8 @@ function createPluginRuntimeContext(options) {
1881
1881
  return {};
1882
1882
  },
1883
1883
  async setPlugin(data) {
1884
- const { setPluginConfig } = await import("./config-OM4JVN7I.js");
1885
- const { getPluginRegistration: getPluginRegistration2 } = await import("./host-2FWGJU4B.js");
1884
+ const { setPluginConfig } = await import("./config-VSF3CM3F.js");
1885
+ const { getPluginRegistration: getPluginRegistration2 } = await import("./host-AJSTUAMY.js");
1886
1886
  const reg = getPluginRegistration2(pluginId);
1887
1887
  if (reg?.configSchema) {
1888
1888
  await setPluginConfig(pluginId, data, null);
@@ -2124,7 +2124,7 @@ function invalidatePluginEnabled(pluginId) {
2124
2124
  var fetchOverride = null;
2125
2125
 
2126
2126
  // src/plugins/compat.ts
2127
- var FRAMEWORK_VERSION_FROM_PACKAGE = true ? "0.3.15" : "0.0.0-dev";
2127
+ var FRAMEWORK_VERSION_FROM_PACKAGE = true ? "0.3.17" : "0.0.0-dev";
2128
2128
  var frameworkVersion = FRAMEWORK_VERSION_FROM_PACKAGE;
2129
2129
  function getFrameworkVersion() {
2130
2130
  return frameworkVersion;
@@ -2274,7 +2274,7 @@ function insertSortedByPriority(list, entry) {
2274
2274
  list.sort((a, b) => a.priority - b.priority);
2275
2275
  }
2276
2276
  async function loadPluginConfig(pluginId) {
2277
- const { getPluginConfig } = await import("./config-OM4JVN7I.js");
2277
+ const { getPluginConfig } = await import("./config-VSF3CM3F.js");
2278
2278
  const value = await getPluginConfig(pluginId);
2279
2279
  if (value && typeof value === "object" && !Array.isArray(value)) {
2280
2280
  return value;
@@ -2785,4 +2785,4 @@ export {
2785
2785
  findDocuments,
2786
2786
  getDocumentById
2787
2787
  };
2788
- //# sourceMappingURL=chunk-GALYCQK7.js.map
2788
+ //# sourceMappingURL=chunk-DCURMH3G.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runHook
3
- } from "./chunk-GALYCQK7.js";
3
+ } from "./chunk-DCURMH3G.js";
4
4
  import {
5
5
  getAllCollectionSlugs,
6
6
  getCollectionConfig,
@@ -80,4 +80,4 @@ async function publishScheduledDocuments(atTime = /* @__PURE__ */ new Date()) {
80
80
  export {
81
81
  publishScheduledDocuments
82
82
  };
83
- //# sourceMappingURL=chunk-ANHJMI64.js.map
83
+ //# sourceMappingURL=chunk-F7PGCDOU.js.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-NDL5WDI6.js");
148
+ const { publishScheduledDocuments } = await import("./scheduled-Z47IY4HZ.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-2FWGJU4B.js");
196
+ const { runPluginScheduledTask } = await import("./host-AJSTUAMY.js");
197
197
  await runPluginScheduledTask(data.pluginId, data.taskId);
198
198
  return;
199
199
  } catch (err) {
@@ -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-2FWGJU4B.js");
676
+ const { getRegisteredPluginSchedules, runPluginScheduledTask } = await import("./host-AJSTUAMY.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-2FWGJU4B.js");
778
+ const { getRegisteredPluginSchedules } = await import("./host-AJSTUAMY.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-2FWGJU4B.js");
942
+ const { getRegisteredPluginSchedules } = await import("./host-AJSTUAMY.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-S4JUVSIZ.js.map
1270
+ //# sourceMappingURL=chunk-JMKRPNWW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getPluginRegistration
3
- } from "./chunk-GALYCQK7.js";
3
+ } from "./chunk-DCURMH3G.js";
4
4
  import {
5
5
  getCurrentSiteId
6
6
  } from "./chunk-SBCVAC2Z.js";
@@ -319,4 +319,4 @@ export {
319
319
  setPluginConfig,
320
320
  pluginConfigCacheTag
321
321
  };
322
- //# sourceMappingURL=chunk-R6SAFOEC.js.map
322
+ //# sourceMappingURL=chunk-MCVL25PP.js.map
package/dist/community.js CHANGED
@@ -33,8 +33,8 @@ import {
33
33
  unfollow,
34
34
  unresolvedReportCount,
35
35
  updateComment
36
- } from "./chunk-R3QOQ2SP.js";
37
- import "./chunk-ANHJMI64.js";
36
+ } from "./chunk-A3FQBPUS.js";
37
+ import "./chunk-F7PGCDOU.js";
38
38
  import {
39
39
  buildDigestEmail,
40
40
  runDigestSweep
@@ -94,7 +94,7 @@ import {
94
94
  setProfanityAdapter
95
95
  } from "./chunk-KU5M27ZC.js";
96
96
  import "./chunk-A3DPN2SP.js";
97
- import "./chunk-GALYCQK7.js";
97
+ import "./chunk-DCURMH3G.js";
98
98
  import "./chunk-PXVCVEXV.js";
99
99
  import "./chunk-EQ2Z3KMD.js";
100
100
  import {
@@ -5,8 +5,8 @@ import {
5
5
  isVersionedPluginConfig,
6
6
  pluginConfigCacheTag,
7
7
  setPluginConfig
8
- } from "./chunk-R6SAFOEC.js";
9
- import "./chunk-GALYCQK7.js";
8
+ } from "./chunk-MCVL25PP.js";
9
+ import "./chunk-DCURMH3G.js";
10
10
  import "./chunk-PXVCVEXV.js";
11
11
  import "./chunk-LMPYQLMH.js";
12
12
  import "./chunk-2KNG5KMM.js";
@@ -30,4 +30,4 @@ export {
30
30
  pluginConfigCacheTag,
31
31
  setPluginConfig
32
32
  };
33
- //# sourceMappingURL=config-OM4JVN7I.js.map
33
+ //# sourceMappingURL=config-VSF3CM3F.js.map
@@ -16,7 +16,7 @@ import {
16
16
  runHookAndCollect,
17
17
  runPluginScheduledTask,
18
18
  schedulePluginTask
19
- } from "./chunk-GALYCQK7.js";
19
+ } from "./chunk-DCURMH3G.js";
20
20
  import "./chunk-PXVCVEXV.js";
21
21
  import "./chunk-EFZH6UPY.js";
22
22
  import "./chunk-4ZLMEKFX.js";
@@ -49,4 +49,4 @@ export {
49
49
  runPluginScheduledTask,
50
50
  schedulePluginTask
51
51
  };
52
- //# sourceMappingURL=host-2FWGJU4B.js.map
52
+ //# sourceMappingURL=host-AJSTUAMY.js.map
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  introspectThemeSettingsSchema,
5
5
  pluginConfigCacheTag,
6
6
  setPluginConfig
7
- } from "./chunk-R6SAFOEC.js";
7
+ } from "./chunk-MCVL25PP.js";
8
8
  import {
9
9
  getPluginTemplatesForCollection,
10
10
  registerPluginTemplates,
@@ -41,7 +41,7 @@ import {
41
41
  renderSitemapIndexXml,
42
42
  renderSitemapXml,
43
43
  validateSeoSettingsPatch
44
- } from "./chunk-AOBFBD25.js";
44
+ } from "./chunk-BIPVC7AX.js";
45
45
  import {
46
46
  ARGON2_OPTIONS,
47
47
  authenticated,
@@ -130,10 +130,10 @@ import {
130
130
  unfollow,
131
131
  unresolvedReportCount,
132
132
  updateComment
133
- } from "./chunk-R3QOQ2SP.js";
133
+ } from "./chunk-A3FQBPUS.js";
134
134
  import {
135
135
  publishScheduledDocuments
136
- } from "./chunk-ANHJMI64.js";
136
+ } from "./chunk-F7PGCDOU.js";
137
137
  import {
138
138
  buildDigestEmail,
139
139
  runDigestSweep
@@ -229,7 +229,7 @@ import {
229
229
  schedulePluginTask,
230
230
  updateMemberDocument,
231
231
  withDeferredPostCommit
232
- } from "./chunk-GALYCQK7.js";
232
+ } from "./chunk-DCURMH3G.js";
233
233
  import {
234
234
  DEFAULT_IMAGE_SIZES,
235
235
  cleanupDeletedMedia,
@@ -366,7 +366,7 @@ import {
366
366
  startWorker,
367
367
  stopProducer,
368
368
  stopWorker
369
- } from "./chunk-S4JUVSIZ.js";
369
+ } from "./chunk-JMKRPNWW.js";
370
370
  import {
371
371
  DEFAULT_JOB_LOG_RETENTION_MS,
372
372
  countJobLogs,
package/dist/jobs.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  startWorker,
19
19
  stopProducer,
20
20
  stopWorker
21
- } from "./chunk-S4JUVSIZ.js";
21
+ } from "./chunk-JMKRPNWW.js";
22
22
  import {
23
23
  DEFAULT_JOB_LOG_RETENTION_MS,
24
24
  countJobLogs,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  publishScheduledDocuments
3
- } from "./chunk-ANHJMI64.js";
4
- import "./chunk-GALYCQK7.js";
3
+ } from "./chunk-F7PGCDOU.js";
4
+ import "./chunk-DCURMH3G.js";
5
5
  import "./chunk-PXVCVEXV.js";
6
6
  import "./chunk-EFZH6UPY.js";
7
7
  import "./chunk-4ZLMEKFX.js";
@@ -18,4 +18,4 @@ import "./chunk-PZ5AY32C.js";
18
18
  export {
19
19
  publishScheduledDocuments
20
20
  };
21
- //# sourceMappingURL=scheduled-NDL5WDI6.js.map
21
+ //# sourceMappingURL=scheduled-Z47IY4HZ.js.map
package/dist/seo.js CHANGED
@@ -12,8 +12,8 @@ import {
12
12
  renderSitemapIndexXml,
13
13
  renderSitemapXml,
14
14
  validateSeoSettingsPatch
15
- } from "./chunk-AOBFBD25.js";
16
- import "./chunk-GALYCQK7.js";
15
+ } from "./chunk-BIPVC7AX.js";
16
+ import "./chunk-DCURMH3G.js";
17
17
  import "./chunk-PXVCVEXV.js";
18
18
  import "./chunk-EFZH6UPY.js";
19
19
  import "./chunk-4ZLMEKFX.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexpress/core",
3
- "version": "0.3.15",
3
+ "version": "0.3.17",
4
4
  "description": "Server-side core for NexPress — collections pipeline, auth, jobs, media, plugins, observability.",
5
5
  "license": "MIT",
6
6
  "author": "Nexpress",
@@ -104,7 +104,7 @@
104
104
  }
105
105
  },
106
106
  "dependencies": {
107
- "@aws-sdk/client-s3": "^3.1053.0",
107
+ "@aws-sdk/client-s3": "^3.1058.0",
108
108
  "@node-rs/argon2": "^2.0.2",
109
109
  "arctic": "^3.7.0",
110
110
  "drizzle-orm": "^0.45.2",