This repository has been archived on 2026-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
ServerFileManager/backend/src/healthcheck.ts

11 lines
354 B
TypeScript

/**
* @desc Interface for creating and returning a healthcheck
* @prop health {string} The status of the server.
* @prop errors {string[]} If there are any errors, they're here.
* @prop directory_found {boolean} Can the server find the root.
*/
export interface Healthcheck {
health: string;
errors: string[];
directory_found: boolean;
}