Files
Krow-workspace/backend/dataconnect/schema/team.gql
2026-01-19 19:18:11 -05:00

26 lines
520 B
GraphQL

type Team @table(name: "teams") {
id: UUID! @default(expr: "uuidV4()")
teamName: String!
ownerId: String! #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
}