notion.createpageprops
Home > @runlightyear/notion > CreatePageProps
CreatePageProps interface
Signature:interface CreatePageProps
Required Properties
Property | Modifiers | Type | Description |
---|---|---|---|
parent | PageParentInput | DatabaseParentInput | The parent page or database where the new page is inserted, represented as a JSON object with a page_id or database_id key, and the corresponding ID. | |
properties | PagePropertiesInput | The values of the page’s properties. If the parent is a database, then the schema must match the parent database’s properties. If the parent is a page, then the only valid object key is title. |
Optional Properties
Property | Modifiers | Type | Description |
---|---|---|---|
children? | Array<BlockInput> | The content to be rendered on the new page, represented as an array of block objects. |