Added users page and user viewing

This commit is contained in:
2026-04-02 03:28:09 -04:00
parent 0f41e86cf0
commit 580265bc51
8 changed files with 355 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
defmodule Mixer.Accounts do
use Ash.Domain, otp_app: :mixer, extensions: [AshAdmin.Domain]
use Ash.Domain, otp_app: :mixer, extensions: [AshTypescript.Rpc, AshAdmin.Domain]
admin do
show? true
@@ -10,4 +10,10 @@ defmodule Mixer.Accounts do
resource Mixer.Accounts.User
resource Mixer.Accounts.ApiKey
end
typescript_rpc do
resource Mixer.Accounts.User do
rpc_action :read_user, :read
end
end
end