Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / CreateGuardOptions

Type Alias: CreateGuardOptions

ts
type CreateGuardOptions = 
  | {
  tier: "pure";
}
  | {
  tier: "side-effecting-no-memory";
}
  | {
  tier: "memory-aware";
} & ApiBoundaryGuardOptions
  | {
  tier: "unknown";
} & AuditOnlyGuardOptions
  | {
  tier: "untrusted";
} & StrictFullGuardOptions;

Defined in: packages/security/src/guard/factory.ts:20

Tier-tagged options union. 'memory-aware' requires the call-path recorder; the other tiers only take optional metadata.

Stable