mirror of
https://github.com/strapi/strapi.git
synced 2025-08-11 10:18:28 +00:00
28 lines
586 B
TypeScript
28 lines
586 B
TypeScript
import { Database } from '@strapi/database';
|
|
import { EntityService } from './services/entity-service';
|
|
import { Strapi as StrapiClass } from './Strapi';
|
|
|
|
export * as factories from './factories';
|
|
interface StrapiInterface extends StrapiClass {
|
|
query: Database['query'];
|
|
entityService: EntityService;
|
|
}
|
|
|
|
export type Strapi = StrapiInterface;
|
|
|
|
declare global {
|
|
interface AllTypes {}
|
|
}
|
|
|
|
declare global {
|
|
export interface Global {
|
|
strapi: StrapiInterface;
|
|
}
|
|
|
|
export type Strapi = StrapiInterface;
|
|
|
|
const strapi: StrapiInterface;
|
|
}
|
|
|
|
export default function(opts): Strapi;
|