File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import {
3636
3737export const transformConnectedComponentToJSON = function ( value : ConnectedComponent ) : any {
3838 return {
39- compontents : value . compontents && value . compontents . map ( transformEntityReferenceToJSON ) ,
39+ components : value . components . map ( transformEntityReferenceToJSON ) ,
4040 file_path : value . filePath ,
4141 name : value . name ,
4242 description : value . description ,
@@ -48,7 +48,7 @@ export const transformConnectedComponentToJSON = function (value: ConnectedCompo
4848
4949export const transformJSONToConnectedComponent = function ( value : any ) : ConnectedComponent {
5050 return {
51- compontents : value . compontents && value . compontents . map ( transformJSONToEntityReference ) ,
51+ components : value . components . map ( transformJSONToEntityReference ) ,
5252 filePath : value . file_path ,
5353 name : value . name ,
5454 description : value . description ,
@@ -69,7 +69,7 @@ export interface ConnectedComponent {
6969 * @type {Array<EntityReference> }
7070 * @memberof ConnectedComponent
7171 */
72- compontents ? : Array < EntityReference > ;
72+ components : Array < EntityReference > ;
7373 /**
7474 * File path of the connected component from the source code
7575 * @type {string }
You can’t perform that action at this time.
0 commit comments