Using :eph from now on to store ephemeral data like :sibling_with. Additionally added cleaning up :eph before saving to db. And renamed InternalTree.Basic to InternalTree.RawInternalBasic to make clear that it contains function for an intermediary tree structure.
5 lines
157 B
Elixir
5 lines
157 B
Elixir
defmodule Outlook.InternalTree.InternalNode do
|
|
@derive Jason.Encoder
|
|
defstruct name: "", attributes: %{}, type: :atom, uuid: "", content: [], eph: %{}
|
|
end
|