# types/journal.types.ts

> 14 lines of code and 3 definitions.

Tree: Bane's Lab Build Scripts
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/build-scripts#file-build-scripts-types-journal-types-ts
Source text: https://banes-lab.com/source/build-scripts/types/journal.types.ts.txt

Listed in [types](https://banes-lab.com/api/source/build-scripts/types.md), after [types/index.types.ts](https://banes-lab.com/source/build-scripts/types/index.types.ts.md) and before [types/learning.types.ts](https://banes-lab.com/source/build-scripts/types/learning.types.ts.md).

## Definitions

- `JournalRef` (interface_declaration, line 1, exported)
- `Tombstone` (interface_declaration, line 8, exported)
- `Journal` (interface_declaration, line 13, exported)

## Contained in

- [types](https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-types.md)

## Source

```typescript
export interface JournalRef {
    readonly fingerprint: string;
    readonly json: string;
    readonly kind: string;
    readonly title: string;
}

export interface Tombstone {
    readonly json: string;
    readonly to: string | null;
}

export interface Journal {
    readonly moved: Readonly<Record<string, Tombstone>>;
    readonly refs: Readonly<Record<string, JournalRef>>;
}
```
