first commit
This commit is contained in:
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user