Module

InteractiveData.Core.Types.DataTree

Package
purescript-interactive-data
Repository
thought2/purescript-interactive-data.all

#DataTree Source

newtype DataTree :: (Type -> Type) -> Type -> Typenewtype DataTree srf msg

Constructors

Instances

#DataTreeChildren Source

data DataTreeChildren :: (Type -> Type) -> Type -> Typedata DataTreeChildren srf msg

Constructors

Instances

#TreeMeta Source

type TreeMeta = { errored :: DataResult Unit, typeName :: String }

#digTrivialTrees Source

digTrivialTrees :: forall srf msg. DataPath -> DataTree srf msg -> Array (DataPath /\ (DataTree srf msg))

A trivial tree is a) a tree with no children (leaf) b) a tree with a single "field" child c) a tree with a "case" child

#find Source

find :: forall srf msg. DataPath -> DataTree srf msg -> Maybe (DataTree srf msg)

#hasNoChildren Source

hasNoChildren :: forall srf msg. DataTree srf msg -> Boolean

#mapMetadataAlongPath Source

#setChildren Source

setChildren :: forall srf msg. DataTreeChildren srf msg -> DataTree srf msg -> DataTree srf msg
Modules
InteractiveData
InteractiveData.App
InteractiveData.App.EnvVars
InteractiveData.App.FastForward.Inline
InteractiveData.App.FastForward.Standalone
InteractiveData.App.Routing
InteractiveData.App.Types
InteractiveData.App.UI.ActionButton
InteractiveData.App.UI.Assets
InteractiveData.App.UI.Body
InteractiveData.App.UI.Breadcrumbs
InteractiveData.App.UI.Card
InteractiveData.App.UI.DataLabel
InteractiveData.App.UI.Footer
InteractiveData.App.UI.Header
InteractiveData.App.UI.Layout
InteractiveData.App.UI.Menu
InteractiveData.App.UI.NotFound
InteractiveData.App.UI.SideBar
InteractiveData.App.UI.Types.SumTree
InteractiveData.App.WrapApp
InteractiveData.App.WrapData
InteractiveData.Class
InteractiveData.Class.Defaults
InteractiveData.Class.Defaults.Generic
InteractiveData.Class.Defaults.Record
InteractiveData.Class.Defaults.Variant
InteractiveData.Class.InitDataUI
InteractiveData.Class.Partial
InteractiveData.Core
InteractiveData.Core.Classes.IDHtml
InteractiveData.Core.Classes.OptArgs
InteractiveData.Core.FeatureFlags
InteractiveData.Core.Prelude
InteractiveData.Core.Types.Common
InteractiveData.Core.Types.DataAction
InteractiveData.Core.Types.DataPathExtra
InteractiveData.Core.Types.DataTree
InteractiveData.Core.Types.IDHtmlT
InteractiveData.Core.Types.IDOutMsg
InteractiveData.Core.Types.IDSurface
InteractiveData.Core.Types.IDViewCtx
InteractiveData.Core.Util.RecordProjection
InteractiveData.DataUIs
InteractiveData.DataUIs.Array
InteractiveData.DataUIs.Boolean
InteractiveData.DataUIs.Common
InteractiveData.DataUIs.Generic
InteractiveData.DataUIs.Int
InteractiveData.DataUIs.Json
InteractiveData.DataUIs.Newtype
InteractiveData.DataUIs.Number
InteractiveData.DataUIs.Record
InteractiveData.DataUIs.String
InteractiveData.DataUIs.Trivial
InteractiveData.DataUIs.Types
InteractiveData.DataUIs.Variant
InteractiveData.Entry
InteractiveData.Run
InteractiveData.UI.NumberInput
InteractiveData.UI.Slider