@medusajs/utils
Version:
Medusa utilities functions shared by Medusa core and Modules
7 lines • 298 B
TypeScript
/**
* Generate a composed id based on the input parameters and return either the is if it exists or the generated one.
* @param idProperty
* @param prefix
*/
export declare function generateEntityId(idProperty?: string, prefix?: string): string;
//# sourceMappingURL=generate-entity-id.d.ts.map