export interface IUserProfile { email: string; is_active: boolean; is_superuser: boolean; full_name?: string; id: number; available_time: number; membership_status: string; } export interface IUserProfileUpdate { email?: string; full_name?: string; password?: string; is_active?: boolean; is_superuser?: boolean; } export interface IUserProfileCreate { email: string; full_name?: string; password: string; is_active?: boolean; is_superuser?: boolean; } export interface AppNotification { content: string; color?: string; showProgress?: boolean; }; export interface MainState { token: string; isLoggedIn: boolean | null; logInError: boolean; userProfile: IUserProfile | null; dashboardMiniDrawer: boolean; dashboardShowDrawer: boolean; notifications: AppNotification[]; videos: Video[]; }; export interface Video { id: number; title: string; stored_file_name: string; progress_state: string; } export interface VideoCreate{ title: string; anchor_id: number; lang_id: number; } export interface ArticleCreate { title: string; link: string; content: string; } export interface Image { file_name: string; stored_file_name: string; content: string; state: string; } export interface ImageDownload { file_name: string; stored_file_name: string; }