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 = {
|
export type EditUserInputGql = {
|
||||||
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
|
bio?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
username?: InputMaybe<Scalars["String"]["input"]>;
|
username?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
@@ -3556,6 +3557,7 @@ export type UserGql = {
|
|||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
activeVideoId?: Maybe<Scalars["Int"]["output"]>;
|
activeVideoId?: Maybe<Scalars["Int"]["output"]>;
|
||||||
agreesToMarketing?: Maybe<Scalars["Boolean"]["output"]>;
|
agreesToMarketing?: Maybe<Scalars["Boolean"]["output"]>;
|
||||||
|
bio?: Maybe<Scalars["String"]["output"]>;
|
||||||
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
fargoRating?: Maybe<Scalars["Int"]["output"]>;
|
fargoRating?: Maybe<Scalars["Int"]["output"]>;
|
||||||
firebaseUid?: Maybe<Scalars["String"]["output"]>;
|
firebaseUid?: Maybe<Scalars["String"]["output"]>;
|
||||||
@@ -5939,6 +5941,7 @@ export type EditProfileImageUriMutation = {
|
|||||||
username: string;
|
username: string;
|
||||||
isAdmin?: boolean | null;
|
isAdmin?: boolean | null;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
bio?: string | null;
|
||||||
fargoRating?: number | null;
|
fargoRating?: number | null;
|
||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
@@ -5959,6 +5962,7 @@ export type GetLoggedInUserQuery = {
|
|||||||
username: string;
|
username: string;
|
||||||
isAdmin?: boolean | null;
|
isAdmin?: boolean | null;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
bio?: string | null;
|
||||||
fargoRating?: number | null;
|
fargoRating?: number | null;
|
||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
@@ -5981,6 +5985,7 @@ export type GetUserQuery = {
|
|||||||
username: string;
|
username: string;
|
||||||
isAdmin?: boolean | null;
|
isAdmin?: boolean | null;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
bio?: string | null;
|
||||||
fargoRating?: number | null;
|
fargoRating?: number | null;
|
||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
@@ -6170,6 +6175,7 @@ export type EditUserMutationVariables = Exact<{
|
|||||||
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
|
bio?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type EditUserMutation = {
|
export type EditUserMutation = {
|
||||||
@@ -6183,6 +6189,7 @@ export type EditUserMutation = {
|
|||||||
updatedAt?: any | null;
|
updatedAt?: any | null;
|
||||||
videosPrivateByDefault?: boolean | null;
|
videosPrivateByDefault?: boolean | null;
|
||||||
agreesToMarketing?: boolean | null;
|
agreesToMarketing?: boolean | null;
|
||||||
|
bio?: string | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -6200,6 +6207,7 @@ export type UserFragmentFragment = {
|
|||||||
username: string;
|
username: string;
|
||||||
isAdmin?: boolean | null;
|
isAdmin?: boolean | null;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
bio?: string | null;
|
||||||
fargoRating?: number | null;
|
fargoRating?: number | null;
|
||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
@@ -6223,6 +6231,7 @@ export type GetUsersMatchingQuery = {
|
|||||||
username: string;
|
username: string;
|
||||||
isAdmin?: boolean | null;
|
isAdmin?: boolean | null;
|
||||||
profileImageUri?: string | null;
|
profileImageUri?: string | null;
|
||||||
|
bio?: string | null;
|
||||||
fargoRating?: number | null;
|
fargoRating?: number | null;
|
||||||
activeVideoId?: number | null;
|
activeVideoId?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
@@ -7402,6 +7411,7 @@ export const UserFragmentFragmentDoc = gql`
|
|||||||
username
|
username
|
||||||
isAdmin
|
isAdmin
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
bio
|
||||||
fargoRating
|
fargoRating
|
||||||
activeVideoId
|
activeVideoId
|
||||||
createdAt
|
createdAt
|
||||||
@@ -13404,6 +13414,7 @@ export const EditUserDocument = gql`
|
|||||||
$fargoRating: Int
|
$fargoRating: Int
|
||||||
$videosPrivateByDefault: Boolean
|
$videosPrivateByDefault: Boolean
|
||||||
$agreesToMarketing: Boolean
|
$agreesToMarketing: Boolean
|
||||||
|
$bio: String
|
||||||
) {
|
) {
|
||||||
editUser(
|
editUser(
|
||||||
input: {
|
input: {
|
||||||
@@ -13411,6 +13422,7 @@ export const EditUserDocument = gql`
|
|||||||
fargoRating: $fargoRating
|
fargoRating: $fargoRating
|
||||||
videosPrivateByDefault: $videosPrivateByDefault
|
videosPrivateByDefault: $videosPrivateByDefault
|
||||||
agreesToMarketing: $agreesToMarketing
|
agreesToMarketing: $agreesToMarketing
|
||||||
|
bio: $bio
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
id
|
id
|
||||||
@@ -13420,6 +13432,7 @@ export const EditUserDocument = gql`
|
|||||||
updatedAt
|
updatedAt
|
||||||
videosPrivateByDefault
|
videosPrivateByDefault
|
||||||
agreesToMarketing
|
agreesToMarketing
|
||||||
|
bio
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -13445,6 +13458,7 @@ export type EditUserMutationFn = Apollo.MutationFunction<
|
|||||||
* fargoRating: // value for 'fargoRating'
|
* fargoRating: // value for 'fargoRating'
|
||||||
* videosPrivateByDefault: // value for 'videosPrivateByDefault'
|
* videosPrivateByDefault: // value for 'videosPrivateByDefault'
|
||||||
* agreesToMarketing: // value for 'agreesToMarketing'
|
* agreesToMarketing: // value for 'agreesToMarketing'
|
||||||
|
* bio: // value for 'bio'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -177,6 +177,7 @@ mutation editUser(
|
|||||||
$fargoRating: Int
|
$fargoRating: Int
|
||||||
$videosPrivateByDefault: Boolean
|
$videosPrivateByDefault: Boolean
|
||||||
$agreesToMarketing: Boolean
|
$agreesToMarketing: Boolean
|
||||||
|
$bio: String
|
||||||
) {
|
) {
|
||||||
editUser(
|
editUser(
|
||||||
input: {
|
input: {
|
||||||
@@ -184,6 +185,7 @@ mutation editUser(
|
|||||||
fargoRating: $fargoRating
|
fargoRating: $fargoRating
|
||||||
videosPrivateByDefault: $videosPrivateByDefault
|
videosPrivateByDefault: $videosPrivateByDefault
|
||||||
agreesToMarketing: $agreesToMarketing
|
agreesToMarketing: $agreesToMarketing
|
||||||
|
bio: $bio
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
id
|
id
|
||||||
@@ -193,6 +195,7 @@ mutation editUser(
|
|||||||
updatedAt
|
updatedAt
|
||||||
videosPrivateByDefault
|
videosPrivateByDefault
|
||||||
agreesToMarketing
|
agreesToMarketing
|
||||||
|
bio
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -206,6 +209,7 @@ fragment UserFragment on UserGQL {
|
|||||||
username
|
username
|
||||||
isAdmin
|
isAdmin
|
||||||
profileImageUri
|
profileImageUri
|
||||||
|
bio
|
||||||
fargoRating
|
fargoRating
|
||||||
activeVideoId
|
activeVideoId
|
||||||
createdAt
|
createdAt
|
||||||
|
|||||||
@@ -356,6 +356,7 @@ type UserGQL {
|
|||||||
activeVideoId: Int
|
activeVideoId: Int
|
||||||
stripeCustomerId: String
|
stripeCustomerId: String
|
||||||
profileImageUri: String
|
profileImageUri: String
|
||||||
|
bio: String
|
||||||
createdAt: DateTime
|
createdAt: DateTime
|
||||||
updatedAt: DateTime
|
updatedAt: DateTime
|
||||||
videosPrivateByDefault: Boolean
|
videosPrivateByDefault: Boolean
|
||||||
@@ -1364,6 +1365,7 @@ input EditUserInputGQL {
|
|||||||
fargoRating: Int = null
|
fargoRating: Int = null
|
||||||
videosPrivateByDefault: Boolean = null
|
videosPrivateByDefault: Boolean = null
|
||||||
agreesToMarketing: Boolean = null
|
agreesToMarketing: Boolean = null
|
||||||
|
bio: String = null
|
||||||
}
|
}
|
||||||
|
|
||||||
type SyncAppleSubscriptionResultGQL {
|
type SyncAppleSubscriptionResultGQL {
|
||||||
|
|||||||
Reference in New Issue
Block a user