UNPKG

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.11 kB
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-BYcbfVQ7.mjs"; export { Action, ActionName, ActionSpec, CheckArgs, CheckContext, CheckerFn, DataAtPath, Definition, DehydratedState, MergePermix, Permix, PermixError, PermixForbiddenError, PermixHooks, PermixNotFoundError, PermixNotReadyError, PermixRuleNotDefinedError, Rules, RulesPaths, SpecialPath, SpecialSymbol, ValidateDefinition, callRuleWithoutData, createCheck, createCheckContext, createHooks, createPermix, createRules, createTemplate, dehydrateRules, hydrateRules };