diff --git a/src/index.tsx b/src/index.tsx index baa8c74..4d80ae5 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1360,6 +1360,7 @@ export type GetLoggedInUserQuery = { id: number; firebaseUid: string; username: string; + isAdmin: boolean; profileImageUri?: string | null; activeVideoId?: number | null; createdAt?: any | null; @@ -2243,6 +2244,7 @@ export const GetLoggedInUserDocument = gql` id firebaseUid username + isAdmin profileImageUri activeVideoId createdAt diff --git a/src/operations/user.gql b/src/operations/user.gql index 3cf6306..b63b767 100644 --- a/src/operations/user.gql +++ b/src/operations/user.gql @@ -24,6 +24,7 @@ query getLoggedInUser { id firebaseUid username + isAdmin profileImageUri activeVideoId createdAt