WorkIdentityResolution
Import from: @xbbg/xnews
Defined in: src/types.ts (declaration: types.d.ts:590)
Outcome of resolving a record's identifiers against an authoritative catalog. matched is set only when the best candidate met the confidence floor; candidates is always populated so callers can review near misses.
Properties
candidates
readonlycandidates: readonlyWorkIdentityCandidate[]
Defined in: src/types.ts (declaration: types.d.ts:593)
error?
readonlyoptionalerror?:ProviderError
Defined in: src/types.ts (declaration: types.d.ts:603)
Set when status is error or disabled.
identity
readonlyidentity:WorkIdentity
Defined in: src/types.ts (declaration: types.d.ts:591)
matched?
readonlyoptionalmatched?:WorkRecord
Defined in: src/types.ts (declaration: types.d.ts:592)
status
readonlystatus:ProviderStatus
Defined in: src/types.ts (declaration: types.d.ts:601)
Status of the authoritative lookup. error and disabled mean the catalog never answered, so an absent matched states nothing about whether the work exists — distinguishing that from a genuine no-match is why this is not left to warning prose.
warnings
readonlywarnings: readonlystring[]
Defined in: src/types.ts (declaration: types.d.ts:594)
