Add username

This commit is contained in:
Ivan Malison 2024-02-24 12:59:27 -07:00 committed by Dean
parent 76ed63395c
commit 3bce7ea344
3 changed files with 9 additions and 0 deletions

View File

@ -352,6 +352,7 @@ export type VideoGql = {
makePercentage: Scalars["Float"]["output"];
medianRun?: Maybe<Scalars["Float"]["output"]>;
name?: Maybe<Scalars["String"]["output"]>;
owner?: Maybe<UserGql>;
shots: Array<ShotGql>;
startTime?: Maybe<Scalars["DateTime"]["output"]>;
stream?: Maybe<UploadStreamGql>;
@ -415,6 +416,7 @@ export type GetFeedQuery = {
startTime?: any | null;
endTime?: any | null;
elapsedTime?: number | null;
owner?: { __typename?: "UserGQL"; username: string } | null;
shots: Array<{
__typename?: "ShotGQL";
id?: number | null;
@ -612,6 +614,9 @@ export const GetFeedDocument = gql`
getVideoFeedForUser(limit: $limit, after: $after) {
videos {
id
owner {
username
}
name
totalShotsMade
totalShots

View File

@ -2,6 +2,9 @@ query GetFeed($limit: Int! = 5, $after: String = null) {
getVideoFeedForUser(limit: $limit, after: $after) {
videos {
id
owner {
username
}
name
totalShotsMade
totalShots

View File

@ -70,6 +70,7 @@ scalar Decimal
type VideoGQL {
id: Int!
owner: UserGQL
name: String
totalShotsMade: Int!
totalShots: Int!