Josh 14ef2b7c24
chore(admin): convert ProfilePage and re-use server driven types (#18593)
* chore(admin): convert ProfilePage and re-use server driven types

* chore: fix tests

* chore: fix double export from types

* fix: type isSSOLocked endpoint
2023-10-30 12:17:27 +00:00

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;
}
}