import * as AirtableFields from '../airtable/AirtableFieldDefaultConfigs';
const { multipleRecordLinks } = AirtableFields;
export function getRecordLinkAirtableField({ shopifyObjectType, airtableTableLinks, baseSyncConfig }) {
    const tableLink = airtableTableLinks[shopifyObjectType];
    const isObjectSynced = baseSyncConfig.shopify_object_types.includes(shopifyObjectType);
    return isObjectSynced ? {
        ...multipleRecordLinks,
        options: {
            ...multipleRecordLinks.options,
            linkedTableId: tableLink?.id
        }
    } : null;
}
//# sourceMappingURL=getCreateTablePropsUtil.js.map