src/app/core/models/anatomical-structure-tag.ts
A tag
Properties |
id |
id:
|
Type : TagId
|
Unique identifier |
label |
label:
|
Type : string
|
Display label |
type |
type:
|
Type : "assigned" | "added" | "removed"
|
How the tag was added |
export type TagId = string | number;
/**
* A tag
*/
export interface Tag {
/** Unique identifier */
id: TagId;
/** Display label */
label: string;
/** How the tag was added */
type: 'assigned' | 'added' | 'removed';
}
/**
* Search result
*/
export interface TagSearchResult {
/** Total number of possible results */
totalCount: number;
/** Partial results up to a limit */
results: Tag[];
}