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 / foldkit-guard

MeEntity

type · packages/guard/src/me.ts:26

type MeEntity = ReturnType<typeof May.member<typeof MeFields>>

Me's Entity, with may.

Previousfoldkit-guard

Edit on GitHub ↗

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

FoldkitEffectGitHub