mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-07 13:42:34 +00:00
feat: refactor code structure
This commit is contained in:
2
web/src/types/modules/WorkspaceUser.d.ts
vendored
2
web/src/types/modules/WorkspaceUser.d.ts
vendored
@ -7,7 +7,7 @@ interface WorkspaceUser {
|
||||
createdTs: TimeStamp;
|
||||
updatedTs: TimeStamp;
|
||||
email: string;
|
||||
name: string;
|
||||
displayName: string;
|
||||
}
|
||||
|
||||
interface WorkspaceUserUpsert {
|
||||
|
6
web/src/types/modules/user.d.ts
vendored
6
web/src/types/modules/user.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user