summary refs log tree commit diff
path: root/api/src/util/entities/AssetCacheItem.ts
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-06 00:34:16 +0200
committerGitHub <noreply@github.com>2022-08-06 00:34:16 +0200
commit37a67dad3fb6c28358ff659b83b92ff73ee6b50f (patch)
treec0adf94bae9ecb59462b4c033468ab174bb68747 /api/src/util/entities/AssetCacheItem.ts
parentfix: not being able to enable community (diff)
parentMake requested changes (pr792) (diff)
downloadserver-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.ts3
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