Compare commits
1 Commits
loewy/uplo
...
processing
| Author | SHA1 | Date | |
|---|---|---|---|
| 9abb533be8 |
@@ -2432,7 +2432,6 @@ export type MutationCreateSubscriptionArgs = {
|
||||
};
|
||||
|
||||
export type MutationCreateUploadStreamArgs = {
|
||||
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
videoMetadata: VideoMetadataInput;
|
||||
};
|
||||
|
||||
@@ -2717,7 +2716,6 @@ export type Query = {
|
||||
getMedals: RequestedMedalsGql;
|
||||
getOrderedShots: GetShotsResult;
|
||||
getPlayTime: UserPlayTimeGql;
|
||||
getQuotaStatus: QuotaStatusGql;
|
||||
getRuns: GetRunsResult;
|
||||
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||
getShots: Array<ShotGql>;
|
||||
@@ -2907,18 +2905,6 @@ export type QueryWaitForArgs = {
|
||||
duration: Scalars["Float"]["input"];
|
||||
};
|
||||
|
||||
export type QuotaStatusGql = {
|
||||
__typename?: "QuotaStatusGQL";
|
||||
canUpload: Scalars["Boolean"]["output"];
|
||||
durationLimitSeconds?: Maybe<Scalars["Int"]["output"]>;
|
||||
durationRemainingSeconds?: Maybe<Scalars["Float"]["output"]>;
|
||||
durationUsedSeconds: Scalars["Float"]["output"];
|
||||
maxVideoDurationSeconds?: Maybe<Scalars["Int"]["output"]>;
|
||||
periodEnd: Scalars["DateTime"]["output"];
|
||||
periodStart: Scalars["DateTime"]["output"];
|
||||
tierName: Scalars["String"]["output"];
|
||||
};
|
||||
|
||||
export enum ReactionEnum {
|
||||
Bullseye = "BULLSEYE",
|
||||
Heart = "HEART",
|
||||
@@ -3506,6 +3492,8 @@ export type VideoProcessingGql = {
|
||||
errors: Array<VideoProcessingErrorGql>;
|
||||
framesProcessed?: Maybe<Scalars["Int"]["output"]>;
|
||||
id: Scalars["Int"]["output"];
|
||||
labels: Array<Scalars["String"]["output"]>;
|
||||
parentProcessingId?: Maybe<Scalars["Int"]["output"]>;
|
||||
progressPercentage?: Maybe<Scalars["Float"]["output"]>;
|
||||
status: ProcessingStatusEnum;
|
||||
statuses: Array<VideoProcessingStatusGql>;
|
||||
@@ -6247,7 +6235,6 @@ export type HomographyInfoFragment = {
|
||||
|
||||
export type CreateUploadStreamMutationVariables = Exact<{
|
||||
videoMetadataInput: VideoMetadataInput;
|
||||
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
}>;
|
||||
|
||||
export type CreateUploadStreamMutation = {
|
||||
@@ -13214,14 +13201,8 @@ export type FindPrerecordTableLayoutMutationOptions =
|
||||
FindPrerecordTableLayoutMutationVariables
|
||||
>;
|
||||
export const CreateUploadStreamDocument = gql`
|
||||
mutation CreateUploadStream(
|
||||
$videoMetadataInput: VideoMetadataInput!
|
||||
$expectedDurationSeconds: Float
|
||||
) {
|
||||
createUploadStream(
|
||||
videoMetadata: $videoMetadataInput
|
||||
expectedDurationSeconds: $expectedDurationSeconds
|
||||
) {
|
||||
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
||||
createUploadStream(videoMetadata: $videoMetadataInput) {
|
||||
videoId
|
||||
}
|
||||
}
|
||||
@@ -13245,7 +13226,6 @@ export type CreateUploadStreamMutationFn = Apollo.MutationFunction<
|
||||
* const [createUploadStreamMutation, { data, loading, error }] = useCreateUploadStreamMutation({
|
||||
* variables: {
|
||||
* videoMetadataInput: // value for 'videoMetadataInput'
|
||||
* expectedDurationSeconds: // value for 'expectedDurationSeconds'
|
||||
* },
|
||||
* });
|
||||
*/
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
mutation CreateUploadStream(
|
||||
$videoMetadataInput: VideoMetadataInput!
|
||||
$expectedDurationSeconds: Float
|
||||
) {
|
||||
createUploadStream(
|
||||
videoMetadata: $videoMetadataInput
|
||||
expectedDurationSeconds: $expectedDurationSeconds
|
||||
) {
|
||||
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
||||
createUploadStream(videoMetadata: $videoMetadataInput) {
|
||||
videoId
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,7 +97,6 @@ type Query {
|
||||
): UserRelationshipsResult!
|
||||
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGQL!
|
||||
getUserSubscriptionStatus: UserSubscriptionStatusGQL!
|
||||
getQuotaStatus: QuotaStatusGQL!
|
||||
getPlayTime(userId: Int!, filters: VideoFilterInput = null): UserPlayTimeGQL!
|
||||
getUserVideos(
|
||||
userId: Int = null
|
||||
@@ -606,6 +605,8 @@ type IntPoint2D {
|
||||
|
||||
type VideoProcessingGQL {
|
||||
id: Int!
|
||||
parentProcessingId: Int
|
||||
labels: [String!]!
|
||||
errors: [VideoProcessingErrorGQL!]!
|
||||
status: ProcessingStatusEnum!
|
||||
statuses: [VideoProcessingStatusGQL!]!
|
||||
@@ -978,17 +979,6 @@ enum StripeSubscriptionStatusEnum {
|
||||
PAUSED
|
||||
}
|
||||
|
||||
type QuotaStatusGQL {
|
||||
tierName: String!
|
||||
periodStart: DateTime!
|
||||
periodEnd: DateTime!
|
||||
durationUsedSeconds: Float!
|
||||
durationLimitSeconds: Int
|
||||
maxVideoDurationSeconds: Int
|
||||
durationRemainingSeconds: Float
|
||||
canUpload: Boolean!
|
||||
}
|
||||
|
||||
type UserPlayTimeGQL {
|
||||
totalSeconds: Float!
|
||||
}
|
||||
@@ -1094,7 +1084,6 @@ type Mutation {
|
||||
findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL
|
||||
createUploadStream(
|
||||
videoMetadata: VideoMetadataInput!
|
||||
expectedDurationSeconds: Float = null
|
||||
): CreateUploadStreamReturn!
|
||||
getUploadLink(videoId: Int!, segmentIndex: Int!): GetUploadLinkReturn!
|
||||
getHlsInitUploadLink(videoId: Int!): GetUploadLinkReturn!
|
||||
|
||||
Reference in New Issue
Block a user