tethys.frontend/src/models/solr.ts
Arno Kaimbacher 315f845292 - add new tethys style
- use newest typescript version ^4.5.2
- new images for starting page
2021-11-19 16:11:26 +01:00

51 lines
990 B
TypeScript

export interface SolrSettings {
core: string;
host: string;
}
export class ActiveFilterCategories {
// count: number;
// language!: Array<string>;
// subject!: Array<string>;
[key: string]: Array<string>;
}
// export class ActiveFilterCategory {
// key!: string;
// values!: Array<string>;
// // [key: string]: Array<string>;
// }
export class FilterItem {
private category: string;
val: string;
count: number;
private active: boolean;
constructor(value: string, count: number) {
this.val = value;
this.count = count;
this.active = false;
this.category = "";
}
//#region properties
get Category(): string {
return this.category;
}
set Category(theCategory: string) {
this.category = theCategory;
}
get Active(): boolean {
return this.active;
}
set Active(isActive: boolean) {
this.active = isActive;
}
//#endregion
}