import { l } from "@atproto/lex-schema"; import * as ActorDefs from "../actor/defs.defs.js"; import * as EmbedImages from "../embed/images.defs.js"; import * as EmbedVideo from "../embed/video.defs.js"; import * as EmbedGallery from "../embed/gallery.defs.js"; import * as EmbedExternal from "../embed/external.defs.js"; import * as EmbedRecord from "../embed/record.defs.js"; import * as EmbedRecordWithMedia from "../embed/recordWithMedia.defs.js"; import * as LabelDefs from "../../../com/atproto/label/defs.defs.js"; import * as RichtextFacet from "../richtext/facet.defs.js"; import * as GraphDefs from "../graph/defs.defs.js"; declare const $nsid = "app.bsky.feed.defs"; type $nsid = typeof $nsid; export { $nsid }; type PostView = { $type?: "app.bsky.feed.defs#postView"; "uri": l.AtUriString; "cid": l.CidString; "author": ActorDefs.ProfileViewBasic; "record": l.LexMap; "embed"?: l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject; "bookmarkCount"?: number; "replyCount"?: number; "repostCount"?: number; "likeCount"?: number; "quoteCount"?: number; "indexedAt": l.DatetimeString; "viewer"?: ViewerState; "labels"?: (LabelDefs.Label)[]; "threadgate"?: ThreadgateView; /** * Debug information for internal development */ "debug"?: l.LexMap; }; export type { PostView }; declare const postView: l.TypedObjectSchema<"app.bsky.feed.defs#postView", l.Validator>; export { postView }; /** Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests. */ type ViewerState = { $type?: "app.bsky.feed.defs#viewerState"; "repost"?: l.AtUriString; "like"?: l.AtUriString; "bookmarked"?: boolean; "threadMuted"?: boolean; "replyDisabled"?: boolean; "embeddingDisabled"?: boolean; "pinned"?: boolean; /** * This property is present only in selected cases, as an optimization. */ "knownLikers"?: KnownLikers; }; export type { ViewerState }; /** Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests. */ declare const viewerState: l.TypedObjectSchema<"app.bsky.feed.defs#viewerState", l.Validator>; export { viewerState }; /** The post's likers whom you also follow */ type KnownLikers = { $type?: "app.bsky.feed.defs#knownLikers"; "count": number; "actors": (ActorDefs.ProfileViewBasic)[]; }; export type { KnownLikers }; /** The post's likers whom you also follow */ declare const knownLikers: l.TypedObjectSchema<"app.bsky.feed.defs#knownLikers", l.Validator>; export { knownLikers }; /** Metadata about this post within the context of the thread it is in. */ type ThreadContext = { $type?: "app.bsky.feed.defs#threadContext"; "rootAuthorLike"?: l.AtUriString; }; export type { ThreadContext }; /** Metadata about this post within the context of the thread it is in. */ declare const threadContext: l.TypedObjectSchema<"app.bsky.feed.defs#threadContext", l.Validator>; export { threadContext }; type FeedViewPost = { $type?: "app.bsky.feed.defs#feedViewPost"; "post": PostView; "reply"?: ReplyRef; /** * The 1-indexed position of this post within the contiguous OP thread. Only present when this post is part of the OP thread. */ "opThreadPostIndex"?: number; /** * 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. */ "opThreadPostCount"?: number; "reason"?: l.$Typed | l.$Typed | l.Unknown$TypedObject; /** * Context provided by feed generator that may be passed back alongside interactions. */ "feedContext"?: string; /** * Unique identifier per request that may be passed back alongside interactions. */ "reqId"?: string; }; export type { FeedViewPost }; declare const feedViewPost: l.TypedObjectSchema<"app.bsky.feed.defs#feedViewPost", l.Validator>; export { feedViewPost }; type ReplyRef = { $type?: "app.bsky.feed.defs#replyRef"; "root": l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject; "parent": l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject; /** * When parent is a reply to another post, this is the author of that post. */ "grandparentAuthor"?: ActorDefs.ProfileViewBasic; }; export type { ReplyRef }; declare const replyRef: l.TypedObjectSchema<"app.bsky.feed.defs#replyRef", l.Validator>; export { replyRef }; type ReasonRepost = { $type?: "app.bsky.feed.defs#reasonRepost"; "by": ActorDefs.ProfileViewBasic; "uri"?: l.AtUriString; "cid"?: l.CidString; "indexedAt": l.DatetimeString; }; export type { ReasonRepost }; declare const reasonRepost: l.TypedObjectSchema<"app.bsky.feed.defs#reasonRepost", l.Validator>; export { reasonRepost }; type ReasonPin = { $type?: "app.bsky.feed.defs#reasonPin"; }; export type { ReasonPin }; declare const reasonPin: l.TypedObjectSchema<"app.bsky.feed.defs#reasonPin", l.Validator>; export { reasonPin }; type ThreadViewPost = { $type?: "app.bsky.feed.defs#threadViewPost"; "post": PostView; "parent"?: l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject; "replies"?: (l.$Typed | l.$Typed | l.$Typed | l.Unknown$TypedObject)[]; "threadContext"?: ThreadContext; }; export type { ThreadViewPost }; declare const threadViewPost: l.TypedObjectSchema<"app.bsky.feed.defs#threadViewPost", l.Validator>; export { threadViewPost }; type NotFoundPost = { $type?: "app.bsky.feed.defs#notFoundPost"; "uri": l.AtUriString; "notFound": true; }; export type { NotFoundPost }; declare const notFoundPost: l.TypedObjectSchema<"app.bsky.feed.defs#notFoundPost", l.Validator>; export { notFoundPost }; type BlockedPost = { $type?: "app.bsky.feed.defs#blockedPost"; "uri": l.AtUriString; "blocked": true; "author": BlockedAuthor; }; export type { BlockedPost }; declare const blockedPost: l.TypedObjectSchema<"app.bsky.feed.defs#blockedPost", l.Validator>; export { blockedPost }; type BlockedAuthor = { $type?: "app.bsky.feed.defs#blockedAuthor"; "did": l.DidString; "viewer"?: ActorDefs.ViewerState; }; export type { BlockedAuthor }; declare const blockedAuthor: l.TypedObjectSchema<"app.bsky.feed.defs#blockedAuthor", l.Validator>; export { blockedAuthor }; type GeneratorView = { $type?: "app.bsky.feed.defs#generatorView"; "uri": l.AtUriString; "cid": l.CidString; "did": l.DidString; "creator": ActorDefs.ProfileView; "displayName": string; "description"?: string; "descriptionFacets"?: (RichtextFacet.Main)[]; "avatar"?: l.UriString; "likeCount"?: number; "acceptsInteractions"?: boolean; "labels"?: (LabelDefs.Label)[]; "viewer"?: GeneratorViewerState; "contentMode"?: "app.bsky.feed.defs#contentModeUnspecified" | "app.bsky.feed.defs#contentModeVideo" | l.UnknownString; "indexedAt": l.DatetimeString; }; export type { GeneratorView }; declare const generatorView: l.TypedObjectSchema<"app.bsky.feed.defs#generatorView", l.Validator>; export { generatorView }; type GeneratorViewerState = { $type?: "app.bsky.feed.defs#generatorViewerState"; "like"?: l.AtUriString; }; export type { GeneratorViewerState }; declare const generatorViewerState: l.TypedObjectSchema<"app.bsky.feed.defs#generatorViewerState", l.Validator>; export { generatorViewerState }; type SkeletonFeedPost = { $type?: "app.bsky.feed.defs#skeletonFeedPost"; "post": l.AtUriString; "reason"?: l.$Typed | l.$Typed | l.Unknown$TypedObject; /** * Context that will be passed through to client and may be passed to feed generator back alongside interactions. */ "feedContext"?: string; }; export type { SkeletonFeedPost }; declare const skeletonFeedPost: l.TypedObjectSchema<"app.bsky.feed.defs#skeletonFeedPost", l.Validator>; export { skeletonFeedPost }; type SkeletonReasonRepost = { $type?: "app.bsky.feed.defs#skeletonReasonRepost"; "repost": l.AtUriString; }; export type { SkeletonReasonRepost }; declare const skeletonReasonRepost: l.TypedObjectSchema<"app.bsky.feed.defs#skeletonReasonRepost", l.Validator>; export { skeletonReasonRepost }; type SkeletonReasonPin = { $type?: "app.bsky.feed.defs#skeletonReasonPin"; }; export type { SkeletonReasonPin }; declare const skeletonReasonPin: l.TypedObjectSchema<"app.bsky.feed.defs#skeletonReasonPin", l.Validator>; export { skeletonReasonPin }; type ThreadgateView = { $type?: "app.bsky.feed.defs#threadgateView"; "uri"?: l.AtUriString; "cid"?: l.CidString; "record"?: l.LexMap; "lists"?: (GraphDefs.ListViewBasic)[]; }; export type { ThreadgateView }; declare const threadgateView: l.TypedObjectSchema<"app.bsky.feed.defs#threadgateView", l.Validator>; export { threadgateView }; type Interaction = { $type?: "app.bsky.feed.defs#interaction"; "item"?: l.AtUriString; "event"?: "app.bsky.feed.defs#requestLess" | "app.bsky.feed.defs#requestMore" | "app.bsky.feed.defs#clickthroughItem" | "app.bsky.feed.defs#clickthroughAuthor" | "app.bsky.feed.defs#clickthroughReposter" | "app.bsky.feed.defs#clickthroughEmbed" | "app.bsky.feed.defs#interactionSeen" | "app.bsky.feed.defs#interactionLike" | "app.bsky.feed.defs#interactionRepost" | "app.bsky.feed.defs#interactionReply" | "app.bsky.feed.defs#interactionQuote" | "app.bsky.feed.defs#interactionShare" | l.UnknownString; /** * Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton. */ "feedContext"?: string; /** * Unique identifier per request that may be passed back alongside interactions. */ "reqId"?: string; }; export type { Interaction }; declare const interaction: l.TypedObjectSchema<"app.bsky.feed.defs#interaction", l.Validator>; export { interaction }; /** Request that less content like the given feed item be shown in the feed */ declare const requestLess: l.TokenSchema<"app.bsky.feed.defs#requestLess">; export { requestLess }; /** Request that less content like the given feed item be shown in the feed */ declare const RequestLess: "app.bsky.feed.defs#requestLess"; /** Request that less content like the given feed item be shown in the feed */ type RequestLess = typeof RequestLess; export { RequestLess }; /** Request that more content like the given feed item be shown in the feed */ declare const requestMore: l.TokenSchema<"app.bsky.feed.defs#requestMore">; export { requestMore }; /** Request that more content like the given feed item be shown in the feed */ declare const RequestMore: "app.bsky.feed.defs#requestMore"; /** Request that more content like the given feed item be shown in the feed */ type RequestMore = typeof RequestMore; export { RequestMore }; /** User clicked through to the feed item */ declare const clickthroughItem: l.TokenSchema<"app.bsky.feed.defs#clickthroughItem">; export { clickthroughItem }; /** User clicked through to the feed item */ declare const ClickthroughItem: "app.bsky.feed.defs#clickthroughItem"; /** User clicked through to the feed item */ type ClickthroughItem = typeof ClickthroughItem; export { ClickthroughItem }; /** User clicked through to the author of the feed item */ declare const clickthroughAuthor: l.TokenSchema<"app.bsky.feed.defs#clickthroughAuthor">; export { clickthroughAuthor }; /** User clicked through to the author of the feed item */ declare const ClickthroughAuthor: "app.bsky.feed.defs#clickthroughAuthor"; /** User clicked through to the author of the feed item */ type ClickthroughAuthor = typeof ClickthroughAuthor; export { ClickthroughAuthor }; /** User clicked through to the reposter of the feed item */ declare const clickthroughReposter: l.TokenSchema<"app.bsky.feed.defs#clickthroughReposter">; export { clickthroughReposter }; /** User clicked through to the reposter of the feed item */ declare const ClickthroughReposter: "app.bsky.feed.defs#clickthroughReposter"; /** User clicked through to the reposter of the feed item */ type ClickthroughReposter = typeof ClickthroughReposter; export { ClickthroughReposter }; /** User clicked through to the embedded content of the feed item */ declare const clickthroughEmbed: l.TokenSchema<"app.bsky.feed.defs#clickthroughEmbed">; export { clickthroughEmbed }; /** User clicked through to the embedded content of the feed item */ declare const ClickthroughEmbed: "app.bsky.feed.defs#clickthroughEmbed"; /** User clicked through to the embedded content of the feed item */ type ClickthroughEmbed = typeof ClickthroughEmbed; export { ClickthroughEmbed }; /** Declares the feed generator returns any types of posts. */ declare const contentModeUnspecified: l.TokenSchema<"app.bsky.feed.defs#contentModeUnspecified">; export { contentModeUnspecified }; /** Declares the feed generator returns any types of posts. */ declare const ContentModeUnspecified: "app.bsky.feed.defs#contentModeUnspecified"; /** Declares the feed generator returns any types of posts. */ type ContentModeUnspecified = typeof ContentModeUnspecified; export { ContentModeUnspecified }; /** Declares the feed generator returns posts containing app.bsky.embed.video embeds. */ declare const contentModeVideo: l.TokenSchema<"app.bsky.feed.defs#contentModeVideo">; export { contentModeVideo }; /** Declares the feed generator returns posts containing app.bsky.embed.video embeds. */ declare const ContentModeVideo: "app.bsky.feed.defs#contentModeVideo"; /** Declares the feed generator returns posts containing app.bsky.embed.video embeds. */ type ContentModeVideo = typeof ContentModeVideo; export { ContentModeVideo }; /** Feed item was seen by user */ declare const interactionSeen: l.TokenSchema<"app.bsky.feed.defs#interactionSeen">; export { interactionSeen }; /** Feed item was seen by user */ declare const InteractionSeen: "app.bsky.feed.defs#interactionSeen"; /** Feed item was seen by user */ type InteractionSeen = typeof InteractionSeen; export { InteractionSeen }; /** User liked the feed item */ declare const interactionLike: l.TokenSchema<"app.bsky.feed.defs#interactionLike">; export { interactionLike }; /** User liked the feed item */ declare const InteractionLike: "app.bsky.feed.defs#interactionLike"; /** User liked the feed item */ type InteractionLike = typeof InteractionLike; export { InteractionLike }; /** User reposted the feed item */ declare const interactionRepost: l.TokenSchema<"app.bsky.feed.defs#interactionRepost">; export { interactionRepost }; /** User reposted the feed item */ declare const InteractionRepost: "app.bsky.feed.defs#interactionRepost"; /** User reposted the feed item */ type InteractionRepost = typeof InteractionRepost; export { InteractionRepost }; /** User replied to the feed item */ declare const interactionReply: l.TokenSchema<"app.bsky.feed.defs#interactionReply">; export { interactionReply }; /** User replied to the feed item */ declare const InteractionReply: "app.bsky.feed.defs#interactionReply"; /** User replied to the feed item */ type InteractionReply = typeof InteractionReply; export { InteractionReply }; /** User quoted the feed item */ declare const interactionQuote: l.TokenSchema<"app.bsky.feed.defs#interactionQuote">; export { interactionQuote }; /** User quoted the feed item */ declare const InteractionQuote: "app.bsky.feed.defs#interactionQuote"; /** User quoted the feed item */ type InteractionQuote = typeof InteractionQuote; export { InteractionQuote }; /** User shared the feed item */ declare const interactionShare: l.TokenSchema<"app.bsky.feed.defs#interactionShare">; export { interactionShare }; /** User shared the feed item */ declare const InteractionShare: "app.bsky.feed.defs#interactionShare"; /** User shared the feed item */ type InteractionShare = typeof InteractionShare; export { InteractionShare }; //# sourceMappingURL=defs.defs.d.ts.map