65 lines
1.1 KiB
TypeScript
65 lines
1.1 KiB
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;
|
|
relpyid: string;
|
|
reuseid: string;
|
|
text: string;
|
|
account: {
|
|
username: string;
|
|
userid: string;
|
|
user_icon: string;
|
|
user_header: string;
|
|
is_bot: boolean;
|
|
};
|
|
photo1: string;
|
|
photo2: string;
|
|
photo3: string;
|
|
photo4: string;
|
|
video1: string;
|
|
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;
|
|
}
|
|
|
|
export interface NetworkInterfaceDetails {
|
|
family: string;
|
|
internal: boolean;
|
|
address: string;
|
|
}
|