* @janhq/plugin-core module * refactor web to use exported services from module * refactor data-plugin to provide DAL & move model logics to model management plugin * model-management in TS * add ci auto package, increate version, and publish to npm repository * chore: storage operations * chore: hybrid data-plugin esm & cjs module * chore: PouchDB Driver * chore: documentation --------- Co-authored-by: Hien To <hien@jan.ai> Co-authored-by: Service Account <service@jan.ai>
9 lines
162 B
TypeScript
9 lines
162 B
TypeScript
import { store } from "./storeService";
|
|
export const setupCoreServices = () => {
|
|
if (!window.corePlugin) {
|
|
window.corePlugin = {
|
|
store,
|
|
};
|
|
}
|
|
};
|