export interface CreateUserRegistration { email: string; username: string; fullName: string; password: string; passwordConfirm: string; } export interface UserBase { email: string; } export interface UserOut { id: string; email: string; username?: string; fullName?: string; admin?: boolean; group: string; household: string; groupId: string; groupSlug: string; householdId: string; householdSlug: string; cacheKey: string; tokens?: LongLiveTokenOut[]; } export interface UserIn { username: string; fullName: string; email: string; password: string; admin?: boolean; group?: string; household?: string; advanced?: boolean; canInvite?: boolean; canManage?: boolean; canOrganize?: boolean; } export interface ChangePassword { currentPassword?: string; newPassword: string; } export interface ForgotPassword { email: string; } export interface ResetPassword { token: string; email: string; password: string; passwordConfirm: string; } export interface LongLiveTokenIn { name: string; } export interface LongLiveTokenOut { name: string; id: number; } export interface LongLiveTokenCreateResponse extends LongLiveTokenOut { token: string; } export interface DeleteTokenResponse { tokenDelete: boolean; } export interface UserRatingOut { recipeId: string; userId: string; id: string; rating?: number; isFavorite?: boolean; } export interface UserRatingSummary { recipeId: string; rating?: number; isFavorite?: boolean; } export interface UserRatingUpdate { rating?: number; isFavorite?: boolean; } export interface UserRatings { ratings: T[]; } export interface UserPagination { items: UserOut[]; total: number; page: number; perPage: number; totalPages: number; } export interface PaginationQuery { page?: number; perPage?: number; orderBy?: string; orderDirection?: 'asc' | 'desc'; orderByNullPosition?: 'first' | 'last'; queryFilter?: string; paginationSeed?: string; } export interface UserImageUpdate { profile: File | Blob; } //# sourceMappingURL=user.d.ts.map