Add separate return to profile image #40
@ -1097,6 +1097,16 @@ export type FilterInput =
|
|||||||
videoId: Array<Scalars["Int"]["input"]>;
|
videoId: Array<Scalars["Int"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GetProfileUploadLinkErrors = {
|
||||||
|
__typename?: "GetProfileUploadLinkErrors";
|
||||||
|
error: TooManyProfileImageUploadsErr;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type GetProfileUploadLinkReturn = {
|
||||||
|
__typename?: "GetProfileUploadLinkReturn";
|
||||||
|
value: UploadLinkGetProfileUploadLinkErrors;
|
||||||
|
};
|
||||||
|
|
||||||
export type GetShotsPagination = {
|
export type GetShotsPagination = {
|
||||||
createdAfter: CreatedAfter;
|
createdAfter: CreatedAfter;
|
||||||
startFrameAfter: Scalars["Int"]["input"];
|
startFrameAfter: Scalars["Int"]["input"];
|
||||||
@ -1176,7 +1186,7 @@ export type Mutation = {
|
|||||||
editProfileImageUri: UserGql;
|
editProfileImageUri: UserGql;
|
||||||
editUploadStream: Scalars["Boolean"]["output"];
|
editUploadStream: Scalars["Boolean"]["output"];
|
||||||
getHlsInitUploadLink: GetUploadLinkReturn;
|
getHlsInitUploadLink: GetUploadLinkReturn;
|
||||||
getProfileImageUploadLink: GetUploadLinkReturn;
|
getProfileImageUploadLink: GetProfileUploadLinkReturn;
|
||||||
getUploadLink: GetUploadLinkReturn;
|
getUploadLink: GetUploadLinkReturn;
|
||||||
setLoggerLevel: Scalars["Boolean"]["output"];
|
setLoggerLevel: Scalars["Boolean"]["output"];
|
||||||
setSegmentDuration: Scalars["Boolean"]["output"];
|
setSegmentDuration: Scalars["Boolean"]["output"];
|
||||||
@ -1452,6 +1462,10 @@ export type UploadLink = {
|
|||||||
uploadUrl: Scalars["String"]["output"];
|
uploadUrl: Scalars["String"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type UploadLinkGetProfileUploadLinkErrors =
|
||||||
|
| GetProfileUploadLinkErrors
|
||||||
|
| UploadLink;
|
||||||
|
|
||||||
export type UploadLinkGetUploadLinkErrors = GetUploadLinkErrors | UploadLink;
|
export type UploadLinkGetUploadLinkErrors = GetUploadLinkErrors | UploadLink;
|
||||||
|
|
||||||
export type UploadSegmentGql = {
|
export type UploadSegmentGql = {
|
||||||
@ -1777,16 +1791,11 @@ export type GetProfileImageUploadLinkMutationVariables = Exact<{
|
|||||||
export type GetProfileImageUploadLinkMutation = {
|
export type GetProfileImageUploadLinkMutation = {
|
||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
getProfileImageUploadLink: {
|
getProfileImageUploadLink: {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetProfileUploadLinkReturn";
|
||||||
value:
|
value:
|
||||||
| {
|
| {
|
||||||
__typename?: "GetUploadLinkErrors";
|
__typename?: "GetProfileUploadLinkErrors";
|
||||||
error:
|
error: {
|
||||||
| { __typename?: "MustHaveSetForUploadLinkErr" }
|
|
||||||
| { __typename?: "NoInitForChunkedUploadErr" }
|
|
||||||
| { __typename?: "ProcessingFailedErr" }
|
|
||||||
| { __typename?: "SegmentAlreadyUploadedErr" }
|
|
||||||
| {
|
|
||||||
__typename?: "TooManyProfileImageUploadsErr";
|
__typename?: "TooManyProfileImageUploadsErr";
|
||||||
linksRequested: number;
|
linksRequested: number;
|
||||||
};
|
};
|
||||||
@ -2842,7 +2851,7 @@ export const GetProfileImageUploadLinkDocument = gql`
|
|||||||
value
|
value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
... on GetUploadLinkErrors {
|
... on GetProfileUploadLinkErrors {
|
||||||
error {
|
error {
|
||||||
... on TooManyProfileImageUploadsErr {
|
... on TooManyProfileImageUploadsErr {
|
||||||
linksRequested
|
linksRequested
|
||||||
|
@ -8,7 +8,7 @@ mutation getProfileImageUploadLink($fileExt: String = ".png") {
|
|||||||
value
|
value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
... on GetUploadLinkErrors {
|
... on GetProfileUploadLinkErrors {
|
||||||
error {
|
error {
|
||||||
... on TooManyProfileImageUploadsErr {
|
... on TooManyProfileImageUploadsErr {
|
||||||
linksRequested
|
linksRequested
|
||||||
|
@ -435,7 +435,9 @@ type Mutation {
|
|||||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||||
addAnnotationToShot(shotId: Int!, annotationName: String!): Boolean!
|
addAnnotationToShot(shotId: Int!, annotationName: String!): Boolean!
|
||||||
getProfileImageUploadLink(fileExt: String = ".png"): GetUploadLinkReturn!
|
getProfileImageUploadLink(
|
||||||
|
fileExt: String = ".png"
|
||||||
|
): GetProfileUploadLinkReturn!
|
||||||
editProfileImageUri(profileImageUri: String!): UserGQL!
|
editProfileImageUri(profileImageUri: String!): UserGQL!
|
||||||
createUploadStream(
|
createUploadStream(
|
||||||
videoMetadata: VideoMetadataInput!
|
videoMetadata: VideoMetadataInput!
|
||||||
@ -457,12 +459,13 @@ input CreateBucketSetInput {
|
|||||||
buckets: [BucketInputGQL!]!
|
buckets: [BucketInputGQL!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetUploadLinkReturn {
|
type GetProfileUploadLinkReturn {
|
||||||
value: UploadLinkGetUploadLinkErrors!
|
value: UploadLinkGetProfileUploadLinkErrors!
|
||||||
stream: UploadStreamGQL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
union UploadLinkGetUploadLinkErrors = UploadLink | GetUploadLinkErrors
|
union UploadLinkGetProfileUploadLinkErrors =
|
||||||
|
UploadLink
|
||||||
|
| GetProfileUploadLinkErrors
|
||||||
|
|
||||||
type UploadLink {
|
type UploadLink {
|
||||||
uploadUrl: String!
|
uploadUrl: String!
|
||||||
@ -474,32 +477,8 @@ type Header {
|
|||||||
value: String!
|
value: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetUploadLinkErrors {
|
type GetProfileUploadLinkErrors {
|
||||||
error: MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErr!
|
error: TooManyProfileImageUploadsErr!
|
||||||
}
|
|
||||||
|
|
||||||
union MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErr =
|
|
||||||
MustHaveSetForUploadLinkErr
|
|
||||||
| SegmentAlreadyUploadedErr
|
|
||||||
| ProcessingFailedErr
|
|
||||||
| NoInitForChunkedUploadErr
|
|
||||||
| TooManyProfileImageUploadsErr
|
|
||||||
|
|
||||||
type MustHaveSetForUploadLinkErr {
|
|
||||||
resolution: Boolean
|
|
||||||
framesPerSecond: Boolean
|
|
||||||
}
|
|
||||||
|
|
||||||
type SegmentAlreadyUploadedErr {
|
|
||||||
segmentId: Int!
|
|
||||||
}
|
|
||||||
|
|
||||||
type ProcessingFailedErr {
|
|
||||||
processing: VideoProcessingGQL!
|
|
||||||
}
|
|
||||||
|
|
||||||
type NoInitForChunkedUploadErr {
|
|
||||||
segmentType: StreamSegmentTypeEnum!
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type TooManyProfileImageUploadsErr {
|
type TooManyProfileImageUploadsErr {
|
||||||
@ -546,3 +525,38 @@ input VideoResolution {
|
|||||||
width: Int!
|
width: Int!
|
||||||
height: Int!
|
height: Int!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type GetUploadLinkReturn {
|
||||||
|
value: UploadLinkGetUploadLinkErrors!
|
||||||
|
stream: UploadStreamGQL
|
||||||
|
}
|
||||||
|
|
||||||
|
union UploadLinkGetUploadLinkErrors = UploadLink | GetUploadLinkErrors
|
||||||
|
|
||||||
|
type GetUploadLinkErrors {
|
||||||
|
error: MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErr!
|
||||||
|
}
|
||||||
|
|
||||||
|
union MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErr =
|
||||||
|
MustHaveSetForUploadLinkErr
|
||||||
|
| SegmentAlreadyUploadedErr
|
||||||
|
| ProcessingFailedErr
|
||||||
|
| NoInitForChunkedUploadErr
|
||||||
|
| TooManyProfileImageUploadsErr
|
||||||
|
|
||||||
|
type MustHaveSetForUploadLinkErr {
|
||||||
|
resolution: Boolean
|
||||||
|
framesPerSecond: Boolean
|
||||||
|
}
|
||||||
|
|
||||||
|
type SegmentAlreadyUploadedErr {
|
||||||
|
segmentId: Int!
|
||||||
|
}
|
||||||
|
|
||||||
|
type ProcessingFailedErr {
|
||||||
|
processing: VideoProcessingGQL!
|
||||||
|
}
|
||||||
|
|
||||||
|
type NoInitForChunkedUploadErr {
|
||||||
|
segmentType: StreamSegmentTypeEnum!
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user