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"]>;
};
export type FollowingUser = {
__typename?: "FollowingUser";
id: Scalars["Int"]["output"];
username: Scalars["String"]["output"];
};
export type GetProfileUploadLinkErrors = {
__typename?: "GetProfileUploadLinkErrors";
error: TooManyProfileImageUploadsErr;
@ -2533,7 +2527,7 @@ export type UsernamesAndFollowingResponse = {
__typename?: "UsernamesAndFollowingResponse";
followers: Array<Scalars["Int"]["output"]>;
following: Array<Scalars["Int"]["output"]>;
usernamesAndIds: Array<FollowingUser>;
usernamesAndIds: Array<UserGql>;
};
export type VideoFilterInput = {
@ -3154,7 +3148,7 @@ export type GetUsernamesAndFollowingQuery = {
followers: Array<number>;
following: Array<number>;
usernamesAndIds: Array<{
__typename?: "FollowingUser";
__typename?: "UserGQL";
username: string;
id: number;
}>;

View File

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