@dorgtech/daosmind
v0.0.1-beta6
Published
Union of all upctrl packages for alchemy
Downloads
13
Readme
@dorgtech/daoswiki
_Prtcl resources: Overview, Spec, Dev guide, API reference
This daos mind package is opinionated for alchemy, it allow us to load all the modules we need to run the wikis funcionality
Dependencies
This module depends on @uprtl/wikis
, @uprtl/documents
, @uprtl/evees
, @uprtcl/micro-orchestrator
, @uprtcl/cortex
, @uprtl/lenses
, @uprtl/common
and @uprtcl/connections
. It also depends on a redux module to be present.
Install
npm install @dorgtech/daoswiki
Usage
Import the module and call the .getInstance
method, this class is a singleton to make sure it is instanciated just once:
import { WikiContainer } from '@dorgtech/daosmind';
/*
The dispatcher is a class on alchemy that allow us to access alchemy actions, so they can be triggered from uprtcl components
*/
const dispatcher = new CustomDispatcher(wikiMethods, daoInformation)
WikiContainer.getInstance(dispatcher)