added search response into searchmodal ui, restructured folders

This commit is contained in:
2026-06-24 15:57:10 +02:00
parent a1ce085123
commit 6e3d3347e2
16 changed files with 110 additions and 34 deletions
+18 -1
View File
@@ -2,5 +2,22 @@ export interface SearchRequest {
appUrl: string;
serviceType: string;
username: string;
query: string;
query: string | null;
}
export interface SearchResponse {
id: string;
title: string;
description: string | null;
extraData: Record<string, unknown>;
}
export interface PagedSearchResponse<T> {
content: T[];
page: number;
pageSize: number;
totalElements: number;
first: boolean;
last: boolean;
sort: string;
}