Skip to content

Commit

Permalink
Merge pull request #65 from biothings/kl-at
Browse files Browse the repository at this point in the history
Provide knowledge_level/agent_type in Record
  • Loading branch information
tokebe authored Apr 12, 2024
2 parents 4fe3dec + 326e6e8 commit 863be94
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,14 @@ export class Record {
get publications(): string[] {
return this.mappedResponse.publications || [];
}

get knowledge_level(): string | undefined {
return this.association.knowledge_level;
}

get agent_type(): string | undefined {
return this.association.agent_type;
}
}

export interface FrozenRecord {
Expand Down

0 comments on commit 863be94

Please sign in to comment.