# `MingaEditor.FileTree.DropIntent`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_editor/file_tree/drop_intent.ex#L1)

BEAM-owned file-tree drop intent sent by native GUI frontends.

The frontend reports what the user tried to do. The BEAM validates the target row against current file-tree state and performs the filesystem operation.

# `t`

```elixir
@type t() :: %MingaEditor.FileTree.DropIntent{
  modifiers: non_neg_integer(),
  source_paths: [String.t()],
  target_dir?: boolean(),
  target_id: String.t(),
  target_index: non_neg_integer(),
  target_path: String.t(),
  target_path_hash: non_neg_integer()
}
```

# `new`

```elixir
@spec new(keyword()) :: t()
```

Constructs a drop intent from decoded GUI protocol fields.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
