Links
A link is a string, or an object that points at a sitemap route and an optional entry.
A link is a string, or { url, params, entryId?, routePageId? }.
url is a path or absolute URL. params fills dynamic segments such as [slug]. entryId together with routePageId resolves the public path from that route page and the entry's identifier, so the stored url can stay the route pattern (/products/[slug]).
Use this shape on:
- LinkList
path - ButtonBlock
action.url - SingleImage
href
String fields that are not links should stay strings. A path like /products/<entry-uuid> is not an entry link; store { url, entryId, routePageId } instead.