generator-begcode
Version:
Spring Boot + Angular/React/Vue in one handy generator
20 lines (19 loc) • 687 B
TypeScript
export type JDLOptionParams = {
name: string;
entityNames?: Set<string> | string[];
excludedNames?: Set<string> | string[];
annotations?: any[];
};
export default class AbstractJDLOption {
name: string;
entityNames: Set<string>;
excludedNames: Set<string>;
annotations?: any[];
constructor(args: JDLOptionParams);
addEntityName(entityName: string): false | Set<string>;
addEntitiesFromAnotherOption(option?: AbstractJDLOption): boolean;
excludeEntityName(entityName: string): void;
getType(): string;
setEntityNames(newEntityNames: Iterable<string>): void;
resolveEntityNames(entityNames: string[] | undefined): Set<string>;
}