Skip to content

Home > fff-flavored-frontmatter > FFFExtra

FFFExtra type

Extra Variables

Signature:

typescript
type FFFExtra<T extends (boolean | undefined) = undefined> = {
    authors?: FFFAuthor[];
    checkin?: string;
    draft?: T extends false ? never : boolean;
    lang?: string;
    location?: string;
    rsvp?: 'interested' | 'maybe' | 'no' | 'yes';
    syndication?: string | string[];
    visibility?: T extends false ? never : ('private' | 'public' | 'unlisted' | (string & {}));
};

References: FFFAuthor