syntax = "proto3";

package config;

message FrontendConfig {
  // The version of this buildbuddy instance.
  string version = 1;

  // The issuers configured by the backend.
  repeated string configured_issuers = 2;

  // Whether to default to Dense UI mode.
  bool default_to_dense_mode = 3;

  // Whether Github linking is enabled.
  bool github_enabled = 4;

  // Whether anonymous usage is enabled.
  bool anonymous_usage_enabled = 5;

  // Whether or not the test dashboard is enabled.
  bool test_dashboard_enabled = 6;

  // Whether user owned executors feature is enabled.
  bool user_owned_executors_enabled = 7;

  // Whether executor keys can be created.
  bool executor_key_creation_enabled = 8;

  // Whether workflows are enabled.
  bool workflows_enabled = 9;

  // Whether code editor is enabled.
  bool code_editor_enabled = 10;

  // Whether code editor is enabled.
  bool chunked_event_logs_enabled = 11;

  // Whether remote execution is enabled.
  bool remote_execution_enabled = 12;

  // Whether or not SSO is enabled.
  bool sso_enabled = 13;

  // Whether or not the global invocation filter is enabled.
  bool global_filter_enabled = 14;

  // Whether or not the usage page is enabled.
  bool usage_enabled = 15;

  // Whether or not user management is enabled.
  bool user_management_enabled = 16;

  // Whether Darwin (macOS) executors must be self-hosted.
  bool force_user_owned_darwin_executors = 17;

  // Whether test grid V2 is enabled.
  bool test_grid_v2_enabled = 18;
}
