Skip to content

Commit

Permalink
feat: provide knowledge_level/agent_type in Record
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Apr 11, 2024
1 parent 4fe3dec commit 326e6e8
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 326e6e8

Please sign in to comment.