25 lines
613 B
TypeScript
25 lines
613 B
TypeScript
import type * as search from '../search.js';
|
|
import type { TCheckResultStatus } from '../types.js';
|
|
import type { TExecutionTiming } from './index.js';
|
|
|
|
/**
|
|
* PageRank check execution data.
|
|
* Used by check runners to store input and results.
|
|
*/
|
|
export interface IPageRankCheck {
|
|
inputData: {
|
|
subId: string;
|
|
domain: string;
|
|
searchTerm: string;
|
|
checkBing?: boolean;
|
|
checkGoogle?: boolean;
|
|
bingMinRank?: number;
|
|
googleMinRank?: number;
|
|
};
|
|
executionResults: Array<{
|
|
timing: TExecutionTiming;
|
|
status: TCheckResultStatus;
|
|
pageRankResult: search.IPageRankResult;
|
|
}>;
|
|
}
|