@xrmforge/typegen 0.8.2 → 0.8.4

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/dist/index.js CHANGED
@@ -3044,24 +3044,18 @@ ${navPropsContent}` : fieldsEnumContent;
3044
3044
  const importPath = "@xrmforge/helpers";
3045
3045
  const grouped = groupCustomApis(customApis);
3046
3046
  for (const [key, apis] of grouped.actions) {
3047
- const entityName = key === "global" ? void 0 : key;
3048
- const declarations = generateActionDeclarations(apis, false, entityName, { importPath });
3049
3047
  const module = generateActionModule(apis, false, { importPath });
3050
3048
  files.push({
3051
3049
  relativePath: `actions/${key}.ts`,
3052
- content: addGeneratedHeader(`${declarations}
3053
- ${module}`),
3050
+ content: addGeneratedHeader(module),
3054
3051
  type: "action"
3055
3052
  });
3056
3053
  }
3057
3054
  for (const [key, apis] of grouped.functions) {
3058
- const entityName = key === "global" ? void 0 : key;
3059
- const declarations = generateActionDeclarations(apis, true, entityName, { importPath });
3060
3055
  const module = generateActionModule(apis, true, { importPath });
3061
3056
  files.push({
3062
3057
  relativePath: `functions/${key}.ts`,
3063
- content: addGeneratedHeader(`${declarations}
3064
- ${module}`),
3058
+ content: addGeneratedHeader(module),
3065
3059
  type: "action"
3066
3060
  });
3067
3061
  }