---
title: "MergeOptions"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/interfaces/mergeoptions/"
---

# MergeOptions

Defined in: [packages/sdk/src/transaction.ts:374](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/transaction.ts#L374)

How a merge brings in what the documents hold besides their pages. `outline` says what becomes
of their bookmarks: `"perFile"` (the default) puts each document's bookmarks under a new
bookmark named after it, `"keep"` adds them at the top level, and `"none"` leaves them out.
`fields` is as [Carry](/reference/sdk/interfaces/carry.md)'s.

## Since

0.3.0

## Properties

### fields?

```ts
readonly fields?: "rename" | "link";
```

Defined in: [packages/sdk/src/transaction.ts:376](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/transaction.ts#L376)

***

### outline?

```ts
readonly outline?: "keep" | "none" | "perFile";
```

Defined in: [packages/sdk/src/transaction.ts:375](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/transaction.ts#L375)
