/** * Notion client implementation. * * Uses the proto-generated REST API Integration Plugin type from @superblocksteam/types. * Notion integrations use the REST API Integration plugin under the hood. */ import { RestApiIntegrationClient } from "../base/index.js"; import type { NotionClient } from "./types.js"; /** * Internal implementation of NotionClient. * * Extends RestApiIntegrationClient to inherit the generic apiRequest() method. * This implementation communicates with the orchestrator to execute * Notion API calls. At runtime, the orchestrator handles authentication * and API request execution. */ export class NotionClientImpl extends RestApiIntegrationClient implements NotionClient { // Inherits: name, pluginId, config, executeQuery, createParam(), apiRequest() // Can add Notion-specific methods here in the future if needed }