feat: add global tasks folder
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Task } from "./task";
|
||||
|
||||
export type TaskScope = "project" | "global";
|
||||
|
||||
/** Where a task lives on disk (runtime; not stored in frontmatter). */
|
||||
export type TaskLocation = {
|
||||
scope: TaskScope;
|
||||
folderPath: string;
|
||||
};
|
||||
|
||||
export type LocatedTask = {
|
||||
task: Task;
|
||||
location: TaskLocation;
|
||||
};
|
||||
Reference in New Issue
Block a user