mirror of
https://github.com/strapi/strapi.git
synced 2025-08-12 02:38:21 +00:00
14 lines
263 B
TypeScript
14 lines
263 B
TypeScript
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;
|
|
}
|