Compare commits
No commits in common. "400541623303cb2d1ec62130df3d99c900a7737d" and "172df6934049ad90cdaabceb301dd6b19c1ba8bc" have entirely different histories.
4005416233
...
172df69340
@ -34,16 +34,6 @@ export type Scalars = {
|
||||
JSON: { input: any; output: any };
|
||||
};
|
||||
|
||||
export type AddShotAnnotationErrors = {
|
||||
__typename?: "AddShotAnnotationErrors";
|
||||
error: DoesNotOwnShotErrOtherErrorNeedsNote;
|
||||
};
|
||||
|
||||
export type AddShotAnnotationReturn = {
|
||||
__typename?: "AddShotAnnotationReturn";
|
||||
value: SuccessfulAddAddShotAnnotationErrors;
|
||||
};
|
||||
|
||||
export type AggregateInputGql = {
|
||||
aggregations: Array<AggregationInput>;
|
||||
filterInput?: InputMaybe<FilterInput>;
|
||||
@ -141,16 +131,6 @@ export enum DeviceTypeEnum {
|
||||
Ios = "IOS",
|
||||
}
|
||||
|
||||
export type DoesNotOwnShotErr = {
|
||||
__typename?: "DoesNotOwnShotErr";
|
||||
msg?: Maybe<Scalars["String"]["output"]>;
|
||||
shotId: Scalars["Int"]["output"];
|
||||
};
|
||||
|
||||
export type DoesNotOwnShotErrOtherErrorNeedsNote =
|
||||
| DoesNotOwnShotErr
|
||||
| OtherErrorNeedsNote;
|
||||
|
||||
export type EnumAggregation = {
|
||||
feature: Scalars["String"]["input"];
|
||||
};
|
||||
@ -1199,7 +1179,7 @@ export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailed
|
||||
|
||||
export type Mutation = {
|
||||
__typename?: "Mutation";
|
||||
addAnnotationToShot: AddShotAnnotationReturn;
|
||||
addAnnotationToShot: Scalars["Boolean"]["output"];
|
||||
createBucketSet: BucketSetGql;
|
||||
createUploadStream: CreateUploadStreamReturn;
|
||||
deleteVideo: Scalars["Boolean"]["output"];
|
||||
@ -1214,7 +1194,6 @@ export type Mutation = {
|
||||
|
||||
export type MutationAddAnnotationToShotArgs = {
|
||||
annotationName: Scalars["String"]["input"];
|
||||
notes?: InputMaybe<Scalars["String"]["input"]>;
|
||||
shotId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
@ -1268,11 +1247,6 @@ export type NoInitForChunkedUploadErr = {
|
||||
segmentType: StreamSegmentTypeEnum;
|
||||
};
|
||||
|
||||
export type OtherErrorNeedsNote = {
|
||||
__typename?: "OtherErrorNeedsNote";
|
||||
msg?: Maybe<Scalars["String"]["output"]>;
|
||||
};
|
||||
|
||||
export type PageInfoGql = {
|
||||
__typename?: "PageInfoGQL";
|
||||
endCursor?: Maybe<Scalars["String"]["output"]>;
|
||||
@ -1349,10 +1323,6 @@ export type QueryGetPlayTimeArgs = {
|
||||
userId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type QueryGetShotAnnotationTypesArgs = {
|
||||
errorTypes?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
};
|
||||
|
||||
export type QueryGetShotsArgs = {
|
||||
filterInput: FilterInput;
|
||||
limit?: Scalars["Int"]["input"];
|
||||
@ -1417,7 +1387,6 @@ export type ShotAnnotationGql = {
|
||||
__typename?: "ShotAnnotationGQL";
|
||||
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
creator: UserGql;
|
||||
errorDefault: Scalars["Boolean"]["output"];
|
||||
notes: Scalars["String"]["output"];
|
||||
shotId: Scalars["Int"]["output"];
|
||||
type: ShotAnnotationTypeGql;
|
||||
@ -1468,15 +1437,6 @@ export enum StreamSegmentTypeEnum {
|
||||
RbChunkedMp4 = "RB_CHUNKED_MP4",
|
||||
}
|
||||
|
||||
export type SuccessfulAdd = {
|
||||
__typename?: "SuccessfulAdd";
|
||||
value: Scalars["Boolean"]["output"];
|
||||
};
|
||||
|
||||
export type SuccessfulAddAddShotAnnotationErrors =
|
||||
| AddShotAnnotationErrors
|
||||
| SuccessfulAdd;
|
||||
|
||||
export type TagGql = {
|
||||
__typename?: "TagGQL";
|
||||
group?: Maybe<Scalars["String"]["output"]>;
|
||||
@ -2055,10 +2015,13 @@ export type GetVideosQuery = {
|
||||
getVideos: Array<{
|
||||
__typename?: "VideoGQL";
|
||||
id: number;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
stream?: {
|
||||
__typename?: "UploadStreamGQL";
|
||||
id: string;
|
||||
streamSegmentType: StreamSegmentTypeEnum;
|
||||
segments: Array<{
|
||||
__typename?: "UploadSegmentGQL";
|
||||
uploaded: boolean;
|
||||
@ -2068,10 +2031,6 @@ export type GetVideosQuery = {
|
||||
framesPerSecond?: number | null;
|
||||
}>;
|
||||
} | null;
|
||||
playlist?: {
|
||||
__typename?: "HLSPlaylistGQL";
|
||||
segmentDurations: Array<number>;
|
||||
} | null;
|
||||
}>;
|
||||
};
|
||||
|
||||
@ -3621,9 +3580,11 @@ export const GetVideosDocument = gql`
|
||||
query GetVideos($videoIds: [Int!]!) {
|
||||
getVideos(videoIds: $videoIds) {
|
||||
id
|
||||
playlist {
|
||||
segmentDurations
|
||||
}
|
||||
stream {
|
||||
id
|
||||
streamSegmentType
|
||||
segments {
|
||||
uploaded
|
||||
valid
|
||||
@ -3632,9 +3593,6 @@ export const GetVideosDocument = gql`
|
||||
framesPerSecond
|
||||
}
|
||||
}
|
||||
playlist {
|
||||
segmentDurations
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
@ -118,9 +118,11 @@ query GetVideoDetails($videoId: Int!) {
|
||||
query GetVideos($videoIds: [Int!]!) {
|
||||
getVideos(videoIds: $videoIds) {
|
||||
id
|
||||
playlist {
|
||||
segmentDurations
|
||||
}
|
||||
stream {
|
||||
id
|
||||
streamSegmentType
|
||||
segments {
|
||||
uploaded
|
||||
valid
|
||||
@ -129,9 +131,6 @@ query GetVideos($videoIds: [Int!]!) {
|
||||
framesPerSecond
|
||||
}
|
||||
}
|
||||
playlist {
|
||||
segmentDurations
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ type Query {
|
||||
shotsPagination: GetShotsPagination = null
|
||||
limit: Int! = 500
|
||||
): [ShotGQL!]!
|
||||
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!
|
||||
getShotAnnotationTypes: [ShotAnnotationTypeGQL!]!
|
||||
getUser(userId: Int!): UserGQL
|
||||
getLoggedInUser: UserGQL
|
||||
getUsernames(
|
||||
@ -231,7 +231,6 @@ type ShotAnnotationGQL {
|
||||
type: ShotAnnotationTypeGQL!
|
||||
creator: UserGQL!
|
||||
notes: String!
|
||||
errorDefault: Boolean!
|
||||
createdAt: DateTime
|
||||
updatedAt: DateTime
|
||||
}
|
||||
@ -435,11 +434,7 @@ scalar JSON
|
||||
type Mutation {
|
||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||
addAnnotationToShot(
|
||||
shotId: Int!
|
||||
annotationName: String!
|
||||
notes: String = null
|
||||
): AddShotAnnotationReturn!
|
||||
addAnnotationToShot(shotId: Int!, annotationName: String!): Boolean!
|
||||
getProfileImageUploadLink(
|
||||
fileExt: String = ".png"
|
||||
): GetProfileUploadLinkReturn!
|
||||
@ -464,35 +459,6 @@ input CreateBucketSetInput {
|
||||
buckets: [BucketInputGQL!]!
|
||||
}
|
||||
|
||||
type AddShotAnnotationReturn {
|
||||
value: SuccessfulAddAddShotAnnotationErrors!
|
||||
}
|
||||
|
||||
union SuccessfulAddAddShotAnnotationErrors =
|
||||
SuccessfulAdd
|
||||
| AddShotAnnotationErrors
|
||||
|
||||
type SuccessfulAdd {
|
||||
value: Boolean!
|
||||
}
|
||||
|
||||
type AddShotAnnotationErrors {
|
||||
error: DoesNotOwnShotErrOtherErrorNeedsNote!
|
||||
}
|
||||
|
||||
union DoesNotOwnShotErrOtherErrorNeedsNote =
|
||||
DoesNotOwnShotErr
|
||||
| OtherErrorNeedsNote
|
||||
|
||||
type DoesNotOwnShotErr {
|
||||
shotId: Int!
|
||||
msg: String
|
||||
}
|
||||
|
||||
type OtherErrorNeedsNote {
|
||||
msg: String
|
||||
}
|
||||
|
||||
type GetProfileUploadLinkReturn {
|
||||
value: UploadLinkGetProfileUploadLinkErrors!
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user