Add specs

This commit is contained in:
Pim Kunis 2021-09-06 16:17:45 +02:00
parent 224201ae2f
commit 5f6476df57
3 changed files with 24 additions and 2 deletions

View file

@ -1,6 +1,14 @@
defmodule ArchitexWeb.Client.Request.Messages do
use ArchitexWeb.Request
@type t :: %__MODULE__{
from: String.t(),
to: String.t() | nil,
dir: String.t(),
limit: integer() | nil,
filter: String.t() | nil
}
@primary_key false
embedded_schema do
field :from, :string