diff --git a/src/index.tsx b/src/index.tsx index 453eeea..50b7a23 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -118,6 +118,11 @@ export type CueObjectFeaturesGql = { shotDirection?: Maybe; }; +export type DeployedConfigGql = { + __typename?: "DeployedConfigGQL"; + allowNewUsers: Scalars["Boolean"]["output"]; +}; + export enum DeviceTypeEnum { Android = "ANDROID", Browser = "BROWSER", @@ -255,6 +260,7 @@ export type Query = { __typename?: "Query"; getAggregatedShotMetrics: Array; getBucketSet?: Maybe; + getDeployedConfig: DeployedConfigGql; getLoggedInUser?: Maybe; getShots: Array; getUser?: Maybe; diff --git a/src/schema.gql b/src/schema.gql index ce2bc85..16034fc 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -4,6 +4,7 @@ type Query { ): [AggregateResultGQL!]! getUser(userId: Int!): UserGQL getLoggedInUser: UserGQL + getDeployedConfig: DeployedConfigGQL! getVideo(videoId: Int!): VideoGQL! getShots(filterInput: FilterInput = null): [ShotGQL!]! getBucketSet(keyName: String!): BucketSetGQL @@ -143,6 +144,10 @@ Decimal (fixed-point) """ scalar Decimal +type DeployedConfigGQL { + allowNewUsers: Boolean! +} + type VideoGQL { id: Int! owner: UserGQL