Skip to main content

CITATION_IDS

@forge/monorepo


@forge/monorepo / frontend/src / CITATION_IDS

Variable: CITATION_IDS

const CITATION_IDS: object

Defined in: frontend/src/localization.ts:101

Citation string ids (#138).

Constants rather than inline literals at the call sites, so a component cannot spell one differently from the catalogue — a mistyped id renders as the id itself, which looks like a translation gap rather than a typo.

Type Declaration

collapse

readonly collapse: "citation.collapse" = "citation.collapse"

excerpt

readonly excerpt: "citation.excerpt" = "citation.excerpt"

expand

readonly expand: "citation.expand" = "citation.expand"

grounded

readonly grounded: "citation.grounded" = "citation.grounded"

marker

readonly marker: "citation.marker" = "citation.marker"

notLinkable

readonly notLinkable: "citation.notLinkable" = "citation.notLinkable"

openSource

readonly openSource: "citation.openSource" = "citation.openSource"

retrievedAt

readonly retrievedAt: "citation.retrievedAt" = "citation.retrievedAt"

source

readonly source: "citation.source" = "citation.source"

sourceCount

readonly sourceCount: "citation.sourceCount" = "citation.sourceCount"

ungrounded

readonly ungrounded: "citation.ungrounded" = "citation.ungrounded"

unresolvable

readonly unresolvable: "citation.unresolvable" = "citation.unresolvable"