mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-21 05:43:28 +12:00
4ff56a3c59
Co-authored-by: Junil Chon <jichon@gmail.com>
49 lines
1.5 KiB
Elixir
49 lines
1.5 KiB
Elixir
defmodule AshGraphql.Test.Domain do
|
|
@moduledoc false
|
|
|
|
use Ash.Domain,
|
|
extensions: [
|
|
AshGraphql.Domain
|
|
],
|
|
otp_app: :ash_graphql
|
|
|
|
graphql do
|
|
queries do
|
|
get AshGraphql.Test.Comment, :get_comment, :read
|
|
list AshGraphql.Test.Post, :post_score, :score
|
|
end
|
|
end
|
|
|
|
resources do
|
|
resource(AshGraphql.Test.Actor)
|
|
resource(AshGraphql.Test.ActorAgent)
|
|
resource(AshGraphql.Test.Agent)
|
|
resource(AshGraphql.Test.Award)
|
|
resource(AshGraphql.Test.Comment)
|
|
resource(AshGraphql.Test.CompositePrimaryKey)
|
|
resource(AshGraphql.Test.CompositePrimaryKeyNotEncoded)
|
|
resource(AshGraphql.Test.DoubleRelRecursive)
|
|
resource(AshGraphql.Test.DoubleRelToRecursiveParentOfEmbed)
|
|
resource(AshGraphql.Test.MapTypes)
|
|
resource(AshGraphql.Test.Movie)
|
|
resource(AshGraphql.Test.MovieActor)
|
|
resource(AshGraphql.Test.MultitenantPostTag)
|
|
resource(AshGraphql.Test.MultitenantTag)
|
|
resource(AshGraphql.Test.NoGraphql)
|
|
resource(AshGraphql.Test.NoObject)
|
|
resource(AshGraphql.Test.NonIdPrimaryKey)
|
|
resource(AshGraphql.Test.Post)
|
|
resource(AshGraphql.Test.PostTag)
|
|
resource(AshGraphql.Test.RelayPostTag)
|
|
resource(AshGraphql.Test.RelayTag)
|
|
resource(AshGraphql.Test.Review)
|
|
resource(AshGraphql.Test.SponsoredComment)
|
|
resource(AshGraphql.Test.Tag)
|
|
resource(AshGraphql.Test.User)
|
|
resource(AshGraphql.Test.Channel)
|
|
resource(AshGraphql.Test.ChannelSimple)
|
|
resource(AshGraphql.Test.Message)
|
|
resource(AshGraphql.Test.TextMessage)
|
|
resource(AshGraphql.Test.ImageMessage)
|
|
end
|
|
end
|