Notion Helper - v1.3.30
    Preparing search index...

    Function createMeta

    • Creates a position object for specifying where a child page should be placed within its parent page.

      Parameters

      • positionChoice: string | Object

        The position to place the new page. Can be:

        • A fully-formed position object, e.g.: { type: "after_block", after_block: { id: "block-id" } }
        • A string value:
          • "page_start": Place the page at the top of the parent.
          • "page_end": Place the page at the bottom of the parent (default behavior).
          • A valid block ID (UUID string): Place the page after this specific block.

      Returns Object | null

      A position metadata object, or null if invalid.