Skip to content

Instantly share code, notes, and snippets.

@DimitryDushkin
Last active June 5, 2022 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DimitryDushkin/508711318a99240b9b959e3c3fb5393c to your computer and use it in GitHub Desktop.
Save DimitryDushkin/508711318a99240b9b959e3c3fb5393c to your computer and use it in GitHub Desktop.
export type Task = {
id: ID;
title: string;
start: Date;
end: Date;
duration: number;
/**
* Approximation of priority
*/
position: number;
progress: number;
resourceId: ID;
/**
* Current task blocked by these tasks (depends on)
*/
blockedBy?: Array<ID>;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment