Module: Fasti::Config::Types
- Defined in:
- lib/fasti/config/types.rb
Overview
Configuration types using dry-types and TIntMe types
Provides type definitions for configuration values with automatic coercion and validation. Style-related types are inherited from TIntMe for consistency and enhanced functionality.
Constant Summary collapse
- Format =
Calendar display format
Coercible::Symbol.constrained( included_in: i[month quarter year] )
- StartOfWeek =
Week start day
Coercible::Symbol.constrained( included_in: i[sunday monday tuesday wednesday thursday friday saturday] )
- Country =
Country code for holiday detection
Coercible::Symbol
- StyleTarget =
Style target names
Coercible::Symbol.constrained( included_in: i[sunday monday tuesday wednesday thursday friday saturday holiday today] )
- Color =
NamedColorCoercion | HexColorString
- UnderlineOption =
Params::Bool.optional | Coercible::Symbol.constrained(included_in: TINTME_UNDERLINE_SYMBOLS)