2022-05-10 20:59:38 +00:00
|
|
|
/* This use of module-alias hackily simulates the Typescript base URL so that
|
|
|
|
* the Firebase deploy machinery, which just uses the compiled Javascript in the
|
|
|
|
* lib directory, will be able to do imports from the root directory
|
|
|
|
* (i.e. "common/foo" instead of "../../../common/foo") just like we can in
|
|
|
|
* Typescript-land.
|
|
|
|
*
|
|
|
|
* Note that per the module-alias docs, this need to come before any other
|
|
|
|
* imports in order to work.
|
|
|
|
*
|
|
|
|
* Suggested by https://github.com/firebase/firebase-tools/issues/986 where many
|
|
|
|
* people complain about this problem.
|
|
|
|
*/
|
|
|
|
import { addPath } from 'module-alias'
|
|
|
|
addPath('./lib')
|
2021-12-10 18:10:30 +00:00
|
|
|
|
2022-05-10 20:59:38 +00:00
|
|
|
import * as admin from 'firebase-admin'
|
2021-12-11 00:06:17 +00:00
|
|
|
admin.initializeApp()
|
|
|
|
|
2022-01-05 18:24:59 +00:00
|
|
|
// export * from './keep-awake'
|
2022-04-29 23:35:56 +00:00
|
|
|
export * from './transact'
|
2021-12-14 07:02:50 +00:00
|
|
|
export * from './place-bet'
|
2021-12-18 02:12:58 +00:00
|
|
|
export * from './resolve-market'
|
2022-01-07 22:56:14 +00:00
|
|
|
export * from './stripe'
|
2021-12-24 21:06:01 +00:00
|
|
|
export * from './sell-bet'
|
2022-03-29 19:56:56 +00:00
|
|
|
export * from './sell-shares'
|
2022-01-05 05:51:26 +00:00
|
|
|
export * from './create-contract'
|
2022-01-18 07:18:38 +00:00
|
|
|
export * from './create-user'
|
2022-01-21 23:21:46 +00:00
|
|
|
export * from './create-fold'
|
2022-02-17 23:00:19 +00:00
|
|
|
export * from './create-answer'
|
2022-05-01 16:36:54 +00:00
|
|
|
export * from './on-create-bet'
|
2022-02-23 01:35:25 +00:00
|
|
|
export * from './on-create-comment'
|
2022-01-26 20:27:13 +00:00
|
|
|
export * from './on-fold-follow'
|
2022-01-26 20:56:15 +00:00
|
|
|
export * from './on-fold-delete'
|
2022-05-01 16:36:54 +00:00
|
|
|
export * from './on-view'
|
2022-01-19 03:36:46 +00:00
|
|
|
export * from './unsubscribe'
|
2022-01-09 19:34:42 +00:00
|
|
|
export * from './update-contract-metrics'
|
2022-01-17 21:39:26 +00:00
|
|
|
export * from './update-user-metrics'
|
2022-05-01 16:36:54 +00:00
|
|
|
export * from './update-recommendations'
|
|
|
|
export * from './update-feed'
|
2022-01-24 17:42:08 +00:00
|
|
|
export * from './backup-db'
|
2022-02-04 03:04:56 +00:00
|
|
|
export * from './change-user-info'
|
2022-02-17 18:18:02 +00:00
|
|
|
export * from './market-close-emails'
|
2022-04-21 17:58:12 +00:00
|
|
|
export * from './add-liquidity'
|