Files
xboct-flow/src/model/taskLocation.ts
T

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;
};