Home > @poq/sdk-sfcc > ContentSearchResult > (constructor)
Constructs a new instance of the ContentSearchResult
class
Signature:
constructor(params?: {
count?: number;
data?: Array<object>;
hits?: Array<Content>;
next?: string;
previous?: string;
query?: string;
refinements?: Array<ContentSearchRefinement>;
selectedRefinements?: {
[key: string]: string;
};
start?: number;
total?: number;
});
Parameter | Type | Description |
---|---|---|
params | { count?: number; data?: Array<object>; hits?: Array<Content>; next?: string; previous?: string; query?: string; refinements?: Array<ContentSearchRefinement>; selectedRefinements?: { [key: string]: string; }; start?: number; total?: number; } | (Optional) |