Update get usernames ids #90

Merged
kkathuang merged 1 commits from kat/update-get-username-ids into master 2024-10-25 00:18:20 -06:00
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!
}