distraction.party/lib/pleroma/search.ex

13 lines
238 B
Elixir
Raw Normal View History

2021-12-12 17:23:44 +00:00
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