UNPKG

@guildxyz/types

Version:

Types related to the Guild.xyz API

20 lines (16 loc) 382 B
import { Schemas } from "../../types"; const shouldFail = [ { type: "POAP" }, { type: "GITPOAP" }, { type: "POAP", data: {} }, { type: "GITPOAP", data: {} }, ]; const shouldPass: Schemas["RequirementCreationPayload"][] = [ { type: "POAP", data: { id: "_" } }, { type: "GITPOAP", data: { id: "_" } }, ]; export default { name: "Poap", shouldPass, shouldFail, };