summary refs log tree commit diff
path: root/api/src/util
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-08-06 10:48:21 +1000
committerGitHub <noreply@github.com>2022-08-06 10:48:21 +1000
commitb1e51d5e6e2913ee6101df343cbde721d3a350e9 (patch)
treef7e0b8e79e08f88842f79fc43655adc5d893d1e2 /api/src/util
parentCaptcha checking (diff)
parentMerge pull request #815 from fosscord/translation (diff)
downloadserver-b1e51d5e6e2913ee6101df343cbde721d3a350e9.tar.xz
Merge branch 'master' into feat/captchaVerify
Diffstat (limited to '')
-rw-r--r--api/src/util/entities/AssetCacheItem.ts3
-rw-r--r--api/src/util/index.ts3
2 files changed, 5 insertions, 1 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 diff --git a/api/src/util/index.ts b/api/src/util/index.ts
index de6b6064..fd743a9b 100644 --- a/api/src/util/index.ts +++ b/api/src/util/index.ts
@@ -6,4 +6,5 @@ export * from "./utility/RandomInviteID"; export * from "./handlers/route"; export * from "./utility/String"; export * from "./handlers/Voice"; -export * from "./utility/captcha"; \ No newline at end of file +export * from "./utility/captcha"; +export * from "./entities/AssetCacheItem";