Alokai

GetPageArgs

Arguments of the getPage method.

interface GetPageArgs {
	locale?: string;
	path?: PagePath;
	searchParams?: Pick<SapccApiGetPageWithUserRequest, "code" | "pageType"> & Record<string, string>;
}

Properties

NameRequiredTypeDescription
localeOptionalstringCMS locale.
pathOptionalPagePathAbsolute path of the page. It will be used to match the page with the resolved pages.
searchParamsOptionalPick<SapccApiGetPageWithUserRequest, "code" | "pageType"> & Record<string, string>Search parameters passed to the getPageWithUser call. You may specify code when you want to fetch content for a product details page.

Referenced Types

  • PagePath
  • SapccApiGetPageWithUserRequest

On this page