package bootstrap

import (
	connector "github.com/pingcap-inc/nexuscrm-contract/pkg/connector"
)

// The connector field-mapping data contracts, enum strings, and the pure
// parse/validate helpers below were relocated out of internal/bootstrap as the
// AU pilot slice of the bootstrap-decoupling campaign:
//   - Pure DTOs / enums / stdlib-only parsers → nexuscrm-contract/pkg/connector.
//   - Parsers that need kernel/pkg/formula or shared/pkg/constants →
//     nexuscrm-kernel/pkg/connector.
//
// The aliases below keep every existing bootstrap importer (control plane, etc.)
// compiling unchanged until a later wave repoints them. bootstrap acquires no
// new behavior — these are thin re-exports.

// Direction constants for connector field mapping rows.
const (
	DirectionInbound       = connector.DirectionInbound
	DirectionOutbound      = connector.DirectionOutbound
	DirectionBidirectional = connector.DirectionBidirectional
)

// ConnectorFieldMappingInput is the input struct for pack-managed connector
// rows. Relocated verbatim (struct + MarshalJSON) to the contract package; the
// durable JSON projection is byte-identical.
type ConnectorFieldMappingInput = connector.ConnectorFieldMappingInput
