diff --git a/src/index.tsx b/src/index.tsx index 368fc29..e077664 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2508,11 +2508,11 @@ export type UserGql = { activeVideoId?: Maybe; createdAt?: Maybe; fargoRating?: Maybe; - firebaseUid: Scalars["String"]["output"]; + firebaseUid?: Maybe; followers?: Maybe>; following?: Maybe>; id: Scalars["Int"]["output"]; - isAdmin: Scalars["Boolean"]["output"]; + isAdmin?: Maybe; profileImageUri?: Maybe; updatedAt?: Maybe; username: Scalars["String"]["output"]; @@ -2527,7 +2527,7 @@ export type UsernamesAndFollowingResponse = { __typename?: "UsernamesAndFollowingResponse"; followers: Array; following: Array; - usernamesAndIds: Array; + users: Array; }; export type VideoFilterInput = { @@ -3089,7 +3089,7 @@ export type EditProfileImageUriMutation = { editProfileImageUri: { __typename?: "UserGQL"; id: number; - firebaseUid: string; + firebaseUid?: string | null; username: string; profileImageUri?: string | null; createdAt?: any | null; @@ -3104,9 +3104,9 @@ export type GetLoggedInUserQuery = { getLoggedInUser?: { __typename?: "UserGQL"; id: number; - firebaseUid: string; + firebaseUid?: string | null; username: string; - isAdmin: boolean; + isAdmin?: boolean | null; profileImageUri?: string | null; activeVideoId?: number | null; createdAt?: any | null; @@ -3275,7 +3275,7 @@ export type GetVideoDetailsQuery = { owner?: { __typename?: "UserGQL"; id: number; - firebaseUid: string; + firebaseUid?: string | null; username: string; profileImageUri?: string | null; } | null; diff --git a/src/schema.gql b/src/schema.gql index a984b5f..23e9820 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -341,9 +341,9 @@ type SerializedShotPathsGQL { type UserGQL { id: Int! - firebaseUid: String! + firebaseUid: String username: String! - isAdmin: Boolean! + isAdmin: Boolean fargoRating: Int activeVideoId: Int profileImageUri: String @@ -555,7 +555,7 @@ input CreatedAfter @oneOf { } type UsernamesAndFollowingResponse { - usernamesAndIds: [UserGQL!]! + users: [UserGQL!]! following: [Int!]! followers: [Int!]! }