F+Foldkit Plus
HomeLearnPackagesComponentsDemosGitHub ↗

Guard

Guides

  • Overview
  • What it owns, and what it does not
  • Mental model
  • Sixty seconds
  • Attaching guards to an Entity
  • Deciding reads and writes
  • Serving reads
  • Serving writes
  • Checking a server at startup
  • Who is asking
  • What the client may do
  • Who the client is: Me
  • When a rule refuses
  • Sync
  • Agents
  • Limits

API

  • foldkit-guard
  • foldkit-guard/server
  • foldkit-guard/drizzle
  • foldkit-guard/agent
  • foldkit-guard/sync

Open source, MIT
Foldkit 0.168 · Effect 4

Guard / API

foldkit-guard/server

A guard set's read rules as foldkit-remote-server's seams: an EntitySource.filter from each member's Read rule, and RemoteServer.memory's readable and filter from the row's, and a check at startup that a server applies them. A subpath, so the shared declaration the browser imports never brings the server along.

Namespaces

GuardServer
Previousfoldkit-guardNextfoldkit-guard/drizzle

On this page

  • Namespaces

Edit on GitHub ↗

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

FoldkitEffectGitHub