import type * as HydraDB from "../../../../index.js"; /** * @example * { * id: "HydraDoc1234", * resources: [{ * additionalMetadata: { * "author": "ada", * "doc_version": 3 * }, * collection: "team_docs", * database: "acme_corp", * metadata: { * "department": "finance", * "priority": 7 * }, * name: "general", * resourceId: "C0123456789", * resourceType: "channel" * }] * } */ export interface HandlerConfigureReq { /** Connector ID */ id: string; /** Internal interval for async backfill paging. */ backfillChunkIntervalSeconds?: number; /** How far back the first sync fetches historical data. Only applies to the initial sync — subsequent syncs are incremental from the last cursor. */ lookbackDays?: number; /** Resources to activate for this connector. Each item corresponds to one entry from the Discover endpoint. */ resources: HydraDB.HandlerResourceMapping[]; /** * TableConfigs carries per-table replication settings for MOVEIT * connectors whose tap reads a `table_configs` credential input (bigquery). * Configure merges them into the stored credential bundle before the first * sync, so the mode chosen at selection time governs every sync from the * start. Optional; rejected for non-MOVEIT engines. */ tableConfigs?: HydraDB.HandlerTableConfigEntry[]; }