Skip to main content

Type Utilities

Color Types

  • ColorEntry
  • ColorNumber
  • ColorSwatch
  • ColorPalette
  • ColorSwatchWithDelta
  • NearestColorPalette
  • MatchedColorPalette

Deep Keys

  • DeepKeys

Useful for table dataIndex, form paths, and type-safe deep object access.

General Type Utilities

Common exports include:

  • Key
  • Awaitable
  • MaybeArray
  • MaybeNull
  • MaybeUndefined
  • AnyObject
  • EmptyObject
  • Except
  • If
  • And
  • Or
  • Not
  • IterableElement
  • LiteralUnion
  • PartialDeep
  • RequiredDeep
  • SetOptional
  • SetRequired
  • SetReadonly
  • SetFieldType
  • SetReturnType
  • SetParameterType
  • Simplify
  • SimplifyDeep

These are used widely across core, components, and starter.