From 45fca46c48fc7090fc16d47a7b29b71f248faf23 Mon Sep 17 00:00:00 2001 From: ctrlc03 <93448202+ctrlc03@users.noreply.github.com> Date: Fri, 12 Jul 2024 16:25:44 +0100 Subject: [PATCH] fix: do not import enum as type (#1641) --- cli/ts/commands/index.ts | 2 +- cli/ts/commands/signup.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/ts/commands/index.ts b/cli/ts/commands/index.ts index 3b29a4c0f2..70eba86f14 100644 --- a/cli/ts/commands/index.ts +++ b/cli/ts/commands/index.ts @@ -10,7 +10,7 @@ export { publish, publishBatch } from "./publish"; export { setVerifyingKeys } from "./setVerifyingKeys"; export { showContracts } from "./showContracts"; export { timeTravel } from "./timeTravel"; -export { signup, isRegisteredUser, getGatekeeperTrait } from "./signup"; +export { signup, isRegisteredUser, getGatekeeperTrait, getSemaphoreGatekeeperData } from "./signup"; export { verify } from "./verify"; export { genProofs } from "./genProofs"; export { fundWallet } from "./fundWallet"; diff --git a/cli/ts/commands/signup.ts b/cli/ts/commands/signup.ts index 6d234c197f..d9417074d5 100644 --- a/cli/ts/commands/signup.ts +++ b/cli/ts/commands/signup.ts @@ -7,7 +7,6 @@ import { import { PubKey } from "maci-domainobjs"; import type { - GatekeeperTrait, IGetGatekeeperTraitArgs, IParseSignupEventsArgs, IRegisteredUserArgs, @@ -20,6 +19,7 @@ import type { import { banner } from "../utils/banner"; import { contractExists } from "../utils/contracts"; import { DEFAULT_IVCP_DATA, DEFAULT_SG_DATA } from "../utils/defaults"; +import { GatekeeperTrait } from "../utils/interfaces"; import { info, logError, logGreen, logYellow, success } from "../utils/theme"; /**