mirror of
https://github.com/cpvalente/ontime.git
synced 2026-07-26 10:38:55 +00:00
refactor: make minimal and clock as presets
This commit is contained in:
@@ -538,8 +538,15 @@ export const demoDb: DatabaseModel = {
|
||||
urlPresets: [
|
||||
{
|
||||
enabled: true,
|
||||
alias: 'test',
|
||||
pathAndParams: 'timer?timerType=clock',
|
||||
alias: 'clock',
|
||||
pathAndParams:
|
||||
'timer?showLeadingZeros=true&timerType=clock&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true',
|
||||
},
|
||||
{
|
||||
enabled: true,
|
||||
alias: 'minimal',
|
||||
pathAndParams:
|
||||
'timer?showLeadingZeros=true&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true',
|
||||
},
|
||||
],
|
||||
automation: {
|
||||
|
||||
@@ -488,7 +488,12 @@
|
||||
{
|
||||
"enabled": true,
|
||||
"alias": "clock",
|
||||
"pathAndParams": "timer?timerType=clock"
|
||||
"pathAndParams": "timer?showLeadingZeros=true&timerType=clock&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"alias": "minimal",
|
||||
"pathAndParams": "timer?showLeadingZeros=true&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true"
|
||||
}
|
||||
],
|
||||
"automation": {
|
||||
|
||||
Vendored
+6
-1
@@ -505,7 +505,12 @@
|
||||
{
|
||||
"enabled": true,
|
||||
"alias": "clock",
|
||||
"pathAndParams": "timer?timerType=clock"
|
||||
"pathAndParams": "timer?showLeadingZeros=true&timerType=clock&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true"
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"alias": "minimal",
|
||||
"pathAndParams": "timer?showLeadingZeros=true&hideClock=true&hideCards=true&hideProgress=true&hideMessage=true&hideSecondary=true&hideLogo=true"
|
||||
}
|
||||
],
|
||||
"automation": {
|
||||
|
||||
Reference in New Issue
Block a user