Handle browser Errors.
This commit is contained in:
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
type Params = {
|
||||
key: string;
|
||||
paradigm?: "html" | "json";
|
||||
};
|
||||
export default function getCache({ key, paradigm }: Params): string | undefined;
|
||||
export {};
|
||||
+9
@@ -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
@@ -0,0 +1 @@
|
||||
export default function trimAllCache(): Promise<undefined>;
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
import type { APIResponseObject } from "../../types";
|
||||
type Params = {
|
||||
key: string;
|
||||
};
|
||||
export default function trimCacheKey({ key, }: Params): Promise<APIResponseObject>;
|
||||
export {};
|
||||
+9
@@ -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 {};
|
||||
Reference in New Issue
Block a user