@pkcprotocol/pkc-js 0.0.101 → 0.0.102

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 (46) hide show
  1. package/README.md +1 -0
  2. package/dist/browser/clients/rpc-client/rpc-schema-util.d.ts +1 -0
  3. package/dist/browser/clients/rpc-client/schema.d.ts +1 -0
  4. package/dist/browser/community/schema.d.ts +15 -0
  5. package/dist/browser/community/schema.js +2 -2
  6. package/dist/browser/community/schema.js.map +1 -1
  7. package/dist/browser/errors.d.ts +1 -0
  8. package/dist/browser/errors.js +1 -0
  9. package/dist/browser/errors.js.map +1 -1
  10. package/dist/browser/generated-version.d.ts +1 -1
  11. package/dist/browser/generated-version.js +1 -1
  12. package/dist/browser/pkc-error.d.ts +1 -1
  13. package/dist/browser/publications/community-edit/schema.d.ts +4 -0
  14. package/dist/browser/pubsub-messages/schema.d.ts +2 -0
  15. package/dist/browser/runtime/node/community/local-community/publication-validation.js +6 -0
  16. package/dist/browser/runtime/node/community/local-community/publication-validation.js.map +1 -1
  17. package/dist/browser/schema/schema-util.d.ts +9 -0
  18. package/dist/browser/test/test-util.d.ts +4 -0
  19. package/dist/bundled/bundle-manifest.json +25 -25
  20. package/dist/bundled/chunks/{helia-for-pkc-DSF3IY_M.js → helia-for-pkc-ZbhRl9a-.js} +33 -33
  21. package/dist/bundled/chunks/{local-community-CTd_1kw_.js → local-community-Cu95rtju.js} +1 -1
  22. package/dist/bundled/chunks/{local-community-DtlDCcc2.js → local-community-L-1IkV1x.js} +31 -30
  23. package/dist/bundled/chunks/{node-pGNrsJuH.js → node-DaN6R9HB.js} +5 -5
  24. package/dist/bundled/chunks/{rpc-local-community-pLvHO4g9.js → rpc-local-community-aV790d8_.js} +1 -1
  25. package/dist/bundled/chunks/{schema-DdD_6tTd.js → schema-gif6qroG.js} +3 -1
  26. package/dist/bundled/chunks/{util-N0_wIz2O.js → util-BsJoElMm.js} +1 -1
  27. package/dist/bundled/index.js +1 -1
  28. package/dist/bundled/rpc/src/index.js +4 -4
  29. package/dist/node/clients/rpc-client/rpc-schema-util.d.ts +1 -0
  30. package/dist/node/clients/rpc-client/schema.d.ts +1 -0
  31. package/dist/node/community/schema.d.ts +15 -0
  32. package/dist/node/community/schema.js +2 -2
  33. package/dist/node/community/schema.js.map +1 -1
  34. package/dist/node/errors.d.ts +1 -0
  35. package/dist/node/errors.js +1 -0
  36. package/dist/node/errors.js.map +1 -1
  37. package/dist/node/generated-version.d.ts +1 -1
  38. package/dist/node/generated-version.js +1 -1
  39. package/dist/node/pkc-error.d.ts +1 -1
  40. package/dist/node/publications/community-edit/schema.d.ts +4 -0
  41. package/dist/node/pubsub-messages/schema.d.ts +2 -0
  42. package/dist/node/runtime/node/community/local-community/publication-validation.js +6 -0
  43. package/dist/node/runtime/node/community/local-community/publication-validation.js.map +1 -1
  44. package/dist/node/schema/schema-util.d.ts +9 -0
  45. package/dist/node/test/test-util.d.ts +4 -0
  46. package/package.json +2 -2
@@ -1,12 +1,12 @@
1
1
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-2rV9d50f.js";
2
- import { A as doesDomainAddressHaveCapitalLetter, B as ipnsNameToIpnsOverPubsubTopic, Bn as CommentEditPubsubMessagePublicationSchema, C as calculateStringSizeSameAsIpfsAddCidV0, Cn as CommentIpfsSchema, Cr as messages, Ct as findCommunityInRegistry, E as contentContainsMarkdownVideos, Et as findUpdatingCommunity, F as getErrorCodeFromMessage, Ft as trackUpdatingCommunity, Hn as CommentEditReservedFields, I as getIpnsRecordInLocalKuboNode, It as untrackStartedCommunity, J as isLinkOfImage, Jn as AuthorReservedFields, Jt as CommentModerationPubsubMessagePublicationSchema, K as isLinkOfAnimatedImage, Lr as ZodError, Mt as syncCommunityRegistryEntry, N as genToArray, Nn as CommentUpdateTableRowSchema, Nt as trackStartedCommunity, P as getEquivalentCommunityAddresses, Pn as CommentsTableRowSchema, R as hideClassPrivateProps, Rt as untrackUpdatingCommunity, S as calculateIpfsCidV0, Sr as PKCError, St as writeKuboFilesWithTimeout, T as contentContainsMarkdownImages, Ut as CommunityEditPublicationPubsubReservedFields, Vn as CommentEditPubsubMessagePublicationWithFlexibleAuthorSchema, Vt as pTimeout, Wn as CommentEditsTableRowSchema, X as isLinkOfVideo, Y as isLinkOfMedia, Yt as CommentModerationReservedFields, Z as isLinkValid, Zt as CommentModerationsTableRowSchema, _n as VotePubsubMessagePublicationSchema, _t as sleepUntilTimeoutOrAbort, a as ChallengeRequestMessageSchema, ar as t$6, at as removeBlocksFromKuboNode, b as areEquivalentCommunityAddresses, bn as VoteTablesRowSchema, bt as timestamp, ct as removeNullUndefinedValues, d as DecryptedChallengeRequestSchema, et as pubsubTopicToDhtKey, ft as retryKuboBlockPutPinAndProvidePubsubTopic, gr as require_retry, ir as t$7, jn as CommentUpdateSchema, k as derivePublicationFromChallengeRequest, lr as r$1, mn as isStringDomain, mr as t$3, mt as retryKuboIpfsAddAndProvide, nr as t$8, on as CommunityIpfsSchema, or as e, ot as removeMfsFilesSafely, pr as t$5, q as isLinkOfAudio, r as ChallengeMessageSchema, rr as n$3, s as ChallengeVerificationMessageSchema, sn as CommunitySignedPropertyNames, sr as e$1, t as ChallengeAnswerMessageSchema, tr as n$4, u as DecryptedChallengeRequestPublicationSchema, ur as t$4, vn as VotePubsubReservedFields, vt as statMfsPathSafely, w as contentContainsMarkdownAudio, wn as CommentPubsubMessageReservedFields, wr as logger_default, wt as findStartedCommunity, y as version_default, zt as require_sha256 } from "./schema-DdD_6tTd.js";
3
- import { $t as getPKCAddressFromPublicKeySync, A as deriveCommentIpfsFromCommentTableRow, At as verifyCommentEdit, B as resolveDbPostsCidRefs, C as encryptEd25519AesGcmPublicKeyBuffer, Ct as signCommunity, D as calculateInlineRepliesBudget, Dn as parseJsonWithPKCErrorIfFails, E as calculateExpectedSignatureSize, Et as verifyChallengeAnswer, F as getThumbnailPropsOfLink, Ft as verifyCommunity, G as POST_REPLIES_SORT_TYPES, Gt as getCommunityNameFromWire, I as importSignerIntoKuboNode, It as verifyCommunityEdit, Jt as decode, K as REPLY_REPLIES_SORT_TYPES, Kt as getCommunityPublicKeyFromWire, Lt as verifyVote, M as deriveDbReplies, Mt as verifyCommentModeration, N as getDefaultCommunityDbConfig, Nt as verifyCommentPubsubMessage, Ot as verifyChallengeRequest, Pt as verifyCommentUpdate, Q as iterateOverPageCidsToFindAllCids, Qt as getPKCAddressFromPublicKey, Rt as buildRuntimeAuthor, St as signCommentUpdateForChallengeVerification, T as backupCommunityDb, Vt as getAuthorNameFromWire, W as POSTS_SORT_TYPES, Yt as encode, Zt as getIpfsKeyFromPrivateKey, _ as SignerWithPublicKeyAddress, _t as signChallengeVerification, a as loadChallengeFileFromCommunityChallengeSettings, ar as r$2, c as TrackedInstanceRegistry, cr as n$5, d as MAX_FILE_SIZE_BYTES_FOR_COMMUNITY_IPFS, dr as stringify, en as getPublicKeyFromPrivateKey, f as KeyvBetterSqlite3, fn as parseCommunityEditOptionsSchemaWithPKCErrorIfItFails, fr as STORAGE_KEYS, ht as signChallengeMessage, i as getCommunityChallengeFromCommunityChallengeSettings, ir as t$12, j as deriveDbPosts, jt as verifyCommentIpfs, k as deleteOldCommunityInWindows, l as LRUCache, mn as parseCommunityIpfsSchemaPassthroughWithPKCErrorIfItFails, nr as effectiveMaxCrosspostDepth, o as pkcJsChallenges, or as t$11, pr as require_lodash_merge, pt as cleanUpBeforePublishing, q as TIMEFRAMES_TO_SECONDS, r as getChallengeVerification, rr as t$9, s as createAuthorIdentityMatcher, sr as n$6, t as RpcLocalCommunity, tn as createSchemaRowParser, tr as crosspostChainDepthUpTo, ur as t$10, ut as pLimit, vt as signComment, w as BackupAbortError, wn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, x as decryptEd25519AesGcmPublicKeyBuffer, xt as signCommentUpdate, yt as signCommentEdit, z as moveCommunityDbToDeletedDirectory, zt as cleanWireAuthor } from "./rpc-local-community-pLvHO4g9.js";
2
+ import { A as doesDomainAddressHaveCapitalLetter, B as ipnsNameToIpnsOverPubsubTopic, Bn as CommentEditPubsubMessagePublicationSchema, C as calculateStringSizeSameAsIpfsAddCidV0, Cn as CommentIpfsSchema, Cr as messages, Ct as findCommunityInRegistry, E as contentContainsMarkdownVideos, Et as findUpdatingCommunity, F as getErrorCodeFromMessage, Ft as trackUpdatingCommunity, Hn as CommentEditReservedFields, I as getIpnsRecordInLocalKuboNode, It as untrackStartedCommunity, J as isLinkOfImage, Jn as AuthorReservedFields, Jt as CommentModerationPubsubMessagePublicationSchema, K as isLinkOfAnimatedImage, Lr as ZodError, Mt as syncCommunityRegistryEntry, N as genToArray, Nn as CommentUpdateTableRowSchema, Nt as trackStartedCommunity, P as getEquivalentCommunityAddresses, Pn as CommentsTableRowSchema, R as hideClassPrivateProps, Rt as untrackUpdatingCommunity, S as calculateIpfsCidV0, Sr as PKCError, St as writeKuboFilesWithTimeout, T as contentContainsMarkdownImages, Ut as CommunityEditPublicationPubsubReservedFields, Vn as CommentEditPubsubMessagePublicationWithFlexibleAuthorSchema, Vt as pTimeout, Wn as CommentEditsTableRowSchema, X as isLinkOfVideo, Y as isLinkOfMedia, Yt as CommentModerationReservedFields, Z as isLinkValid, Zt as CommentModerationsTableRowSchema, _n as VotePubsubMessagePublicationSchema, _t as sleepUntilTimeoutOrAbort, a as ChallengeRequestMessageSchema, ar as t$6, at as removeBlocksFromKuboNode, b as areEquivalentCommunityAddresses, bn as VoteTablesRowSchema, bt as timestamp, ct as removeNullUndefinedValues, d as DecryptedChallengeRequestSchema, et as pubsubTopicToDhtKey, ft as retryKuboBlockPutPinAndProvidePubsubTopic, gr as require_retry, ir as t$7, jn as CommentUpdateSchema, k as derivePublicationFromChallengeRequest, lr as r$1, mn as isStringDomain, mr as t$3, mt as retryKuboIpfsAddAndProvide, nr as t$8, on as CommunityIpfsSchema, or as e, ot as removeMfsFilesSafely, pr as t$5, q as isLinkOfAudio, r as ChallengeMessageSchema, rr as n$3, s as ChallengeVerificationMessageSchema, sn as CommunitySignedPropertyNames, sr as e$1, t as ChallengeAnswerMessageSchema, tr as n$4, u as DecryptedChallengeRequestPublicationSchema, ur as t$4, vn as VotePubsubReservedFields, vt as statMfsPathSafely, w as contentContainsMarkdownAudio, wn as CommentPubsubMessageReservedFields, wr as logger_default, wt as findStartedCommunity, y as version_default, zt as require_sha256 } from "./schema-gif6qroG.js";
3
+ import { $t as getPKCAddressFromPublicKeySync, A as deriveCommentIpfsFromCommentTableRow, At as verifyCommentEdit, B as resolveDbPostsCidRefs, C as encryptEd25519AesGcmPublicKeyBuffer, Ct as signCommunity, D as calculateInlineRepliesBudget, Dn as parseJsonWithPKCErrorIfFails, E as calculateExpectedSignatureSize, Et as verifyChallengeAnswer, F as getThumbnailPropsOfLink, Ft as verifyCommunity, G as POST_REPLIES_SORT_TYPES, Gt as getCommunityNameFromWire, I as importSignerIntoKuboNode, It as verifyCommunityEdit, Jt as decode, K as REPLY_REPLIES_SORT_TYPES, Kt as getCommunityPublicKeyFromWire, Lt as verifyVote, M as deriveDbReplies, Mt as verifyCommentModeration, N as getDefaultCommunityDbConfig, Nt as verifyCommentPubsubMessage, Ot as verifyChallengeRequest, Pt as verifyCommentUpdate, Q as iterateOverPageCidsToFindAllCids, Qt as getPKCAddressFromPublicKey, Rt as buildRuntimeAuthor, St as signCommentUpdateForChallengeVerification, T as backupCommunityDb, Vt as getAuthorNameFromWire, W as POSTS_SORT_TYPES, Yt as encode, Zt as getIpfsKeyFromPrivateKey, _ as SignerWithPublicKeyAddress, _t as signChallengeVerification, a as loadChallengeFileFromCommunityChallengeSettings, ar as r$2, c as TrackedInstanceRegistry, cr as n$5, d as MAX_FILE_SIZE_BYTES_FOR_COMMUNITY_IPFS, dr as stringify, en as getPublicKeyFromPrivateKey, f as KeyvBetterSqlite3, fn as parseCommunityEditOptionsSchemaWithPKCErrorIfItFails, fr as STORAGE_KEYS, ht as signChallengeMessage, i as getCommunityChallengeFromCommunityChallengeSettings, ir as t$12, j as deriveDbPosts, jt as verifyCommentIpfs, k as deleteOldCommunityInWindows, l as LRUCache, mn as parseCommunityIpfsSchemaPassthroughWithPKCErrorIfItFails, nr as effectiveMaxCrosspostDepth, o as pkcJsChallenges, or as t$11, pr as require_lodash_merge, pt as cleanUpBeforePublishing, q as TIMEFRAMES_TO_SECONDS, r as getChallengeVerification, rr as t$9, s as createAuthorIdentityMatcher, sr as n$6, t as RpcLocalCommunity, tn as createSchemaRowParser, tr as crosspostChainDepthUpTo, ur as t$10, ut as pLimit, vt as signComment, w as BackupAbortError, wn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, x as decryptEd25519AesGcmPublicKeyBuffer, xt as signCommentUpdate, yt as signCommentEdit, z as moveCommunityDbToDeletedDirectory, zt as cleanWireAuthor } from "./rpc-local-community-aV790d8_.js";
4
4
  import { randomFillSync, randomUUID } from "node:crypto";
5
5
  import { fileURLToPath, pathToFileURL } from "node:url";
6
- import path from "node:path";
6
+ import Path from "node:path";
7
7
  import os from "os";
8
8
  import { existsSync, promises } from "node:fs";
9
- import path$1 from "path";
9
+ import path from "path";
10
10
  import assert from "assert";
11
11
  import fs from "fs";
12
12
  import Database from "better-sqlite3";
@@ -1464,6 +1464,7 @@ async function checkCommentModerationPublication(community, request) {
1464
1464
  const commentToBeEdited = community._dbHandler.queryComment(commentModerationPublication.commentCid);
1465
1465
  if (!commentToBeEdited) return messages.ERR_COMMENT_MODERATION_NO_COMMENT_TO_EDIT;
1466
1466
  if (isAuthorMod && commentModerationPublication.commentModeration.locked && commentToBeEdited.depth !== 0) return messages.ERR_COMMUNITY_COMMENT_MOD_CAN_NOT_LOCK_REPLY;
1467
+ if (community.features?.noArchive && commentModerationPublication.commentModeration.archived === true && !community._dbHandler.queryCommentFlagsSetByMod(commentToBeEdited.cid).archived) return messages.ERR_NOT_ALLOWED_TO_ARCHIVE_POSTS;
1467
1468
  if (isAuthorMod && commentModerationPublication.commentModeration.archived && commentToBeEdited.depth !== 0) return messages.ERR_COMMUNITY_COMMENT_MOD_CAN_NOT_ARCHIVE_REPLY;
1468
1469
  if (community._dbHandler.hasCommentModerationWithSignatureEncoded(commentModerationPublication.signature.signature)) return messages.ERR_DUPLICATE_COMMENT_MODERATION;
1469
1470
  if ("approved" in commentModerationPublication.commentModeration && !commentToBeEdited.pendingApproval) return messages.ERR_MOD_ATTEMPTING_TO_APPROVE_OR_DISAPPROVE_COMMENT_THAT_IS_NOT_PENDING;
@@ -1932,15 +1933,15 @@ async function throwIfChallengeSettingsAreInvalid({ challengeSettings, pkc, comm
1932
1933
  const processStartedCommunities = new TrackedInstanceRegistry();
1933
1934
  function normalizeRegistryDataPath(dataPath) {
1934
1935
  if (dataPath === void 0) return void 0;
1935
- const resolved = path$1.resolve(dataPath);
1936
+ const resolved = path.resolve(dataPath);
1936
1937
  let existing = resolved;
1937
1938
  let tail = "";
1938
1939
  while (true) try {
1939
- return path$1.join(fs.realpathSync.native(existing), tail);
1940
+ return path.join(fs.realpathSync.native(existing), tail);
1940
1941
  } catch {
1941
- const parent = path$1.dirname(existing);
1942
+ const parent = path.dirname(existing);
1942
1943
  if (parent === existing) return resolved;
1943
- tail = path$1.join(path$1.basename(existing), tail);
1944
+ tail = path.join(path.basename(existing), tail);
1944
1945
  existing = parent;
1945
1946
  }
1946
1947
  }
@@ -3711,9 +3712,9 @@ var DbHandler = class {
3711
3712
  if (needToMigrate) {
3712
3713
  if (dbExistsAlready && currentDbVersion > 0) {
3713
3714
  this.destoryConnection();
3714
- backupDbPath = path$1.join(path$1.dirname(dbPath), ".backup_before_migration", `${path$1.basename(dbPath)}.${currentDbVersion}.${timestamp()}`);
3715
- log(`Copying db ${path$1.basename(dbPath)} to ${backupDbPath} before migration`);
3716
- if (!fs.existsSync(path$1.dirname(backupDbPath))) await fs.promises.mkdir(path$1.dirname(backupDbPath), { recursive: true });
3715
+ backupDbPath = path.join(path.dirname(dbPath), ".backup_before_migration", `${path.basename(dbPath)}.${currentDbVersion}.${timestamp()}`);
3716
+ log(`Copying db ${path.basename(dbPath)} to ${backupDbPath} before migration`);
3717
+ if (!fs.existsSync(path.dirname(backupDbPath))) await fs.promises.mkdir(path.dirname(backupDbPath), { recursive: true });
3717
3718
  const sourceDb = new Database(dbPath, { fileMustExist: true });
3718
3719
  await sourceDb.backup(backupDbPath);
3719
3720
  sourceDb.close();
@@ -5531,10 +5532,10 @@ var DbHandler = class {
5531
5532
  if (this._db || this._keyv) await this.destoryConnection();
5532
5533
  this._transactionDepth = 0;
5533
5534
  const dataPath = this._community._pkc.dataPath;
5534
- const oldPathString = path$1.join(dataPath, "communities", oldDbName);
5535
- const newPathString = path$1.join(dataPath, "communities", newDbName);
5536
- await fs.promises.mkdir(path$1.dirname(oldPathString), { recursive: true });
5537
- await fs.promises.mkdir(path$1.dirname(newPathString), { recursive: true });
5535
+ const oldPathString = path.join(dataPath, "communities", oldDbName);
5536
+ const newPathString = path.join(dataPath, "communities", newDbName);
5537
+ await fs.promises.mkdir(path.dirname(oldPathString), { recursive: true });
5538
+ await fs.promises.mkdir(path.dirname(newPathString), { recursive: true });
5538
5539
  try {
5539
5540
  if (!fs.existsSync(oldPathString)) log(`Old DB file ${oldPathString} does not exist. Cannot backup/rename.`);
5540
5541
  else {
@@ -5556,8 +5557,8 @@ var DbHandler = class {
5556
5557
  }
5557
5558
  async lockCommunityStart(communityAddress = this._community.address) {
5558
5559
  const log = logger_default("pkc-js:local-community:db-handler:lock:start");
5559
- const lockfilePath = path$1.join(this._community._pkc.dataPath, "communities", `${communityAddress}.start.lock`);
5560
- const communityDbPath = path$1.join(this._community._pkc.dataPath, "communities", communityAddress);
5560
+ const lockfilePath = path.join(this._community._pkc.dataPath, "communities", `${communityAddress}.start.lock`);
5561
+ const communityDbPath = path.join(this._community._pkc.dataPath, "communities", communityAddress);
5561
5562
  try {
5562
5563
  await import_src.default.lock(communityDbPath, {
5563
5564
  lockfilePath,
@@ -5578,8 +5579,8 @@ var DbHandler = class {
5578
5579
  async unlockCommunityStart(communityAddress = this._community.address) {
5579
5580
  const log = logger_default("pkc-js:local-community:db-handler:unlock:start");
5580
5581
  log.trace(`Attempting to unlock the start of community (${communityAddress})`);
5581
- const lockfilePath = path$1.join(this._community._pkc.dataPath, "communities", `${communityAddress}.start.lock`);
5582
- const communityDbPath = path$1.join(this._community._pkc.dataPath, "communities", communityAddress);
5582
+ const lockfilePath = path.join(this._community._pkc.dataPath, "communities", `${communityAddress}.start.lock`);
5583
+ const communityDbPath = path.join(this._community._pkc.dataPath, "communities", communityAddress);
5583
5584
  if (!fs.existsSync(lockfilePath) || !fs.existsSync(communityDbPath)) return;
5584
5585
  try {
5585
5586
  await import_src.default.unlock(communityDbPath, { lockfilePath });
@@ -5590,8 +5591,8 @@ var DbHandler = class {
5590
5591
  }
5591
5592
  }
5592
5593
  async isCommunityStartLocked(communityAddress = this._community.address) {
5593
- const lockfilePath = path$1.join(this._community._pkc.dataPath, "communities", `${communityAddress}.start.lock`);
5594
- const communityDbPath = path$1.join(this._community._pkc.dataPath, "communities", communityAddress);
5594
+ const lockfilePath = path.join(this._community._pkc.dataPath, "communities", `${communityAddress}.start.lock`);
5595
+ const communityDbPath = path.join(this._community._pkc.dataPath, "communities", communityAddress);
5595
5596
  return await import_src.default.check(communityDbPath, {
5596
5597
  lockfilePath,
5597
5598
  realpath: false,
@@ -5600,8 +5601,8 @@ var DbHandler = class {
5600
5601
  }
5601
5602
  async lockCommunityState() {
5602
5603
  const log = logger_default("pkc-js:local-community:db-handler:lock:lockCommunityState");
5603
- const lockfilePath = path$1.join(this._community._pkc.dataPath, "communities", `${this._community.address}.state.lock`);
5604
- const communityDbPath = path$1.join(this._community._pkc.dataPath, "communities", this._community.address);
5604
+ const lockfilePath = path.join(this._community._pkc.dataPath, "communities", `${this._community.address}.state.lock`);
5605
+ const communityDbPath = path.join(this._community._pkc.dataPath, "communities", this._community.address);
5605
5606
  try {
5606
5607
  await import_src.default.lock(communityDbPath, {
5607
5608
  lockfilePath,
@@ -5618,8 +5619,8 @@ var DbHandler = class {
5618
5619
  }
5619
5620
  async unlockCommunityState() {
5620
5621
  const log = logger_default("pkc-js:local-community:db-handler:lock:unlockCommunityState");
5621
- const lockfilePath = path$1.join(this._community._pkc.dataPath, "communities", `${this._community.address}.state.lock`);
5622
- const communityDbPath = path$1.join(this._community._pkc.dataPath, "communities", this._community.address);
5622
+ const lockfilePath = path.join(this._community._pkc.dataPath, "communities", `${this._community.address}.state.lock`);
5623
+ const communityDbPath = path.join(this._community._pkc.dataPath, "communities", this._community.address);
5623
5624
  if (!fs.existsSync(lockfilePath)) return;
5624
5625
  try {
5625
5626
  await import_src.default.unlock(communityDbPath, { lockfilePath });
@@ -5629,7 +5630,7 @@ var DbHandler = class {
5629
5630
  }
5630
5631
  }
5631
5632
  communityDbExists() {
5632
- const communityDbPath = path$1.join(this._community._pkc.dataPath, "communities", this._community.address);
5633
+ const communityDbPath = path.join(this._community._pkc.dataPath, "communities", this._community.address);
5633
5634
  return fs.existsSync(communityDbPath);
5634
5635
  }
5635
5636
  markCommentsAsPublishedToPostUpdates(commentCids) {
@@ -7374,11 +7375,11 @@ async function edit(community, newCommunityOptions) {
7374
7375
  const EXPORTS_KEY = STORAGE_KEYS[STORAGE_KEYS.EXPORTS];
7375
7376
  function defaultExportPathFor(community, exportId) {
7376
7377
  if (typeof community._pkc.dataPath !== "string") throw new PKCError("ERR_DATA_PATH_IS_NOT_DEFINED", { communityAddress: community.address });
7377
- return path.join(community._pkc.dataPath, "exports", `${exportId}.sqlite`);
7378
+ return Path.join(community._pkc.dataPath, "exports", `${exportId}.sqlite`);
7378
7379
  }
7379
7380
  function sourceDbPathFor(community) {
7380
7381
  if (typeof community._pkc.dataPath !== "string") throw new PKCError("ERR_DATA_PATH_IS_NOT_DEFINED", { communityAddress: community.address });
7381
- return path.join(community._pkc.dataPath, "communities", community.address);
7382
+ return Path.join(community._pkc.dataPath, "communities", community.address);
7382
7383
  }
7383
7384
  async function persistExports(community) {
7384
7385
  if (!community._dbHandler) return;
@@ -7454,9 +7455,9 @@ async function runExportTask(community, exportId, opts) {
7454
7455
  async function exportCommunityEmbedded(community, options = {}) {
7455
7456
  if (options.signal?.aborted) throw options.signal.reason ?? new DOMException("The operation was aborted.", "AbortError");
7456
7457
  const exportId = v4();
7457
- const destPath = options.exportPath ? path.resolve(options.exportPath) : defaultExportPathFor(community, exportId);
7458
+ const destPath = options.exportPath ? Path.resolve(options.exportPath) : defaultExportPathFor(community, exportId);
7458
7459
  const includePrivateKey = options.includePrivateKey === true;
7459
- if (path.resolve(destPath) === path.resolve(sourceDbPathFor(community))) throw new PKCError("ERR_EXPORT_PATH_TARGETS_LIVE_DB", {
7460
+ if (Path.resolve(destPath) === Path.resolve(sourceDbPathFor(community))) throw new PKCError("ERR_EXPORT_PATH_TARGETS_LIVE_DB", {
7460
7461
  communityAddress: community.address,
7461
7462
  exportPath: destPath
7462
7463
  });
@@ -1,7 +1,7 @@
1
1
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-2rV9d50f.js";
2
- import { A as doesDomainAddressHaveCapitalLetter, At as refreshTrackedCommentAliases, B as ipnsNameToIpnsOverPubsubTopic, Br as stringifyPrimitive, Bt as TimeoutError, Cn as CommentIpfsSchema, Cr as messages, D as createAbortError, Dr as setErrorMap, Dt as listStartedCommunities, Et as findUpdatingCommunity, H as isIpfsCid, Lt as untrackUpdatingComment, O as deepMergeRuntimeFields, On as CommentUpdateForChallengeVerificationSchema, Ot as listUpdatingComments, Pt as trackUpdatingComment, R as hideClassPrivateProps, Rr as joinValues, Sr as PKCError, Tt as findUpdatingComment, V as isAbortError, Vt as pTimeout, W as isIpns, _r as FailedToFetchCommentIpfsFromGatewaysError, _t as sleepUntilTimeoutOrAbort, a as ChallengeRequestMessageSchema, ar as t$1, b as areEquivalentCommunityAddresses, bt as timestamp, dt as resolveWhenPredicateIsTrue, fn as PubsubTopicSchema, gr as require_retry, gt as shortifyCid, ht as shortifyAddress, it as rejectWhenCommunityStopsOrAborts, jn as CommentUpdateSchema, kt as listUpdatingCommunities, lr as r, lt as removeUndefinedValuesRecursively, mn as isStringDomain, on as CommunityIpfsSchema, or as e, pt as retryKuboIpfsAdd, r as ChallengeMessageSchema, rr as n$1, rt as rejectWhenAbortSignalFires, s as ChallengeVerificationMessageSchema, sr as e$1, t as ChallengeAnswerMessageSchema, tn as CommunityAnchorSchema, tr as n$2, ut as replaceXWithY, wr as logger_default, wt as findStartedCommunity, xt as waitForUpdateInCommunityInstanceWithErrorAndTimeout, y as version_default, yt as throwIfAbortSignalAborted, zr as parsedType, zt as require_sha256 } from "./schema-DdD_6tTd.js";
3
- import { $ as parseRawPages, $n as RpcSuccessResultSchema, $t as getPKCAddressFromPublicKeySync, An as parseRpcCommentUpdateEventWithPKCErrorIfItFails, At as verifyCommentEdit, Bn as RpcCommunityPageParamSchema, Bt as getAuthorNameFromRuntime, Cn as parseCreateVoteOptionsSchemaWithPKCErrorIfItFails, Dn as parseJsonWithPKCErrorIfFails, Dt as verifyChallengeMessage, En as parseDecryptedChallengeWithPKCErrorIfItFails, Fn as RpcAuthorNameParamSchema, Gn as RpcExportCommunityResultSchema, Gt as getCommunityNameFromWire, H as tryToDeleteCommunitiesThatFailedToBeDeletedBefore, Hn as RpcExportCommunityModLogsParamSchema, Ht as normalizeCreatePublicationAuthor, In as RpcCancelExportParamSchema, It as verifyCommunityEdit, Jn as RpcPublishAnchorRecordParamSchema, Jt as decode, Kn as RpcFetchCidParamSchema, Kt as getCommunityPublicKeyFromWire, L as listCommunitiesSync, Ln as RpcCidParamSchema, Lt as verifyVote, Mt as verifyCommentModeration, Nn as parseVotePubsubMessagePublicationSchemaWithPKCErrorIfItFails, Nt as verifyCommentPubsubMessage, O as createKuboRpcClient, On as parsePKCUserOptionsSchemaWithPKCErrorIfItFails, P as getDefaultDataPath, Pn as RpcAnchorPublishPreparationResultSchema, Pt as verifyCommentUpdate, Qn as RpcSubscriptionIdResultSchema, R as monitorCommunitiesDirectory, Rn as RpcCommentRepliesPageParamSchema, Rt as buildRuntimeAuthor, S as encryptEd25519AesGcm, Sn as parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErrorIfItFails, Tn as parseDecryptedChallengeVerification, Tt as signVote, U as CommentClientsManager, Un as RpcExportCommunityModLogsResultSchema, Ut as buildRuntimeCommunityFields, V as setNativeFunctions$1, Vn as RpcEditCommunityParamSchema, Wn as RpcExportCommunityParamSchema, Wt as getCommunityAddressFromRecord, X as extractCommunityRuntimeFieldsFromParsedPages, Xn as RpcPublishedAnchorRecordResultSchema, Xt as getBufferedPKCAddressFromPublicKey, Yn as RpcPublishChallengeAnswersParamSchema, Z as findCommentInPageInstanceRecursively, Zn as RpcResolveAuthorNameResultSchema, _n as parseCreateCommentOptionsSchemaWithPKCErrorIfItFails, an as parseCommentEditPubsubMessagePublicationSchemaWithPKCErrorIfItFails, at as stripNameResolvedFromCrosspost, b as decryptEd25519AesGcm, bt as signCommentModeration, c as TrackedInstanceRegistry, cn as parseCommentModerationPubsubMessagePublicationSchemaWithPKCErrorIfItFails, ct as InflightFetchManager, dt as PKCTypedEmitter, er as RpcUnsubscribeParamSchema, et as RepliesPages, f as KeyvBetterSqlite3, ft as require_lib$1, g as decodeRpcChallengeVerificationPubsubMsg, gn as parseCreateCommentModerationOptionsSchemaWithPKCErrorIfItFails, gt as signChallengeRequest, h as decodeRpcChallengeRequestPubsubMsg, hn as parseCreateCommentEditOptionsSchemaWithPKCErrorIfItFails, hr as require_undici, jn as parseSetNewSettingsPKCWsServerSchemaWithPKCErrorIfItFails, jt as verifyCommentIpfs, kn as parseRpcCommentEventWithPKCErrorIfItFails, kt as verifyChallengeVerification, l as LRUCache, ln as parseCommentPubsubMessagePublicationWithPKCErrorIfItFails, lr as t$2, m as decodeRpcChallengePubsubMsg, mr as nativeFunctions$2, mt as signChallengeAnswer, n as RpcRemoteCommunity, nn as parseCidStringSchemaWithPKCErrorIfItFails, nt as cloneCrosspostForRuntime, o as pkcJsChallenges, on as parseCommentIpfsSchemaWithPKCErrorIfItFails, or as t$3, ot as PublicationClientsManager, p as decodeRpcChallengeAnswerPubsubMsg, pn as parseCommunityEditPubsubMessagePublicationSchemaWithPKCErrorIfItFails, pt as cleanUpBeforePublishing, qn as RpcFetchCidResultSchema, qt as normalizeCommunityInputFromCommunity, rr as t$4, rt as collectCrosspostAuthorsToResolve, sr as n$3, st as PKCClientsManager, t as RpcLocalCommunity, tt as applyNameResolvedCacheToCrosspost, u as RemoteCommunity, un as parseCommunityAddressWithPKCErrorIfItFails, ur as t$5, v as createSigner, vn as parseCreateCommunityEditPublicationOptionsSchemaWithPKCErrorIfItFails, vt as signComment, wn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, wt as signCommunityEdit, xn as parseCreateRemoteCommunityFunctionArgumentSchemaWithPKCErrorIfItFails, y as createAnchorIpnsRecord$1, yt as signCommentEdit, zn as RpcCommunityIdentifierParamSchema, zt as cleanWireAuthor } from "./rpc-local-community-pLvHO4g9.js";
4
- import { o as getHeliaDebugContext } from "./util-N0_wIz2O.js";
2
+ import { A as doesDomainAddressHaveCapitalLetter, At as refreshTrackedCommentAliases, B as ipnsNameToIpnsOverPubsubTopic, Br as stringifyPrimitive, Bt as TimeoutError, Cn as CommentIpfsSchema, Cr as messages, D as createAbortError, Dr as setErrorMap, Dt as listStartedCommunities, Et as findUpdatingCommunity, H as isIpfsCid, Lt as untrackUpdatingComment, O as deepMergeRuntimeFields, On as CommentUpdateForChallengeVerificationSchema, Ot as listUpdatingComments, Pt as trackUpdatingComment, R as hideClassPrivateProps, Rr as joinValues, Sr as PKCError, Tt as findUpdatingComment, V as isAbortError, Vt as pTimeout, W as isIpns, _r as FailedToFetchCommentIpfsFromGatewaysError, _t as sleepUntilTimeoutOrAbort, a as ChallengeRequestMessageSchema, ar as t$1, b as areEquivalentCommunityAddresses, bt as timestamp, dt as resolveWhenPredicateIsTrue, fn as PubsubTopicSchema, gr as require_retry, gt as shortifyCid, ht as shortifyAddress, it as rejectWhenCommunityStopsOrAborts, jn as CommentUpdateSchema, kt as listUpdatingCommunities, lr as r, lt as removeUndefinedValuesRecursively, mn as isStringDomain, on as CommunityIpfsSchema, or as e, pt as retryKuboIpfsAdd, r as ChallengeMessageSchema, rr as n$1, rt as rejectWhenAbortSignalFires, s as ChallengeVerificationMessageSchema, sr as e$1, t as ChallengeAnswerMessageSchema, tn as CommunityAnchorSchema, tr as n$2, ut as replaceXWithY, wr as logger_default, wt as findStartedCommunity, xt as waitForUpdateInCommunityInstanceWithErrorAndTimeout, y as version_default, yt as throwIfAbortSignalAborted, zr as parsedType, zt as require_sha256 } from "./schema-gif6qroG.js";
3
+ import { $ as parseRawPages, $n as RpcSuccessResultSchema, $t as getPKCAddressFromPublicKeySync, An as parseRpcCommentUpdateEventWithPKCErrorIfItFails, At as verifyCommentEdit, Bn as RpcCommunityPageParamSchema, Bt as getAuthorNameFromRuntime, Cn as parseCreateVoteOptionsSchemaWithPKCErrorIfItFails, Dn as parseJsonWithPKCErrorIfFails, Dt as verifyChallengeMessage, En as parseDecryptedChallengeWithPKCErrorIfItFails, Fn as RpcAuthorNameParamSchema, Gn as RpcExportCommunityResultSchema, Gt as getCommunityNameFromWire, H as tryToDeleteCommunitiesThatFailedToBeDeletedBefore, Hn as RpcExportCommunityModLogsParamSchema, Ht as normalizeCreatePublicationAuthor, In as RpcCancelExportParamSchema, It as verifyCommunityEdit, Jn as RpcPublishAnchorRecordParamSchema, Jt as decode, Kn as RpcFetchCidParamSchema, Kt as getCommunityPublicKeyFromWire, L as listCommunitiesSync, Ln as RpcCidParamSchema, Lt as verifyVote, Mt as verifyCommentModeration, Nn as parseVotePubsubMessagePublicationSchemaWithPKCErrorIfItFails, Nt as verifyCommentPubsubMessage, O as createKuboRpcClient, On as parsePKCUserOptionsSchemaWithPKCErrorIfItFails, P as getDefaultDataPath, Pn as RpcAnchorPublishPreparationResultSchema, Pt as verifyCommentUpdate, Qn as RpcSubscriptionIdResultSchema, R as monitorCommunitiesDirectory, Rn as RpcCommentRepliesPageParamSchema, Rt as buildRuntimeAuthor, S as encryptEd25519AesGcm, Sn as parseCreateRpcCommunityFunctionArgumentSchemaWithPKCErrorIfItFails, Tn as parseDecryptedChallengeVerification, Tt as signVote, U as CommentClientsManager, Un as RpcExportCommunityModLogsResultSchema, Ut as buildRuntimeCommunityFields, V as setNativeFunctions$1, Vn as RpcEditCommunityParamSchema, Wn as RpcExportCommunityParamSchema, Wt as getCommunityAddressFromRecord, X as extractCommunityRuntimeFieldsFromParsedPages, Xn as RpcPublishedAnchorRecordResultSchema, Xt as getBufferedPKCAddressFromPublicKey, Yn as RpcPublishChallengeAnswersParamSchema, Z as findCommentInPageInstanceRecursively, Zn as RpcResolveAuthorNameResultSchema, _n as parseCreateCommentOptionsSchemaWithPKCErrorIfItFails, an as parseCommentEditPubsubMessagePublicationSchemaWithPKCErrorIfItFails, at as stripNameResolvedFromCrosspost, b as decryptEd25519AesGcm, bt as signCommentModeration, c as TrackedInstanceRegistry, cn as parseCommentModerationPubsubMessagePublicationSchemaWithPKCErrorIfItFails, ct as InflightFetchManager, dt as PKCTypedEmitter, er as RpcUnsubscribeParamSchema, et as RepliesPages, f as KeyvBetterSqlite3, ft as require_lib$1, g as decodeRpcChallengeVerificationPubsubMsg, gn as parseCreateCommentModerationOptionsSchemaWithPKCErrorIfItFails, gt as signChallengeRequest, h as decodeRpcChallengeRequestPubsubMsg, hn as parseCreateCommentEditOptionsSchemaWithPKCErrorIfItFails, hr as require_undici, jn as parseSetNewSettingsPKCWsServerSchemaWithPKCErrorIfItFails, jt as verifyCommentIpfs, kn as parseRpcCommentEventWithPKCErrorIfItFails, kt as verifyChallengeVerification, l as LRUCache, ln as parseCommentPubsubMessagePublicationWithPKCErrorIfItFails, lr as t$2, m as decodeRpcChallengePubsubMsg, mr as nativeFunctions$2, mt as signChallengeAnswer, n as RpcRemoteCommunity, nn as parseCidStringSchemaWithPKCErrorIfItFails, nt as cloneCrosspostForRuntime, o as pkcJsChallenges, on as parseCommentIpfsSchemaWithPKCErrorIfItFails, or as t$3, ot as PublicationClientsManager, p as decodeRpcChallengeAnswerPubsubMsg, pn as parseCommunityEditPubsubMessagePublicationSchemaWithPKCErrorIfItFails, pt as cleanUpBeforePublishing, qn as RpcFetchCidResultSchema, qt as normalizeCommunityInputFromCommunity, rr as t$4, rt as collectCrosspostAuthorsToResolve, sr as n$3, st as PKCClientsManager, t as RpcLocalCommunity, tt as applyNameResolvedCacheToCrosspost, u as RemoteCommunity, un as parseCommunityAddressWithPKCErrorIfItFails, ur as t$5, v as createSigner, vn as parseCreateCommunityEditPublicationOptionsSchemaWithPKCErrorIfItFails, vt as signComment, wn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, wt as signCommunityEdit, xn as parseCreateRemoteCommunityFunctionArgumentSchemaWithPKCErrorIfItFails, y as createAnchorIpnsRecord$1, yt as signCommentEdit, zn as RpcCommunityIdentifierParamSchema, zt as cleanWireAuthor } from "./rpc-local-community-aV790d8_.js";
4
+ import { o as getHeliaDebugContext } from "./util-BsJoElMm.js";
5
5
  import path from "path";
6
6
  import assert from "assert";
7
7
  import fs from "fs";
@@ -7054,7 +7054,7 @@ var PKC$1 = class extends PKCTypedEmitter {
7054
7054
  this.clients.libp2pJsClients = {};
7055
7055
  if (!this.libp2pJsClientsOptions) return;
7056
7056
  if (!this.httpRoutersOptions) throw Error("httpRoutersOptions is required for libp2pJsClient");
7057
- const { createLibp2pJsClientOrUseExistingOne } = await import("./helia-for-pkc-DSF3IY_M.js");
7057
+ const { createLibp2pJsClientOrUseExistingOne } = await import("./helia-for-pkc-ZbhRl9a-.js");
7058
7058
  for (const clientOptions of this.libp2pJsClientsOptions) {
7059
7059
  const heliaNode = await createLibp2pJsClientOrUseExistingOne({
7060
7060
  ...clientOptions,
@@ -7333,7 +7333,7 @@ var PKC$1 = class extends PKCTypedEmitter {
7333
7333
  const log = logger_default("pkc-js:pkc:createLocalCommunity");
7334
7334
  log.trace("Received community options to create a local community instance:", options);
7335
7335
  if (!this._canCreateNewLocalCommunity()) throw new PKCError("ERR_CAN_NOT_CREATE_A_LOCAL_COMMUNITY", { pkcOptions: this._userPKCOptions });
7336
- const { LocalCommunity, createNewLocalCommunityDb, updateInstancePropsWithStartedCommunityOrDb } = await import("./local-community-CTd_1kw_.js");
7336
+ const { LocalCommunity, createNewLocalCommunityDb, updateInstancePropsWithStartedCommunityOrDb } = await import("./local-community-Cu95rtju.js");
7337
7337
  const isLocalCommunity = (await listCommunitiesSync(this)).includes(options.address);
7338
7338
  const community = new LocalCommunity(this);
7339
7339
  if (isLocalCommunity) {
@@ -1,5 +1,5 @@
1
1
  import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } from "./chunk-2rV9d50f.js";
2
- import { $ as isRequestPubsubPublicationOfReply, $n as CommunityAuthorChallengeReservedFieldNames, $t as ChallengeFileFactorySchema, A as doesDomainAddressHaveCapitalLetter, An as CommentUpdateReservedFields, Ar as boolean, B as ipnsNameToIpnsOverPubsubTopic, Cn as CommentIpfsSchema, Cr as messages, D as createAbortError, Dn as CommentUpdateChallengeReservedFieldNames, Dt as listStartedCommunities, En as CommentSignedPropertyNames, Er as require_ms$1, Et as findUpdatingCommunity, Fn as CreateCommentOptionsWithRefinementSchema, Fr as record, Ft as trackUpdatingCommunity, G as isIpnsPath, Gn as CreateCommentEditOptionsWithRefinementSchema, Gt as CommunityEditPubsubMessagePublicationSchema, H as isIpfsCid, Ht as CommunityEditPublicationChallengeRequestToEncryptSchema, In as GetPageParamSchema, Ir as string, It as untrackStartedCommunity, Jt as CommentModerationPubsubMessagePublicationSchema, Kn as AuthorAddressSchema, Kt as CreateCommunityEditPublicationOptionsWithRefinementSchema, L as getPostUpdateTimestampRange, Ln as ModQueuePageIpfsSchema, Lt as untrackUpdatingComment, M as fetchAndValidateIpnsRecordFromGateway, Mn as CommentUpdateSignedPropertyNames, Mr as literal, Nr as number, Nt as trackStartedCommunity, O as deepMergeRuntimeFields, Or as _enum, Pr as object, Q as isRequestPubsubPublicationOfPost, Qn as CommunityAddressSchema, Qt as CreateCommentModerationOptionsWithRefinementSchema, R as hideClassPrivateProps, Rn as PageIpfsSchema, Rt as untrackUpdatingCommunity, S as calculateIpfsCidV0, Sn as CommentIpfsReservedFields, Sr as PKCError, Tn as CommentPubsubMessageWithFlexibleAuthorRefinementSchema, Tr as require_supports_color, Tt as findUpdatingComment, U as isIpfsPath, Un as CommentEditSignedPropertyNames, V as isAbortError, Vn as CommentEditPubsubMessagePublicationWithFlexibleAuthorSchema, Vt as pTimeout, W as isIpns, Wt as CommunityEditPublicationSignedPropertyNames, Xn as CidPathSchema, Xt as CommentModerationSignedPropertyNames, Yn as ChallengeAnswersSchema, Zn as CidStringSchema, Zt as CommentModerationsTableRowSchema, _ as PKCUserOptionBaseSchema, _n as VotePubsubMessagePublicationSchema, _r as FailedToFetchCommentIpfsFromGatewaysError, _t as sleepUntilTimeoutOrAbort, an as CommunityIpfsReservedFields, ar as t$13, b as areEquivalentCommunityAddresses, br as FailedToFetchGenericIpfsFromGatewaysError, bt as timestamp, c as ChallengeVerificationMessageSignedPropertyNames, cn as CreateNewLocalCommunityUserOptionsSchema, cr as t$11, dn as ExportCommunityModLogsOptionsSchema, dr as n$8, dt as resolveWhenPredicateIsTrue, en as ChallengeFileSchema, er as CreateSignerSchema, et as pubsubTopicToDhtKey, f as DecryptedChallengeSchema, fr as r$7, g as PKCParsedOptionsSchema, gn as VoteChallengeRequestToEncryptSchema, gr as require_retry$1, gt as shortifyCid, h as NameResolverSerializedSchema, hn as CreateVoteUserOptionsWithRefinementSchema, hr as e$4, ht as shortifyAddress, i as ChallengeMessageSignedPropertyNames, in as CommunityExportRecordsSchema, j as extractNetworkErrorDetails, jn as CommentUpdateSchema, jr as custom, jt as refreshTrackedCommunityAliases, k as derivePublicationFromChallengeRequest, kn as CommentUpdateForChallengeVerificationSignedPropertyNames, kr as array, kt as listUpdatingCommunities, l as DecryptedChallengeAnswerSchema, ln as CreateRemoteCommunityFunctionArgumentSchema, lr as r$8, m as NameResolveCacheOptionsSchema, mn as isStringDomain, mr as t$9, n as ChallengeAnswerMessageSignedPropertyNames, nn as CommunityChallengeSettingSchema, nt as raceAgainstAbort, o as ChallengeRequestMessageSignedPropertyNames, on as CommunityIpfsSchema, or as e$6, p as DecryptedChallengeVerificationSchema, pn as RpcRemoteCommunityUpdateEventResultSchema, pr as t$10, qn as AuthorCommentIpfsReservedFields, qt as CommentModerationChallengeRequestToEncryptSchema, rn as CommunityEditOptionsSchema, rr as n$9, sn as CommunitySignedPropertyNames, sr as e$5, st as removeNullUndefinedEmptyObjectsValuesRecursively, tr as n$10, un as CreateRpcCommunityFunctionArgumentSchema, ur as t$12, v as PKCUserOptionsSchema, vr as FailedToFetchCommentUpdateFromGatewaysError, wr as logger_default, wt as findStartedCommunity, xn as CommentChallengeRequestToEncryptSchema, xr as FailedToFetchPageIpfsFromGatewaysError, xt as waitForUpdateInCommunityInstanceWithErrorAndTimeout, yn as VoteSignedPropertyNames, yr as FailedToFetchCommunityFromGatewaysError, yt as throwIfAbortSignalAborted, z as interruptibleSleep, zn as CommentEditChallengeRequestToEncryptSchema, zt as require_sha256$1 } from "./schema-DdD_6tTd.js";
2
+ import { $ as isRequestPubsubPublicationOfReply, $n as CommunityAuthorChallengeReservedFieldNames, $t as ChallengeFileFactorySchema, A as doesDomainAddressHaveCapitalLetter, An as CommentUpdateReservedFields, Ar as boolean, B as ipnsNameToIpnsOverPubsubTopic, Cn as CommentIpfsSchema, Cr as messages, D as createAbortError, Dn as CommentUpdateChallengeReservedFieldNames, Dt as listStartedCommunities, En as CommentSignedPropertyNames, Er as require_ms$1, Et as findUpdatingCommunity, Fn as CreateCommentOptionsWithRefinementSchema, Fr as record, Ft as trackUpdatingCommunity, G as isIpnsPath, Gn as CreateCommentEditOptionsWithRefinementSchema, Gt as CommunityEditPubsubMessagePublicationSchema, H as isIpfsCid, Ht as CommunityEditPublicationChallengeRequestToEncryptSchema, In as GetPageParamSchema, Ir as string, It as untrackStartedCommunity, Jt as CommentModerationPubsubMessagePublicationSchema, Kn as AuthorAddressSchema, Kt as CreateCommunityEditPublicationOptionsWithRefinementSchema, L as getPostUpdateTimestampRange, Ln as ModQueuePageIpfsSchema, Lt as untrackUpdatingComment, M as fetchAndValidateIpnsRecordFromGateway, Mn as CommentUpdateSignedPropertyNames, Mr as literal, Nr as number, Nt as trackStartedCommunity, O as deepMergeRuntimeFields, Or as _enum, Pr as object, Q as isRequestPubsubPublicationOfPost, Qn as CommunityAddressSchema, Qt as CreateCommentModerationOptionsWithRefinementSchema, R as hideClassPrivateProps, Rn as PageIpfsSchema, Rt as untrackUpdatingCommunity, S as calculateIpfsCidV0, Sn as CommentIpfsReservedFields, Sr as PKCError, Tn as CommentPubsubMessageWithFlexibleAuthorRefinementSchema, Tr as require_supports_color, Tt as findUpdatingComment, U as isIpfsPath, Un as CommentEditSignedPropertyNames, V as isAbortError, Vn as CommentEditPubsubMessagePublicationWithFlexibleAuthorSchema, Vt as pTimeout, W as isIpns, Wt as CommunityEditPublicationSignedPropertyNames, Xn as CidPathSchema, Xt as CommentModerationSignedPropertyNames, Yn as ChallengeAnswersSchema, Zn as CidStringSchema, Zt as CommentModerationsTableRowSchema, _ as PKCUserOptionBaseSchema, _n as VotePubsubMessagePublicationSchema, _r as FailedToFetchCommentIpfsFromGatewaysError, _t as sleepUntilTimeoutOrAbort, an as CommunityIpfsReservedFields, ar as t$13, b as areEquivalentCommunityAddresses, br as FailedToFetchGenericIpfsFromGatewaysError, bt as timestamp, c as ChallengeVerificationMessageSignedPropertyNames, cn as CreateNewLocalCommunityUserOptionsSchema, cr as t$11, dn as ExportCommunityModLogsOptionsSchema, dr as n$8, dt as resolveWhenPredicateIsTrue, en as ChallengeFileSchema, er as CreateSignerSchema, et as pubsubTopicToDhtKey, f as DecryptedChallengeSchema, fr as r$7, g as PKCParsedOptionsSchema, gn as VoteChallengeRequestToEncryptSchema, gr as require_retry$1, gt as shortifyCid, h as NameResolverSerializedSchema, hn as CreateVoteUserOptionsWithRefinementSchema, hr as e$4, ht as shortifyAddress, i as ChallengeMessageSignedPropertyNames, in as CommunityExportRecordsSchema, j as extractNetworkErrorDetails, jn as CommentUpdateSchema, jr as custom, jt as refreshTrackedCommunityAliases, k as derivePublicationFromChallengeRequest, kn as CommentUpdateForChallengeVerificationSignedPropertyNames, kr as array, kt as listUpdatingCommunities, l as DecryptedChallengeAnswerSchema, ln as CreateRemoteCommunityFunctionArgumentSchema, lr as r$8, m as NameResolveCacheOptionsSchema, mn as isStringDomain, mr as t$9, n as ChallengeAnswerMessageSignedPropertyNames, nn as CommunityChallengeSettingSchema, nt as raceAgainstAbort, o as ChallengeRequestMessageSignedPropertyNames, on as CommunityIpfsSchema, or as e$6, p as DecryptedChallengeVerificationSchema, pn as RpcRemoteCommunityUpdateEventResultSchema, pr as t$10, qn as AuthorCommentIpfsReservedFields, qt as CommentModerationChallengeRequestToEncryptSchema, rn as CommunityEditOptionsSchema, rr as n$9, sn as CommunitySignedPropertyNames, sr as e$5, st as removeNullUndefinedEmptyObjectsValuesRecursively, tr as n$10, un as CreateRpcCommunityFunctionArgumentSchema, ur as t$12, v as PKCUserOptionsSchema, vr as FailedToFetchCommentUpdateFromGatewaysError, wr as logger_default, wt as findStartedCommunity, xn as CommentChallengeRequestToEncryptSchema, xr as FailedToFetchPageIpfsFromGatewaysError, xt as waitForUpdateInCommunityInstanceWithErrorAndTimeout, yn as VoteSignedPropertyNames, yr as FailedToFetchCommunityFromGatewaysError, yt as throwIfAbortSignalAborted, z as interruptibleSleep, zn as CommentEditChallengeRequestToEncryptSchema, zt as require_sha256$1 } from "./schema-gif6qroG.js";
3
3
  import { t as all } from "./src-CYIMjhjK.js";
4
4
  import { createHash } from "node:crypto";
5
5
  import { pathToFileURL } from "node:url";
@@ -5499,6 +5499,7 @@ var messages;
5499
5499
  messages["ERR_AUTHOR_FLAIR_NOT_IN_ALLOWED_FLAIRS"] = "Author flair must be from the allowed flairs in community.flairs['author']";
5500
5500
  messages["ERR_COMMUNITY_COMMENT_MOD_CAN_NOT_LOCK_REPLY"] = "Can't lock replies. Only posts";
5501
5501
  messages["ERR_COMMUNITY_COMMENT_MOD_CAN_NOT_ARCHIVE_REPLY"] = "Can't archive replies. Only posts";
5502
+ messages["ERR_NOT_ALLOWED_TO_ARCHIVE_POSTS"] = "community.features.noArchive is true which means posts can't be archived in this community";
5502
5503
  messages["ERR_COMMUNITY_COMMENT_EDIT_UNAUTHORIZED_FIELD"] = "CommentEdit includes a field that cannot be used";
5503
5504
  messages["ERR_PUBLISHING_EDIT_WITH_BOTH_MOD_AND_AUTHOR_FIELDS"] = "CommentEdit can't have both author and mod fields. Please publish a separate request for author and mod";
5504
5505
  messages["ERR_FAILED_TO_RESOLVE_TEXT_RECORD"] = "Failed to resolve text record";
@@ -6616,6 +6617,7 @@ const CommunityFeaturesSchema = looseObject({
6616
6617
  noCrossposts: boolean().optional(),
6617
6618
  maxCrosspostDepth: number().int().nonnegative().optional(),
6618
6619
  noNestedReplies: boolean().optional(),
6620
+ noArchive: boolean().optional(),
6619
6621
  safeForWork: boolean().optional(),
6620
6622
  authorFlairs: boolean().optional(),
6621
6623
  requireAuthorFlairs: boolean().optional(),
@@ -16235,7 +16237,7 @@ function extractNetworkErrorDetails(err, depth = 0) {
16235
16237
  }
16236
16238
  //#endregion
16237
16239
  //#region dist/node/generated-version.js
16238
- const version = "0.0.101";
16240
+ const version = "0.0.102";
16239
16241
  //#endregion
16240
16242
  //#region dist/node/version.js
16241
16243
  const protocolVersion = ProtocolVersionSchema.parse("1.0.0");
@@ -1,4 +1,4 @@
1
- import { Sr as PKCError, tt as pubsubTopicToDhtKeyCid } from "./schema-DdD_6tTd.js";
1
+ import { Sr as PKCError, tt as pubsubTopicToDhtKeyCid } from "./schema-gif6qroG.js";
2
2
  import { ipnsSelector } from "ipns/selector";
3
3
  import { ipnsValidator } from "ipns/validator";
4
4
  import { unmarshalIPNSRecord } from "ipns";
@@ -1,2 +1,2 @@
1
- import { a as getShortCid, i as getShortAddress, n as challenges, o as nativeFunctions, r as createAnchorIpnsRecord, s as setNativeFunctions, t as PKC } from "./chunks/node-pGNrsJuH.js";
1
+ import { a as getShortCid, i as getShortAddress, n as challenges, o as nativeFunctions, r as createAnchorIpnsRecord, s as setNativeFunctions, t as PKC } from "./chunks/node-DaN6R9HB.js";
2
2
  export { challenges, createAnchorIpnsRecord, PKC as default, getShortAddress, getShortCid, nativeFunctions, setNativeFunctions };
@@ -1,7 +1,7 @@
1
- import { R as hideClassPrivateProps, Sr as PKCError, Vt as pTimeout, ar as t, rr as n, ut as replaceXWithY, wr as logger_default, wt as findStartedCommunity } from "../../chunks/schema-DdD_6tTd.js";
2
- import { _ as parseRpcPublishAnchorRecordParam, c as parseRpcAuthorNameParam, d as parseRpcCommentRepliesPageParam, f as parseRpcCommunityIdentifierParam, g as parseRpcExportCommunityParam, h as parseRpcExportCommunityModLogsParam, l as parseRpcCancelExportParam, m as parseRpcEditCommunityParam, p as parseRpcCommunityPageParam, t as PKC, u as parseRpcCidParam, v as parseRpcPublishChallengeAnswersParam, y as parseRpcUnsubscribeParam } from "../../chunks/node-pGNrsJuH.js";
3
- import { J as buildPageRuntimeFields, Mn as parseVoteChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, Y as buildPagesRuntimeFields, bn as parseCreatePKCWsServerOptionsSchemaWithPKCErrorIfItFails, dn as parseCommunityEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, dr as stringify, fn as parseCommunityEditOptionsSchemaWithPKCErrorIfItFails, ft as require_lib, in as parseCommentEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, ir as t$1, it as extractCrosspostRuntimeFields, jn as parseSetNewSettingsPKCWsServerSchemaWithPKCErrorIfItFails, lt as pRetry, rn as parseCommentChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, sn as parseCommentModerationChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, ut as pLimit, wn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, yn as parseCreateNewLocalCommunityUserOptionsSchemaWithPKCErrorIfItFails } from "../../chunks/rpc-local-community-pLvHO4g9.js";
4
- import { t as LocalCommunity } from "../../chunks/local-community-DtlDCcc2.js";
1
+ import { R as hideClassPrivateProps, Sr as PKCError, Vt as pTimeout, ar as t, rr as n, ut as replaceXWithY, wr as logger_default, wt as findStartedCommunity } from "../../chunks/schema-gif6qroG.js";
2
+ import { _ as parseRpcPublishAnchorRecordParam, c as parseRpcAuthorNameParam, d as parseRpcCommentRepliesPageParam, f as parseRpcCommunityIdentifierParam, g as parseRpcExportCommunityParam, h as parseRpcExportCommunityModLogsParam, l as parseRpcCancelExportParam, m as parseRpcEditCommunityParam, p as parseRpcCommunityPageParam, t as PKC, u as parseRpcCidParam, v as parseRpcPublishChallengeAnswersParam, y as parseRpcUnsubscribeParam } from "../../chunks/node-DaN6R9HB.js";
3
+ import { J as buildPageRuntimeFields, Mn as parseVoteChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, Y as buildPagesRuntimeFields, bn as parseCreatePKCWsServerOptionsSchemaWithPKCErrorIfItFails, dn as parseCommunityEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, dr as stringify, fn as parseCommunityEditOptionsSchemaWithPKCErrorIfItFails, ft as require_lib, in as parseCommentEditChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, ir as t$1, it as extractCrosspostRuntimeFields, jn as parseSetNewSettingsPKCWsServerSchemaWithPKCErrorIfItFails, lt as pRetry, rn as parseCommentChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, sn as parseCommentModerationChallengeRequestToEncryptSchemaWithPKCErrorIfItFails, ut as pLimit, wn as parseDecryptedChallengeAnswerWithPKCErrorIfItFails, yn as parseCreateNewLocalCommunityUserOptionsSchemaWithPKCErrorIfItFails } from "../../chunks/rpc-local-community-aV790d8_.js";
4
+ import { t as LocalCommunity } from "../../chunks/local-community-L-1IkV1x.js";
5
5
  import { fileURLToPath } from "node:url";
6
6
  import path from "path";
7
7
  import assert from "assert";
@@ -64,6 +64,7 @@ export declare const parseRpcEditCommunityParam: (params: unknown) => {
64
64
  noCrossposts?: boolean | undefined;
65
65
  maxCrosspostDepth?: number | undefined;
66
66
  noNestedReplies?: boolean | undefined;
67
+ noArchive?: boolean | undefined;
67
68
  safeForWork?: boolean | undefined;
68
69
  authorFlairs?: boolean | undefined;
69
70
  requireAuthorFlairs?: boolean | undefined;
@@ -333,6 +333,7 @@ export declare const RpcEditCommunityParamSchema: z.ZodObject<{
333
333
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
334
334
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
335
335
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
336
+ noArchive: z.ZodOptional<z.ZodBoolean>;
336
337
  safeForWork: z.ZodOptional<z.ZodBoolean>;
337
338
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
338
339
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -38,6 +38,7 @@ export declare const CommunityFeaturesSchema: z.ZodObject<{
38
38
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
39
39
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
40
40
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
41
+ noArchive: z.ZodOptional<z.ZodBoolean>;
41
42
  safeForWork: z.ZodOptional<z.ZodBoolean>;
42
43
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
43
44
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -957,6 +958,7 @@ export declare const CommunityIpfsSchema: z.ZodObject<{
957
958
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
958
959
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
959
960
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
961
+ noArchive: z.ZodOptional<z.ZodBoolean>;
960
962
  safeForWork: z.ZodOptional<z.ZodBoolean>;
961
963
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
962
964
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -1304,6 +1306,7 @@ export declare const RpcRemoteCommunityUpdateEventResultSchema: z.ZodObject<{
1304
1306
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
1305
1307
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
1306
1308
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
1309
+ noArchive: z.ZodOptional<z.ZodBoolean>;
1307
1310
  safeForWork: z.ZodOptional<z.ZodBoolean>;
1308
1311
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
1309
1312
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -1444,6 +1447,7 @@ export declare const CreateRemoteCommunityOptionsSchema: z.ZodObject<{
1444
1447
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
1445
1448
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
1446
1449
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
1450
+ noArchive: z.ZodOptional<z.ZodBoolean>;
1447
1451
  safeForWork: z.ZodOptional<z.ZodBoolean>;
1448
1452
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
1449
1453
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -1787,6 +1791,7 @@ export declare const CommunityEditOptionsSchema: z.ZodObject<{
1787
1791
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
1788
1792
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
1789
1793
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
1794
+ noArchive: z.ZodOptional<z.ZodBoolean>;
1790
1795
  safeForWork: z.ZodOptional<z.ZodBoolean>;
1791
1796
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
1792
1797
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -1903,6 +1908,7 @@ export declare const CreateNewLocalCommunityUserOptionsSchema: z.ZodObject<{
1903
1908
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
1904
1909
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
1905
1910
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
1911
+ noArchive: z.ZodOptional<z.ZodBoolean>;
1906
1912
  safeForWork: z.ZodOptional<z.ZodBoolean>;
1907
1913
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
1908
1914
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -2027,6 +2033,7 @@ export declare const CreateNewLocalCommunityParsedOptionsSchema: z.ZodObject<{
2027
2033
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
2028
2034
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
2029
2035
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
2036
+ noArchive: z.ZodOptional<z.ZodBoolean>;
2030
2037
  safeForWork: z.ZodOptional<z.ZodBoolean>;
2031
2038
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
2032
2039
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -2218,6 +2225,7 @@ export declare const CreateRemoteCommunityFunctionArgumentSchema: z.ZodUnion<[z.
2218
2225
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
2219
2226
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
2220
2227
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
2228
+ noArchive: z.ZodOptional<z.ZodBoolean>;
2221
2229
  safeForWork: z.ZodOptional<z.ZodBoolean>;
2222
2230
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
2223
2231
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -2791,6 +2799,7 @@ export declare const CreateRemoteCommunityFunctionArgumentSchema: z.ZodUnion<[z.
2791
2799
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
2792
2800
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
2793
2801
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
2802
+ noArchive: z.ZodOptional<z.ZodBoolean>;
2794
2803
  safeForWork: z.ZodOptional<z.ZodBoolean>;
2795
2804
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
2796
2805
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -2922,6 +2931,7 @@ export declare const CreateRpcCommunityFunctionArgumentSchema: z.ZodUnion<[z.Zod
2922
2931
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
2923
2932
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
2924
2933
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
2934
+ noArchive: z.ZodOptional<z.ZodBoolean>;
2925
2935
  safeForWork: z.ZodOptional<z.ZodBoolean>;
2926
2936
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
2927
2937
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -3495,6 +3505,7 @@ export declare const CreateRpcCommunityFunctionArgumentSchema: z.ZodUnion<[z.Zod
3495
3505
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
3496
3506
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
3497
3507
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
3508
+ noArchive: z.ZodOptional<z.ZodBoolean>;
3498
3509
  safeForWork: z.ZodOptional<z.ZodBoolean>;
3499
3510
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
3500
3511
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -3561,6 +3572,7 @@ export declare const CreateRpcCommunityFunctionArgumentSchema: z.ZodUnion<[z.Zod
3561
3572
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
3562
3573
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
3563
3574
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
3575
+ noArchive: z.ZodOptional<z.ZodBoolean>;
3564
3576
  safeForWork: z.ZodOptional<z.ZodBoolean>;
3565
3577
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
3566
3578
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -3685,6 +3697,7 @@ export declare const CreateCommunityFunctionArgumentsSchema: z.ZodUnion<[z.ZodOb
3685
3697
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
3686
3698
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
3687
3699
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
3700
+ noArchive: z.ZodOptional<z.ZodBoolean>;
3688
3701
  safeForWork: z.ZodOptional<z.ZodBoolean>;
3689
3702
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
3690
3703
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -3872,6 +3885,7 @@ export declare const CreateCommunityFunctionArgumentsSchema: z.ZodUnion<[z.ZodOb
3872
3885
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
3873
3886
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
3874
3887
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
3888
+ noArchive: z.ZodOptional<z.ZodBoolean>;
3875
3889
  safeForWork: z.ZodOptional<z.ZodBoolean>;
3876
3890
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
3877
3891
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -4445,6 +4459,7 @@ export declare const CreateCommunityFunctionArgumentsSchema: z.ZodUnion<[z.ZodOb
4445
4459
  noCrossposts: z.ZodOptional<z.ZodBoolean>;
4446
4460
  maxCrosspostDepth: z.ZodOptional<z.ZodNumber>;
4447
4461
  noNestedReplies: z.ZodOptional<z.ZodBoolean>;
4462
+ noArchive: z.ZodOptional<z.ZodBoolean>;
4448
4463
  safeForWork: z.ZodOptional<z.ZodBoolean>;
4449
4464
  authorFlairs: z.ZodOptional<z.ZodBoolean>;
4450
4465
  requireAuthorFlairs: z.ZodOptional<z.ZodBoolean>;
@@ -41,6 +41,7 @@ export const CommunityFeaturesSchema = z.looseObject({
41
41
  // Deliberately not bounded by the schema, so a value from a future protocol version doesn't fail the whole record.
42
42
  maxCrosspostDepth: z.number().int().nonnegative().optional(),
43
43
  noNestedReplies: z.boolean().optional(), // No nested replies, like old school forums and 4chan. Maximum depth is 1
44
+ noArchive: z.boolean().optional(), // No archive, like 4chan /b/. Mods can't archive posts that aren't already archived (commentModeration.archived = true)
44
45
  safeForWork: z.boolean().optional(), // Informational flag indicating this community is safe for work
45
46
  authorFlairs: z.boolean().optional(), // Authors can choose their own author flairs (otherwise only mods can)
46
47
  requireAuthorFlairs: z.boolean().optional(), // Force authors to choose an author flair before posting
@@ -127,8 +128,7 @@ messages.ERR_CAN_NOT_SET_EXCLUDE_PUBLICATION_TO_EMPTY_OBJECT);
127
128
  // the old fields pass through unused, they never grant anything.
128
129
  export const ChallengeExcludePublicKeySchema = AuthorAddressSchema.refine((address) => !isStringDomain(address), messages.ERR_CHALLENGE_EXCLUDE_PUBLIC_KEYS_MUST_NOT_BE_DOMAIN);
129
130
  export const ChallengeExcludeNameSchema = AuthorAddressSchema.refine((name) => isStringDomain(name), messages.ERR_CHALLENGE_EXCLUDE_NAMES_MUST_BE_DOMAIN);
130
- export const ChallengeExcludeSchema = z
131
- .looseObject({
131
+ export const ChallengeExcludeSchema = z.looseObject({
132
132
  community: ChallengeExcludeCommunitySchema.optional(),
133
133
  postScore: z.number().int().optional(),
134
134
  replyScore: z.number().int().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/community/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,mBAAmB,EACnB,2BAA2B,EAC3B,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,EACtB,UAAU,EACV,0BAA0B,EAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAEnF,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MA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kBAAkB;AAElB,kDAAkD;AAClD,MAAM,CAAC,MAAM,2BAA2B,GAAG,UAAU,CACjD;IACI,KAAK;IACL,UAAU;IACV,WAAW;IACX,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,UAAU;IACV,QAAQ;IACR,KAAK;IACL,uBAAuB;IACvB,SAAS;IACT,QAAQ;IACR,OAAO;IACP,SAAS;IACT,cAAc;IACd,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,eAAe;IACf,SAAS;IACT,SAAS;IACT,+DAA+D;IAC/D,aAAa;IACb,4FAA4F;IAC5F,oFAAoF;IACpF,yFAAyF;IACzF,+BAA+B;CAClC,EACD,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAClC,CAAC"}
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/community/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,mBAAmB,EACnB,2BAA2B,EAC3B,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,EACtB,UAAU,EACV,0BAA0B,EAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAEnF,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,qCAAqC;AACrC,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,WAAW,CAAC;IACnD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,uEAAuE;IAChG,SAAS,EAAE,gCAAgC,CAA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AAuB;IACvB,SAAS;IACT,QAAQ;IACR,OAAO;IACP,SAAS;IACT,cAAc;IACd,UAAU;IACV,UAAU;IACV,iBAAiB;IACjB,eAAe;IACf,SAAS;IACT,SAAS;IACT,+DAA+D;IAC/D,aAAa;IACb,4FAA4F;IAC5F,oFAAoF;IACpF,yFAAyF;IACzF,+BAA+B;CAClC,EACD,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAClC,CAAC"}
@@ -334,6 +334,7 @@ export declare enum messages {
334
334
  ERR_AUTHOR_FLAIR_NOT_IN_ALLOWED_FLAIRS = "Author flair must be from the allowed flairs in community.flairs['author']",
335
335
  ERR_COMMUNITY_COMMENT_MOD_CAN_NOT_LOCK_REPLY = "Can't lock replies. Only posts",
336
336
  ERR_COMMUNITY_COMMENT_MOD_CAN_NOT_ARCHIVE_REPLY = "Can't archive replies. Only posts",
337
+ ERR_NOT_ALLOWED_TO_ARCHIVE_POSTS = "community.features.noArchive is true which means posts can't be archived in this community",
337
338
  ERR_COMMUNITY_COMMENT_EDIT_UNAUTHORIZED_FIELD = "CommentEdit includes a field that cannot be used",
338
339
  ERR_PUBLISHING_EDIT_WITH_BOTH_MOD_AND_AUTHOR_FIELDS = "CommentEdit can't have both author and mod fields. Please publish a separate request for author and mod",
339
340
  ERR_FAILED_TO_RESOLVE_TEXT_RECORD = "Failed to resolve text record",
@@ -344,6 +344,7 @@ export var messages;
344
344
  // Comment Edit errors
345
345
  messages["ERR_COMMUNITY_COMMENT_MOD_CAN_NOT_LOCK_REPLY"] = "Can't lock replies. Only posts";
346
346
  messages["ERR_COMMUNITY_COMMENT_MOD_CAN_NOT_ARCHIVE_REPLY"] = "Can't archive replies. Only posts";
347
+ messages["ERR_NOT_ALLOWED_TO_ARCHIVE_POSTS"] = "community.features.noArchive is true which means posts can't be archived in this community";
347
348
  messages["ERR_COMMUNITY_COMMENT_EDIT_UNAUTHORIZED_FIELD"] = "CommentEdit includes a field that cannot be used";
348
349
  messages["ERR_PUBLISHING_EDIT_WITH_BOTH_MOD_AND_AUTHOR_FIELDS"] = "CommentEdit can't have both author and mod fields. Please publish a separate request for author and mod";
349
350
  // Resolver errors