Handle browser Errors.

This commit is contained in:
2026-03-21 06:34:32 +01:00
parent d893a31d73
commit 7ef114ee70
97 changed files with 849 additions and 277 deletions
+6
View File
@@ -0,0 +1,6 @@
type Params = {
key: string;
paradigm?: "html" | "json";
};
export default function getCache({ key, paradigm }: Params): string | undefined;
export {};
+9
View File
@@ -0,0 +1,9 @@
type Params = {
key: string;
paradigm?: "html" | "json";
};
export default function grabCacheNames({ key, paradigm }: Params): {
cache_name: string;
cache_meta_name: string;
};
export {};
+1
View File
@@ -0,0 +1 @@
export default function trimAllCache(): Promise<undefined>;
+6
View File
@@ -0,0 +1,6 @@
import type { APIResponseObject } from "../../types";
type Params = {
key: string;
};
export default function trimCacheKey({ key, }: Params): Promise<APIResponseObject>;
export {};
+9
View File
@@ -0,0 +1,9 @@
import type { APIResponseObject } from "../../types";
type Params = {
key: string;
value: string;
paradigm?: "html" | "json";
expiry_seconds?: number;
};
export default function writeCache({ key, value, paradigm, expiry_seconds, }: Params): Promise<APIResponseObject>;
export {};