refactor: updated dashboard gql queries and components to use the new infra type of the updated schema (#3455)
This commit is contained in:
committed by
GitHub
parent
a215860782
commit
9dcbc4a126
@@ -1,5 +1,5 @@
|
||||
query InvitedUsers {
|
||||
admin {
|
||||
infra {
|
||||
invitedUsers {
|
||||
adminUid
|
||||
adminEmail
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
query Metrics {
|
||||
admin {
|
||||
infra {
|
||||
usersCount
|
||||
teamsCount
|
||||
teamRequestsCount
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
query TeamInfo($teamID: ID!) {
|
||||
admin {
|
||||
infra {
|
||||
teamInfo(teamID: $teamID) {
|
||||
id
|
||||
name
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
query TeamList($cursor: ID, $take: Int) {
|
||||
admin {
|
||||
infra {
|
||||
allTeams(cursor: $cursor, take: $take) {
|
||||
id
|
||||
name
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
query UserInfo($uid: ID!) {
|
||||
admin {
|
||||
infra {
|
||||
userInfo(userUid: $uid) {
|
||||
uid
|
||||
displayName
|
||||
@@ -1,6 +1,6 @@
|
||||
# Write your query or mutation here
|
||||
query UsersList($cursor: ID, $take: Int) {
|
||||
admin {
|
||||
infra {
|
||||
allUsers(cursor: $cursor, take: $take) {
|
||||
uid
|
||||
displayName
|
||||
|
||||
Reference in New Issue
Block a user