PhoenixKit.Integrations.ResourceLinks (phoenix_kit v1.7.199)

Copy Markdown View Source

Resolves "integration" resources to their edit page for deep-linking.

An activity logged against an integration (resource_type: "integration", resource_uuid: the storage row's uuid) resolves to the connection's edit page (/admin/settings/integrations/:uuid), titled provider / name.

Registered as the "integration" handler by PhoenixKit.ResourceLinks (gated on this module being loaded). Mirrors PhoenixKit.Users.CommentResources — implements the same resolve_comment_resources/1 contract and returns a raw phoenix_kit path (Routes.path/1 is applied once at render).

Summary

Functions

resolve_comment_resources(resource_uuids)

@spec resolve_comment_resources([binary()]) :: %{required(binary()) => map()}