From a567ca3f514b7671da5d523325751a8383885d2c Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Thu, 23 Mar 2023 10:40:37 -0400 Subject: auth routes --- src/util/schemas/responses/APIErrorOrCaptchaResponse.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/util/schemas/responses/APIErrorOrCaptchaResponse.ts (limited to 'src/util/schemas/responses/APIErrorOrCaptchaResponse.ts') diff --git a/src/util/schemas/responses/APIErrorOrCaptchaResponse.ts b/src/util/schemas/responses/APIErrorOrCaptchaResponse.ts new file mode 100644 index 00000000..c9a0e5be --- /dev/null +++ b/src/util/schemas/responses/APIErrorOrCaptchaResponse.ts @@ -0,0 +1,6 @@ +import { APIErrorResponse } from "./APIErrorResponse"; +import { CaptchaRequiredResponse } from "./CaptchaRequiredResponse"; + +export type APIErrorOrCaptchaResponse = + | CaptchaRequiredResponse + | APIErrorResponse; -- cgit 1.5.1