MiniSearch / server /searchesSinceLastRestart.ts
github-actions[bot]
Sync to HuggingFace Spaces
c837b7c
raw
history blame contribute delete
494 Bytes
let textualSearchesSinceLastRestart = 0;
let graphicalSearchesSinceLastRestart = 0;
export function getTextualSearchesSinceLastRestart() {
return textualSearchesSinceLastRestart;
}
export function incrementTextualSearchesSinceLastRestart() {
textualSearchesSinceLastRestart++;
}
export function getGraphicalSearchesSinceLastRestart() {
return graphicalSearchesSinceLastRestart;
}
export function incrementGraphicalSearchesSinceLastRestart() {
graphicalSearchesSinceLastRestart++;
}