29 lines
548 B
TypeScript
29 lines
548 B
TypeScript
interface ProgressType {
|
|
percentageOfIpv4Scanned: number; // assuming this is a number
|
|
totalFiltered: bigint;
|
|
amountOfIpv4Left: bigint;
|
|
totalDiscarded: bigint;
|
|
discardedDbSize: bigint;
|
|
filteredDbSize: bigint;
|
|
myDbSize: bigint;
|
|
};
|
|
|
|
interface ProgressDictionary {
|
|
description: string;
|
|
value: string;
|
|
};
|
|
|
|
interface SearchResult {
|
|
title: string;
|
|
description: string;
|
|
url: string;
|
|
};
|
|
|
|
interface SearchResults {
|
|
results: SearchResult[];
|
|
};
|
|
|
|
type CacheEntry<T> = {
|
|
data: T;
|
|
timestamp: number;
|
|
}; |