akkoma/lib/pleroma/search.ex

13 lines
238 B
Elixir
Raw Normal View History

2021-12-12 10:23:44 -07: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