@pkcprotocol/pkc-js 0.0.157 → 0.0.158
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/README.md +55 -3
- package/dist/browser/clients/rpc-client/schema.d.ts +1 -0
- package/dist/browser/community/schema.d.ts +13 -0
- package/dist/browser/generated-version.d.ts +1 -1
- package/dist/browser/generated-version.js +1 -1
- package/dist/browser/index-with-compile-cache.d.ts +2 -0
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/pages/schema.d.ts +3 -0
- package/dist/browser/publications/comment/comment.d.ts +1 -0
- package/dist/browser/publications/comment/comment.js +1 -0
- package/dist/browser/publications/comment/comment.js.map +1 -1
- package/dist/browser/publications/comment/schema.d.ts +4 -2
- package/dist/browser/publications/comment/schema.js +2 -0
- package/dist/browser/publications/comment/schema.js.map +1 -1
- package/dist/browser/publications/comment-moderation/schema.js +2 -2
- package/dist/browser/publications/comment-moderation/schema.js.map +1 -1
- package/dist/browser/rpc/src/lib/pkc-js/index.d.ts +2 -0
- package/dist/browser/rpc/src/schema.d.ts +12 -0
- package/dist/browser/runtime/node/community/db-handler.d.ts +1 -0
- package/dist/browser/runtime/node/community/db-handler.js +28 -5
- package/dist/browser/runtime/node/community/db-handler.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/cleanup.js +6 -0
- package/dist/browser/runtime/node/community/local-community/cleanup.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/ipns-publishing.js +36 -2
- package/dist/browser/runtime/node/community/local-community/ipns-publishing.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community/post-updates-bucket.d.ts +21 -0
- package/dist/browser/runtime/node/community/local-community/post-updates-bucket.js +141 -4
- package/dist/browser/runtime/node/community/local-community/post-updates-bucket.js.map +1 -1
- package/dist/browser/runtime/node/community/local-community.d.ts +3 -0
- package/dist/browser/runtime/node/community/local-community.js +11 -0
- package/dist/browser/runtime/node/community/local-community.js.map +1 -1
- package/dist/browser/schema/schema-util.d.ts +5 -0
- package/dist/browser/schema/schema.d.ts +9 -0
- package/dist/browser/schema/schema.js +9 -1
- package/dist/browser/schema/schema.js.map +1 -1
- package/dist/browser/schema.d.ts +16 -0
- package/dist/browser/test/test-util.d.ts +5 -0
- package/dist/browser/version.js +1 -1
- package/dist/bundled/bundle-manifest.json +47 -47
- package/dist/bundled/challenges.js +1 -1
- package/dist/bundled/chunks/{helia-for-pkc-BT2UmDem.js → helia-for-pkc-D3uvabO4.js} +2 -2
- package/dist/bundled/chunks/{local-community-BexngGU7.js → local-community-ChB5dbEH.js} +1 -1
- package/dist/bundled/chunks/{local-community-oqjqTa9T.js → local-community-SgssDrxj.js} +198 -22
- package/dist/bundled/chunks/{node-CvXtQ-4A.js → node-Bx3xTqFv.js} +6 -5
- package/dist/bundled/chunks/{page-sort-scoring-VN_GGInQ.js → page-sort-scoring-CZmdHvps.js} +1 -1
- package/dist/bundled/chunks/{rpc-local-community-BjIHRbYy.js → rpc-local-community-D66Be62U.js} +2 -2
- package/dist/bundled/chunks/{util-DDsWXOtP.js → util-BuTE1Bd1.js} +7 -8
- package/dist/bundled/chunks/{util-Bu3ItQsN.js → util-CodXreIl.js} +1 -1
- package/dist/bundled/chunks/{validate-package-factories-CmJt781W.js → validate-package-factories-Bc4uoozL.js} +2 -2
- package/dist/bundled/index.js +1 -1
- package/dist/bundled/page-sorts.js +1 -1
- package/dist/bundled/rpc/src/index.js +4 -4
- package/dist/node/clients/rpc-client/schema.d.ts +1 -0
- package/dist/node/community/schema.d.ts +13 -0
- package/dist/node/generated-version.d.ts +1 -1
- package/dist/node/generated-version.js +1 -1
- package/dist/node/index-with-compile-cache.d.ts +2 -0
- package/dist/node/index.d.ts +4 -0
- package/dist/node/pages/schema.d.ts +3 -0
- package/dist/node/publications/comment/comment.d.ts +1 -0
- package/dist/node/publications/comment/comment.js +1 -0
- package/dist/node/publications/comment/comment.js.map +1 -1
- package/dist/node/publications/comment/schema.d.ts +4 -2
- package/dist/node/publications/comment/schema.js +2 -0
- package/dist/node/publications/comment/schema.js.map +1 -1
- package/dist/node/publications/comment-moderation/schema.js +2 -2
- package/dist/node/publications/comment-moderation/schema.js.map +1 -1
- package/dist/node/rpc/src/lib/pkc-js/index.d.ts +2 -0
- package/dist/node/rpc/src/schema.d.ts +12 -0
- package/dist/node/runtime/node/community/db-handler.d.ts +1 -0
- package/dist/node/runtime/node/community/db-handler.js +28 -5
- package/dist/node/runtime/node/community/db-handler.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/cleanup.js +6 -0
- package/dist/node/runtime/node/community/local-community/cleanup.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/ipns-publishing.js +36 -2
- package/dist/node/runtime/node/community/local-community/ipns-publishing.js.map +1 -1
- package/dist/node/runtime/node/community/local-community/post-updates-bucket.d.ts +21 -0
- package/dist/node/runtime/node/community/local-community/post-updates-bucket.js +141 -4
- package/dist/node/runtime/node/community/local-community/post-updates-bucket.js.map +1 -1
- package/dist/node/runtime/node/community/local-community.d.ts +3 -0
- package/dist/node/runtime/node/community/local-community.js +11 -0
- package/dist/node/runtime/node/community/local-community.js.map +1 -1
- package/dist/node/schema/schema-util.d.ts +5 -0
- package/dist/node/schema/schema.d.ts +9 -0
- package/dist/node/schema/schema.js +9 -1
- package/dist/node/schema/schema.js.map +1 -1
- package/dist/node/schema.d.ts +16 -0
- package/dist/node/test/test-util.d.ts +5 -0
- package/dist/node/version.js +1 -1
- package/package.json +1 -1
|
@@ -478,6 +478,7 @@ export declare const CreatePKCWsServerOptionsSchema: z.ZodObject<{
|
|
|
478
478
|
archived?: boolean | undefined;
|
|
479
479
|
removed?: boolean | undefined;
|
|
480
480
|
reason?: string | undefined;
|
|
481
|
+
authorBanExpiresAt?: number | undefined;
|
|
481
482
|
approved?: boolean | undefined;
|
|
482
483
|
author?: {
|
|
483
484
|
[x: string]: unknown;
|
|
@@ -675,6 +676,7 @@ export declare const CreatePKCWsServerOptionsSchema: z.ZodObject<{
|
|
|
675
676
|
archived?: boolean | undefined;
|
|
676
677
|
removed?: boolean | undefined;
|
|
677
678
|
reason?: string | undefined;
|
|
679
|
+
authorBanExpiresAt?: number | undefined;
|
|
678
680
|
approved?: boolean | undefined;
|
|
679
681
|
author?: {
|
|
680
682
|
[x: string]: unknown;
|
|
@@ -1284,6 +1286,7 @@ export declare const CreatePKCWsServerOptionsSchema: z.ZodObject<{
|
|
|
1284
1286
|
archived?: boolean | undefined;
|
|
1285
1287
|
removed?: boolean | undefined;
|
|
1286
1288
|
reason?: string | undefined;
|
|
1289
|
+
authorBanExpiresAt?: number | undefined;
|
|
1287
1290
|
approved?: boolean | undefined;
|
|
1288
1291
|
author?: {
|
|
1289
1292
|
[x: string]: unknown;
|
|
@@ -1481,6 +1484,7 @@ export declare const CreatePKCWsServerOptionsSchema: z.ZodObject<{
|
|
|
1481
1484
|
archived?: boolean | undefined;
|
|
1482
1485
|
removed?: boolean | undefined;
|
|
1483
1486
|
reason?: string | undefined;
|
|
1487
|
+
authorBanExpiresAt?: number | undefined;
|
|
1484
1488
|
approved?: boolean | undefined;
|
|
1485
1489
|
author?: {
|
|
1486
1490
|
[x: string]: unknown;
|
|
@@ -2297,6 +2301,7 @@ export declare const SetNewSettingsPKCWsServerSchema: z.ZodObject<{
|
|
|
2297
2301
|
archived?: boolean | undefined;
|
|
2298
2302
|
removed?: boolean | undefined;
|
|
2299
2303
|
reason?: string | undefined;
|
|
2304
|
+
authorBanExpiresAt?: number | undefined;
|
|
2300
2305
|
approved?: boolean | undefined;
|
|
2301
2306
|
author?: {
|
|
2302
2307
|
[x: string]: unknown;
|
|
@@ -2494,6 +2499,7 @@ export declare const SetNewSettingsPKCWsServerSchema: z.ZodObject<{
|
|
|
2494
2499
|
archived?: boolean | undefined;
|
|
2495
2500
|
removed?: boolean | undefined;
|
|
2496
2501
|
reason?: string | undefined;
|
|
2502
|
+
authorBanExpiresAt?: number | undefined;
|
|
2497
2503
|
approved?: boolean | undefined;
|
|
2498
2504
|
author?: {
|
|
2499
2505
|
[x: string]: unknown;
|
|
@@ -2889,6 +2895,7 @@ export declare const SetNewSettingsPKCWsServerSchema: z.ZodObject<{
|
|
|
2889
2895
|
archived?: boolean | undefined;
|
|
2890
2896
|
removed?: boolean | undefined;
|
|
2891
2897
|
reason?: string | undefined;
|
|
2898
|
+
authorBanExpiresAt?: number | undefined;
|
|
2892
2899
|
approved?: boolean | undefined;
|
|
2893
2900
|
author?: {
|
|
2894
2901
|
[x: string]: unknown;
|
|
@@ -3086,6 +3093,7 @@ export declare const SetNewSettingsPKCWsServerSchema: z.ZodObject<{
|
|
|
3086
3093
|
archived?: boolean | undefined;
|
|
3087
3094
|
removed?: boolean | undefined;
|
|
3088
3095
|
reason?: string | undefined;
|
|
3096
|
+
authorBanExpiresAt?: number | undefined;
|
|
3089
3097
|
approved?: boolean | undefined;
|
|
3090
3098
|
author?: {
|
|
3091
3099
|
[x: string]: unknown;
|
|
@@ -3888,6 +3896,7 @@ export declare const PKCWsServerSettingsSerializedSchema: z.ZodObject<{
|
|
|
3888
3896
|
archived?: boolean | undefined;
|
|
3889
3897
|
removed?: boolean | undefined;
|
|
3890
3898
|
reason?: string | undefined;
|
|
3899
|
+
authorBanExpiresAt?: number | undefined;
|
|
3891
3900
|
approved?: boolean | undefined;
|
|
3892
3901
|
author?: {
|
|
3893
3902
|
[x: string]: unknown;
|
|
@@ -4085,6 +4094,7 @@ export declare const PKCWsServerSettingsSerializedSchema: z.ZodObject<{
|
|
|
4085
4094
|
archived?: boolean | undefined;
|
|
4086
4095
|
removed?: boolean | undefined;
|
|
4087
4096
|
reason?: string | undefined;
|
|
4097
|
+
authorBanExpiresAt?: number | undefined;
|
|
4088
4098
|
approved?: boolean | undefined;
|
|
4089
4099
|
author?: {
|
|
4090
4100
|
[x: string]: unknown;
|
|
@@ -4480,6 +4490,7 @@ export declare const PKCWsServerSettingsSerializedSchema: z.ZodObject<{
|
|
|
4480
4490
|
archived?: boolean | undefined;
|
|
4481
4491
|
removed?: boolean | undefined;
|
|
4482
4492
|
reason?: string | undefined;
|
|
4493
|
+
authorBanExpiresAt?: number | undefined;
|
|
4483
4494
|
approved?: boolean | undefined;
|
|
4484
4495
|
author?: {
|
|
4485
4496
|
[x: string]: unknown;
|
|
@@ -4677,6 +4688,7 @@ export declare const PKCWsServerSettingsSerializedSchema: z.ZodObject<{
|
|
|
4677
4688
|
archived?: boolean | undefined;
|
|
4678
4689
|
removed?: boolean | undefined;
|
|
4679
4690
|
reason?: string | undefined;
|
|
4691
|
+
authorBanExpiresAt?: number | undefined;
|
|
4680
4692
|
approved?: boolean | undefined;
|
|
4681
4693
|
author?: {
|
|
4682
4694
|
[x: string]: unknown;
|
|
@@ -305,6 +305,7 @@ export declare class DbHandler {
|
|
|
305
305
|
runInWriteTransaction<T>(write: () => T): T;
|
|
306
306
|
communityDbExists(): boolean;
|
|
307
307
|
markCommentsAsPublishedToPostUpdates(commentCids: string[]): void;
|
|
308
|
+
queryPublishedPostCidsOfBucket(bucket: number): string[];
|
|
308
309
|
forceUpdateOnAllComments(): void;
|
|
309
310
|
forceUpdateOnAllCommentsWithCid(commentCids: string[]): void;
|
|
310
311
|
private _runForEachCidBatch;
|
|
@@ -43,6 +43,12 @@ const TABLES = Object.freeze({
|
|
|
43
43
|
PSEUDONYMITY_ALIASES: "pseudonymityAliases"
|
|
44
44
|
});
|
|
45
45
|
// The address an alias row's original public key derives to, or null when the key is malformed (kept, never looked up)
|
|
46
|
+
// A moderation's `author` that sets the author's ban: a positive timestamp, future (a ban) or past (an unban).
|
|
47
|
+
// A 0 only removes the mark from the comment it was published on (commentUpdate.authorBanExpiresAt), so the author
|
|
48
|
+
// aggregate skips it and falls through to the newest row that does carry a timestamp (issue #363).
|
|
49
|
+
function isAuthorBanRow(modEdit) {
|
|
50
|
+
return typeof modEdit?.banExpiresAt === "number" && modEdit.banExpiresAt > 0;
|
|
51
|
+
}
|
|
46
52
|
function deriveAliasOriginalAuthorSignerAddress(originalAuthorPublicKey) {
|
|
47
53
|
try {
|
|
48
54
|
return getPKCAddressFromPublicKeySync(originalAuthorPublicKey);
|
|
@@ -365,6 +371,7 @@ export class DbHandler {
|
|
|
365
371
|
removed INTEGER NULLABLE, -- BOOLEAN (0/1)
|
|
366
372
|
approved INTEGER NULLABLE, -- BOOLEAN (0/1)
|
|
367
373
|
reason TEXT NULLABLE,
|
|
374
|
+
authorBanExpiresAt INTEGER NULLABLE, -- the ban a mod published on this comment (issue #363)
|
|
368
375
|
updatedAt INTEGER NOT NULL CHECK(updatedAt > 0),
|
|
369
376
|
protocolVersion TEXT NOT NULL,
|
|
370
377
|
signature TEXT NOT NULL, -- JSON
|
|
@@ -1125,14 +1132,14 @@ export class DbHandler {
|
|
|
1125
1132
|
const columnNames = this._getColumnNames(TABLES.COMMENT_UPDATES);
|
|
1126
1133
|
const stmt = this._prepareCached(`
|
|
1127
1134
|
INSERT INTO ${TABLES.COMMENT_UPDATES}
|
|
1128
|
-
(cid, edit, upvoteCount, downvoteCount, replyCount, childCount, number, postNumber, flairs, spoiler, nsfw, pinned, locked, archived, removed, approved, reason, updatedAt, protocolVersion, signature, author, replies, lastChildCid, lastReplyTimestamp, postUpdatesBucket, publishedToPostUpdatesMFS, insertedAt, extraProps)
|
|
1129
|
-
VALUES (@cid, @edit, @upvoteCount, @downvoteCount, @replyCount, @childCount, @number, @postNumber, @flairs, @spoiler, @nsfw, @pinned, @locked, @archived, @removed, @approved, @reason, @updatedAt, @protocolVersion, @signature, @author, @replies, @lastChildCid, @lastReplyTimestamp, @postUpdatesBucket, @publishedToPostUpdatesMFS, @insertedAt, @extraProps)
|
|
1135
|
+
(cid, edit, upvoteCount, downvoteCount, replyCount, childCount, number, postNumber, flairs, spoiler, nsfw, pinned, locked, archived, removed, approved, reason, authorBanExpiresAt, updatedAt, protocolVersion, signature, author, replies, lastChildCid, lastReplyTimestamp, postUpdatesBucket, publishedToPostUpdatesMFS, insertedAt, extraProps)
|
|
1136
|
+
VALUES (@cid, @edit, @upvoteCount, @downvoteCount, @replyCount, @childCount, @number, @postNumber, @flairs, @spoiler, @nsfw, @pinned, @locked, @archived, @removed, @approved, @reason, @authorBanExpiresAt, @updatedAt, @protocolVersion, @signature, @author, @replies, @lastChildCid, @lastReplyTimestamp, @postUpdatesBucket, @publishedToPostUpdatesMFS, @insertedAt, @extraProps)
|
|
1130
1137
|
ON CONFLICT(cid) DO UPDATE SET
|
|
1131
1138
|
edit = excluded.edit, upvoteCount = excluded.upvoteCount, downvoteCount = excluded.downvoteCount, replyCount = excluded.replyCount, childCount = excluded.childCount,
|
|
1132
1139
|
number = COALESCE(excluded.number, ${TABLES.COMMENT_UPDATES}.number),
|
|
1133
1140
|
postNumber = COALESCE(excluded.postNumber, ${TABLES.COMMENT_UPDATES}.postNumber),
|
|
1134
1141
|
flairs = excluded.flairs, spoiler = excluded.spoiler, nsfw = excluded.nsfw, pinned = excluded.pinned, locked = excluded.locked, archived = excluded.archived,
|
|
1135
|
-
removed = excluded.removed, approved = excluded.approved, reason = excluded.reason, updatedAt = excluded.updatedAt, protocolVersion = excluded.protocolVersion,
|
|
1142
|
+
removed = excluded.removed, approved = excluded.approved, reason = excluded.reason, authorBanExpiresAt = excluded.authorBanExpiresAt, updatedAt = excluded.updatedAt, protocolVersion = excluded.protocolVersion,
|
|
1136
1143
|
signature = excluded.signature, author = excluded.author, replies = excluded.replies, lastChildCid = excluded.lastChildCid,
|
|
1137
1144
|
lastReplyTimestamp = excluded.lastReplyTimestamp, postUpdatesBucket = excluded.postUpdatesBucket,
|
|
1138
1145
|
publishedToPostUpdatesMFS = excluded.publishedToPostUpdatesMFS,
|
|
@@ -2349,6 +2356,8 @@ export class DbHandler {
|
|
|
2349
2356
|
...moderation?.flags,
|
|
2350
2357
|
// moderatorReason wins when present, else fall back to the challenge-supplied reason (if any).
|
|
2351
2358
|
reason: moderation?.reason ?? comment.challengeCommentUpdate?.reason,
|
|
2359
|
+
// 0 is the mod's revoke: it is the newest ban value on this comment, and it means no mark
|
|
2360
|
+
authorBanExpiresAt: moderation?.authorBanExpiresAt || undefined,
|
|
2352
2361
|
author: { community: { ...(challengeAuthorCommunity ?? {}), ...authorCommunity } },
|
|
2353
2362
|
lastChildCid: lastChildCids.get(comment.cid),
|
|
2354
2363
|
lastReplyTimestamp: lastReplyTimestamps.get(comment.cid),
|
|
@@ -2477,6 +2486,9 @@ export class DbHandler {
|
|
|
2477
2486
|
}
|
|
2478
2487
|
// What the moderations of each comment say, newest first, one read for the batch: the latest non-null value per
|
|
2479
2488
|
// field (reason, flairs, approved and the six flags), the same precedence as the per-field statements this replaces.
|
|
2489
|
+
// authorBanExpiresAt is the newest author.banExpiresAt published on the comment itself, 0 included: a 0 removes the
|
|
2490
|
+
// mark. author.community.banExpiresAt is the newest across all of the author's comments and skips 0 rows
|
|
2491
|
+
// (isAuthorBanRow), so removing a mark never touches the ban.
|
|
2480
2492
|
_queryModerationSummariesByCids(cids) {
|
|
2481
2493
|
const FLAG_NAMES = ["spoiler", "pinned", "locked", "archived", "removed", "nsfw"];
|
|
2482
2494
|
const result = new Map();
|
|
@@ -2491,6 +2503,9 @@ export class DbHandler {
|
|
|
2491
2503
|
}
|
|
2492
2504
|
if (summary.reason === undefined && typeof moderation.reason === "string")
|
|
2493
2505
|
summary.reason = moderation.reason;
|
|
2506
|
+
const banExpiresAt = moderation.author?.banExpiresAt;
|
|
2507
|
+
if (summary.authorBanExpiresAt === undefined && typeof banExpiresAt === "number")
|
|
2508
|
+
summary.authorBanExpiresAt = banExpiresAt;
|
|
2494
2509
|
if (summary.flairs === undefined && moderation.flairs !== null && moderation.flairs !== undefined)
|
|
2495
2510
|
summary.flairs = moderation.flairs;
|
|
2496
2511
|
if (summary.approved === undefined && moderation.approved !== null && moderation.approved !== undefined)
|
|
@@ -2636,7 +2651,7 @@ export class DbHandler {
|
|
|
2636
2651
|
.filter((row) => (row.targetAuthorSignerAddress !== null && modEditSet.has(row.targetAuthorSignerAddress)) ||
|
|
2637
2652
|
(need.domain !== undefined && row.targetAuthorDomain === need.domain))
|
|
2638
2653
|
.map((row) => row.author);
|
|
2639
|
-
const banAuthor = modAuthorEdits.find(
|
|
2654
|
+
const banAuthor = modAuthorEdits.find(isAuthorBanRow);
|
|
2640
2655
|
const authorFlairsByMod = modAuthorEdits.find((modEdit) => modEdit?.flairs);
|
|
2641
2656
|
const modEdits = {};
|
|
2642
2657
|
if (banAuthor?.banExpiresAt)
|
|
@@ -2822,7 +2837,7 @@ export class DbHandler {
|
|
|
2822
2837
|
WHERE (${conditions.join(" OR ")}) AND json_extract(commentModeration, '$.author') IS NOT NULL ORDER BY rowid DESC
|
|
2823
2838
|
`).all(...params);
|
|
2824
2839
|
const modAuthorEdits = modAuthorEditsRaw.map((r) => JSON.parse(r.commentAuthorJson));
|
|
2825
|
-
const banAuthor = modAuthorEdits.find(
|
|
2840
|
+
const banAuthor = modAuthorEdits.find(isAuthorBanRow);
|
|
2826
2841
|
const authorFlairsByMod = modAuthorEdits.find((modEdit) => modEdit?.flairs);
|
|
2827
2842
|
const aggregateAuthor = {};
|
|
2828
2843
|
if (banAuthor?.banExpiresAt)
|
|
@@ -3175,6 +3190,14 @@ export class DbHandler {
|
|
|
3175
3190
|
return;
|
|
3176
3191
|
this._runForEachCidBatch(commentCids, (placeholders) => `UPDATE ${TABLES.COMMENT_UPDATES} SET publishedToPostUpdatesMFS = 1 WHERE cid IN (${placeholders})`);
|
|
3177
3192
|
}
|
|
3193
|
+
// The posts whose CommentUpdate file was written to this postUpdates bucket and acknowledged. No index backs it:
|
|
3194
|
+
// it is for the rare audit of a bucket MFS may have lost entries of, never for a hot path.
|
|
3195
|
+
queryPublishedPostCidsOfBucket(bucket) {
|
|
3196
|
+
return this._db
|
|
3197
|
+
.prepare(`SELECT cid FROM ${TABLES.COMMENT_UPDATES} WHERE postUpdatesBucket = ? AND publishedToPostUpdatesMFS = 1`)
|
|
3198
|
+
.pluck()
|
|
3199
|
+
.all(bucket);
|
|
3200
|
+
}
|
|
3178
3201
|
forceUpdateOnAllComments() {
|
|
3179
3202
|
this._db.prepare(`UPDATE ${TABLES.COMMENT_UPDATES} SET publishedToPostUpdatesMFS = 0`).run();
|
|
3180
3203
|
}
|