RSE/frontend/types/global.d.ts

14 lines
319 B
TypeScript

interface ProgressType {
percentageOfIpv4Scanned: number; // assuming this is a number
totalFiltered: bigint;
amountOfIpv4Left: bigint;
totalDiscarded: bigint;
discardedDbSize: bigint;
filteredDbSize: bigint;
myDbSize: bigint;
}
type CacheEntry<T> = {
data: T;
timestamp: number;
};