feat(server): add aniwatch variables types for type-safe req context variable access

This commit is contained in:
Ritesh Ghosh
2024-12-07 21:11:44 +05:30
parent 872192bcc5
commit db022185ef
+8
View File
@@ -0,0 +1,8 @@
type CacheVariables = {
CACHE_CONFIG: {
key: string;
duration: number;
};
};
export type AniwatchAPIVariables = {} & CacheVariables;