import { addTask, startTask, endTask, posterioriEndTask, walkDay, moveToday, format } from "../takker99%2Ftakker-scheduler/deps.ts"; import type { Scrapbox } from "../scrapbox-jp%2Ftypes/userscript.ts"; declare const scrapbox: Scrapbox; export const task = [ {key: 'alt+a alt+a', command: () => {addTask();return false;},}, {key: 'alt+a alt+s', command: () => {startTask();return false;},}, {key: 'alt+a alt+e', command: () => {endTask();return false;},}, {key: 'alt+a alt+0', command: () => {posterioriEndTask();return false;},}, {key: 'alt+a alt+1', command: () => {walkDay(1);return false;},}, {key: 'alt+a alt+2', command: () => {walkDay(2);return false;},}, {key: 'alt+a alt+3', command: () => {walkDay(3);return false;},}, {key: 'alt+a alt+4', command: () => {walkDay(4);return false;},}, {key: 'alt+a alt+5', command: () => {walkDay(5);return false;},}, {key: 'alt+a alt+t', command: () => {moveToday();return false;},}, {key: 'alt+a alt+l', command: () => { window.open("https://script.google.com/macros/s/AKfycbyAgN8nmUXjVXL_tahDzVyyrMzFaI4CJVmIapk8G0GuxxVN-7oUbuDJOf31fP7SFjx9/exec"); return false; },}, {key: 'alt+a alt+shift+s', command: () => { if (scrapbox.Layout !== "page") return; format(scrapbox.Project.name, scrapbox.Page.title); return false; },}, ];