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