feat: Integrate Data Connect and Implement Staff List View Directory
This commit is contained in:
16
apps/web/dataconnect/schema/user.gql
Normal file
16
apps/web/dataconnect/schema/user.gql
Normal file
@@ -0,0 +1,16 @@
|
||||
enum UserBaseRole {
|
||||
ADMIN
|
||||
USER
|
||||
}
|
||||
|
||||
type User @table(name: "users") {
|
||||
id: String! # user_id / uid de Firebase
|
||||
email: String
|
||||
fullName: String
|
||||
role: UserBaseRole!
|
||||
userRole: String
|
||||
photoUrl: String
|
||||
createdDate: Timestamp @default(expr: "request.time")
|
||||
updatedDate: Timestamp @default(expr: "request.time")
|
||||
createdBy: String
|
||||
}
|
||||
Reference in New Issue
Block a user