import type { SourceType } from '../../components/PipelineForm/schemas/source'; /** * Stable identifiers for source configuration fields that can be changed while * a pipeline is running. New editable fields are added to the registry, then * consumers opt into them through `sourceConfiguration.editableProperties`. */ export type EditableSourceConfigurationPropertyId = 'mysql.serverId' | 'mariadb.serverId' | 'oracle.pdb'; export interface EditableSourceConfigurationProperty { id: EditableSourceConfigurationPropertyId; sourceType: SourceType; formPath: string; advancedPropertyKey: string; valueType: 'number' | 'string'; } export interface SourceConfigurationCapabilityConfig { /** * Fields this host permits users to edit on an already running pipeline. * Omit the setting to use the RDI UI defaults; provide an empty array to * keep every source configuration field read-only. */ editableProperties?: readonly EditableSourceConfigurationPropertyId[]; }