56 lines
998 B
TypeScript
56 lines
998 B
TypeScript
export interface Role {
|
|
name: string;
|
|
color: string;
|
|
effect: string;
|
|
id: string;
|
|
}
|
|
|
|
export interface meApi {
|
|
username: string;
|
|
userid: string;
|
|
profile: string;
|
|
user_icon: string;
|
|
user_header: string;
|
|
registered_date: string;
|
|
followee: Array<string>;
|
|
followee_cnt: number;
|
|
follower: Array<string>;
|
|
follower_cnt: number;
|
|
ueuse_cnt: number;
|
|
isBot: Boolean;
|
|
isAdmin: Boolean;
|
|
role: Role[];
|
|
language: String;
|
|
}
|
|
|
|
export interface ueuse {
|
|
uniqid: string;
|
|
text: string;
|
|
account: {
|
|
username: string;
|
|
userid: string;
|
|
user_icon: string;
|
|
user_header: string;
|
|
};
|
|
photo1: Base64URLString;
|
|
photo2: Base64URLString;
|
|
photo3: Base64URLString;
|
|
photo4: Base64URLString;
|
|
video1: Base64URLString;
|
|
favorite: Array<string>;
|
|
favorite_cnt: string;
|
|
datetime: string;
|
|
abi: string;
|
|
abidatetime: string;
|
|
nsfw: boolean;
|
|
}
|
|
|
|
export interface ueuseCreateApi {
|
|
uniqid: string;
|
|
userid: string;
|
|
}
|
|
|
|
export interface followApi {
|
|
userid: string;
|
|
}
|