mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 20:11:12 -05:00
Fix remaining any types and enable strict mode
This commit is contained in:
@@ -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 */
|
||||
|
||||
24
src/types/supabase-auth.ts
Normal file
24
src/types/supabase-auth.ts
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user