An event such as a promotion attached to a location in a venue for a period of time. Events can be created in the Mappedin CMS.

Hierarchy

  • MappedinEvent

Properties

description?: string

Optional, longer description of the event.

endDate?: number

Start timestamp of the event. Javascript date in milliseconds since 1 January 1970 UTC.

id: string = ''

Unique id string of the event.

image?: TImage

Optional image to be used for displaying the event.

name: string = ''

Event name

showDate?: number

Timestamp when the event should be displayed. Javascript date in milliseconds since 1 January 1970 UTC.

startDate?: number

Start timestamp of the event. Javascript date in milliseconds since 1 January 1970 UTC.

type: string = ''

Methods

  • Returns any

  • Parameters

    • mappedin: Mappedin
    • Optional hydrateData: any

    Returns Promise<void>