mirror of
https://github.com/strapi/strapi.git
synced 2025-08-05 15:29:04 +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 type Koa from 'koa';
|
||||||
|
import { Database } from '@strapi/database';
|
||||||
|
|
||||||
import type { StringMap } from './utils';
|
import type { StringMap } from './utils';
|
||||||
import type { GenericController } from '../core-api/controller'
|
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 util used to collect anonymous data on the application usage
|
||||||
*/
|
*/
|
||||||
telemetry: any;
|
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 {
|
export interface Lifecycles {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user