feat: refactor code structure

This commit is contained in:
Steven
2023-02-23 08:22:06 +08:00
parent f77a84a649
commit 0fbbcae872
36 changed files with 768 additions and 936 deletions

View File

@ -7,7 +7,7 @@ interface WorkspaceUser {
createdTs: TimeStamp;
updatedTs: TimeStamp;
email: string;
name: string;
displayName: string;
}
interface WorkspaceUserUpsert {

View File

@ -8,14 +8,14 @@ interface User {
rowStatus: RowStatus;
email: string;
name: string;
displayName: string;
openId: string;
}
interface UserCreate {
email: string;
password: string;
name: string;
displayName: string;
}
interface UserPatch {
@ -23,7 +23,7 @@ interface UserPatch {
rowStatus?: RowStatus;
name?: string;
displayName?: string;
password?: string;
resetOpenId?: boolean;
}