Module

Yoga.Config.Types

Package
purescript-yoga-config
Repository
rowtype-yoga/purescript-yoga-config

#Duration Source

newtype Duration

A duration parsed from strings like "500ms", "5s", "10m", "2h", "1d"

Constructors

Instances

#Bytes Source

newtype Bytes

Bytes parsed from strings like "100B", "10KB", "5MB", "2GB", "1TB"

Constructors

Instances

#Port Source

newtype Port

A port number (0-65535), parsed from an integer

Constructors

Instances

#Secret Source

newtype Secret a

A secret value that masks itself in Show to prevent accidental logging. Use revealSecret to access the underlying value.

Instances

#mkSecret Source

mkSecret :: forall a. a -> Secret a

#revealSecret Source

revealSecret :: forall a. Secret a -> a

#NonBlank Source

newtype NonBlank

A non-blank string (not empty, not just whitespace).

Instances

#bytesToNumber Source