From cc36a8b51d42b59aa2f468d718b6cd97103cce0d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 13 Jul 2024 17:40:30 -0600 Subject: [PATCH] Add isAdmin --- src/index.tsx | 1 + src/schema.gql | 1 + 2 files changed, 2 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 8d3bdb4..baa8c74 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1092,6 +1092,7 @@ export type UserGql = { createdAt?: Maybe; firebaseUid: Scalars["String"]["output"]; id: Scalars["Int"]["output"]; + isAdmin: Scalars["Boolean"]["output"]; profileImageUri?: Maybe; updatedAt?: Maybe; username: Scalars["String"]["output"]; diff --git a/src/schema.gql b/src/schema.gql index b9479d2..aed271c 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -195,6 +195,7 @@ type UserGQL { id: Int! firebaseUid: String! username: String! + isAdmin: Boolean! activeVideoId: Int profileImageUri: String createdAt: DateTime