A Vue app that displays bluesky skeets in realtime as they are created.
1/**
2 * Represents a feed entry in the system.
3 *
4 * - `uri`: The unique resource identifier for the entry.
5 * - `cid`: The content identifier (CID) associated with this entry.
6 * - `authorDid`: The Decentralized Identifier (DID) of the author who created the entry.
7 * - `text`: The textual content of the entry.
8 * - `rootUri`: The URI of the root entry in the conversation or thread.
9 * - `rootCid`: The CID of the root entry.
10 * - `indexedAt`: An optional `Date` indicating when the entry was indexed.
11 */
12export type Post = {
13 uri: string
14 cid: string
15 authorDid: string
16 authorHandle?: string
17 authorAvatar?: string
18 authorBanner?: string
19 text: string
20 embed: unknown
21 rootUri: string
22 rootCid: string
23 createdAt?: Date
24}
25
26/**
27 * Represents a URI/CID pair, commonly used to reference a particular piece of content.
28 *
29 * - `cid`: The content identifier (CID).
30 * - `uri`: The unique resource identifier for the content.
31 */
32export type UriCid = {
33 cid: string
34 uri: string
35}