rename some criteria props to be consistent

This commit is contained in:
zkldi
2021-05-09 10:44:19 +01:00
parent 95ad95717a
commit 51df0a7a13
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;