add goal completion composition.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-01-19 19:45:12 +01:00
parent 282b304f3f
commit 5e1a6f7343
11 changed files with 95 additions and 14 deletions
+3 -1
View File
@@ -2,6 +2,8 @@ import type Group from "./group";
import type Item from "./item";
import type { LogResult } from "./log";
export type GoalCompositionMode = "task" | "item"
export default interface Goal {
id: string
groupId: string
@@ -12,7 +14,7 @@ export default interface Goal {
name: string
description: string
unweighted: boolean
compositionMode: string
compositionMode: GoalCompositionMode
}
export interface GoalFilter {