Compare commits

..

2 Commits

Author SHA1 Message Date
b21a425065 Generate gql changes
All checks were successful
Tests / Tests (pull_request) Successful in 9s
2024-10-24 13:48:50 -06:00
b736a95124 Fix cache merge
Some checks failed
Tests / Tests (pull_request) Failing after 11s
2024-10-24 21:29:00 +02:00
3 changed files with 13 additions and 24 deletions

View File

@@ -2170,7 +2170,6 @@ export type Query = {
getUserVideos: VideoHistoryGql;
getUsernames: Array<Scalars["String"]["output"]>;
getUsernamesAndFollowing: UsernamesAndFollowingResponse;
getUsernamesAndFollowingOld: UsernamesAndFollowingResponse;
getVideo: VideoGql;
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
getVideos: Array<VideoGql>;
@@ -2247,13 +2246,6 @@ export type QueryGetUsernamesAndFollowingArgs = {
userId: Scalars["Int"]["input"];
};
export type QueryGetUsernamesAndFollowingOldArgs = {
after?: InputMaybe<Scalars["String"]["input"]>;
limit?: InputMaybe<Scalars["Int"]["input"]>;
matchString?: InputMaybe<Scalars["String"]["input"]>;
userId: Scalars["Int"]["input"];
};
export type QueryGetVideoArgs = {
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
videoId: Scalars["Int"]["input"];
@@ -2516,11 +2508,11 @@ export type UserGql = {
activeVideoId?: Maybe<Scalars["Int"]["output"]>;
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
fargoRating?: Maybe<Scalars["Int"]["output"]>;
firebaseUid?: Maybe<Scalars["String"]["output"]>;
firebaseUid: Scalars["String"]["output"];
followers?: Maybe<Array<Scalars["Int"]["output"]>>;
following?: Maybe<Array<Scalars["Int"]["output"]>>;
id: Scalars["Int"]["output"];
isAdmin?: Maybe<Scalars["Boolean"]["output"]>;
isAdmin: Scalars["Boolean"]["output"];
profileImageUri?: Maybe<Scalars["String"]["output"]>;
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
username: Scalars["String"]["output"];
@@ -2535,7 +2527,7 @@ export type UsernamesAndFollowingResponse = {
__typename?: "UsernamesAndFollowingResponse";
followers: Array<Scalars["Int"]["output"]>;
following: Array<Scalars["Int"]["output"]>;
users: Array<UserGql>;
usernames: Array<Scalars["String"]["output"]>;
};
export type VideoFilterInput = {
@@ -3097,7 +3089,7 @@ export type EditProfileImageUriMutation = {
editProfileImageUri: {
__typename?: "UserGQL";
id: number;
firebaseUid?: string | null;
firebaseUid: string;
username: string;
profileImageUri?: string | null;
createdAt?: any | null;
@@ -3112,9 +3104,9 @@ export type GetLoggedInUserQuery = {
getLoggedInUser?: {
__typename?: "UserGQL";
id: number;
firebaseUid?: string | null;
firebaseUid: string;
username: string;
isAdmin?: boolean | null;
isAdmin: boolean;
profileImageUri?: string | null;
activeVideoId?: number | null;
createdAt?: any | null;
@@ -3155,6 +3147,7 @@ export type GetUsernamesAndFollowingQuery = {
__typename?: "UsernamesAndFollowingResponse";
followers: Array<number>;
following: Array<number>;
usernames: Array<string>;
};
};
@@ -3283,7 +3276,7 @@ export type GetVideoDetailsQuery = {
owner?: {
__typename?: "UserGQL";
id: number;
firebaseUid?: string | null;
firebaseUid: string;
username: string;
profileImageUri?: string | null;
} | null;
@@ -5146,6 +5139,7 @@ export const GetUsernamesAndFollowingDocument = gql`
) {
followers
following
usernames
}
}
`;

View File

@@ -71,6 +71,7 @@ query getUsernamesAndFollowing(
) {
followers
following
usernames
}
}

View File

@@ -41,12 +41,6 @@ type Query {
limit: Int = 100
after: String = null
): UsernamesAndFollowingResponse!
getUsernamesAndFollowingOld(
userId: Int!
matchString: String = null
limit: Int = 100
after: String = null
): UsernamesAndFollowingResponse!
getPlayTime(userId: Int!): UserPlayTimeGQL!
getUserVideos(
userId: Int = null
@@ -347,9 +341,9 @@ type SerializedShotPathsGQL {
type UserGQL {
id: Int!
firebaseUid: String
firebaseUid: String!
username: String!
isAdmin: Boolean
isAdmin: Boolean!
fargoRating: Int
activeVideoId: Int
profileImageUri: String
@@ -561,7 +555,7 @@ input CreatedAfter @oneOf {
}
type UsernamesAndFollowingResponse {
users: [UserGQL!]!
usernames: [String!]!
following: [Int!]!
followers: [Int!]!
}