UNPKG

idea-toolbox

Version:
29 lines (28 loc) 646 B
import { Resource } from './resource.model'; /** * Table: `idea_invitations`. * * Indexes: * - `email-index` (all). */ export declare class Invitation extends Resource { /** * Unique, random invitation code (partition key). */ invitationCode: string; /** * Team id. */ teamId: string; /** * The email address of the invited user. * Note: we use it instead of the userId to invite also not-users of the platform. */ email: string; /** * Expiration time, in seconds. */ expiresAt: number; load(x: any): void; safeLoad(newData: any, safeData: any): void; }