import { Illust } from "./Illust"; import { Novel } from "./Novel"; export interface UserProfile { user: User; profile: { webpage: string; gender: number | null; birth: string | null; birth_day: string | null; birth_year: number | null; region: string | null; address_id: number | null; country_code: string | null; job: string; job_id: number; total_follow_users: number; total_mypixiv_users: number; total_illusts: number; total_manga: number; total_novels: number; total_illust_series: number; total_novel_series: number; background_image_url: string; twitter_account: string | null; twitter_url: string; is_premium: boolean; is_using_custom_profile_image: boolean; }; profile_publicity: { gender: string | null; region: string | null; birth_day: string | null; birth_year: string | null; job: string | null; }; workspace: { pc: string; monitor: string; tool: string; scanner: string; tablet: string; mouse: string; printer: string; desktop: string; music: string; desk: string; chair: string; comment: string; }; disabled_links: []; } export interface UserState { is_mail_authorized: boolean; has_mail_address: boolean; has_changed_pixiv_id: boolean; can_change_pixiv_id: boolean; has_password: boolean; require_policy_agreement: boolean; no_login_method: boolean; is_user_restricted: boolean; } export interface User { id: number; name: string; account: string; profile_image_urls: { medium: string; }; comment: string; is_followed: boolean; is_access_blocking_user: boolean; is_accept_request: boolean; } export interface UserPreview { user: User; illusts: Illust[]; novels: Novel[]; is_muted: boolean; } export interface Notification { id: number; created_datetime: string; type: number; content: { text: string; left_icon: string | null; left_image: string | null; right_icon: string | null; right_image: string | null; }; view_more: string | null; target_url: string | null; is_read: boolean; }