Tweaks for Debugging #32

Merged
countablecloud merged 4 commits from mk/tweeks-for-debugging into master 2024-08-13 14:43:40 -06:00
2 changed files with 57 additions and 1 deletions

View File

@ -30,6 +30,8 @@ export type Scalars = {
Float: { input: number; output: number };
/** Date with time (isoformat) */
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 = {
@ -1041,6 +1043,7 @@ export type GetShotsPagination = {
export type GetUploadLinkReturn = {
__typename?: "GetUploadLinkReturn";
headers: Array<Maybe<Header>>;
uploadCompletionCursor?: Maybe<Scalars["Int"]["output"]>;
uploadUrl: Scalars["String"]["output"];
};
@ -1178,6 +1181,17 @@ export type PocketingIntentionFeaturesGql = {
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 = {
__typename?: "Query";
getAggregatedShotMetrics: Array<AggregateResultGql>;
@ -1233,6 +1247,7 @@ export type QueryGetUsernamesArgs = {
};
export type QueryGetVideoArgs = {
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
videoId: Scalars["Int"]["input"];
};
@ -1447,6 +1462,17 @@ export type VideoProcessingErrorGql = {
export type VideoProcessingGql = {
__typename?: "VideoProcessingGQL";
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 = {

View File

@ -30,7 +30,7 @@ type Query {
filters: VideoFilterInput = null
): VideoHistoryGQL!
getUserTags: [TagGQL!]!
getVideo(videoId: Int!): VideoGQL!
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
getVideos(videoIds: [Int!]!): [VideoGQL!]!
}
@ -353,6 +353,8 @@ type IntPoint2D {
type VideoProcessingGQL {
errors: [VideoProcessingErrorGQL!]!
status: ProcessingStatusEnum!
statuses: [VideoProcessingStatusGQL!]!
}
type VideoProcessingErrorGQL {
@ -361,6 +363,25 @@ type VideoProcessingErrorGQL {
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 {
createdAfter: CreatedAfter!
startFrameAfter: Int!
@ -396,6 +417,14 @@ type TagGQL {
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 {
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
setLoggerLevel(path: String!, level: String!): Boolean!
@ -425,6 +454,7 @@ input CreateBucketSetInput {
type GetUploadLinkReturn {
uploadUrl: String!
headers: [Header]!
uploadCompletionCursor: Int
}
type Header {