15 lines
293 B
TypeScript
15 lines
293 B
TypeScript
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;
|
|
};
|