Skip to content

Commit

Permalink
feat(server): add aniwatch variables types for type-safe req context …
Browse files Browse the repository at this point in the history
…variable access
  • Loading branch information
ghoshRitesh12 committed Dec 7, 2024
1 parent 872192b commit db02218
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/config/variables.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type CacheVariables = {
CACHE_CONFIG: {
key: string;
duration: number;
};
};

export type AniwatchAPIVariables = {} & CacheVariables;

0 comments on commit db02218

Please sign in to comment.