feat: refactor code structure

This commit is contained in:
Steven committed 2023-02-23 08:22:06 +08:00
1 parent f77a84a649
commit 0fbbcae872
36 files changed
+767 -935

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ interface WorkspaceUser {
createdTs: TimeStamp;
updatedTs: TimeStamp;
email: string;
name: string;
displayName: string;
}
interface WorkspaceUserUpsert {
+3 -3
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;
}