@oberoncms/core
Version:
OberonCMS is a cloud deployable CMS written in typescript based on the Puck visual editor
17 lines (16 loc) • 453 B
JavaScript
import "./adapter/dotenv.js";
import { NotImplementedError } from "./lib/dtd.js";
import { mockPlugin } from "./adapter/mock-plugin.js";
import { initOberon } from "./adapter/init-oberon.js";
function notImplemented(action) {
return () => {
throw new NotImplementedError(
`No oberon plugin provided for ${action} action, please check your oberon adapter configuration.`
);
};
}
export {
initOberon,
mockPlugin,
notImplemented
};