Compare commits

...

1 Commits

Author SHA1 Message Date
a7649351b3 add marketing to schema
All checks were successful
Tests / Tests (pull_request) Successful in 10s
2025-10-10 14:44:45 -07:00
3 changed files with 19 additions and 0 deletions

View File

@@ -237,6 +237,7 @@ export type EditShotReturn = {
}; };
export type EditUserInputGql = { export type EditUserInputGql = {
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["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"]>;
@@ -3112,6 +3113,7 @@ export type UploadStreamGql = {
export type UserGql = { export type UserGql = {
__typename?: "UserGQL"; __typename?: "UserGQL";
activeVideoId?: Maybe<Scalars["Int"]["output"]>; activeVideoId?: Maybe<Scalars["Int"]["output"]>;
agreesToMarketing?: Maybe<Scalars["Boolean"]["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"]>;
@@ -4663,6 +4665,7 @@ export type EditProfileImageUriMutation = {
createdAt?: any | null; createdAt?: any | null;
updatedAt?: any | null; updatedAt?: any | null;
videosPrivateByDefault?: boolean | null; videosPrivateByDefault?: boolean | null;
agreesToMarketing?: boolean | null;
}; };
}; };
@@ -4682,6 +4685,7 @@ export type GetLoggedInUserQuery = {
createdAt?: any | null; createdAt?: any | null;
updatedAt?: any | null; updatedAt?: any | null;
videosPrivateByDefault?: boolean | null; videosPrivateByDefault?: boolean | null;
agreesToMarketing?: boolean | null;
} | null; } | null;
}; };
@@ -4703,6 +4707,7 @@ export type GetUserQuery = {
createdAt?: any | null; createdAt?: any | null;
updatedAt?: any | null; updatedAt?: any | null;
videosPrivateByDefault?: boolean | null; videosPrivateByDefault?: boolean | null;
agreesToMarketing?: boolean | null;
} | null; } | null;
}; };
@@ -4851,6 +4856,7 @@ export type EditUserMutationVariables = Exact<{
username?: InputMaybe<Scalars["String"]["input"]>; username?: InputMaybe<Scalars["String"]["input"]>;
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"]>;
}>; }>;
export type EditUserMutation = { export type EditUserMutation = {
@@ -4863,6 +4869,7 @@ export type EditUserMutation = {
fargoRating?: number | null; fargoRating?: number | null;
updatedAt?: any | null; updatedAt?: any | null;
videosPrivateByDefault?: boolean | null; videosPrivateByDefault?: boolean | null;
agreesToMarketing?: boolean | null;
}; };
}; };
@@ -4885,6 +4892,7 @@ export type UserFragmentFragment = {
createdAt?: any | null; createdAt?: any | null;
updatedAt?: any | null; updatedAt?: any | null;
videosPrivateByDefault?: boolean | null; videosPrivateByDefault?: boolean | null;
agreesToMarketing?: boolean | null;
}; };
export type GetStreamMonitoringDetailsQueryVariables = Exact<{ export type GetStreamMonitoringDetailsQueryVariables = Exact<{
@@ -5847,6 +5855,7 @@ export const UserFragmentFragmentDoc = gql`
createdAt createdAt
updatedAt updatedAt
videosPrivateByDefault videosPrivateByDefault
agreesToMarketing
} }
`; `;
export const VideoStreamMetadataFragmentDoc = gql` export const VideoStreamMetadataFragmentDoc = gql`
@@ -9259,12 +9268,14 @@ export const EditUserDocument = gql`
$username: String $username: String
$fargoRating: Int $fargoRating: Int
$videosPrivateByDefault: Boolean $videosPrivateByDefault: Boolean
$agreesToMarketing: Boolean
) { ) {
editUser( editUser(
input: { input: {
username: $username username: $username
fargoRating: $fargoRating fargoRating: $fargoRating
videosPrivateByDefault: $videosPrivateByDefault videosPrivateByDefault: $videosPrivateByDefault
agreesToMarketing: $agreesToMarketing
} }
) { ) {
id id
@@ -9273,6 +9284,7 @@ export const EditUserDocument = gql`
fargoRating fargoRating
updatedAt updatedAt
videosPrivateByDefault videosPrivateByDefault
agreesToMarketing
} }
} }
`; `;
@@ -9297,6 +9309,7 @@ export type EditUserMutationFn = Apollo.MutationFunction<
* username: // value for 'username' * username: // value for 'username'
* fargoRating: // value for 'fargoRating' * fargoRating: // value for 'fargoRating'
* videosPrivateByDefault: // value for 'videosPrivateByDefault' * videosPrivateByDefault: // value for 'videosPrivateByDefault'
* agreesToMarketing: // value for 'agreesToMarketing'
* }, * },
* }); * });
*/ */

View File

@@ -140,12 +140,14 @@ mutation editUser(
$username: String $username: String
$fargoRating: Int $fargoRating: Int
$videosPrivateByDefault: Boolean $videosPrivateByDefault: Boolean
$agreesToMarketing: Boolean
) { ) {
editUser( editUser(
input: { input: {
username: $username username: $username
fargoRating: $fargoRating fargoRating: $fargoRating
videosPrivateByDefault: $videosPrivateByDefault videosPrivateByDefault: $videosPrivateByDefault
agreesToMarketing: $agreesToMarketing
} }
) { ) {
id id
@@ -154,6 +156,7 @@ mutation editUser(
fargoRating fargoRating
updatedAt updatedAt
videosPrivateByDefault videosPrivateByDefault
agreesToMarketing
} }
} }
@@ -172,4 +175,5 @@ fragment UserFragment on UserGQL {
createdAt createdAt
updatedAt updatedAt
videosPrivateByDefault videosPrivateByDefault
agreesToMarketing
} }

View File

@@ -364,6 +364,7 @@ type UserGQL {
createdAt: DateTime createdAt: DateTime
updatedAt: DateTime updatedAt: DateTime
videosPrivateByDefault: Boolean videosPrivateByDefault: Boolean
agreesToMarketing: Boolean
following: [UserGQL!] following: [UserGQL!]
followers: [UserGQL!] followers: [UserGQL!]
} }
@@ -1055,6 +1056,7 @@ input EditUserInputGQL {
username: String = null username: String = null
fargoRating: Int = null fargoRating: Int = null
videosPrivateByDefault: Boolean = null videosPrivateByDefault: Boolean = null
agreesToMarketing: Boolean = null
} }
type CreateSubscriptionResultGQL { type CreateSubscriptionResultGQL {