UNPKG

vue-nuxt-permission

Version:

A unified permission system for Vue 3 and Nuxt 3 / Nuxt 4 with directives, guards, and async support.

15 lines 1.07 kB
export { configurePermission, getCurrentPermissions, isDevMode, getDecryptHook, setDecryptHook, } from './core/config'; export { hasPermission } from './core/evaluator'; export { getCachedPermission, setCachedPermission, clearPermissionCache, invalidateCache, } from './core/cache'; export * from './utils/helpers'; export * from './utils/storage'; export * from './utils/debug'; export { createPermissionCrypto, createPermissionDecryptor, } from './crypto'; export type { EncryptedPayload, PermissionCrypto } from './crypto'; export { default as PermissionPlugin } from './plugin'; export { vPermission } from './directives/v-permission'; export { globalGuard } from './guards/globalGuard'; export { createPermissionGuard } from './guards/createGuard'; export { usePermission } from './composables/usePermission'; export type { PermissionMode, PermissionValue, PermissionObject, PermissionsArray, GlobalConfig, ConfigurePermissionOptions, PluginOptions, PermissionRoute, GuardOptions, AuthState, DecryptHook, } from './types/index'; //# sourceMappingURL=index.d.ts.map