@atproto/api 0.32.11 → 0.33.1
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 +12 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +9 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +130 -0
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +68 -0
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/record.d.ts +2 -0
- package/dist/client/types/app/bsky/embed/record.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/record.js.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.d.ts +2 -0
- package/dist/client/types/app/bsky/feed/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/feed/defs.js.map +1 -1
- package/dist/client/types/app/bsky/feed/getPostVersions.d.ts +29 -0
- package/dist/client/types/app/bsky/feed/getPostVersions.d.ts.map +1 -0
- package/dist/client/types/app/bsky/feed/getPostVersions.js +23 -0
- package/dist/client/types/app/bsky/feed/getPostVersions.js.map +1 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts +4 -0
- package/dist/client/types/tools/ozone/inbox/defs.d.ts.map +1 -1
- package/dist/client/types/tools/ozone/inbox/defs.js.map +1 -1
- package/package.json +5 -7
|
@@ -50,6 +50,8 @@ export interface ViewRecord {
|
|
|
50
50
|
$type: string;
|
|
51
51
|
})[];
|
|
52
52
|
indexedAt: string;
|
|
53
|
+
/** Present if the record has been edited. Timestamp when the current version of the record was indexed. indexedAt is unchanged by edits. */
|
|
54
|
+
editedAt?: string;
|
|
53
55
|
}
|
|
54
56
|
export declare function isViewRecord<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.record", "viewRecord">;
|
|
55
57
|
export declare function validateViewRecord<V>(v: V): ValidationResult<ViewRecord & V>;
|
|
@@ -1 +1 @@
|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A;AAEvC,MAAM,UAAU,cAAc,CAAI,CAAI;IACpC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC1C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAI,CAAI;IAC1C,OAAO,QAAQ,CAAmB,CAAC,EAAE,EAAE,EAAE,gBAAgB,CAAC,CAAA;AAC5D,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as AppBskyFeedDefs from '../feed/defs.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\nimport type * as AppBskyLabelerDefs from '../labeler/defs.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyEmbedImages from './images.js'\nimport type * as AppBskyEmbedVideo from './video.js'\nimport type * as AppBskyEmbedGallery from './gallery.js'\nimport type * as AppBskyEmbedExternal from './external.js'\nimport type * as AppBskyEmbedRecordWithMedia from './recordWithMedia.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.embed.record'\n\nexport interface Main {\n $type?: 'app.bsky.embed.record'\n record: ComAtprotoRepoStrongRef.Main\n}\n\nconst hashMain = 'main'\n\nexport function isMain<V>(v: V) {\n return is$typed(v, id, hashMain)\n}\n\nexport function validateMain<V>(v: V) {\n return validate<Main & V>(v, id, hashMain)\n}\n\nexport interface View {\n $type?: 'app.bsky.embed.record#view'\n record:\n | $Typed<ViewRecord>\n | $Typed<ViewNotFound>\n | $Typed<ViewBlocked>\n | $Typed<ViewDetached>\n | $Typed<AppBskyFeedDefs.GeneratorView>\n | $Typed<AppBskyGraphDefs.ListView>\n | $Typed<AppBskyLabelerDefs.LabelerView>\n | $Typed<AppBskyGraphDefs.StarterPackViewBasic>\n | { $type: string }\n}\n\nconst hashView = 'view'\n\nexport function isView<V>(v: V) {\n return is$typed(v, id, hashView)\n}\n\nexport function validateView<V>(v: V) {\n return validate<View & V>(v, id, hashView)\n}\n\nexport interface ViewRecord {\n $type?: 'app.bsky.embed.record#viewRecord'\n uri: string\n cid: string\n author: AppBskyActorDefs.ProfileViewBasic\n /** The record data itself. */\n value: { [_ in string]: unknown }\n labels?: ComAtprotoLabelDefs.Label[]\n replyCount?: number\n repostCount?: number\n likeCount?: number\n quoteCount?: number\n /** The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread. */\n opThreadPostIndex?: number\n /** The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread. */\n opThreadPostCount?: number\n embeds?: (\n | $Typed<AppBskyEmbedImages.View>\n | $Typed<AppBskyEmbedVideo.View>\n | $Typed<AppBskyEmbedGallery.View>\n | $Typed<AppBskyEmbedExternal.View>\n | $Typed<View>\n | $Typed<AppBskyEmbedRecordWithMedia.View>\n | { $type: string }\n )[]\n indexedAt: string\n /** Present if the record has been edited. Timestamp when the current version of the record was indexed. indexedAt is unchanged by edits. */\n editedAt?: string\n}\n\nconst hashViewRecord = 'viewRecord'\n\nexport function isViewRecord<V>(v: V) {\n return is$typed(v, id, hashViewRecord)\n}\n\nexport function validateViewRecord<V>(v: V) {\n return validate<ViewRecord & V>(v, id, hashViewRecord)\n}\n\nexport interface ViewNotFound {\n $type?: 'app.bsky.embed.record#viewNotFound'\n uri: string\n notFound: true\n}\n\nconst hashViewNotFound = 'viewNotFound'\n\nexport function isViewNotFound<V>(v: V) {\n return is$typed(v, id, hashViewNotFound)\n}\n\nexport function validateViewNotFound<V>(v: V) {\n return validate<ViewNotFound & V>(v, id, hashViewNotFound)\n}\n\nexport interface ViewBlocked {\n $type?: 'app.bsky.embed.record#viewBlocked'\n uri: string\n blocked: true\n author: AppBskyFeedDefs.BlockedAuthor\n}\n\nconst hashViewBlocked = 'viewBlocked'\n\nexport function isViewBlocked<V>(v: V) {\n return is$typed(v, id, hashViewBlocked)\n}\n\nexport function validateViewBlocked<V>(v: V) {\n return validate<ViewBlocked & V>(v, id, hashViewBlocked)\n}\n\nexport interface ViewDetached {\n $type?: 'app.bsky.embed.record#viewDetached'\n uri: string\n detached: true\n}\n\nconst hashViewDetached = 'viewDetached'\n\nexport function isViewDetached<V>(v: V) {\n return is$typed(v, id, hashViewDetached)\n}\n\nexport function validateViewDetached<V>(v: V) {\n return validate<ViewDetached & V>(v, id, hashViewDetached)\n}\n"]}
|
|
@@ -30,6 +30,8 @@ export interface PostView {
|
|
|
30
30
|
likeCount?: number;
|
|
31
31
|
quoteCount?: number;
|
|
32
32
|
indexedAt: string;
|
|
33
|
+
/** Present if the post has been edited. Timestamp when the version of the post in this view was indexed. indexedAt is unchanged by edits. */
|
|
34
|
+
editedAt?: string;
|
|
33
35
|
viewer?: ViewerState;
|
|
34
36
|
labels?: ComAtprotoLabelDefs.Label[];
|
|
35
37
|
threadgate?: ThreadgateView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,KAAK,kBAAkB,MAAM,oBAAoB,CAAA;AAC7D,OAAO,KAAK,KAAK,iBAAiB,MAAM,mBAAmB,CAAA;AAC3D,OAAO,KAAK,KAAK,mBAAmB,MAAM,qBAAqB,CAAA;AAC/D,OAAO,KAAK,KAAK,oBAAoB,MAAM,sBAAsB,CAAA;A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exicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\nimport type * as AppBskyEmbedImages from '../embed/images.js'\nimport type * as AppBskyEmbedVideo from '../embed/video.js'\nimport type * as AppBskyEmbedGallery from '../embed/gallery.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\nimport type * as AppBskyEmbedRecord from '../embed/record.js'\nimport type * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyRichtextFacet from '../richtext/facet.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.defs'\n\nexport interface PostView {\n $type?: 'app.bsky.feed.defs#postView'\n uri: string\n cid: string\n author: AppBskyActorDefs.ProfileViewBasic\n record: { [_ in string]: unknown }\n embed?:\n | $Typed<AppBskyEmbedImages.View>\n | $Typed<AppBskyEmbedVideo.View>\n | $Typed<AppBskyEmbedGallery.View>\n | $Typed<AppBskyEmbedExternal.View>\n | $Typed<AppBskyEmbedRecord.View>\n | $Typed<AppBskyEmbedRecordWithMedia.View>\n | { $type: string }\n bookmarkCount?: number\n replyCount?: number\n repostCount?: number\n likeCount?: number\n quoteCount?: number\n indexedAt: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n threadgate?: ThreadgateView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashPostView = 'postView'\n\nexport function isPostView<V>(v: V) {\n return is$typed(v, id, hashPostView)\n}\n\nexport function validatePostView<V>(v: V) {\n return validate<PostView & V>(v, id, hashPostView)\n}\n\n/** Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests. */\nexport interface ViewerState {\n $type?: 'app.bsky.feed.defs#viewerState'\n repost?: string\n like?: string\n bookmarked?: boolean\n threadMuted?: boolean\n replyDisabled?: boolean\n embeddingDisabled?: boolean\n pinned?: boolean\n knownLikers?: KnownLikers\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 post's likers whom you also follow */\nexport interface KnownLikers {\n $type?: 'app.bsky.feed.defs#knownLikers'\n count: number\n actors: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashKnownLikers = 'knownLikers'\n\nexport function isKnownLikers<V>(v: V) {\n return is$typed(v, id, hashKnownLikers)\n}\n\nexport function validateKnownLikers<V>(v: V) {\n return validate<KnownLikers & V>(v, id, hashKnownLikers)\n}\n\n/** Metadata about this post within the context of the thread it is in. */\nexport interface ThreadContext {\n $type?: 'app.bsky.feed.defs#threadContext'\n rootAuthorLike?: string\n}\n\nconst hashThreadContext = 'threadContext'\n\nexport function isThreadContext<V>(v: V) {\n return is$typed(v, id, hashThreadContext)\n}\n\nexport function validateThreadContext<V>(v: V) {\n return validate<ThreadContext & V>(v, id, hashThreadContext)\n}\n\nexport interface FeedViewPost {\n $type?: 'app.bsky.feed.defs#feedViewPost'\n post: PostView\n reply?: ReplyRef\n /** The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread. */\n opThreadPostIndex?: number\n /** The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread. */\n opThreadPostCount?: number\n reason?: $Typed<ReasonRepost> | $Typed<ReasonPin> | { $type: string }\n /** Context provided by feed generator that may be passed back alongside interactions. */\n feedContext?: string\n /** Unique identifier per request that may be passed back alongside interactions. */\n reqId?: string\n}\n\nconst hashFeedViewPost = 'feedViewPost'\n\nexport function isFeedViewPost<V>(v: V) {\n return is$typed(v, id, hashFeedViewPost)\n}\n\nexport function validateFeedViewPost<V>(v: V) {\n return validate<FeedViewPost & V>(v, id, hashFeedViewPost)\n}\n\nexport interface ReplyRef {\n $type?: 'app.bsky.feed.defs#replyRef'\n root:\n | $Typed<PostView>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n parent:\n | $Typed<PostView>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n grandparentAuthor?: AppBskyActorDefs.ProfileViewBasic\n}\n\nconst hashReplyRef = 'replyRef'\n\nexport function isReplyRef<V>(v: V) {\n return is$typed(v, id, hashReplyRef)\n}\n\nexport function validateReplyRef<V>(v: V) {\n return validate<ReplyRef & V>(v, id, hashReplyRef)\n}\n\nexport interface ReasonRepost {\n $type?: 'app.bsky.feed.defs#reasonRepost'\n by: AppBskyActorDefs.ProfileViewBasic\n uri?: string\n cid?: string\n indexedAt: string\n}\n\nconst hashReasonRepost = 'reasonRepost'\n\nexport function isReasonRepost<V>(v: V) {\n return is$typed(v, id, hashReasonRepost)\n}\n\nexport function validateReasonRepost<V>(v: V) {\n return validate<ReasonRepost & V>(v, id, hashReasonRepost)\n}\n\nexport interface ReasonPin {\n $type?: 'app.bsky.feed.defs#reasonPin'\n}\n\nconst hashReasonPin = 'reasonPin'\n\nexport function isReasonPin<V>(v: V) {\n return is$typed(v, id, hashReasonPin)\n}\n\nexport function validateReasonPin<V>(v: V) {\n return validate<ReasonPin & V>(v, id, hashReasonPin)\n}\n\nexport interface ThreadViewPost {\n $type?: 'app.bsky.feed.defs#threadViewPost'\n post: PostView\n parent?:\n | $Typed<ThreadViewPost>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n replies?: (\n | $Typed<ThreadViewPost>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n )[]\n threadContext?: ThreadContext\n}\n\nconst hashThreadViewPost = 'threadViewPost'\n\nexport function isThreadViewPost<V>(v: V) {\n return is$typed(v, id, hashThreadViewPost)\n}\n\nexport function validateThreadViewPost<V>(v: V) {\n return validate<ThreadViewPost & V>(v, id, hashThreadViewPost)\n}\n\nexport interface NotFoundPost {\n $type?: 'app.bsky.feed.defs#notFoundPost'\n uri: string\n notFound: true\n}\n\nconst hashNotFoundPost = 'notFoundPost'\n\nexport function isNotFoundPost<V>(v: V) {\n return is$typed(v, id, hashNotFoundPost)\n}\n\nexport function validateNotFoundPost<V>(v: V) {\n return validate<NotFoundPost & V>(v, id, hashNotFoundPost)\n}\n\nexport interface BlockedPost {\n $type?: 'app.bsky.feed.defs#blockedPost'\n uri: string\n blocked: true\n author: BlockedAuthor\n}\n\nconst hashBlockedPost = 'blockedPost'\n\nexport function isBlockedPost<V>(v: V) {\n return is$typed(v, id, hashBlockedPost)\n}\n\nexport function validateBlockedPost<V>(v: V) {\n return validate<BlockedPost & V>(v, id, hashBlockedPost)\n}\n\nexport interface BlockedAuthor {\n $type?: 'app.bsky.feed.defs#blockedAuthor'\n did: string\n viewer?: AppBskyActorDefs.ViewerState\n}\n\nconst hashBlockedAuthor = 'blockedAuthor'\n\nexport function isBlockedAuthor<V>(v: V) {\n return is$typed(v, id, hashBlockedAuthor)\n}\n\nexport function validateBlockedAuthor<V>(v: V) {\n return validate<BlockedAuthor & V>(v, id, hashBlockedAuthor)\n}\n\nexport interface GeneratorView {\n $type?: 'app.bsky.feed.defs#generatorView'\n uri: string\n cid: string\n did: string\n creator: AppBskyActorDefs.ProfileView\n displayName: string\n description?: string\n descriptionFacets?: AppBskyRichtextFacet.Main[]\n avatar?: string\n likeCount?: number\n acceptsInteractions?: boolean\n labels?: ComAtprotoLabelDefs.Label[]\n viewer?: GeneratorViewerState\n contentMode?:\n | 'app.bsky.feed.defs#contentModeUnspecified'\n | 'app.bsky.feed.defs#contentModeVideo'\n | (string & {})\n indexedAt: string\n}\n\nconst hashGeneratorView = 'generatorView'\n\nexport function isGeneratorView<V>(v: V) {\n return is$typed(v, id, hashGeneratorView)\n}\n\nexport function validateGeneratorView<V>(v: V) {\n return validate<GeneratorView & V>(v, id, hashGeneratorView)\n}\n\nexport interface GeneratorViewerState {\n $type?: 'app.bsky.feed.defs#generatorViewerState'\n like?: string\n}\n\nconst hashGeneratorViewerState = 'generatorViewerState'\n\nexport function isGeneratorViewerState<V>(v: V) {\n return is$typed(v, id, hashGeneratorViewerState)\n}\n\nexport function validateGeneratorViewerState<V>(v: V) {\n return validate<GeneratorViewerState & V>(v, id, hashGeneratorViewerState)\n}\n\nexport interface SkeletonFeedPost {\n $type?: 'app.bsky.feed.defs#skeletonFeedPost'\n post: string\n reason?:\n $Typed<SkeletonReasonRepost> | $Typed<SkeletonReasonPin> | { $type: string }\n /** Context that will be passed through to client and may be passed to feed generator back alongside interactions. */\n feedContext?: string\n}\n\nconst hashSkeletonFeedPost = 'skeletonFeedPost'\n\nexport function isSkeletonFeedPost<V>(v: V) {\n return is$typed(v, id, hashSkeletonFeedPost)\n}\n\nexport function validateSkeletonFeedPost<V>(v: V) {\n return validate<SkeletonFeedPost & V>(v, id, hashSkeletonFeedPost)\n}\n\nexport interface SkeletonReasonRepost {\n $type?: 'app.bsky.feed.defs#skeletonReasonRepost'\n repost: string\n}\n\nconst hashSkeletonReasonRepost = 'skeletonReasonRepost'\n\nexport function isSkeletonReasonRepost<V>(v: V) {\n return is$typed(v, id, hashSkeletonReasonRepost)\n}\n\nexport function validateSkeletonReasonRepost<V>(v: V) {\n return validate<SkeletonReasonRepost & V>(v, id, hashSkeletonReasonRepost)\n}\n\nexport interface SkeletonReasonPin {\n $type?: 'app.bsky.feed.defs#skeletonReasonPin'\n}\n\nconst hashSkeletonReasonPin = 'skeletonReasonPin'\n\nexport function isSkeletonReasonPin<V>(v: V) {\n return is$typed(v, id, hashSkeletonReasonPin)\n}\n\nexport function validateSkeletonReasonPin<V>(v: V) {\n return validate<SkeletonReasonPin & V>(v, id, hashSkeletonReasonPin)\n}\n\nexport interface ThreadgateView {\n $type?: 'app.bsky.feed.defs#threadgateView'\n uri?: string\n cid?: string\n record?: { [_ in string]: unknown }\n lists?: AppBskyGraphDefs.ListViewBasic[]\n}\n\nconst hashThreadgateView = 'threadgateView'\n\nexport function isThreadgateView<V>(v: V) {\n return is$typed(v, id, hashThreadgateView)\n}\n\nexport function validateThreadgateView<V>(v: V) {\n return validate<ThreadgateView & V>(v, id, hashThreadgateView)\n}\n\nexport interface Interaction {\n $type?: 'app.bsky.feed.defs#interaction'\n item?: string\n event?:\n | 'app.bsky.feed.defs#requestLess'\n | 'app.bsky.feed.defs#requestMore'\n | 'app.bsky.feed.defs#clickthroughItem'\n | 'app.bsky.feed.defs#clickthroughAuthor'\n | 'app.bsky.feed.defs#clickthroughReposter'\n | 'app.bsky.feed.defs#clickthroughEmbed'\n | 'app.bsky.feed.defs#interactionSeen'\n | 'app.bsky.feed.defs#interactionLike'\n | 'app.bsky.feed.defs#interactionRepost'\n | 'app.bsky.feed.defs#interactionReply'\n | 'app.bsky.feed.defs#interactionQuote'\n | 'app.bsky.feed.defs#interactionShare'\n | (string & {})\n /** Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton. */\n feedContext?: string\n /** Unique identifier per request that may be passed back alongside interactions. */\n reqId?: string\n}\n\nconst hashInteraction = 'interaction'\n\nexport function isInteraction<V>(v: V) {\n return is$typed(v, id, hashInteraction)\n}\n\nexport function validateInteraction<V>(v: V) {\n return validate<Interaction & V>(v, id, hashInteraction)\n}\n\n/** Request that less content like the given feed item be shown in the feed */\nexport const REQUESTLESS = `${id}#requestLess`\n/** Request that more content like the given feed item be shown in the feed */\nexport const REQUESTMORE = `${id}#requestMore`\n/** User clicked through to the feed item */\nexport const CLICKTHROUGHITEM = `${id}#clickthroughItem`\n/** User clicked through to the author of the feed item */\nexport const CLICKTHROUGHAUTHOR = `${id}#clickthroughAuthor`\n/** User clicked through to the reposter of the feed item */\nexport const CLICKTHROUGHREPOSTER = `${id}#clickthroughReposter`\n/** User clicked through to the embedded content of the feed item */\nexport const CLICKTHROUGHEMBED = `${id}#clickthroughEmbed`\n/** Declares the feed generator returns any types of posts. */\nexport const CONTENTMODEUNSPECIFIED = `${id}#contentModeUnspecified`\n/** Declares the feed generator returns posts containing app.bsky.embed.video embeds. */\nexport const CONTENTMODEVIDEO = `${id}#contentModeVideo`\n/** Feed item was seen by user */\nexport const INTERACTIONSEEN = `${id}#interactionSeen`\n/** User liked the feed item */\nexport const INTERACTIONLIKE = `${id}#interactionLike`\n/** User reposted the feed item */\nexport const INTERACTIONREPOST = `${id}#interactionRepost`\n/** User replied to the feed item */\nexport const INTERACTIONREPLY = `${id}#interactionReply`\n/** User quoted the feed item */\nexport const INTERACTIONQUOTE = `${id}#interactionQuote`\n/** User shared the feed item */\nexport const INTERACTIONSHARE = `${id}#interactionShare`\n"]}
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAY5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,oBAAoB,CAAA;AA+B/B,MAAM,YAAY,GAAG,UAAU,CAAA;AAE/B,MAAM,UAAU,UAAU,CAAI,CAAI;IAChC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;AACtC,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAI,CAAI;IACtC,OAAO,QAAQ,CAAe,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;AACpD,CAAC;AAeD,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAA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AC9E,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE,cAAc,CAAA;AAC9C,8EAA8E;AAC9E,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE,cAAc,CAAA;AAC9C,4CAA4C;AAC5C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA;AACxD,0DAA0D;AAC1D,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE,qBAAqB,CAAA;AAC5D,4DAA4D;AAC5D,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE,uBAAuB,CAAA;AAChE,oEAAoE;AACpE,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE,oBAAoB,CAAA;AAC1D,8DAA8D;AAC9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,EAAE,yBAAyB,CAAA;AACpE,wFAAwF;AACxF,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA;AACxD,iCAAiC;AACjC,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE,kBAAkB,CAAA;AACtD,+BAA+B;AAC/B,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE,kBAAkB,CAAA;AACtD,kCAAkC;AAClC,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE,oBAAoB,CAAA;AAC1D,oCAAoC;AACpC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA;AACxD,gCAAgC;AAChC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA;AACxD,gCAAgC;AAChC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE,mBAAmB,CAAA","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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\nimport type * as AppBskyEmbedImages from '../embed/images.js'\nimport type * as AppBskyEmbedVideo from '../embed/video.js'\nimport type * as AppBskyEmbedGallery from '../embed/gallery.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\nimport type * as AppBskyEmbedRecord from '../embed/record.js'\nimport type * as AppBskyEmbedRecordWithMedia from '../embed/recordWithMedia.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyRichtextFacet from '../richtext/facet.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.defs'\n\nexport interface PostView {\n $type?: 'app.bsky.feed.defs#postView'\n uri: string\n cid: string\n author: AppBskyActorDefs.ProfileViewBasic\n record: { [_ in string]: unknown }\n embed?:\n | $Typed<AppBskyEmbedImages.View>\n | $Typed<AppBskyEmbedVideo.View>\n | $Typed<AppBskyEmbedGallery.View>\n | $Typed<AppBskyEmbedExternal.View>\n | $Typed<AppBskyEmbedRecord.View>\n | $Typed<AppBskyEmbedRecordWithMedia.View>\n | { $type: string }\n bookmarkCount?: number\n replyCount?: number\n repostCount?: number\n likeCount?: number\n quoteCount?: number\n indexedAt: string\n /** Present if the post has been edited. Timestamp when the version of the post in this view was indexed. indexedAt is unchanged by edits. */\n editedAt?: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n threadgate?: ThreadgateView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashPostView = 'postView'\n\nexport function isPostView<V>(v: V) {\n return is$typed(v, id, hashPostView)\n}\n\nexport function validatePostView<V>(v: V) {\n return validate<PostView & V>(v, id, hashPostView)\n}\n\n/** Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests. */\nexport interface ViewerState {\n $type?: 'app.bsky.feed.defs#viewerState'\n repost?: string\n like?: string\n bookmarked?: boolean\n threadMuted?: boolean\n replyDisabled?: boolean\n embeddingDisabled?: boolean\n pinned?: boolean\n knownLikers?: KnownLikers\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 post's likers whom you also follow */\nexport interface KnownLikers {\n $type?: 'app.bsky.feed.defs#knownLikers'\n count: number\n actors: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashKnownLikers = 'knownLikers'\n\nexport function isKnownLikers<V>(v: V) {\n return is$typed(v, id, hashKnownLikers)\n}\n\nexport function validateKnownLikers<V>(v: V) {\n return validate<KnownLikers & V>(v, id, hashKnownLikers)\n}\n\n/** Metadata about this post within the context of the thread it is in. */\nexport interface ThreadContext {\n $type?: 'app.bsky.feed.defs#threadContext'\n rootAuthorLike?: string\n}\n\nconst hashThreadContext = 'threadContext'\n\nexport function isThreadContext<V>(v: V) {\n return is$typed(v, id, hashThreadContext)\n}\n\nexport function validateThreadContext<V>(v: V) {\n return validate<ThreadContext & V>(v, id, hashThreadContext)\n}\n\nexport interface FeedViewPost {\n $type?: 'app.bsky.feed.defs#feedViewPost'\n post: PostView\n reply?: ReplyRef\n /** The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread. */\n opThreadPostIndex?: number\n /** The total number of posts in the contiguous OP thread that this post belongs to. Only present when this post is part of the OP thread. */\n opThreadPostCount?: number\n reason?: $Typed<ReasonRepost> | $Typed<ReasonPin> | { $type: string }\n /** Context provided by feed generator that may be passed back alongside interactions. */\n feedContext?: string\n /** Unique identifier per request that may be passed back alongside interactions. */\n reqId?: string\n}\n\nconst hashFeedViewPost = 'feedViewPost'\n\nexport function isFeedViewPost<V>(v: V) {\n return is$typed(v, id, hashFeedViewPost)\n}\n\nexport function validateFeedViewPost<V>(v: V) {\n return validate<FeedViewPost & V>(v, id, hashFeedViewPost)\n}\n\nexport interface ReplyRef {\n $type?: 'app.bsky.feed.defs#replyRef'\n root:\n | $Typed<PostView>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n parent:\n | $Typed<PostView>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n grandparentAuthor?: AppBskyActorDefs.ProfileViewBasic\n}\n\nconst hashReplyRef = 'replyRef'\n\nexport function isReplyRef<V>(v: V) {\n return is$typed(v, id, hashReplyRef)\n}\n\nexport function validateReplyRef<V>(v: V) {\n return validate<ReplyRef & V>(v, id, hashReplyRef)\n}\n\nexport interface ReasonRepost {\n $type?: 'app.bsky.feed.defs#reasonRepost'\n by: AppBskyActorDefs.ProfileViewBasic\n uri?: string\n cid?: string\n indexedAt: string\n}\n\nconst hashReasonRepost = 'reasonRepost'\n\nexport function isReasonRepost<V>(v: V) {\n return is$typed(v, id, hashReasonRepost)\n}\n\nexport function validateReasonRepost<V>(v: V) {\n return validate<ReasonRepost & V>(v, id, hashReasonRepost)\n}\n\nexport interface ReasonPin {\n $type?: 'app.bsky.feed.defs#reasonPin'\n}\n\nconst hashReasonPin = 'reasonPin'\n\nexport function isReasonPin<V>(v: V) {\n return is$typed(v, id, hashReasonPin)\n}\n\nexport function validateReasonPin<V>(v: V) {\n return validate<ReasonPin & V>(v, id, hashReasonPin)\n}\n\nexport interface ThreadViewPost {\n $type?: 'app.bsky.feed.defs#threadViewPost'\n post: PostView\n parent?:\n | $Typed<ThreadViewPost>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n replies?: (\n | $Typed<ThreadViewPost>\n | $Typed<NotFoundPost>\n | $Typed<BlockedPost>\n | { $type: string }\n )[]\n threadContext?: ThreadContext\n}\n\nconst hashThreadViewPost = 'threadViewPost'\n\nexport function isThreadViewPost<V>(v: V) {\n return is$typed(v, id, hashThreadViewPost)\n}\n\nexport function validateThreadViewPost<V>(v: V) {\n return validate<ThreadViewPost & V>(v, id, hashThreadViewPost)\n}\n\nexport interface NotFoundPost {\n $type?: 'app.bsky.feed.defs#notFoundPost'\n uri: string\n notFound: true\n}\n\nconst hashNotFoundPost = 'notFoundPost'\n\nexport function isNotFoundPost<V>(v: V) {\n return is$typed(v, id, hashNotFoundPost)\n}\n\nexport function validateNotFoundPost<V>(v: V) {\n return validate<NotFoundPost & V>(v, id, hashNotFoundPost)\n}\n\nexport interface BlockedPost {\n $type?: 'app.bsky.feed.defs#blockedPost'\n uri: string\n blocked: true\n author: BlockedAuthor\n}\n\nconst hashBlockedPost = 'blockedPost'\n\nexport function isBlockedPost<V>(v: V) {\n return is$typed(v, id, hashBlockedPost)\n}\n\nexport function validateBlockedPost<V>(v: V) {\n return validate<BlockedPost & V>(v, id, hashBlockedPost)\n}\n\nexport interface BlockedAuthor {\n $type?: 'app.bsky.feed.defs#blockedAuthor'\n did: string\n viewer?: AppBskyActorDefs.ViewerState\n}\n\nconst hashBlockedAuthor = 'blockedAuthor'\n\nexport function isBlockedAuthor<V>(v: V) {\n return is$typed(v, id, hashBlockedAuthor)\n}\n\nexport function validateBlockedAuthor<V>(v: V) {\n return validate<BlockedAuthor & V>(v, id, hashBlockedAuthor)\n}\n\nexport interface GeneratorView {\n $type?: 'app.bsky.feed.defs#generatorView'\n uri: string\n cid: string\n did: string\n creator: AppBskyActorDefs.ProfileView\n displayName: string\n description?: string\n descriptionFacets?: AppBskyRichtextFacet.Main[]\n avatar?: string\n likeCount?: number\n acceptsInteractions?: boolean\n labels?: ComAtprotoLabelDefs.Label[]\n viewer?: GeneratorViewerState\n contentMode?:\n | 'app.bsky.feed.defs#contentModeUnspecified'\n | 'app.bsky.feed.defs#contentModeVideo'\n | (string & {})\n indexedAt: string\n}\n\nconst hashGeneratorView = 'generatorView'\n\nexport function isGeneratorView<V>(v: V) {\n return is$typed(v, id, hashGeneratorView)\n}\n\nexport function validateGeneratorView<V>(v: V) {\n return validate<GeneratorView & V>(v, id, hashGeneratorView)\n}\n\nexport interface GeneratorViewerState {\n $type?: 'app.bsky.feed.defs#generatorViewerState'\n like?: string\n}\n\nconst hashGeneratorViewerState = 'generatorViewerState'\n\nexport function isGeneratorViewerState<V>(v: V) {\n return is$typed(v, id, hashGeneratorViewerState)\n}\n\nexport function validateGeneratorViewerState<V>(v: V) {\n return validate<GeneratorViewerState & V>(v, id, hashGeneratorViewerState)\n}\n\nexport interface SkeletonFeedPost {\n $type?: 'app.bsky.feed.defs#skeletonFeedPost'\n post: string\n reason?:\n $Typed<SkeletonReasonRepost> | $Typed<SkeletonReasonPin> | { $type: string }\n /** Context that will be passed through to client and may be passed to feed generator back alongside interactions. */\n feedContext?: string\n}\n\nconst hashSkeletonFeedPost = 'skeletonFeedPost'\n\nexport function isSkeletonFeedPost<V>(v: V) {\n return is$typed(v, id, hashSkeletonFeedPost)\n}\n\nexport function validateSkeletonFeedPost<V>(v: V) {\n return validate<SkeletonFeedPost & V>(v, id, hashSkeletonFeedPost)\n}\n\nexport interface SkeletonReasonRepost {\n $type?: 'app.bsky.feed.defs#skeletonReasonRepost'\n repost: string\n}\n\nconst hashSkeletonReasonRepost = 'skeletonReasonRepost'\n\nexport function isSkeletonReasonRepost<V>(v: V) {\n return is$typed(v, id, hashSkeletonReasonRepost)\n}\n\nexport function validateSkeletonReasonRepost<V>(v: V) {\n return validate<SkeletonReasonRepost & V>(v, id, hashSkeletonReasonRepost)\n}\n\nexport interface SkeletonReasonPin {\n $type?: 'app.bsky.feed.defs#skeletonReasonPin'\n}\n\nconst hashSkeletonReasonPin = 'skeletonReasonPin'\n\nexport function isSkeletonReasonPin<V>(v: V) {\n return is$typed(v, id, hashSkeletonReasonPin)\n}\n\nexport function validateSkeletonReasonPin<V>(v: V) {\n return validate<SkeletonReasonPin & V>(v, id, hashSkeletonReasonPin)\n}\n\nexport interface ThreadgateView {\n $type?: 'app.bsky.feed.defs#threadgateView'\n uri?: string\n cid?: string\n record?: { [_ in string]: unknown }\n lists?: AppBskyGraphDefs.ListViewBasic[]\n}\n\nconst hashThreadgateView = 'threadgateView'\n\nexport function isThreadgateView<V>(v: V) {\n return is$typed(v, id, hashThreadgateView)\n}\n\nexport function validateThreadgateView<V>(v: V) {\n return validate<ThreadgateView & V>(v, id, hashThreadgateView)\n}\n\nexport interface Interaction {\n $type?: 'app.bsky.feed.defs#interaction'\n item?: string\n event?:\n | 'app.bsky.feed.defs#requestLess'\n | 'app.bsky.feed.defs#requestMore'\n | 'app.bsky.feed.defs#clickthroughItem'\n | 'app.bsky.feed.defs#clickthroughAuthor'\n | 'app.bsky.feed.defs#clickthroughReposter'\n | 'app.bsky.feed.defs#clickthroughEmbed'\n | 'app.bsky.feed.defs#interactionSeen'\n | 'app.bsky.feed.defs#interactionLike'\n | 'app.bsky.feed.defs#interactionRepost'\n | 'app.bsky.feed.defs#interactionReply'\n | 'app.bsky.feed.defs#interactionQuote'\n | 'app.bsky.feed.defs#interactionShare'\n | (string & {})\n /** Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton. */\n feedContext?: string\n /** Unique identifier per request that may be passed back alongside interactions. */\n reqId?: string\n}\n\nconst hashInteraction = 'interaction'\n\nexport function isInteraction<V>(v: V) {\n return is$typed(v, id, hashInteraction)\n}\n\nexport function validateInteraction<V>(v: V) {\n return validate<Interaction & V>(v, id, hashInteraction)\n}\n\n/** Request that less content like the given feed item be shown in the feed */\nexport const REQUESTLESS = `${id}#requestLess`\n/** Request that more content like the given feed item be shown in the feed */\nexport const REQUESTMORE = `${id}#requestMore`\n/** User clicked through to the feed item */\nexport const CLICKTHROUGHITEM = `${id}#clickthroughItem`\n/** User clicked through to the author of the feed item */\nexport const CLICKTHROUGHAUTHOR = `${id}#clickthroughAuthor`\n/** User clicked through to the reposter of the feed item */\nexport const CLICKTHROUGHREPOSTER = `${id}#clickthroughReposter`\n/** User clicked through to the embedded content of the feed item */\nexport const CLICKTHROUGHEMBED = `${id}#clickthroughEmbed`\n/** Declares the feed generator returns any types of posts. */\nexport const CONTENTMODEUNSPECIFIED = `${id}#contentModeUnspecified`\n/** Declares the feed generator returns posts containing app.bsky.embed.video embeds. */\nexport const CONTENTMODEVIDEO = `${id}#contentModeVideo`\n/** Feed item was seen by user */\nexport const INTERACTIONSEEN = `${id}#interactionSeen`\n/** User liked the feed item */\nexport const INTERACTIONLIKE = `${id}#interactionLike`\n/** User reposted the feed item */\nexport const INTERACTIONREPOST = `${id}#interactionRepost`\n/** User replied to the feed item */\nexport const INTERACTIONREPLY = `${id}#interactionReply`\n/** User quoted the feed item */\nexport const INTERACTIONQUOTE = `${id}#interactionQuote`\n/** User shared the feed item */\nexport const INTERACTIONSHARE = `${id}#interactionShare`\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type HeadersMap, XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import type * as AppBskyFeedDefs from './defs.js';
|
|
6
|
+
export type QueryParams = {
|
|
7
|
+
/** Reference (AT-URI) of post record */
|
|
8
|
+
uri: string;
|
|
9
|
+
};
|
|
10
|
+
export type InputSchema = undefined;
|
|
11
|
+
export interface OutputSchema {
|
|
12
|
+
uri: string;
|
|
13
|
+
/** Versions of the post, newest first. Includes the current version, so an unedited post has a single entry. Each view describes the version at its CID: counts and viewer state are scoped to that CID, editedAt is when that version was indexed (absent on the original), and indexedAt is the original post's. */
|
|
14
|
+
versions: AppBskyFeedDefs.PostView[];
|
|
15
|
+
}
|
|
16
|
+
export interface CallOptions {
|
|
17
|
+
signal?: AbortSignal;
|
|
18
|
+
headers?: HeadersMap;
|
|
19
|
+
}
|
|
20
|
+
export interface Response {
|
|
21
|
+
success: boolean;
|
|
22
|
+
headers: HeadersMap;
|
|
23
|
+
data: OutputSchema;
|
|
24
|
+
}
|
|
25
|
+
export declare class NotFoundError extends XRPCError {
|
|
26
|
+
constructor(src: XRPCError);
|
|
27
|
+
}
|
|
28
|
+
export declare function toKnownErr(e: any): any;
|
|
29
|
+
//# sourceMappingURL=getPostVersions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPostVersions.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getPostVersions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAS1D,OAAO,KAAK,KAAK,eAAe,MAAM,WAAW,CAAA;AAMjD,MAAM,MAAM,WAAW,GAAG;IACxB,wCAAwC;IACxC,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AACD,MAAM,MAAM,WAAW,GAAG,SAAS,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,sTAAsT;IACtT,QAAQ,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAA;CACrC;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,aAAc,SAAQ,SAAS;IAC1C,YAAY,GAAG,EAAE,SAAS,EAEzB;CACF;AAED,wBAAgB,UAAU,CAAC,CAAC,EAAE,GAAG,OAMhC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { XRPCError } from '@atproto/xrpc';
|
|
5
|
+
import { BlobRef } from '@atproto/lexicon';
|
|
6
|
+
import { CID } from 'multiformats/cid';
|
|
7
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
8
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
9
|
+
const is$typed = _is$typed, validate = _validate;
|
|
10
|
+
const id = 'app.bsky.feed.getPostVersions';
|
|
11
|
+
export class NotFoundError extends XRPCError {
|
|
12
|
+
constructor(src) {
|
|
13
|
+
super(src.status, src.error, src.message, src.headers, { cause: src });
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export function toKnownErr(e) {
|
|
17
|
+
if (e instanceof XRPCError) {
|
|
18
|
+
if (e.error === 'NotFound')
|
|
19
|
+
return new NotFoundError(e);
|
|
20
|
+
}
|
|
21
|
+
return e;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=getPostVersions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPostVersions.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/feed/getPostVersions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAmB,SAAS,EAAE,MAAM,eAAe,CAAA;AAC1D,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAG5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,+BAA+B,CAAA;AAyB1C,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C,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;AAED,MAAM,UAAU,UAAU,CAAC,CAAM;IAC/B,IAAI,CAAC,YAAY,SAAS,EAAE,CAAC;QAC3B,IAAI,CAAC,CAAC,KAAK,KAAK,UAAU;YAAE,OAAO,IAAI,aAAa,CAAC,CAAC,CAAC,CAAA;IACzD,CAAC;IAED,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type HeadersMap, XRPCError } from '@atproto/xrpc'\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as AppBskyFeedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.feed.getPostVersions'\n\nexport type QueryParams = {\n /** Reference (AT-URI) of post record */\n uri: string\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n uri: string\n /** Versions of the post, newest first. Includes the current version, so an unedited post has a single entry. Each view describes the version at its CID: counts and viewer state are scoped to that CID, editedAt is when that version was indexed (absent on the original), and indexedAt is the original post's. */\n versions: AppBskyFeedDefs.PostView[]\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 NotFoundError 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 === 'NotFound') return new NotFoundError(e)\n }\n\n return e\n}\n"]}
|
|
@@ -44,6 +44,10 @@ export interface AppealView {
|
|
|
44
44
|
resolvedAt?: string;
|
|
45
45
|
/** Decision on a resolved appeal. */
|
|
46
46
|
outcome?: 'approved' | 'denied' | (string & {});
|
|
47
|
+
/** The action linked when the appeal was filed, when known. */
|
|
48
|
+
appealedAction?: 'takedown' | 'label' | (string & {});
|
|
49
|
+
/** The corrective action linked to an approved appeal, when known. */
|
|
50
|
+
resolutionAction?: 'takedownReversed' | 'labelRemoved' | (string & {});
|
|
47
51
|
appealableUntil?: string;
|
|
48
52
|
}
|
|
49
53
|
export declare function isAppealView<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "tools.ozone.inbox.defs", "appealView">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/inbox/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,gFAAgF;AAChF,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,oCAAoC,CAAA;IAC5C,2DAA2D;IAC3D,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EACH,MAAM,CAAC,mBAAmB,CAAC,OAAO,CAAC,GACnC,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,WAAW,EAAE,eAAe,CAAA;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,EAAE,CAAA;IAC/C,YAAY,CAAC,EAAE,UAAU,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,OAAO,CAAA;CAChB;AAID,wBAAgB,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,+FAEpC;AAED,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qCAE1C;AAED,kDAAkD;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C;AAaD,MAAM,2BAA2B,GAAG,yBAAyB,CAAA;AAE7D,MAAM,UAAU,yBAAyB,CAAI,CAAI;IAC/C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,2BAA2B,CAAC,CAAA;AACrD,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAI,CAAI;IACrD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,2BAA2B,CAC5B,CAAA;AACH,CAAC;AAaD,MAAM,aAAa,GAAG,WAAW,CAAA;AAEjC,MAAM,UAAU,WAAW,CAAI,CAAI;IACjC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACvC,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAgB,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACtD,CAAC;AAcD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,MAAM,UAAU,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC;AAQD,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAkB,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AAC1D,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.inbox.defs'\n\n/** A subject belonging to the viewer that has moderation actions against it. */\nexport interface SubjectView {\n $type?: 'tools.ozone.inbox.defs#subjectView'\n /** DID of the moderation service that took the actions. */\n src: string\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n enforcement: EnforcementView\n appeal?: AppealView\n availableActions?: ('appeal' | (string & {}))[]\n latestAction?: ActionView\n actionCount?: number\n createdAt: string\n updatedAt: string\n isRead: boolean\n}\n\nconst hashSubjectView = 'subjectView'\n\nexport function isSubjectView<V>(v: V) {\n return is$typed(v, id, hashSubjectView)\n}\n\nexport function validateSubjectView<V>(v: V) {\n return validate<SubjectView & V>(v, id, hashSubjectView)\n}\n\n/** The current enforcement state of a subject. */\nexport interface EnforcementView {\n $type?: 'tools.ozone.inbox.defs#enforcementView'\n state:\n 'none' | 'labeled' | 'removed' | 'suspended' | 'takendown' | (string & {})\n scope?: 'network' | 'app' | 'labelOnly' | (string & {})\n expiresAt?: string\n /** Active label values on the subject, excluding negated and expired labels. */\n labels?: string[]\n}\n\nconst hashEnforcementView = 'enforcementView'\n\nexport function isEnforcementView<V>(v: V) {\n return is$typed(v, id, hashEnforcementView)\n}\n\nexport function validateEnforcementView<V>(v: V) {\n return validate<EnforcementView & V>(v, id, hashEnforcementView)\n}\n\n/** The state of the viewer's appeal against the actions on a subject. */\nexport interface AppealView {\n $type?: 'tools.ozone.inbox.defs#appealView'\n state:\n 'none' | 'pending' | 'resolved' | 'superseded' | 'expired' | (string & {})\n appealedAt?: string\n /** When the appeal's report was closed. */\n resolvedAt?: string\n /** Decision on a resolved appeal. */\n outcome?: 'approved' | 'denied' | (string & {})\n appealableUntil?: string\n}\n\nconst hashAppealView = 'appealView'\n\nexport function isAppealView<V>(v: V) {\n return is$typed(v, id, hashAppealView)\n}\n\nexport function validateAppealView<V>(v: V) {\n return validate<AppealView & V>(v, id, hashAppealView)\n}\n\n/** A single moderation action taken against a subject. */\nexport interface ActionView {\n $type?: 'tools.ozone.inbox.defs#actionView'\n /** Action ID (moderation event ID). */\n id: number\n /** Public action type. */\n type: string\n scope?: 'network' | 'app' | 'labelOnly' | (string & {})\n createdAt: string\n reversedAt?: string\n expiresAt?: string\n /** Label values, for labelApplied/labelRemoved. */\n labels?: string[]\n /** Policies applied by a takedown action. */\n policies?: PolicyView[]\n}\n\nconst hashActionView = 'actionView'\n\nexport function isActionView<V>(v: V) {\n return is$typed(v, id, hashActionView)\n}\n\nexport function validateActionView<V>(v: V) {\n return validate<ActionView & V>(v, id, hashActionView)\n}\n\nexport interface PolicyView {\n $type?: 'tools.ozone.inbox.defs#policyView'\n key: string\n displayName: string\n link: string\n}\n\nconst hashPolicyView = 'policyView'\n\nexport function isPolicyView<V>(v: V) {\n return is$typed(v, id, hashPolicyView)\n}\n\nexport function validatePolicyView<V>(v: V) {\n return validate<PolicyView & V>(v, id, hashPolicyView)\n}\n\n/** A subject with a page of its action history and an aggregate report summary. Follow cursor to retrieve older actions; enforcement and appeal describe the current subject state on every page. */\nexport interface SubjectViewDetail {\n $type?: 'tools.ozone.inbox.defs#subjectViewDetail'\n src: string\n isRead: boolean\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n /** Raw record JSON for the subject, when the subject is a record and the record is available. */\n record?: { [_ in string]: unknown }\n account?: AccountPreview\n enforcement: EnforcementView\n appeal?: AppealView\n availableActions?: ('appeal' | (string & {}))[]\n /** A page of action history, most recent first. Reversal timestamps include changes outside this page. */\n actions: ActionView[]\n /** Cursor for the next page of action history. Omitted when no older actions remain. */\n cursor?: string\n reports?: ReportsSummary\n createdAt: string\n updatedAt: string\n}\n\nconst hashSubjectViewDetail = 'subjectViewDetail'\n\nexport function isSubjectViewDetail<V>(v: V) {\n return is$typed(v, id, hashSubjectViewDetail)\n}\n\nexport function validateSubjectViewDetail<V>(v: V) {\n return validate<SubjectViewDetail & V>(v, id, hashSubjectViewDetail)\n}\n\n/** Current account information, when available; this is not a snapshot of the account at the time of the action. */\nexport interface AccountPreview {\n $type?: 'tools.ozone.inbox.defs#accountPreview'\n handle?: string\n /** Raw app.bsky.actor.profile record, when available. */\n profile?: { [_ in string]: unknown }\n}\n\nconst hashAccountPreview = 'accountPreview'\n\nexport function isAccountPreview<V>(v: V) {\n return is$typed(v, id, hashAccountPreview)\n}\n\nexport function validateAccountPreview<V>(v: V) {\n return validate<AccountPreview & V>(v, id, hashAccountPreview)\n}\n\n/** Aggregate view of reports filed against this subject. Deliberately carries no report IDs, no count, and no reporter identities. */\nexport interface ReportsSummary {\n $type?: 'tools.ozone.inbox.defs#reportsSummary'\n /** Distinct reason types reported, deduplicated and unordered. Excludes reasonAppeal. */\n reasonTypes: string[]\n /** Day of the earliest report, truncated to midnight UTC. Render as a date; the time component is not meaningful. */\n firstReportedOn: string\n /** Day of the most recent report, truncated to midnight UTC. Render as a date; the time component is not meaningful. */\n lastReportedOn: string\n}\n\nconst hashReportsSummary = 'reportsSummary'\n\nexport function isReportsSummary<V>(v: V) {\n return is$typed(v, id, hashReportsSummary)\n}\n\nexport function validateReportsSummary<V>(v: V) {\n return validate<ReportsSummary & V>(v, id, hashReportsSummary)\n}\n\nexport interface Notification {\n $type?: 'tools.ozone.inbox.defs#notification'\n id: number\n reason:\n | 'reportResolved'\n | 'reportReopened'\n | 'actionTaken'\n | 'actionReversed'\n | 'appealResolved'\n | 'standingChanged'\n | (string & {})\n target:\n | $Typed<ReportRef>\n | $Typed<SubjectRef>\n | $Typed<StandingRef>\n | { $type: string }\n isRead: boolean\n createdAt: string\n}\n\nconst hashNotification = 'notification'\n\nexport function isNotification<V>(v: V) {\n return is$typed(v, id, hashNotification)\n}\n\nexport function validateNotification<V>(v: V) {\n return validate<Notification & V>(v, id, hashNotification)\n}\n\n/** Push notification preferences by moderation notification category. These preferences do not hide in-app inbox activity. Each category defaults to enabled. */\nexport interface NotificationPreferences {\n $type?: 'tools.ozone.inbox.defs#notificationPreferences'\n /** Notify about outcomes of reports filed by the account (reportResolved and reportReopened). */\n reports: boolean\n /** Notify about moderation actions against the account or its content, action reversals, appeal outcomes, and standing changes. Label application and removal are controlled by labels. */\n account: boolean\n /** Notify when labels are applied to or removed from the account or its content (labelApplied and labelRemoved actions). */\n labels: boolean\n}\n\nconst hashNotificationPreferences = 'notificationPreferences'\n\nexport function isNotificationPreferences<V>(v: V) {\n return is$typed(v, id, hashNotificationPreferences)\n}\n\nexport function validateNotificationPreferences<V>(v: V) {\n return validate<NotificationPreferences & V>(\n v,\n id,\n hashNotificationPreferences,\n )\n}\n\n/** Reference to a report by its report table ID, as used by getReport and Ozone's report detail page. */\nexport interface ReportRef {\n $type?: 'tools.ozone.inbox.defs#reportRef'\n reportId: number\n subject?:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n status?: 'pending' | 'resolved' | (string & {})\n}\n\nconst hashReportRef = 'reportRef'\n\nexport function isReportRef<V>(v: V) {\n return is$typed(v, id, hashReportRef)\n}\n\nexport function validateReportRef<V>(v: V) {\n return validate<ReportRef & V>(v, id, hashReportRef)\n}\n\nexport interface SubjectRef {\n $type?: 'tools.ozone.inbox.defs#subjectRef'\n /** Decision captured when an appealResolved notification was created. Omitted when the outcome is unknown. */\n appealOutcome?: 'approved' | 'denied' | (string & {})\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n actionType?: string\n actionId?: number\n}\n\nconst hashSubjectRef = 'subjectRef'\n\nexport function isSubjectRef<V>(v: V) {\n return is$typed(v, id, hashSubjectRef)\n}\n\nexport function validateSubjectRef<V>(v: V) {\n return validate<SubjectRef & V>(v, id, hashSubjectRef)\n}\n\nexport interface StandingRef {\n $type?: 'tools.ozone.inbox.defs#standingRef'\n standing: 'good' | 'warning' | 'atRisk' | (string & {})\n previousStanding?: 'good' | 'warning' | 'atRisk' | (string & {})\n}\n\nconst hashStandingRef = 'standingRef'\n\nexport function isStandingRef<V>(v: V) {\n return is$typed(v, id, hashStandingRef)\n}\n\nexport function validateStandingRef<V>(v: V) {\n return validate<StandingRef & V>(v, id, hashStandingRef)\n}\n"]}
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/tools/ozone/inbox/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAI5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,wBAAwB,CAAA;AAqBnC,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAkB,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AAC1D,CAAC;AAaD,MAAM,mBAAmB,GAAG,iBAAiB,CAAA;AAE7C,MAAM,UAAU,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,mBAAmB,CAAC,CAAA;AAC7C,CAA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E,EAAE,EAAE,aAAa,CAAC,CAAA;AACvC,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAgB,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACtD,CAAC;AAcD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,MAAM,UAAU,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC;AAQD,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAkB,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AAC1D,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ComAtprotoAdminDefs from '../../../com/atproto/admin/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'tools.ozone.inbox.defs'\n\n/** A subject belonging to the viewer that has moderation actions against it. */\nexport interface SubjectView {\n $type?: 'tools.ozone.inbox.defs#subjectView'\n /** DID of the moderation service that took the actions. */\n src: string\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n enforcement: EnforcementView\n appeal?: AppealView\n availableActions?: ('appeal' | (string & {}))[]\n latestAction?: ActionView\n actionCount?: number\n createdAt: string\n updatedAt: string\n isRead: boolean\n}\n\nconst hashSubjectView = 'subjectView'\n\nexport function isSubjectView<V>(v: V) {\n return is$typed(v, id, hashSubjectView)\n}\n\nexport function validateSubjectView<V>(v: V) {\n return validate<SubjectView & V>(v, id, hashSubjectView)\n}\n\n/** The current enforcement state of a subject. */\nexport interface EnforcementView {\n $type?: 'tools.ozone.inbox.defs#enforcementView'\n state:\n 'none' | 'labeled' | 'removed' | 'suspended' | 'takendown' | (string & {})\n scope?: 'network' | 'app' | 'labelOnly' | (string & {})\n expiresAt?: string\n /** Active label values on the subject, excluding negated and expired labels. */\n labels?: string[]\n}\n\nconst hashEnforcementView = 'enforcementView'\n\nexport function isEnforcementView<V>(v: V) {\n return is$typed(v, id, hashEnforcementView)\n}\n\nexport function validateEnforcementView<V>(v: V) {\n return validate<EnforcementView & V>(v, id, hashEnforcementView)\n}\n\n/** The state of the viewer's appeal against the actions on a subject. */\nexport interface AppealView {\n $type?: 'tools.ozone.inbox.defs#appealView'\n state:\n 'none' | 'pending' | 'resolved' | 'superseded' | 'expired' | (string & {})\n appealedAt?: string\n /** When the appeal's report was closed. */\n resolvedAt?: string\n /** Decision on a resolved appeal. */\n outcome?: 'approved' | 'denied' | (string & {})\n /** The action linked when the appeal was filed, when known. */\n appealedAction?: 'takedown' | 'label' | (string & {})\n /** The corrective action linked to an approved appeal, when known. */\n resolutionAction?: 'takedownReversed' | 'labelRemoved' | (string & {})\n appealableUntil?: string\n}\n\nconst hashAppealView = 'appealView'\n\nexport function isAppealView<V>(v: V) {\n return is$typed(v, id, hashAppealView)\n}\n\nexport function validateAppealView<V>(v: V) {\n return validate<AppealView & V>(v, id, hashAppealView)\n}\n\n/** A single moderation action taken against a subject. */\nexport interface ActionView {\n $type?: 'tools.ozone.inbox.defs#actionView'\n /** Action ID (moderation event ID). */\n id: number\n /** Public action type. */\n type: string\n scope?: 'network' | 'app' | 'labelOnly' | (string & {})\n createdAt: string\n reversedAt?: string\n expiresAt?: string\n /** Label values, for labelApplied/labelRemoved. */\n labels?: string[]\n /** Policies applied by a takedown action. */\n policies?: PolicyView[]\n}\n\nconst hashActionView = 'actionView'\n\nexport function isActionView<V>(v: V) {\n return is$typed(v, id, hashActionView)\n}\n\nexport function validateActionView<V>(v: V) {\n return validate<ActionView & V>(v, id, hashActionView)\n}\n\nexport interface PolicyView {\n $type?: 'tools.ozone.inbox.defs#policyView'\n key: string\n displayName: string\n link: string\n}\n\nconst hashPolicyView = 'policyView'\n\nexport function isPolicyView<V>(v: V) {\n return is$typed(v, id, hashPolicyView)\n}\n\nexport function validatePolicyView<V>(v: V) {\n return validate<PolicyView & V>(v, id, hashPolicyView)\n}\n\n/** A subject with a page of its action history and an aggregate report summary. Follow cursor to retrieve older actions; enforcement and appeal describe the current subject state on every page. */\nexport interface SubjectViewDetail {\n $type?: 'tools.ozone.inbox.defs#subjectViewDetail'\n src: string\n isRead: boolean\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n /** Raw record JSON for the subject, when the subject is a record and the record is available. */\n record?: { [_ in string]: unknown }\n account?: AccountPreview\n enforcement: EnforcementView\n appeal?: AppealView\n availableActions?: ('appeal' | (string & {}))[]\n /** A page of action history, most recent first. Reversal timestamps include changes outside this page. */\n actions: ActionView[]\n /** Cursor for the next page of action history. Omitted when no older actions remain. */\n cursor?: string\n reports?: ReportsSummary\n createdAt: string\n updatedAt: string\n}\n\nconst hashSubjectViewDetail = 'subjectViewDetail'\n\nexport function isSubjectViewDetail<V>(v: V) {\n return is$typed(v, id, hashSubjectViewDetail)\n}\n\nexport function validateSubjectViewDetail<V>(v: V) {\n return validate<SubjectViewDetail & V>(v, id, hashSubjectViewDetail)\n}\n\n/** Current account information, when available; this is not a snapshot of the account at the time of the action. */\nexport interface AccountPreview {\n $type?: 'tools.ozone.inbox.defs#accountPreview'\n handle?: string\n /** Raw app.bsky.actor.profile record, when available. */\n profile?: { [_ in string]: unknown }\n}\n\nconst hashAccountPreview = 'accountPreview'\n\nexport function isAccountPreview<V>(v: V) {\n return is$typed(v, id, hashAccountPreview)\n}\n\nexport function validateAccountPreview<V>(v: V) {\n return validate<AccountPreview & V>(v, id, hashAccountPreview)\n}\n\n/** Aggregate view of reports filed against this subject. Deliberately carries no report IDs, no count, and no reporter identities. */\nexport interface ReportsSummary {\n $type?: 'tools.ozone.inbox.defs#reportsSummary'\n /** Distinct reason types reported, deduplicated and unordered. Excludes reasonAppeal. */\n reasonTypes: string[]\n /** Day of the earliest report, truncated to midnight UTC. Render as a date; the time component is not meaningful. */\n firstReportedOn: string\n /** Day of the most recent report, truncated to midnight UTC. Render as a date; the time component is not meaningful. */\n lastReportedOn: string\n}\n\nconst hashReportsSummary = 'reportsSummary'\n\nexport function isReportsSummary<V>(v: V) {\n return is$typed(v, id, hashReportsSummary)\n}\n\nexport function validateReportsSummary<V>(v: V) {\n return validate<ReportsSummary & V>(v, id, hashReportsSummary)\n}\n\nexport interface Notification {\n $type?: 'tools.ozone.inbox.defs#notification'\n id: number\n reason:\n | 'reportResolved'\n | 'reportReopened'\n | 'actionTaken'\n | 'actionReversed'\n | 'appealResolved'\n | 'standingChanged'\n | (string & {})\n target:\n | $Typed<ReportRef>\n | $Typed<SubjectRef>\n | $Typed<StandingRef>\n | { $type: string }\n isRead: boolean\n createdAt: string\n}\n\nconst hashNotification = 'notification'\n\nexport function isNotification<V>(v: V) {\n return is$typed(v, id, hashNotification)\n}\n\nexport function validateNotification<V>(v: V) {\n return validate<Notification & V>(v, id, hashNotification)\n}\n\n/** Push notification preferences by moderation notification category. These preferences do not hide in-app inbox activity. Each category defaults to enabled. */\nexport interface NotificationPreferences {\n $type?: 'tools.ozone.inbox.defs#notificationPreferences'\n /** Notify about outcomes of reports filed by the account (reportResolved and reportReopened). */\n reports: boolean\n /** Notify about moderation actions against the account or its content, action reversals, appeal outcomes, and standing changes. Label application and removal are controlled by labels. */\n account: boolean\n /** Notify when labels are applied to or removed from the account or its content (labelApplied and labelRemoved actions). */\n labels: boolean\n}\n\nconst hashNotificationPreferences = 'notificationPreferences'\n\nexport function isNotificationPreferences<V>(v: V) {\n return is$typed(v, id, hashNotificationPreferences)\n}\n\nexport function validateNotificationPreferences<V>(v: V) {\n return validate<NotificationPreferences & V>(\n v,\n id,\n hashNotificationPreferences,\n )\n}\n\n/** Reference to a report by its report table ID, as used by getReport and Ozone's report detail page. */\nexport interface ReportRef {\n $type?: 'tools.ozone.inbox.defs#reportRef'\n reportId: number\n subject?:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n status?: 'pending' | 'resolved' | (string & {})\n}\n\nconst hashReportRef = 'reportRef'\n\nexport function isReportRef<V>(v: V) {\n return is$typed(v, id, hashReportRef)\n}\n\nexport function validateReportRef<V>(v: V) {\n return validate<ReportRef & V>(v, id, hashReportRef)\n}\n\nexport interface SubjectRef {\n $type?: 'tools.ozone.inbox.defs#subjectRef'\n /** Decision captured when an appealResolved notification was created. Omitted when the outcome is unknown. */\n appealOutcome?: 'approved' | 'denied' | (string & {})\n subject:\n | $Typed<ComAtprotoAdminDefs.RepoRef>\n | $Typed<ComAtprotoRepoStrongRef.Main>\n | { $type: string }\n actionType?: string\n actionId?: number\n}\n\nconst hashSubjectRef = 'subjectRef'\n\nexport function isSubjectRef<V>(v: V) {\n return is$typed(v, id, hashSubjectRef)\n}\n\nexport function validateSubjectRef<V>(v: V) {\n return validate<SubjectRef & V>(v, id, hashSubjectRef)\n}\n\nexport interface StandingRef {\n $type?: 'tools.ozone.inbox.defs#standingRef'\n standing: 'good' | 'warning' | 'atRisk' | (string & {})\n previousStanding?: 'good' | 'warning' | 'atRisk' | (string & {})\n}\n\nconst hashStandingRef = 'standingRef'\n\nexport function isStandingRef<V>(v: V) {\n return is$typed(v, id, hashStandingRef)\n}\n\nexport function validateStandingRef<V>(v: V) {\n return validate<StandingRef & V>(v, id, hashStandingRef)\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Client library for atproto and Bluesky",
|
|
6
6
|
"keywords": [
|
|
@@ -42,11 +42,9 @@
|
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@atproto/lex-cli": "^0.10.23",
|
|
45
|
-
"@atproto/lex-installer": "^0.2.
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"jest": "^30.5.2",
|
|
49
|
-
"prettier": "^3.9.6"
|
|
45
|
+
"@atproto/lex-installer": "^0.2.17",
|
|
46
|
+
"prettier": "^3.9.6",
|
|
47
|
+
"vitest": "^5.1.1"
|
|
50
48
|
},
|
|
51
49
|
"scripts": {
|
|
52
50
|
"lex:gen": "lex gen-api --yes ./src/client ./lexicons/com/atproto/*/* ./lexicons/app/bsky/*/* ./lexicons/chat/bsky/*/* ./lexicons/tools/ozone/*/* ./lexicons/com/germnetwork/*",
|
|
@@ -58,6 +56,6 @@
|
|
|
58
56
|
"codegen:code": "node ./scripts/generate-code.js",
|
|
59
57
|
"prebuild": "pnpm run '/^(codegen:.+)$/'",
|
|
60
58
|
"build": "tsc --build tsconfig.build.json",
|
|
61
|
-
"test": "
|
|
59
|
+
"test": "vitest run"
|
|
62
60
|
}
|
|
63
61
|
}
|