2022-04-27 01:04:36 +08:00
|
|
|
name: tasks
|
2022-03-28 21:25:05 +08:00
|
|
|
functions:
|
2023-10-03 20:16:33 +08:00
|
|
|
# API
|
|
|
|
updateTaskState:
|
|
|
|
path: task.ts:updateTaskState
|
|
|
|
|
2022-03-28 21:25:05 +08:00
|
|
|
indexTasks:
|
|
|
|
path: "./task.ts:indexTasks"
|
|
|
|
events:
|
2024-10-11 21:34:27 +08:00
|
|
|
- page:index
|
2022-03-28 21:25:05 +08:00
|
|
|
taskToggle:
|
|
|
|
path: "./task.ts:taskToggle"
|
|
|
|
events:
|
|
|
|
- page:click
|
2022-04-21 17:46:33 +08:00
|
|
|
taskToggleCommand:
|
2023-09-01 22:57:29 +08:00
|
|
|
path: ./task.ts:taskCycleCommand
|
2022-04-21 17:46:33 +08:00
|
|
|
command:
|
2023-09-01 22:57:29 +08:00
|
|
|
name: "Task: Cycle State"
|
2022-04-21 17:46:33 +08:00
|
|
|
key: Alt-t
|
2024-01-27 00:05:10 +08:00
|
|
|
requireMode: rw
|
2022-04-21 17:46:33 +08:00
|
|
|
taskPostponeCommand:
|
|
|
|
path: ./task.ts:postponeCommand
|
|
|
|
command:
|
2022-06-28 20:14:15 +08:00
|
|
|
name: "Task: Postpone"
|
2022-04-21 17:46:33 +08:00
|
|
|
key: Alt-+
|
2024-01-27 00:05:10 +08:00
|
|
|
requireMode: rw
|
2022-04-21 17:46:33 +08:00
|
|
|
contexts:
|
|
|
|
- DeadlineDate
|
2022-11-01 22:01:28 +08:00
|
|
|
previewTaskToggle:
|
|
|
|
path: ./task.ts:previewTaskToggle
|
|
|
|
events:
|
2023-09-01 22:57:29 +08:00
|
|
|
- preview:click
|
|
|
|
|
|
|
|
taskComplete:
|
|
|
|
path: ./complete.ts:completeTaskState
|
|
|
|
events:
|
2024-10-11 21:34:27 +08:00
|
|
|
- editor:complete
|
2024-01-26 18:10:35 +08:00
|
|
|
|
|
|
|
removeCompletedTasksCommand:
|
|
|
|
path: task.ts:removeCompletedTasksCommand
|
|
|
|
command:
|
2024-01-27 00:05:10 +08:00
|
|
|
name: "Task: Remove Completed"
|
|
|
|
requireMode: rw
|
2024-08-24 18:35:09 +08:00
|
|
|
|
|
|
|
config:
|
|
|
|
schema.tag:
|
|
|
|
task:
|
|
|
|
type: object
|
|
|
|
additionalProperties: true
|
|
|
|
properties:
|
|
|
|
ref:
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
tag:
|
|
|
|
type: string
|
|
|
|
tags:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
itags:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
page:
|
|
|
|
type: string
|
|
|
|
parent:
|
|
|
|
type: string
|
|
|
|
pos:
|
|
|
|
type: number
|
|
|
|
text:
|
|
|
|
type: string
|
|
|
|
state:
|
|
|
|
type: string
|
|
|
|
done:
|
|
|
|
type: boolean
|
|
|
|
deadline:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
taskstate:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
ref:
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
tag:
|
|
|
|
type: string
|
|
|
|
tags:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
itags:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
state:
|
|
|
|
type: string
|
|
|
|
count:
|
2024-10-11 21:34:27 +08:00
|
|
|
type: number
|