2025-12-26 18:20:01 +00:00
|
|
|
import type * as search from '../search.js';
|
|
|
|
|
import type { TCheckResultStatus } from '../types.js';
|
|
|
|
|
import type { TExecutionTiming } from './index.js';
|
2023-04-03 13:40:56 +02:00
|
|
|
|
2025-12-26 18:20:01 +00:00
|
|
|
/**
|
|
|
|
|
* PageRank check execution data.
|
|
|
|
|
* Used by check runners to store input and results.
|
|
|
|
|
*/
|
2023-04-03 13:40:56 +02:00
|
|
|
export interface IPageRankCheck {
|
|
|
|
|
inputData: {
|
|
|
|
|
subId: string;
|
|
|
|
|
domain: string;
|
|
|
|
|
searchTerm: string;
|
|
|
|
|
checkBing?: boolean;
|
|
|
|
|
checkGoogle?: boolean;
|
|
|
|
|
bingMinRank?: number;
|
|
|
|
|
googleMinRank?: number;
|
|
|
|
|
};
|
|
|
|
|
executionResults: Array<{
|
|
|
|
|
timing: TExecutionTiming;
|
|
|
|
|
status: TCheckResultStatus;
|
2023-04-03 13:52:27 +02:00
|
|
|
pageRankResult: search.IPageRankResult;
|
|
|
|
|
}>;
|
|
|
|
|
}
|