User UserGQL in response

This commit is contained in:
Kat Huang 2024-10-25 00:31:29 -06:00
parent 605adc3293
commit c5919c90d0
2 changed files with 3 additions and 14 deletions

View File

@ -1886,12 +1886,6 @@ export type FloatShotOrdering = {
startingAt?: InputMaybe<Scalars["Float"]["input"]>; startingAt?: InputMaybe<Scalars["Float"]["input"]>;
}; };
export type FollowingUser = {
__typename?: "FollowingUser";
id: Scalars["Int"]["output"];
username: Scalars["String"]["output"];
};
export type GetProfileUploadLinkErrors = { export type GetProfileUploadLinkErrors = {
__typename?: "GetProfileUploadLinkErrors"; __typename?: "GetProfileUploadLinkErrors";
error: TooManyProfileImageUploadsErr; error: TooManyProfileImageUploadsErr;
@ -2533,7 +2527,7 @@ export type UsernamesAndFollowingResponse = {
__typename?: "UsernamesAndFollowingResponse"; __typename?: "UsernamesAndFollowingResponse";
followers: Array<Scalars["Int"]["output"]>; followers: Array<Scalars["Int"]["output"]>;
following: Array<Scalars["Int"]["output"]>; following: Array<Scalars["Int"]["output"]>;
usernamesAndIds: Array<FollowingUser>; usernamesAndIds: Array<UserGql>;
}; };
export type VideoFilterInput = { export type VideoFilterInput = {
@ -3154,7 +3148,7 @@ export type GetUsernamesAndFollowingQuery = {
followers: Array<number>; followers: Array<number>;
following: Array<number>; following: Array<number>;
usernamesAndIds: Array<{ usernamesAndIds: Array<{
__typename?: "FollowingUser"; __typename?: "UserGQL";
username: string; username: string;
id: number; id: number;
}>; }>;

View File

@ -555,16 +555,11 @@ input CreatedAfter @oneOf {
} }
type UsernamesAndFollowingResponse { type UsernamesAndFollowingResponse {
usernamesAndIds: [FollowingUser!]! usernamesAndIds: [UserGQL!]!
following: [Int!]! following: [Int!]!
followers: [Int!]! followers: [Int!]!
} }
type FollowingUser {
id: Int!
username: String!
}
type UserPlayTimeGQL { type UserPlayTimeGQL {
totalSeconds: Float! totalSeconds: Float!
} }