1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
query UserInfoAndTeamNames($userId: uuid!) { user_by_pk(id: $userId) { id userSubscription { id subscriptionPlan } } team(where: { ownerUserId: { _eq: $userId } }) { id name } }