mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-20 18:08:55 +00:00
16 lines
496 B
TypeScript
16 lines
496 B
TypeScript
import { NightwatchBrowser } from 'nightwatch';
|
|
|
|
export interface AddTaskWithReminderParams {
|
|
title: string;
|
|
taskSel?: string;
|
|
scheduleTime?: number;
|
|
}
|
|
|
|
export interface NBrowser extends NightwatchBrowser {
|
|
addTask: (taskTitle: string) => NBrowser;
|
|
addNote: (noteTitle: string) => NBrowser;
|
|
goToDefaultProject: () => NBrowser;
|
|
openPanelForTask: (taskSel: string) => NBrowser;
|
|
// TODO use object for params
|
|
addTaskWithReminder: (params: AddTaskWithReminderParams) => NBrowser;
|
|
}
|