chaging schemas for front

This commit is contained in:
José Salazar
2025-12-04 17:05:27 -05:00
parent ef88639463
commit cf18fdb16b
9 changed files with 43 additions and 31 deletions

View File

@@ -1,5 +1,11 @@
query listTeam @auth(level: USER) {
teams {
query listTeam (
$orderByCreatedDate: OrderDirection
$limit: Int
) @auth(level: USER) {
teams(
orderBy: { createdDate: $orderByCreatedDate }
limit: $limit
) {
id
teamName
ownerId
@@ -26,7 +32,7 @@ query getTeamById(
query filterTeam(
$teamName: String,
$ownerId: UUID,
$ownerId: String,
$ownerRole: TeamOwnerRole
) @auth(level: USER) {
teams(