summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-03-23 11:01:38 -0400
committerPuyodead1 <puyodead@proton.me>2023-04-13 15:00:32 -0400
commit3335f16ad1a6ec114058a8b7e6e71c2cae33c33d (patch)
treeb42f864824fde1b4698687b069c9c5caafae8b0c /src/util
parentauth routes (diff)
downloadserver-3335f16ad1a6ec114058a8b7e6e71c2cae33c33d.tar.xz
applications
Diffstat (limited to 'src/util')
-rw-r--r--src/util/schemas/responses/ApplicationDetectableResponse.ts1
-rw-r--r--src/util/schemas/responses/ApplicationEntitlementsResponse.ts1
-rw-r--r--src/util/schemas/responses/ApplicationSkusResponse.ts1
-rw-r--r--src/util/schemas/responses/ApplicationsResponse.ts3
-rw-r--r--src/util/schemas/responses/index.ts4
5 files changed, 10 insertions, 0 deletions
diff --git a/src/util/schemas/responses/ApplicationDetectableResponse.ts b/src/util/schemas/responses/ApplicationDetectableResponse.ts
new file mode 100644
index 00000000..958b8d43
--- /dev/null
+++ b/src/util/schemas/responses/ApplicationDetectableResponse.ts
@@ -0,0 +1 @@
+export type ApplicationDetectableResponse = unknown[];
diff --git a/src/util/schemas/responses/ApplicationEntitlementsResponse.ts b/src/util/schemas/responses/ApplicationEntitlementsResponse.ts
new file mode 100644
index 00000000..1d2b349e
--- /dev/null
+++ b/src/util/schemas/responses/ApplicationEntitlementsResponse.ts
@@ -0,0 +1 @@
+export type ApplicationEntitlementsResponse = unknown[];
diff --git a/src/util/schemas/responses/ApplicationSkusResponse.ts b/src/util/schemas/responses/ApplicationSkusResponse.ts
new file mode 100644
index 00000000..8d577c92
--- /dev/null
+++ b/src/util/schemas/responses/ApplicationSkusResponse.ts
@@ -0,0 +1 @@
+export type ApplicationSkusResponse = unknown[];
diff --git a/src/util/schemas/responses/ApplicationsResponse.ts b/src/util/schemas/responses/ApplicationsResponse.ts
new file mode 100644
index 00000000..fef3fbde
--- /dev/null
+++ b/src/util/schemas/responses/ApplicationsResponse.ts
@@ -0,0 +1,3 @@
+import { Application } from "../../entities";
+
+export type ApplicationsResponse = Application[];
diff --git a/src/util/schemas/responses/index.ts b/src/util/schemas/responses/index.ts
index ed91b866..6dde4d24 100644
--- a/src/util/schemas/responses/index.ts
+++ b/src/util/schemas/responses/index.ts
@@ -1,5 +1,9 @@
 export * from "./APIErrorOrCaptchaResponse";
 export * from "./APIErrorResponse";
+export * from "./ApplicationDetectableResponse";
+export * from "./ApplicationEntitlementsResponse";
+export * from "./ApplicationSkusResponse";
+export * from "./ApplicationsResponse";
 export * from "./BackupCodesChallengeResponse";
 export * from "./CaptchaRequiredResponse";
 export * from "./GenerateRegistrationTokensResponse";