mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 21:43:12 +12:00
37cc01957d
* WIP * chore: fix mix.lock merge issues * improvement: upgrade to 3.0 * chore: remove `repo.to_tenant` * chore: continue removal of unnecessary helper * chore: use `Ash.ToTenant`
27 lines
789 B
Elixir
27 lines
789 B
Elixir
defmodule AshPostgres.Test.Domain do
|
|
@moduledoc false
|
|
use Ash.Domain
|
|
|
|
resources do
|
|
resource(AshPostgres.Test.Post)
|
|
resource(AshPostgres.Test.Comment)
|
|
resource(AshPostgres.Test.IntegerPost)
|
|
resource(AshPostgres.Test.Rating)
|
|
resource(AshPostgres.Test.PostLink)
|
|
resource(AshPostgres.Test.PostView)
|
|
resource(AshPostgres.Test.Author)
|
|
resource(AshPostgres.Test.Profile)
|
|
resource(AshPostgres.Test.User)
|
|
resource(AshPostgres.Test.Account)
|
|
resource(AshPostgres.Test.Organization)
|
|
resource(AshPostgres.Test.Manager)
|
|
resource(AshPostgres.Test.Entity)
|
|
resource(AshPostgres.Test.TempEntity)
|
|
resource(AshPostgres.Test.Record)
|
|
resource(AshPostgres.Test.PostFollower)
|
|
end
|
|
|
|
authorization do
|
|
authorize(:when_requested)
|
|
end
|
|
end
|