---
title: "SanitiseCategory"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/type-aliases/sanitisecategory/"
---

# SanitiseCategory

```ts
type SanitiseCategory = SanitiseCategoryJs;
```

Defined in: [packages/sdk/src/types.ts:1093](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L1093)

What a sanitising edit removes, by `laminapdf reveal`'s category names: `"history"` (earlier
revisions and objects nothing references, which every sanitising save drops), `"metadata"`,
`"attachments"`, `"active-content"`, `"annotations"` and `"hidden-content"` (layers that are
off, content outside the page, white, tiny and covered text), which needs a document opened
while the extract or text module was loaded.

## Since

0.7.0
