> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erna.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DaysOfWeekPerPeriodOptions

```ts theme={null}
type DaysOfWeekPerPeriodOptions = object &
  | {
  months?: never;
  weeks: number;
}
  | {
  months: number;
  weeks?: never;
};
```

Options for [maxDaysOfWeekPerPeriod](./maxDaysOfWeekPerPeriod) and [minDaysOfWeekPerPeriod](./minDaysOfWeekPerPeriod).

Exactly one of `weeks` or `months` must be provided to define the
repeating period. Week periods align to `weekStartsOn`. Month periods
align to calendar month boundaries.

## Type Declaration

| Name | Type | Description |
| ---- | ---- | ----------- |

```ts theme={null}
| appliesTo? | string | string[] | Scope to role, skill, or member ID. |
```

\| `priority?` | [`Priority`](Priority) | Default `MANDATORY`. |
