UNPKG

gen-jhipster

Version:

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

44 lines (43 loc) 2.01 kB
/** * Shared util protos (Decimal, pagination, query filters, date). Entity *.proto files import these paths. * Must be present under src/main/proto/util/ whenever any entity proto is generated — not only on initial app gen. */ export declare const GRPC_UTIL_PROTO_FILE_DEFS: { path: string; renameTo: (_data: any, filePath: string) => string; templates: string[]; }[]; /** Base Java gRPC support written on full app gen; also required when enableGrpc is turned on later + entities regenerated. */ export declare const GRPC_CORE_JAVA_FILE_DEFS: { path: string; renameTo: (data: any, filePath: string) => string; templates: string[]; }[]; export declare const GRPC_ERROR_JAVA_FILE_DEFS: { path: string; renameTo: (data: any, filePath: string) => string; templates: string[]; }[]; /** * Everything *EntityProtoMapper* / entity gRPC services need besides per-entity files. * Ensures toggling enableGrpc false→true then running entity/JDL gen does not miss ProtobufMapper, util protos, etc. */ export declare const GRPC_ENTITY_SUPPORT_FILE_DEFS: { path: string; renameTo: (_data: any, filePath: string) => string; templates: string[]; }[]; export declare const grpcFiles: { utils: { path: string; renameTo: (_data: any, filePath: string) => string; templates: string[]; }[]; error: { path: string; renameTo: (data: any, filePath: string) => string; templates: string[]; }[]; }; declare const _default: (this: import("../index.ts").GeneratorBaseCore<import("../base-core/types.js").Config, import("../base-core/types.js").Options, import("../base-core/types.js").Features>, params: import("../base-simple-application/tasks.js").TaskParamWithApplication<import("../base-application/types.js").Application<import("../base-application/entity.ts").Entity<import("../base-application/entity.ts").Field, import("../base-application/entity.ts").Relationship>>>) => void; export default _default;