PageInfo

This page is a reference to the PageInfo used in the `embed-dossier-mstr-react` library.

Properties

PropertyTypeRequiredDescription
applicationIdstringNoThe identifier for the application hosting the page
projectIdstringNoThe identifier for the project containing the page
objectIdstringNoThe unique identifier for the object/document
pageKeystringNoThe unique key that identifies the specific page
isAuthoringbooleanNoIndicates whether the page is in authoring mode

Usage

The PageInfo interface is typically used when working with page-specific operations or when information about the current page context is needed. It allows components to identify and reference specific pages within the dossier.

import { PageInfo } from "embed-dossier-mstr-react"

// Example of creating a PageInfo object
const pageInfo: PageInfo = {
  applicationId: "app123",
  projectId: "project456",
  objectId: "object789",
  pageKey: "page1",
  isAuthoring: false,
}
  • CurrentPage - Contains information about the currently active page