mirror of
https://github.com/strapi/strapi.git
synced 2025-07-14 12:32:35 +00:00
25 lines
541 B
TypeScript
25 lines
541 B
TypeScript
![]() |
import { errors } from '@strapi/utils';
|
||
|
|
||
|
/**
|
||
|
* /information - get project information
|
||
|
*/
|
||
|
export declare namespace Information {
|
||
|
export interface Request {
|
||
|
body: {};
|
||
|
query: {};
|
||
|
}
|
||
|
export interface Response {
|
||
|
data: {
|
||
|
currentEnvironment: string;
|
||
|
autoReload: boolean;
|
||
|
strapiVersion: string | null;
|
||
|
dependencies: Record<string, string>;
|
||
|
projectId: string | null;
|
||
|
nodeVersion: string;
|
||
|
communityEdition: boolean;
|
||
|
useYarn: boolean;
|
||
|
};
|
||
|
error?: errors.ApplicationError;
|
||
|
}
|
||
|
}
|