File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ parseCSV - Parses a CSV file into a hierarchy structure.
27
27
| Param | Type | Description |
28
28
| --- | --- | --- |
29
29
| csvFilePath | <code >string</code > | Path to CSV file to be parsed. |
30
- | attributeFields | <code >array.< ; string> ; </code > OR <code >undefined</code > | Set of ` link ` fields to be used as attributes |
30
+ | attributeFields | <code >array.< ; string> ; </code > OR <code >undefined</code > | Set of column names to be used as attributes (optional) |
31
31
32
32
<a name =" parseJSON " ></a >
33
33
@@ -66,3 +66,4 @@ a flat array of links.
66
66
| Param | Type | Description |
67
67
| --- | --- | --- |
68
68
| flatArray | <code >array.< ; object> ; </code > | Flat array of ` link ` objects |
69
+
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ function _transformToHierarchy(links, attributeFields) {
67
67
* parseCSV - Parses a CSV file into a hierarchy structure.
68
68
*
69
69
* @param {string } csvFilePath Path to CSV file to be parsed.
70
- * @param {array<string>|undefined } attributeFields Set of `link` fields to be used as attributes
70
+ * @param {array<string>|undefined } attributeFields Set of column names to be used as attributes (optional)
71
71
*
72
72
* @return {Promise } Returns hierarchy array if resolved, error object if rejected.
73
73
*/
You can’t perform that action at this time.
0 commit comments