permix
Version:
Permix is a lightweight, framework-agnostic, type-safe permissions management library for JavaScript applications on the client and server sides.
2 lines • 1.14 kB
text/typescript
import { A as Definition, C as Rules, D as Action, E as hydrateRules, O as ActionName, S as DehydratedState, T as dehydrateRules, _ as PermixHooks, a as PermixForbiddenError, b as SpecialSymbol, c as PermixRuleNotDefinedError, d as callRuleWithoutData, f as createCheck, g as Permix, h as DataAtPath, i as PermixError, j as ValidateDefinition, k as ActionSpec, l as CheckArgs, m as CheckerFn, n as MergePermix, o as PermixNotFoundError, p as createCheckContext, r as createHooks, s as PermixNotReadyError, t as createTemplate, u as CheckContext, v as RulesPaths, w as createRules, x as createPermix, y as SpecialPath } from "../index-Ck271FWs.mjs";
export { type Action, type ActionName, type ActionSpec, CheckArgs, CheckContext, CheckerFn, DataAtPath, type Definition, DehydratedState, type MergePermix, Permix, PermixError, PermixForbiddenError, PermixHooks, PermixNotFoundError, PermixNotReadyError, PermixRuleNotDefinedError, Rules, RulesPaths, SpecialPath, SpecialSymbol, type ValidateDefinition, callRuleWithoutData, createCheck, createCheckContext, createHooks, createPermix, createRules, createTemplate, dehydrateRules, hydrateRules };