API Reference

Page Types

All canonical page types across domains - routing, query bindings, and entity resolution

Page types define the kinds of pages your storefront can render. Each page type declares a kind (static or dynamic), the queries it needs, and the URL pattern it matches. Connector apps and the Studio use these definitions to wire up routing, data fetching, and page management.

  • Dynamic page types exist once per project and resolve URLs with parameters (e.g., /products/:slug).
  • Static page types can have multiple instances — each with its own URL and content (e.g., landing pages).

Import page types from their domain package (e.g., @laioutr-core/canonical-types/ecommerce). For a conceptual overview — including how to create custom page types — see the Page Types feature guide.

Core

General-purpose page types that every storefront needs.

No page type metadata found for core/home.
No page type metadata found for core/landingpage.
No page type metadata found for core/contentpage.
No page type metadata found for core/404.

Ecommerce

Product catalog and search pages.

No page type metadata found for ecommerce/product-detail-page.
No page type metadata found for ecommerce/product-listing-page.
No page type metadata found for ecommerce/product-search-page.

Blog

Blog post and collection pages.

No page type metadata found for blog/post-single.
No page type metadata found for blog/collection.