trender-client
Version:
Official Trender client API
34 lines (33 loc) • 815 B
TypeScript
import type LANGUAGES_LIST from "../../utils/ISO-369-1";
import type { attachments, error } from "./Global";
export declare type myInformations = {
error?: error;
data?: {
user_id: string;
nickname: string;
avatar: string;
token: string;
locale: LANGUAGES_LIST;
};
};
export interface editInformationsParams {
nickname?: string;
username?: string;
description?: string;
is_private?: boolean;
link?: string;
avatar?: attachments;
banner?: attachments;
}
export declare type editInformationsResponse = {
error?: error;
data?: {
is_private: boolean;
description: string;
nickname: string;
username: string;
avatar?: string;
accent_color?: string;
banner?: string;
};
};