@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
9 lines (8 loc) • 429 B
TypeScript
import type { SchemaOverview, Snapshot, SnapshotDiff, SnapshotField } from '@directus/types';
import type { Diff } from 'deep-diff';
import type { Knex } from 'knex';
export declare function applyDiff(currentSnapshot: Snapshot, snapshotDiff: SnapshotDiff, options?: {
database?: Knex;
schema?: SchemaOverview;
}): Promise<void>;
export declare function isNestedMetaUpdate(diff: Diff<SnapshotField | undefined>): boolean;