added search response into searchmodal ui, restructured folders
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user