@nexpress/core 0.1.3 → 0.1.5
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-63NNIJUF.js → chunk-3UNQWZNN.js} +2 -2
- package/dist/{chunk-EJ2PIRZ6.js → chunk-CBCJUO4X.js} +6 -6
- package/dist/{chunk-EJ2PIRZ6.js.map → chunk-CBCJUO4X.js.map} +1 -1
- package/dist/{chunk-VRBY465W.js → chunk-O44S7KGT.js} +2 -2
- package/dist/{chunk-52UDBKVT.js → chunk-OFJXJUK7.js} +6 -6
- package/dist/{chunk-3OFDMYTX.js → chunk-U7UJ5V66.js} +2 -2
- package/dist/{chunk-WBUFA53S.js → chunk-WU22KSBT.js} +2 -2
- package/dist/community.js +3 -3
- package/dist/{config-GCDRLEFE.js → config-EH4U64N7.js} +3 -3
- package/dist/{host-NBWL65F5.js → host-KGXIV334.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/jobs.js +1 -1
- package/dist/{scheduled-7P7S5X64.js → scheduled-AIDL5ZQM.js} +3 -3
- package/dist/seo.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-63NNIJUF.js.map → chunk-3UNQWZNN.js.map} +0 -0
- /package/dist/{chunk-VRBY465W.js.map → chunk-O44S7KGT.js.map} +0 -0
- /package/dist/{chunk-52UDBKVT.js.map → chunk-OFJXJUK7.js.map} +0 -0
- /package/dist/{chunk-3OFDMYTX.js.map → chunk-U7UJ5V66.js.map} +0 -0
- /package/dist/{chunk-WBUFA53S.js.map → chunk-WU22KSBT.js.map} +0 -0
- /package/dist/{config-GCDRLEFE.js.map → config-EH4U64N7.js.map} +0 -0
- /package/dist/{host-NBWL65F5.js.map → host-KGXIV334.js.map} +0 -0
- /package/dist/{scheduled-7P7S5X64.js.map → scheduled-AIDL5ZQM.js.map} +0 -0
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
findDocuments,
|
|
27
27
|
getDocumentById,
|
|
28
28
|
saveDocument
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CBCJUO4X.js";
|
|
30
30
|
import {
|
|
31
31
|
can
|
|
32
32
|
} from "./chunk-EQ2Z3KMD.js";
|
|
@@ -1956,4 +1956,4 @@ export {
|
|
|
1956
1956
|
revokeMemberRole,
|
|
1957
1957
|
purgeMemberContent
|
|
1958
1958
|
};
|
|
1959
|
-
//# sourceMappingURL=chunk-
|
|
1959
|
+
//# sourceMappingURL=chunk-O44S7KGT.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-AIDL5ZQM.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-KGXIV334.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-KGXIV334.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-KGXIV334.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-KGXIV334.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-OFJXJUK7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findDocuments
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CBCJUO4X.js";
|
|
4
4
|
import {
|
|
5
5
|
getI18nConfig
|
|
6
6
|
} from "./chunk-4ZLMEKFX.js";
|
|
@@ -594,4 +594,4 @@ export {
|
|
|
594
594
|
buildDiscussionForumPostingJsonLd,
|
|
595
595
|
buildPersonJsonLd
|
|
596
596
|
};
|
|
597
|
-
//# sourceMappingURL=chunk-
|
|
597
|
+
//# sourceMappingURL=chunk-U7UJ5V66.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getPluginRegistration
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CBCJUO4X.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-WU22KSBT.js.map
|
package/dist/community.js
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
unfollow,
|
|
34
34
|
unresolvedReportCount,
|
|
35
35
|
updateComment
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-O44S7KGT.js";
|
|
37
37
|
import {
|
|
38
38
|
buildDigestEmail,
|
|
39
39
|
runDigestSweep
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
resetProfanityAdapter,
|
|
84
84
|
setProfanityAdapter
|
|
85
85
|
} from "./chunk-KU5M27ZC.js";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-3UNQWZNN.js";
|
|
87
87
|
import {
|
|
88
88
|
assertNotBanned,
|
|
89
89
|
getCommunityRole,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
resetCommunityRoles,
|
|
94
94
|
withMemberWrite
|
|
95
95
|
} from "./chunk-55FU6WED.js";
|
|
96
|
-
import "./chunk-
|
|
96
|
+
import "./chunk-CBCJUO4X.js";
|
|
97
97
|
import "./chunk-EQ2Z3KMD.js";
|
|
98
98
|
import {
|
|
99
99
|
listAuditEvents,
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
isVersionedPluginConfig,
|
|
6
6
|
pluginConfigCacheTag,
|
|
7
7
|
setPluginConfig
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-WU22KSBT.js";
|
|
9
|
+
import "./chunk-CBCJUO4X.js";
|
|
10
10
|
import "./chunk-TFJ4MKPH.js";
|
|
11
11
|
import "./chunk-PPAS4SZR.js";
|
|
12
12
|
import "./chunk-4ZLMEKFX.js";
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
pluginConfigCacheTag,
|
|
30
30
|
setPluginConfig
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=config-
|
|
32
|
+
//# sourceMappingURL=config-EH4U64N7.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
runHookAndCollect,
|
|
17
17
|
runPluginScheduledTask,
|
|
18
18
|
schedulePluginTask
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CBCJUO4X.js";
|
|
20
20
|
import "./chunk-4ZLMEKFX.js";
|
|
21
21
|
import "./chunk-FZ7O6DWI.js";
|
|
22
22
|
import "./chunk-SBCVAC2Z.js";
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
runPluginScheduledTask,
|
|
49
49
|
schedulePluginTask
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=host-
|
|
51
|
+
//# sourceMappingURL=host-KGXIV334.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-WU22KSBT.js";
|
|
8
8
|
import {
|
|
9
9
|
getPluginTemplatesForCollection,
|
|
10
10
|
registerPluginTemplates,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
renderSitemapIndexXml,
|
|
39
39
|
renderSitemapXml,
|
|
40
40
|
validateSeoSettingsPatch
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-U7UJ5V66.js";
|
|
42
42
|
import {
|
|
43
43
|
ARGON2_OPTIONS,
|
|
44
44
|
authenticated,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
unfollow,
|
|
127
127
|
unresolvedReportCount,
|
|
128
128
|
updateComment
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-O44S7KGT.js";
|
|
130
130
|
import {
|
|
131
131
|
buildDigestEmail,
|
|
132
132
|
runDigestSweep
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
} from "./chunk-KU5M27ZC.js";
|
|
179
179
|
import {
|
|
180
180
|
publishScheduledDocuments
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-3UNQWZNN.js";
|
|
182
182
|
import {
|
|
183
183
|
assertNotBanned,
|
|
184
184
|
getCommunityRole,
|
|
@@ -223,7 +223,7 @@ import {
|
|
|
223
223
|
saveDocument,
|
|
224
224
|
schedulePluginTask,
|
|
225
225
|
updateMemberDocument
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-CBCJUO4X.js";
|
|
227
227
|
import {
|
|
228
228
|
can
|
|
229
229
|
} from "./chunk-EQ2Z3KMD.js";
|
|
@@ -342,7 +342,7 @@ import {
|
|
|
342
342
|
startWorker,
|
|
343
343
|
stopProducer,
|
|
344
344
|
stopWorker
|
|
345
|
-
} from "./chunk-
|
|
345
|
+
} from "./chunk-OFJXJUK7.js";
|
|
346
346
|
import {
|
|
347
347
|
DEFAULT_JOB_LOG_RETENTION_MS,
|
|
348
348
|
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-3UNQWZNN.js";
|
|
4
|
+
import "./chunk-CBCJUO4X.js";
|
|
5
5
|
import "./chunk-4ZLMEKFX.js";
|
|
6
6
|
import "./chunk-FZ7O6DWI.js";
|
|
7
7
|
import "./chunk-SBCVAC2Z.js";
|
|
@@ -17,4 +17,4 @@ import "./chunk-PZ5AY32C.js";
|
|
|
17
17
|
export {
|
|
18
18
|
publishScheduledDocuments
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=scheduled-
|
|
20
|
+
//# sourceMappingURL=scheduled-AIDL5ZQM.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-U7UJ5V66.js";
|
|
16
|
+
import "./chunk-CBCJUO4X.js";
|
|
17
17
|
import "./chunk-4ZLMEKFX.js";
|
|
18
18
|
import "./chunk-FZ7O6DWI.js";
|
|
19
19
|
import "./chunk-SBCVAC2Z.js";
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|