forked from ash-project/ash_postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdomain.ex
More file actions
62 lines (58 loc) · 2.16 KB
/
domain.ex
File metadata and controls
62 lines (58 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
defmodule AshPostgres.Test.Domain do
@moduledoc false
use Ash.Domain
resources do
resource(AshPostgres.Test.CoAuthorPost)
resource(AshPostgres.Test.Post) do
define(:review, action: :review)
end
resource(AshPostgres.Test.Comedian)
resource(AshPostgres.Test.Comment)
resource(AshPostgres.Test.CommentLink)
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.Invite)
resource(AshPostgres.Test.Joke)
resource(AshPostgres.Test.Note)
resource(AshPostgres.Test.StaffGroup)
resource(AshPostgres.Test.StaffGroupMember)
resource(AshPostgres.Test.Content)
resource(AshPostgres.Test.Account)
resource(AshPostgres.Test.Organization)
resource(AshPostgres.Test.Manager)
resource(AshPostgres.Test.Entity)
resource(AshPostgres.Test.ContentVisibilityGroup)
resource(AshPostgres.Test.TempEntity)
resource(AshPostgres.Test.RecordTempEntity)
resource(AshPostgres.Test.Permalink)
resource(AshPostgres.Test.Record)
resource(AshPostgres.Test.PostFollower)
resource(AshPostgres.Test.StatefulPostFollower)
resource(AshPostgres.Test.PostWithEmptyUpdate)
resource(AshPostgres.Test.DbPoint)
resource(AshPostgres.Test.DbStringPoint)
resource(AshPostgres.Test.CSV)
resource(AshPostgres.Test.StandupClub)
resource(AshPostgres.Test.Punchline)
resource(AshPostgres.Test.Tag)
resource(AshPostgres.Test.PostTag)
resource(AshPostgres.Test.UnrelatedAggregatesTest.Profile)
resource(AshPostgres.Test.UnrelatedAggregatesTest.SecureProfile)
resource(AshPostgres.Test.UnrelatedAggregatesTest.Report)
resource(AshPostgres.Test.UnrelatedAggregatesTest.User)
resource(AshPostgres.Test.Customer)
resource(AshPostgres.Test.Product)
resource(AshPostgres.Test.Order)
resource(AshPostgres.Test.Chat)
resource(AshPostgres.Test.Message)
resource(AshPostgres.Test.RSVP)
end
authorization do
authorize(:when_requested)
end
end