feat: Integrate Data Connect and Implement Staff List View Directory

This commit is contained in:
dhinesh-m24
2026-01-31 16:54:59 +05:30
parent 48bb1c457c
commit cb25b33d04
255 changed files with 21425 additions and 109 deletions

View File

@@ -0,0 +1,68 @@
query listTeams @auth(level: USER) {
teams {
id
teamName
ownerId
ownerName
ownerRole
email
companyLogo
totalMembers
activeMembers
totalHubs
departments
favoriteStaffCount
blockedStaffCount
favoriteStaff
blockedStaff
createdAt
updatedAt
createdBy
}
}
query getTeamById($id: UUID!) @auth(level: USER) {
team(id: $id) {
id
teamName
ownerId
ownerName
ownerRole
email
companyLogo
totalMembers
activeMembers
totalHubs
departments
favoriteStaffCount
blockedStaffCount
favoriteStaff
blockedStaff
createdAt
updatedAt
createdBy
}
}
query getTeamsByOwnerId($ownerId: UUID!) @auth(level: USER) {
teams(where: { ownerId: { eq: $ownerId } }) {
id
teamName
ownerId
ownerName
ownerRole
email
companyLogo
totalMembers
activeMembers
totalHubs
departments
favoriteStaffCount
blockedStaffCount
favoriteStaff
blockedStaff
createdAt
updatedAt
createdBy
}
}