@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
14 lines (13 loc) • 526 B
TypeScript
import type { AbstractServiceOptions, Accountability, SchemaOverview } from '@directus/types';
import type { Knex } from 'knex';
import { SettingsService } from './settings.js';
export declare class ServerService {
knex: Knex;
accountability: Accountability | null;
settingsService: SettingsService;
schema: SchemaOverview;
constructor(options: AbstractServiceOptions);
isSetupCompleted(): Promise<boolean>;
serverInfo(): Promise<Record<string, any>>;
health(): Promise<Record<string, any>>;
}