Type alias Author

Author: {
    name: string;
    email?: string;
    timestamp?: number;
    timezoneOffset?: number;
}

The details about the author.

Type declaration

  • name: string

    Default is user.name config.

  • Optional email?: string

    Default is user.email config.

  • Optional timestamp?: number

    Set the author timestamp field. This is the integer number of seconds since the Unix epoch (1970-01-01 00:00:00).

  • Optional timezoneOffset?: number

    Set the author timezone offset field. This is the difference, in minutes, from the current timezone to UTC. Default is (new Date()).getTimezoneOffset().

Generated using TypeDoc