AshSitemap.Sitemaps.PageMap.DataObject behaviour (ash_sitemap v1.0.1)
View SourceA struct module representing a pagemap dataobject. This module can also be used to implement manual pagemap dataobjects.
See more https://developers.google.com/search/docs/crawling-indexing/sitemaps/news-sitemap
Summary
Types
@type t() :: %AshSitemap.Sitemaps.PageMap.DataObject{ attribute: [AshSitemap.Sitemaps.PageMap.DataObject.Attribute.t()], id: String.t() | nil, type: String.t() }
Callbacks
@callback generate(record :: Ash.Resource.t()) :: t()