# EntryPatch

interface in `@dioramajs/diorama`

```ts
import type { EntryPatch } from '@dioramajs/diorama'
```

A known effect changed without its code: `{ ripple: { when: 'all' } }`. Both fields beat the
definition's, and the light part reads them before the module loads.

```ts
interface EntryPatch
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `load?` | `undefined` | A patch keeps the effect's loader; an object with `load` is a new entry. |
| `override?` | `boolean` | Marks the entry that replaces a built-in as intended, e.g. a shader from the effects folder. |
| `reducedMotion?` | `'static' \| 'off'` | 'off' turns the effect off under reduced motion, 'static' draws it without motion. |
| `when?` | `When` | A media query, 'hover' for '(hover: hover)', or 'all' to run on touch devices too. |

Also exported from `@dioramajs/diorama/auto`.

Defined in [packages/diorama/src/index.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/diorama/src/index.ts#L61).
