File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ class GraphqlTableConfig {
369369 if ( itemObj && itemObj . type === 'OBJECT' ) {
370370 const fieldsKeys = Object . keys ( itemObj . fields || { } )
371371 const fieldKeysArr : string [ ] = [ ]
372- const fieldKeysArrOpenAI = [ ]
372+ const fieldKeysArrOpenAI : string [ ] = [ ]
373373 if ( ! advancedSearchObj [ key ] ) {
374374 advancedSearchObj [ key ] = { }
375375 }
@@ -406,8 +406,8 @@ class GraphqlTableConfig {
406406 tmpSubfield . push ( '_id' )
407407 }
408408 fieldKeysArrOpenAI . push ( `${ fieldKey } {
409- ${ tmpSubfield . join ( ' \n ' )
410- } `)
409+ ${ tmpSubfield . join ( ' \n ' ) }
410+ }` )
411411 // this could be a list too
412412 const advField = JSON . parse ( JSON . stringify ( advancedSearchMatchType . OBJECT ) )
413413 advField . label = fieldKey
@@ -447,7 +447,7 @@ class GraphqlTableConfig {
447447 query : `
448448 query($id: ID){
449449 ${ key } (id: $id){
450- ${ fieldKeysArr . join ( ' \n ' ) }
450+ ${ fieldKeysArrOpenAI . join ( ' \n ' ) }
451451 }
452452 }`
453453 }
You can’t perform that action at this time.
0 commit comments