F+Foldkit Plus
HomeLearnPackagesComponentsPrimitivesDemosBlogGitHub ↗

Entity

Guides

foldkit-entity

  • Overview
  • Where to go next
  • Relations and derived values
  • Ids of their own
  • Selecting a view
  • Attaching metadata
  • Saying something about a row: Expr
  • Rows of several shapes: variants
  • Reading an operation's input
  • Declaring what an input writes
  • What every row and change must hold: invariants
  • States of a row, and what every write does to them
  • Naming a question: operators
  • Limits
  • Summary of exports

One domain declaration

  • Overview
  • Who owns what across the domain
  • How one domain feeds the server, client, and checks
  • One rule, three readers
  • Building one domain, layer by layer
  • How refusals map back to declarations
  • When to use another approach
  • Next

Expressions

  • Overview
  • Where you write an expression and who answers it
  • How three interpreters share one expression
  • A first query and its answer
  • Three interpreters, one answer
  • The expression language
  • When an expression fails or refuses
  • Limits
  • Reference

Laws

  • Overview
  • A first check with Laws.check
  • Where does a rule go
  • Choosing the right rule in authoring order
  • Reading Laws.check findings and repairs
  • Proving laws are kept with Graph.validate
  • Asking before sending: Data.can
  • Failure and recovery
  • When a rule depends on the past, store the fact
  • Limits

Operators

  • Overview
  • Who owns what
  • A first named rule: listed
  • Searching prefixes with Text.startsWith
  • An operator of your own
  • Writing a computed value
  • Testing operator laws and parity
  • Failure and recovery

API

  • foldkit-entity
  • foldkit-entity/conformance

Open source, MIT
Foldkit 0.170 · Effect 4

Entity / foldkit-entity

LawEntry

type · packages/entity/src/laws.ts:37

type LawEntry = WriteEntry | FootprintEntry
Previousfoldkit-entity

Edit on GitHub ↗

This site is a Foldkit Plus application, rendered at build time with foldkit-ssr. Its source

FoldkitEffectGitHub

Menu

HomeLearnPackagesComponentsPrimitivesDemosBlogGitHub ↗

Entity

Guides

foldkit-entity
  • Overview
  • Where to go next
  • Relations and derived values
  • Ids of their own
  • Selecting a view
  • Attaching metadata
  • Saying something about a row: Expr
  • Rows of several shapes: variants
  • Reading an operation's input
  • Declaring what an input writes
  • What every row and change must hold: invariants
  • States of a row, and what every write does to them
  • Naming a question: operators
  • Limits
  • Summary of exports
One domain declaration
  • Overview
  • Who owns what across the domain
  • How one domain feeds the server, client, and checks
  • One rule, three readers
  • Building one domain, layer by layer
  • How refusals map back to declarations
  • When to use another approach
  • Next
Expressions
  • Overview
  • Where you write an expression and who answers it
  • How three interpreters share one expression
  • A first query and its answer
  • Three interpreters, one answer
  • The expression language
  • When an expression fails or refuses
  • Limits
  • Reference
Laws
  • Overview
  • A first check with Laws.check
  • Where does a rule go
  • Choosing the right rule in authoring order
  • Reading Laws.check findings and repairs
  • Proving laws are kept with Graph.validate
  • Asking before sending: Data.can
  • Failure and recovery
  • When a rule depends on the past, store the fact
  • Limits
Operators
  • Overview
  • Who owns what
  • A first named rule: listed
  • Searching prefixes with Text.startsWith
  • An operator of your own
  • Writing a computed value
  • Testing operator laws and parity
  • Failure and recovery

API

  • foldkit-entity
  • foldkit-entity/conformance

Open source, MIT
Foldkit 0.170 · Effect 4