Member Junction
    Preparing search index...

    Performs comprehensive deletion auditing across all metadata files Identifies all records that need to be deleted, in what order, and potential issues

    Index

    Constructors

    Methods

    • Perform comprehensive deletion audit across all metadata files

      This analyzes:

      1. Which records are explicitly marked for deletion
      2. Which records must be implicitly deleted (due to FK constraints)
      3. Database-only references that will prevent deletion
      4. Correct deletion order (reverse topological sort)
      5. Circular dependencies

      Parameters

      • allRecords: FlattenedRecord[]

        All flattened records from all metadata files

      • deleteDbOnly: boolean = false

        If true, includes database-only references in the deletion levels

      Returns Promise<DeletionAudit>

      Complete deletion audit