@shepherdjerred/helm-types 1.1.0 → 1.2.0-dev.893

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/README.md CHANGED
@@ -78,7 +78,11 @@ npx @shepherdjerred/helm-types \
78
78
  ## Programmatic API
79
79
 
80
80
  ```typescript
81
- import { fetchHelmChart, convertToTypeScriptInterface, generateTypeScriptCode } from "@shepherdjerred/helm-types";
81
+ import {
82
+ fetchHelmChart,
83
+ convertToTypeScriptInterface,
84
+ generateTypeScriptCode,
85
+ } from "@shepherdjerred/helm-types";
82
86
 
83
87
  // 1. Define your chart
84
88
  const chart = {
@@ -90,7 +94,12 @@ const chart = {
90
94
 
91
95
  // 2. Fetch and generate types
92
96
  const { values, schema, yamlComments } = await fetchHelmChart(chart);
93
- const tsInterface = convertToTypeScriptInterface(values, "ArgocdHelmValues", schema, yamlComments);
97
+ const tsInterface = convertToTypeScriptInterface(
98
+ values,
99
+ "ArgocdHelmValues",
100
+ schema,
101
+ yamlComments,
102
+ );
94
103
  const code = generateTypeScriptCode(tsInterface, chart.name);
95
104
 
96
105
  // 3. Write output