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

# MergeSource

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

One document [Document.mergeDocuments](/reference/sdk/classes/document.md#mergedocuments) brings in: a source document's ID (from
[Document.addSource](/reference/sdk/classes/document.md#addsource)), the pages to bring in (all of them when left out), and the name of
the bookmark that holds its bookmarks (its own title when left out).

## Since

0.3.0

## Properties

### pages?

```ts
readonly pages?: readonly string[];
```

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

***

### source

```ts
readonly source: string;
```

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

***

### title?

```ts
readonly title?: string;
```

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