swc/bundler/tests/.cache/deno/8e539eca57a6c7ac3c21eed0d85b8e55ae9bfa1a.ts
강동윤 d60c3242af
fix(swc): Fix bugs (#1739)
swc_bundler:
 - Fix cycle detection for complex circular imports. (denoland/deno#10752)

swc_ecma_transforms_typescript:
 - Allow using large values for an enum variant.
2021-05-25 14:30:17 +09:00

19 lines
632 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/invites/invite_metadata.ts
import { Invite } from "./invite.ts";
/** https://discord.com/developers/docs/resources/invite#invite-metadata-object */
export interface InviteMetadata extends Invite {
/** Number of times this invite has been used */
uses: number;
/** Max number of times this invite can be used */
maxUses: number;
/** Duration (in seconds) after which the invite expires */
maxAge: number;
/** Whether this invite only grants temporary membership */
temporary: boolean;
/** When this invite was created */
createdAt: string;
}