I am trying to build a Lightning Web Component that uses Custom Metadata Types. It will be used on record page. I am successfully retrieving the ID of the current record, then I am using its type as a filter in the Apex class. The cmt records have a "Object type" field and I can easily add a where clause in a SOQL query in the class in order to retrieve only the cmt records which are relevant to the current object. I am wondering is there a way to retrieve these records directly in the LWC without using Apex? The only solutions, I managed to find, are using hardcoded IDs for that purpose.