F+Foldkit Plus
HomeLearnPackagesComponentsDemosGitHub ↗

Entity

Guides

foldkit-entity

  • Overview
  • What it owns
  • Mental model
  • Sixty seconds: describe one read
  • Relations and derived values
  • Ids of their own
  • Selecting a view
  • Attaching metadata
  • Saying something about a row: Expr
  • Reading an operation's input
  • Declaring what an input writes
  • What every row and change must hold: invariants
  • Naming a question: operators
  • API
  • Limits

One domain declaration

  • Overview
  • Who owns what
  • The shape of it

Operators

  • Overview
  • Who owns what
  • The mental model
  • A sixty-second path: a rule named once
  • Build outward
  • Failure and recovery
  • Limits

API

  • foldkit-entity
  • foldkit-entity/conformance

Open source, MIT
Foldkit 0.168 · Effect 4

Entity / foldkit-entity

ContextValue

type · packages/entity/src/sets.ts:14

type ContextValue =
  ViewerExpr<unknown> | ViewerPathExpr<unknown> | NowExpr<unknown>

A value the write's context gives: who asks, what their row holds, or when.

Previousfoldkit-entity

Edit on GitHub ↗

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

FoldkitEffectGitHub