Skip to content
TypeWire

@tahanabavi/type-permission

v0.1.0

Framework-less, dependency-free capability permissions: one shared bit map, evaluated identically on client and server, with layered resolution, codecs, a lock file and contract-linkable requirements.

Exports

definePermissions · createStore · createResolver, plus the Permissions, FlagDef, PermissionTree, FlagName, Layer, PermissionRequirement, AuthorizeDecision, Observable, StoreSnapshot, Codec, Encoded, Lock, LockViolation, CatalogEntry, and ExplainResult types.

License

MIT © Taha Nabavi