@@ -578,6 +578,7 @@ describe("resources", () => {
578578 const resourceVariable = new ResourceValue ( "Box Resource" , {
579579 url : expression `${ boxVariable } ` ,
580580 method : "get" ,
581+ searchParams : [ { name : "filter" , value : expression `${ boxVariable } ` } ] ,
581582 headers : [ { name : "auth" , value : expression `${ boxVariable } ` } ] ,
582583 body : expression `${ boxVariable } ` ,
583584 } ) ;
@@ -594,6 +595,7 @@ describe("resources", () => {
594595 expect ( fragment . resources ) . toEqual ( [
595596 expect . objectContaining ( {
596597 url : "$ws$dataSource$1" ,
598+ searchParams : [ { name : "filter" , value : "$ws$dataSource$1" } ] ,
597599 headers : [ { name : "auth" , value : "$ws$dataSource$1" } ] ,
598600 body : "$ws$dataSource$1" ,
599601 } ) ,
@@ -605,6 +607,7 @@ describe("resources", () => {
605607 const resourceVariable = new ResourceValue ( "Box Resource" , {
606608 url : expression `${ bodyVariable } ` ,
607609 method : "get" ,
610+ searchParams : [ { name : "filter" , value : expression `${ bodyVariable } ` } ] ,
608611 headers : [ { name : "auth" , value : expression `${ bodyVariable } ` } ] ,
609612 body : expression `${ bodyVariable } ` ,
610613 } ) ;
@@ -620,6 +623,7 @@ describe("resources", () => {
620623 expect ( fragment . resources ) . toEqual ( [
621624 expect . objectContaining ( {
622625 url : "Body$32$Variable" ,
626+ searchParams : [ { name : "filter" , value : "Body$32$Variable" } ] ,
623627 headers : [ { name : "auth" , value : "Body$32$Variable" } ] ,
624628 body : "Body$32$Variable" ,
625629 } ) ,
@@ -631,6 +635,7 @@ describe("resources", () => {
631635 const resourceVariable = new ResourceValue ( "Box Resource" , {
632636 url : expression `${ bodyVariable } ` ,
633637 method : "get" ,
638+ searchParams : [ { name : "filter" , value : expression `${ bodyVariable } ` } ] ,
634639 headers : [ { name : "auth" , value : expression `${ bodyVariable } ` } ] ,
635640 body : expression `${ bodyVariable } ` ,
636641 } ) ;
@@ -654,11 +659,13 @@ describe("resources", () => {
654659 expect ( Array . from ( data . resources . values ( ) ) ) . toEqual ( [
655660 expect . objectContaining ( {
656661 url : "$ws$dataSource$0" ,
662+ searchParams : [ { name : "filter" , value : "$ws$dataSource$0" } ] ,
657663 headers : [ { name : "auth" , value : "$ws$dataSource$0" } ] ,
658664 body : "$ws$dataSource$0" ,
659665 } ) ,
660666 expect . objectContaining ( {
661667 url : "$ws$dataSource$0" ,
668+ searchParams : [ { name : "filter" , value : "$ws$dataSource$0" } ] ,
662669 headers : [ { name : "auth" , value : "$ws$dataSource$0" } ] ,
663670 body : "$ws$dataSource$0" ,
664671 } ) ,
@@ -670,6 +677,7 @@ describe("resources", () => {
670677 const resourceProp = new ResourceValue ( "Box Resource" , {
671678 url : expression `${ boxVariable } ` ,
672679 method : "get" ,
680+ searchParams : [ { name : "filter" , value : expression `${ boxVariable } ` } ] ,
673681 headers : [ { name : "auth" , value : expression `${ boxVariable } ` } ] ,
674682 body : expression `${ boxVariable } ` ,
675683 } ) ;
@@ -685,6 +693,7 @@ describe("resources", () => {
685693 expect ( fragment . resources ) . toEqual ( [
686694 expect . objectContaining ( {
687695 url : "$ws$dataSource$1" ,
696+ searchParams : [ { name : "filter" , value : "$ws$dataSource$1" } ] ,
688697 headers : [ { name : "auth" , value : "$ws$dataSource$1" } ] ,
689698 body : "$ws$dataSource$1" ,
690699 } ) ,
@@ -696,6 +705,7 @@ describe("resources", () => {
696705 const resourceProp = new ResourceValue ( "Box Resource" , {
697706 url : expression `${ bodyVariable } ` ,
698707 method : "get" ,
708+ searchParams : [ { name : "filter" , value : expression `${ bodyVariable } ` } ] ,
699709 headers : [ { name : "auth" , value : expression `${ bodyVariable } ` } ] ,
700710 body : expression `${ bodyVariable } ` ,
701711 } ) ;
@@ -709,6 +719,7 @@ describe("resources", () => {
709719 expect ( fragment . resources ) . toEqual ( [
710720 expect . objectContaining ( {
711721 url : "Body$32$Variable" ,
722+ searchParams : [ { name : "filter" , value : "Body$32$Variable" } ] ,
712723 headers : [ { name : "auth" , value : "Body$32$Variable" } ] ,
713724 body : "Body$32$Variable" ,
714725 } ) ,
@@ -720,6 +731,7 @@ describe("resources", () => {
720731 const resourceProp = new ResourceValue ( "Box Resource" , {
721732 url : expression `${ bodyVariable } ` ,
722733 method : "get" ,
734+ searchParams : [ { name : "filter" , value : expression `${ bodyVariable } ` } ] ,
723735 headers : [ { name : "auth" , value : expression `${ bodyVariable } ` } ] ,
724736 body : expression `${ bodyVariable } ` ,
725737 } ) ;
@@ -743,11 +755,13 @@ describe("resources", () => {
743755 expect ( Array . from ( data . resources . values ( ) ) ) . toEqual ( [
744756 expect . objectContaining ( {
745757 url : "$ws$dataSource$0" ,
758+ searchParams : [ { name : "filter" , value : "$ws$dataSource$0" } ] ,
746759 headers : [ { name : "auth" , value : "$ws$dataSource$0" } ] ,
747760 body : "$ws$dataSource$0" ,
748761 } ) ,
749762 expect . objectContaining ( {
750763 url : "$ws$dataSource$0" ,
764+ searchParams : [ { name : "filter" , value : "$ws$dataSource$0" } ] ,
751765 headers : [ { name : "auth" , value : "$ws$dataSource$0" } ] ,
752766 body : "$ws$dataSource$0" ,
753767 } ) ,
@@ -759,12 +773,14 @@ describe("resources", () => {
759773 const resourceProp = new ResourceValue ( "Box Resource" , {
760774 url : expression `${ boxVariable } ` ,
761775 method : "get" ,
776+ searchParams : [ { name : "filter" , value : expression `${ boxVariable } ` } ] ,
762777 headers : [ { name : "auth" , value : expression `${ boxVariable } ` } ] ,
763778 body : expression `${ boxVariable } ` ,
764779 } ) ;
765780 const resourceVariable = new ResourceValue ( "Box Resource" , {
766781 url : expression `${ boxVariable } ` ,
767782 method : "get" ,
783+ searchParams : [ { name : "filter" , value : expression `${ boxVariable } ` } ] ,
768784 headers : [ { name : "auth" , value : expression `${ boxVariable } ` } ] ,
769785 body : expression `${ boxVariable } ` ,
770786 } ) ;
@@ -798,12 +814,14 @@ describe("resources", () => {
798814 expect . objectContaining ( {
799815 id : expect . toSatisfy ( ( value ) => value !== fragment . resources [ 0 ] . id ) ,
800816 url : newVariableIdentifier ,
817+ searchParams : [ { name : "filter" , value : newVariableIdentifier } ] ,
801818 headers : [ { name : "auth" , value : newVariableIdentifier } ] ,
802819 body : newVariableIdentifier ,
803820 } ) ,
804821 expect . objectContaining ( {
805822 id : expect . toSatisfy ( ( value ) => value !== fragment . resources [ 1 ] . id ) ,
806823 url : newVariableIdentifier ,
824+ searchParams : [ { name : "filter" , value : newVariableIdentifier } ] ,
807825 headers : [ { name : "auth" , value : newVariableIdentifier } ] ,
808826 body : newVariableIdentifier ,
809827 } ) ,
@@ -822,12 +840,14 @@ describe("resources", () => {
822840 const resourceProp = new ResourceValue ( "Box Resource" , {
823841 url : expression `${ boxVariable } ` ,
824842 method : "get" ,
843+ searchParams : [ { name : "filter" , value : expression `${ boxVariable } ` } ] ,
825844 headers : [ { name : "auth" , value : expression `${ boxVariable } ` } ] ,
826845 body : expression `${ boxVariable } ` ,
827846 } ) ;
828847 const resourceVariable = new ResourceValue ( "Box Resource" , {
829848 url : expression `${ boxVariable } ` ,
830849 method : "get" ,
850+ searchParams : [ { name : "filter" , value : expression `${ boxVariable } ` } ] ,
831851 headers : [ { name : "auth" , value : expression `${ boxVariable } ` } ] ,
832852 body : expression `${ boxVariable } ` ,
833853 } ) ;
@@ -865,12 +885,14 @@ describe("resources", () => {
865885 expect . objectContaining ( {
866886 id : fragment . resources [ 0 ] . id ,
867887 url : oldVariableIdentifier ,
888+ searchParams : [ { name : "filter" , value : oldVariableIdentifier } ] ,
868889 headers : [ { name : "auth" , value : oldVariableIdentifier } ] ,
869890 body : oldVariableIdentifier ,
870891 } ) ,
871892 expect . objectContaining ( {
872893 id : fragment . resources [ 1 ] . id ,
873894 url : oldVariableIdentifier ,
895+ searchParams : [ { name : "filter" , value : oldVariableIdentifier } ] ,
874896 headers : [ { name : "auth" , value : oldVariableIdentifier } ] ,
875897 body : oldVariableIdentifier ,
876898 } ) ,
0 commit comments