feat(server): add aniwatch variables types for type-safe req context variable access
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
type CacheVariables = {
|
||||
CACHE_CONFIG: {
|
||||
key: string;
|
||||
duration: number;
|
||||
};
|
||||
};
|
||||
|
||||
export type AniwatchAPIVariables = {} & CacheVariables;
|
||||
Reference in New Issue
Block a user