diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2022-08-06 00:34:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 00:34:16 +0200 |
commit | 37a67dad3fb6c28358ff659b83b92ff73ee6b50f (patch) | |
tree | c0adf94bae9ecb59462b4c033468ab174bb68747 /api/src/util/entities/AssetCacheItem.ts | |
parent | fix: not being able to enable community (diff) | |
parent | Make requested changes (pr792) (diff) | |
download | server-37a67dad3fb6c28358ff659b83b92ff73ee6b50f.tar.xz |
Merge pull request #792 from fosscord/dev/local-cache
Add local disk caching for fetched assets
Diffstat (limited to 'api/src/util/entities/AssetCacheItem.ts')
-rw-r--r-- | api/src/util/entities/AssetCacheItem.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/src/util/entities/AssetCacheItem.ts b/api/src/util/entities/AssetCacheItem.ts new file mode 100644 index 00000000..160dece6 --- /dev/null +++ b/api/src/util/entities/AssetCacheItem.ts @@ -0,0 +1,3 @@ +export class AssetCacheItem { + constructor(public Key: string, public FilePath: string = "", public Headers: any = null as any) {} +} \ No newline at end of file |