feat: Integrate Data Connect and Implement Staff List View Directory
This commit is contained in:
25
apps/web/dataconnect/schema/team.gql
Normal file
25
apps/web/dataconnect/schema/team.gql
Normal file
@@ -0,0 +1,25 @@
|
||||
type Team @table(name: "teams") {
|
||||
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
teamName: String!
|
||||
|
||||
ownerId: UUID! #vendor/business
|
||||
ownerName: String!
|
||||
ownerRole: String!
|
||||
email: String
|
||||
companyLogo: String
|
||||
|
||||
totalMembers: Int
|
||||
activeMembers: Int
|
||||
totalHubs: Int
|
||||
departments: Any
|
||||
|
||||
favoriteStaffCount: Int
|
||||
blockedStaffCount: Int
|
||||
favoriteStaff: Any
|
||||
blockedStaff: Any
|
||||
|
||||
createdAt: Timestamp @default(expr: "request.time")
|
||||
updatedAt: Timestamp @default(expr: "request.time")
|
||||
createdBy: String
|
||||
}
|
||||
Reference in New Issue
Block a user