@medusajs/utils
Version:
Medusa utilities functions shared by Medusa core and Modules
9 lines • 336 B
TypeScript
import { PropertyType } from "@medusajs/types";
/**
* Defines a DML entity schema field as a Mikro ORM property
*/
export declare function getGraphQLAttributeFromDMLPropety(modelName: string, propertyName: string, property: PropertyType<any>): {
enum?: string;
attribute: string;
};
//# sourceMappingURL=get-attribute.d.ts.map