@medusajs/utils
Version:
Medusa utilities functions shared by Medusa core and Modules
6 lines • 398 B
TypeScript
import { EntityConstructor, PropertyMetadata, RelationshipMetadata } from "@medusajs/types";
/**
* Apply the searchable decorator to the property marked as searchable to enable the free text search
*/
export declare function applySearchable(MikroORMEntity: EntityConstructor<any>, fieldOrRelationship: PropertyMetadata | RelationshipMetadata): void;
//# sourceMappingURL=apply-searchable.d.ts.map