diff --git a/lib/types/concept-scheme.ts b/lib/types/concept-scheme.ts index ac32e06f5..afdf38a4c 100644 --- a/lib/types/concept-scheme.ts +++ b/lib/types/concept-scheme.ts @@ -1,4 +1,4 @@ -import { Link } from './link' +import { UnresolvedLink } from './link' import { LocaleCode } from './locale' type ISODateString = string @@ -22,8 +22,8 @@ export interface ConceptScheme { [locale in Locales]: string } | null - topConcepts: Link<'TaxonomyConcept'>[] - concepts: Link<'TaxonomyConcept'>[] + topConcepts: UnresolvedLink<'TaxonomyConcept'>[] + concepts: UnresolvedLink<'TaxonomyConcept'>[] totalConcepts: number } diff --git a/lib/types/concept.ts b/lib/types/concept.ts index 45691be84..652f0b475 100644 --- a/lib/types/concept.ts +++ b/lib/types/concept.ts @@ -1,4 +1,4 @@ -import { Link } from './link' +import { UnresolvedLink } from './link' import { LocaleCode } from './locale' type ISODateString = string @@ -59,8 +59,8 @@ export interface Concept { } | null notations?: string[] - broader?: Link<'TaxonomyConcept'>[] - related?: Link<'TaxonomyConcept'>[] + broader?: UnresolvedLink<'TaxonomyConcept'>[] + related?: UnresolvedLink<'TaxonomyConcept'>[] } export type ConceptCollection = {