mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
19 lines
702 B
TypeScript
19 lines
702 B
TypeScript
import { NightwatchAPI } from 'nightwatch';
|
|
|
|
export interface AddTaskWithReminderParams {
|
|
title: string;
|
|
taskSel?: string;
|
|
scheduleTime?: number;
|
|
}
|
|
|
|
export interface NBrowser extends NightwatchAPI {
|
|
addTask: (taskTitle: string, isSkipClose?: boolean) => NBrowser;
|
|
addTaskWithNewTag: (tagName: string) => NBrowser;
|
|
addNote: (noteTitle: string) => NBrowser;
|
|
draftTask: (taskTitle: string) => NBrowser;
|
|
goToDefaultProject: () => NBrowser;
|
|
loadAppAndClickAwayWelcomeDialog: (url?: string) => NBrowser;
|
|
openPanelForTask: (taskSel: string) => NBrowser;
|
|
sendKeysToActiveEl: (keys: string | string[]) => NBrowser;
|
|
addTaskWithReminder: (params: AddTaskWithReminderParams) => NBrowser;
|
|
}
|