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

# AttachFileOp

```ts
type AttachFileOp = AttachFileJs;
```

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

The `attachFile` op: the file's `name`, its bytes by blob ID (`file`), its `mime` type, and its
`description`, dates, `attachTo` and `relationship`. Make one with [Document.attachFileOp](/reference/sdk/classes/document.md#attachfileop).

## Since

0.6.0
