Help teams manage content creation and approval in a clear and structured way
Hygraph
Docs

#Constants

Constants are predefined, unchanging values that are used throughout the framework to ensure consistency and reliability.

NameDescriptionTypeValues
ToastVariantColorPossible toast colorsstringsuccess, error, warning, info, primary, dark, publish
ToastPositionPosition of the toast on the screenstringtop-right, top-center, top-left, bottom-right, bottom-center, bottom-left
StageColorPaletteColor palette for the stage interfacestringPINK, PURPLE, ORANGE, RED, BROWN, TEAL, GREEN, YELLOW
UserKindKind of userstringMEMBER, PAT, PUBLIC, WEBHOOK
FieldExtensionTypeData type the field is expected to storestringSTRING, RICHTEXT, INT, FLOAT, BOOLEAN, JSON, DATETIME, DATE, LOCATION, COLOR, ENUMERATION, RELATION, ASSET, UNION
FieldExtensionFeatureHow the field should be renderedstringFieldRenderer, ListRenderer, TableRenderer
AppInstallationStatusApp installation statusstringCOMPLETED, DISABLED, PENDING
ColorPalettePossible palette colorsstringPINK, PURPLE, ORANGE, RED, BROWN, TEAL, GREEN, YELLOW