Skip to main content
Glama
index.ts1.15 kB
/** * Field mapping orchestration layer with backward compatibility * * This module maintains the exact same public API as the original field-mapper.ts * file while delegating to the new modular architecture. * * Extracted during Issue #529 modular refactoring following Strangler Fig pattern. */ // Re-export types for backward compatibility export type { FieldMapping } from './types.js'; // Re-export the main FIELD_MAPPINGS constant (now RESOURCE_TYPE_MAPPINGS) export { RESOURCE_TYPE_MAPPINGS as FIELD_MAPPINGS } from './constants/index.js'; // Core transformation functions export { mapFieldName, mapRecordFields, transformFieldValue, mapTaskFields, } from './transformers/index.js'; // Validation functions export { validateResourceType, validateFields, getFieldSuggestions, enhanceUniquenessError, detectFieldCollisions, validateCategories, processCategories, checkDomainConflict, } from './validators/index.js'; // Utility functions export { getValidResourceTypes, getValidFields, getValidCategories, } from './validators/index.js'; // Configuration export { strictModeFor } from './config.js';

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kesslerio/attio-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server