> ## 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.

# maxShiftsPerDay

```ts theme={null}
function maxShiftsPerDay(shifts, opts?): RuleEntry<"max-shifts-day", object & RuleOptions>;
```

Caps each targeted member's distinct shifts per day, not concurrent headcount.

## Parameters

<ResponseField name="shifts" type="number" required />

<ResponseField name="opts">
  [`RuleOptions`](./RuleOptions)
</ResponseField>

## Returns

`RuleEntry`\<`"max-shifts-day"`, `object` & [`RuleOptions`](./RuleOptions)>
