import { ResourceKind } from '~/models/resource';
-export type SearchBarAdvanceFormData = {
+export type SearchBarAdvancedFormData = {
type?: ResourceKind;
- cluster?: ClusterObjectType;
+ cluster?: string;
projectUuid?: string;
inTrash: boolean;
dateFrom: string;
dateTo: string;
saveQuery: boolean;
- searchQuery: string;
- properties: PropertyValues[];
-} & PropertyValues;
+ queryName: string;
+ searchValue: string;
+ properties: PropertyValue[];
+};
-export interface PropertyValues {
+export interface PropertyValue {
key: string;
+ keyID?: string;
value: string;
+ valueID?: string;
}
-
-export enum ClusterObjectType {
- INDIANAPOLIS = "indianapolis",
- KAISERAUGST = "kaiseraugst",
- PENZBERG = "penzberg"
-}
\ No newline at end of file