diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 80115c101..8508e4ef6 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -476,7 +476,7 @@ export interface MilestoneDocument extends MongoDBDocument { * All: All goals must be achieved in order for the milestone to be complete * Count: Goals achieved must be greater than or equal to criteria.value. */ - type: "all" | "count" | "percent"; + type: "all" | "abs" | "proportion"; value: number | null; }; createdBy: integer; diff --git a/common/src/types.ts b/common/src/types.ts index d910ac930..78c5698d1 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -652,7 +652,7 @@ export interface MilestoneDocument extends MongoDBDocument { * All: All goals must be achieved in order for the milestone to be complete * Count: Goals achieved must be greater than or equal to criteria.value. */ - type: "all" | "count" | "percent"; + type: "all" | "abs" | "proportion"; value: number | null; }; createdBy: integer;