@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
11 lines (10 loc) • 381 B
TypeScript
import type { SchemaOverview } from '@directus/types';
import type { Knex } from 'knex';
export declare function getSchema(options?: {
database?: Knex;
/**
* To bypass any cached schema if bypassCache is enabled.
* Used to ensure schema snapshot/apply is not using outdated schema
*/
bypassCache?: boolean;
}, attempt?: number): Promise<SchemaOverview>;