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