TypeScript types defining feature flag sections, statuses, definitions, and runtime state for Hasura console UI.
// Source: https://github.com/hasura/graphql-engine | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
export type FeatureFlagSections =
| 'api'
| 'data'
| 'actions'
| 'remote schemas'
| 'events'
| 'monitoring'
| 'settings';
export type FeatureFlagStatus =
'alpha' | 'beta' | 'release candidate' | 'stable' | 'experimental';
export type FeatureFlagId = string;
export interface FeatureFlagDefinition {
id: FeatureFlagId;
title: string;
description: string;
section: FeatureFlagSections;
status: FeatureFlagStatus;
discussionUrl: string;
defaultValue: boolean;
}
export interface FeatureFlagState {
id: FeatureFlagId;
enabled: boolean;
enableDate?: Date
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key