24 lines
438 B
TypeScript
24 lines
438 B
TypeScript
export interface ThreadsPost {
|
|
externalId?: string;
|
|
text: string;
|
|
permalink?: string;
|
|
authorName?: string;
|
|
postedAt?: Date;
|
|
likeCount?: number;
|
|
replyCount?: number;
|
|
repostCount?: number;
|
|
}
|
|
|
|
export interface ThreadsReply {
|
|
text: string;
|
|
authorName?: string;
|
|
likeCount?: number;
|
|
postedAt?: Date;
|
|
}
|
|
|
|
export interface PublishResult {
|
|
success: boolean;
|
|
permalink?: string;
|
|
error?: string;
|
|
debugRunId?: string;
|
|
} |