@bitstack/ng-query-codegen-openapi 0.0.32 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bin/cli.mjs +11 -10
- package/lib/bin/cli.mjs.map +1 -1
- package/lib/index.js +4 -4
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4 -4
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/generators/rtk-query-generator.ts +3 -3
- package/src/services/unified-code-generator.ts +4 -1
|
@@ -364,7 +364,10 @@ export class UnifiedCodeGenerator {
|
|
|
364
364
|
* 生成主 index.ts 檔案
|
|
365
365
|
*/
|
|
366
366
|
private generateMainIndex(generatedGroups: string[]): string {
|
|
367
|
-
const exports = generatedGroups
|
|
367
|
+
const exports = generatedGroups
|
|
368
|
+
.map((groupKey) => `export * from "./${groupKey}";`)
|
|
369
|
+
.concat('\nexport * from "./tagTypes";')
|
|
370
|
+
.join('\n');
|
|
368
371
|
|
|
369
372
|
return `/* eslint-disable */
|
|
370
373
|
// [Warning] Generated automatically - do not edit manually
|