diff --git a/src/index.tsx b/src/index.tsx index 5654e4e..d40e6a4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -327,6 +327,7 @@ export type EditShotReturn = { export type EditUserInputGql = { agreesToMarketing?: InputMaybe; + bio?: InputMaybe; fargoRating?: InputMaybe; username?: InputMaybe; videosPrivateByDefault?: InputMaybe; @@ -3556,6 +3557,7 @@ export type UserGql = { __typename?: "UserGQL"; activeVideoId?: Maybe; agreesToMarketing?: Maybe; + bio?: Maybe; createdAt?: Maybe; fargoRating?: Maybe; firebaseUid?: Maybe; @@ -5939,6 +5941,7 @@ export type EditProfileImageUriMutation = { username: string; isAdmin?: boolean | null; profileImageUri?: string | null; + bio?: string | null; fargoRating?: number | null; activeVideoId?: number | null; createdAt?: any | null; @@ -5959,6 +5962,7 @@ export type GetLoggedInUserQuery = { username: string; isAdmin?: boolean | null; profileImageUri?: string | null; + bio?: string | null; fargoRating?: number | null; activeVideoId?: number | null; createdAt?: any | null; @@ -5981,6 +5985,7 @@ export type GetUserQuery = { username: string; isAdmin?: boolean | null; profileImageUri?: string | null; + bio?: string | null; fargoRating?: number | null; activeVideoId?: number | null; createdAt?: any | null; @@ -6170,6 +6175,7 @@ export type EditUserMutationVariables = Exact<{ fargoRating?: InputMaybe; videosPrivateByDefault?: InputMaybe; agreesToMarketing?: InputMaybe; + bio?: InputMaybe; }>; export type EditUserMutation = { @@ -6183,6 +6189,7 @@ export type EditUserMutation = { updatedAt?: any | null; videosPrivateByDefault?: boolean | null; agreesToMarketing?: boolean | null; + bio?: string | null; }; }; @@ -6200,6 +6207,7 @@ export type UserFragmentFragment = { username: string; isAdmin?: boolean | null; profileImageUri?: string | null; + bio?: string | null; fargoRating?: number | null; activeVideoId?: number | null; createdAt?: any | null; @@ -6223,6 +6231,7 @@ export type GetUsersMatchingQuery = { username: string; isAdmin?: boolean | null; profileImageUri?: string | null; + bio?: string | null; fargoRating?: number | null; activeVideoId?: number | null; createdAt?: any | null; @@ -7402,6 +7411,7 @@ export const UserFragmentFragmentDoc = gql` username isAdmin profileImageUri + bio fargoRating activeVideoId createdAt @@ -13404,6 +13414,7 @@ export const EditUserDocument = gql` $fargoRating: Int $videosPrivateByDefault: Boolean $agreesToMarketing: Boolean + $bio: String ) { editUser( input: { @@ -13411,6 +13422,7 @@ export const EditUserDocument = gql` fargoRating: $fargoRating videosPrivateByDefault: $videosPrivateByDefault agreesToMarketing: $agreesToMarketing + bio: $bio } ) { id @@ -13420,6 +13432,7 @@ export const EditUserDocument = gql` updatedAt videosPrivateByDefault agreesToMarketing + bio } } `; @@ -13445,6 +13458,7 @@ export type EditUserMutationFn = Apollo.MutationFunction< * fargoRating: // value for 'fargoRating' * videosPrivateByDefault: // value for 'videosPrivateByDefault' * agreesToMarketing: // value for 'agreesToMarketing' + * bio: // value for 'bio' * }, * }); */ diff --git a/src/operations/user.gql b/src/operations/user.gql index afe46f5..b1b66ff 100644 --- a/src/operations/user.gql +++ b/src/operations/user.gql @@ -177,6 +177,7 @@ mutation editUser( $fargoRating: Int $videosPrivateByDefault: Boolean $agreesToMarketing: Boolean + $bio: String ) { editUser( input: { @@ -184,6 +185,7 @@ mutation editUser( fargoRating: $fargoRating videosPrivateByDefault: $videosPrivateByDefault agreesToMarketing: $agreesToMarketing + bio: $bio } ) { id @@ -193,6 +195,7 @@ mutation editUser( updatedAt videosPrivateByDefault agreesToMarketing + bio } } @@ -206,6 +209,7 @@ fragment UserFragment on UserGQL { username isAdmin profileImageUri + bio fargoRating activeVideoId createdAt diff --git a/src/schema.gql b/src/schema.gql index c4e4672..7a6d0d0 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -356,6 +356,7 @@ type UserGQL { activeVideoId: Int stripeCustomerId: String profileImageUri: String + bio: String createdAt: DateTime updatedAt: DateTime videosPrivateByDefault: Boolean @@ -1364,6 +1365,7 @@ input EditUserInputGQL { fargoRating: Int = null videosPrivateByDefault: Boolean = null agreesToMarketing: Boolean = null + bio: String = null } type SyncAppleSubscriptionResultGQL {