types/vocabulary.types.ts
types/vocabulary.types.ts is a file in GovLab Context. 10 lines of code and 3 definitions.
export interface VocabularyEntry<T extends string = string> {
readonly definition: string;
readonly value: T;
}
export interface ClosedVocabulary {
readonly entries: readonly VocabularyEntry[];
readonly id: string;
readonly relation: string;
}
export type ForceKind = "anti-force" | "force" | "unknown";