1 | import { Enums } from '../extensibility';
|
2 | export declare module Search {
|
3 | interface SearchResultProcessor {
|
4 | (items: Array<ISearchResult>): void;
|
5 | }
|
6 | interface IBaseSearchResult {
|
7 | title: string;
|
8 | highlightedProperties: string;
|
9 | path: string;
|
10 | contentType: Enums.SearchContentTypeEnum;
|
11 | }
|
12 | interface ISearchResult {
|
13 | imageUrl: string;
|
14 | linkUrl: string;
|
15 | title: string;
|
16 | summary: string;
|
17 | previewUrl: string;
|
18 | accountName?: string;
|
19 | }
|
20 | interface ISearchSourceType {
|
21 | all: number;
|
22 | sites: number;
|
23 | people: number;
|
24 | }
|
25 | interface IContentSearchResult extends IBaseSearchResult {
|
26 | highlightedSummary: string;
|
27 | spWebUrl: string;
|
28 | serverRedirectedUrl: string;
|
29 | serverRedirectedPreviewUrls: string;
|
30 | pictureUrl: string;
|
31 | fileExtension: string;
|
32 | }
|
33 | interface IPeopleSearchResult extends IBaseSearchResult {
|
34 | aboutMe: string;
|
35 | accountName: string;
|
36 | }
|
37 | interface IPeople {
|
38 | accountName: string;
|
39 | isFollowedPeople: boolean;
|
40 | isProcessing: boolean;
|
41 | }
|
42 | }
|