@guildxyz/types
Version:
Types related to the Guild.xyz API
20 lines (16 loc) • 382 B
text/typescript
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,
};