feat: add party user gender field to schema and implement event joining functionality with gender tracking

This commit is contained in:
louiscklaw
2025-06-18 02:28:29 +08:00
parent 279496ea38
commit 44091e0432
7 changed files with 90 additions and 2 deletions

View File

@@ -58,6 +58,7 @@ async function partyUser() {
status: STATUS[0],
role: ROLE[0],
isVerified: true,
sex: 'F',
},
});
@@ -78,6 +79,7 @@ async function partyUser() {
isVerified: true,
avatarUrl: 'https://images.unsplash.com/photo-1619970096024-c7b438a3b82a',
rank: 'user',
sex: 'M',
},
});
@@ -112,6 +114,7 @@ async function partyUser() {
role: ROLE[Math.floor(Math.random() * ROLE.length)],
status: STATUS[Math.floor(Math.random() * STATUS.length)],
isVerified: true,
sex: i % 2 ? 'F' : 'M',
},
});
}