diff --git a/src/index.tsx b/src/index.tsx index eda08cb..24c5741 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -326,6 +326,7 @@ export type EditShotReturn = { export type EditUserInputGql = { agreesToMarketing?: InputMaybe; + bio?: InputMaybe; fargoRating?: InputMaybe; username?: InputMaybe; videosPrivateByDefault?: InputMaybe; @@ -3555,6 +3556,7 @@ export type UserGql = { __typename?: "UserGQL"; activeVideoId?: Maybe; agreesToMarketing?: Maybe; + bio?: Maybe; createdAt?: Maybe; fargoRating?: Maybe; firebaseUid?: Maybe; @@ -5894,6 +5896,7 @@ export type EditProfileImageUriMutation = { username: string; isAdmin?: boolean | null; profileImageUri?: string | null; + bio?: string | null; fargoRating?: number | null; activeVideoId?: number | null; createdAt?: any | null; @@ -5914,6 +5917,7 @@ export type GetLoggedInUserQuery = { username: string; isAdmin?: boolean | null; profileImageUri?: string | null; + bio?: string | null; fargoRating?: number | null; activeVideoId?: number | null; createdAt?: any | null; @@ -5936,6 +5940,7 @@ export type GetUserQuery = { username: string; isAdmin?: boolean | null; profileImageUri?: string | null; + bio?: string | null; fargoRating?: number | null; activeVideoId?: number | null; createdAt?: any | null; @@ -6125,6 +6130,7 @@ export type EditUserMutationVariables = Exact<{ fargoRating?: InputMaybe; videosPrivateByDefault?: InputMaybe; agreesToMarketing?: InputMaybe; + bio?: InputMaybe; }>; export type EditUserMutation = { @@ -6138,6 +6144,7 @@ export type EditUserMutation = { updatedAt?: any | null; videosPrivateByDefault?: boolean | null; agreesToMarketing?: boolean | null; + bio?: string | null; }; }; @@ -6155,6 +6162,7 @@ export type UserFragmentFragment = { username: string; isAdmin?: boolean | null; profileImageUri?: string | null; + bio?: string | null; fargoRating?: number | null; activeVideoId?: number | null; createdAt?: any | null; @@ -6178,6 +6186,7 @@ export type GetUsersMatchingQuery = { username: string; isAdmin?: boolean | null; profileImageUri?: string | null; + bio?: string | null; fargoRating?: number | null; activeVideoId?: number | null; createdAt?: any | null; @@ -7357,6 +7366,7 @@ export const UserFragmentFragmentDoc = gql` username isAdmin profileImageUri + bio fargoRating activeVideoId createdAt @@ -13215,6 +13225,7 @@ export const EditUserDocument = gql` $fargoRating: Int $videosPrivateByDefault: Boolean $agreesToMarketing: Boolean + $bio: String ) { editUser( input: { @@ -13222,6 +13233,7 @@ export const EditUserDocument = gql` fargoRating: $fargoRating videosPrivateByDefault: $videosPrivateByDefault agreesToMarketing: $agreesToMarketing + bio: $bio } ) { id @@ -13231,6 +13243,7 @@ export const EditUserDocument = gql` updatedAt videosPrivateByDefault agreesToMarketing + bio } } `; @@ -13256,6 +13269,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 8eae793..96a321c 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 @@ -1363,6 +1364,7 @@ input EditUserInputGQL { fargoRating: Int = null videosPrivateByDefault: Boolean = null agreesToMarketing: Boolean = null + bio: String = null } type SyncAppleSubscriptionResultGQL {