chore: fix linting and build errors
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 5s
Build & Deploy / 🧪 QA (push) Failing after 1m31s
Build & Deploy / 🏗️ Build (push) Failing after 3m51s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-02-17 23:48:52 +01:00
parent 786d35010b
commit 3eccff42e4
33 changed files with 303 additions and 66 deletions

View File

@@ -4,7 +4,7 @@ import * as path from "node:path";
import { existsSync } from "node:fs";
import * as crypto from "node:crypto";
/* eslint-disable no-unused-vars */
export class FileCacheAdapter implements CacheAdapter {
private cacheDir: string;

View File

@@ -3,9 +3,9 @@
*/
export interface CacheAdapter {
get<T>(key: string): Promise<T | null>;
set<T>(key: string, value: T, ttl?: number): Promise<void>;
del(key: string): Promise<void>;
get<T>(_key: string): Promise<T | null>;
set<T>(_key: string, _value: T, _ttl?: number): Promise<void>;
del(_key: string): Promise<void>;
clear(): Promise<void>;
}