Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WordOfTheDay

Hierarchy

  • WordOfTheDay

Index

Constructors

  • new WordOfTheDay(_id: string, word: string, contentProvider: { id: number; name: string }, definitions: { note: null | string; partOfSpeech: PartOfSpeech; source: string; text: string }[], publishDate: string, examples: Example[], pdd: string, htmlExtra: null | string, note: null | string): WordOfTheDay
  • Word of the day constructor.

    Parameters

    • _id: string

      the ID of the word.

    • word: string

      the word.

    • contentProvider: { id: number; name: string }

      too lazy to make a class for this.

      • Readonly id: number
      • Readonly name: string
    • definitions: { note: null | string; partOfSpeech: PartOfSpeech; source: string; text: string }[]

      []} the definitions.

    • publishDate: string

      the publish date in ISO8601.

    • examples: Example[]

      the examples.

    • pdd: string

      the PDD.

    • htmlExtra: null | string

      the HTML extra.

    • note: null | string

      the note.

    Returns WordOfTheDay

Properties

_id: string
contentProvider: { id: number; name: string }

Type declaration

  • Readonly id: number
  • Readonly name: string
definitions: { note: null | string; partOfSpeech: PartOfSpeech; source: string; text: string }[]
examples: Example[]
htmlExtra: null | string
note: null | string
pdd: string
publishDate: string
word: string

Generated using TypeDoc