@medusajs/medusa
Version:
Building blocks for digital commerce
11 lines • 510 B
TypeScript
/**
* Formats a filename into the correct container resolution name.
* Names are camelCase formatted and namespaced by the folder i.e:
* models/example-person -> examplePersonModel
* @param path - the full path of the file
* @return the formatted name
*/
export declare function formatRegistrationName(path: string): string;
export declare function formatRegistrationNameWithoutNamespace(path: string): string;
export default formatRegistrationName;
//# sourceMappingURL=format-registration-name.d.ts.map