Versions in this module Expand all Collapse all v0 v0.14.0 Apr 20, 2026 v0.13.0 Apr 19, 2026 Changes in this version + type Block struct + BulletedList *blockContent + Callout *blockContent + Code *blockContent + Heading1 *blockContent + Heading2 *blockContent + Heading3 *blockContent + ID string + NumberedList *blockContent + Paragraph *blockContent + Quote *blockContent + Type string + func (b *Block) PlainText() string + type Client struct + func NewClient(token string) *Client + func (c *Client) GetBlockChildren(ctx context.Context, blockID string) ([]Block, error) + func (c *Client) SearchDatabases(ctx context.Context) ([]Database, error) + func (c *Client) SearchPages(ctx context.Context) ([]Page, error) + func (c *Client) SetBaseURL(url string) + type Config struct + BaseURL string + Extract []string + Token string + type Database struct + Archived bool + CreatedBy User + CreatedTime time.Time + Description []RichText + ID string + LastEditedBy User + LastEditedTime time.Time + Parent Parent + Properties map[string]any + Title []RichText + URL string + type Extractor struct + func New(logger log.Logger) *Extractor + func (e *Extractor) Extract(ctx context.Context, emit plugins.Emit) error + func (e *Extractor) Init(ctx context.Context, config plugins.Config) error + type Page struct + Archived bool + CreatedBy User + CreatedTime time.Time + ID string + LastEditedBy User + LastEditedTime time.Time + Parent Parent + Properties map[string]any + URL string + type Parent struct + DatabaseID string + PageID string + Type string + WorkspaceID string + type RichText struct + PlainText string + type User struct + ID string + Name string