diff --git a/src/index.tsx b/src/index.tsx index 10b8109..36e6f53 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -86,6 +86,22 @@ export type BankFeaturesGql = { wallsHit: Array; }; +export type BannerGql = { + __typename?: "BannerGQL"; + color: Scalars["String"]["output"]; + dismissible: Scalars["Boolean"]["output"]; + id: Scalars["Int"]["output"]; + kind: BannerKindEnum; + message: Scalars["String"]["output"]; + priority: Scalars["Int"]["output"]; +}; + +export enum BannerKindEnum { + Error = "ERROR", + Info = "INFO", + Warning = "WARNING", +} + export type BoundingBoxGql = { __typename?: "BoundingBoxGQL"; height: Scalars["Float"]["output"]; @@ -190,6 +206,7 @@ export type DatetimeRangeAggregationInput = { export type DeployedConfigGql = { __typename?: "DeployedConfigGQL"; allowNewUsers: Scalars["Boolean"]["output"]; + bannerMessages: Array; devMode: Scalars["Boolean"]["output"]; environment: Scalars["String"]["output"]; firebase: Scalars["Boolean"]["output"]; diff --git a/src/schema.gql b/src/schema.gql index 4492026..f2c24f6 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -291,6 +291,22 @@ type DeployedConfigGQL { devMode: Boolean! environment: String! minimumAllowedAppVersion: String! + bannerMessages: [BannerGQL!]! +} + +type BannerGQL { + id: Int! + message: String! + color: String! + kind: BannerKindEnum! + dismissible: Boolean! + priority: Int! +} + +enum BannerKindEnum { + INFO + WARNING + ERROR } type VideoHistoryGQL {