@@ -14,12 +14,12 @@ import {
1414} from "./proto/test" ;
1515
1616export const readInputsCall = ( client : TestServiceClient ) => {
17- const request = TestServiceReadInputsRequest . fromPartial ( {
17+ const request : TestServiceReadInputsRequest = {
1818 userId : faker . string . uuid ( ) ,
1919 taxYear : faker . number . int ( { min : 2018 , max : 2023 } ) . toString ( ) ,
2020 formName : faker . helpers . arrayElement ( MOCK_FORM_NAMES ) ,
2121 inputNames : MOCK_INPUT_NAMES ,
22- } ) ;
22+ } ;
2323
2424 const metadata = new Metadata ( ) ;
2525
@@ -36,7 +36,7 @@ export const readInputsCall = (client: TestServiceClient) => {
3636} ;
3737
3838export const updateInputsCall = ( client : TestServiceClient ) => {
39- const request = TestServiceUpdateInputsRequest . fromPartial ( {
39+ const request : TestServiceUpdateInputsRequest = {
4040 userId : faker . string . uuid ( ) ,
4141 taxYear : faker . number . int ( { min : 2018 , max : 2023 } ) . toString ( ) ,
4242 formName : faker . helpers . arrayElement ( MOCK_FORM_NAMES ) ,
@@ -46,7 +46,7 @@ export const updateInputsCall = (client: TestServiceClient) => {
4646 type : faker . helpers . arrayElement ( MOCK_INPUT_TYPES ) ,
4747 source : faker . helpers . arrayElement ( MOCK_INPUT_SOURCES ) ,
4848 } ) ) ,
49- } ) ;
49+ } ;
5050
5151 const metadata = new Metadata ( ) ;
5252
0 commit comments