UNPKG

@directus/api

Version:

Directus is a real-time API and App dashboard for managing SQL database content

8 lines (7 loc) 342 B
import type { SnapshotDiffWithHash, SnapshotWithHash } from '@directus/types'; /** * Validates the diff against the current schema snapshot. * * @returns True if the diff can be applied (valid & not empty). */ export declare function validateApplyDiff(applyDiff: SnapshotDiffWithHash, currentSnapshotWithHash: SnapshotWithHash): boolean;