gen-jhipster
Version:
VHipster - Spring Boot + Angular/React/Vue in one handy generator
13 lines (12 loc) • 501 B
TypeScript
import type JDLObject from '../../core/models/jdl-object.ts';
import type { JSONField } from '../../core/types/json-config.ts';
declare const _default: {
convert: typeof convert;
};
export default _default;
/**
* Converts entity fields to JSON content.
* @param jdlObject - the JDL object containing entities, fields and enums.
* @return a map having for keys an entity's name and for values its JSON fields.
*/
export declare function convert(jdlObject: JDLObject): Map<string, JSONField[]>;