 
 defmodule Ello.V3.Schema.ContentTypes do
   use Absinthe.Schema.Notation
+
+  enum :stream_type do
+    value :recent
+    value :featured
+    value :trending
+  end
 
   object :post_stream do
     field :next, :string

        }}
      end
  end
end

defmodule Ello.V3.Schema do

    @desc "Get a post by username and token"
    field :post, :post do
      arg :token,    non_null(:string)
      arg :username, non_null(:string), description: "Username post belongs to"
      resolve &Resolvers.Content.find_post/3
    end

    @desc "Stream of all posts on network"
    field :firehose_post_stream, :post_stream do
      resolve &Resolvers.Stream.firehose/3
      arg :before, :string, description: "Pagination cursor, returned by previous page"
      arg :per_page, :integer
    end

