# types/record.types.ts

> 13 lines of code and 3 definitions.

Tree: Site tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/tree#file-types-record-types-ts
Source text: https://banes-lab.com/source/tree/types/record.types.ts.txt

Listed in [types](https://banes-lab.com/api/source/tree/types.md), after [types/reason.types.ts](https://banes-lab.com/source/tree/types/reason.types.ts.md) and before [types/reference.types.ts](https://banes-lab.com/source/tree/types/reference.types.ts.md).

## Definitions

- `AnatomyRecords` (interface_declaration, line 3, exported)
- `SourceEntry` (interface_declaration, line 8, exported)
- `AnatomyIndex` (interface_declaration, line 13, exported)

## Source

```typescript
import type { ReferenceRecord } from "#types/reference.types";

export interface AnatomyRecords {
    readonly definitions: Readonly<Record<string, ReferenceRecord>>;
    readonly node: ReferenceRecord;
}

export interface SourceEntry {
    readonly references: string | null;
    readonly source: string;
}

export interface AnatomyIndex {
    readonly nodes: Readonly<Record<string, string>>;
    readonly sources: Readonly<Record<string, SourceEntry>>;
}
```
