diff --git a/server/types/validation.ts b/server/types/validation.ts index 07e155dd1..52ded51d3 100644 --- a/server/types/validation.ts +++ b/server/types/validation.ts @@ -65,8 +65,10 @@ export interface NotRuleConstraints { } export interface OrRuleConstraints { - // eslint-disable-next-line no-use-before-define - or: Rules[] + or: { + // eslint-disable-next-line no-use-before-define + rules: Rules[] + } } export interface UniqueEmployeeScheduleRuleConstraint {