UNPKG

@digicms/cms

Version:

An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite

6 lines (4 loc) 218 B
import { BaseContext, Middleware as KoaMiddleware } from 'koa'; import { Strapi } from '../../'; import { MiddlewareFactory } from '../../middlewares'; export type Middleware = KoaMiddleware | MiddlewareFactory;