Add feature to add tags from the tag list to the search expression
Signed-off-by: trivernis <trivernis@protonmail.com>pull/4/head
parent
29eb82e687
commit
a50bb88ba8
@ -1,5 +1,11 @@
|
||||
export type Tag = {
|
||||
id: number,
|
||||
name: string,
|
||||
namespace: string | undefined,
|
||||
export class Tag {
|
||||
constructor(
|
||||
public id: number,
|
||||
public name: string,
|
||||
public namespace: string | undefined
|
||||
) {}
|
||||
|
||||
public getNormalizedOutput(): string {
|
||||
return this.namespace ? this.namespace + ':' + this.name : this.name
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue