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