first commit

This commit is contained in:
luoyangwei
2026-06-06 00:49:07 +08:00
commit 2b860d201e
134 changed files with 22773 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
export type AppUserStatus = "active" | "disabled";
export type AppUser = {
id: string;
email: string | null;
display_name: string | null;
avatar_url: string | null;
auth_provider: string;
status: AppUserStatus;
phone?: string | null;
wechat_openid?: string | null;
wechat_unionid?: string | null;
last_login_at?: string | null;
disabled_at?: string | null;
created_at: string;
updated_at: string;
};
export type PublicAppUser = {
id: string;
email: string | null;
displayName: string | null;
avatarUrl: string | null;
authProvider: string;
};
export type AppUserSettings = {
user_id: string;
preferences: Record<string, unknown>;
download_preferences: Record<string, unknown>;
updated_at: string;
};