fix import errors

This commit is contained in:
mantikoros 2022-05-09 17:14:00 -04:00
parent 5135135e79
commit 9fc9fc0dd6
2 changed files with 4 additions and 11 deletions

View File

@ -8,15 +8,12 @@ import {
FullContract,
} from '../../common/contract'
import { User } from '../../common/user'
import { getLoanAmount, getNewMultiBetInfo } from '../../common/new-bet'
import { getNewMultiBetInfo } from '../../common/new-bet'
import { Answer, MAX_ANSWER_LENGTH } from '../../common/answer'
import { getContract, getValues } from './utils'
import { sendNewAnswerEmail } from './emails'
import { Bet } from 'common/bet'
import {
getContractBetMetrics,
hasUserHitManaLimit,
} from 'common/calculate'
import { hasUserHitManaLimit } from '../../common/calculate'
export const createAnswer = functions.runWith({ minInstances: 1 }).https.onCall(
async (

View File

@ -7,16 +7,12 @@ import {
getNewBinaryCpmmBetInfo,
getNewBinaryDpmBetInfo,
getNewMultiBetInfo,
getLoanAmount,
} from '../../common/new-bet'
import { addObjects, removeUndefinedProps } from '../../common/util/object'
import { Bet } from '../../common/bet'
import { redeemShares } from './redeem-shares'
import { Fees } from 'common/fees'
import {
getContractBetMetrics,
hasUserHitManaLimit,
} from 'common/calculate'
import { Fees } from '../../common/fees'
import { hasUserHitManaLimit } from '../../common/calculate'
export const placeBet = functions.runWith({ minInstances: 1 }).https.onCall(
async (