Something went wrong. Try again.
Explore blocks, labels, lists, and posts on Bluesky. skytrace.aly.town
typescript react bluesky atproto
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138import type { AppBskyRichtextFacet } from '@atcute/bluesky'import type { CanonicalResourceUri, Cid, Did, GenericUri, Handle } from '@atcute/lexicons/syntax'
export type ActorIdentity = { kind: 'actorIdentity' did: Did handle: Handle pds: GenericUri}
export type ActorSuggestion = { did: Did handle: Handle displayName?: string avatar?: GenericUri}
export type AccountDetails = { createdAt?: string aliases: string[] formerHandles: string[]}
export type ActorProfile = { kind: 'actorProfile' identity: ActorIdentity hasNoUnauthenticatedSelfLabel: boolean displayName?: string pronouns?: string description?: string avatarCid?: Cid}
export type ActorReference = { kind: 'actorReference' did: Did}
export type Actor = ActorProfile | ActorReference
export type UnavailableItem = { kind: 'unavailable' id: string reason: string}
export type RelationshipEntry = { kind: 'relationship' id: string actor: ActorReference createdAt?: string}
export type ListSummary = { kind: 'list' uri: string name: string description?: string purpose: string avatarCid?: Cid createdAt?: string owner: ActorReference}
export type ListMembership = { kind: 'membership' uri: string createdAt?: string list: ListSummary | UnavailableItem}
export type LabelEvent = { kind: 'labelEvent' id: string sourceDid: Did subject: GenericUri value: string createdAt: string expiresAt?: string negated: boolean}
export type LabelValueDefinition = { identifier: string locales: Array<{ lang: string name: string }>}
export type LabeledPost = { kind: 'labeledPost' post: FeedPost labels: LabelEvent[]}
export type Facet = AppBskyRichtextFacet.Main
export type FeedImage = { cid: Cid; alt: string }
export type FeedPost = { kind: 'post' uri: CanonicalResourceUri author: ActorReference repositoryPds?: GenericUri createdAt: string text: string facets: Facet[] replyTo?: CanonicalResourceUri quoteUri?: CanonicalResourceUri images?: FeedImage[] video?: { cid: Cid; alt?: string; mimeType?: string; captions?: Array<{ cid: Cid; lang: string }> }}
type FeedRepost = { kind: 'repost' uri: CanonicalResourceUri createdAt: string author: ActorReference subjectUri: CanonicalResourceUri}
export type FeedItem = FeedPost | FeedRepost | UnavailableItem
export type Page<T, TCursor = string> = { items: T[] cursor?: TCursor issues?: string[]}
export type RawRecord = { uri: CanonicalResourceUri cid: Cid value: Record<string, unknown>}
export type RepositoryRecord = RawRecord | UnavailableItem