Need private packages and team management tools?Check out npm Teams »

@uprtcl/common

0.0.2-alpha3 • Public • Published

@uprtcl/common

_Prtcl resources: Overview, Spec, Dev guide, API reference /)

This is a collection of common Cortex modules, developed as the starting point of many applications:

  • Entities reducer: redux module to hold any kind of content addressable object
  • Access Control: generic access control
  • Draft: generic providers to store drafts for any kind of content
  • Common patterns for entities that are hashed, signed...

Dependencies

This module depends on @uprtcl/micro-orchestrator, @uprtcl/cortex and @uprtcl/connections.

Install

npm install @uprtcl/common

_Prtcl module usage

Import the modules, instantiate them with their appropiate configuration, and load them:

import {
  AccessControlTypes,
  accessControlReduxModule,
  entitiesReduxModule,
  EntitiesTypes
} from '@uprtcl/common';
 
await orchestrator.loadModules(
  { id: EntitiesTypes.Module, module: entitiesReduxModule() },
  { id: AccessControlTypes.Module, module: accessControlReduxModule() }
);

Drafts and access control

Not yet ready

Install

npm i @uprtcl/common

DownloadsWeekly Downloads

0

Version

0.0.2-alpha3

License

MIT

Unpacked Size

355 kB

Total Files

46

Homepage

uprtcl.io

Last publish

Collaborators

  • avatar
  • avatar