@nexpress/core 0.3.12 → 0.3.14
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-IR75B4Y3.js → chunk-EAPMA76E.js} +2 -2
- package/dist/{chunk-47W3NVMC.js → chunk-MMZUXECK.js} +2 -2
- package/dist/{chunk-AZTXKXV7.js → chunk-N7Q74FXB.js} +2 -2
- package/dist/{chunk-HISSLDHE.js → chunk-WO3GYKNA.js} +2 -2
- package/dist/{chunk-X4WWVS4E.js → chunk-WVF2FK3D.js} +6 -6
- package/dist/{chunk-6VPMLBTY.js → chunk-WX2ZPH2Y.js} +6 -6
- package/dist/community.js +3 -3
- package/dist/{config-U4JQRMM6.js → config-XEP2PSVX.js} +3 -3
- package/dist/{host-U5R4T2PH.js → host-HJIVM6S2.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/jobs.js +1 -1
- package/dist/{scheduled-GVNJRVGN.js → scheduled-7YPS6STE.js} +3 -3
- package/dist/seo.js +2 -2
- package/package.json +3 -3
- /package/dist/{chunk-IR75B4Y3.js.map → chunk-EAPMA76E.js.map} +0 -0
- /package/dist/{chunk-47W3NVMC.js.map → chunk-MMZUXECK.js.map} +0 -0
- /package/dist/{chunk-AZTXKXV7.js.map → chunk-N7Q74FXB.js.map} +0 -0
- /package/dist/{chunk-HISSLDHE.js.map → chunk-WO3GYKNA.js.map} +0 -0
- /package/dist/{chunk-X4WWVS4E.js.map → chunk-WVF2FK3D.js.map} +0 -0
- /package/dist/{chunk-6VPMLBTY.js.map → chunk-WX2ZPH2Y.js.map} +0 -0
- /package/dist/{config-U4JQRMM6.js.map → config-XEP2PSVX.js.map} +0 -0
- /package/dist/{host-U5R4T2PH.js.map → host-HJIVM6S2.js.map} +0 -0
- /package/dist/{scheduled-GVNJRVGN.js.map → scheduled-7YPS6STE.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getPluginRegistration
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WVF2FK3D.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-
|
|
322
|
+
//# sourceMappingURL=chunk-EAPMA76E.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findDocuments
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WVF2FK3D.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-
|
|
600
|
+
//# sourceMappingURL=chunk-MMZUXECK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runHook
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WVF2FK3D.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-
|
|
83
|
+
//# sourceMappingURL=chunk-N7Q74FXB.js.map
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
findDocuments,
|
|
30
30
|
getDocumentById,
|
|
31
31
|
saveDocument
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WVF2FK3D.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-
|
|
1959
|
+
//# sourceMappingURL=chunk-WO3GYKNA.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-
|
|
1876
|
+
const { getPluginConfig } = await import("./config-XEP2PSVX.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-
|
|
1885
|
-
const { getPluginRegistration: getPluginRegistration2 } = await import("./host-
|
|
1884
|
+
const { setPluginConfig } = await import("./config-XEP2PSVX.js");
|
|
1885
|
+
const { getPluginRegistration: getPluginRegistration2 } = await import("./host-HJIVM6S2.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.
|
|
2127
|
+
var FRAMEWORK_VERSION_FROM_PACKAGE = true ? "0.3.14" : "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-
|
|
2277
|
+
const { getPluginConfig } = await import("./config-XEP2PSVX.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-
|
|
2788
|
+
//# sourceMappingURL=chunk-WVF2FK3D.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-
|
|
148
|
+
const { publishScheduledDocuments } = await import("./scheduled-7YPS6STE.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-
|
|
196
|
+
const { runPluginScheduledTask } = await import("./host-HJIVM6S2.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-
|
|
676
|
+
const { getRegisteredPluginSchedules, runPluginScheduledTask } = await import("./host-HJIVM6S2.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-
|
|
778
|
+
const { getRegisteredPluginSchedules } = await import("./host-HJIVM6S2.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-
|
|
942
|
+
const { getRegisteredPluginSchedules } = await import("./host-HJIVM6S2.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-
|
|
1270
|
+
//# sourceMappingURL=chunk-WX2ZPH2Y.js.map
|
package/dist/community.js
CHANGED
|
@@ -33,8 +33,8 @@ import {
|
|
|
33
33
|
unfollow,
|
|
34
34
|
unresolvedReportCount,
|
|
35
35
|
updateComment
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-WO3GYKNA.js";
|
|
37
|
+
import "./chunk-N7Q74FXB.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-
|
|
97
|
+
import "./chunk-WVF2FK3D.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-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-EAPMA76E.js";
|
|
9
|
+
import "./chunk-WVF2FK3D.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-
|
|
33
|
+
//# sourceMappingURL=config-XEP2PSVX.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
runHookAndCollect,
|
|
17
17
|
runPluginScheduledTask,
|
|
18
18
|
schedulePluginTask
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WVF2FK3D.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-
|
|
52
|
+
//# sourceMappingURL=host-HJIVM6S2.js.map
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
introspectThemeSettingsSchema,
|
|
5
5
|
pluginConfigCacheTag,
|
|
6
6
|
setPluginConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EAPMA76E.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-
|
|
44
|
+
} from "./chunk-MMZUXECK.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-
|
|
133
|
+
} from "./chunk-WO3GYKNA.js";
|
|
134
134
|
import {
|
|
135
135
|
publishScheduledDocuments
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-N7Q74FXB.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-
|
|
232
|
+
} from "./chunk-WVF2FK3D.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-
|
|
369
|
+
} from "./chunk-WX2ZPH2Y.js";
|
|
370
370
|
import {
|
|
371
371
|
DEFAULT_JOB_LOG_RETENTION_MS,
|
|
372
372
|
countJobLogs,
|
package/dist/jobs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
publishScheduledDocuments
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-N7Q74FXB.js";
|
|
4
|
+
import "./chunk-WVF2FK3D.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-
|
|
21
|
+
//# sourceMappingURL=scheduled-7YPS6STE.js.map
|
package/dist/seo.js
CHANGED
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
renderSitemapIndexXml,
|
|
13
13
|
renderSitemapXml,
|
|
14
14
|
validateSeoSettingsPatch
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-MMZUXECK.js";
|
|
16
|
+
import "./chunk-WVF2FK3D.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.
|
|
3
|
+
"version": "0.3.14",
|
|
4
4
|
"description": "Server-side core for NexPress — collections pipeline, auth, jobs, media, plugins, observability.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Nexpress",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"node": ">=20"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
|
-
"nodemailer": "^
|
|
99
|
+
"nodemailer": "^8.0.5"
|
|
100
100
|
},
|
|
101
101
|
"peerDependenciesMeta": {
|
|
102
102
|
"nodemailer": {
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@aws-sdk/client-s3": "^3.
|
|
107
|
+
"@aws-sdk/client-s3": "^3.1053.0",
|
|
108
108
|
"@node-rs/argon2": "^2.0.2",
|
|
109
109
|
"arctic": "^3.7.0",
|
|
110
110
|
"drizzle-orm": "^0.45.2",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|