Skip to content

Commit 58bbd59

Browse files
committed
Readding the module notation to Ecstatic.Store module - somehow only the content of this module remained after last commit
1 parent 1921d20 commit 58bbd59

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/ecstatic/store.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
defmodule Ecstatic.Store do
12
alias Ecstatic.Entity
3+
24
@type return_type :: {:ok, Entity.t()} | {:error, term()}
35
@type entity_id_type :: pos_integer() | String.t()
46
@callback save_entity(Entity.t()) :: return_type
57
@callback get_entity(entity_id_type) :: return_type
68
@callback delete_entity(entity_id_type) :: none()
9+
end

0 commit comments

Comments
 (0)