unoffical wafrn mirror wafrn.net
atproto social-network activitypub
at angular21 45 lines 1.2 kB view raw
1import { Ask } from "./ask"; 2import { Emoji } from "./emoji"; 3import { QuestionPoll } from "./questionPoll"; 4import { RawPost } from "./raw-post"; 5import { SimplifiedUser } from "./simplified-user"; 6import { Tag } from "./tag"; 7import { PostEmojiReaction } from "./unlinked-posts"; 8import { WafrnMedia } from "./wafrn-media"; 9 10export interface ProcessedPost { 11 id: string; 12 content_warning: string; 13 muted_words_cw?: string; 14 content: string; 15 title?: string; 16 createdAt: Date; 17 updatedAt: Date; 18 userId: string; 19 user: SimplifiedUser; 20 medias: WafrnMedia[]; 21 tags: Tag[]; 22 mentionPost?: SimplifiedUser[]; 23 notes: number; 24 privacy: number; 25 remotePostId: string; 26 userLikesPostRelations: string[]; 27 emojis: Emoji[]; 28 descendents: RawPost[]; 29 questionPoll?: QuestionPoll; 30 emojiReactions: PostEmojiReaction[]; 31 quotes: ProcessedPost[]; 32 parentCollection: ProcessedPost[]; 33 parentId?: string; 34 ask?: Ask; 35 markdownContent: string; 36 bskyUri?: string; 37 isRewoot: boolean; 38 hierarchyLevel: number; 39 bookmarkers: string[]; 40 canReply: boolean; 41 canQuote: boolean; 42 canLike: boolean; 43 canReblog: boolean; 44 displayUrl?: string; 45}