Annoying:
Annoying:
common/ data structurefunctions/src/ Backend modification
web/lib/firestore/ Firestore queries for:web/hooks use hookweb/ frontend viewsAnnoying: Adding a new API using the server approach requires
functions/src/incrementfunctions/src/serve.tsweb/lib/firebase/api.tsVs Vercel functions which just need:
Bet vs Txn
Cert vs Contract
certId vs contractIdGrouped transactions representation, vs loose txns?
Are negative shares okay in a TXN?
Ideally: All changes to db are logged, and we have full rollback capability