Compare commits
1 Commits
5e0d01ea5b
...
a94fdd820d
Author | SHA1 | Date | |
---|---|---|---|
a94fdd820d |
@ -102,10 +102,6 @@ export type CreateUploadStreamReturn = {
|
|||||||
videoId: Scalars["Int"]["output"];
|
videoId: Scalars["Int"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CreatedAfter =
|
|
||||||
| { createdAt: Scalars["DateTime"]["input"]; videoId?: never }
|
|
||||||
| { createdAt?: never; videoId: Scalars["Int"]["input"] };
|
|
||||||
|
|
||||||
export type CueObjectFeaturesGql = {
|
export type CueObjectFeaturesGql = {
|
||||||
__typename?: "CueObjectFeaturesGQL";
|
__typename?: "CueObjectFeaturesGQL";
|
||||||
cueBallSpeed?: Maybe<Scalars["Float"]["output"]>;
|
cueBallSpeed?: Maybe<Scalars["Float"]["output"]>;
|
||||||
@ -1033,11 +1029,6 @@ export type FilterInput =
|
|||||||
videoId: Array<Scalars["Int"]["input"]>;
|
videoId: Array<Scalars["Int"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type GetShotsPagination = {
|
|
||||||
createdAfter: CreatedAfter;
|
|
||||||
startFrameAfter: Scalars["Int"]["input"];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type GetUploadLinkReturn = {
|
export type GetUploadLinkReturn = {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetUploadLinkReturn";
|
||||||
headers: Array<Maybe<Header>>;
|
headers: Array<Maybe<Header>>;
|
||||||
@ -1194,7 +1185,6 @@ export type Query = {
|
|||||||
getVideo: VideoGql;
|
getVideo: VideoGql;
|
||||||
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
||||||
getVideos: Array<VideoGql>;
|
getVideos: Array<VideoGql>;
|
||||||
waitFor: Scalars["Float"]["output"];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export type QueryGetAggregatedShotMetricsArgs = {
|
export type QueryGetAggregatedShotMetricsArgs = {
|
||||||
@ -1211,8 +1201,6 @@ export type QueryGetPlayTimeArgs = {
|
|||||||
|
|
||||||
export type QueryGetShotsArgs = {
|
export type QueryGetShotsArgs = {
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
limit?: Scalars["Int"]["input"];
|
|
||||||
shotsPagination?: InputMaybe<GetShotsPagination>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export type QueryGetUserArgs = {
|
export type QueryGetUserArgs = {
|
||||||
@ -1245,10 +1233,6 @@ export type QueryGetVideosArgs = {
|
|||||||
videoIds: Array<Scalars["Int"]["input"]>;
|
videoIds: Array<Scalars["Int"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type QueryWaitForArgs = {
|
|
||||||
duration: Scalars["Float"]["input"];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type RangeFilter = {
|
export type RangeFilter = {
|
||||||
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
|
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
includeOnNone?: Scalars["Boolean"]["input"];
|
includeOnNone?: Scalars["Boolean"]["input"];
|
||||||
@ -1300,7 +1284,6 @@ export type ShotGql = {
|
|||||||
startFrame: Scalars["Int"]["output"];
|
startFrame: Scalars["Int"]["output"];
|
||||||
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
user?: Maybe<UserGql>;
|
user?: Maybe<UserGql>;
|
||||||
video?: Maybe<VideoGql>;
|
|
||||||
videoId: Scalars["Int"]["output"];
|
videoId: Scalars["Int"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1574,8 +1557,6 @@ export type GetVideoMakePercentageIntervalsQuery = {
|
|||||||
|
|
||||||
export type GetShotsQueryVariables = Exact<{
|
export type GetShotsQueryVariables = Exact<{
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
shotsPagination: GetShotsPagination;
|
|
||||||
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
||||||
includeCreatedAt?: Scalars["Boolean"]["input"];
|
includeCreatedAt?: Scalars["Boolean"]["input"];
|
||||||
includeUpdatedAt?: Scalars["Boolean"]["input"];
|
includeUpdatedAt?: Scalars["Boolean"]["input"];
|
||||||
includeCueObjectFeatures?: Scalars["Boolean"]["input"];
|
includeCueObjectFeatures?: Scalars["Boolean"]["input"];
|
||||||
@ -1870,7 +1851,6 @@ export type GetVideoQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
homographyHistory: Array<{
|
homographyHistory: Array<{
|
||||||
__typename?: "HomographyInfoGQL";
|
__typename?: "HomographyInfoGQL";
|
||||||
frameIndex: number;
|
|
||||||
crop: {
|
crop: {
|
||||||
__typename?: "BoundingBoxGQL";
|
__typename?: "BoundingBoxGQL";
|
||||||
left: number;
|
left: number;
|
||||||
@ -2436,8 +2416,6 @@ export type GetVideoMakePercentageIntervalsQueryResult = Apollo.QueryResult<
|
|||||||
export const GetShotsDocument = gql`
|
export const GetShotsDocument = gql`
|
||||||
query GetShots(
|
query GetShots(
|
||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
$shotsPagination: GetShotsPagination!
|
|
||||||
$limit: Int
|
|
||||||
$includeCreatedAt: Boolean! = false
|
$includeCreatedAt: Boolean! = false
|
||||||
$includeUpdatedAt: Boolean! = false
|
$includeUpdatedAt: Boolean! = false
|
||||||
$includeCueObjectFeatures: Boolean! = false
|
$includeCueObjectFeatures: Boolean! = false
|
||||||
@ -2450,11 +2428,7 @@ export const GetShotsDocument = gql`
|
|||||||
$includeMake: Boolean! = false
|
$includeMake: Boolean! = false
|
||||||
$includeIntendedPocketType: Boolean! = false
|
$includeIntendedPocketType: Boolean! = false
|
||||||
) {
|
) {
|
||||||
getShots(
|
getShots(filterInput: $filterInput) {
|
||||||
filterInput: $filterInput
|
|
||||||
shotsPagination: $shotsPagination
|
|
||||||
limit: $limit
|
|
||||||
) {
|
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
startFrame
|
startFrame
|
||||||
@ -2494,8 +2468,6 @@ export const GetShotsDocument = gql`
|
|||||||
* const { data, loading, error } = useGetShotsQuery({
|
* const { data, loading, error } = useGetShotsQuery({
|
||||||
* variables: {
|
* variables: {
|
||||||
* filterInput: // value for 'filterInput'
|
* filterInput: // value for 'filterInput'
|
||||||
* shotsPagination: // value for 'shotsPagination'
|
|
||||||
* limit: // value for 'limit'
|
|
||||||
* includeCreatedAt: // value for 'includeCreatedAt'
|
* includeCreatedAt: // value for 'includeCreatedAt'
|
||||||
* includeUpdatedAt: // value for 'includeUpdatedAt'
|
* includeUpdatedAt: // value for 'includeUpdatedAt'
|
||||||
* includeCueObjectFeatures: // value for 'includeCueObjectFeatures'
|
* includeCueObjectFeatures: // value for 'includeCueObjectFeatures'
|
||||||
@ -3415,7 +3387,6 @@ export const GetVideoDocument = gql`
|
|||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
homographyHistory {
|
homographyHistory {
|
||||||
frameIndex
|
|
||||||
crop {
|
crop {
|
||||||
left
|
left
|
||||||
top
|
top
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
query GetShots(
|
query GetShots(
|
||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
$shotsPagination: GetShotsPagination!
|
|
||||||
$limit: Int
|
|
||||||
$includeCreatedAt: Boolean! = false
|
$includeCreatedAt: Boolean! = false
|
||||||
$includeUpdatedAt: Boolean! = false
|
$includeUpdatedAt: Boolean! = false
|
||||||
$includeCueObjectFeatures: Boolean! = false
|
$includeCueObjectFeatures: Boolean! = false
|
||||||
@ -14,11 +12,7 @@ query GetShots(
|
|||||||
$includeMake: Boolean! = false
|
$includeMake: Boolean! = false
|
||||||
$includeIntendedPocketType: Boolean! = false
|
$includeIntendedPocketType: Boolean! = false
|
||||||
) {
|
) {
|
||||||
getShots(
|
getShots(filterInput: $filterInput) {
|
||||||
filterInput: $filterInput
|
|
||||||
shotsPagination: $shotsPagination
|
|
||||||
limit: $limit
|
|
||||||
) {
|
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
startFrame
|
startFrame
|
||||||
|
@ -139,7 +139,6 @@ query GetVideo($videoId: Int!) {
|
|||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
homographyHistory {
|
homographyHistory {
|
||||||
frameIndex
|
|
||||||
crop {
|
crop {
|
||||||
left
|
left
|
||||||
top
|
top
|
||||||
|
@ -4,16 +4,11 @@ type Query {
|
|||||||
): [AggregateResultGQL!]!
|
): [AggregateResultGQL!]!
|
||||||
getBucketSet(keyName: String!): BucketSetGQL
|
getBucketSet(keyName: String!): BucketSetGQL
|
||||||
getDeployedConfig: DeployedConfigGQL!
|
getDeployedConfig: DeployedConfigGQL!
|
||||||
waitFor(duration: Float!): Float!
|
|
||||||
getVideoMakePercentageIntervals(
|
getVideoMakePercentageIntervals(
|
||||||
videoId: ID!
|
videoId: ID!
|
||||||
intervalDuration: Int! = 300
|
intervalDuration: Int! = 300
|
||||||
): [MakePercentageIntervalGQL!]!
|
): [MakePercentageIntervalGQL!]!
|
||||||
getShots(
|
getShots(filterInput: FilterInput!): [ShotGQL!]!
|
||||||
filterInput: FilterInput!
|
|
||||||
shotsPagination: GetShotsPagination = null
|
|
||||||
limit: Int! = 500
|
|
||||||
): [ShotGQL!]!
|
|
||||||
getShotAnnotationTypes: [ShotAnnotationTypeGQL!]!
|
getShotAnnotationTypes: [ShotAnnotationTypeGQL!]!
|
||||||
getUser(userId: Int!): UserGQL
|
getUser(userId: Int!): UserGQL
|
||||||
getLoggedInUser: UserGQL
|
getLoggedInUser: UserGQL
|
||||||
@ -173,7 +168,6 @@ type ShotGQL {
|
|||||||
user: UserGQL
|
user: UserGQL
|
||||||
annotations: [ShotAnnotationGQL!]!
|
annotations: [ShotAnnotationGQL!]!
|
||||||
falsePositiveScore: Float
|
falsePositiveScore: Float
|
||||||
video: VideoGQL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@ -235,6 +229,15 @@ type ShotAnnotationTypeGQL {
|
|||||||
name: String!
|
name: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type UserPlayTimeGQL {
|
||||||
|
totalSeconds: Float!
|
||||||
|
}
|
||||||
|
|
||||||
|
type VideoHistoryGQL {
|
||||||
|
videos: [VideoGQL!]!
|
||||||
|
pageInfo: PageInfoGQL!
|
||||||
|
}
|
||||||
|
|
||||||
type VideoGQL {
|
type VideoGQL {
|
||||||
id: Int!
|
id: Int!
|
||||||
owner: UserGQL
|
owner: UserGQL
|
||||||
@ -361,25 +364,6 @@ type VideoProcessingErrorGQL {
|
|||||||
endSegmentIndex: Int
|
endSegmentIndex: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
input GetShotsPagination {
|
|
||||||
createdAfter: CreatedAfter!
|
|
||||||
startFrameAfter: Int!
|
|
||||||
}
|
|
||||||
|
|
||||||
input CreatedAfter @oneOf {
|
|
||||||
videoId: Int
|
|
||||||
createdAt: DateTime
|
|
||||||
}
|
|
||||||
|
|
||||||
type UserPlayTimeGQL {
|
|
||||||
totalSeconds: Float!
|
|
||||||
}
|
|
||||||
|
|
||||||
type VideoHistoryGQL {
|
|
||||||
videos: [VideoGQL!]!
|
|
||||||
pageInfo: PageInfoGQL!
|
|
||||||
}
|
|
||||||
|
|
||||||
type PageInfoGQL {
|
type PageInfoGQL {
|
||||||
hasNextPage: Boolean!
|
hasNextPage: Boolean!
|
||||||
endCursor: String
|
endCursor: String
|
||||||
|
Loading…
Reference in New Issue
Block a user