diff options
| author | Ritesh Ghosh <[email protected]> | 2024-12-07 21:11:44 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2024-12-07 21:11:44 +0530 |
| commit | db022185efd04d4382883de543d3f3399cd28a6b (patch) | |
| tree | bddae1b723d5d08765efc21aa2db7908a70d0ba0 /src/config | |
| parent | 872192bcc5fa75fd95c175158aeb31a23f34e01e (diff) | |
| download | aniwatch-api-db022185efd04d4382883de543d3f3399cd28a6b.tar.xz aniwatch-api-db022185efd04d4382883de543d3f3399cd28a6b.zip | |
feat(server): add aniwatch variables types for type-safe req context variable access
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/variables.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/config/variables.ts b/src/config/variables.ts new file mode 100644 index 0000000..b58316f --- /dev/null +++ b/src/config/variables.ts @@ -0,0 +1,8 @@ +type CacheVariables = { + CACHE_CONFIG: { + key: string; + duration: number; + }; +}; + +export type AniwatchAPIVariables = {} & CacheVariables; |
