Gautam Sheth 9d17034205 Updated react-officegraph to GA (#229)
* updated react office graph to GA

* uploaded src folder and the package folder

* updated readme

* again updated readme
2017-06-12 12:34:05 +02:00

40 lines
926 B
TypeScript

export interface ISearchQueryResponse {
PrimaryQueryResult: IPrimaryQueryResult;
}
export interface IPrimaryQueryResult {
RelevantResults?: IRelevantResults;
}
export interface IRelevantResults {
RowCount: number;
Table?: ITable;
}
export interface ITable {
Rows?: IRow[];
}
export interface IRow {
Cells: ICell[];
}
export interface ICell {
Key: string;
Value: string;
ValueType: string;
}
export interface IEdge {
ActorId: number;
ObjectId: number;
Properties: IEdgeProperties;
}
export interface IEdgeProperties {
Action: number;
Blob: any[];
BlobContent: string;
ObjectSource: number;
Time: string;
Weight: number;
}
export declare class SearchUtils {
static getValueFromResults(key: string, results: ICell[]): string;
static getPreviewImageUrl(result: ICell[], siteUrl: string): string;
static getActionName(actionId: number): string;
}