Add get shots result
This commit is contained in:
parent
b94a568ef1
commit
267486774c
@ -1133,6 +1133,12 @@ export type GetShotsPagination = {
|
||||
startFrameAfter: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type GetShotsResult = {
|
||||
__typename?: "GetShotsResult";
|
||||
count?: Maybe<Scalars["Int"]["output"]>;
|
||||
shots: Array<ShotGql>;
|
||||
};
|
||||
|
||||
export type GetUploadLinkErrors = {
|
||||
__typename?: "GetUploadLinkErrors";
|
||||
error: MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErrInitUploadAlreadyCompletedErrTooManyInitUploadsErr;
|
||||
@ -1335,6 +1341,7 @@ export type Query = {
|
||||
getPlayTime: UserPlayTimeGql;
|
||||
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||
getShots: Array<ShotGql>;
|
||||
getShotsWithMetadata: GetShotsResult;
|
||||
getUser?: Maybe<UserGql>;
|
||||
getUserTags: Array<TagGql>;
|
||||
getUserVideos: VideoHistoryGql;
|
||||
@ -1367,6 +1374,12 @@ export type QueryGetShotsArgs = {
|
||||
shotsPagination?: InputMaybe<GetShotsPagination>;
|
||||
};
|
||||
|
||||
export type QueryGetShotsWithMetadataArgs = {
|
||||
filterInput: FilterInput;
|
||||
limit?: Scalars["Int"]["input"];
|
||||
shotsPagination?: InputMaybe<GetShotsPagination>;
|
||||
};
|
||||
|
||||
export type QueryGetUserArgs = {
|
||||
userId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user