chaging schemas for front
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
mutation CreateTeam(
|
||||
$teamName: String!,
|
||||
$ownerId: UUID!,
|
||||
$ownerId: String!,
|
||||
$ownerName: String!,
|
||||
$ownerRole: TeamOwnerRole!,
|
||||
$favoriteStaff: String,
|
||||
@@ -21,7 +21,7 @@ mutation CreateTeam(
|
||||
mutation UpdateTeam(
|
||||
$id: UUID!,
|
||||
$teamName: String,
|
||||
$ownerId: UUID,
|
||||
$ownerId: String,
|
||||
$ownerName: String,
|
||||
$ownerRole: TeamOwnerRole,
|
||||
$favoriteStaff: String,
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user