@xrmforge/typegen 0.9.1 → 0.10.0

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
@@ -2212,6 +2212,14 @@ function generateFormInterface(form, entityLogicalName, attributeMap, options =
2212
2212
  }
2213
2213
  lines.push("};");
2214
2214
  lines.push("");
2215
+ lines.push(`/** Type info for typedForm<${interfaceName}>(). Bundles Fields, AttributeMap, ControlMap. */`);
2216
+ lines.push(`export interface ${interfaceName}TypeInfo {`);
2217
+ lines.push(` fields: ${fieldsTypeName};`);
2218
+ lines.push(` attributes: ${attrMapName};`);
2219
+ lines.push(` controls: ${ctrlMapName};`);
2220
+ lines.push(` form: ${interfaceName};`);
2221
+ lines.push("}");
2222
+ lines.push("");
2215
2223
  return lines.join("\n");
2216
2224
  }
2217
2225
  function generateEntityForms(forms, entityLogicalName, attributes, options = {}) {