feat: implement game filter to find games all selected people would play and add supporting test data

This commit is contained in:
2025-12-03 23:41:54 +01:00
parent deae3a106b
commit af721e7716
3 changed files with 188 additions and 0 deletions
+41
View File
@@ -8,12 +8,53 @@
"max_players": 90,
"price": 0,
"remote_id": 0
},
{
"title": "Test2",
"source": 1,
"multiplayer": true,
"min_players": 1,
"max_players": 1,
"price": 0,
"remote_id": 0
}
],
"users": [
{
"person": {
"name": "John",
"opinion": [
{
"title": "Naramo Nuclear Plant V2",
"would_play": true
},
{
"title": "Test2",
"would_play": true
}
]
},
"password_hash": "$2b$12$DRvTP/ibTWULkuJJr285bumRd7SG3n5bYkDpb09Qpklqf6FeTiHkC"
},
{
"person": {
"name": "John2",
"opinion": [
{
"title": "Naramo Nuclear Plant V2",
"would_play": false
},
{
"title": "Test2",
"would_play": true
}
]
},
"password_hash": "$2b$12$DRvTP/ibTWULkuJJr285bumRd7SG3n5bYkDpb09Qpklqf6FeTiHkC"
},
{
"person": {
"name": "John3",
"opinion": [
{
"title": "Naramo Nuclear Plant V2",