Update get usernames ids
All checks were successful
Tests / Tests (pull_request) Successful in 15s

This commit is contained in:
Kat Huang 2024-10-25 00:16:59 -06:00
parent 194d7c66a0
commit b40554d38d
2 changed files with 22 additions and 4 deletions

View File

@ -1886,6 +1886,12 @@ 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;
@ -2527,7 +2533,7 @@ export type UsernamesAndFollowingResponse = {
__typename?: "UsernamesAndFollowingResponse";
followers: Array<Scalars["Int"]["output"]>;
following: Array<Scalars["Int"]["output"]>;
usernames: Array<Scalars["String"]["output"]>;
usernamesAndIds: Array<FollowingUser>;
};
export type VideoFilterInput = {
@ -3147,7 +3153,11 @@ export type GetUsernamesAndFollowingQuery = {
__typename?: "UsernamesAndFollowingResponse";
followers: Array<number>;
following: Array<number>;
usernames: Array<string>;
usernamesAndIds: Array<{
__typename?: "FollowingUser";
username: string;
id: number;
}>;
};
};
@ -5139,7 +5149,10 @@ export const GetUsernamesAndFollowingDocument = gql`
) {
followers
following
usernames
usernamesAndIds {
username
id
}
}
}
`;

View File

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