diff --git a/src/index.tsx b/src/index.tsx index 6219547..481610c 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1133,6 +1133,12 @@ export type GetShotsPagination = { startFrameAfter: Scalars["Int"]["input"]; }; +export type GetShotsResult = { + __typename?: "GetShotsResult"; + count?: Maybe; + shots: Array; +}; + export type GetUploadLinkErrors = { __typename?: "GetUploadLinkErrors"; error: MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErr; @@ -1328,6 +1334,7 @@ export type Query = { getPlayTime: UserPlayTimeGql; getShotAnnotationTypes: Array; getShots: Array; + getShotsWithMetadata: GetShotsResult; getUser?: Maybe; getUserTags: Array; getUserVideos: VideoHistoryGql; @@ -1360,6 +1367,12 @@ export type QueryGetShotsArgs = { shotsPagination?: InputMaybe; }; +export type QueryGetShotsWithMetadataArgs = { + filterInput: FilterInput; + limit?: Scalars["Int"]["input"]; + shotsPagination?: InputMaybe; +}; + export type QueryGetUserArgs = { userId: Scalars["Int"]["input"]; }; diff --git a/src/schema.gql b/src/schema.gql index 0a74bbe..363f244 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -9,6 +9,11 @@ type Query { videoId: ID! intervalDuration: Int! = 300 ): [MakePercentageIntervalGQL!]! + getShotsWithMetadata( + filterInput: FilterInput! + shotsPagination: GetShotsPagination = null + limit: Int! = 500 + ): GetShotsResult! getShots( filterInput: FilterInput! shotsPagination: GetShotsPagination = null @@ -171,6 +176,11 @@ type MakePercentageIntervalGQL { elapsedTime: Float! } +type GetShotsResult { + shots: [ShotGQL!]! + count: Int +} + type ShotGQL { id: Int! videoId: Int!