UNPKG

generator-begcode

Version:

Spring Boot + Angular/React/Vue in one handy generator

49 lines (48 loc) 2.32 kB
import type BaseGenerator from '../../base/index.js'; export declare function getFieldEndUsed(endUsed: string): string; export declare function getIconName(iconName: any, iconLibName?: string): any; export declare function generateFormFields(fields: any, relationships: any, entity: any, application: any, options?: any, entities?: any): { showInOneContainerConfig: { containerType: string; componentName: string; subComponentName: string; subLabelName: string; showBaseInfo: boolean; }; formFieldLines: any[]; formFieldNames: any[]; formRelationShipNames: any[]; showInOneConfig: any; showInOneRelationships: any[]; formImportStatements: Set<string>; showInOneImportComponents: any; }; export declare function generateDescFields(fields: any[], relationships: any[], entity: any, application: any): { detailShowInOneRelationships: any[]; detailShowInOneContainerConfig: { containerType: string; componentName: string; subComponentName: string; subLabelName: string; relationshipsConfig: {}; }; detailShowInOneImportComponents: any; detailFieldLines: any[]; detailShowInOneConfig: any; detailImportStatements: Set<string>; }; export declare function generateColumns(fields: any, relationships: any, entity: any, application: any, skipOperates?: string[]): { tableFieldColumns: any[]; tableColumns: any[]; searchFormFields: any[]; searchFormFieldNames: any[]; searchFormRelationshipNames: any[]; tableImportStatements: Set<string>; editInListRelationships: any[]; listComponentConfig: any; }; export declare function addEntityServiceToApiServiceImport(this: BaseGenerator, className: any, fileName: any, folderName: any, moduleServices: boolean | undefined, application: any): void; export declare function addEntityServiceToApiService(this: BaseGenerator, entityName: any, className: any, moduleName: any, application: any): void; export declare function generateEntityNameData(application: any, entityNameList: any, generator: any): void; export declare function generateViewPermissionData(application: any, entity: any, generator: any): void; export declare function writeEnumToMockCsv(enumInfo: any, application: any, generator: any): void;