fp/packages/next/app/lib/tweets.ts

29 lines
527 B
TypeScript
Raw Normal View History

2024-07-10 22:11:18 +00:00
import { IVtuberResponse } from "types";
2024-07-10 02:34:23 +00:00
import { IMeta } from "types";
2024-01-20 16:16:14 +00:00
export interface ITweet {
id: number;
attributes: {
date: string;
date2: string;
isChaturbateInvite: boolean;
isFanslyInvite: boolean;
cuid: string;
json: string;
id_str: string;
url: string;
vtuber: IVtuberResponse;
}
}
export interface ITweetResponse {
data: ITweet;
meta: IMeta;
}
export interface ITweetsResponse {
data: ITweet[];
meta: IMeta;
}