add mutual friends endpoint

This commit is contained in:
Devin Zuczek
2026-08-04 12:26:44 -04:00
parent 12f6d7ab61
commit dee7497fe5
4 changed files with 201 additions and 0 deletions
+11
View File
@@ -163,6 +163,17 @@ export const RelationshipDto = z.object({
/** The `{ Success, Message }` ack the flag toggles answer with. */
export const AckResponse = z.object({ Success: z.boolean(), Message: z.string() })
/**
* One entry of `GET /api/relationships/mutualfriends` — a friend both players share.
* A trimmed account card, not a relationship: no relationship type or flags.
*/
export const MutualFriendDto = z.object({
AccountId: z.int(),
Username: z.string(),
DisplayName: z.string(),
ProfileImage: z.string().describe('The image name; an empty string when the account has none'),
})
// ---- Progression -----------------------------------------------------------
/**