Tobias Brunner
301e297d45
All checks were successful
continuous-integration/drone/push Build is passing
34 lines
429 B
Plaintext
34 lines
429 B
Plaintext
{
|
|
/**
|
|
* @name timepicker.new
|
|
*/
|
|
new(
|
|
refresh_intervals=[
|
|
'5s',
|
|
'10s',
|
|
'30s',
|
|
'1m',
|
|
'5m',
|
|
'15m',
|
|
'30m',
|
|
'1h',
|
|
'2h',
|
|
'1d',
|
|
],
|
|
time_options=[
|
|
'5m',
|
|
'15m',
|
|
'1h',
|
|
'6h',
|
|
'12h',
|
|
'24h',
|
|
'2d',
|
|
'7d',
|
|
'30d',
|
|
],
|
|
):: {
|
|
refresh_intervals: refresh_intervals,
|
|
time_options: time_options,
|
|
},
|
|
}
|