forked from holoyan/adonisjs-permissions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
26 lines (23 loc) · 947 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
|--------------------------------------------------------------------------
| Package entrypoint
|--------------------------------------------------------------------------
|
| Export values from the package entrypoint as you see fit.
|
*/
import modelRole from './src/models/model_role.js'
import modelPermission from './src/models/model_permission.js'
import permission from './src/models/permission.js'
import role from './src/models/role.js'
export const ModelRole = modelRole
export const ModelPermission = modelPermission
export const Permission = permission
export const Role = role
export { configure } from './configure.js'
export { stubsRoot } from './stubs/main.js'
export { Acl, AclManager } from './src/acl.js'
export { MorphMap, getClassPath } from './src/decorators.js'
export * as morphMapModel from './src/morph_map.js'
export { hasPermissions } from './src/mixins/has_permissions.js'
export { Scope } from './src/scope.js'