@scardis/omnifocus-mcp 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/opsx/apply.md +152 -0
- package/.claude/commands/opsx/archive.md +157 -0
- package/.claude/commands/opsx/bulk-archive.md +242 -0
- package/.claude/commands/opsx/continue.md +114 -0
- package/.claude/commands/opsx/explore.md +173 -0
- package/.claude/commands/opsx/ff.md +97 -0
- package/.claude/commands/opsx/new.md +69 -0
- package/.claude/commands/opsx/onboard.md +550 -0
- package/.claude/commands/opsx/propose.md +106 -0
- package/.claude/commands/opsx/sync.md +134 -0
- package/.claude/commands/opsx/verify.md +164 -0
- package/.claude/skills/openspec-apply-change/SKILL.md +156 -0
- package/.claude/skills/openspec-archive-change/SKILL.md +114 -0
- package/.claude/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/.claude/skills/openspec-continue-change/SKILL.md +118 -0
- package/.claude/skills/openspec-explore/SKILL.md +288 -0
- package/.claude/skills/openspec-ff-change/SKILL.md +101 -0
- package/.claude/skills/openspec-new-change/SKILL.md +74 -0
- package/.claude/skills/openspec-onboard/SKILL.md +554 -0
- package/.claude/skills/openspec-propose/SKILL.md +110 -0
- package/.claude/skills/openspec-sync-specs/SKILL.md +138 -0
- package/.claude/skills/openspec-verify-change/SKILL.md +168 -0
- package/CONTRIBUTING.md +83 -0
- package/LICENSE +21 -0
- package/README.md +198 -0
- package/dist/runtime/bridge.d.ts +16 -0
- package/dist/runtime/bridge.d.ts.map +1 -0
- package/dist/runtime/bridge.js +76 -0
- package/dist/runtime/bridge.js.map +1 -0
- package/dist/runtime/index.d.ts +5 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +5 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/runtime/jxaShim.d.ts +21 -0
- package/dist/runtime/jxaShim.d.ts.map +1 -0
- package/dist/runtime/jxaShim.js +55 -0
- package/dist/runtime/jxaShim.js.map +1 -0
- package/dist/runtime/resultProtocol.d.ts +66 -0
- package/dist/runtime/resultProtocol.d.ts.map +1 -0
- package/dist/runtime/resultProtocol.js +52 -0
- package/dist/runtime/resultProtocol.js.map +1 -0
- package/dist/runtime/snippetLoader.d.ts +4 -0
- package/dist/runtime/snippetLoader.d.ts.map +1 -0
- package/dist/runtime/snippetLoader.js +68 -0
- package/dist/runtime/snippetLoader.js.map +1 -0
- package/dist/schemas/enums.d.ts +9 -0
- package/dist/schemas/enums.d.ts.map +1 -0
- package/dist/schemas/enums.js +26 -0
- package/dist/schemas/enums.js.map +1 -0
- package/dist/schemas/index.d.ts +3 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +3 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/shapes.d.ts +726 -0
- package/dist/schemas/shapes.d.ts.map +1 -0
- package/dist/schemas/shapes.js +221 -0
- package/dist/schemas/shapes.js.map +1 -0
- package/dist/server.d.ts +2 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +50 -0
- package/dist/server.js.map +1 -0
- package/dist/tools/completeProject.d.ts +24 -0
- package/dist/tools/completeProject.d.ts.map +1 -0
- package/dist/tools/completeProject.js +17 -0
- package/dist/tools/completeProject.js.map +1 -0
- package/dist/tools/completeTask.d.ts +25 -0
- package/dist/tools/completeTask.d.ts.map +1 -0
- package/dist/tools/completeTask.js +17 -0
- package/dist/tools/completeTask.js.map +1 -0
- package/dist/tools/createFolder.d.ts +20 -0
- package/dist/tools/createFolder.d.ts.map +1 -0
- package/dist/tools/createFolder.js +13 -0
- package/dist/tools/createFolder.js.map +1 -0
- package/dist/tools/createProject.d.ts +59 -0
- package/dist/tools/createProject.d.ts.map +1 -0
- package/dist/tools/createProject.js +13 -0
- package/dist/tools/createProject.js.map +1 -0
- package/dist/tools/createTag.d.ts +20 -0
- package/dist/tools/createTag.d.ts.map +1 -0
- package/dist/tools/createTag.js +13 -0
- package/dist/tools/createTag.js.map +1 -0
- package/dist/tools/createTask.d.ts +116 -0
- package/dist/tools/createTask.d.ts.map +1 -0
- package/dist/tools/createTask.js +13 -0
- package/dist/tools/createTask.js.map +1 -0
- package/dist/tools/deleteFolder.d.ts +30 -0
- package/dist/tools/deleteFolder.d.ts.map +1 -0
- package/dist/tools/deleteFolder.js +18 -0
- package/dist/tools/deleteFolder.js.map +1 -0
- package/dist/tools/deleteProject.d.ts +30 -0
- package/dist/tools/deleteProject.d.ts.map +1 -0
- package/dist/tools/deleteProject.js +18 -0
- package/dist/tools/deleteProject.js.map +1 -0
- package/dist/tools/deleteTag.d.ts +30 -0
- package/dist/tools/deleteTag.d.ts.map +1 -0
- package/dist/tools/deleteTag.js +18 -0
- package/dist/tools/deleteTag.js.map +1 -0
- package/dist/tools/deleteTask.d.ts +31 -0
- package/dist/tools/deleteTask.d.ts.map +1 -0
- package/dist/tools/deleteTask.js +18 -0
- package/dist/tools/deleteTask.js.map +1 -0
- package/dist/tools/dropProject.d.ts +24 -0
- package/dist/tools/dropProject.d.ts.map +1 -0
- package/dist/tools/dropProject.js +17 -0
- package/dist/tools/dropProject.js.map +1 -0
- package/dist/tools/dropTask.d.ts +25 -0
- package/dist/tools/dropTask.d.ts.map +1 -0
- package/dist/tools/dropTask.js +17 -0
- package/dist/tools/dropTask.js.map +1 -0
- package/dist/tools/editFolder.d.ts +20 -0
- package/dist/tools/editFolder.d.ts.map +1 -0
- package/dist/tools/editFolder.js +13 -0
- package/dist/tools/editFolder.js.map +1 -0
- package/dist/tools/editProject.d.ts +59 -0
- package/dist/tools/editProject.d.ts.map +1 -0
- package/dist/tools/editProject.js +13 -0
- package/dist/tools/editProject.js.map +1 -0
- package/dist/tools/editTag.d.ts +31 -0
- package/dist/tools/editTag.d.ts.map +1 -0
- package/dist/tools/editTag.js +13 -0
- package/dist/tools/editTag.js.map +1 -0
- package/dist/tools/editTask.d.ts +79 -0
- package/dist/tools/editTask.d.ts.map +1 -0
- package/dist/tools/editTask.js +13 -0
- package/dist/tools/editTask.js.map +1 -0
- package/dist/tools/getFolder.d.ts +24 -0
- package/dist/tools/getFolder.d.ts.map +1 -0
- package/dist/tools/getFolder.js +17 -0
- package/dist/tools/getFolder.js.map +1 -0
- package/dist/tools/getProject.d.ts +24 -0
- package/dist/tools/getProject.d.ts.map +1 -0
- package/dist/tools/getProject.js +17 -0
- package/dist/tools/getProject.js.map +1 -0
- package/dist/tools/getTag.d.ts +24 -0
- package/dist/tools/getTag.d.ts.map +1 -0
- package/dist/tools/getTag.js +17 -0
- package/dist/tools/getTag.js.map +1 -0
- package/dist/tools/getTask.d.ts +24 -0
- package/dist/tools/getTask.d.ts.map +1 -0
- package/dist/tools/getTask.js +17 -0
- package/dist/tools/getTask.js.map +1 -0
- package/dist/tools/index.d.ts +732 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +84 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/listFolders.d.ts +50 -0
- package/dist/tools/listFolders.d.ts.map +1 -0
- package/dist/tools/listFolders.js +21 -0
- package/dist/tools/listFolders.js.map +1 -0
- package/dist/tools/listProjects.d.ts +70 -0
- package/dist/tools/listProjects.d.ts.map +1 -0
- package/dist/tools/listProjects.js +21 -0
- package/dist/tools/listProjects.js.map +1 -0
- package/dist/tools/listTags.d.ts +50 -0
- package/dist/tools/listTags.d.ts.map +1 -0
- package/dist/tools/listTags.js +21 -0
- package/dist/tools/listTags.js.map +1 -0
- package/dist/tools/listTasks.d.ts +156 -0
- package/dist/tools/listTasks.d.ts.map +1 -0
- package/dist/tools/listTasks.js +36 -0
- package/dist/tools/listTasks.js.map +1 -0
- package/dist/tools/moveProject.d.ts +20 -0
- package/dist/tools/moveProject.d.ts.map +1 -0
- package/dist/tools/moveProject.js +13 -0
- package/dist/tools/moveProject.js.map +1 -0
- package/dist/tools/moveTask.d.ts +31 -0
- package/dist/tools/moveTask.d.ts.map +1 -0
- package/dist/tools/moveTask.js +13 -0
- package/dist/tools/moveTask.js.map +1 -0
- package/dist/tools/resolveName.d.ts +36 -0
- package/dist/tools/resolveName.d.ts.map +1 -0
- package/dist/tools/resolveName.js +26 -0
- package/dist/tools/resolveName.js.map +1 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/.openspec.yaml +2 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/design.md +162 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/proposal.md +49 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/attachments/spec.md +9 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/batch-operations/spec.md +9 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/database-inspection/spec.md +9 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/execution-runtime/spec.md +69 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/folder-management/spec.md +25 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/forecast/spec.md +9 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/identity-resolution/spec.md +45 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/perspective-management/spec.md +9 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/project-management/spec.md +25 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/recurrence/spec.md +9 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/settings/spec.md +9 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/tag-management/spec.md +25 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/task-management/spec.md +29 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/url-automation/spec.md +9 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/specs/window-state/spec.md +9 -0
- package/openspec/changes/archive/2026-04-09-bootstrap-omnifocus-mcp/tasks.md +84 -0
- package/openspec/changes/archive/2026-04-09-folder-crud/.openspec.yaml +2 -0
- package/openspec/changes/archive/2026-04-09-folder-crud/design.md +58 -0
- package/openspec/changes/archive/2026-04-09-folder-crud/proposal.md +28 -0
- package/openspec/changes/archive/2026-04-09-folder-crud/specs/folder-write/spec.md +45 -0
- package/openspec/changes/archive/2026-04-09-folder-crud/tasks.md +41 -0
- package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/.openspec.yaml +2 -0
- package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/design.md +38 -0
- package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/proposal.md +30 -0
- package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/specs/folder-management/spec.md +21 -0
- package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/specs/tag-management/spec.md +21 -0
- package/openspec/changes/archive/2026-04-09-folder-tag-list-filtering/tasks.md +35 -0
- package/openspec/changes/archive/2026-04-09-move-operations/.openspec.yaml +2 -0
- package/openspec/changes/archive/2026-04-09-move-operations/design.md +43 -0
- package/openspec/changes/archive/2026-04-09-move-operations/proposal.md +25 -0
- package/openspec/changes/archive/2026-04-09-move-operations/specs/move-operations/spec.md +41 -0
- package/openspec/changes/archive/2026-04-09-move-operations/tasks.md +40 -0
- package/openspec/changes/archive/2026-04-09-project-crud/.openspec.yaml +2 -0
- package/openspec/changes/archive/2026-04-09-project-crud/design.md +60 -0
- package/openspec/changes/archive/2026-04-09-project-crud/proposal.md +29 -0
- package/openspec/changes/archive/2026-04-09-project-crud/specs/project-write/spec.md +74 -0
- package/openspec/changes/archive/2026-04-09-project-crud/tasks.md +48 -0
- package/openspec/changes/archive/2026-04-09-project-filtering/.openspec.yaml +2 -0
- package/openspec/changes/archive/2026-04-09-project-filtering/design.md +52 -0
- package/openspec/changes/archive/2026-04-09-project-filtering/proposal.md +26 -0
- package/openspec/changes/archive/2026-04-09-project-filtering/specs/project-filtering/spec.md +66 -0
- package/openspec/changes/archive/2026-04-09-project-filtering/specs/project-management/spec.md +13 -0
- package/openspec/changes/archive/2026-04-09-project-filtering/tasks.md +41 -0
- package/openspec/changes/archive/2026-04-09-tag-crud/.openspec.yaml +2 -0
- package/openspec/changes/archive/2026-04-09-tag-crud/design.md +45 -0
- package/openspec/changes/archive/2026-04-09-tag-crud/proposal.md +28 -0
- package/openspec/changes/archive/2026-04-09-tag-crud/specs/tag-write/spec.md +49 -0
- package/openspec/changes/archive/2026-04-09-tag-crud/tasks.md +41 -0
- package/openspec/changes/archive/2026-04-09-task-crud/.openspec.yaml +2 -0
- package/openspec/changes/archive/2026-04-09-task-crud/design.md +62 -0
- package/openspec/changes/archive/2026-04-09-task-crud/proposal.md +29 -0
- package/openspec/changes/archive/2026-04-09-task-crud/specs/task-management/spec.md +17 -0
- package/openspec/changes/archive/2026-04-09-task-crud/specs/task-write/spec.md +89 -0
- package/openspec/changes/archive/2026-04-09-task-crud/tasks.md +55 -0
- package/openspec/changes/archive/2026-04-09-task-filtering/.openspec.yaml +2 -0
- package/openspec/changes/archive/2026-04-09-task-filtering/design.md +61 -0
- package/openspec/changes/archive/2026-04-09-task-filtering/proposal.md +26 -0
- package/openspec/changes/archive/2026-04-09-task-filtering/specs/task-filtering/spec.md +63 -0
- package/openspec/changes/archive/2026-04-09-task-filtering/specs/task-management/spec.md +17 -0
- package/openspec/changes/archive/2026-04-09-task-filtering/tasks.md +42 -0
- package/openspec/changes/archive/2026-04-10-planned-date/.openspec.yaml +2 -0
- package/openspec/changes/archive/2026-04-10-planned-date/design.md +27 -0
- package/openspec/changes/archive/2026-04-10-planned-date/proposal.md +29 -0
- package/openspec/changes/archive/2026-04-10-planned-date/specs/task-management/spec.md +29 -0
- package/openspec/changes/archive/2026-04-10-planned-date/specs/task-write/spec.md +69 -0
- package/openspec/changes/archive/2026-04-10-planned-date/tasks.md +26 -0
- package/openspec/changes/archive/2026-04-10-task-recurrence/.openspec.yaml +2 -0
- package/openspec/changes/archive/2026-04-10-task-recurrence/design.md +81 -0
- package/openspec/changes/archive/2026-04-10-task-recurrence/proposal.md +28 -0
- package/openspec/changes/archive/2026-04-10-task-recurrence/specs/recurrence/spec.md +47 -0
- package/openspec/changes/archive/2026-04-10-task-recurrence/specs/task-management/spec.md +25 -0
- package/openspec/changes/archive/2026-04-10-task-recurrence/specs/task-write/spec.md +61 -0
- package/openspec/changes/archive/2026-04-10-task-recurrence/tasks.md +39 -0
- package/openspec/config.yaml +20 -0
- package/openspec/specs/attachments/spec.md +15 -0
- package/openspec/specs/batch-operations/spec.md +15 -0
- package/openspec/specs/database-inspection/spec.md +15 -0
- package/openspec/specs/execution-runtime/spec.md +75 -0
- package/openspec/specs/folder-management/spec.md +39 -0
- package/openspec/specs/folder-write/spec.md +45 -0
- package/openspec/specs/forecast/spec.md +15 -0
- package/openspec/specs/identity-resolution/spec.md +51 -0
- package/openspec/specs/move-operations/spec.md +41 -0
- package/openspec/specs/perspective-management/spec.md +15 -0
- package/openspec/specs/project-filtering/spec.md +72 -0
- package/openspec/specs/project-management/spec.md +31 -0
- package/openspec/specs/project-write/spec.md +79 -0
- package/openspec/specs/recurrence/spec.md +51 -0
- package/openspec/specs/settings/spec.md +15 -0
- package/openspec/specs/tag-management/spec.md +39 -0
- package/openspec/specs/tag-write/spec.md +49 -0
- package/openspec/specs/task-filtering/spec.md +63 -0
- package/openspec/specs/task-management/spec.md +51 -0
- package/openspec/specs/task-write/spec.md +115 -0
- package/openspec/specs/url-automation/spec.md +15 -0
- package/openspec/specs/window-state/spec.md +15 -0
- package/package.json +32 -0
- package/scripts/cleanup-fixtures.ts +89 -0
- package/server.json +21 -0
- package/src/runtime/bridge.ts +97 -0
- package/src/runtime/index.ts +4 -0
- package/src/runtime/jxaShim.ts +55 -0
- package/src/runtime/resultProtocol.ts +62 -0
- package/src/runtime/snippetLoader.ts +79 -0
- package/src/schemas/enums.ts +32 -0
- package/src/schemas/index.ts +38 -0
- package/src/schemas/shapes.ts +267 -0
- package/src/server.ts +58 -0
- package/src/snippets/complete_project.js +73 -0
- package/src/snippets/complete_task.js +85 -0
- package/src/snippets/create_folder.js +52 -0
- package/src/snippets/create_project.js +107 -0
- package/src/snippets/create_tag.js +55 -0
- package/src/snippets/create_task.js +159 -0
- package/src/snippets/delete_folder.js +26 -0
- package/src/snippets/delete_project.js +20 -0
- package/src/snippets/delete_tag.js +20 -0
- package/src/snippets/delete_task.js +20 -0
- package/src/snippets/drop_project.js +73 -0
- package/src/snippets/drop_task.js +85 -0
- package/src/snippets/edit_folder.js +46 -0
- package/src/snippets/edit_project.js +106 -0
- package/src/snippets/edit_tag.js +56 -0
- package/src/snippets/edit_task.js +146 -0
- package/src/snippets/get_folder.js +48 -0
- package/src/snippets/get_project.js +77 -0
- package/src/snippets/get_tag.js +51 -0
- package/src/snippets/get_task.js +96 -0
- package/src/snippets/list_folders.js +50 -0
- package/src/snippets/list_projects.js +98 -0
- package/src/snippets/list_tags.js +54 -0
- package/src/snippets/list_tasks.js +127 -0
- package/src/snippets/move_project.js +79 -0
- package/src/snippets/move_task.js +113 -0
- package/src/snippets/resolve_name.js +83 -0
- package/src/tools/completeProject.ts +21 -0
- package/src/tools/completeTask.ts +23 -0
- package/src/tools/createFolder.ts +20 -0
- package/src/tools/createProject.ts +20 -0
- package/src/tools/createTag.ts +20 -0
- package/src/tools/createTask.ts +20 -0
- package/src/tools/deleteFolder.ts +24 -0
- package/src/tools/deleteProject.ts +24 -0
- package/src/tools/deleteTag.ts +24 -0
- package/src/tools/deleteTask.ts +26 -0
- package/src/tools/dropProject.ts +21 -0
- package/src/tools/dropTask.ts +23 -0
- package/src/tools/editFolder.ts +19 -0
- package/src/tools/editProject.ts +20 -0
- package/src/tools/editTag.ts +20 -0
- package/src/tools/editTask.ts +20 -0
- package/src/tools/getFolder.ts +24 -0
- package/src/tools/getProject.ts +24 -0
- package/src/tools/getTag.ts +24 -0
- package/src/tools/getTask.ts +24 -0
- package/src/tools/index.ts +85 -0
- package/src/tools/listFolders.ts +32 -0
- package/src/tools/listProjects.ts +32 -0
- package/src/tools/listTags.ts +32 -0
- package/src/tools/listTasks.ts +56 -0
- package/src/tools/moveProject.ts +20 -0
- package/src/tools/moveTask.ts +20 -0
- package/src/tools/resolveName.ts +37 -0
- package/test/integration/.gitkeep +0 -0
- package/test/integration/completeProject.int.test.ts +25 -0
- package/test/integration/completeTask.int.test.ts +30 -0
- package/test/integration/createFolder.int.test.ts +50 -0
- package/test/integration/createProject.int.test.ts +49 -0
- package/test/integration/createTag.int.test.ts +52 -0
- package/test/integration/createTask.int.test.ts +55 -0
- package/test/integration/deleteFolder.int.test.ts +64 -0
- package/test/integration/deleteProject.int.test.ts +31 -0
- package/test/integration/deleteTag.int.test.ts +61 -0
- package/test/integration/deleteTask.int.test.ts +36 -0
- package/test/integration/dropProject.int.test.ts +24 -0
- package/test/integration/dropTask.int.test.ts +29 -0
- package/test/integration/editFolder.int.test.ts +43 -0
- package/test/integration/editProject.int.test.ts +39 -0
- package/test/integration/editTag.int.test.ts +43 -0
- package/test/integration/editTask.int.test.ts +56 -0
- package/test/integration/fixtures.ts +219 -0
- package/test/integration/getTask.int.test.ts +64 -0
- package/test/integration/listFoldersFiltered.int.test.ts +98 -0
- package/test/integration/listProjects.int.test.ts +73 -0
- package/test/integration/listProjectsFiltered.int.test.ts +96 -0
- package/test/integration/listTagsFiltered.int.test.ts +54 -0
- package/test/integration/listTasksFiltered.int.test.ts +141 -0
- package/test/integration/moveProject.int.test.ts +57 -0
- package/test/integration/moveTask.int.test.ts +61 -0
- package/test/integration/plannedDate.int.test.ts +72 -0
- package/test/integration/preflight.ts +60 -0
- package/test/integration/resolveName.int.test.ts +86 -0
- package/test/integration/taskRecurrence.int.test.ts +106 -0
- package/test/unit/.gitkeep +0 -0
- package/test/unit/bridge.injection.test.ts +66 -0
- package/test/unit/resultProtocol.test.ts +71 -0
- package/test/unit/schemas.createFolder.test.ts +38 -0
- package/test/unit/schemas.createProject.test.ts +115 -0
- package/test/unit/schemas.createTask.test.ts +87 -0
- package/test/unit/schemas.editTag.test.ts +64 -0
- package/test/unit/schemas.folderTagFiltering.test.ts +42 -0
- package/test/unit/schemas.listProjects.test.ts +44 -0
- package/test/unit/schemas.moveOperations.test.ts +60 -0
- package/test/unit/schemas.recurrence.test.ts +120 -0
- package/test/unit/schemas.test.ts +126 -0
- package/test/unit/snippetLoader.test.ts +56 -0
- package/test/unit/tools.deleteTask.test.ts +19 -0
- package/test/unit/tools.listTasks.test.ts +126 -0
- package/tsconfig.json +19 -0
- package/vitest.config.ts +8 -0
- package/vitest.integration.config.ts +18 -0
|
@@ -0,0 +1,726 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const RepetitionRuleInput: z.ZodEffects<z.ZodObject<{
|
|
3
|
+
frequency: z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
|
|
4
|
+
interval: z.ZodDefault<z.ZodNumber>;
|
|
5
|
+
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
|
|
6
|
+
method: z.ZodEnum<["fixed", "dueDate", "start"]>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
9
|
+
interval: number;
|
|
10
|
+
method: "fixed" | "dueDate" | "start";
|
|
11
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
14
|
+
method: "fixed" | "dueDate" | "start";
|
|
15
|
+
interval?: number | undefined;
|
|
16
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
19
|
+
interval: number;
|
|
20
|
+
method: "fixed" | "dueDate" | "start";
|
|
21
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
24
|
+
method: "fixed" | "dueDate" | "start";
|
|
25
|
+
interval?: number | undefined;
|
|
26
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
27
|
+
}>;
|
|
28
|
+
export declare const RepetitionRuleDetail: z.ZodObject<{
|
|
29
|
+
frequency: z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
|
|
30
|
+
interval: z.ZodNumber;
|
|
31
|
+
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
|
|
32
|
+
method: z.ZodEnum<["fixed", "dueDate", "start"]>;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
35
|
+
interval: number;
|
|
36
|
+
method: "fixed" | "dueDate" | "start";
|
|
37
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
40
|
+
interval: number;
|
|
41
|
+
method: "fixed" | "dueDate" | "start";
|
|
42
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
export declare const TaskSummary: z.ZodObject<{
|
|
45
|
+
id: z.ZodString;
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
status: z.ZodEnum<["available", "incomplete", "completedByChildren", "complete", "dropped", "dueSoon", "overdue", "flagged", "blocked", "next"]>;
|
|
48
|
+
flagged: z.ZodBoolean;
|
|
49
|
+
containerId: z.ZodNullable<z.ZodString>;
|
|
50
|
+
containerType: z.ZodNullable<z.ZodEnum<["project", "inbox", "task"]>>;
|
|
51
|
+
dueDate: z.ZodNullable<z.ZodString>;
|
|
52
|
+
tagIds: z.ZodArray<z.ZodString, "many">;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
name: string;
|
|
55
|
+
status: "dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next";
|
|
56
|
+
flagged: boolean;
|
|
57
|
+
dueDate: string | null;
|
|
58
|
+
id: string;
|
|
59
|
+
containerId: string | null;
|
|
60
|
+
containerType: "task" | "project" | "inbox" | null;
|
|
61
|
+
tagIds: string[];
|
|
62
|
+
}, {
|
|
63
|
+
name: string;
|
|
64
|
+
status: "dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next";
|
|
65
|
+
flagged: boolean;
|
|
66
|
+
dueDate: string | null;
|
|
67
|
+
id: string;
|
|
68
|
+
containerId: string | null;
|
|
69
|
+
containerType: "task" | "project" | "inbox" | null;
|
|
70
|
+
tagIds: string[];
|
|
71
|
+
}>;
|
|
72
|
+
export declare const ListTasksFilter: z.ZodObject<{
|
|
73
|
+
flagged: z.ZodOptional<z.ZodLiteral<true>>;
|
|
74
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<["available", "incomplete", "completedByChildren", "complete", "dropped", "dueSoon", "overdue", "flagged", "blocked", "next"]>, "many">>;
|
|
75
|
+
tagId: z.ZodOptional<z.ZodString>;
|
|
76
|
+
dueBeforeDate: z.ZodOptional<z.ZodString>;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
status?: ("dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next")[] | undefined;
|
|
79
|
+
flagged?: true | undefined;
|
|
80
|
+
tagId?: string | undefined;
|
|
81
|
+
dueBeforeDate?: string | undefined;
|
|
82
|
+
}, {
|
|
83
|
+
status?: ("dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next")[] | undefined;
|
|
84
|
+
flagged?: true | undefined;
|
|
85
|
+
tagId?: string | undefined;
|
|
86
|
+
dueBeforeDate?: string | undefined;
|
|
87
|
+
}>;
|
|
88
|
+
export declare const TaskDetail: z.ZodObject<{
|
|
89
|
+
id: z.ZodString;
|
|
90
|
+
name: z.ZodString;
|
|
91
|
+
note: z.ZodString;
|
|
92
|
+
status: z.ZodEnum<["available", "incomplete", "completedByChildren", "complete", "dropped", "dueSoon", "overdue", "flagged", "blocked", "next"]>;
|
|
93
|
+
flagged: z.ZodBoolean;
|
|
94
|
+
deferDate: z.ZodNullable<z.ZodString>;
|
|
95
|
+
plannedDate: z.ZodNullable<z.ZodString>;
|
|
96
|
+
dueDate: z.ZodNullable<z.ZodString>;
|
|
97
|
+
completionDate: z.ZodNullable<z.ZodString>;
|
|
98
|
+
estimatedMinutes: z.ZodNullable<z.ZodNumber>;
|
|
99
|
+
containerId: z.ZodNullable<z.ZodString>;
|
|
100
|
+
containerType: z.ZodNullable<z.ZodEnum<["project", "inbox", "task"]>>;
|
|
101
|
+
tagIds: z.ZodArray<z.ZodString, "many">;
|
|
102
|
+
parentTaskId: z.ZodNullable<z.ZodString>;
|
|
103
|
+
repetitionRule: z.ZodNullable<z.ZodObject<{
|
|
104
|
+
frequency: z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
|
|
105
|
+
interval: z.ZodNumber;
|
|
106
|
+
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
|
|
107
|
+
method: z.ZodEnum<["fixed", "dueDate", "start"]>;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
110
|
+
interval: number;
|
|
111
|
+
method: "fixed" | "dueDate" | "start";
|
|
112
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
113
|
+
}, {
|
|
114
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
115
|
+
interval: number;
|
|
116
|
+
method: "fixed" | "dueDate" | "start";
|
|
117
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
118
|
+
}>>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
name: string;
|
|
121
|
+
status: "dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next";
|
|
122
|
+
flagged: boolean;
|
|
123
|
+
dueDate: string | null;
|
|
124
|
+
id: string;
|
|
125
|
+
containerId: string | null;
|
|
126
|
+
containerType: "task" | "project" | "inbox" | null;
|
|
127
|
+
tagIds: string[];
|
|
128
|
+
note: string;
|
|
129
|
+
deferDate: string | null;
|
|
130
|
+
plannedDate: string | null;
|
|
131
|
+
completionDate: string | null;
|
|
132
|
+
estimatedMinutes: number | null;
|
|
133
|
+
parentTaskId: string | null;
|
|
134
|
+
repetitionRule: {
|
|
135
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
136
|
+
interval: number;
|
|
137
|
+
method: "fixed" | "dueDate" | "start";
|
|
138
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
139
|
+
} | null;
|
|
140
|
+
}, {
|
|
141
|
+
name: string;
|
|
142
|
+
status: "dropped" | "available" | "incomplete" | "completedByChildren" | "complete" | "dueSoon" | "overdue" | "flagged" | "blocked" | "next";
|
|
143
|
+
flagged: boolean;
|
|
144
|
+
dueDate: string | null;
|
|
145
|
+
id: string;
|
|
146
|
+
containerId: string | null;
|
|
147
|
+
containerType: "task" | "project" | "inbox" | null;
|
|
148
|
+
tagIds: string[];
|
|
149
|
+
note: string;
|
|
150
|
+
deferDate: string | null;
|
|
151
|
+
plannedDate: string | null;
|
|
152
|
+
completionDate: string | null;
|
|
153
|
+
estimatedMinutes: number | null;
|
|
154
|
+
parentTaskId: string | null;
|
|
155
|
+
repetitionRule: {
|
|
156
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
157
|
+
interval: number;
|
|
158
|
+
method: "fixed" | "dueDate" | "start";
|
|
159
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
160
|
+
} | null;
|
|
161
|
+
}>;
|
|
162
|
+
export declare const CreateTaskInput: z.ZodEffects<z.ZodObject<{
|
|
163
|
+
name: z.ZodString;
|
|
164
|
+
note: z.ZodOptional<z.ZodString>;
|
|
165
|
+
flagged: z.ZodOptional<z.ZodBoolean>;
|
|
166
|
+
deferDate: z.ZodOptional<z.ZodString>;
|
|
167
|
+
plannedDate: z.ZodOptional<z.ZodString>;
|
|
168
|
+
dueDate: z.ZodOptional<z.ZodString>;
|
|
169
|
+
estimatedMinutes: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
171
|
+
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
172
|
+
tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
173
|
+
repetitionRule: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
174
|
+
frequency: z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
|
|
175
|
+
interval: z.ZodDefault<z.ZodNumber>;
|
|
176
|
+
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
|
|
177
|
+
method: z.ZodEnum<["fixed", "dueDate", "start"]>;
|
|
178
|
+
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
180
|
+
interval: number;
|
|
181
|
+
method: "fixed" | "dueDate" | "start";
|
|
182
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
183
|
+
}, {
|
|
184
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
185
|
+
method: "fixed" | "dueDate" | "start";
|
|
186
|
+
interval?: number | undefined;
|
|
187
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
188
|
+
}>, {
|
|
189
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
190
|
+
interval: number;
|
|
191
|
+
method: "fixed" | "dueDate" | "start";
|
|
192
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
193
|
+
}, {
|
|
194
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
195
|
+
method: "fixed" | "dueDate" | "start";
|
|
196
|
+
interval?: number | undefined;
|
|
197
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
198
|
+
}>>;
|
|
199
|
+
}, "strip", z.ZodTypeAny, {
|
|
200
|
+
name: string;
|
|
201
|
+
flagged?: boolean | undefined;
|
|
202
|
+
dueDate?: string | undefined;
|
|
203
|
+
tagIds?: string[] | undefined;
|
|
204
|
+
note?: string | undefined;
|
|
205
|
+
deferDate?: string | undefined;
|
|
206
|
+
plannedDate?: string | undefined;
|
|
207
|
+
estimatedMinutes?: number | undefined;
|
|
208
|
+
parentTaskId?: string | undefined;
|
|
209
|
+
repetitionRule?: {
|
|
210
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
211
|
+
interval: number;
|
|
212
|
+
method: "fixed" | "dueDate" | "start";
|
|
213
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
214
|
+
} | undefined;
|
|
215
|
+
projectId?: string | undefined;
|
|
216
|
+
}, {
|
|
217
|
+
name: string;
|
|
218
|
+
flagged?: boolean | undefined;
|
|
219
|
+
dueDate?: string | undefined;
|
|
220
|
+
tagIds?: string[] | undefined;
|
|
221
|
+
note?: string | undefined;
|
|
222
|
+
deferDate?: string | undefined;
|
|
223
|
+
plannedDate?: string | undefined;
|
|
224
|
+
estimatedMinutes?: number | undefined;
|
|
225
|
+
parentTaskId?: string | undefined;
|
|
226
|
+
repetitionRule?: {
|
|
227
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
228
|
+
method: "fixed" | "dueDate" | "start";
|
|
229
|
+
interval?: number | undefined;
|
|
230
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
231
|
+
} | undefined;
|
|
232
|
+
projectId?: string | undefined;
|
|
233
|
+
}>, {
|
|
234
|
+
name: string;
|
|
235
|
+
flagged?: boolean | undefined;
|
|
236
|
+
dueDate?: string | undefined;
|
|
237
|
+
tagIds?: string[] | undefined;
|
|
238
|
+
note?: string | undefined;
|
|
239
|
+
deferDate?: string | undefined;
|
|
240
|
+
plannedDate?: string | undefined;
|
|
241
|
+
estimatedMinutes?: number | undefined;
|
|
242
|
+
parentTaskId?: string | undefined;
|
|
243
|
+
repetitionRule?: {
|
|
244
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
245
|
+
interval: number;
|
|
246
|
+
method: "fixed" | "dueDate" | "start";
|
|
247
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
248
|
+
} | undefined;
|
|
249
|
+
projectId?: string | undefined;
|
|
250
|
+
}, {
|
|
251
|
+
name: string;
|
|
252
|
+
flagged?: boolean | undefined;
|
|
253
|
+
dueDate?: string | undefined;
|
|
254
|
+
tagIds?: string[] | undefined;
|
|
255
|
+
note?: string | undefined;
|
|
256
|
+
deferDate?: string | undefined;
|
|
257
|
+
plannedDate?: string | undefined;
|
|
258
|
+
estimatedMinutes?: number | undefined;
|
|
259
|
+
parentTaskId?: string | undefined;
|
|
260
|
+
repetitionRule?: {
|
|
261
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
262
|
+
method: "fixed" | "dueDate" | "start";
|
|
263
|
+
interval?: number | undefined;
|
|
264
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
265
|
+
} | undefined;
|
|
266
|
+
projectId?: string | undefined;
|
|
267
|
+
}>;
|
|
268
|
+
export declare const EditTaskInput: z.ZodObject<{
|
|
269
|
+
id: z.ZodString;
|
|
270
|
+
name: z.ZodOptional<z.ZodString>;
|
|
271
|
+
note: z.ZodOptional<z.ZodString>;
|
|
272
|
+
flagged: z.ZodOptional<z.ZodBoolean>;
|
|
273
|
+
deferDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
274
|
+
plannedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
275
|
+
dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
276
|
+
estimatedMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
277
|
+
tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
278
|
+
repetitionRule: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
279
|
+
frequency: z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>;
|
|
280
|
+
interval: z.ZodDefault<z.ZodNumber>;
|
|
281
|
+
daysOfWeek: z.ZodOptional<z.ZodArray<z.ZodEnum<["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]>, "many">>;
|
|
282
|
+
method: z.ZodEnum<["fixed", "dueDate", "start"]>;
|
|
283
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
285
|
+
interval: number;
|
|
286
|
+
method: "fixed" | "dueDate" | "start";
|
|
287
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
288
|
+
}, {
|
|
289
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
290
|
+
method: "fixed" | "dueDate" | "start";
|
|
291
|
+
interval?: number | undefined;
|
|
292
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
293
|
+
}>, {
|
|
294
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
295
|
+
interval: number;
|
|
296
|
+
method: "fixed" | "dueDate" | "start";
|
|
297
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
298
|
+
}, {
|
|
299
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
300
|
+
method: "fixed" | "dueDate" | "start";
|
|
301
|
+
interval?: number | undefined;
|
|
302
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
303
|
+
}>>>;
|
|
304
|
+
}, "strip", z.ZodTypeAny, {
|
|
305
|
+
id: string;
|
|
306
|
+
name?: string | undefined;
|
|
307
|
+
flagged?: boolean | undefined;
|
|
308
|
+
dueDate?: string | null | undefined;
|
|
309
|
+
tagIds?: string[] | undefined;
|
|
310
|
+
note?: string | undefined;
|
|
311
|
+
deferDate?: string | null | undefined;
|
|
312
|
+
plannedDate?: string | null | undefined;
|
|
313
|
+
estimatedMinutes?: number | null | undefined;
|
|
314
|
+
repetitionRule?: {
|
|
315
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
316
|
+
interval: number;
|
|
317
|
+
method: "fixed" | "dueDate" | "start";
|
|
318
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
319
|
+
} | null | undefined;
|
|
320
|
+
}, {
|
|
321
|
+
id: string;
|
|
322
|
+
name?: string | undefined;
|
|
323
|
+
flagged?: boolean | undefined;
|
|
324
|
+
dueDate?: string | null | undefined;
|
|
325
|
+
tagIds?: string[] | undefined;
|
|
326
|
+
note?: string | undefined;
|
|
327
|
+
deferDate?: string | null | undefined;
|
|
328
|
+
plannedDate?: string | null | undefined;
|
|
329
|
+
estimatedMinutes?: number | null | undefined;
|
|
330
|
+
repetitionRule?: {
|
|
331
|
+
frequency: "daily" | "weekly" | "monthly" | "yearly";
|
|
332
|
+
method: "fixed" | "dueDate" | "start";
|
|
333
|
+
interval?: number | undefined;
|
|
334
|
+
daysOfWeek?: ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[] | undefined;
|
|
335
|
+
} | null | undefined;
|
|
336
|
+
}>;
|
|
337
|
+
export declare const ReviewIntervalInput: z.ZodObject<{
|
|
338
|
+
steps: z.ZodNumber;
|
|
339
|
+
unit: z.ZodEnum<["days", "weeks", "months", "years"]>;
|
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
|
341
|
+
steps: number;
|
|
342
|
+
unit: "days" | "weeks" | "months" | "years";
|
|
343
|
+
}, {
|
|
344
|
+
steps: number;
|
|
345
|
+
unit: "days" | "weeks" | "months" | "years";
|
|
346
|
+
}>;
|
|
347
|
+
export declare const CreateProjectInput: z.ZodObject<{
|
|
348
|
+
name: z.ZodString;
|
|
349
|
+
folderId: z.ZodOptional<z.ZodString>;
|
|
350
|
+
note: z.ZodOptional<z.ZodString>;
|
|
351
|
+
type: z.ZodOptional<z.ZodEnum<["parallel", "sequential", "singleActions"]>>;
|
|
352
|
+
status: z.ZodOptional<z.ZodEnum<["active", "onHold"]>>;
|
|
353
|
+
flagged: z.ZodOptional<z.ZodBoolean>;
|
|
354
|
+
deferDate: z.ZodOptional<z.ZodString>;
|
|
355
|
+
dueDate: z.ZodOptional<z.ZodString>;
|
|
356
|
+
reviewInterval: z.ZodOptional<z.ZodObject<{
|
|
357
|
+
steps: z.ZodNumber;
|
|
358
|
+
unit: z.ZodEnum<["days", "weeks", "months", "years"]>;
|
|
359
|
+
}, "strip", z.ZodTypeAny, {
|
|
360
|
+
steps: number;
|
|
361
|
+
unit: "days" | "weeks" | "months" | "years";
|
|
362
|
+
}, {
|
|
363
|
+
steps: number;
|
|
364
|
+
unit: "days" | "weeks" | "months" | "years";
|
|
365
|
+
}>>;
|
|
366
|
+
tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
name: string;
|
|
369
|
+
type?: "parallel" | "sequential" | "singleActions" | undefined;
|
|
370
|
+
status?: "active" | "onHold" | undefined;
|
|
371
|
+
flagged?: boolean | undefined;
|
|
372
|
+
dueDate?: string | undefined;
|
|
373
|
+
tagIds?: string[] | undefined;
|
|
374
|
+
note?: string | undefined;
|
|
375
|
+
deferDate?: string | undefined;
|
|
376
|
+
folderId?: string | undefined;
|
|
377
|
+
reviewInterval?: {
|
|
378
|
+
steps: number;
|
|
379
|
+
unit: "days" | "weeks" | "months" | "years";
|
|
380
|
+
} | undefined;
|
|
381
|
+
}, {
|
|
382
|
+
name: string;
|
|
383
|
+
type?: "parallel" | "sequential" | "singleActions" | undefined;
|
|
384
|
+
status?: "active" | "onHold" | undefined;
|
|
385
|
+
flagged?: boolean | undefined;
|
|
386
|
+
dueDate?: string | undefined;
|
|
387
|
+
tagIds?: string[] | undefined;
|
|
388
|
+
note?: string | undefined;
|
|
389
|
+
deferDate?: string | undefined;
|
|
390
|
+
folderId?: string | undefined;
|
|
391
|
+
reviewInterval?: {
|
|
392
|
+
steps: number;
|
|
393
|
+
unit: "days" | "weeks" | "months" | "years";
|
|
394
|
+
} | undefined;
|
|
395
|
+
}>;
|
|
396
|
+
export declare const EditProjectInput: z.ZodObject<{
|
|
397
|
+
id: z.ZodString;
|
|
398
|
+
name: z.ZodOptional<z.ZodString>;
|
|
399
|
+
note: z.ZodOptional<z.ZodString>;
|
|
400
|
+
type: z.ZodOptional<z.ZodEnum<["parallel", "sequential", "singleActions"]>>;
|
|
401
|
+
status: z.ZodOptional<z.ZodEnum<["active", "onHold"]>>;
|
|
402
|
+
flagged: z.ZodOptional<z.ZodBoolean>;
|
|
403
|
+
deferDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
404
|
+
dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
405
|
+
reviewInterval: z.ZodOptional<z.ZodObject<{
|
|
406
|
+
steps: z.ZodNumber;
|
|
407
|
+
unit: z.ZodEnum<["days", "weeks", "months", "years"]>;
|
|
408
|
+
}, "strip", z.ZodTypeAny, {
|
|
409
|
+
steps: number;
|
|
410
|
+
unit: "days" | "weeks" | "months" | "years";
|
|
411
|
+
}, {
|
|
412
|
+
steps: number;
|
|
413
|
+
unit: "days" | "weeks" | "months" | "years";
|
|
414
|
+
}>>;
|
|
415
|
+
tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
416
|
+
}, "strip", z.ZodTypeAny, {
|
|
417
|
+
id: string;
|
|
418
|
+
name?: string | undefined;
|
|
419
|
+
type?: "parallel" | "sequential" | "singleActions" | undefined;
|
|
420
|
+
status?: "active" | "onHold" | undefined;
|
|
421
|
+
flagged?: boolean | undefined;
|
|
422
|
+
dueDate?: string | null | undefined;
|
|
423
|
+
tagIds?: string[] | undefined;
|
|
424
|
+
note?: string | undefined;
|
|
425
|
+
deferDate?: string | null | undefined;
|
|
426
|
+
reviewInterval?: {
|
|
427
|
+
steps: number;
|
|
428
|
+
unit: "days" | "weeks" | "months" | "years";
|
|
429
|
+
} | undefined;
|
|
430
|
+
}, {
|
|
431
|
+
id: string;
|
|
432
|
+
name?: string | undefined;
|
|
433
|
+
type?: "parallel" | "sequential" | "singleActions" | undefined;
|
|
434
|
+
status?: "active" | "onHold" | undefined;
|
|
435
|
+
flagged?: boolean | undefined;
|
|
436
|
+
dueDate?: string | null | undefined;
|
|
437
|
+
tagIds?: string[] | undefined;
|
|
438
|
+
note?: string | undefined;
|
|
439
|
+
deferDate?: string | null | undefined;
|
|
440
|
+
reviewInterval?: {
|
|
441
|
+
steps: number;
|
|
442
|
+
unit: "days" | "weeks" | "months" | "years";
|
|
443
|
+
} | undefined;
|
|
444
|
+
}>;
|
|
445
|
+
export declare const MoveTaskInput: z.ZodEffects<z.ZodObject<{
|
|
446
|
+
id: z.ZodString;
|
|
447
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
448
|
+
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
449
|
+
}, "strip", z.ZodTypeAny, {
|
|
450
|
+
id: string;
|
|
451
|
+
parentTaskId?: string | undefined;
|
|
452
|
+
projectId?: string | undefined;
|
|
453
|
+
}, {
|
|
454
|
+
id: string;
|
|
455
|
+
parentTaskId?: string | undefined;
|
|
456
|
+
projectId?: string | undefined;
|
|
457
|
+
}>, {
|
|
458
|
+
id: string;
|
|
459
|
+
parentTaskId?: string | undefined;
|
|
460
|
+
projectId?: string | undefined;
|
|
461
|
+
}, {
|
|
462
|
+
id: string;
|
|
463
|
+
parentTaskId?: string | undefined;
|
|
464
|
+
projectId?: string | undefined;
|
|
465
|
+
}>;
|
|
466
|
+
export declare const MoveProjectInput: z.ZodObject<{
|
|
467
|
+
id: z.ZodString;
|
|
468
|
+
folderId: z.ZodNullable<z.ZodString>;
|
|
469
|
+
}, "strip", z.ZodTypeAny, {
|
|
470
|
+
id: string;
|
|
471
|
+
folderId: string | null;
|
|
472
|
+
}, {
|
|
473
|
+
id: string;
|
|
474
|
+
folderId: string | null;
|
|
475
|
+
}>;
|
|
476
|
+
export declare const ListFoldersFilter: z.ZodObject<{
|
|
477
|
+
status: z.ZodOptional<z.ZodEnum<["active", "dropped"]>>;
|
|
478
|
+
}, "strip", z.ZodTypeAny, {
|
|
479
|
+
status?: "active" | "dropped" | undefined;
|
|
480
|
+
}, {
|
|
481
|
+
status?: "active" | "dropped" | undefined;
|
|
482
|
+
}>;
|
|
483
|
+
export declare const ListTagsFilter: z.ZodObject<{
|
|
484
|
+
status: z.ZodOptional<z.ZodEnum<["active", "onHold", "dropped"]>>;
|
|
485
|
+
}, "strip", z.ZodTypeAny, {
|
|
486
|
+
status?: "active" | "onHold" | "dropped" | undefined;
|
|
487
|
+
}, {
|
|
488
|
+
status?: "active" | "onHold" | "dropped" | undefined;
|
|
489
|
+
}>;
|
|
490
|
+
export declare const ListProjectsFilter: z.ZodObject<{
|
|
491
|
+
status: z.ZodOptional<z.ZodArray<z.ZodEnum<["active", "onHold", "done", "dropped"]>, "many">>;
|
|
492
|
+
folderId: z.ZodOptional<z.ZodString>;
|
|
493
|
+
flagged: z.ZodOptional<z.ZodLiteral<true>>;
|
|
494
|
+
}, "strip", z.ZodTypeAny, {
|
|
495
|
+
status?: ("active" | "onHold" | "done" | "dropped")[] | undefined;
|
|
496
|
+
flagged?: true | undefined;
|
|
497
|
+
folderId?: string | undefined;
|
|
498
|
+
}, {
|
|
499
|
+
status?: ("active" | "onHold" | "done" | "dropped")[] | undefined;
|
|
500
|
+
flagged?: true | undefined;
|
|
501
|
+
folderId?: string | undefined;
|
|
502
|
+
}>;
|
|
503
|
+
export declare const ProjectSummary: z.ZodObject<{
|
|
504
|
+
id: z.ZodString;
|
|
505
|
+
name: z.ZodString;
|
|
506
|
+
folderPath: z.ZodString;
|
|
507
|
+
folderId: z.ZodNullable<z.ZodString>;
|
|
508
|
+
status: z.ZodEnum<["active", "onHold", "done", "dropped"]>;
|
|
509
|
+
type: z.ZodEnum<["parallel", "sequential", "singleActions"]>;
|
|
510
|
+
flagged: z.ZodBoolean;
|
|
511
|
+
}, "strip", z.ZodTypeAny, {
|
|
512
|
+
name: string;
|
|
513
|
+
type: "parallel" | "sequential" | "singleActions";
|
|
514
|
+
status: "active" | "onHold" | "done" | "dropped";
|
|
515
|
+
flagged: boolean;
|
|
516
|
+
id: string;
|
|
517
|
+
folderId: string | null;
|
|
518
|
+
folderPath: string;
|
|
519
|
+
}, {
|
|
520
|
+
name: string;
|
|
521
|
+
type: "parallel" | "sequential" | "singleActions";
|
|
522
|
+
status: "active" | "onHold" | "done" | "dropped";
|
|
523
|
+
flagged: boolean;
|
|
524
|
+
id: string;
|
|
525
|
+
folderId: string | null;
|
|
526
|
+
folderPath: string;
|
|
527
|
+
}>;
|
|
528
|
+
export declare const ProjectDetail: z.ZodObject<{
|
|
529
|
+
id: z.ZodString;
|
|
530
|
+
name: z.ZodString;
|
|
531
|
+
note: z.ZodString;
|
|
532
|
+
folderPath: z.ZodString;
|
|
533
|
+
status: z.ZodEnum<["active", "onHold", "done", "dropped"]>;
|
|
534
|
+
type: z.ZodEnum<["parallel", "sequential", "singleActions"]>;
|
|
535
|
+
flagged: z.ZodBoolean;
|
|
536
|
+
deferDate: z.ZodNullable<z.ZodString>;
|
|
537
|
+
dueDate: z.ZodNullable<z.ZodString>;
|
|
538
|
+
completionDate: z.ZodNullable<z.ZodString>;
|
|
539
|
+
reviewInterval: z.ZodNullable<z.ZodString>;
|
|
540
|
+
nextReviewDate: z.ZodNullable<z.ZodString>;
|
|
541
|
+
lastReviewDate: z.ZodNullable<z.ZodString>;
|
|
542
|
+
tagIds: z.ZodArray<z.ZodString, "many">;
|
|
543
|
+
}, "strip", z.ZodTypeAny, {
|
|
544
|
+
name: string;
|
|
545
|
+
type: "parallel" | "sequential" | "singleActions";
|
|
546
|
+
status: "active" | "onHold" | "done" | "dropped";
|
|
547
|
+
flagged: boolean;
|
|
548
|
+
dueDate: string | null;
|
|
549
|
+
id: string;
|
|
550
|
+
tagIds: string[];
|
|
551
|
+
note: string;
|
|
552
|
+
deferDate: string | null;
|
|
553
|
+
completionDate: string | null;
|
|
554
|
+
reviewInterval: string | null;
|
|
555
|
+
folderPath: string;
|
|
556
|
+
nextReviewDate: string | null;
|
|
557
|
+
lastReviewDate: string | null;
|
|
558
|
+
}, {
|
|
559
|
+
name: string;
|
|
560
|
+
type: "parallel" | "sequential" | "singleActions";
|
|
561
|
+
status: "active" | "onHold" | "done" | "dropped";
|
|
562
|
+
flagged: boolean;
|
|
563
|
+
dueDate: string | null;
|
|
564
|
+
id: string;
|
|
565
|
+
tagIds: string[];
|
|
566
|
+
note: string;
|
|
567
|
+
deferDate: string | null;
|
|
568
|
+
completionDate: string | null;
|
|
569
|
+
reviewInterval: string | null;
|
|
570
|
+
folderPath: string;
|
|
571
|
+
nextReviewDate: string | null;
|
|
572
|
+
lastReviewDate: string | null;
|
|
573
|
+
}>;
|
|
574
|
+
export declare const CreateFolderInput: z.ZodObject<{
|
|
575
|
+
name: z.ZodString;
|
|
576
|
+
parentFolderId: z.ZodOptional<z.ZodString>;
|
|
577
|
+
}, "strip", z.ZodTypeAny, {
|
|
578
|
+
name: string;
|
|
579
|
+
parentFolderId?: string | undefined;
|
|
580
|
+
}, {
|
|
581
|
+
name: string;
|
|
582
|
+
parentFolderId?: string | undefined;
|
|
583
|
+
}>;
|
|
584
|
+
export declare const EditFolderInput: z.ZodObject<{
|
|
585
|
+
id: z.ZodString;
|
|
586
|
+
name: z.ZodString;
|
|
587
|
+
}, "strip", z.ZodTypeAny, {
|
|
588
|
+
name: string;
|
|
589
|
+
id: string;
|
|
590
|
+
}, {
|
|
591
|
+
name: string;
|
|
592
|
+
id: string;
|
|
593
|
+
}>;
|
|
594
|
+
export declare const FolderSummary: z.ZodObject<{
|
|
595
|
+
id: z.ZodString;
|
|
596
|
+
name: z.ZodString;
|
|
597
|
+
path: z.ZodString;
|
|
598
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
599
|
+
status: z.ZodEnum<["active", "dropped"]>;
|
|
600
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
name: string;
|
|
602
|
+
path: string;
|
|
603
|
+
status: "active" | "dropped";
|
|
604
|
+
id: string;
|
|
605
|
+
parentId: string | null;
|
|
606
|
+
}, {
|
|
607
|
+
name: string;
|
|
608
|
+
path: string;
|
|
609
|
+
status: "active" | "dropped";
|
|
610
|
+
id: string;
|
|
611
|
+
parentId: string | null;
|
|
612
|
+
}>;
|
|
613
|
+
export declare const FolderDetail: z.ZodObject<{
|
|
614
|
+
id: z.ZodString;
|
|
615
|
+
name: z.ZodString;
|
|
616
|
+
path: z.ZodString;
|
|
617
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
618
|
+
status: z.ZodEnum<["active", "dropped"]>;
|
|
619
|
+
childFolderIds: z.ZodArray<z.ZodString, "many">;
|
|
620
|
+
projectIds: z.ZodArray<z.ZodString, "many">;
|
|
621
|
+
}, "strip", z.ZodTypeAny, {
|
|
622
|
+
name: string;
|
|
623
|
+
path: string;
|
|
624
|
+
status: "active" | "dropped";
|
|
625
|
+
id: string;
|
|
626
|
+
parentId: string | null;
|
|
627
|
+
childFolderIds: string[];
|
|
628
|
+
projectIds: string[];
|
|
629
|
+
}, {
|
|
630
|
+
name: string;
|
|
631
|
+
path: string;
|
|
632
|
+
status: "active" | "dropped";
|
|
633
|
+
id: string;
|
|
634
|
+
parentId: string | null;
|
|
635
|
+
childFolderIds: string[];
|
|
636
|
+
projectIds: string[];
|
|
637
|
+
}>;
|
|
638
|
+
export declare const CreateTagInput: z.ZodObject<{
|
|
639
|
+
name: z.ZodString;
|
|
640
|
+
parentTagId: z.ZodOptional<z.ZodString>;
|
|
641
|
+
}, "strip", z.ZodTypeAny, {
|
|
642
|
+
name: string;
|
|
643
|
+
parentTagId?: string | undefined;
|
|
644
|
+
}, {
|
|
645
|
+
name: string;
|
|
646
|
+
parentTagId?: string | undefined;
|
|
647
|
+
}>;
|
|
648
|
+
export declare const EditTagInput: z.ZodEffects<z.ZodObject<{
|
|
649
|
+
id: z.ZodString;
|
|
650
|
+
name: z.ZodOptional<z.ZodString>;
|
|
651
|
+
status: z.ZodOptional<z.ZodEnum<["active", "onHold", "dropped"]>>;
|
|
652
|
+
}, "strip", z.ZodTypeAny, {
|
|
653
|
+
id: string;
|
|
654
|
+
name?: string | undefined;
|
|
655
|
+
status?: "active" | "onHold" | "dropped" | undefined;
|
|
656
|
+
}, {
|
|
657
|
+
id: string;
|
|
658
|
+
name?: string | undefined;
|
|
659
|
+
status?: "active" | "onHold" | "dropped" | undefined;
|
|
660
|
+
}>, {
|
|
661
|
+
id: string;
|
|
662
|
+
name?: string | undefined;
|
|
663
|
+
status?: "active" | "onHold" | "dropped" | undefined;
|
|
664
|
+
}, {
|
|
665
|
+
id: string;
|
|
666
|
+
name?: string | undefined;
|
|
667
|
+
status?: "active" | "onHold" | "dropped" | undefined;
|
|
668
|
+
}>;
|
|
669
|
+
export declare const TagSummary: z.ZodObject<{
|
|
670
|
+
id: z.ZodString;
|
|
671
|
+
name: z.ZodString;
|
|
672
|
+
path: z.ZodString;
|
|
673
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
674
|
+
status: z.ZodEnum<["active", "onHold", "dropped"]>;
|
|
675
|
+
}, "strip", z.ZodTypeAny, {
|
|
676
|
+
name: string;
|
|
677
|
+
path: string;
|
|
678
|
+
status: "active" | "onHold" | "dropped";
|
|
679
|
+
id: string;
|
|
680
|
+
parentId: string | null;
|
|
681
|
+
}, {
|
|
682
|
+
name: string;
|
|
683
|
+
path: string;
|
|
684
|
+
status: "active" | "onHold" | "dropped";
|
|
685
|
+
id: string;
|
|
686
|
+
parentId: string | null;
|
|
687
|
+
}>;
|
|
688
|
+
export declare const TagDetail: z.ZodObject<{
|
|
689
|
+
id: z.ZodString;
|
|
690
|
+
name: z.ZodString;
|
|
691
|
+
path: z.ZodString;
|
|
692
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
693
|
+
status: z.ZodEnum<["active", "onHold", "dropped"]>;
|
|
694
|
+
childTagIds: z.ZodArray<z.ZodString, "many">;
|
|
695
|
+
}, "strip", z.ZodTypeAny, {
|
|
696
|
+
name: string;
|
|
697
|
+
path: string;
|
|
698
|
+
status: "active" | "onHold" | "dropped";
|
|
699
|
+
id: string;
|
|
700
|
+
parentId: string | null;
|
|
701
|
+
childTagIds: string[];
|
|
702
|
+
}, {
|
|
703
|
+
name: string;
|
|
704
|
+
path: string;
|
|
705
|
+
status: "active" | "onHold" | "dropped";
|
|
706
|
+
id: string;
|
|
707
|
+
parentId: string | null;
|
|
708
|
+
childTagIds: string[];
|
|
709
|
+
}>;
|
|
710
|
+
export declare const ResolveCandidate: z.ZodObject<{
|
|
711
|
+
id: z.ZodString;
|
|
712
|
+
name: z.ZodString;
|
|
713
|
+
path: z.ZodString;
|
|
714
|
+
type: z.ZodEnum<["task", "project", "folder", "tag", "perspective"]>;
|
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
name: string;
|
|
717
|
+
path: string;
|
|
718
|
+
type: "task" | "project" | "folder" | "tag" | "perspective";
|
|
719
|
+
id: string;
|
|
720
|
+
}, {
|
|
721
|
+
name: string;
|
|
722
|
+
path: string;
|
|
723
|
+
type: "task" | "project" | "folder" | "tag" | "perspective";
|
|
724
|
+
id: string;
|
|
725
|
+
}>;
|
|
726
|
+
//# sourceMappingURL=shapes.d.ts.map
|