Home > widget-integration > CountdownTimerSettings

CountdownTimerSettings interface

Timer settings nested object from BE.

Signature:

export interface CountdownTimerSettings 

Remarks

Date values (startDate, endDate) are Unix timestamps in milliseconds. minutes is the duration for the fixed_minutes timer type. startHour / endHour are 0–23 integers for the daily_recurring type.

Properties

Property

Modifiers

Type

Description

endDate?

number | null

(Optional)

endHour?

number | null

(Optional)

minutes?

number | null

(Optional)

onceEnd?

CountdownOnceEnd

(Optional)

startDate?

number | null

(Optional)

startHour?

number | null

(Optional)

type

TimerType