0.0.9 • Published 2 years ago
musex-permission-tool v0.0.9
use 🐣 rollup-starter to build
Usage
npm i musex-permission-tool
to install
// import permissions and caculate function first
import {ContentAdapterPermission, getContentAdapterPermissions} from "musex-permission-tool"
// then caculate what permission you need
const permissions = getContentAdapterPermissions([ContentAdapterPermission.PUBLISH_CONTENT, ContentAdapterPermission.UPDATE_BY_AUTHOR])
License
Released under the AGPL-3.0