Einbau klassische Filter als Overlay ...

This commit is contained in:
2024-07-16 17:09:59 +02:00
parent af982d19d8
commit bdafb03165
32 changed files with 1274 additions and 239 deletions

View File

@@ -16,6 +16,7 @@ export interface KeyValueRatio {
export interface KeyValueStyle {
name: string;
value: string;
oldValue?: string;
icon: string;
textColorClass: string;
}
@@ -52,20 +53,51 @@ export type ResponseUsersArray = {
data: User[];
total: number;
};
export interface ListingCriteria {
export interface ListCriteria {
start: number;
length: number;
page: number;
pageCount: number;
type: number;
city: string;
types: string[];
prompt: string;
criteriaType: 'business' | 'commercialProperty' | 'user';
}
export interface BusinessListingCriteria extends ListCriteria {
state: string;
county: string;
minPrice: number;
maxPrice: number;
minRevenue: number;
maxRevenue: number;
minCashFlow: number;
maxCashFlow: number;
minNumberEmployees: number;
maxNumberEmployees: number;
establishedSince: number;
establishedUntil: number;
realEstateChecked: boolean;
leasedLocation: boolean;
franchiseResale: boolean;
title: string;
category: 'professional' | 'broker';
name: string;
prompt: string;
brokerName: string;
criteriaType: 'business';
}
export interface CommercialPropertyListingCriteria extends ListCriteria {
state: string;
county: string;
minPrice: number;
maxPrice: number;
title: string;
criteriaType: 'commercialProperty';
}
export interface UserListingCriteria extends ListCriteria {
firstname: string;
lastname: string;
companyName: string;
counties: string[];
states: string[];
criteriaType: 'user';
}
export interface KeycloakUser {