@@ -5241,7 +5241,7 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5241
5241
return undefined
5242
5242
} ;
5243
5243
5244
- return ( ( stack1 = lookupProperty ( helpers , "equals" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "method" ) , "GET" , { "name" :"equals" , "hash" :{ } , "fn" :container . program ( 5 , data , 0 ) , "inverse" :container . program ( 15 , data , 0 ) , "data" :data , "loc" :{ "start" :{ "line" :17 , "column" :2 } , "end" :{ "line" :37 , "column" :13 } } } ) ) != null ? stack1 : "" ) ;
5244
+ return ( ( stack1 = lookupProperty ( helpers , "equals" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "method" ) , "GET" , { "name" :"equals" , "hash" :{ } , "fn" :container . program ( 5 , data , 0 ) , "inverse" :container . program ( 15 , data , 0 ) , "data" :data , "loc" :{ "start" :{ "line" :15 , "column" :2 } , "end" :{ "line" :35 , "column" :13 } } } ) ) != null ? stack1 : "" ) ;
5245
5245
} , "5" :function ( container , depth0 , helpers , partials , data ) {
5246
5246
var stack1 , alias1 = depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
5247
5247
if ( Object . prototype . hasOwnProperty . call ( parent , propertyName ) ) {
@@ -5251,25 +5251,25 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5251
5251
} ;
5252
5252
5253
5253
return " export const use"
5254
- + ( ( stack1 = lookupProperty ( helpers , "pascalCase" ) . call ( alias1 , lookupProperty ( depth0 , "name" ) , { "name" :"pascalCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :18 , "column" :19 } , "end" :{ "line" :18 , "column" :38 } } } ) ) != null ? stack1 : "" )
5254
+ + ( ( stack1 = lookupProperty ( helpers , "pascalCase" ) . call ( alias1 , lookupProperty ( depth0 , "name" ) , { "name" :"pascalCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :16 , "column" :19 } , "end" :{ "line" :16 , "column" :38 } } } ) ) != null ? stack1 : "" )
5255
5255
+ " = ("
5256
- + ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 6 , data , 0 ) , "inverse" :container . program ( 8 , data , 0 ) , "data" :data , "loc" :{ "start" :{ "line" :18 , "column" :42 } , "end" :{ "line" :18 , "column" :96 } } } ) ) != null ? stack1 : "" )
5256
+ + ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 6 , data , 0 ) , "inverse" :container . program ( 8 , data , 0 ) , "data" :data , "loc" :{ "start" :{ "line" :16 , "column" :42 } , "end" :{ "line" :16 , "column" :96 } } } ) ) != null ? stack1 : "" )
5257
5257
+ ", options?: UseQueryOptions<"
5258
5258
+ ( ( stack1 = container . invokePartial ( lookupProperty ( partials , "result" ) , depth0 , { "name" :"result" , "data" :data , "helpers" :helpers , "partials" :partials , "decorators" :container . decorators } ) ) != null ? stack1 : "" )
5259
5259
+ ">) => {\n return useQuery<"
5260
5260
+ ( ( stack1 = container . invokePartial ( lookupProperty ( partials , "result" ) , depth0 , { "name" :"result" , "data" :data , "helpers" :helpers , "partials" :partials , "decorators" :container . decorators } ) ) != null ? stack1 : "" )
5261
5261
+ ">(['"
5262
- + ( ( stack1 = lookupProperty ( helpers , "camelCase" ) . call ( alias1 , lookupProperty ( depth0 , "service" ) , { "name" :"camelCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :19 , "column" :35 } , "end" :{ "line" :19 , "column" :57 } } } ) ) != null ? stack1 : "" )
5262
+ + ( ( stack1 = lookupProperty ( helpers , "camelCase" ) . call ( alias1 , lookupProperty ( depth0 , "service" ) , { "name" :"camelCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :17 , "column" :35 } , "end" :{ "line" :17 , "column" :57 } } } ) ) != null ? stack1 : "" )
5263
5263
+ "', '"
5264
- + ( ( stack1 = lookupProperty ( helpers , "camelCase" ) . call ( alias1 , lookupProperty ( depth0 , "name" ) , { "name" :"camelCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :19 , "column" :61 } , "end" :{ "line" :19 , "column" :81 } } } ) ) != null ? stack1 : "" )
5264
+ + ( ( stack1 = lookupProperty ( helpers , "camelCase" ) . call ( alias1 , lookupProperty ( depth0 , "name" ) , { "name" :"camelCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :17 , "column" :61 } , "end" :{ "line" :17 , "column" :81 } } } ) ) != null ? stack1 : "" )
5265
5265
+ "', "
5266
- + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 10 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :19 , "column" :84 } , "end" :{ "line" :19 , "column" :123 } } } ) ) != null ? stack1 : "" )
5266
+ + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 10 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :17 , "column" :84 } , "end" :{ "line" :17 , "column" :123 } } } ) ) != null ? stack1 : "" )
5267
5267
+ "], async () => {\n return client."
5268
- + ( ( stack1 = lookupProperty ( helpers , "camelCase" ) . call ( alias1 , lookupProperty ( depth0 , "service" ) , { "name" :"camelCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :20 , "column" :19 } , "end" :{ "line" :20 , "column" :40 } } } ) ) != null ? stack1 : "" )
5268
+ + ( ( stack1 = lookupProperty ( helpers , "camelCase" ) . call ( alias1 , lookupProperty ( depth0 , "service" ) , { "name" :"camelCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :18 , "column" :19 } , "end" :{ "line" :18 , "column" :40 } } } ) ) != null ? stack1 : "" )
5269
5269
+ "."
5270
- + ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :20 , "column" :43 } , "end" :{ "line" :20 , "column" :47 } } ) , depth0 ) ) != null ? stack1 : "" )
5270
+ + ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :18 , "column" :43 } , "end" :{ "line" :18 , "column" :47 } } ) , depth0 ) ) != null ? stack1 : "" )
5271
5271
+ "("
5272
- + ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 12 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :20 , "column" :50 } , "end" :{ "line" :24 , "column" :13 } } } ) ) != null ? stack1 : "" )
5272
+ + ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 12 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :18 , "column" :50 } , "end" :{ "line" :22 , "column" :13 } } } ) ) != null ? stack1 : "" )
5273
5273
+ ");\n }, options);\n };\n" ;
5274
5274
} , "6" :function ( container , depth0 , helpers , partials , data ) {
5275
5275
var stack1 , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
@@ -5285,7 +5285,7 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5285
5285
} , "10" :function ( container , depth0 , helpers , partials , data ) {
5286
5286
var stack1 ;
5287
5287
5288
- return ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :19 , "column" :106 } , "end" :{ "line" :19 , "column" :110 } } ) , depth0 ) ) != null ? stack1 : "" )
5288
+ return ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :17 , "column" :106 } , "end" :{ "line" :17 , "column" :110 } } ) , depth0 ) ) != null ? stack1 : "" )
5289
5289
+ ", " ;
5290
5290
} , "12" :function ( container , depth0 , helpers , partials , data ) {
5291
5291
var stack1 , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
@@ -5296,13 +5296,13 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5296
5296
} ;
5297
5297
5298
5298
return "{\n"
5299
- + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "parameters" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 13 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :21 , "column" :6 } , "end" :{ "line" :23 , "column" :18 } } } ) ) != null ? stack1 : "" )
5299
+ + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "parameters" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 13 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :19 , "column" :6 } , "end" :{ "line" :21 , "column" :18 } } } ) ) != null ? stack1 : "" )
5300
5300
+ " }" ;
5301
5301
} , "13" :function ( container , depth0 , helpers , partials , data ) {
5302
5302
var stack1 ;
5303
5303
5304
5304
return " "
5305
- + ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :22 , "column" :9 } , "end" :{ "line" :22 , "column" :13 } } ) , depth0 ) ) != null ? stack1 : "" )
5305
+ + ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :20 , "column" :9 } , "end" :{ "line" :20 , "column" :13 } } ) , depth0 ) ) != null ? stack1 : "" )
5306
5306
+ ",\n" ;
5307
5307
} , "15" :function ( container , depth0 , helpers , partials , data ) {
5308
5308
var stack1 , alias1 = depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
@@ -5313,19 +5313,19 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5313
5313
} ;
5314
5314
5315
5315
return " export const use"
5316
- + ( ( stack1 = lookupProperty ( helpers , "pascalCase" ) . call ( alias1 , lookupProperty ( depth0 , "name" ) , { "name" :"pascalCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :28 , "column" :19 } , "end" :{ "line" :28 , "column" :38 } } } ) ) != null ? stack1 : "" )
5316
+ + ( ( stack1 = lookupProperty ( helpers , "pascalCase" ) . call ( alias1 , lookupProperty ( depth0 , "name" ) , { "name" :"pascalCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :26 , "column" :19 } , "end" :{ "line" :26 , "column" :38 } } } ) ) != null ? stack1 : "" )
5317
5317
+ " = (options?: UseMutationOptions<"
5318
5318
+ ( ( stack1 = container . invokePartial ( lookupProperty ( partials , "result" ) , depth0 , { "name" :"result" , "data" :data , "helpers" :helpers , "partials" :partials , "decorators" :container . decorators } ) ) != null ? stack1 : "" )
5319
5319
+ ">) => {\n return useMutation<"
5320
5320
+ ( ( stack1 = container . invokePartial ( lookupProperty ( partials , "result" ) , depth0 , { "name" :"result" , "data" :data , "helpers" :helpers , "partials" :partials , "decorators" :container . decorators } ) ) != null ? stack1 : "" )
5321
5321
+ ", any, any>(async ("
5322
5322
+ ( ( stack1 = container . invokePartial ( lookupProperty ( partials , "parameters" ) , depth0 , { "name" :"parameters" , "data" :data , "helpers" :helpers , "partials" :partials , "decorators" :container . decorators } ) ) != null ? stack1 : "" )
5323
5323
+ ") => {\n return client."
5324
- + ( ( stack1 = lookupProperty ( helpers , "camelCase" ) . call ( alias1 , lookupProperty ( depth0 , "service" ) , { "name" :"camelCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :30 , "column" :19 } , "end" :{ "line" :30 , "column" :40 } } } ) ) != null ? stack1 : "" )
5324
+ + ( ( stack1 = lookupProperty ( helpers , "camelCase" ) . call ( alias1 , lookupProperty ( depth0 , "service" ) , { "name" :"camelCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :28 , "column" :19 } , "end" :{ "line" :28 , "column" :40 } } } ) ) != null ? stack1 : "" )
5325
5325
+ "."
5326
- + ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :30 , "column" :43 } , "end" :{ "line" :30 , "column" :47 } } ) , depth0 ) ) != null ? stack1 : "" )
5326
+ + ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :28 , "column" :43 } , "end" :{ "line" :28 , "column" :47 } } ) , depth0 ) ) != null ? stack1 : "" )
5327
5327
+ "("
5328
- + ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 16 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :30 , "column" :50 } , "end" :{ "line" :34 , "column" :13 } } } ) ) != null ? stack1 : "" )
5328
+ + ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 16 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :28 , "column" :50 } , "end" :{ "line" :32 , "column" :13 } } } ) ) != null ? stack1 : "" )
5329
5329
+ ");\n }, options);\n };\n" ;
5330
5330
} , "16" :function ( container , depth0 , helpers , partials , data ) {
5331
5331
var stack1 , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
@@ -5336,7 +5336,7 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5336
5336
} ;
5337
5337
5338
5338
return "{\n"
5339
- + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "parameters" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 13 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :31 , "column" :6 } , "end" :{ "line" :33 , "column" :15 } } } ) ) != null ? stack1 : "" )
5339
+ + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "parameters" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 13 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :29 , "column" :6 } , "end" :{ "line" :31 , "column" :15 } } } ) ) != null ? stack1 : "" )
5340
5340
+ " }" ;
5341
5341
} , "compiler" :[ 8 , ">= 4.3.0" ] , "main" :function ( container , depth0 , helpers , partials , data ) {
5342
5342
var stack1 , alias1 = container . strict , alias2 = container . lambda , alias3 = depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
@@ -5353,8 +5353,8 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5353
5353
+ ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( alias3 , lookupProperty ( depth0 , "imports" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 1 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :6 , "column" :0 } , "end" :{ "line" :10 , "column" :7 } } } ) ) != null ? stack1 : "" )
5354
5354
+ "\nconst client = new "
5355
5355
+ ( ( stack1 = alias2 ( alias1 ( depth0 , "clientName" , { "start" :{ "line" :12 , "column" :21 } , "end" :{ "line" :12 , "column" :31 } } ) , depth0 ) ) != null ? stack1 : "" )
5356
- + "({\n BASE: process.env.ANYROAD_API_BASE_URL\n} );\n\n"
5357
- + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( alias3 , lookupProperty ( depth0 , "operations" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 4 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :16 , "column" :0 } , "end" :{ "line" :38 , "column" :9 } } } ) ) != null ? stack1 : "" ) ;
5356
+ + "();\n\n"
5357
+ + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( alias3 , lookupProperty ( depth0 , "operations" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 4 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :14 , "column" :0 } , "end" :{ "line" :36 , "column" :9 } } } ) ) != null ? stack1 : "" ) ;
5358
5358
} , "usePartial" :true , "useData" :true } ;
5359
5359
5360
5360
var templateIndex = { "1" :function ( container , depth0 , helpers , partials , data ) {
0 commit comments