Add get ordered shots
This commit is contained in:
@@ -157,6 +157,11 @@ export type DatetimeRangeAggregationInput = {
|
||||
startDatetime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||
};
|
||||
|
||||
export type DatetimeShotOrdering = {
|
||||
descending?: Scalars["Boolean"]["input"];
|
||||
startingAt?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||
};
|
||||
|
||||
export type DeployedConfigGql = {
|
||||
__typename?: "DeployedConfigGQL";
|
||||
allowNewUsers: Scalars["Boolean"]["output"];
|
||||
@@ -1716,6 +1721,11 @@ export type FloatRangeFilter = {
|
||||
lessThanInclusive?: Scalars["Boolean"]["input"];
|
||||
};
|
||||
|
||||
export type FloatShotOrdering = {
|
||||
descending?: Scalars["Boolean"]["input"];
|
||||
startingAt?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
};
|
||||
|
||||
export type GetProfileUploadLinkErrors = {
|
||||
__typename?: "GetProfileUploadLinkErrors";
|
||||
error: TooManyProfileImageUploadsErr;
|
||||
@@ -1726,6 +1736,10 @@ export type GetProfileUploadLinkReturn = {
|
||||
value: UploadLinkGetProfileUploadLinkErrors;
|
||||
};
|
||||
|
||||
export type GetShotsOrdering = {
|
||||
orderings: Array<ShotsOrderingComponent>;
|
||||
};
|
||||
|
||||
export type GetShotsPagination = {
|
||||
createdAfter: CreatedAfter;
|
||||
startFrameAfter: Scalars["Int"]["input"];
|
||||
@@ -1789,6 +1803,11 @@ export type IntPoint2D = {
|
||||
y: Scalars["Int"]["output"];
|
||||
};
|
||||
|
||||
export type IntShotOrdering = {
|
||||
descending?: Scalars["Boolean"]["input"];
|
||||
startingAt?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
};
|
||||
|
||||
export type MakePercentageIntervalGql = {
|
||||
__typename?: "MakePercentageIntervalGQL";
|
||||
elapsedTime: Scalars["Float"]["output"];
|
||||
@@ -1969,6 +1988,7 @@ export type Query = {
|
||||
getBucketSet?: Maybe<BucketSetGql>;
|
||||
getDeployedConfig: DeployedConfigGql;
|
||||
getLoggedInUser?: Maybe<UserGql>;
|
||||
getOrderedShots: GetShotsResult;
|
||||
getPlayTime: UserPlayTimeGql;
|
||||
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||
getShots: Array<ShotGql>;
|
||||
@@ -1992,6 +2012,13 @@ export type QueryGetBucketSetArgs = {
|
||||
keyName: Scalars["String"]["input"];
|
||||
};
|
||||
|
||||
export type QueryGetOrderedShotsArgs = {
|
||||
filterInput: FilterInput;
|
||||
ids?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
||||
limit?: Scalars["Int"]["input"];
|
||||
shotsOrdering?: InputMaybe<GetShotsOrdering>;
|
||||
};
|
||||
|
||||
export type QueryGetPlayTimeArgs = {
|
||||
userId: Scalars["Int"]["input"];
|
||||
};
|
||||
@@ -2129,6 +2156,32 @@ export type ShotGql = {
|
||||
videoId: Scalars["Int"]["output"];
|
||||
};
|
||||
|
||||
export type ShotsOrderingComponent =
|
||||
| {
|
||||
marginOfError: FloatShotOrdering;
|
||||
startFrame?: never;
|
||||
videoCreation?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
marginOfError?: never;
|
||||
startFrame: IntShotOrdering;
|
||||
videoCreation?: never;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
marginOfError?: never;
|
||||
startFrame?: never;
|
||||
videoCreation: DatetimeShotOrdering;
|
||||
videoId?: never;
|
||||
}
|
||||
| {
|
||||
marginOfError?: never;
|
||||
startFrame?: never;
|
||||
videoCreation?: never;
|
||||
videoId: IntShotOrdering;
|
||||
};
|
||||
|
||||
export type SpinTypeCountsGql = {
|
||||
__typename?: "SpinTypeCountsGQL";
|
||||
center: Scalars["Int"]["output"];
|
||||
|
||||
Reference in New Issue
Block a user