1
0
Fork 0
mirror of synced 2024-06-26 10:00:41 +12:00

Support tiered pricing for day passes and update upgrade UI

This commit is contained in:
Rory Powell 2022-08-16 12:13:47 +01:00
parent 20dd3d8dbb
commit c2dbb7558c
2 changed files with 2 additions and 5 deletions

View file

@ -14,6 +14,7 @@ import auth from "./auth"
import constants from "./constants"
import * as dbConstants from "./db/constants"
import * as logging from "./logging"
import * as middleware from "./middleware"
// mimic the outer package exports
import * as db from "./pkg/db"
@ -52,6 +53,7 @@ const core = {
errors,
logging,
...errorClasses,
middleware,
}
export = core

View file

@ -22,11 +22,6 @@ export const isCreatePasswordAccount = (
account: CreateAccount
): account is CreatePassswordAccount => account.authType === AuthType.PASSWORD
export interface UpdateAccount {
stripeCustomerId?: string
licenseKey?: string
}
export interface Account extends CreateAccount {
// generated
accountId: string