Kaizen
Browse modulesRulesrules/sharedTypes

Type Alias: DateIncludesConfig

type DateIncludesConfig = ZodObject<{
  condition_type: ZodLiteral<"DATE_INCLUDES">;
  days: ZodArray<ZodNumber>;
  end_field: ZodString;
  start_field: ZodString;
}, $strip>;

Defined in: shared/rules/types/conditions.ts:183

Walk each day in the [start_field, end_field] range (both resolved to ISO dates) and pass if any day-of-week matches an entry in days (0 = Sunday ... 6 = Saturday).