refactoring-backend #3

Merged
lukas.pupkalipinski merged 403 commits from refactoring-backend into main 2026-05-20 20:23:46 +02:00
2 changed files with 6 additions and 2 deletions
Showing only changes of commit e6ee525e0f - Show all commits

View File

@@ -2,8 +2,10 @@
* TypeScript types for the ban history API.
*/
import type { TimeRange } from "./ban";
/** Optional time-range filter for history queries. */
export type TimeRange = "24h" | "7d" | "30d" | "365d";
export type { TimeRange };
/** A single row in the history ban-list table. */
export interface HistoryBanItem {

View File

@@ -2,8 +2,10 @@
* TypeScript types for the world-map / bans-by-country API.
*/
import type { TimeRange } from "./ban";
/** Time-range preset for filtering queries. */
export type TimeRange = "24h" | "7d" | "30d" | "365d";
export type { TimeRange };
/** A single enriched ban item as returned by the by-country endpoint. */
export interface MapBanItem {