akkoma/lib/pleroma/search.ex
2021-12-12 17:23:44 +00:00

13 lines
238 B
Elixir

defmodule Pleroma.Search do
@type search_map :: %{
statuses: [map],
accounts: [map],
hashtags: [map]
}
@doc """
Searches for stuff
"""
@callback search(map, map, keyword) :: search_map
end