export interface Member {
	id: number;
	nama: string;
	email: string;
	password: string | null;
	google_id: string | null;
	avatar_url: string | null;
	created_at: Date;
	updated_at: Date;
}

export interface CreateMemberInput {
	nama: string;
	email: string;
	password?: string | null;
	google_id?: string | null;
	avatar_url?: string | null;
}

export interface MemberSession {
	id: number;
	nama: string;
	email: string;
}

export interface MemberProfile {
	id: number;
	nama: string;
	email: string;
	avatar_url: string | null;
	created_at: string;
	updated_at: string;
}

export interface MemberStats {
	totalPenjualan: number;
	totalTransaksi: number;
	totalCatatan: number;
	hutangPiutangAktif: number;
}

export interface LoginForm {
	email: string;
	password: string;
}
