mirror of
https://github.com/strapi/strapi.git
synced 2025-08-05 07:16:02 +00:00
Add missing properties to the Strapi Interface
This commit is contained in:
parent
2bb361eeec
commit
51a40e3966
@ -1,4 +1,5 @@
|
||||
import type Koa from 'koa';
|
||||
import { Database } from '@strapi/database';
|
||||
|
||||
import type { StringMap } from './utils';
|
||||
import type { GenericController } from '../core-api/controller'
|
||||
@ -335,6 +336,26 @@ export interface Strapi {
|
||||
* Telemetry util used to collect anonymous data on the application usage
|
||||
*/
|
||||
telemetry: any;
|
||||
|
||||
/**
|
||||
* Strapi DB layer instance
|
||||
*/
|
||||
db: Database;
|
||||
|
||||
/**
|
||||
* Core Store accessor
|
||||
*/
|
||||
store: any;
|
||||
|
||||
/**
|
||||
* Entity Validator instance
|
||||
*/
|
||||
entityValidator: any;
|
||||
|
||||
/**
|
||||
* Entity Service instance
|
||||
*/
|
||||
entityService: any;
|
||||
}
|
||||
|
||||
export interface Lifecycles {
|
||||
|
Loading…
x
Reference in New Issue
Block a user