# MegaFileIndex

**Kind:** Interface

**Source:** [`atloria-monorepo/packages/doc-automation/src/v2/types/mega-file.types.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/doc-automation/src/v2/types/mega-file.types.ts#L115)

Mega-file index - Enhanced version of LargeFileIndex for 600KB+ files

## Properties

| Property | Type |
|---|---|
| `isMegaFile` | `true` |
| `phaseExtractions` | `Array<{
    phase: number;
    name: string;
    tokenCount: number;
    content: string; // Extracted content for this phase
    entityNames: string[]; // Entities found in this phase
  }>` |
| `crossPhaseReferences` | `Array<{
    fromPhase: number;
    toPhase: number;
    reference: string; // Method/variable name
    type: 'calls' | 'uses' | 'extends';
  }>` |
