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

About

interface · packages/guard/src/index.ts:36

interface About {
  readonly interaction: string
}

What a principal guard is asked about.

Members

About.interaction#

property · packages/guard/src/index.ts:38

readonly interaction: string

The interaction attempted: Read, Update, or one the application names.

Previousfoldkit-guard

On this page

  • interaction

Edit on GitHub ↗

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

FoldkitEffectGitHub