@atproto/api 0.17.7 → 0.18.0
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/CHANGELOG.md +10 -0
- package/dist/agent.d.ts.map +1 -1
- package/dist/agent.js +0 -1
- package/dist/agent.js.map +1 -1
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +14 -5
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +98 -28
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +52 -14
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +0 -2
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts +0 -2
- package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadOtherV2.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadV2.d.ts +0 -2
- package/dist/client/types/app/bsky/unspecced/getPostThreadV2.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getPostThreadV2.js.map +1 -1
- package/dist/client/types/com/atproto/lexicon/resolveLexicon.d.ts +31 -0
- package/dist/client/types/com/atproto/lexicon/resolveLexicon.d.ts.map +1 -0
- package/dist/client/types/com/atproto/lexicon/resolveLexicon.js +26 -0
- package/dist/client/types/com/atproto/lexicon/resolveLexicon.js.map +1 -0
- package/dist/types.d.ts +0 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
- package/src/agent.ts +0 -1
- package/src/client/index.ts +13 -0
- package/src/client/lexicons.ts +52 -16
- package/src/client/types/app/bsky/actor/defs.ts +0 -2
- package/src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts +0 -2
- package/src/client/types/app/bsky/unspecced/getPostThreadV2.ts +0 -2
- package/src/client/types/com/atproto/lexicon/resolveLexicon.ts +56 -0
- package/src/types.ts +0 -1
- package/tests/atp-agent.test.ts +0 -30
- package/tests/moderation-prefs.test.ts +0 -4
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -222,8 +222,6 @@ export interface ThreadViewPref {
|
|
|
222
222
|
$type?: 'app.bsky.actor.defs#threadViewPref';
|
|
223
223
|
/** Sorting mode for threads. */
|
|
224
224
|
sort?: 'oldest' | 'newest' | 'most-likes' | 'random' | 'hotness' | (string & {});
|
|
225
|
-
/** Show followed users at the top of all replies. */
|
|
226
|
-
prioritizeFollowedUsers?: boolean;
|
|
227
225
|
}
|
|
228
226
|
export declare function isThreadViewPref<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.actor.defs", "threadViewPref">;
|
|
229
227
|
export declare function validateThreadViewPref<V>(v: V): ValidationResult<ThreadViewPref & V>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,uBAAuB,MAAM,yBAAyB,CAAA;AACvE,OAAO,KAAK,KAAK,qBAAqB,MAAM,uBAAuB,CAAA;AACnE,OAAO,KAAK,KAAK,mBAAmB,MAAM,qBAAqB,CAAA;AAC/D,OAAO,KAAK,KAAK,oBAAoB,MAAM,sBAAsB,CAAA;AAMjE,MAAM,WAAW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MAAM,CAAA;IAClB,qGAAqG;IACrG,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wFAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/defs.ts"],"names":[],"mappings":";;AA0CA,gDAEC;AAED,4DAEC;AAuBD,sCAEC;AAED,kDAEC;AA8BD,sDAEC;AAED,kEAEC;AAcD,kDAEC;AAED,8DAEC;AASD,0DAEC;AAED,sEAEC;AAUD,0FAEC;AAED,sGAMC;AAkBD,sCAEC;AAED,kDAEC;AAWD,4CAEC;AAED,wDAEC;AAeD,kDAEC;AAED,8DAEC;AAiBD,gDAEC;AAED,4DAEC;AA2BD,gDAEC;AAED,4DAEC;AAYD,gDAEC;AAED,4DAEC;AAYD,kCAEC;AAED,8CAEC;AASD,gDAEC;AAED,4DAEC;AAWD,4CAEC;AAED,wDAEC;AAUD,sDAEC;AAED,kEAEC;AAoBD,wCAEC;AAED,oDAEC;AAkBD,4CAEC;AAED,wDAEC;AAUD,0CAEC;AAED,sDAEC;AAoBD,kCAEC;AAED,8CAEC;AAUD,4CAEC;AAED,wDAEC;AAUD,8CAEC;AAED,0DAEC;AASD,wCAEC;AAED,oDAEC;AASD,8CAEC;AAED,0DAEC;AAcD,gDAEC;AAED,4DAEC;AAUD,wDAEC;AAED,oEAEC;AAeD,sBAEC;AAED,kCAEC;AAWD,kDAEC;AAED,8DAEC;AAsBD,sEAEC;AAED,kFAMC;AAgBD,oCAEC;AAED,gDAEC;AAvoBD,mDAA4D;AAC5D,2CAIyB;AASzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,qBAAqB,CAAA;AAmBhC,MAAM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gB,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AAC/C,CAAC;AAED,SAAgB,yBAAyB,CAAI,CAAI;IAC/C,OAAO,QAAQ,CAAwB,CAAC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AACtE,CAAC;AAoBD,MAAM,+BAA+B,GAAG,6BAA6B,CAAA;AAErE,SAAgB,6BAA6B,CAAI,CAAI;IACnD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,+BAA+B,CAAC,CAAA;AACzD,CAAC;AAED,SAAgB,mCAAmC,CAAI,CAAI;IACzD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,+BAA+B,CAChC,CAAA;AACH,CAAC;AAcD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as AppBskyNotificationDefs from '../notification/defs.js'\nimport type * as AppBskyFeedThreadgate from '../feed/threadgate.js'\nimport type * as AppBskyFeedPostgate from '../feed/postgate.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.actor.defs'\n\nexport interface ProfileViewBasic {\n $type?: 'app.bsky.actor.defs#profileViewBasic'\n did: string\n handle: string\n displayName?: string\n pronouns?: string\n avatar?: string\n associated?: ProfileAssociated\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n createdAt?: string\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileViewBasic = 'profileViewBasic'\n\nexport function isProfileViewBasic<V>(v: V) {\n return is$typed(v, id, hashProfileViewBasic)\n}\n\nexport function validateProfileViewBasic<V>(v: V) {\n return validate<ProfileViewBasic & V>(v, id, hashProfileViewBasic)\n}\n\nexport interface ProfileView {\n $type?: 'app.bsky.actor.defs#profileView'\n did: string\n handle: string\n displayName?: string\n pronouns?: string\n description?: string\n avatar?: string\n associated?: ProfileAssociated\n indexedAt?: string\n createdAt?: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileView = 'profileView'\n\nexport function isProfileView<V>(v: V) {\n return is$typed(v, id, hashProfileView)\n}\n\nexport function validateProfileView<V>(v: V) {\n return validate<ProfileView & V>(v, id, hashProfileView)\n}\n\nexport interface ProfileViewDetailed {\n $type?: 'app.bsky.actor.defs#profileViewDetailed'\n did: string\n handle: string\n displayName?: string\n description?: string\n pronouns?: string\n website?: string\n avatar?: string\n banner?: string\n followersCount?: number\n followsCount?: number\n postsCount?: number\n associated?: ProfileAssociated\n joinedViaStarterPack?: AppBskyGraphDefs.StarterPackViewBasic\n indexedAt?: string\n createdAt?: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n pinnedPost?: ComAtprotoRepoStrongRef.Main\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileViewDetailed = 'profileViewDetailed'\n\nexport function isProfileViewDetailed<V>(v: V) {\n return is$typed(v, id, hashProfileViewDetailed)\n}\n\nexport function validateProfileViewDetailed<V>(v: V) {\n return validate<ProfileViewDetailed & V>(v, id, hashProfileViewDetailed)\n}\n\nexport interface ProfileAssociated {\n $type?: 'app.bsky.actor.defs#profileAssociated'\n lists?: number\n feedgens?: number\n starterPacks?: number\n labeler?: boolean\n chat?: ProfileAssociatedChat\n activitySubscription?: ProfileAssociatedActivitySubscription\n}\n\nconst hashProfileAssociated = 'profileAssociated'\n\nexport function isProfileAssociated<V>(v: V) {\n return is$typed(v, id, hashProfileAssociated)\n}\n\nexport function validateProfileAssociated<V>(v: V) {\n return validate<ProfileAssociated & V>(v, id, hashProfileAssociated)\n}\n\nexport interface ProfileAssociatedChat {\n $type?: 'app.bsky.actor.defs#profileAssociatedChat'\n allowIncoming: 'all' | 'none' | 'following' | (string & {})\n}\n\nconst hashProfileAssociatedChat = 'profileAssociatedChat'\n\nexport function isProfileAssociatedChat<V>(v: V) {\n return is$typed(v, id, hashProfileAssociatedChat)\n}\n\nexport function validateProfileAssociatedChat<V>(v: V) {\n return validate<ProfileAssociatedChat & V>(v, id, hashProfileAssociatedChat)\n}\n\nexport interface ProfileAssociatedActivitySubscription {\n $type?: 'app.bsky.actor.defs#profileAssociatedActivitySubscription'\n allowSubscriptions: 'followers' | 'mutuals' | 'none' | (string & {})\n}\n\nconst hashProfileAssociatedActivitySubscription =\n 'profileAssociatedActivitySubscription'\n\nexport function isProfileAssociatedActivitySubscription<V>(v: V) {\n return is$typed(v, id, hashProfileAssociatedActivitySubscription)\n}\n\nexport function validateProfileAssociatedActivitySubscription<V>(v: V) {\n return validate<ProfileAssociatedActivitySubscription & V>(\n v,\n id,\n hashProfileAssociatedActivitySubscription,\n )\n}\n\n/** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */\nexport interface ViewerState {\n $type?: 'app.bsky.actor.defs#viewerState'\n muted?: boolean\n mutedByList?: AppBskyGraphDefs.ListViewBasic\n blockedBy?: boolean\n blocking?: string\n blockingByList?: AppBskyGraphDefs.ListViewBasic\n following?: string\n followedBy?: string\n knownFollowers?: KnownFollowers\n activitySubscription?: AppBskyNotificationDefs.ActivitySubscription\n}\n\nconst hashViewerState = 'viewerState'\n\nexport function isViewerState<V>(v: V) {\n return is$typed(v, id, hashViewerState)\n}\n\nexport function validateViewerState<V>(v: V) {\n return validate<ViewerState & V>(v, id, hashViewerState)\n}\n\n/** The subject's followers whom you also follow */\nexport interface KnownFollowers {\n $type?: 'app.bsky.actor.defs#knownFollowers'\n count: number\n followers: ProfileViewBasic[]\n}\n\nconst hashKnownFollowers = 'knownFollowers'\n\nexport function isKnownFollowers<V>(v: V) {\n return is$typed(v, id, hashKnownFollowers)\n}\n\nexport function validateKnownFollowers<V>(v: V) {\n return validate<KnownFollowers & V>(v, id, hashKnownFollowers)\n}\n\n/** Represents the verification information about the user this object is attached to. */\nexport interface VerificationState {\n $type?: 'app.bsky.actor.defs#verificationState'\n /** All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included. */\n verifications: VerificationView[]\n /** The user's status as a verified account. */\n verifiedStatus: 'valid' | 'invalid' | 'none' | (string & {})\n /** The user's status as a trusted verifier. */\n trustedVerifierStatus: 'valid' | 'invalid' | 'none' | (string & {})\n}\n\nconst hashVerificationState = 'verificationState'\n\nexport function isVerificationState<V>(v: V) {\n return is$typed(v, id, hashVerificationState)\n}\n\nexport function validateVerificationState<V>(v: V) {\n return validate<VerificationState & V>(v, id, hashVerificationState)\n}\n\n/** An individual verification for an associated subject. */\nexport interface VerificationView {\n $type?: 'app.bsky.actor.defs#verificationView'\n /** The user who issued this verification. */\n issuer: string\n /** The AT-URI of the verification record. */\n uri: string\n /** True if the verification passes validation, otherwise false. */\n isValid: boolean\n /** Timestamp when the verification was created. */\n createdAt: string\n}\n\nconst hashVerificationView = 'verificationView'\n\nexport function isVerificationView<V>(v: V) {\n return is$typed(v, id, hashVerificationView)\n}\n\nexport function validateVerificationView<V>(v: V) {\n return validate<VerificationView & V>(v, id, hashVerificationView)\n}\n\nexport type Preferences = (\n | $Typed<AdultContentPref>\n | $Typed<ContentLabelPref>\n | $Typed<SavedFeedsPref>\n | $Typed<SavedFeedsPrefV2>\n | $Typed<PersonalDetailsPref>\n | $Typed<FeedViewPref>\n | $Typed<ThreadViewPref>\n | $Typed<InterestsPref>\n | $Typed<MutedWordsPref>\n | $Typed<HiddenPostsPref>\n | $Typed<BskyAppStatePref>\n | $Typed<LabelersPref>\n | $Typed<PostInteractionSettingsPref>\n | $Typed<VerificationPrefs>\n | { $type: string }\n)[]\n\nexport interface AdultContentPref {\n $type?: 'app.bsky.actor.defs#adultContentPref'\n enabled: boolean\n}\n\nconst hashAdultContentPref = 'adultContentPref'\n\nexport function isAdultContentPref<V>(v: V) {\n return is$typed(v, id, hashAdultContentPref)\n}\n\nexport function validateAdultContentPref<V>(v: V) {\n return validate<AdultContentPref & V>(v, id, hashAdultContentPref)\n}\n\nexport interface ContentLabelPref {\n $type?: 'app.bsky.actor.defs#contentLabelPref'\n /** Which labeler does this preference apply to? If undefined, applies globally. */\n labelerDid?: string\n label: string\n visibility: 'ignore' | 'show' | 'warn' | 'hide' | (string & {})\n}\n\nconst hashContentLabelPref = 'contentLabelPref'\n\nexport function isContentLabelPref<V>(v: V) {\n return is$typed(v, id, hashContentLabelPref)\n}\n\nexport function validateContentLabelPref<V>(v: V) {\n return validate<ContentLabelPref & V>(v, id, hashContentLabelPref)\n}\n\nexport interface SavedFeed {\n $type?: 'app.bsky.actor.defs#savedFeed'\n id: string\n type: 'feed' | 'list' | 'timeline' | (string & {})\n value: string\n pinned: boolean\n}\n\nconst hashSavedFeed = 'savedFeed'\n\nexport function isSavedFeed<V>(v: V) {\n return is$typed(v, id, hashSavedFeed)\n}\n\nexport function validateSavedFeed<V>(v: V) {\n return validate<SavedFeed & V>(v, id, hashSavedFeed)\n}\n\nexport interface SavedFeedsPrefV2 {\n $type?: 'app.bsky.actor.defs#savedFeedsPrefV2'\n items: SavedFeed[]\n}\n\nconst hashSavedFeedsPrefV2 = 'savedFeedsPrefV2'\n\nexport function isSavedFeedsPrefV2<V>(v: V) {\n return is$typed(v, id, hashSavedFeedsPrefV2)\n}\n\nexport function validateSavedFeedsPrefV2<V>(v: V) {\n return validate<SavedFeedsPrefV2 & V>(v, id, hashSavedFeedsPrefV2)\n}\n\nexport interface SavedFeedsPref {\n $type?: 'app.bsky.actor.defs#savedFeedsPref'\n pinned: string[]\n saved: string[]\n timelineIndex?: number\n}\n\nconst hashSavedFeedsPref = 'savedFeedsPref'\n\nexport function isSavedFeedsPref<V>(v: V) {\n return is$typed(v, id, hashSavedFeedsPref)\n}\n\nexport function validateSavedFeedsPref<V>(v: V) {\n return validate<SavedFeedsPref & V>(v, id, hashSavedFeedsPref)\n}\n\nexport interface PersonalDetailsPref {\n $type?: 'app.bsky.actor.defs#personalDetailsPref'\n /** The birth date of account owner. */\n birthDate?: string\n}\n\nconst hashPersonalDetailsPref = 'personalDetailsPref'\n\nexport function isPersonalDetailsPref<V>(v: V) {\n return is$typed(v, id, hashPersonalDetailsPref)\n}\n\nexport function validatePersonalDetailsPref<V>(v: V) {\n return validate<PersonalDetailsPref & V>(v, id, hashPersonalDetailsPref)\n}\n\nexport interface FeedViewPref {\n $type?: 'app.bsky.actor.defs#feedViewPref'\n /** The URI of the feed, or an identifier which describes the feed. */\n feed: string\n /** Hide replies in the feed. */\n hideReplies?: boolean\n /** Hide replies in the feed if they are not by followed users. */\n hideRepliesByUnfollowed: boolean\n /** Hide replies in the feed if they do not have this number of likes. */\n hideRepliesByLikeCount?: number\n /** Hide reposts in the feed. */\n hideReposts?: boolean\n /** Hide quote posts in the feed. */\n hideQuotePosts?: boolean\n}\n\nconst hashFeedViewPref = 'feedViewPref'\n\nexport function isFeedViewPref<V>(v: V) {\n return is$typed(v, id, hashFeedViewPref)\n}\n\nexport function validateFeedViewPref<V>(v: V) {\n return validate<FeedViewPref & V>(v, id, hashFeedViewPref)\n}\n\nexport interface ThreadViewPref {\n $type?: 'app.bsky.actor.defs#threadViewPref'\n /** Sorting mode for threads. */\n sort?:\n | 'oldest'\n | 'newest'\n | 'most-likes'\n | 'random'\n | 'hotness'\n | (string & {})\n /** Show followed users at the top of all replies. */\n prioritizeFollowedUsers?: boolean\n}\n\nconst hashThreadViewPref = 'threadViewPref'\n\nexport function isThreadViewPref<V>(v: V) {\n return is$typed(v, id, hashThreadViewPref)\n}\n\nexport function validateThreadViewPref<V>(v: V) {\n return validate<ThreadViewPref & V>(v, id, hashThreadViewPref)\n}\n\nexport interface InterestsPref {\n $type?: 'app.bsky.actor.defs#interestsPref'\n /** A list of tags which describe the account owner's interests gathered during onboarding. */\n tags: string[]\n}\n\nconst hashInterestsPref = 'interestsPref'\n\nexport function isInterestsPref<V>(v: V) {\n return is$typed(v, id, hashInterestsPref)\n}\n\nexport function validateInterestsPref<V>(v: V) {\n return validate<InterestsPref & V>(v, id, hashInterestsPref)\n}\n\nexport type MutedWordTarget = 'content' | 'tag' | (string & {})\n\n/** A word that the account owner has muted. */\nexport interface MutedWord {\n $type?: 'app.bsky.actor.defs#mutedWord'\n id?: string\n /** The muted word itself. */\n value: string\n /** The intended targets of the muted word. */\n targets: MutedWordTarget[]\n /** Groups of users to apply the muted word to. If undefined, applies to all users. */\n actorTarget: 'all' | 'exclude-following' | (string & {})\n /** The date and time at which the muted word will expire and no longer be applied. */\n expiresAt?: string\n}\n\nconst hashMutedWord = 'mutedWord'\n\nexport function isMutedWord<V>(v: V) {\n return is$typed(v, id, hashMutedWord)\n}\n\nexport function validateMutedWord<V>(v: V) {\n return validate<MutedWord & V>(v, id, hashMutedWord)\n}\n\nexport interface MutedWordsPref {\n $type?: 'app.bsky.actor.defs#mutedWordsPref'\n /** A list of words the account owner has muted. */\n items: MutedWord[]\n}\n\nconst hashMutedWordsPref = 'mutedWordsPref'\n\nexport function isMutedWordsPref<V>(v: V) {\n return is$typed(v, id, hashMutedWordsPref)\n}\n\nexport function validateMutedWordsPref<V>(v: V) {\n return validate<MutedWordsPref & V>(v, id, hashMutedWordsPref)\n}\n\nexport interface HiddenPostsPref {\n $type?: 'app.bsky.actor.defs#hiddenPostsPref'\n /** A list of URIs of posts the account owner has hidden. */\n items: string[]\n}\n\nconst hashHiddenPostsPref = 'hiddenPostsPref'\n\nexport function isHiddenPostsPref<V>(v: V) {\n return is$typed(v, id, hashHiddenPostsPref)\n}\n\nexport function validateHiddenPostsPref<V>(v: V) {\n return validate<HiddenPostsPref & V>(v, id, hashHiddenPostsPref)\n}\n\nexport interface LabelersPref {\n $type?: 'app.bsky.actor.defs#labelersPref'\n labelers: LabelerPrefItem[]\n}\n\nconst hashLabelersPref = 'labelersPref'\n\nexport function isLabelersPref<V>(v: V) {\n return is$typed(v, id, hashLabelersPref)\n}\n\nexport function validateLabelersPref<V>(v: V) {\n return validate<LabelersPref & V>(v, id, hashLabelersPref)\n}\n\nexport interface LabelerPrefItem {\n $type?: 'app.bsky.actor.defs#labelerPrefItem'\n did: string\n}\n\nconst hashLabelerPrefItem = 'labelerPrefItem'\n\nexport function isLabelerPrefItem<V>(v: V) {\n return is$typed(v, id, hashLabelerPrefItem)\n}\n\nexport function validateLabelerPrefItem<V>(v: V) {\n return validate<LabelerPrefItem & V>(v, id, hashLabelerPrefItem)\n}\n\n/** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */\nexport interface BskyAppStatePref {\n $type?: 'app.bsky.actor.defs#bskyAppStatePref'\n activeProgressGuide?: BskyAppProgressGuide\n /** An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user. */\n queuedNudges?: string[]\n /** Storage for NUXs the user has encountered. */\n nuxs?: Nux[]\n}\n\nconst hashBskyAppStatePref = 'bskyAppStatePref'\n\nexport function isBskyAppStatePref<V>(v: V) {\n return is$typed(v, id, hashBskyAppStatePref)\n}\n\nexport function validateBskyAppStatePref<V>(v: V) {\n return validate<BskyAppStatePref & V>(v, id, hashBskyAppStatePref)\n}\n\n/** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */\nexport interface BskyAppProgressGuide {\n $type?: 'app.bsky.actor.defs#bskyAppProgressGuide'\n guide: string\n}\n\nconst hashBskyAppProgressGuide = 'bskyAppProgressGuide'\n\nexport function isBskyAppProgressGuide<V>(v: V) {\n return is$typed(v, id, hashBskyAppProgressGuide)\n}\n\nexport function validateBskyAppProgressGuide<V>(v: V) {\n return validate<BskyAppProgressGuide & V>(v, id, hashBskyAppProgressGuide)\n}\n\n/** A new user experiences (NUX) storage object */\nexport interface Nux {\n $type?: 'app.bsky.actor.defs#nux'\n id: string\n completed: boolean\n /** Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters. */\n data?: string\n /** The date and time at which the NUX will expire and should be considered completed. */\n expiresAt?: string\n}\n\nconst hashNux = 'nux'\n\nexport function isNux<V>(v: V) {\n return is$typed(v, id, hashNux)\n}\n\nexport function validateNux<V>(v: V) {\n return validate<Nux & V>(v, id, hashNux)\n}\n\n/** Preferences for how verified accounts appear in the app. */\nexport interface VerificationPrefs {\n $type?: 'app.bsky.actor.defs#verificationPrefs'\n /** Hide the blue check badges for verified accounts and trusted verifiers. */\n hideBadges: boolean\n}\n\nconst hashVerificationPrefs = 'verificationPrefs'\n\nexport function isVerificationPrefs<V>(v: V) {\n return is$typed(v, id, hashVerificationPrefs)\n}\n\nexport function validateVerificationPrefs<V>(v: V) {\n return validate<VerificationPrefs & V>(v, id, hashVerificationPrefs)\n}\n\n/** Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly. */\nexport interface PostInteractionSettingsPref {\n $type?: 'app.bsky.actor.defs#postInteractionSettingsPref'\n /** Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */\n threadgateAllowRules?: (\n | $Typed<AppBskyFeedThreadgate.MentionRule>\n | $Typed<AppBskyFeedThreadgate.FollowerRule>\n | $Typed<AppBskyFeedThreadgate.FollowingRule>\n | $Typed<AppBskyFeedThreadgate.ListRule>\n | { $type: string }\n )[]\n /** Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed. */\n postgateEmbeddingRules?: (\n | $Typed<AppBskyFeedPostgate.DisableRule>\n | { $type: string }\n )[]\n}\n\nconst hashPostInteractionSettingsPref = 'postInteractionSettingsPref'\n\nexport function isPostInteractionSettingsPref<V>(v: V) {\n return is$typed(v, id, hashPostInteractionSettingsPref)\n}\n\nexport function validatePostInteractionSettingsPref<V>(v: V) {\n return validate<PostInteractionSettingsPref & V>(\n v,\n id,\n hashPostInteractionSettingsPref,\n )\n}\n\nexport interface StatusView {\n $type?: 'app.bsky.actor.defs#statusView'\n /** The status for the account. */\n status: 'app.bsky.actor.status#live' | (string & {})\n record: { [_ in string]: unknown }\n embed?: $Typed<AppBskyEmbedExternal.View> | { $type: string }\n /** The date when this status will expire. The application might choose to no longer return the status after expiration. */\n expiresAt?: string\n /** True if the status is not expired, false if it is expired. Only present if expiration was set. */\n isActive?: boolean\n}\n\nconst hashStatusView = 'statusView'\n\nexport function isStatusView<V>(v: V) {\n return is$typed(v, id, hashStatusView)\n}\n\nexport function validateStatusView<V>(v: V) {\n return validate<StatusView & V>(v, id, hashStatusView)\n}\n"]}
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/defs.ts"],"names":[],"mappings":";;AA0CA,gDAEC;AAED,4DAEC;AAuBD,sCAEC;AAED,kDAEC;AA8BD,sDAEC;AAED,kEAEC;AAcD,kDAEC;AAED,8DAEC;AASD,0DAEC;AAED,sEAEC;AAUD,0FAEC;AAED,sGAMC;AAkBD,sCAEC;AAED,kDAEC;AAWD,4CAEC;AAED,wDAEC;AAeD,kDAEC;AAED,8DAEC;AAiBD,gDAEC;AAED,4DAEC;AA2BD,gDAEC;AAED,4DAEC;AAYD,gDAEC;AAED,4DAEC;AAYD,kCAEC;AA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AAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as AppBskyNotificationDefs from '../notification/defs.js'\nimport type * as AppBskyFeedThreadgate from '../feed/threadgate.js'\nimport type * as AppBskyFeedPostgate from '../feed/postgate.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.actor.defs'\n\nexport interface ProfileViewBasic {\n $type?: 'app.bsky.actor.defs#profileViewBasic'\n did: string\n handle: string\n displayName?: string\n pronouns?: string\n avatar?: string\n associated?: ProfileAssociated\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n createdAt?: string\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileViewBasic = 'profileViewBasic'\n\nexport function isProfileViewBasic<V>(v: V) {\n return is$typed(v, id, hashProfileViewBasic)\n}\n\nexport function validateProfileViewBasic<V>(v: V) {\n return validate<ProfileViewBasic & V>(v, id, hashProfileViewBasic)\n}\n\nexport interface ProfileView {\n $type?: 'app.bsky.actor.defs#profileView'\n did: string\n handle: string\n displayName?: string\n pronouns?: string\n description?: string\n avatar?: string\n associated?: ProfileAssociated\n indexedAt?: string\n createdAt?: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileView = 'profileView'\n\nexport function isProfileView<V>(v: V) {\n return is$typed(v, id, hashProfileView)\n}\n\nexport function validateProfileView<V>(v: V) {\n return validate<ProfileView & V>(v, id, hashProfileView)\n}\n\nexport interface ProfileViewDetailed {\n $type?: 'app.bsky.actor.defs#profileViewDetailed'\n did: string\n handle: string\n displayName?: string\n description?: string\n pronouns?: string\n website?: string\n avatar?: string\n banner?: string\n followersCount?: number\n followsCount?: number\n postsCount?: number\n associated?: ProfileAssociated\n joinedViaStarterPack?: AppBskyGraphDefs.StarterPackViewBasic\n indexedAt?: string\n createdAt?: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n pinnedPost?: ComAtprotoRepoStrongRef.Main\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileViewDetailed = 'profileViewDetailed'\n\nexport function isProfileViewDetailed<V>(v: V) {\n return is$typed(v, id, hashProfileViewDetailed)\n}\n\nexport function validateProfileViewDetailed<V>(v: V) {\n return validate<ProfileViewDetailed & V>(v, id, hashProfileViewDetailed)\n}\n\nexport interface ProfileAssociated {\n $type?: 'app.bsky.actor.defs#profileAssociated'\n lists?: number\n feedgens?: number\n starterPacks?: number\n labeler?: boolean\n chat?: ProfileAssociatedChat\n activitySubscription?: ProfileAssociatedActivitySubscription\n}\n\nconst hashProfileAssociated = 'profileAssociated'\n\nexport function isProfileAssociated<V>(v: V) {\n return is$typed(v, id, hashProfileAssociated)\n}\n\nexport function validateProfileAssociated<V>(v: V) {\n return validate<ProfileAssociated & V>(v, id, hashProfileAssociated)\n}\n\nexport interface ProfileAssociatedChat {\n $type?: 'app.bsky.actor.defs#profileAssociatedChat'\n allowIncoming: 'all' | 'none' | 'following' | (string & {})\n}\n\nconst hashProfileAssociatedChat = 'profileAssociatedChat'\n\nexport function isProfileAssociatedChat<V>(v: V) {\n return is$typed(v, id, hashProfileAssociatedChat)\n}\n\nexport function validateProfileAssociatedChat<V>(v: V) {\n return validate<ProfileAssociatedChat & V>(v, id, hashProfileAssociatedChat)\n}\n\nexport interface ProfileAssociatedActivitySubscription {\n $type?: 'app.bsky.actor.defs#profileAssociatedActivitySubscription'\n allowSubscriptions: 'followers' | 'mutuals' | 'none' | (string & {})\n}\n\nconst hashProfileAssociatedActivitySubscription =\n 'profileAssociatedActivitySubscription'\n\nexport function isProfileAssociatedActivitySubscription<V>(v: V) {\n return is$typed(v, id, hashProfileAssociatedActivitySubscription)\n}\n\nexport function validateProfileAssociatedActivitySubscription<V>(v: V) {\n return validate<ProfileAssociatedActivitySubscription & V>(\n v,\n id,\n hashProfileAssociatedActivitySubscription,\n )\n}\n\n/** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */\nexport interface ViewerState {\n $type?: 'app.bsky.actor.defs#viewerState'\n muted?: boolean\n mutedByList?: AppBskyGraphDefs.ListViewBasic\n blockedBy?: boolean\n blocking?: string\n blockingByList?: AppBskyGraphDefs.ListViewBasic\n following?: string\n followedBy?: string\n knownFollowers?: KnownFollowers\n activitySubscription?: AppBskyNotificationDefs.ActivitySubscription\n}\n\nconst hashViewerState = 'viewerState'\n\nexport function isViewerState<V>(v: V) {\n return is$typed(v, id, hashViewerState)\n}\n\nexport function validateViewerState<V>(v: V) {\n return validate<ViewerState & V>(v, id, hashViewerState)\n}\n\n/** The subject's followers whom you also follow */\nexport interface KnownFollowers {\n $type?: 'app.bsky.actor.defs#knownFollowers'\n count: number\n followers: ProfileViewBasic[]\n}\n\nconst hashKnownFollowers = 'knownFollowers'\n\nexport function isKnownFollowers<V>(v: V) {\n return is$typed(v, id, hashKnownFollowers)\n}\n\nexport function validateKnownFollowers<V>(v: V) {\n return validate<KnownFollowers & V>(v, id, hashKnownFollowers)\n}\n\n/** Represents the verification information about the user this object is attached to. */\nexport interface VerificationState {\n $type?: 'app.bsky.actor.defs#verificationState'\n /** All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included. */\n verifications: VerificationView[]\n /** The user's status as a verified account. */\n verifiedStatus: 'valid' | 'invalid' | 'none' | (string & {})\n /** The user's status as a trusted verifier. */\n trustedVerifierStatus: 'valid' | 'invalid' | 'none' | (string & {})\n}\n\nconst hashVerificationState = 'verificationState'\n\nexport function isVerificationState<V>(v: V) {\n return is$typed(v, id, hashVerificationState)\n}\n\nexport function validateVerificationState<V>(v: V) {\n return validate<VerificationState & V>(v, id, hashVerificationState)\n}\n\n/** An individual verification for an associated subject. */\nexport interface VerificationView {\n $type?: 'app.bsky.actor.defs#verificationView'\n /** The user who issued this verification. */\n issuer: string\n /** The AT-URI of the verification record. */\n uri: string\n /** True if the verification passes validation, otherwise false. */\n isValid: boolean\n /** Timestamp when the verification was created. */\n createdAt: string\n}\n\nconst hashVerificationView = 'verificationView'\n\nexport function isVerificationView<V>(v: V) {\n return is$typed(v, id, hashVerificationView)\n}\n\nexport function validateVerificationView<V>(v: V) {\n return validate<VerificationView & V>(v, id, hashVerificationView)\n}\n\nexport type Preferences = (\n | $Typed<AdultContentPref>\n | $Typed<ContentLabelPref>\n | $Typed<SavedFeedsPref>\n | $Typed<SavedFeedsPrefV2>\n | $Typed<PersonalDetailsPref>\n | $Typed<FeedViewPref>\n | $Typed<ThreadViewPref>\n | $Typed<InterestsPref>\n | $Typed<MutedWordsPref>\n | $Typed<HiddenPostsPref>\n | $Typed<BskyAppStatePref>\n | $Typed<LabelersPref>\n | $Typed<PostInteractionSettingsPref>\n | $Typed<VerificationPrefs>\n | { $type: string }\n)[]\n\nexport interface AdultContentPref {\n $type?: 'app.bsky.actor.defs#adultContentPref'\n enabled: boolean\n}\n\nconst hashAdultContentPref = 'adultContentPref'\n\nexport function isAdultContentPref<V>(v: V) {\n return is$typed(v, id, hashAdultContentPref)\n}\n\nexport function validateAdultContentPref<V>(v: V) {\n return validate<AdultContentPref & V>(v, id, hashAdultContentPref)\n}\n\nexport interface ContentLabelPref {\n $type?: 'app.bsky.actor.defs#contentLabelPref'\n /** Which labeler does this preference apply to? If undefined, applies globally. */\n labelerDid?: string\n label: string\n visibility: 'ignore' | 'show' | 'warn' | 'hide' | (string & {})\n}\n\nconst hashContentLabelPref = 'contentLabelPref'\n\nexport function isContentLabelPref<V>(v: V) {\n return is$typed(v, id, hashContentLabelPref)\n}\n\nexport function validateContentLabelPref<V>(v: V) {\n return validate<ContentLabelPref & V>(v, id, hashContentLabelPref)\n}\n\nexport interface SavedFeed {\n $type?: 'app.bsky.actor.defs#savedFeed'\n id: string\n type: 'feed' | 'list' | 'timeline' | (string & {})\n value: string\n pinned: boolean\n}\n\nconst hashSavedFeed = 'savedFeed'\n\nexport function isSavedFeed<V>(v: V) {\n return is$typed(v, id, hashSavedFeed)\n}\n\nexport function validateSavedFeed<V>(v: V) {\n return validate<SavedFeed & V>(v, id, hashSavedFeed)\n}\n\nexport interface SavedFeedsPrefV2 {\n $type?: 'app.bsky.actor.defs#savedFeedsPrefV2'\n items: SavedFeed[]\n}\n\nconst hashSavedFeedsPrefV2 = 'savedFeedsPrefV2'\n\nexport function isSavedFeedsPrefV2<V>(v: V) {\n return is$typed(v, id, hashSavedFeedsPrefV2)\n}\n\nexport function validateSavedFeedsPrefV2<V>(v: V) {\n return validate<SavedFeedsPrefV2 & V>(v, id, hashSavedFeedsPrefV2)\n}\n\nexport interface SavedFeedsPref {\n $type?: 'app.bsky.actor.defs#savedFeedsPref'\n pinned: string[]\n saved: string[]\n timelineIndex?: number\n}\n\nconst hashSavedFeedsPref = 'savedFeedsPref'\n\nexport function isSavedFeedsPref<V>(v: V) {\n return is$typed(v, id, hashSavedFeedsPref)\n}\n\nexport function validateSavedFeedsPref<V>(v: V) {\n return validate<SavedFeedsPref & V>(v, id, hashSavedFeedsPref)\n}\n\nexport interface PersonalDetailsPref {\n $type?: 'app.bsky.actor.defs#personalDetailsPref'\n /** The birth date of account owner. */\n birthDate?: string\n}\n\nconst hashPersonalDetailsPref = 'personalDetailsPref'\n\nexport function isPersonalDetailsPref<V>(v: V) {\n return is$typed(v, id, hashPersonalDetailsPref)\n}\n\nexport function validatePersonalDetailsPref<V>(v: V) {\n return validate<PersonalDetailsPref & V>(v, id, hashPersonalDetailsPref)\n}\n\nexport interface FeedViewPref {\n $type?: 'app.bsky.actor.defs#feedViewPref'\n /** The URI of the feed, or an identifier which describes the feed. */\n feed: string\n /** Hide replies in the feed. */\n hideReplies?: boolean\n /** Hide replies in the feed if they are not by followed users. */\n hideRepliesByUnfollowed: boolean\n /** Hide replies in the feed if they do not have this number of likes. */\n hideRepliesByLikeCount?: number\n /** Hide reposts in the feed. */\n hideReposts?: boolean\n /** Hide quote posts in the feed. */\n hideQuotePosts?: boolean\n}\n\nconst hashFeedViewPref = 'feedViewPref'\n\nexport function isFeedViewPref<V>(v: V) {\n return is$typed(v, id, hashFeedViewPref)\n}\n\nexport function validateFeedViewPref<V>(v: V) {\n return validate<FeedViewPref & V>(v, id, hashFeedViewPref)\n}\n\nexport interface ThreadViewPref {\n $type?: 'app.bsky.actor.defs#threadViewPref'\n /** Sorting mode for threads. */\n sort?:\n | 'oldest'\n | 'newest'\n | 'most-likes'\n | 'random'\n | 'hotness'\n | (string & {})\n}\n\nconst hashThreadViewPref = 'threadViewPref'\n\nexport function isThreadViewPref<V>(v: V) {\n return is$typed(v, id, hashThreadViewPref)\n}\n\nexport function validateThreadViewPref<V>(v: V) {\n return validate<ThreadViewPref & V>(v, id, hashThreadViewPref)\n}\n\nexport interface InterestsPref {\n $type?: 'app.bsky.actor.defs#interestsPref'\n /** A list of tags which describe the account owner's interests gathered during onboarding. */\n tags: string[]\n}\n\nconst hashInterestsPref = 'interestsPref'\n\nexport function isInterestsPref<V>(v: V) {\n return is$typed(v, id, hashInterestsPref)\n}\n\nexport function validateInterestsPref<V>(v: V) {\n return validate<InterestsPref & V>(v, id, hashInterestsPref)\n}\n\nexport type MutedWordTarget = 'content' | 'tag' | (string & {})\n\n/** A word that the account owner has muted. */\nexport interface MutedWord {\n $type?: 'app.bsky.actor.defs#mutedWord'\n id?: string\n /** The muted word itself. */\n value: string\n /** The intended targets of the muted word. */\n targets: MutedWordTarget[]\n /** Groups of users to apply the muted word to. If undefined, applies to all users. */\n actorTarget: 'all' | 'exclude-following' | (string & {})\n /** The date and time at which the muted word will expire and no longer be applied. */\n expiresAt?: string\n}\n\nconst hashMutedWord = 'mutedWord'\n\nexport function isMutedWord<V>(v: V) {\n return is$typed(v, id, hashMutedWord)\n}\n\nexport function validateMutedWord<V>(v: V) {\n return validate<MutedWord & V>(v, id, hashMutedWord)\n}\n\nexport interface MutedWordsPref {\n $type?: 'app.bsky.actor.defs#mutedWordsPref'\n /** A list of words the account owner has muted. */\n items: MutedWord[]\n}\n\nconst hashMutedWordsPref = 'mutedWordsPref'\n\nexport function isMutedWordsPref<V>(v: V) {\n return is$typed(v, id, hashMutedWordsPref)\n}\n\nexport function validateMutedWordsPref<V>(v: V) {\n return validate<MutedWordsPref & V>(v, id, hashMutedWordsPref)\n}\n\nexport interface HiddenPostsPref {\n $type?: 'app.bsky.actor.defs#hiddenPostsPref'\n /** A list of URIs of posts the account owner has hidden. */\n items: string[]\n}\n\nconst hashHiddenPostsPref = 'hiddenPostsPref'\n\nexport function isHiddenPostsPref<V>(v: V) {\n return is$typed(v, id, hashHiddenPostsPref)\n}\n\nexport function validateHiddenPostsPref<V>(v: V) {\n return validate<HiddenPostsPref & V>(v, id, hashHiddenPostsPref)\n}\n\nexport interface LabelersPref {\n $type?: 'app.bsky.actor.defs#labelersPref'\n labelers: LabelerPrefItem[]\n}\n\nconst hashLabelersPref = 'labelersPref'\n\nexport function isLabelersPref<V>(v: V) {\n return is$typed(v, id, hashLabelersPref)\n}\n\nexport function validateLabelersPref<V>(v: V) {\n return validate<LabelersPref & V>(v, id, hashLabelersPref)\n}\n\nexport interface LabelerPrefItem {\n $type?: 'app.bsky.actor.defs#labelerPrefItem'\n did: string\n}\n\nconst hashLabelerPrefItem = 'labelerPrefItem'\n\nexport function isLabelerPrefItem<V>(v: V) {\n return is$typed(v, id, hashLabelerPrefItem)\n}\n\nexport function validateLabelerPrefItem<V>(v: V) {\n return validate<LabelerPrefItem & V>(v, id, hashLabelerPrefItem)\n}\n\n/** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */\nexport interface BskyAppStatePref {\n $type?: 'app.bsky.actor.defs#bskyAppStatePref'\n activeProgressGuide?: BskyAppProgressGuide\n /** An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user. */\n queuedNudges?: string[]\n /** Storage for NUXs the user has encountered. */\n nuxs?: Nux[]\n}\n\nconst hashBskyAppStatePref = 'bskyAppStatePref'\n\nexport function isBskyAppStatePref<V>(v: V) {\n return is$typed(v, id, hashBskyAppStatePref)\n}\n\nexport function validateBskyAppStatePref<V>(v: V) {\n return validate<BskyAppStatePref & V>(v, id, hashBskyAppStatePref)\n}\n\n/** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */\nexport interface BskyAppProgressGuide {\n $type?: 'app.bsky.actor.defs#bskyAppProgressGuide'\n guide: string\n}\n\nconst hashBskyAppProgressGuide = 'bskyAppProgressGuide'\n\nexport function isBskyAppProgressGuide<V>(v: V) {\n return is$typed(v, id, hashBskyAppProgressGuide)\n}\n\nexport function validateBskyAppProgressGuide<V>(v: V) {\n return validate<BskyAppProgressGuide & V>(v, id, hashBskyAppProgressGuide)\n}\n\n/** A new user experiences (NUX) storage object */\nexport interface Nux {\n $type?: 'app.bsky.actor.defs#nux'\n id: string\n completed: boolean\n /** Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters. */\n data?: string\n /** The date and time at which the NUX will expire and should be considered completed. */\n expiresAt?: string\n}\n\nconst hashNux = 'nux'\n\nexport function isNux<V>(v: V) {\n return is$typed(v, id, hashNux)\n}\n\nexport function validateNux<V>(v: V) {\n return validate<Nux & V>(v, id, hashNux)\n}\n\n/** Preferences for how verified accounts appear in the app. */\nexport interface VerificationPrefs {\n $type?: 'app.bsky.actor.defs#verificationPrefs'\n /** Hide the blue check badges for verified accounts and trusted verifiers. */\n hideBadges: boolean\n}\n\nconst hashVerificationPrefs = 'verificationPrefs'\n\nexport function isVerificationPrefs<V>(v: V) {\n return is$typed(v, id, hashVerificationPrefs)\n}\n\nexport function validateVerificationPrefs<V>(v: V) {\n return validate<VerificationPrefs & V>(v, id, hashVerificationPrefs)\n}\n\n/** Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly. */\nexport interface PostInteractionSettingsPref {\n $type?: 'app.bsky.actor.defs#postInteractionSettingsPref'\n /** Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */\n threadgateAllowRules?: (\n | $Typed<AppBskyFeedThreadgate.MentionRule>\n | $Typed<AppBskyFeedThreadgate.FollowerRule>\n | $Typed<AppBskyFeedThreadgate.FollowingRule>\n | $Typed<AppBskyFeedThreadgate.ListRule>\n | { $type: string }\n )[]\n /** Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed. */\n postgateEmbeddingRules?: (\n | $Typed<AppBskyFeedPostgate.DisableRule>\n | { $type: string }\n )[]\n}\n\nconst hashPostInteractionSettingsPref = 'postInteractionSettingsPref'\n\nexport function isPostInteractionSettingsPref<V>(v: V) {\n return is$typed(v, id, hashPostInteractionSettingsPref)\n}\n\nexport function validatePostInteractionSettingsPref<V>(v: V) {\n return validate<PostInteractionSettingsPref & V>(\n v,\n id,\n hashPostInteractionSettingsPref,\n )\n}\n\nexport interface StatusView {\n $type?: 'app.bsky.actor.defs#statusView'\n /** The status for the account. */\n status: 'app.bsky.actor.status#live' | (string & {})\n record: { [_ in string]: unknown }\n embed?: $Typed<AppBskyEmbedExternal.View> | { $type: string }\n /** The date when this status will expire. The application might choose to no longer return the status after expiration. */\n expiresAt?: string\n /** True if the status is not expired, false if it is expired. Only present if expiration was set. */\n isActive?: boolean\n}\n\nconst hashStatusView = 'statusView'\n\nexport function isStatusView<V>(v: V) {\n return is$typed(v, id, hashStatusView)\n}\n\nexport function validateStatusView<V>(v: V) {\n return validate<StatusView & V>(v, id, hashStatusView)\n}\n"]}
|
|
@@ -8,8 +8,6 @@ import type * as AppBskyUnspeccedDefs from './defs.js';
|
|
|
8
8
|
export type QueryParams = {
|
|
9
9
|
/** Reference (AT-URI) to post record. This is the anchor post. */
|
|
10
10
|
anchor: string;
|
|
11
|
-
/** Whether to prioritize posts from followed users. It only has effect when the user is authenticated. */
|
|
12
|
-
prioritizeFollowedUsers?: boolean;
|
|
13
11
|
};
|
|
14
12
|
export type InputSchema = undefined;
|
|
15
13
|
export interface OutputSchema {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostThreadOtherV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,MAAM,WAAW,GAAG;IACxB,kEAAkE;IAClE,MAAM,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"getPostThreadOtherV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,MAAM,WAAW,GAAG;IACxB,kEAAkE;IAClE,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,oHAAoH;IACpH,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAEhC;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,oDAAoD,CAAA;IAC5D,GAAG,EAAE,MAAM,CAAA;IACX,uJAAuJ;IACvJ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACvE;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4GAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostThreadOtherV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getPostThreadOtherV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts"],"names":[],"mappings":";;AAwCA,gCAEC;AAYD,oCAEC;AAED,gDAEC;AAtDD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,yCAAyC,CAAA;AAwBpD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAUD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyUnspeccedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getPostThreadOtherV2'\n\nexport type QueryParams = {\n /** Reference (AT-URI) to post record. This is the anchor post. */\n anchor: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n /** A flat list of other thread items. The depth of each item is indicated by the depth property inside the item. */\n thread: ThreadItem[]\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n\nexport interface ThreadItem {\n $type?: 'app.bsky.unspecced.getPostThreadOtherV2#threadItem'\n uri: string\n /** The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths. */\n depth: number\n value: $Typed<AppBskyUnspeccedDefs.ThreadItemPost> | { $type: string }\n}\n\nconst hashThreadItem = 'threadItem'\n\nexport function isThreadItem<V>(v: V) {\n return is$typed(v, id, hashThreadItem)\n}\n\nexport function validateThreadItem<V>(v: V) {\n return validate<ThreadItem & V>(v, id, hashThreadItem)\n}\n"]}
|
|
@@ -15,8 +15,6 @@ export type QueryParams = {
|
|
|
15
15
|
below?: number;
|
|
16
16
|
/** Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated). */
|
|
17
17
|
branchingFactor?: number;
|
|
18
|
-
/** Whether to prioritize posts from followed users. It only has effect when the user is authenticated. */
|
|
19
|
-
prioritizeFollowedUsers?: boolean;
|
|
20
18
|
/** Sorting for the thread replies. */
|
|
21
19
|
sort?: 'newest' | 'oldest' | 'top' | (string & {});
|
|
22
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostThreadV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAa,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,eAAe,MAAM,iBAAiB,CAAA;AACvD,OAAO,KAAK,KAAK,oBAAoB,MAAM,WAAW,CAAA;AAMtD,MAAM,MAAM,WAAW,GAAG;IACxB,uKAAuK;IACvK,MAAM,EAAE,MAAM,CAAA;IACd,mDAAmD;IACnD,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sNAAsN;IACtN,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,
|
|
1
|
+
{"version":3,"file":"getPostThreadV2.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OA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AAA;IACb,KAAK,EACD,MAAM,CAAC,oBAAoB,CAAC,cAAc,CAAC,GAC3C,MAAM,CAAC,oBAAoB,CAAC,2BAA2B,CAAC,GACxD,MAAM,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,GAC/C,MAAM,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,GAC9C;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CACtB;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uGAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPostThreadV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getPostThreadV2.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getPostThreadV2.ts"],"names":[],"mappings":";;AAoDA,gCAEC;AAiBD,oCAEC;AAED,gDAEC;AAvED,mDAA4D;AAC5D,2CAIyB;AAIzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,oCAAoC,CAAA;AAmC/C,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC;AAeD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyFeedDefs from '../feed/defs.js'\nimport type * as AppBskyUnspeccedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getPostThreadV2'\n\nexport type QueryParams = {\n /** Reference (AT-URI) to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post. */\n anchor: string\n /** Whether to include parents above the anchor. */\n above?: boolean\n /** How many levels of replies to include below the anchor. */\n below?: number\n /** Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated). */\n branchingFactor?: number\n /** Sorting for the thread replies. */\n sort?: 'newest' | 'oldest' | 'top' | (string & {})\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n /** A flat list of thread items. The depth of each item is indicated by the depth property inside the item. */\n thread: ThreadItem[]\n threadgate?: AppBskyFeedDefs.ThreadgateView\n /** Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them. */\n hasOtherReplies: boolean\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n\nexport interface ThreadItem {\n $type?: 'app.bsky.unspecced.getPostThreadV2#threadItem'\n uri: string\n /** The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths. */\n depth: number\n value:\n | $Typed<AppBskyUnspeccedDefs.ThreadItemPost>\n | $Typed<AppBskyUnspeccedDefs.ThreadItemNoUnauthenticated>\n | $Typed<AppBskyUnspeccedDefs.ThreadItemNotFound>\n | $Typed<AppBskyUnspeccedDefs.ThreadItemBlocked>\n | { $type: string }\n}\n\nconst hashThreadItem = 'threadItem'\n\nexport function isThreadItem<V>(v: V) {\n return is$typed(v, id, hashThreadItem)\n}\n\nexport function validateThreadItem<V>(v: V) {\n return validate<ThreadItem & V>(v, id, hashThreadItem)\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import type * as ComAtprotoLexiconSchema from './schema.js';
|
|
6
|
+
export type QueryParams = {
|
|
7
|
+
/** The lexicon NSID to resolve. */
|
|
8
|
+
nsid: string;
|
|
9
|
+
};
|
|
10
|
+
export type InputSchema = undefined;
|
|
11
|
+
export interface OutputSchema {
|
|
12
|
+
/** The CID of the lexicon schema record. */
|
|
13
|
+
cid: string;
|
|
14
|
+
schema: ComAtprotoLexiconSchema.Main;
|
|
15
|
+
/** The AT-URI of the lexicon schema record. */
|
|
16
|
+
uri: string;
|
|
17
|
+
}
|
|
18
|
+
export interface CallOptions {
|
|
19
|
+
signal?: AbortSignal;
|
|
20
|
+
headers?: HeadersMap;
|
|
21
|
+
}
|
|
22
|
+
export interface Response {
|
|
23
|
+
success: boolean;
|
|
24
|
+
headers: HeadersMap;
|
|
25
|
+
data: OutputSchema;
|
|
26
|
+
}
|
|
27
|
+
export declare class LexiconNotFoundError extends XRPCError {
|
|
28
|
+
constructor(src: XRPCError);
|
|
29
|
+
}
|
|
30
|
+
export declare function toKnownErr(e: any): any;
|
|
31
|
+
//# sourceMappingURL=resolveLexicon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveLexicon.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/lexicon/resolveLexicon.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AASrD,OAAO,KAAK,KAAK,uBAAuB,MAAM,aAAa,CAAA;AAM3D,MAAM,MAAM,WAAW,GAAG;IACxB,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,4CAA4C;IAC5C,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACpC,+CAA+C;IAC/C,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,EAAE,YAAY,CAAA;CACnB;AAED,qBAAa,oBAAqB,SAAQ,SAAS;gBACrC,GAAG,EAAE,SAAS;CAG3B;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAMhC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexiconNotFoundError = void 0;
|
|
4
|
+
exports.toKnownErr = toKnownErr;
|
|
5
|
+
/**
|
|
6
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
7
|
+
*/
|
|
8
|
+
const xrpc_1 = require("@atproto/xrpc");
|
|
9
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
10
|
+
const util_1 = require("../../../../util");
|
|
11
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
12
|
+
const id = 'com.atproto.lexicon.resolveLexicon';
|
|
13
|
+
class LexiconNotFoundError extends xrpc_1.XRPCError {
|
|
14
|
+
constructor(src) {
|
|
15
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.LexiconNotFoundError = LexiconNotFoundError;
|
|
19
|
+
function toKnownErr(e) {
|
|
20
|
+
if (e instanceof xrpc_1.XRPCError) {
|
|
21
|
+
if (e.error === 'LexiconNotFound')
|
|
22
|
+
return new LexiconNotFoundError(e);
|
|
23
|
+
}
|
|
24
|
+
return e;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=resolveLexicon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveLexicon.js","sourceRoot":"","sources":["../../../../../../src/client/types/com/atproto/lexicon/resolveLexicon.ts"],"names":[],"mappings":";;;AAiDA,gCAMC;AAvDD;;GAEG;AACH,wCAAqD;AAGrD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,oCAAoC,CAAA;AA2B/C,MAAa,oBAAqB,SAAQ,gBAAS;IACjD,YAAY,GAAc;QACxB,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAA;IACxE,CAAC;CACF;AAJD,oDAIC;AAED,SAAgB,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,gBAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,iBAAiB;YAAE,OAAO,IAAI,oBAAoB,CAAC,CAAC,CAAC,CAAA;IACvE,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ComAtprotoLexiconSchema from './schema.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'com.atproto.lexicon.resolveLexicon'\n\nexport type QueryParams = {\n /** The lexicon NSID to resolve. */\n nsid: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n /** The CID of the lexicon schema record. */\n cid: string\n schema: ComAtprotoLexiconSchema.Main\n /** The AT-URI of the lexicon schema record. */\n uri: string\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport class LexiconNotFoundError extends XRPCError {\n constructor(src: XRPCError) {\n super(src.status, src.error, src.message, src.headers, { cause: src })\n }\n}\n\nexport function toKnownErr(e: any) {\n if (e instanceof XRPCError) {\n if (e.error === 'LexiconNotFound') return new LexiconNotFoundError(e)\n }\n\n return e\n}\n"]}
|
package/dist/types.d.ts
CHANGED
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEpD,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAA;AAC9D,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAAG,kBAAkB,CAAA;AACvE,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,EACnD,KAAK,EAAE,CAAC,GACP,KAAK,IAAI,CAAC,GAAG,kBAAkB,CAEjC;AAGD,MAAM,MAAM,GAAG,GAAG,OAAO,MAAM,IAAI,MAAM,EAAE,CAAA;AAC3C,wBAAgB,KAAK,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,IAAI,CAAC,GAAG,GAAG,CAMlE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AC,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;QAC3B,MAAM,IAAI,SAAS,CACjB,0BAA0B,KAAK,kDAAkD,CAClF,CAAA;IACH,CAAC;AACH,CAAC;AAED,SAAgB,cAAc,CAAmB,KAAQ;IACvD,kBAAkB,CAAC,KAAK,CAAC,CAAA;IACzB,OAAO,KAAK,CAAA;AACd,CAAC","sourcesContent":["import { AppBskyActorDefs } from './client'\nimport { ModerationPrefs } from './moderation/types'\n\nexport type UnknownServiceType = string & NonNullable<unknown>\nexport type AtprotoServiceType = 'atproto_labeler' | UnknownServiceType\nexport function isAtprotoServiceType<T extends string>(\n input: T,\n): input is T & AtprotoServiceType {\n return !input.includes(' ') && !input.includes('#')\n}\n\n// @TODO use tools from @atproto/did\nexport type Did = `did:${string}:${string}`\nexport function isDid<T extends string>(input: T): input is T & Did {\n if (!input.startsWith('did:')) return false\n if (input.length < 8) return false\n if (input.length > 2048) return false\n const msidx = input.indexOf(':', 4)\n return msidx > 4 && msidx < input.length - 1\n}\n\nexport function assertDid(input: string): asserts input is Did {\n if (!isDid(input)) throw new TypeError(`Invalid DID: ${input}`)\n}\n\nexport function asDid<T extends string>(input: T) {\n assertDid(input)\n return input\n}\n\nexport type AtprotoProxy = `${Did}#${AtprotoServiceType}`\nexport function isAtprotoProxy(input: string): input is AtprotoProxy {\n const { length, [0]: did, [1]: service } = input.split('#')\n return length === 2 && isDid(did) && isAtprotoServiceType(service)\n}\n\nexport function assertAtprotoProxy(\n input: string,\n): asserts input is AtprotoProxy {\n if (!isAtprotoProxy(input)) {\n throw new TypeError(\n `Invalid DID reference: ${input} (must be of the form did:example:alice#service)`,\n )\n }\n}\n\nexport function asAtprotoProxy<T extends string>(input: T) {\n assertAtprotoProxy(input)\n return input\n}\n\n/**\n * Used by the PersistSessionHandler to indicate what change occurred\n */\nexport type AtpSessionEvent =\n | 'create'\n | 'create-failed'\n | 'update'\n | 'expired'\n | 'network-error'\n\n/**\n * Used by AtpAgent to store active sessions\n */\nexport interface AtpSessionData {\n refreshJwt: string\n accessJwt: string\n handle: string\n did: string\n email?: string\n emailConfirmed?: boolean\n emailAuthFactor?: boolean\n active: boolean\n status?: string\n}\n\n/**\n * Handler signature passed to AtpAgent to store session data\n */\nexport type AtpPersistSessionHandler = (\n evt: AtpSessionEvent,\n session: AtpSessionData | undefined,\n) => void | Promise<void>\n\n/**\n * AtpAgent login() opts\n */\nexport interface AtpAgentLoginOpts {\n identifier: string\n password: string\n authFactorToken?: string | undefined\n allowTakendown?: boolean\n}\n\n/**\n * AtpAgent global config opts\n */\nexport interface AtpAgentGlobalOpts {\n appLabelers?: string[]\n}\n\n/**\n * Bluesky feed view preferences\n */\n\nexport interface BskyFeedViewPreference {\n hideReplies: boolean\n hideRepliesByUnfollowed: boolean\n hideRepliesByLikeCount: number\n hideReposts: boolean\n hideQuotePosts: boolean\n [key: string]: any\n}\n\n/**\n * Bluesky thread view preferences\n */\nexport interface BskyThreadViewPreference {\n sort: string\n
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;AAKA,oDAIC;AAID,sBAMC;AAED,8BAEC;AAED,sBAGC;AAGD,wCAGC;AAED,gDAQC;AAED,wCAGC;AA5CD,SAAgB,oBAAoB,CAClC,KAAQ;IAER,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAA;AACrD,CAAC;AAID,SAAgB,KAAK,CAAmB,KAAQ;IAC9C,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC;QAAE,OAAO,KAAK,CAAA;IAC3C,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC;QAAE,OAAO,KAAK,CAAA;IAClC,IAAI,KAAK,CAAC,MAAM,GAAG,IAAI;QAAE,OAAO,KAAK,CAAA;IACrC,MAAM,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC,CAAA;IACnC,OAAO,KAAK,GAAG,CAAC,IAAI,KAAK,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,CAAA;AAC9C,CAAC;AAED,SAAgB,SAAS,CAAC,KAAa;IACrC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;QAAE,MAAM,IAAI,SAAS,CAAC,gBAAgB,KAAK,EAAE,CAAC,CAAA;AACjE,CAAC;AAED,SAAgB,KAAK,CAAmB,KAAQ;IAC9C,SAAS,CAAC,KAAK,CAAC,CAAA;IAChB,OAAO,KAAK,CAAA;AACd,CAAC;AAGD,SAAgB,cAAc,CAAC,KAAa;IAC1C,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAC3D,OAAO,MAAM,KAAK,CAAC,IAAI,KAAK,CAAC,GAAG,CAAC,IAAI,oBAAoB,CAAC,OAAO,CAAC,CAAA;AACpE,CAAC;AAED,SAAgB,kBAAkB,CAChC,KAAa;IAEb,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;QAC3B,MAAM,IAAI,SAAS,CACjB,0BAA0B,KAAK,kDAAkD,CAClF,CAAA;IACH,CAAC;AACH,CAAC;AAED,SAAgB,cAAc,CAAmB,KAAQ;IACvD,kBAAkB,CAAC,KAAK,CAAC,CAAA;IACzB,OAAO,KAAK,CAAA;AACd,CAAC","sourcesContent":["import { AppBskyActorDefs } from './client'\nimport { ModerationPrefs } from './moderation/types'\n\nexport type UnknownServiceType = string & NonNullable<unknown>\nexport type AtprotoServiceType = 'atproto_labeler' | UnknownServiceType\nexport function isAtprotoServiceType<T extends string>(\n input: T,\n): input is T & AtprotoServiceType {\n return !input.includes(' ') && !input.includes('#')\n}\n\n// @TODO use tools from @atproto/did\nexport type Did = `did:${string}:${string}`\nexport function isDid<T extends string>(input: T): input is T & Did {\n if (!input.startsWith('did:')) return false\n if (input.length < 8) return false\n if (input.length > 2048) return false\n const msidx = input.indexOf(':', 4)\n return msidx > 4 && msidx < input.length - 1\n}\n\nexport function assertDid(input: string): asserts input is Did {\n if (!isDid(input)) throw new TypeError(`Invalid DID: ${input}`)\n}\n\nexport function asDid<T extends string>(input: T) {\n assertDid(input)\n return input\n}\n\nexport type AtprotoProxy = `${Did}#${AtprotoServiceType}`\nexport function isAtprotoProxy(input: string): input is AtprotoProxy {\n const { length, [0]: did, [1]: service } = input.split('#')\n return length === 2 && isDid(did) && isAtprotoServiceType(service)\n}\n\nexport function assertAtprotoProxy(\n input: string,\n): asserts input is AtprotoProxy {\n if (!isAtprotoProxy(input)) {\n throw new TypeError(\n `Invalid DID reference: ${input} (must be of the form did:example:alice#service)`,\n )\n }\n}\n\nexport function asAtprotoProxy<T extends string>(input: T) {\n assertAtprotoProxy(input)\n return input\n}\n\n/**\n * Used by the PersistSessionHandler to indicate what change occurred\n */\nexport type AtpSessionEvent =\n | 'create'\n | 'create-failed'\n | 'update'\n | 'expired'\n | 'network-error'\n\n/**\n * Used by AtpAgent to store active sessions\n */\nexport interface AtpSessionData {\n refreshJwt: string\n accessJwt: string\n handle: string\n did: string\n email?: string\n emailConfirmed?: boolean\n emailAuthFactor?: boolean\n active: boolean\n status?: string\n}\n\n/**\n * Handler signature passed to AtpAgent to store session data\n */\nexport type AtpPersistSessionHandler = (\n evt: AtpSessionEvent,\n session: AtpSessionData | undefined,\n) => void | Promise<void>\n\n/**\n * AtpAgent login() opts\n */\nexport interface AtpAgentLoginOpts {\n identifier: string\n password: string\n authFactorToken?: string | undefined\n allowTakendown?: boolean\n}\n\n/**\n * AtpAgent global config opts\n */\nexport interface AtpAgentGlobalOpts {\n appLabelers?: string[]\n}\n\n/**\n * Bluesky feed view preferences\n */\n\nexport interface BskyFeedViewPreference {\n hideReplies: boolean\n hideRepliesByUnfollowed: boolean\n hideRepliesByLikeCount: number\n hideReposts: boolean\n hideQuotePosts: boolean\n [key: string]: any\n}\n\n/**\n * Bluesky thread view preferences\n */\nexport interface BskyThreadViewPreference {\n sort: string\n [key: string]: any\n}\n\n/**\n * Bluesky interests preferences\n */\nexport interface BskyInterestsPreference {\n tags: string[]\n [key: string]: any\n}\n\n/**\n * Bluesky preferences\n */\nexport interface BskyPreferences {\n /**\n * @deprecated use `savedFeeds`\n */\n feeds: {\n saved?: string[]\n pinned?: string[]\n }\n savedFeeds: AppBskyActorDefs.SavedFeed[]\n feedViewPrefs: Record<string, BskyFeedViewPreference>\n threadViewPrefs: BskyThreadViewPreference\n moderationPrefs: ModerationPrefs\n birthDate: Date | undefined\n interests: BskyInterestsPreference\n bskyAppState: {\n queuedNudges: string[]\n activeProgressGuide: AppBskyActorDefs.BskyAppProgressGuide | undefined\n nuxs: AppBskyActorDefs.Nux[]\n }\n postInteractionSettings: AppBskyActorDefs.PostInteractionSettingsPref\n verificationPrefs: AppBskyActorDefs.VerificationPrefs\n}\n"]}
|
package/package.json
CHANGED
package/src/agent.ts
CHANGED
package/src/client/index.ts
CHANGED
|
@@ -182,6 +182,7 @@ import * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/up
|
|
|
182
182
|
import * as ComAtprotoLabelDefs from './types/com/atproto/label/defs.js'
|
|
183
183
|
import * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.js'
|
|
184
184
|
import * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.js'
|
|
185
|
+
import * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.js'
|
|
185
186
|
import * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.js'
|
|
186
187
|
import * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js'
|
|
187
188
|
import * as ComAtprotoModerationDefs from './types/com/atproto/moderation/defs.js'
|
|
@@ -475,6 +476,7 @@ export * as ComAtprotoIdentityUpdateHandle from './types/com/atproto/identity/up
|
|
|
475
476
|
export * as ComAtprotoLabelDefs from './types/com/atproto/label/defs.js'
|
|
476
477
|
export * as ComAtprotoLabelQueryLabels from './types/com/atproto/label/queryLabels.js'
|
|
477
478
|
export * as ComAtprotoLabelSubscribeLabels from './types/com/atproto/label/subscribeLabels.js'
|
|
479
|
+
export * as ComAtprotoLexiconResolveLexicon from './types/com/atproto/lexicon/resolveLexicon.js'
|
|
478
480
|
export * as ComAtprotoLexiconSchema from './types/com/atproto/lexicon/schema.js'
|
|
479
481
|
export * as ComAtprotoModerationCreateReport from './types/com/atproto/moderation/createReport.js'
|
|
480
482
|
export * as ComAtprotoModerationDefs from './types/com/atproto/moderation/defs.js'
|
|
@@ -3991,6 +3993,17 @@ export class ComAtprotoLexiconNS {
|
|
|
3991
3993
|
this._client = client
|
|
3992
3994
|
this.schema = new ComAtprotoLexiconSchemaRecord(client)
|
|
3993
3995
|
}
|
|
3996
|
+
|
|
3997
|
+
resolveLexicon(
|
|
3998
|
+
params?: ComAtprotoLexiconResolveLexicon.QueryParams,
|
|
3999
|
+
opts?: ComAtprotoLexiconResolveLexicon.CallOptions,
|
|
4000
|
+
): Promise<ComAtprotoLexiconResolveLexicon.Response> {
|
|
4001
|
+
return this._client
|
|
4002
|
+
.call('com.atproto.lexicon.resolveLexicon', params, undefined, opts)
|
|
4003
|
+
.catch((e) => {
|
|
4004
|
+
throw ComAtprotoLexiconResolveLexicon.toKnownErr(e)
|
|
4005
|
+
})
|
|
4006
|
+
}
|
|
3994
4007
|
}
|
|
3995
4008
|
|
|
3996
4009
|
export class ComAtprotoLexiconSchemaRecord {
|
package/src/client/lexicons.ts
CHANGED
|
@@ -555,10 +555,6 @@ export const schemaDict = {
|
|
|
555
555
|
'hotness',
|
|
556
556
|
],
|
|
557
557
|
},
|
|
558
|
-
prioritizeFollowedUsers: {
|
|
559
|
-
type: 'boolean',
|
|
560
|
-
description: 'Show followed users at the top of all replies.',
|
|
561
|
-
},
|
|
562
558
|
},
|
|
563
559
|
},
|
|
564
560
|
interestsPref: {
|
|
@@ -6799,12 +6795,6 @@ export const schemaDict = {
|
|
|
6799
6795
|
description:
|
|
6800
6796
|
'Reference (AT-URI) to post record. This is the anchor post.',
|
|
6801
6797
|
},
|
|
6802
|
-
prioritizeFollowedUsers: {
|
|
6803
|
-
type: 'boolean',
|
|
6804
|
-
description:
|
|
6805
|
-
'Whether to prioritize posts from followed users. It only has effect when the user is authenticated.',
|
|
6806
|
-
default: false,
|
|
6807
|
-
},
|
|
6808
6798
|
},
|
|
6809
6799
|
},
|
|
6810
6800
|
output: {
|
|
@@ -6886,12 +6876,6 @@ export const schemaDict = {
|
|
|
6886
6876
|
minimum: 0,
|
|
6887
6877
|
maximum: 100,
|
|
6888
6878
|
},
|
|
6889
|
-
prioritizeFollowedUsers: {
|
|
6890
|
-
type: 'boolean',
|
|
6891
|
-
description:
|
|
6892
|
-
'Whether to prioritize posts from followed users. It only has effect when the user is authenticated.',
|
|
6893
|
-
default: false,
|
|
6894
|
-
},
|
|
6895
6879
|
sort: {
|
|
6896
6880
|
type: 'string',
|
|
6897
6881
|
description: 'Sorting for the thread replies.',
|
|
@@ -10531,6 +10515,57 @@ export const schemaDict = {
|
|
|
10531
10515
|
},
|
|
10532
10516
|
},
|
|
10533
10517
|
},
|
|
10518
|
+
ComAtprotoLexiconResolveLexicon: {
|
|
10519
|
+
lexicon: 1,
|
|
10520
|
+
id: 'com.atproto.lexicon.resolveLexicon',
|
|
10521
|
+
defs: {
|
|
10522
|
+
main: {
|
|
10523
|
+
type: 'query',
|
|
10524
|
+
description: 'Resolves an atproto lexicon (NSID) to a schema.',
|
|
10525
|
+
parameters: {
|
|
10526
|
+
type: 'params',
|
|
10527
|
+
properties: {
|
|
10528
|
+
nsid: {
|
|
10529
|
+
format: 'nsid',
|
|
10530
|
+
type: 'string',
|
|
10531
|
+
description: 'The lexicon NSID to resolve.',
|
|
10532
|
+
},
|
|
10533
|
+
},
|
|
10534
|
+
required: ['nsid'],
|
|
10535
|
+
},
|
|
10536
|
+
output: {
|
|
10537
|
+
encoding: 'application/json',
|
|
10538
|
+
schema: {
|
|
10539
|
+
type: 'object',
|
|
10540
|
+
properties: {
|
|
10541
|
+
cid: {
|
|
10542
|
+
type: 'string',
|
|
10543
|
+
format: 'cid',
|
|
10544
|
+
description: 'The CID of the lexicon schema record.',
|
|
10545
|
+
},
|
|
10546
|
+
schema: {
|
|
10547
|
+
type: 'ref',
|
|
10548
|
+
ref: 'lex:com.atproto.lexicon.schema#main',
|
|
10549
|
+
description: 'The resolved lexicon schema record.',
|
|
10550
|
+
},
|
|
10551
|
+
uri: {
|
|
10552
|
+
type: 'string',
|
|
10553
|
+
format: 'at-uri',
|
|
10554
|
+
description: 'The AT-URI of the lexicon schema record.',
|
|
10555
|
+
},
|
|
10556
|
+
},
|
|
10557
|
+
required: ['uri', 'cid', 'schema'],
|
|
10558
|
+
},
|
|
10559
|
+
},
|
|
10560
|
+
errors: [
|
|
10561
|
+
{
|
|
10562
|
+
description: 'No lexicon was resolved for the NSID.',
|
|
10563
|
+
name: 'LexiconNotFound',
|
|
10564
|
+
},
|
|
10565
|
+
],
|
|
10566
|
+
},
|
|
10567
|
+
},
|
|
10568
|
+
},
|
|
10534
10569
|
ComAtprotoLexiconSchema: {
|
|
10535
10570
|
lexicon: 1,
|
|
10536
10571
|
id: 'com.atproto.lexicon.schema',
|
|
@@ -19268,6 +19303,7 @@ export const ids = {
|
|
|
19268
19303
|
ComAtprotoLabelDefs: 'com.atproto.label.defs',
|
|
19269
19304
|
ComAtprotoLabelQueryLabels: 'com.atproto.label.queryLabels',
|
|
19270
19305
|
ComAtprotoLabelSubscribeLabels: 'com.atproto.label.subscribeLabels',
|
|
19306
|
+
ComAtprotoLexiconResolveLexicon: 'com.atproto.lexicon.resolveLexicon',
|
|
19271
19307
|
ComAtprotoLexiconSchema: 'com.atproto.lexicon.schema',
|
|
19272
19308
|
ComAtprotoModerationCreateReport: 'com.atproto.moderation.createReport',
|
|
19273
19309
|
ComAtprotoModerationDefs: 'com.atproto.moderation.defs',
|
|
@@ -19,8 +19,6 @@ const id = 'app.bsky.unspecced.getPostThreadOtherV2'
|
|
|
19
19
|
export type QueryParams = {
|
|
20
20
|
/** Reference (AT-URI) to post record. This is the anchor post. */
|
|
21
21
|
anchor: string
|
|
22
|
-
/** Whether to prioritize posts from followed users. It only has effect when the user is authenticated. */
|
|
23
|
-
prioritizeFollowedUsers?: boolean
|
|
24
22
|
}
|
|
25
23
|
export type InputSchema = undefined
|
|
26
24
|
|
|
@@ -26,8 +26,6 @@ export type QueryParams = {
|
|
|
26
26
|
below?: number
|
|
27
27
|
/** Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated). */
|
|
28
28
|
branchingFactor?: number
|
|
29
|
-
/** Whether to prioritize posts from followed users. It only has effect when the user is authenticated. */
|
|
30
|
-
prioritizeFollowedUsers?: boolean
|
|
31
29
|
/** Sorting for the thread replies. */
|
|
32
30
|
sort?: 'newest' | 'oldest' | 'top' | (string & {})
|
|
33
31
|
}
|