Scaffolding so claimManalink works

This commit is contained in:
Austin Chen 2022-05-09 16:19:05 -04:00
parent ffd723a406
commit e9c817b3c4
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import * as admin from 'firebase-admin'
admin.initializeApp()
// export * from './keep-awake'
export * from './claim-manalink'
export * from './transact'
export * from './place-bet'
export * from './resolve-market'

View File

@ -21,6 +21,11 @@ export const transact = cloudFunction<
{ status: 'error' | 'success'; message?: string; txn?: Txn }
>('transact')
export const claimManalink = cloudFunction<
string,
{ status: 'error' | 'success'; message?: string }
>('claimManalink')
export const placeBet = cloudFunction('placeBet')
export const sellBet = cloudFunction('sellBet')