import { ContentItem } from "./SearchResponse/ContentItem"; import { RecommendedPackage } from "./SearchResponse/RecommendedPackage"; import { SearchResponseMeta } from "./SearchResponse/SearchResponseMeta"; import { SearchResult } from "./SearchResponse/SearchResult"; /** * * @export * @interface SearchResponse */ export interface SearchResponse { /** * * @type {SearchResponseCommunityContent} * @memberof SearchResponse */ communityContent?: { /** * Relevant links to the search term * @type {Array} * @memberof SearchResponseCommunityContent */ links: Array; /** * Curated packages relevant to the search term * @type {Array} * @memberof SearchResponseCommunityContent */ recommendedPackages: Array; }; /** * * @type {SearchResponseMeta} * @memberof SearchResponse */ meta: SearchResponseMeta; /** * Array of matches for the given query * @type {Array} * @memberof SearchResponse */ results: SearchResult[]; }