Skip to main content

DefinitionTextProblemKind

What checkDefinitionTexts found wrong with one key:

This is a type alias exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { DefinitionTextProblemKind } from "@mapcairn/core";

type DefinitionTextProblemKind = "missing" | "blank" | "unused";

Description​

  • missing: a definition uses the key and the catalogue has no entry of its own for it, so the source text is shown in every language.
  • blank: the catalogue's entry is blank or not text, so the source text is shown and resolveText warns.
  • unused: the catalogue has an entry that none of the definitions uses.

Source: packages/core/src/messages/checkDefinitionTexts.ts:15