Add bio field to user (UserFragment + editUser)
Expose the new UserGQL.bio field in UserFragment and let the editUser mutation set it; regenerated codegen. Based on current master (Apple IAP).
This commit is contained in:
@@ -327,6 +327,7 @@ export type EditShotReturn = {
|
||||
|
||||
export type EditUserInputGql = {
|
||||
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
bio?: InputMaybe<Scalars["String"]["input"]>;
|
||||
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
username?: InputMaybe<Scalars["String"]["input"]>;
|
||||
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
@@ -3556,6 +3557,7 @@ export type UserGql = {
|
||||
__typename?: "UserGQL";
|
||||
activeVideoId?: Maybe<Scalars["Int"]["output"]>;
|
||||
agreesToMarketing?: Maybe<Scalars["Boolean"]["output"]>;
|
||||
bio?: Maybe<Scalars["String"]["output"]>;
|
||||
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
fargoRating?: Maybe<Scalars["Int"]["output"]>;
|
||||
firebaseUid?: Maybe<Scalars["String"]["output"]>;
|
||||
@@ -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<Scalars["Int"]["input"]>;
|
||||
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
bio?: InputMaybe<Scalars["String"]["input"]>;
|
||||
}>;
|
||||
|
||||
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'
|
||||
* },
|
||||
* });
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user