You've already forked tribes-plugin-aether
forked from tribes/tribes-plugin-template
feat: namespace plugin identity
Adopt canonical plugin id/slug manifest fields, vendor-prefixed OTP app naming, and fully-qualified capability ids for Aether.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ defmodule TribeOne.TribesPlugin.Aether.Chat do
|
||||
"""
|
||||
|
||||
use Ash.Domain,
|
||||
otp_app: :aether
|
||||
otp_app: :tribe_one_aether
|
||||
|
||||
require Ash.Query
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ defmodule TribeOne.TribesPlugin.Aether.Chat.Channel do
|
||||
"""
|
||||
|
||||
use Ash.Resource,
|
||||
otp_app: :aether,
|
||||
otp_app: :tribe_one_aether,
|
||||
domain: TribeOne.TribesPlugin.Aether.Chat,
|
||||
data_layer: AshPostgres.DataLayer,
|
||||
extensions: [AshNostrSync]
|
||||
|
||||
@@ -4,7 +4,7 @@ defmodule TribeOne.TribesPlugin.Aether.Chat.Message do
|
||||
"""
|
||||
|
||||
use Ash.Resource,
|
||||
otp_app: :aether,
|
||||
otp_app: :tribe_one_aether,
|
||||
domain: TribeOne.TribesPlugin.Aether.Chat,
|
||||
data_layer: AshPostgres.DataLayer,
|
||||
extensions: [AshNostrSync]
|
||||
|
||||
@@ -4,7 +4,7 @@ defmodule TribeOne.TribesPlugin.Aether.Chat.Participant do
|
||||
"""
|
||||
|
||||
use Ash.Resource,
|
||||
otp_app: :aether,
|
||||
otp_app: :tribe_one_aether,
|
||||
domain: TribeOne.TribesPlugin.Aether.Chat,
|
||||
data_layer: AshPostgres.DataLayer,
|
||||
extensions: [AshNostrSync]
|
||||
|
||||
@@ -3,7 +3,7 @@ defmodule TribeOne.TribesPlugin.Aether.Plugin do
|
||||
Tribes plugin entry point.
|
||||
"""
|
||||
|
||||
use Tribes.Plugin.Base, otp_app: :aether
|
||||
use Tribes.Plugin.Base, otp_app: :tribe_one_aether
|
||||
|
||||
@behaviour Tribes.Capabilities.Chat.V1
|
||||
|
||||
@@ -94,7 +94,7 @@ defmodule TribeOne.TribesPlugin.Aether.Plugin do
|
||||
TribeOne.TribesPlugin.AetherWeb.ChatPanelComponent,
|
||||
Keyword.get(opts, :id, "aether-chat-panel-#{slug}"),
|
||||
assigns,
|
||||
capability: "chat@1",
|
||||
capability: "org.tribe-one.caps.chat@1",
|
||||
provider: __MODULE__
|
||||
)}
|
||||
end
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
defmodule TribeOne.TribesPlugin.AetherWeb.ChatRecipientPickerComponent do
|
||||
@moduledoc """
|
||||
Recipient picker exposed as part of Aether's `chat@1` UI contract.
|
||||
Recipient picker exposed as part of Aether's `org.tribe-one.caps.chat@1` UI contract.
|
||||
"""
|
||||
|
||||
use Phoenix.LiveComponent
|
||||
|
||||
Reference in New Issue
Block a user