-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e30388
commit 657d36d
Showing
42 changed files
with
381 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
defmodule Demo.Accounts.Domain do | ||
@moduledoc false | ||
use Ash.Domain, | ||
extensions: [AshAdmin.Domain] | ||
|
||
admin do | ||
show? true | ||
end | ||
|
||
resources do | ||
resource Demo.Accounts.User | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
defmodule Demo.Accounts.NestedEmbed do | ||
use Ash.Resource, | ||
data_layer: :embedded, | ||
extensions: [AshAdmin.Resource] | ||
|
||
admin do | ||
form do | ||
field :bio, type: :long_text | ||
field :history, type: :long_text | ||
end | ||
end | ||
data_layer: :embedded | ||
|
||
attributes do | ||
attribute :tags, {:array, :string}, default: [] | ||
attribute :tags, {:array, :string}, default: [], public?: true | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
defmodule Demo.Tickets.Domain do | ||
@moduledoc false | ||
use Ash.Domain, | ||
extensions: [AshAdmin.Domain] | ||
|
||
admin do | ||
show? true | ||
end | ||
|
||
resources do | ||
resource(Demo.Tickets.Customer) | ||
resource(Demo.Tickets.Representative) | ||
resource(Demo.Tickets.Ticket) | ||
resource(Demo.Tickets.Comment) | ||
resource(Demo.Tickets.TicketLink) | ||
resource(Demo.Tickets.Organization) | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.