/**
 * Controls Library - Merged Array
 *
 * Assembles all domain-specific control arrays into the single CONTROLS_LIBRARY.
 * This file exists to avoid circular imports between the barrel and helpers.
 */

import { Control } from '../types'

import {
  TRANSFER_CONTROLS,
  AUDIT_CONTROLS,
  DELETION_CONTROLS,
  INCIDENT_CONTROLS,
} from './controls-data-compliance'

import {
  SUBPROCESSOR_CONTROLS,
  TOM_CONTROLS,
  CONTRACT_CONTROLS,
  DATA_SUBJECT_CONTROLS,
  SECURITY_CONTROLS,
  GOVERNANCE_CONTROLS,
} from './controls-data-operations'

export const CONTROLS_LIBRARY: Control[] = [
  ...TRANSFER_CONTROLS,
  ...AUDIT_CONTROLS,
  ...DELETION_CONTROLS,
  ...INCIDENT_CONTROLS,
  ...SUBPROCESSOR_CONTROLS,
  ...TOM_CONTROLS,
  ...CONTRACT_CONTROLS,
  ...DATA_SUBJECT_CONTROLS,
  ...SECURITY_CONTROLS,
  ...GOVERNANCE_CONTROLS,
]
