feat: Integrate Data Connect and Implement Staff List View Directory
This commit is contained in:
19
apps/web/dataconnect/schema/teamHub.gql
Normal file
19
apps/web/dataconnect/schema/teamHub.gql
Normal file
@@ -0,0 +1,19 @@
|
||||
type TeamHub @table(name: "team_hubs") {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
|
||||
teamId: UUID!
|
||||
team: Team! @ref(fields: "teamId", references: "id")
|
||||
|
||||
hubName: String!
|
||||
address: String!
|
||||
city: String
|
||||
state: String
|
||||
zipCode: String
|
||||
managerName: String
|
||||
isActive: Boolean! @default(expr: "true")
|
||||
departments: Any
|
||||
|
||||
createdAt: Timestamp @default(expr: "request.time")
|
||||
updatedAt: Timestamp @default(expr: "request.time")
|
||||
createdBy: String
|
||||
}
|
||||
Reference in New Issue
Block a user