Fix remaining any types and enable strict mode

This commit is contained in:
gpt-engineer-app[bot]
2025-11-03 01:20:50 +00:00
parent e14c11d994
commit 8ce7775324
7 changed files with 38 additions and 6 deletions

View File

@@ -164,6 +164,9 @@ export interface ModerationItem {
reviewed_at?: string;
/** ID of the moderator who reviewed this item */
reviewer_id?: string;
/** Username of the moderator who reviewed this item */
reviewed_by?: string;
/** Notes left by the reviewing moderator */

View File

@@ -0,0 +1,24 @@
/**
* Extended Supabase Auth Types
* Supabase auth methods accept options objects not fully typed in official SDK
*/
export interface SignInOptions {
email: string;
password: string;
options?: {
captchaToken?: string;
};
}
export interface SignUpOptions {
email: string;
password: string;
options?: {
data?: {
username?: string;
display_name?: string;
};
captchaToken?: string;
};
}