Skip to main content

Overview

The pull command generates or updates your TypeScript schema from Notion databases.

What it does

  1. Fetches database structure and properties
  2. Generates TypeScript types
  3. Updates your schema file

Options

Examples

Basic pull

Specify environment file path

Generated Schema

The command generates a fully typed schema:

Schema Updates

When you update Notion databases, the pull command will update your schema.