Compare commits
14 Commits
5085c9af90
...
kat/suppor
Author | SHA1 | Date | |
---|---|---|---|
35a8d71128 | |||
3480637600 | |||
f4665f51b1 | |||
810212dc12 | |||
c3210df517 | |||
9f5c354433 | |||
23d9fef2b1 | |||
df3087de7d | |||
5dd8318dab | |||
56c8bcce20 | |||
1c4961db5b | |||
5e0d01ea5b | |||
e8938621fc | |||
8c8dcdd8e1 |
@@ -30,6 +30,8 @@ export type Scalars = {
|
|||||||
Float: { input: number; output: number };
|
Float: { input: number; output: number };
|
||||||
/** Date with time (isoformat) */
|
/** Date with time (isoformat) */
|
||||||
DateTime: { input: any; output: any };
|
DateTime: { input: any; output: any };
|
||||||
|
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf). */
|
||||||
|
JSON: { input: any; output: any };
|
||||||
};
|
};
|
||||||
|
|
||||||
export type AggregateInputGql = {
|
export type AggregateInputGql = {
|
||||||
@@ -1041,6 +1043,7 @@ export type GetShotsPagination = {
|
|||||||
export type GetUploadLinkReturn = {
|
export type GetUploadLinkReturn = {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetUploadLinkReturn";
|
||||||
headers: Array<Maybe<Header>>;
|
headers: Array<Maybe<Header>>;
|
||||||
|
uploadCompletionCursor?: Maybe<Scalars["Int"]["output"]>;
|
||||||
uploadUrl: Scalars["String"]["output"];
|
uploadUrl: Scalars["String"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1178,6 +1181,17 @@ export type PocketingIntentionFeaturesGql = {
|
|||||||
targetPocketDistance?: Maybe<Scalars["Float"]["output"]>;
|
targetPocketDistance?: Maybe<Scalars["Float"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export enum ProcessingStatusEnum {
|
||||||
|
Created = "CREATED",
|
||||||
|
Failed = "FAILED",
|
||||||
|
Queued = "QUEUED",
|
||||||
|
ReextractingFeatures = "REEXTRACTING_FEATURES",
|
||||||
|
Running = "RUNNING",
|
||||||
|
Started = "STARTED",
|
||||||
|
Succeeded = "SUCCEEDED",
|
||||||
|
Suspended = "SUSPENDED",
|
||||||
|
}
|
||||||
|
|
||||||
export type Query = {
|
export type Query = {
|
||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getAggregatedShotMetrics: Array<AggregateResultGql>;
|
getAggregatedShotMetrics: Array<AggregateResultGql>;
|
||||||
@@ -1233,6 +1247,7 @@ export type QueryGetUsernamesArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type QueryGetVideoArgs = {
|
export type QueryGetVideoArgs = {
|
||||||
|
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1447,6 +1462,17 @@ export type VideoProcessingErrorGql = {
|
|||||||
export type VideoProcessingGql = {
|
export type VideoProcessingGql = {
|
||||||
__typename?: "VideoProcessingGQL";
|
__typename?: "VideoProcessingGQL";
|
||||||
errors: Array<VideoProcessingErrorGql>;
|
errors: Array<VideoProcessingErrorGql>;
|
||||||
|
status: ProcessingStatusEnum;
|
||||||
|
statuses: Array<VideoProcessingStatusGql>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type VideoProcessingStatusGql = {
|
||||||
|
__typename?: "VideoProcessingStatusGQL";
|
||||||
|
appVersion: Scalars["String"]["output"];
|
||||||
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
|
sequenceId: Scalars["Int"]["output"];
|
||||||
|
status: ProcessingStatusEnum;
|
||||||
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type VideoResolution = {
|
export type VideoResolution = {
|
||||||
@@ -1574,6 +1600,8 @@ export type GetVideoMakePercentageIntervalsQuery = {
|
|||||||
|
|
||||||
export type GetShotsQueryVariables = Exact<{
|
export type GetShotsQueryVariables = Exact<{
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
|
shotsPagination?: InputMaybe<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"];
|
||||||
@@ -1701,6 +1729,7 @@ export type GetUsernamesQuery = {
|
|||||||
|
|
||||||
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
|
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
|
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetStreamMonitoringDetailsQuery = {
|
export type GetStreamMonitoringDetailsQuery = {
|
||||||
@@ -2083,6 +2112,7 @@ export type GetUploadStreamsWithDetailsQuery = {
|
|||||||
isCompleted: boolean;
|
isCompleted: boolean;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
uploadCompletionCursor: number;
|
uploadCompletionCursor: number;
|
||||||
|
uploadsCompleted: number;
|
||||||
} | null;
|
} | null;
|
||||||
}>;
|
}>;
|
||||||
pageInfo: {
|
pageInfo: {
|
||||||
@@ -2433,6 +2463,8 @@ export type GetVideoMakePercentageIntervalsQueryResult = Apollo.QueryResult<
|
|||||||
export const GetShotsDocument = gql`
|
export const GetShotsDocument = gql`
|
||||||
query GetShots(
|
query GetShots(
|
||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
|
$shotsPagination: GetShotsPagination = null
|
||||||
|
$limit: Int
|
||||||
$includeCreatedAt: Boolean! = false
|
$includeCreatedAt: Boolean! = false
|
||||||
$includeUpdatedAt: Boolean! = false
|
$includeUpdatedAt: Boolean! = false
|
||||||
$includeCueObjectFeatures: Boolean! = false
|
$includeCueObjectFeatures: Boolean! = false
|
||||||
@@ -2445,7 +2477,11 @@ export const GetShotsDocument = gql`
|
|||||||
$includeMake: Boolean! = false
|
$includeMake: Boolean! = false
|
||||||
$includeIntendedPocketType: Boolean! = false
|
$includeIntendedPocketType: Boolean! = false
|
||||||
) {
|
) {
|
||||||
getShots(filterInput: $filterInput) {
|
getShots(
|
||||||
|
filterInput: $filterInput
|
||||||
|
shotsPagination: $shotsPagination
|
||||||
|
limit: $limit
|
||||||
|
) {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
startFrame
|
startFrame
|
||||||
@@ -2485,6 +2521,8 @@ 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'
|
||||||
@@ -2956,8 +2994,8 @@ export type GetUsernamesQueryResult = Apollo.QueryResult<
|
|||||||
GetUsernamesQueryVariables
|
GetUsernamesQueryVariables
|
||||||
>;
|
>;
|
||||||
export const GetStreamMonitoringDetailsDocument = gql`
|
export const GetStreamMonitoringDetailsDocument = gql`
|
||||||
query GetStreamMonitoringDetails($videoId: Int!) {
|
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
||||||
getVideo(videoId: $videoId) {
|
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
||||||
id
|
id
|
||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
@@ -3035,6 +3073,7 @@ export const GetStreamMonitoringDetailsDocument = gql`
|
|||||||
* const { data, loading, error } = useGetStreamMonitoringDetailsQuery({
|
* const { data, loading, error } = useGetStreamMonitoringDetailsQuery({
|
||||||
* variables: {
|
* variables: {
|
||||||
* videoId: // value for 'videoId'
|
* videoId: // value for 'videoId'
|
||||||
|
* debuggingJson: // value for 'debuggingJson'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
@@ -4199,6 +4238,7 @@ export const GetUploadStreamsWithDetailsDocument = gql`
|
|||||||
isCompleted
|
isCompleted
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
uploadCompletionCursor
|
uploadCompletionCursor
|
||||||
|
uploadsCompleted
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pageInfo {
|
pageInfo {
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
query GetShots(
|
query GetShots(
|
||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
|
$shotsPagination: GetShotsPagination = null
|
||||||
|
$limit: Int
|
||||||
$includeCreatedAt: Boolean! = false
|
$includeCreatedAt: Boolean! = false
|
||||||
$includeUpdatedAt: Boolean! = false
|
$includeUpdatedAt: Boolean! = false
|
||||||
$includeCueObjectFeatures: Boolean! = false
|
$includeCueObjectFeatures: Boolean! = false
|
||||||
@@ -12,7 +14,11 @@ query GetShots(
|
|||||||
$includeMake: Boolean! = false
|
$includeMake: Boolean! = false
|
||||||
$includeIntendedPocketType: Boolean! = false
|
$includeIntendedPocketType: Boolean! = false
|
||||||
) {
|
) {
|
||||||
getShots(filterInput: $filterInput) {
|
getShots(
|
||||||
|
filterInput: $filterInput
|
||||||
|
shotsPagination: $shotsPagination
|
||||||
|
limit: $limit
|
||||||
|
) {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
startFrame
|
startFrame
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
query GetStreamMonitoringDetails($videoId: Int!) {
|
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
||||||
getVideo(videoId: $videoId) {
|
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
||||||
id
|
id
|
||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
|
@@ -72,6 +72,7 @@ query GetUploadStreamsWithDetails(
|
|||||||
isCompleted
|
isCompleted
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
uploadCompletionCursor
|
uploadCompletionCursor
|
||||||
|
uploadsCompleted
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pageInfo {
|
pageInfo {
|
||||||
|
@@ -30,7 +30,7 @@ type Query {
|
|||||||
filters: VideoFilterInput = null
|
filters: VideoFilterInput = null
|
||||||
): VideoHistoryGQL!
|
): VideoHistoryGQL!
|
||||||
getUserTags: [TagGQL!]!
|
getUserTags: [TagGQL!]!
|
||||||
getVideo(videoId: Int!): VideoGQL!
|
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
|
||||||
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -353,6 +353,8 @@ type IntPoint2D {
|
|||||||
|
|
||||||
type VideoProcessingGQL {
|
type VideoProcessingGQL {
|
||||||
errors: [VideoProcessingErrorGQL!]!
|
errors: [VideoProcessingErrorGQL!]!
|
||||||
|
status: ProcessingStatusEnum!
|
||||||
|
statuses: [VideoProcessingStatusGQL!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
type VideoProcessingErrorGQL {
|
type VideoProcessingErrorGQL {
|
||||||
@@ -361,6 +363,25 @@ type VideoProcessingErrorGQL {
|
|||||||
endSegmentIndex: Int
|
endSegmentIndex: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum ProcessingStatusEnum {
|
||||||
|
STARTED
|
||||||
|
FAILED
|
||||||
|
SUCCEEDED
|
||||||
|
SUSPENDED
|
||||||
|
CREATED
|
||||||
|
QUEUED
|
||||||
|
RUNNING
|
||||||
|
REEXTRACTING_FEATURES
|
||||||
|
}
|
||||||
|
|
||||||
|
type VideoProcessingStatusGQL {
|
||||||
|
status: ProcessingStatusEnum!
|
||||||
|
appVersion: String!
|
||||||
|
sequenceId: Int!
|
||||||
|
createdAt: DateTime
|
||||||
|
updatedAt: DateTime
|
||||||
|
}
|
||||||
|
|
||||||
input GetShotsPagination {
|
input GetShotsPagination {
|
||||||
createdAfter: CreatedAfter!
|
createdAfter: CreatedAfter!
|
||||||
startFrameAfter: Int!
|
startFrameAfter: Int!
|
||||||
@@ -396,6 +417,14 @@ type TagGQL {
|
|||||||
group: String
|
group: String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"""
|
||||||
|
The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf).
|
||||||
|
"""
|
||||||
|
scalar JSON
|
||||||
|
@specifiedBy(
|
||||||
|
url: "https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf"
|
||||||
|
)
|
||||||
|
|
||||||
type Mutation {
|
type Mutation {
|
||||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||||
@@ -425,6 +454,7 @@ input CreateBucketSetInput {
|
|||||||
type GetUploadLinkReturn {
|
type GetUploadLinkReturn {
|
||||||
uploadUrl: String!
|
uploadUrl: String!
|
||||||
headers: [Header]!
|
headers: [Header]!
|
||||||
|
uploadCompletionCursor: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
type Header {
|
type Header {
|
||||||
|
Reference in New Issue
Block a user