Skip to content

Commit

Permalink
Remove cardinality_field, cardinality_value
Browse files Browse the repository at this point in the history
  • Loading branch information
madirey committed Mar 1, 2021
1 parent a8a8654 commit 478b7af
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -496,13 +496,6 @@ export const threshold = t.intersection([
cardinality: t.union([t.array(thresholdCardinalityField), t.null]),
})
),
// To avoid breaking pre-existing 7.12 builds
t.exact(
t.partial({
cardinality_field: t.union([t.array(t.string), t.null]),
cardinality_value: t.union([t.number, t.null]),
})
),
]);
export type Threshold = t.TypeOf<typeof threshold>;

Expand Down

0 comments on commit 478b7af

Please sign in to comment.