Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "event/theme/event-themes.controller"

Index

Functions

_generateShortlistInfo

  • _generateShortlistInfo(event: any, user?: any): Promise<any>
  • Builds an object filled with data related to the theme shortlist:

    Parameters

    • event: any
    • Default value user: any = null

    Returns Promise<any>

    { activeShortlist: The themes of the shortlist that aren't eliminated by the final countdown. If a user has rated them, they are sorted by his ratings. eliminatedShortlist: The themes of the shortlist that are eliminated by the final countdown randomizedShortlist: true/false whether the shortlist is randomized hasRankedShortlist: true/false whether the user has ranked the shortlist scoreByTheme: (optional) The scores set by the user }

ajaxFindThemes

  • ajaxFindThemes(req: any, res: any): Promise<void>

ajaxSaveThemeVote

  • ajaxSaveThemeVote(req: any, res: any): Promise<void>

viewEventThemes

  • viewEventThemes(req: any, res: any): Promise<void>

Generated using TypeDoc