mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
17 lines
313 B
TypeScript
17 lines
313 B
TypeScript
export enum AutoCompeleteTypes {
|
|
image,
|
|
directory,
|
|
keyword,
|
|
position
|
|
}
|
|
|
|
export class AutoCompleteItem {
|
|
constructor(public text:string, public type:AutoCompeleteTypes) {
|
|
}
|
|
|
|
equals(other:AutoCompleteItem) {
|
|
return this.text === other.text && this.type === other.type;
|
|
}
|
|
}
|
|
|