replace auth with rate limiter

This commit is contained in:
fiatcode 2025-10-19 10:52:36 +07:00
parent 1434756b10
commit 3721ea7a6a
7 changed files with 49 additions and 109 deletions

9
src/types.d.ts vendored
View file

@ -1,12 +1,3 @@
export interface AuthPayload {
// An UUID string, unique per request.
token: string;
// Unix time in seconds. It is the time when the token was issued.
// Will expire after a time window.
issuedAt: number;
}
export interface Quote {
id: number;
text: string;