Skip to main content

ResolvedCitation

@forge/monorepo


@forge/monorepo / backend/src / ResolvedCitation

Type Alias: ResolvedCitation

ResolvedCitation = object

Defined in: backend/src/citations/index.ts:245

What a citation resolves to — AC-2.

Returned from the stored part alone, with no lookup, which is what makes AC-4 hold: an audit months later gets the same answer whether or not the source still exists. live says whether following it further is possible, so a reader is told "this is what was read, and the source is gone" rather than being handed a broken link.

Properties

excerpt

readonly excerpt: string

Defined in: backend/src/citations/index.ts:246


kind

readonly kind: CitationOrigin["kind"]

Defined in: backend/src/citations/index.ts:252


label

readonly label: string

Defined in: backend/src/citations/index.ts:249

Human-readable: a heading path, or a title, or the URL. What a reader sees next to the claim.


retrievedAt

readonly retrievedAt: string

Defined in: backend/src/citations/index.ts:247


target

readonly target: string

Defined in: backend/src/citations/index.ts:251

Where to go, if anywhere. A chunk id for retrieval, the URL for web.