summary refs log tree commit diff
path: root/src/util/schemas/responses/UserRelationsResponse.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/schemas/responses/UserRelationsResponse.ts')
-rw-r--r--src/util/schemas/responses/UserRelationsResponse.ts16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/util/schemas/responses/UserRelationsResponse.ts b/src/util/schemas/responses/UserRelationsResponse.ts
index 1ec15eca..e784cafb 100644
--- a/src/util/schemas/responses/UserRelationsResponse.ts
+++ b/src/util/schemas/responses/UserRelationsResponse.ts
@@ -1,9 +1,7 @@
-export interface UserRelationsResponse {
-	object: {
-		id?: string;
-		username?: string;
-		avatar?: string;
-		discriminator?: string;
-		public_flags?: number;
-	};
-}
+import { User } from "@spacebar/util";
+
+export type UserRelationsResponse = (Pick<User, "id"> &
+	Pick<User, "username"> &
+	Pick<User, "discriminator"> &
+	Pick<User, "avatar"> &
+	Pick<User, "public_flags">)[];