UNPKG

scrivito

Version:

Scrivito is a professional, yet easy to use SaaS Enterprise Content Management Service, built for digital agencies and medium to large businesses. It is completely maintenance-free, cost-effective, and has unprecedented performance and security.

10 lines (7 loc) 269 B
import { InternalError } from 'scrivito_sdk/common'; import { uiAdapter } from './ui_adapter'; /** get the uiAdapter, if you are sure that you in inside the UI */ export function presentUiAdapter() { if (!uiAdapter) throw new InternalError(); return uiAdapter; }