Compare commits
9 Commits
dean/add-d
...
loewy/stor
| Author | SHA1 | Date | |
|---|---|---|---|
| c388932271 | |||
| bc52145a9e | |||
| 5c286f2bcf | |||
| d636c298f8 | |||
| 681320c62d | |||
| 49f409f60b | |||
| e7fc6c147d | |||
| 10c3f6de53 | |||
| b477590137 |
@@ -28,6 +28,8 @@ export type Scalars = {
|
|||||||
Boolean: { input: boolean; output: boolean };
|
Boolean: { input: boolean; output: boolean };
|
||||||
Int: { input: number; output: number };
|
Int: { input: number; output: number };
|
||||||
Float: { input: number; output: number };
|
Float: { input: number; output: number };
|
||||||
|
/** Integer value that can exceed GraphQL Int's 32-bit range. */
|
||||||
|
BigInt: { input: any; output: any };
|
||||||
/** Date (isoformat) */
|
/** Date (isoformat) */
|
||||||
Date: { input: any; output: any };
|
Date: { input: any; output: any };
|
||||||
/** Date with time (isoformat) */
|
/** Date with time (isoformat) */
|
||||||
@@ -2853,11 +2855,13 @@ export type Query = {
|
|||||||
getOrderedShots: GetShotsResult;
|
getOrderedShots: GetShotsResult;
|
||||||
getPlayTime: UserPlayTimeGql;
|
getPlayTime: UserPlayTimeGql;
|
||||||
getQuotaStatus: QuotaStatusGql;
|
getQuotaStatus: QuotaStatusGql;
|
||||||
|
getResolvedTier: ResolvedTierGql;
|
||||||
getRuns: GetRunsResult;
|
getRuns: GetRunsResult;
|
||||||
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||||
getShots: Array<ShotGql>;
|
getShots: Array<ShotGql>;
|
||||||
getShotsByIds: Array<ShotGql>;
|
getShotsByIds: Array<ShotGql>;
|
||||||
getShotsWithMetadata: GetShotsResult;
|
getShotsWithMetadata: GetShotsResult;
|
||||||
|
getStorageStatus?: Maybe<StorageStatusGql>;
|
||||||
getTableState: TableStateGql;
|
getTableState: TableStateGql;
|
||||||
getUser?: Maybe<UserGql>;
|
getUser?: Maybe<UserGql>;
|
||||||
getUserRelationshipsMatching: UserRelationshipsResult;
|
getUserRelationshipsMatching: UserRelationshipsResult;
|
||||||
@@ -3158,6 +3162,18 @@ export type RequestedMedalsGql = {
|
|||||||
totalMakes10000?: Maybe<MedalGql>;
|
totalMakes10000?: Maybe<MedalGql>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type ResolvedTierGql = {
|
||||||
|
__typename?: "ResolvedTierGQL";
|
||||||
|
capabilities: Array<Scalars["String"]["output"]>;
|
||||||
|
entitlementEndsAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
|
entitlementSource?: Maybe<EntitlementSourceTypeEnum>;
|
||||||
|
entitlementStartsAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
|
entitlementStatus?: Maybe<Scalars["String"]["output"]>;
|
||||||
|
hasActiveSubscription: Scalars["Boolean"]["output"];
|
||||||
|
tierDisplayName: Scalars["String"]["output"];
|
||||||
|
tierName: Scalars["String"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
export type RuleSet = {
|
export type RuleSet = {
|
||||||
__typename?: "RuleSet";
|
__typename?: "RuleSet";
|
||||||
createdAt: Scalars["DateTime"]["output"];
|
createdAt: Scalars["DateTime"]["output"];
|
||||||
@@ -3370,6 +3386,24 @@ export enum SpinTypeEnum {
|
|||||||
Unknown = "UNKNOWN",
|
Unknown = "UNKNOWN",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type StorageStatusGql = {
|
||||||
|
__typename?: "StorageStatusGQL";
|
||||||
|
isNearLimit: Scalars["Boolean"]["output"];
|
||||||
|
isOverLimit: Scalars["Boolean"]["output"];
|
||||||
|
isUnlimited: Scalars["Boolean"]["output"];
|
||||||
|
lastCalculatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
|
policyConfigured: Scalars["Boolean"]["output"];
|
||||||
|
remainingStorageBytes?: Maybe<Scalars["BigInt"]["output"]>;
|
||||||
|
retainedStorageLimitBytes?: Maybe<Scalars["BigInt"]["output"]>;
|
||||||
|
retainedStorageUsedBytes: Scalars["BigInt"]["output"];
|
||||||
|
storageUsageRatio?: Maybe<Scalars["Float"]["output"]>;
|
||||||
|
tierName: Scalars["String"]["output"];
|
||||||
|
usageCalculated: Scalars["Boolean"]["output"];
|
||||||
|
usageEstimated: Scalars["Boolean"]["output"];
|
||||||
|
usageSource?: Maybe<Scalars["String"]["output"]>;
|
||||||
|
userId: Scalars["Int"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
export type StreamErrorGql = {
|
export type StreamErrorGql = {
|
||||||
__typename?: "StreamErrorGQL";
|
__typename?: "StreamErrorGQL";
|
||||||
message: Scalars["String"]["output"];
|
message: Scalars["String"]["output"];
|
||||||
|
|||||||
@@ -108,8 +108,10 @@ type Query {
|
|||||||
): UserRelationshipsResult!
|
): UserRelationshipsResult!
|
||||||
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGQL!
|
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGQL!
|
||||||
getUserSubscriptionStatus: UserSubscriptionStatusGQL!
|
getUserSubscriptionStatus: UserSubscriptionStatusGQL!
|
||||||
|
getResolvedTier: ResolvedTierGQL!
|
||||||
getAppleAppAccountToken: String!
|
getAppleAppAccountToken: String!
|
||||||
getQuotaStatus: QuotaStatusGQL!
|
getQuotaStatus: QuotaStatusGQL!
|
||||||
|
getStorageStatus: StorageStatusGQL
|
||||||
getPlayTime(userId: Int!, filters: VideoFilterInput = null): UserPlayTimeGQL!
|
getPlayTime(userId: Int!, filters: VideoFilterInput = null): UserPlayTimeGQL!
|
||||||
getUserVideos(
|
getUserVideos(
|
||||||
userId: Int = null
|
userId: Int = null
|
||||||
@@ -1071,6 +1073,17 @@ enum StripeSubscriptionStatusEnum {
|
|||||||
PAUSED
|
PAUSED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ResolvedTierGQL {
|
||||||
|
tierName: String!
|
||||||
|
tierDisplayName: String!
|
||||||
|
hasActiveSubscription: Boolean!
|
||||||
|
entitlementSource: EntitlementSourceTypeEnum
|
||||||
|
entitlementStatus: String
|
||||||
|
entitlementStartsAt: DateTime
|
||||||
|
entitlementEndsAt: DateTime
|
||||||
|
capabilities: [String!]!
|
||||||
|
}
|
||||||
|
|
||||||
type QuotaStatusGQL {
|
type QuotaStatusGQL {
|
||||||
tierName: String!
|
tierName: String!
|
||||||
periodStart: DateTime!
|
periodStart: DateTime!
|
||||||
@@ -1095,6 +1108,28 @@ type QuotaBucketStatusGQL {
|
|||||||
canUpload: Boolean!
|
canUpload: Boolean!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type StorageStatusGQL {
|
||||||
|
userId: Int!
|
||||||
|
tierName: String!
|
||||||
|
retainedStorageUsedBytes: BigInt!
|
||||||
|
retainedStorageLimitBytes: BigInt
|
||||||
|
isUnlimited: Boolean!
|
||||||
|
policyConfigured: Boolean!
|
||||||
|
remainingStorageBytes: BigInt
|
||||||
|
storageUsageRatio: Float
|
||||||
|
isNearLimit: Boolean!
|
||||||
|
isOverLimit: Boolean!
|
||||||
|
usageCalculated: Boolean!
|
||||||
|
usageSource: String
|
||||||
|
lastCalculatedAt: DateTime
|
||||||
|
usageEstimated: Boolean!
|
||||||
|
}
|
||||||
|
|
||||||
|
"""
|
||||||
|
Integer value that can exceed GraphQL Int's 32-bit range.
|
||||||
|
"""
|
||||||
|
scalar BigInt
|
||||||
|
|
||||||
type UserPlayTimeGQL {
|
type UserPlayTimeGQL {
|
||||||
totalSeconds: Float!
|
totalSeconds: Float!
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user