rewrite module to typescript
This commit is contained in:
26
src/variables.ts
Normal file
26
src/variables.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import { TogglTrack } from './main.js'
|
||||
|
||||
export default function (self: TogglTrack): void {
|
||||
self.setVariableDefinitions([
|
||||
{
|
||||
name: 'Workspace',
|
||||
variableId: 'workspace',
|
||||
},
|
||||
{
|
||||
name: 'Current Timer Id',
|
||||
variableId: 'timerId',
|
||||
},
|
||||
{
|
||||
name: 'Current Timer Duration',
|
||||
variableId: 'timerDuration',
|
||||
},
|
||||
{
|
||||
name: 'Last Timer Duration',
|
||||
variableId: 'lastTimerDuration',
|
||||
},
|
||||
{
|
||||
name: 'Current Timer Description',
|
||||
variableId: 'timerDescription',
|
||||
},
|
||||
])
|
||||
}
|
||||
Reference in New Issue
Block a user