idea-toolbox
Version:
IDEA's utility functions
29 lines (28 loc) • 646 B
TypeScript
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;
}