Compare commits
1 Commits
master
...
loewy/uplo
| Author | SHA1 | Date | |
|---|---|---|---|
| d31d171ac3 |
@@ -2432,6 +2432,7 @@ export type MutationCreateSubscriptionArgs = {
|
||||
};
|
||||
|
||||
export type MutationCreateUploadStreamArgs = {
|
||||
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
videoMetadata: VideoMetadataInput;
|
||||
};
|
||||
|
||||
@@ -2716,6 +2717,7 @@ export type Query = {
|
||||
getMedals: RequestedMedalsGql;
|
||||
getOrderedShots: GetShotsResult;
|
||||
getPlayTime: UserPlayTimeGql;
|
||||
getQuotaStatus: QuotaStatusGql;
|
||||
getRuns: GetRunsResult;
|
||||
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||
getShots: Array<ShotGql>;
|
||||
@@ -2905,6 +2907,18 @@ 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",
|
||||
|
||||
@@ -97,6 +97,7 @@ type Query {
|
||||
): UserRelationshipsResult!
|
||||
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGQL!
|
||||
getUserSubscriptionStatus: UserSubscriptionStatusGQL!
|
||||
getQuotaStatus: QuotaStatusGQL!
|
||||
getPlayTime(userId: Int!, filters: VideoFilterInput = null): UserPlayTimeGQL!
|
||||
getUserVideos(
|
||||
userId: Int = null
|
||||
@@ -977,6 +978,17 @@ 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!
|
||||
}
|
||||
@@ -1082,6 +1094,7 @@ 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