Support make percentage time series
This commit is contained in:
parent
314957218e
commit
f64fc0e54a
@ -142,6 +142,14 @@ export type IntendedPocketTypeInput = {
|
||||
value: EnumFilter;
|
||||
};
|
||||
|
||||
export type MakePercentageIntervalGql = {
|
||||
__typename?: "MakePercentageIntervalGQL";
|
||||
endFrame: Scalars["Float"]["output"];
|
||||
framesPerSecond: Scalars["Float"]["output"];
|
||||
makePercentage: Scalars["Float"]["output"];
|
||||
startFrame: Scalars["Float"]["output"];
|
||||
};
|
||||
|
||||
export type Mutation = {
|
||||
__typename?: "Mutation";
|
||||
createBucketSet: BucketSetGql;
|
||||
@ -199,6 +207,7 @@ export type Query = {
|
||||
getUser?: Maybe<UserGql>;
|
||||
getVideo: VideoGql;
|
||||
getVideoFeedForUser: VideoFeedGql;
|
||||
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
||||
};
|
||||
|
||||
export type QueryGetAggregateShotsArgs = {
|
||||
@ -226,6 +235,10 @@ export type QueryGetVideoFeedForUserArgs = {
|
||||
limit?: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type QueryGetVideoMakePercentageIntervalsArgs = {
|
||||
videoId: Scalars["ID"]["input"];
|
||||
};
|
||||
|
||||
export type RangeFilter = {
|
||||
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
|
10
src/operations/make_percentage_time_series.gql
Normal file
10
src/operations/make_percentage_time_series.gql
Normal file
@ -0,0 +1,10 @@
|
||||
query GetVideoMakePercentageIntervals($videoId: ID!) {
|
||||
getVideoMakePercentageIntervals(videoId: $videoId) {
|
||||
makePercentageIntervals {
|
||||
startFrame
|
||||
endFrame
|
||||
framesPerSecond
|
||||
makePercentage
|
||||
}
|
||||
}
|
||||
}
|
@ -6,6 +6,7 @@ type Query {
|
||||
getShots(filterInput: FilterInput = null): [ShotGQL!]!
|
||||
getBucketSet(keyName: String!): BucketSetGQL
|
||||
getVideoFeedForUser(limit: Int! = 5, after: String = null): VideoFeedGQL!
|
||||
getVideoMakePercentageIntervals(videoId: ID!): [MakePercentageIntervalGQL!]!
|
||||
}
|
||||
|
||||
type AggregateResultGQL {
|
||||
@ -221,6 +222,13 @@ type PageInfoGQL {
|
||||
endCursor: String
|
||||
}
|
||||
|
||||
type MakePercentageIntervalGQL {
|
||||
startFrame: Float!
|
||||
endFrame: Float!
|
||||
framesPerSecond: Float!
|
||||
makePercentage: Float!
|
||||
}
|
||||
|
||||
type Mutation {
|
||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||
createUploadStream(
|
||||
|
Loading…
Reference in New Issue
Block a user