@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
10 lines (9 loc) • 342 B
TypeScript
import type { SchemaOverview } from '@directus/types';
import type { Knex } from 'knex';
import type { Snapshot, SnapshotDiff } from '../types/index.js';
export declare function applySnapshot(snapshot: Snapshot, options?: {
database?: Knex;
schema?: SchemaOverview;
current?: Snapshot;
diff?: SnapshotDiff;
}): Promise<void>;