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
  • Diagnostics
  • Who is asking
  • What the client may do
  • Who the client is: Me
  • When a rule refuses
  • Sync
  • Agents
  • Uploads
  • Limits

API

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

Open source, MIT
Foldkit 0.168 · Effect 4

Guard / foldkit-guard/server

GuardDiagnostic

type · packages/guard/src/diagnostics.ts:32

type GuardDiagnostic = ComputeRefused | UnpinnedWrites

Every diagnostic foldkit-guard reports.

Previousfoldkit-guard/server

Edit on GitHub ↗

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

FoldkitEffectGitHub