aggregateEntityInterfaces
@quik/entity / Generators / aggregateEntityInterfaces
Function: aggregateEntityInterfaces()
aggregateEntityInterfaces(
fileName,entities,options?):string
Defined in: entity/src/generators/generateTypescriptInterface.ts:154
Generates a TypeScript file with multiple entity interfaces.
This function aggregates multiple entity interfaces into a single file by:
- Creating a file header with a description of the generated content
- Generating individual interfaces for each entity
- Combining them with proper spacing and formatting
Parameters
fileName
string
The name of the file being generated
entities
string[]
Array of entity names to generate interfaces for
options?
Configuration options for interface generation
Returns
string