Open joshprzybyszewski opened 5 years ago
What data do we need in the firebase model?
String
"Normal"
"Four Corners"
"T"
List<String>
UserID
DateTime
Geographical Point
Map<UserID, List<DateTime>>
List<UserID>
Document
For firebase supported data types: https://firebase.google.com/docs/firestore/manage-data/data-types
Is it safer to use an enum for game style?
It would be safer to use an enum, but per-the-link firebase doesn't define enums, so I think a string is the most clear alternative.
What data do we need in the firebase model?
String
game style ("Normal"
or null,"Four Corners"
,"T"
, etc)List<String>
what words are used for the sessionUserID
curatorDateTime
start timeDateTime
end timeGeographical Point
geolocationMap<UserID, List<DateTime>>
time of bingo for a playerList<UserID>
who is in the sessionDocument
what wordbanks document it's based offFor firebase supported data types: https://firebase.google.com/docs/firestore/manage-data/data-types