@@ -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 ( 28 , data , 0 ) , "data" :data , "loc" :{ "start" :{ "line" :15 , "column" :2 } , "end" :{ "line" :78 , "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 ( 28 , data , 0 ) , "data" :data , "loc" :{ "start" :{ "line" :15 , "column" :2 } , "end" :{ "line" :77 , "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 ) ) {
@@ -5271,7 +5271,7 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5271
5271
+ "("
5272
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" :52 } , "end" :{ "line" :28 , "column" :18 } } } ) ) != null ? stack1 : "" )
5273
5273
+ ");\n },\n ...options\n });\n };\n\n"
5274
- + ( ( stack1 = lookupProperty ( helpers , "contains" ) . call ( alias1 , lookupProperty ( depth0 , "name" ) , "List" , { "name" :"contains" , "hash" :{ } , "fn" :container . program ( 18 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :34 , "column" :3 } , "end" :{ "line" :62 , "column" :16 } } } ) ) != null ? stack1 : "" )
5274
+ + ( ( stack1 = lookupProperty ( helpers , "contains" ) . call ( alias1 , lookupProperty ( depth0 , "pascalcase" ) , lookupProperty ( depth0 , " name") , "List" , { "name" :"contains" , "hash" :{ } , "fn" :container . program ( 18 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :34 , "column" :3 } , "end" :{ "line" :61 , "column" :16 } } } ) ) != null ? stack1 : "" )
5275
5275
+ "\n\n" ;
5276
5276
} , "6" :function ( container , depth0 , helpers , partials , data ) {
5277
5277
var stack1 , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
@@ -5342,7 +5342,7 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5342
5342
+ "."
5343
5343
+ ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :39 , "column" :47 } , "end" :{ "line" :39 , "column" :51 } } ) , depth0 ) ) != null ? stack1 : "" )
5344
5344
+ "("
5345
- + ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 19 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :39 , "column" :54 } , "end" :{ "line" :52 , "column" :18 } } } ) ) != null ? stack1 : "" )
5345
+ + ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 19 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :39 , "column" :54 } , "end" :{ "line" :51 , "column" :18 } } } ) ) != null ? stack1 : "" )
5346
5346
+ ");\n },\n initialPageParam: null,\n getNextPageParam: (lastPage, allPages) => {\n const params = new URLSearchParams(lastPage?.next_url?.split('?')?.[1]);\n return params.get('cursor');\n },\n ...options\n });\n };\n" ;
5347
5347
} , "19" :function ( container , depth0 , helpers , partials , data ) {
5348
5348
var stack1 , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
@@ -5353,8 +5353,8 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5353
5353
} ;
5354
5354
5355
5355
return "{\n"
5356
- + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "parameters" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 20 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :40 , "column" :9 } , "end" :{ "line" :50 , "column" :18 } } } ) ) != null ? stack1 : "" )
5357
- + " cursor: pageParam,\n }" ;
5356
+ + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "parameters" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 20 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :40 , "column" :9 } , "end" :{ "line" :49 , "column" :18 } } } ) ) != null ? stack1 : "" )
5357
+ + " cursor: pageParam as string ,\n }" ;
5358
5358
} , "20" :function ( container , depth0 , helpers , partials , data ) {
5359
5359
var stack1 , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
5360
5360
if ( Object . prototype . hasOwnProperty . call ( parent , propertyName ) ) {
@@ -5363,7 +5363,7 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5363
5363
return undefined
5364
5364
} ;
5365
5365
5366
- return ( ( stack1 = lookupProperty ( helpers , "equals" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "name" ) , "cursor" , { "name" :"equals" , "hash" :{ } , "fn" :container . program ( 21 , data , 0 ) , "inverse" :container . program ( 23 , data , 0 ) , "data" :data , "loc" :{ "start" :{ "line" :41 , "column" :10 } , "end" :{ "line" :49 , "column" :21 } } } ) ) != null ? stack1 : "" )
5366
+ return ( ( stack1 = lookupProperty ( helpers , "equals" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "name" ) , "cursor" , { "name" :"equals" , "hash" :{ } , "fn" :container . program ( 21 , data , 0 ) , "inverse" :container . program ( 23 , data , 0 ) , "data" :data , "loc" :{ "start" :{ "line" :41 , "column" :10 } , "end" :{ "line" :48 , "column" :21 } } } ) ) != null ? stack1 : "" )
5367
5367
+ ",\n" ;
5368
5368
} , "21" :function ( container , depth0 , helpers , partials , data ) {
5369
5369
return "\n" ;
@@ -5375,7 +5375,7 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5375
5375
return undefined
5376
5376
} ;
5377
5377
5378
- return ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "name" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 24 , data , 0 ) , "inverse" :container . program ( 26 , data , 0 ) , "data" :data , "loc" :{ "start" :{ "line" :44 , "column" :11 } , "end" :{ "line" :48 , "column" :18 } } } ) ) != null ? stack1 : "" )
5378
+ return ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "name" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 24 , data , 0 ) , "inverse" :container . program ( 26 , data , 0 ) , "data" :data , "loc" :{ "start" :{ "line" :44 , "column" :11 } , "end" :{ "line" :47 , "column" :18 } } } ) ) != null ? stack1 : "" )
5379
5379
+ " " ;
5380
5380
} , "24" :function ( container , depth0 , helpers , partials , data ) {
5381
5381
var stack1 ;
@@ -5384,7 +5384,7 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5384
5384
+ ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :45 , "column" :14 } , "end" :{ "line" :45 , "column" :18 } } ) , depth0 ) ) != null ? stack1 : "" )
5385
5385
+ ",\n" ;
5386
5386
} , "26" :function ( container , depth0 , helpers , partials , data ) {
5387
- return " _,\n " ;
5387
+ return "" ;
5388
5388
} , "28" :function ( container , depth0 , helpers , partials , data ) {
5389
5389
var stack1 , alias1 = depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
5390
5390
if ( Object . prototype . hasOwnProperty . call ( parent , propertyName ) ) {
@@ -5394,19 +5394,19 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5394
5394
} ;
5395
5395
5396
5396
return " export const use"
5397
- + ( ( stack1 = lookupProperty ( helpers , "pascalCase" ) . call ( alias1 , lookupProperty ( depth0 , "name" ) , { "name" :"pascalCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :66 , "column" :19 } , "end" :{ "line" :66 , "column" :38 } } } ) ) != null ? stack1 : "" )
5397
+ + ( ( stack1 = lookupProperty ( helpers , "pascalCase" ) . call ( alias1 , lookupProperty ( depth0 , "name" ) , { "name" :"pascalCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :65 , "column" :19 } , "end" :{ "line" :65 , "column" :38 } } } ) ) != null ? stack1 : "" )
5398
5398
+ " = (options?: Partial<UseMutationOptions<"
5399
5399
+ ( ( stack1 = container . invokePartial ( lookupProperty ( partials , "result" ) , depth0 , { "name" :"result" , "data" :data , "helpers" :helpers , "partials" :partials , "decorators" :container . decorators } ) ) != null ? stack1 : "" )
5400
5400
+ ">>) => {\n return useMutation<"
5401
5401
+ ( ( stack1 = container . invokePartial ( lookupProperty ( partials , "result" ) , depth0 , { "name" :"result" , "data" :data , "helpers" :helpers , "partials" :partials , "decorators" :container . decorators } ) ) != null ? stack1 : "" )
5402
5402
+ ", any, any>({\n mutationFn: async ("
5403
5403
+ ( ( stack1 = container . invokePartial ( lookupProperty ( partials , "parameters" ) , depth0 , { "name" :"parameters" , "data" :data , "helpers" :helpers , "partials" :partials , "decorators" :container . decorators } ) ) != null ? stack1 : "" )
5404
5404
+ ") => {\n return client."
5405
- + ( ( stack1 = lookupProperty ( helpers , "camelCase" ) . call ( alias1 , lookupProperty ( depth0 , "service" ) , { "name" :"camelCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :69 , "column" :21 } , "end" :{ "line" :69 , "column" :42 } } } ) ) != null ? stack1 : "" )
5405
+ + ( ( stack1 = lookupProperty ( helpers , "camelCase" ) . call ( alias1 , lookupProperty ( depth0 , "service" ) , { "name" :"camelCase" , "hash" :{ } , "data" :data , "loc" :{ "start" :{ "line" :68 , "column" :21 } , "end" :{ "line" :68 , "column" :42 } } } ) ) != null ? stack1 : "" )
5406
5406
+ "."
5407
- + ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :69 , "column" :45 } , "end" :{ "line" :69 , "column" :49 } } ) , depth0 ) ) != null ? stack1 : "" )
5407
+ + ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :68 , "column" :45 } , "end" :{ "line" :68 , "column" :49 } } ) , depth0 ) ) != null ? stack1 : "" )
5408
5408
+ "("
5409
- + ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 29 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :69 , "column" :52 } , "end" :{ "line" :73 , "column" :15 } } } ) ) != null ? stack1 : "" )
5409
+ + ( ( stack1 = lookupProperty ( helpers , "if" ) . call ( alias1 , lookupProperty ( depth0 , "parameters" ) , { "name" :"if" , "hash" :{ } , "fn" :container . program ( 29 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :68 , "column" :52 } , "end" :{ "line" :72 , "column" :15 } } } ) ) != null ? stack1 : "" )
5410
5410
+ ");\n },\n ...options\n });\n };\n" ;
5411
5411
} , "29" :function ( container , depth0 , helpers , partials , data ) {
5412
5412
var stack1 , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
@@ -5417,13 +5417,13 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5417
5417
} ;
5418
5418
5419
5419
return "{\n"
5420
- + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "parameters" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 30 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :70 , "column" :9 } , "end" :{ "line" :72 , "column" :18 } } } ) ) != null ? stack1 : "" )
5420
+ + ( ( stack1 = lookupProperty ( helpers , "each" ) . call ( depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty ( depth0 , "parameters" ) , { "name" :"each" , "hash" :{ } , "fn" :container . program ( 30 , data , 0 ) , "inverse" :container . noop , "data" :data , "loc" :{ "start" :{ "line" :69 , "column" :9 } , "end" :{ "line" :71 , "column" :18 } } } ) ) != null ? stack1 : "" )
5421
5421
+ " }" ;
5422
5422
} , "30" :function ( container , depth0 , helpers , partials , data ) {
5423
5423
var stack1 ;
5424
5424
5425
5425
return " "
5426
- + ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :71 , "column" :13 } , "end" :{ "line" :71 , "column" :17 } } ) , depth0 ) ) != null ? stack1 : "" )
5426
+ + ( ( stack1 = container . lambda ( container . strict ( depth0 , "name" , { "start" :{ "line" :70 , "column" :13 } , "end" :{ "line" :70 , "column" :17 } } ) , depth0 ) ) != null ? stack1 : "" )
5427
5427
+ ",\n" ;
5428
5428
} , "compiler" :[ 8 , ">= 4.3.0" ] , "main" :function ( container , depth0 , helpers , partials , data ) {
5429
5429
var stack1 , alias1 = container . strict , alias2 = container . lambda , alias3 = depth0 != null ? depth0 : ( container . nullContext || { } ) , lookupProperty = container . lookupProperty || function ( parent , propertyName ) {
@@ -5441,7 +5441,7 @@ var templateExportHook = {"1":function(container,depth0,helpers,partials,data) {
5441
5441
+ "\nconst client = new "
5442
5442
+ ( ( stack1 = alias2 ( alias1 ( depth0 , "clientName" , { "start" :{ "line" :12 , "column" :21 } , "end" :{ "line" :12 , "column" :31 } } ) , depth0 ) ) != null ? stack1 : "" )
5443
5443
+ "();\n\n"
5444
- + ( ( 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" :79 , "column" :9 } } } ) ) != null ? stack1 : "" ) ;
5444
+ + ( ( 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" :78 , "column" :9 } } } ) ) != null ? stack1 : "" ) ;
5445
5445
} , "usePartial" :true , "useData" :true } ;
5446
5446
5447
5447
var templateIndex = { "1" :function ( container , depth0 , helpers , partials , data ) {
0 commit comments