@sheerid/jslib-nightly
Version:
SheerID JavaScript Library
20 lines (19 loc) • 915 B
TypeScript
/**
* Flags is our TS modeling of the flags provided by Launch Darkly.
* our hooks use this to know what is available.
*/
export type Flags = {
"doc-upload-redesign-use-legacy-message-keys": boolean;
"doc-upload-may24": "default" | "control" | "checkbox-requirements" | "doc-type-icons";
"include-cvec-field-france-student": "default" | "control" | "labeled-optional" | "not-labeled-optional";
"docUpload-assertion-checklist": "default" | "control" | "checklist";
"doc-upload-considerations": "default" | "control" | "add-doc-considerations";
"org-selected-display": "default" | "control" | "box-display";
"org-search-overlay": "default" | "control" | "overlay";
};
/**
* These are flag defaults they are passed into the LD flag provider and
* populate the provider before LD's responses come back.
*/
export declare const flagDefaults: Flags;
export type FlagNames = keyof Flags;