UNPKG

strapi-ts

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: MongoDB, MySQL, MariaDB, PostgreSQL, SQLite

14 lines (9 loc) 263 B
import { DatabaseManager, Repository } from 'strapi-database'; interface Strapi { db: DatabaseManager; query(model: string, plugin: string): Repository; } export default function createStrapi(opts: any): Strapi; declare global { const strapi: Strapi; }