[{"data":1,"prerenderedAt":2993,"buildId":2994},["ShallowReactive",2],{"page:\u002Fextensions\u002Fkubb-labs\u002Fplugin-react-query\u002Foptions":3},{"id":4,"frontmatter":5,"title":6,"heading":6,"body":7,"path":2992,"source":4},"extensions\u002Fkubb-labs\u002Fplugin-react-query\u002Foptions.md",{},"Options",{"type":8,"value":9,"toc":2954},"minimark",[10,25,30,588,592,595,601,632,681,684,686,723,746,873,875,902,939,941,947,984,988,995,1032,1035,1046,1083,1086,1116,1153,1161,1168,1242,1251,1362,1365,1367,1373,1410,1413,1419,1455,1458,1464,1500,1503,1524,1560,1622,1624,1644,1681,1698,1701,1704,1740,1743,1748,1785,1788,1799,1836,1839,1844,1880,1883,1893,1930,1934,2117,2120,2128,2164,2167,2176,2213,2215,2238,2275,2278,2293,2322,2329,2465,2468,2471,2502,2505,2508,2544,2546,2561,2590],[11,12,13,14,18,19,24],"p",{},"Pass these options to ",[15,16,17],"code",{},"pluginReactQuery()",". Shared options link to ",[20,21,23],"a",{"href":22},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options","Shared plugin options",".",[26,27,29],"h2",{"id":28},"options-overview","Options overview",[31,32,33,49],"table",{},[34,35,36],"thead",{},[37,38,39,43,46],"tr",{},[40,41,42],"th",{},"Option",[40,44,45],{},"Purpose",[40,47,48],{},"Default",[50,51,52,69,87,109,127,145,163,184,202,220,237,257,274,292,313,331,348,365,382,399,420,436,452,470,488,503,518,536,553,571],"tbody",{},[37,53,54,63,66],{},[55,56,57],"td",{},[20,58,60],{"href":59},"#client",[15,61,62],{},"client",[55,64,65],{},"Client plugin the hooks call.",[55,67,68],{},"Auto-detected",[37,70,71,79,82],{},[55,72,73],{},[20,74,76],{"href":75},"#returntype",[15,77,78],{},"returnType",[55,80,81],{},"What the hooks resolve to.",[55,83,84],{},[15,85,86],{},"'data'",[37,88,89,97,104],{},[55,90,91],{},[20,92,94],{"href":93},"#hooks",[15,95,96],{},"hooks",[55,98,99,100,103],{},"Emit ",[15,101,102],{},"use*"," hooks on top of the factories.",[55,105,106],{},[15,107,108],{},"false",[37,110,111,119,122],{},[55,112,113],{},[20,114,116],{"href":115},"#query",[15,117,118],{},"query",[55,120,121],{},"Which methods become queries, and the TanStack import.",[55,123,124],{},[15,125,126],{},"{ methods: ['GET', 'QUERY'], importPath: '@tanstack\u002Freact-query' }",[37,128,129,137,140],{},[55,130,131],{},[20,132,134],{"href":133},"#querymethods",[15,135,136],{},"query.methods",[55,138,139],{},"Methods that become queries.",[55,141,142],{},[15,143,144],{},"['GET', 'QUERY']",[37,146,147,155,158],{},[55,148,149],{},[20,150,152],{"href":151},"#queryimportpath",[15,153,154],{},"query.importPath",[55,156,157],{},"Import path of the query helpers.",[55,159,160],{},[15,161,162],{},"'@tanstack\u002Freact-query'",[37,164,165,173,179],{},[55,166,167],{},[20,168,170],{"href":169},"#querykey",[15,171,172],{},"queryKey",[55,174,175,176,178],{},"Build the ",[15,177,172],{}," of each query.",[55,180,181],{},[15,182,183],{},"queryKeyTransformer",[37,185,186,194,197],{},[55,187,188],{},[20,189,191],{"href":190},"#mutation",[15,192,193],{},"mutation",[55,195,196],{},"Which methods become mutations, and the TanStack import.",[55,198,199],{},[15,200,201],{},"{ methods: ['POST', 'PUT', 'PATCH', 'DELETE'], importPath: '@tanstack\u002Freact-query' }",[37,203,204,212,215],{},[55,205,206],{},[20,207,209],{"href":208},"#mutationmethods",[15,210,211],{},"mutation.methods",[55,213,214],{},"Methods that become mutations.",[55,216,217],{},[15,218,219],{},"['POST', 'PUT', 'PATCH', 'DELETE']",[37,221,222,230,233],{},[55,223,224],{},[20,225,227],{"href":226},"#mutationimportpath",[15,228,229],{},"mutation.importPath",[55,231,232],{},"Import path of the mutation helpers.",[55,234,235],{},[15,236,162],{},[37,238,239,247,252],{},[55,240,241],{},[20,242,244],{"href":243},"#mutationkey",[15,245,246],{},"mutationKey",[55,248,175,249,251],{},[15,250,246],{}," of each mutation.",[55,253,254],{},[15,255,256],{},"mutationKeyTransformer",[37,258,259,267,270],{},[55,260,261],{},[20,262,264],{"href":263},"#infinite",[15,265,266],{},"infinite",[55,268,269],{},"Generate infinite queries for pagination.",[55,271,272],{},[15,273,108],{},[37,275,276,284,287],{},[55,277,278],{},[20,279,281],{"href":280},"#infinitequeryparam",[15,282,283],{},"infinite.queryParam",[55,285,286],{},"Query parameter for the page cursor.",[55,288,289],{},[15,290,291],{},"'id'",[37,293,294,302,308],{},[55,295,296],{},[20,297,299],{"href":298},"#infiniteinitialpageparam",[15,300,301],{},"infinite.initialPageParam",[55,303,304,305,24],{},"First ",[15,306,307],{},"pageParam",[55,309,310],{},[15,311,312],{},"0",[37,314,315,323,326],{},[55,316,317],{},[20,318,320],{"href":319},"#infinitenextparam",[15,321,322],{},"infinite.nextParam",[55,324,325],{},"Path to the next cursor.",[55,327,328],{},[15,329,330],{},"null",[37,332,333,341,344],{},[55,334,335],{},[20,336,338],{"href":337},"#infinitepreviousparam",[15,339,340],{},"infinite.previousParam",[55,342,343],{},"Path to the previous cursor.",[55,345,346],{},[15,347,330],{},[37,349,350,358,361],{},[55,351,352],{},[20,353,355],{"href":354},"#infinitegetnextpageparam",[15,356,357],{},"infinite.getNextPageParam",[55,359,360],{},"Compute the next page param.",[55,362,363],{},[15,364,330],{},[37,366,367,375,378],{},[55,368,369],{},[20,370,372],{"href":371},"#infinitegetpreviouspageparam",[15,373,374],{},"infinite.getPreviousPageParam",[55,376,377],{},"Compute the previous page param.",[55,379,380],{},[15,381,330],{},[37,383,384,392,395],{},[55,385,386],{},[20,387,389],{"href":388},"#infinitecursorparam",[15,390,391],{},"infinite.cursorParam",[55,393,394],{},"Deprecated cursor field.",[55,396,397],{},[15,398,330],{},[37,400,401,409,416],{},[55,402,403],{},[20,404,406],{"href":405},"#suspense",[15,407,408],{},"suspense",[55,410,411,412,415],{},"Generate ",[15,413,414],{},"useSuspenseQuery"," hooks.",[55,417,418],{},[15,419,108],{},[37,421,422,430,433],{},[55,423,424],{},[20,425,427],{"href":426},"#customoptions",[15,428,429],{},"customOptions",[55,431,432],{},"Route every hook through your own options function.",[55,434,435],{},"None",[37,437,438,446,449],{},[55,439,440],{},[20,441,443],{"href":442},"#customoptionsimportpath",[15,444,445],{},"customOptions.importPath",[55,447,448],{},"Module of your function.",[55,450,451],{},"None, required",[37,453,454,462,465],{},[55,455,456],{},[20,457,459],{"href":458},"#customoptionsname",[15,460,461],{},"customOptions.name",[55,463,464],{},"Name of your function.",[55,466,467],{},[15,468,469],{},"'useCustomHookOptions'",[37,471,472,480,483],{},[55,473,474],{},[20,475,477],{"href":476},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#output",[15,478,479],{},"output",[55,481,482],{},"Where files are written.",[55,484,485],{},[15,486,487],{},"{ path: 'hooks', barrel: { type: 'named' } }",[37,489,490,498,501],{},[55,491,492],{},[20,493,495],{"href":494},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#group",[15,496,497],{},"group",[55,499,500],{},"Split output by tag or path.",[55,502,435],{},[37,504,505,513,516],{},[55,506,507],{},[20,508,510],{"href":509},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#include",[15,511,512],{},"include",[55,514,515],{},"Keep only operations that match.",[55,517,435],{},[37,519,520,528,531],{},[55,521,522],{},[20,523,525],{"href":524},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#exclude",[15,526,527],{},"exclude",[55,529,530],{},"Skip operations that match.",[55,532,533],{},[15,534,535],{},"[]",[37,537,538,546,549],{},[55,539,540],{},[20,541,543],{"href":542},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#override",[15,544,545],{},"override",[55,547,548],{},"Apply different options per pattern.",[55,550,551],{},[15,552,535],{},[37,554,555,563,566],{},[55,556,557],{},[20,558,560],{"href":559},"#resolver",[15,561,562],{},"resolver",[55,564,565],{},"Customize generated names and file paths.",[55,567,568],{},[15,569,570],{},"resolverReactQuery",[37,572,573,581,584],{},[55,574,575],{},[20,576,578],{"href":577},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#macros",[15,579,580],{},"macros",[55,582,583],{},"Rewrite AST nodes before printing.",[55,585,586],{},[15,587,535],{},[26,589,591],{"id":590},"option-details","Option details",[593,594,62],"h3",{"id":62},[11,596,597,598,600],{},"The client plugin the hooks call. Kubb detects a lone client plugin, so set ",[15,599,62],{}," only when several are registered. Generation fails when none is.",[31,602,603,611],{},[34,604,605],{},[37,606,607,609],{},[40,608],{},[40,610],{},[50,612,613,623],{},[37,614,615,618],{},[55,616,617],{},"Type",[55,619,620],{},[15,621,622],{},"'fetch' | 'axios' | 'ky' | 'client'",[37,624,625,628],{},[55,626,627],{},"Required",[55,629,630],{},[15,631,108],{},[633,634,635,646,655,664],"field-group",{},[636,637,639,640,24],"field",{"name":638},"'fetch'","Calls ",[20,641,643],{"href":642},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-fetch",[15,644,645],{},"@kubb\u002Fplugin-fetch",[636,647,639,649,24],{"name":648},"'axios'",[20,650,652],{"href":651},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-axios",[15,653,654],{},"@kubb\u002Fplugin-axios",[636,656,639,658,24],{"name":657},"'ky'",[20,659,661],{"href":660},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-ky",[15,662,663],{},"@kubb\u002Fplugin-ky",[636,665,639,667,673,674,677,678,24],{"name":666},"'client'",[20,668,670],{"href":669},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-client",[15,671,672],{},"@kubb\u002Fplugin-client",". Your client module must also export ",[15,675,676],{},"RequestConfig"," and ",[15,679,680],{},"ResponseErrorConfig",[593,682,78],{"id":683},"returntype",[11,685,81],{},[31,687,688,696],{},[34,689,690],{},[37,691,692,694],{},[40,693],{},[40,695],{},[50,697,698,707,715],{},[37,699,700,702],{},[55,701,617],{},[55,703,704],{},[15,705,706],{},"'data' | 'full'",[37,708,709,711],{},[55,710,627],{},[55,712,713],{},[15,714,108],{},[37,716,717,719],{},[55,718,48],{},[55,720,721],{},[15,722,86],{},[633,724,725,728],{},[636,726,727],{"name":86},"Resolves to the success body.",[636,729,731,732,735,736,738,739,741,742,745],{"name":730},"'full'","Resolves to the client's whole ",[15,733,734],{},"RequestResult",", so a hook can read the status and headers. Needs a client plugin with ",[15,737,78],{}," ",[15,740,730],{}," or ",[15,743,744],{},"'plain'",", or generation fails.",[747,748,752],"pre",{"language":749,"code":750,"class":751},"typescript","pluginReactQuery({ returnType: 'full' })\n\n\u002F\u002F with integerType: 'number' on the adapter\nconst { data: result } = useGetPetById({ path: { petId: 1 } })\nconst etag = result?.response.headers.get('ETag')","highlights",[15,753,755,781,782,781,784,781,790,781,836],{"class":754},"language-typescript",[756,757,760,764,768,770,774,778],"span",{"class":758,"style":759},"line","display: inline",[756,761,763],{"style":762},"color:#6f42c1;--hls-dark:#b392f0","pluginReactQuery",[756,765,767],{"style":766},"color:#005cc5;--hls-dark:#79b8ff","({ ",[756,769,78],{"style":766},[756,771,773],{"style":772},"color:#d73a49;--hls-dark:#f97583",": ",[756,775,777],{"style":776},"color:#032f62;--hls-dark:#9ecbff","'full' ",[756,779,780],{"style":766},"})","\n",[756,783],{"class":758,"style":759},[756,785,786],{"class":758,"style":759},[756,787,789],{"style":788},"color:#6a737d;--hls-dark:#6a737d","\u002F\u002F with integerType: 'number' on the adapter",[756,791,792,795,798,801,803,807,810,813,816,818,821,823,825,828,830,833],{"class":758,"style":759},[756,793,794],{"style":772},"const ",[756,796,797],{"style":766},"{ ",[756,799,800],{"style":766},"data",[756,802,773],{"style":772},[756,804,806],{"style":805},"color:#24292e;--hls-dark:#e1e4e8","result ",[756,808,809],{"style":766},"} ",[756,811,812],{"style":772},"= ",[756,814,815],{"style":762},"useGetPetById",[756,817,767],{"style":766},[756,819,820],{"style":766},"path",[756,822,773],{"style":772},[756,824,797],{"style":766},[756,826,827],{"style":766},"petId",[756,829,773],{"style":772},[756,831,832],{"style":766},"1 ",[756,834,835],{"style":766},"} })",[756,837,838,840,843,845,848,851,854,856,859,861,864,867,870],{"class":758,"style":759},[756,839,794],{"style":772},[756,841,842],{"style":805},"etag ",[756,844,812],{"style":772},[756,846,847],{"style":805},"result",[756,849,850],{"style":772},"?.",[756,852,853],{"style":766},"response",[756,855,24],{"style":772},[756,857,858],{"style":766},"headers",[756,860,24],{"style":772},[756,862,863],{"style":762},"get",[756,865,866],{"style":766},"(",[756,868,869],{"style":776},"'ETag'",[756,871,872],{"style":766},")",[593,874,96],{"id":96},[11,876,877,878,881,882,677,885,888,889,892,893,896,897,901],{},"Set ",[15,879,880],{},"true"," to generate ",[15,883,884],{},"useQuery",[15,886,887],{},"useMutation"," hooks on top of the ",[15,890,891],{},"queryOptions",", ",[15,894,895],{},"mutationOptions",", and key helpers. ",[20,898,900],{"href":899},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-react-query\u002Fguides\u002Fcalling-operations#what-each-plugin-generates","Call operations"," lists every export.",[31,903,904,912],{},[34,905,906],{},[37,907,908,910],{},[40,909],{},[40,911],{},[50,913,914,923,931],{},[37,915,916,918],{},[55,917,617],{},[55,919,920],{},[15,921,922],{},"boolean",[37,924,925,927],{},[55,926,627],{},[55,928,929],{},[15,930,108],{},[37,932,933,935],{},[55,934,48],{},[55,936,937],{},[15,938,108],{},[593,940,118],{"id":118},[11,942,943,944,946],{},"Which operations become queries and where TanStack Query is imported from. ",[15,945,108],{}," skips query output.",[31,948,949,957],{},[34,950,951],{},[37,952,953,955],{},[40,954],{},[40,956],{},[50,958,959,968,976],{},[37,960,961,963],{},[55,962,617],{},[55,964,965],{},[15,966,967],{},"Partial\u003CQuery> | false",[37,969,970,972],{},[55,971,627],{},[55,973,974],{},[15,975,108],{},[37,977,978,980],{},[55,979,48],{},[55,981,982],{},[15,983,126],{},[985,986,136],"h4",{"id":987},"querymethods",[11,989,990,991,994],{},"HTTP methods treated as queries. A method in neither list gets no helper, so keep ",[15,992,993],{},"'QUERY'"," when you replace it.",[31,996,997,1005],{},[34,998,999],{},[37,1000,1001,1003],{},[40,1002],{},[40,1004],{},[50,1006,1007,1016,1024],{},[37,1008,1009,1011],{},[55,1010,617],{},[55,1012,1013],{},[15,1014,1015],{},"Array\u003Cstring>",[37,1017,1018,1020],{},[55,1019,627],{},[55,1021,1022],{},[15,1023,108],{},[37,1025,1026,1028],{},[55,1027,48],{},[55,1029,1030],{},[15,1031,144],{},[985,1033,154],{"id":1034},"queryimportpath",[11,1036,1037,1038,892,1040,1042,1043,24],{},"Module for ",[15,1039,891],{},[15,1041,884],{},", and their variants, such as a wrapper that sets a default ",[15,1044,1045],{},"QueryClient",[31,1047,1048,1056],{},[34,1049,1050],{},[37,1051,1052,1054],{},[40,1053],{},[40,1055],{},[50,1057,1058,1067,1075],{},[37,1059,1060,1062],{},[55,1061,617],{},[55,1063,1064],{},[15,1065,1066],{},"string",[37,1068,1069,1071],{},[55,1070,627],{},[55,1072,1073],{},[15,1074,108],{},[37,1076,1077,1079],{},[55,1078,48],{},[55,1080,1081],{},[15,1082,162],{},[593,1084,172],{"id":1085},"querykey",[11,1087,1088,1089,1091,1092,1095,1096,773,1099,892,1102,892,1105,1108,1109,1112,1113,24],{},"Builds each query's ",[15,1090,172],{}," from the operation ",[15,1093,1094],{},"node"," and the ",[15,1097,1098],{},"variant",[15,1100,1101],{},"'query'",[15,1103,1104],{},"'suspenseQuery'",[15,1106,1107],{},"'infiniteQuery'",", or ",[15,1110,1111],{},"'suspenseInfiniteQuery'",". The default key is ",[15,1114,1115],{},"[{ url, params }, query, body]",[31,1117,1118,1126],{},[34,1119,1120],{},[37,1121,1122,1124],{},[40,1123],{},[40,1125],{},[50,1127,1128,1137,1145],{},[37,1129,1130,1132],{},[55,1131,617],{},[55,1133,1134],{},[15,1135,1136],{},"(props: { node, casing, variant }) => Array\u003Cunknown>",[37,1138,1139,1141],{},[55,1140,627],{},[55,1142,1143],{},[15,1144,108],{},[37,1146,1147,1149],{},[55,1148,48],{},[55,1150,1151],{},[15,1152,183],{},[1154,1155,1157,1158,24],"blockquote",{"as":1156},"warning","Returned strings are copied into the generated code as written, so wrap a string literal in ",[15,1159,1160],{},"JSON.stringify(...)",[11,1162,1163,1164,24],{},"To extend the default, spread it. See ",[20,1165,1167],{"href":1166},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-react-query\u002Fguides\u002Fquery-keys","TanStack Query keys",[747,1169,1171],{"language":749,"code":1170,"class":751},"import { queryKeyTransformer } from '@kubb\u002Fplugin-react-query'\n\nqueryKey: (props) => [JSON.stringify('v2'), ...queryKeyTransformer(props)]",[15,1172,1173,781,1191,781,1193],{"class":754},[756,1174,1175,1178,1180,1183,1185,1188],{"class":758,"style":759},[756,1176,1177],{"style":772},"import ",[756,1179,797],{"style":766},[756,1181,1182],{"style":805},"queryKeyTransformer ",[756,1184,809],{"style":766},[756,1186,1187],{"style":772},"from ",[756,1189,1190],{"style":776},"'@kubb\u002Fplugin-react-query'",[756,1192],{"class":758,"style":759},[756,1194,1195,1197,1199,1201,1204,1207,1210,1213,1216,1218,1221,1223,1226,1228,1230,1233,1235,1237,1239],{"class":758,"style":759},[756,1196,172],{"style":805},[756,1198,773],{"style":772},[756,1200,866],{"style":766},[756,1202,1203],{"style":805},"props",[756,1205,1206],{"style":766},") ",[756,1208,1209],{"style":772},"=> ",[756,1211,1212],{"style":766},"[",[756,1214,1215],{"style":766},"JSON",[756,1217,24],{"style":772},[756,1219,1220],{"style":762},"stringify",[756,1222,866],{"style":766},[756,1224,1225],{"style":776},"'v2'",[756,1227,872],{"style":766},[756,1229,892],{"style":772},[756,1231,1232],{"style":772},"...",[756,1234,183],{"style":762},[756,1236,866],{"style":766},[756,1238,1203],{"style":805},[756,1240,1241],{"style":766},")]",[11,1243,1244,1245,1247,1248,1250],{},"The generated helper also accepts optional ",[15,1246,858],{}," for operations with header parameters. To include them in the cache key, reference the ",[15,1249,858],{}," binding:",[747,1252,1254],{"language":749,"code":1253,"class":751},"queryKey: (props) => [\n ...queryKeyTransformer(props),\n ...(props.node.parameters?.some((param) => param.in === 'header') ? ['...(headers ? [headers] : [])'] : []),\n]",[15,1255,1256,781,1272,781,1290,781,1357],{"class":754},[756,1257,1258,1260,1262,1264,1266,1268,1270],{"class":758,"style":759},[756,1259,172],{"style":805},[756,1261,773],{"style":772},[756,1263,866],{"style":766},[756,1265,1203],{"style":805},[756,1267,1206],{"style":766},[756,1269,1209],{"style":772},[756,1271,1212],{"style":766},[756,1273,1274,1277,1279,1281,1283,1285,1287],{"class":758,"style":759},[756,1275,1276],{"style":766}," ",[756,1278,1232],{"style":772},[756,1280,183],{"style":762},[756,1282,866],{"style":766},[756,1284,1203],{"style":805},[756,1286,872],{"style":766},[756,1288,1289],{"style":772},",",[756,1291,1292,1294,1296,1298,1300,1302,1304,1306,1309,1311,1314,1317,1320,1322,1324,1326,1328,1331,1334,1337,1339,1342,1344,1347,1350,1352,1355],{"class":758,"style":759},[756,1293,1276],{"style":772},[756,1295,1232],{"style":772},[756,1297,866],{"style":766},[756,1299,1203],{"style":805},[756,1301,24],{"style":772},[756,1303,1094],{"style":766},[756,1305,24],{"style":772},[756,1307,1308],{"style":766},"parameters",[756,1310,850],{"style":772},[756,1312,1313],{"style":762},"some",[756,1315,1316],{"style":766},"((",[756,1318,1319],{"style":805},"param",[756,1321,1206],{"style":766},[756,1323,1209],{"style":772},[756,1325,1319],{"style":805},[756,1327,24],{"style":772},[756,1329,1330],{"style":766},"in ",[756,1332,1333],{"style":772},"=== ",[756,1335,1336],{"style":776},"'header'",[756,1338,1206],{"style":766},[756,1340,1341],{"style":772},"? ",[756,1343,1212],{"style":766},[756,1345,1346],{"style":776},"'...(headers ? [headers] : [])'",[756,1348,1349],{"style":766},"] ",[756,1351,773],{"style":772},[756,1353,1354],{"style":766},"[])",[756,1356,1289],{"style":772},[756,1358,1359],{"class":758,"style":759},[756,1360,1361],{"style":766},"]",[11,1363,1364],{},"Headers stay out of the default key. Include only response-varying values that are safe to store in caches and devtools.",[593,1366,193],{"id":193},[11,1368,1369,1370,1372],{},"Which operations become mutations and where TanStack Query is imported from. ",[15,1371,108],{}," skips mutation output.",[31,1374,1375,1383],{},[34,1376,1377],{},[37,1378,1379,1381],{},[40,1380],{},[40,1382],{},[50,1384,1385,1394,1402],{},[37,1386,1387,1389],{},[55,1388,617],{},[55,1390,1391],{},[15,1392,1393],{},"Partial\u003CMutation> | false",[37,1395,1396,1398],{},[55,1397,627],{},[55,1399,1400],{},[15,1401,108],{},[37,1403,1404,1406],{},[55,1405,48],{},[55,1407,1408],{},[15,1409,201],{},[985,1411,211],{"id":1412},"mutationmethods",[11,1414,1415,1416,1418],{},"HTTP methods treated as mutations. A method also in ",[15,1417,136],{}," stays a query.",[31,1420,1421,1429],{},[34,1422,1423],{},[37,1424,1425,1427],{},[40,1426],{},[40,1428],{},[50,1430,1431,1439,1447],{},[37,1432,1433,1435],{},[55,1434,617],{},[55,1436,1437],{},[15,1438,1015],{},[37,1440,1441,1443],{},[55,1442,627],{},[55,1444,1445],{},[15,1446,108],{},[37,1448,1449,1451],{},[55,1450,48],{},[55,1452,1453],{},[15,1454,219],{},[985,1456,229],{"id":1457},"mutationimportpath",[11,1459,1037,1460,677,1462,24],{},[15,1461,895],{},[15,1463,887],{},[31,1465,1466,1474],{},[34,1467,1468],{},[37,1469,1470,1472],{},[40,1471],{},[40,1473],{},[50,1475,1476,1484,1492],{},[37,1477,1478,1480],{},[55,1479,617],{},[55,1481,1482],{},[15,1483,1066],{},[37,1485,1486,1488],{},[55,1487,627],{},[55,1489,1490],{},[15,1491,108],{},[37,1493,1494,1496],{},[55,1495,48],{},[55,1497,1498],{},[15,1499,162],{},[593,1501,246],{"id":1502},"mutationkey",[11,1504,1505,1506,1508,1509,1512,1513,1517,1518,1112,1521,24],{},"Builds each mutation's ",[15,1507,246],{},", for batched invalidations or ",[15,1510,1511],{},"useMutationState",". It works like ",[20,1514,1515],{"href":169},[15,1516,172],{}," with ",[15,1519,1520],{},"variant: 'mutation'",[15,1522,1523],{},"[{ url }]",[31,1525,1526,1534],{},[34,1527,1528],{},[37,1529,1530,1532],{},[40,1531],{},[40,1533],{},[50,1535,1536,1544,1552],{},[37,1537,1538,1540],{},[55,1539,617],{},[55,1541,1542],{},[15,1543,1136],{},[37,1545,1546,1548],{},[55,1547,627],{},[55,1549,1550],{},[15,1551,108],{},[37,1553,1554,1556],{},[55,1555,48],{},[55,1557,1558],{},[15,1559,256],{},[747,1561,1563],{"language":749,"code":1562,"class":751},"import { mutationKeyTransformer } from '@kubb\u002Fplugin-react-query'\n\nmutationKey: (props) => [JSON.stringify('v2'), ...mutationKeyTransformer(props)]",[15,1564,1565,781,1580,781,1582],{"class":754},[756,1566,1567,1569,1571,1574,1576,1578],{"class":758,"style":759},[756,1568,1177],{"style":772},[756,1570,797],{"style":766},[756,1572,1573],{"style":805},"mutationKeyTransformer ",[756,1575,809],{"style":766},[756,1577,1187],{"style":772},[756,1579,1190],{"style":776},[756,1581],{"class":758,"style":759},[756,1583,1584,1586,1588,1590,1592,1594,1596,1598,1600,1602,1604,1606,1608,1610,1612,1614,1616,1618,1620],{"class":758,"style":759},[756,1585,246],{"style":805},[756,1587,773],{"style":772},[756,1589,866],{"style":766},[756,1591,1203],{"style":805},[756,1593,1206],{"style":766},[756,1595,1209],{"style":772},[756,1597,1212],{"style":766},[756,1599,1215],{"style":766},[756,1601,24],{"style":772},[756,1603,1220],{"style":762},[756,1605,866],{"style":766},[756,1607,1225],{"style":776},[756,1609,872],{"style":766},[756,1611,892],{"style":772},[756,1613,1232],{"style":772},[756,1615,256],{"style":762},[756,1617,866],{"style":766},[756,1619,1203],{"style":805},[756,1621,1241],{"style":766},[593,1623,266],{"id":266},[11,1625,1626,1627,677,1630,1633,1634,1638,1639,24],{},"Adds ",[15,1628,1629],{},"infiniteQueryOptions",[15,1631,1632],{},"useInfiniteQuery"," to each query operation that takes the ",[20,1635,1636],{"href":280},[15,1637,283],{}," parameter. Needs ",[20,1640,1641],{"href":93},[15,1642,1643],{},"hooks: true",[31,1645,1646,1654],{},[34,1647,1648],{},[37,1649,1650,1652],{},[40,1651],{},[40,1653],{},[50,1655,1656,1665,1673],{},[37,1657,1658,1660],{},[55,1659,617],{},[55,1661,1662],{},[15,1663,1664],{},"Partial\u003CInfinite> | false",[37,1666,1667,1669],{},[55,1668,627],{},[55,1670,1671],{},[15,1672,108],{},[37,1674,1675,1677],{},[55,1676,48],{},[55,1678,1679],{},[15,1680,108],{},[1154,1682,877,1683,741,1686,1689,1690,1693,1694,24],{"as":1156},[15,1684,1685],{},"nextParam",[15,1687,1688],{},"getNextPageParam",". Otherwise ",[15,1691,1692],{},"hasNextPage"," never turns false for a non-array response. See ",[20,1695,1697],{"href":1696},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-react-query\u002Fguides\u002Finfinite-queries#hasnextpage-never-turns-false","Infinite queries",[985,1699,283],{"id":1700},"infinitequeryparam",[11,1702,1703],{},"Query parameter that carries the page cursor.",[31,1705,1706,1714],{},[34,1707,1708],{},[37,1709,1710,1712],{},[40,1711],{},[40,1713],{},[50,1715,1716,1724,1732],{},[37,1717,1718,1720],{},[55,1719,617],{},[55,1721,1722],{},[15,1723,1066],{},[37,1725,1726,1728],{},[55,1727,627],{},[55,1729,1730],{},[15,1731,108],{},[37,1733,1734,1736],{},[55,1735,48],{},[55,1737,1738],{},[15,1739,291],{},[985,1741,301],{"id":1742},"infiniteinitialpageparam",[11,1744,1745,1747],{},[15,1746,307],{}," of the first fetch. Give it the type of the query parameter.",[31,1749,1750,1758],{},[34,1751,1752],{},[37,1753,1754,1756],{},[40,1755],{},[40,1757],{},[50,1759,1760,1769,1777],{},[37,1761,1762,1764],{},[55,1763,617],{},[55,1765,1766],{},[15,1767,1768],{},"unknown",[37,1770,1771,1773],{},[55,1772,627],{},[55,1774,1775],{},[15,1776,108],{},[37,1778,1779,1781],{},[55,1780,48],{},[55,1782,1783],{},[15,1784,312],{},[985,1786,322],{"id":1787},"infinitenextparam",[11,1789,1790,1791,1794,1795,1798],{},"Path to the next cursor on the response, in dot notation (",[15,1792,1793],{},"'pagination.next.id'",") or array form (",[15,1796,1797],{},"['pagination', 'next', 'id']",").",[31,1800,1801,1809],{},[34,1802,1803],{},[37,1804,1805,1807],{},[40,1806],{},[40,1808],{},[50,1810,1811,1820,1828],{},[37,1812,1813,1815],{},[55,1814,617],{},[55,1816,1817],{},[15,1818,1819],{},"string | Array\u003Cstring> | null",[37,1821,1822,1824],{},[55,1823,627],{},[55,1825,1826],{},[15,1827,108],{},[37,1829,1830,1832],{},[55,1831,48],{},[55,1833,1834],{},[15,1835,330],{},[985,1837,340],{"id":1838},"infinitepreviousparam",[11,1840,1841,1842,24],{},"Path to the previous cursor, in the same forms as ",[15,1843,1685],{},[31,1845,1846,1854],{},[34,1847,1848],{},[37,1849,1850,1852],{},[40,1851],{},[40,1853],{},[50,1855,1856,1864,1872],{},[37,1857,1858,1860],{},[55,1859,617],{},[55,1861,1862],{},[15,1863,1819],{},[37,1865,1866,1868],{},[55,1867,627],{},[55,1869,1870],{},[15,1871,108],{},[37,1873,1874,1876],{},[55,1875,48],{},[55,1877,1878],{},[15,1879,330],{},[985,1881,357],{"id":1882},"infinitegetnextpageparam",[11,1884,1885,1886,1888,1889,1892],{},"Source of TanStack Query's ",[15,1887,1688],{},", for a next page you must compute. Pass a string, a function, or ",[15,1890,1891],{},"definePageParam",", which types the page and the page parameter.",[31,1894,1895,1903],{},[34,1896,1897],{},[37,1898,1899,1901],{},[40,1900],{},[40,1902],{},[50,1904,1905,1914,1922],{},[37,1906,1907,1909],{},[55,1908,617],{},[55,1910,1911],{},[15,1912,1913],{},"string | PageParamFn | null",[37,1915,1916,1918],{},[55,1917,627],{},[55,1919,1920],{},[15,1921,108],{},[37,1923,1924,1926],{},[55,1925,48],{},[55,1927,1928],{},[15,1929,330],{},[1154,1931,1933],{"as":1932},"note","Only the function's source is copied, so it cannot use variables from the config file.",[747,1935,1938],{"language":749,"filename":1936,"code":1937,"class":751},"kubb.config.ts","import { definePageParam, pluginReactQuery } from '@kubb\u002Fplugin-react-query'\n\ntype PetsPage = { hasNext: boolean; number: number }\n\npluginReactQuery({\n hooks: true,\n infinite: {\n queryParam: 'page',\n getNextPageParam: definePageParam\u003CPetsPage, number>((lastPage) => (lastPage.hasNext ? lastPage.number + 1 : undefined)),\n },\n})",[15,1939,1940,781,1959,781,1961,781,1994,781,1996,781,2003,781,2015,781,2026,781,2041,781,2105,781,2113],{"class":754},[756,1941,1942,1944,1946,1948,1950,1953,1955,1957],{"class":758,"style":759},[756,1943,1177],{"style":772},[756,1945,797],{"style":766},[756,1947,1891],{"style":805},[756,1949,892],{"style":772},[756,1951,1952],{"style":805},"pluginReactQuery ",[756,1954,809],{"style":766},[756,1956,1187],{"style":772},[756,1958,1190],{"style":776},[756,1960],{"class":758,"style":759},[756,1962,1963,1966,1969,1971,1973,1976,1978,1980,1983,1986,1988,1991],{"class":758,"style":759},[756,1964,1965],{"style":772},"type ",[756,1967,1968],{"style":762},"PetsPage ",[756,1970,812],{"style":772},[756,1972,797],{"style":766},[756,1974,1975],{"style":766},"hasNext",[756,1977,773],{"style":805},[756,1979,922],{"style":762},[756,1981,1982],{"style":772},"; ",[756,1984,1985],{"style":766},"number",[756,1987,773],{"style":805},[756,1989,1990],{"style":762},"number ",[756,1992,1993],{"style":766},"}",[756,1995],{"class":758,"style":759},[756,1997,1998,2000],{"class":758,"style":759},[756,1999,763],{"style":762},[756,2001,2002],{"style":766},"({",[756,2004,2005,2007,2009,2011,2013],{"class":758,"style":759},[756,2006,1276],{"style":766},[756,2008,96],{"style":766},[756,2010,773],{"style":772},[756,2012,880],{"style":766},[756,2014,1289],{"style":772},[756,2016,2017,2019,2021,2023],{"class":758,"style":759},[756,2018,1276],{"style":772},[756,2020,266],{"style":766},[756,2022,773],{"style":772},[756,2024,2025],{"style":766},"{",[756,2027,2028,2031,2034,2036,2039],{"class":758,"style":759},[756,2029,2030],{"style":766}," ",[756,2032,2033],{"style":766},"queryParam",[756,2035,773],{"style":772},[756,2037,2038],{"style":776},"'page'",[756,2040,1289],{"style":772},[756,2042,2043,2045,2047,2049,2051,2054,2057,2059,2061,2064,2066,2069,2071,2073,2075,2077,2079,2082,2084,2086,2088,2090,2093,2095,2097,2100,2103],{"class":758,"style":759},[756,2044,2030],{"style":772},[756,2046,1688],{"style":766},[756,2048,773],{"style":772},[756,2050,1891],{"style":805},[756,2052,2053],{"style":772},"\u003C",[756,2055,2056],{"style":762},"PetsPage",[756,2058,892],{"style":772},[756,2060,1985],{"style":805},[756,2062,2063],{"style":772},">",[756,2065,1316],{"style":766},[756,2067,2068],{"style":805},"lastPage",[756,2070,1206],{"style":766},[756,2072,1209],{"style":772},[756,2074,866],{"style":766},[756,2076,2068],{"style":805},[756,2078,24],{"style":772},[756,2080,2081],{"style":766},"hasNext ",[756,2083,1341],{"style":772},[756,2085,2068],{"style":805},[756,2087,24],{"style":772},[756,2089,1990],{"style":766},[756,2091,2092],{"style":772},"+ ",[756,2094,832],{"style":766},[756,2096,773],{"style":772},[756,2098,2099],{"style":766},"undefined",[756,2101,2102],{"style":766},"))",[756,2104,1289],{"style":772},[756,2106,2107,2109,2111],{"class":758,"style":759},[756,2108,1276],{"style":772},[756,2110,1993],{"style":766},[756,2112,1289],{"style":772},[756,2114,2115],{"class":758,"style":759},[756,2116,780],{"style":766},[985,2118,374],{"id":2119},"infinitegetpreviouspageparam",[11,2121,1885,2122,2125,2126,24],{},[15,2123,2124],{},"getPreviousPageParam",", in the same forms as ",[15,2127,1688],{},[31,2129,2130,2138],{},[34,2131,2132],{},[37,2133,2134,2136],{},[40,2135],{},[40,2137],{},[50,2139,2140,2148,2156],{},[37,2141,2142,2144],{},[55,2143,617],{},[55,2145,2146],{},[15,2147,1913],{},[37,2149,2150,2152],{},[55,2151,627],{},[55,2153,2154],{},[15,2155,108],{},[37,2157,2158,2160],{},[55,2159,48],{},[55,2161,2162],{},[15,2163,330],{},[985,2165,391],{"id":2166},"infinitecursorparam",[11,2168,2169,2170,677,2172,2175],{},"Deprecated. Use ",[15,2171,1685],{},[15,2173,2174],{},"previousParam",". A top-level response field, not a dot path, that holds the cursor for both directions.",[31,2177,2178,2186],{},[34,2179,2180],{},[37,2181,2182,2184],{},[40,2183],{},[40,2185],{},[50,2187,2188,2197,2205],{},[37,2189,2190,2192],{},[55,2191,617],{},[55,2193,2194],{},[15,2195,2196],{},"string | null",[37,2198,2199,2201],{},[55,2200,627],{},[55,2202,2203],{},[15,2204,108],{},[37,2206,2207,2209],{},[55,2208,48],{},[55,2210,2211],{},[15,2212,330],{},[593,2214,408],{"id":408},[11,2216,2217,2218,2221,2222,2224,2225,2228,2229,2233,2234,24],{},"Pass ",[15,2219,2220],{},"{}"," to add ",[15,2223,414],{}," hooks, plus ",[15,2226,2227],{},"useSuspenseInfiniteQuery"," when ",[20,2230,2231],{"href":263},[15,2232,266],{}," is set. Needs ",[20,2235,2236],{"href":93},[15,2237,1643],{},[31,2239,2240,2248],{},[34,2241,2242],{},[37,2243,2244,2246],{},[40,2245],{},[40,2247],{},[50,2249,2250,2259,2267],{},[37,2251,2252,2254],{},[55,2253,617],{},[55,2255,2256],{},[15,2257,2258],{},"object | false",[37,2260,2261,2263],{},[55,2262,627],{},[55,2264,2265],{},[15,2266,108],{},[37,2268,2269,2271],{},[55,2270,48],{},[55,2272,2273],{},[15,2274,108],{},[593,2276,429],{"id":2277},"customoptions",[11,2279,2280,2281,2284,2285,2288,2289,24],{},"Calls one function of yours from every hook to share options such as ",[15,2282,2283],{},"staleTime",". Kubb also writes a ",[15,2286,2287],{},"HookOptions"," type, keyed by hook name. Needs ",[20,2290,2291],{"href":93},[15,2292,1643],{},[31,2294,2295,2303],{},[34,2296,2297],{},[37,2298,2299,2301],{},[40,2300],{},[40,2302],{},[50,2304,2305,2314],{},[37,2306,2307,2309],{},[55,2308,617],{},[55,2310,2311],{},[15,2312,2313],{},"{ importPath: string; name?: string }",[37,2315,2316,2318],{},[55,2317,627],{},[55,2319,2320],{},[15,2321,108],{},[11,2323,2324,2325,2328],{},"Each hook calls it with ",[15,2326,2327],{},"{ hookName, operationId }",", and per-call options win over its result:",[747,2330,2333],{"language":749,"filename":2331,"code":2332,"class":751},"src\u002Fgen\u002Fhooks\u002FuseCustomHookOptions.ts","import type { HookOptions } from '.\u002FHookOptions'\n\nexport function useCustomHookOptions({ hookName }: { hookName: keyof HookOptions; operationId: string }) {\n if (hookName === 'useGetPetById') {\n return { staleTime: 60_000 } satisfies HookOptions['useGetPetById']\n }\n return {}\n}",[15,2334,2335,781,2353,781,2355,781,2400,781,2419,781,2448,781,2453,781,2461],{"class":754},[756,2336,2337,2339,2341,2343,2346,2348,2350],{"class":758,"style":759},[756,2338,1177],{"style":772},[756,2340,1965],{"style":805},[756,2342,797],{"style":766},[756,2344,2345],{"style":762},"HookOptions ",[756,2347,809],{"style":766},[756,2349,1187],{"style":772},[756,2351,2352],{"style":776},"'.\u002FHookOptions'",[756,2354],{"class":758,"style":759},[756,2356,2357,2360,2363,2366,2368,2371,2373,2375,2377,2380,2382,2385,2387,2389,2392,2394,2397],{"class":758,"style":759},[756,2358,2359],{"style":772},"export ",[756,2361,2362],{"style":772},"function ",[756,2364,2365],{"style":762},"useCustomHookOptions",[756,2367,767],{"style":766},[756,2369,2370],{"style":805},"hookName ",[756,2372,1993],{"style":766},[756,2374,773],{"style":772},[756,2376,797],{"style":766},[756,2378,2379],{"style":766},"hookName",[756,2381,773],{"style":772},[756,2383,2384],{"style":772},"keyof ",[756,2386,2287],{"style":762},[756,2388,1982],{"style":772},[756,2390,2391],{"style":766},"operationId",[756,2393,773],{"style":805},[756,2395,2396],{"style":762},"string ",[756,2398,2399],{"style":766},"}) {",[756,2401,2402,2404,2407,2409,2411,2413,2416],{"class":758,"style":759},[756,2403,1276],{"style":766},[756,2405,2406],{"style":772},"if ",[756,2408,866],{"style":766},[756,2410,2370],{"style":805},[756,2412,1333],{"style":772},[756,2414,2415],{"style":776},"'useGetPetById'",[756,2417,2418],{"style":766},") {",[756,2420,2421,2423,2426,2428,2430,2432,2435,2437,2440,2442,2444,2446],{"class":758,"style":759},[756,2422,2030],{"style":766},[756,2424,2425],{"style":772},"return ",[756,2427,797],{"style":766},[756,2429,2283],{"style":766},[756,2431,773],{"style":772},[756,2433,2434],{"style":766},"60_000 ",[756,2436,809],{"style":766},[756,2438,2439],{"style":772},"satisfies ",[756,2441,2287],{"style":762},[756,2443,1212],{"style":766},[756,2445,2415],{"style":776},[756,2447,1361],{"style":766},[756,2449,2450],{"class":758,"style":759},[756,2451,2452],{"style":766}," }",[756,2454,2455,2457,2459],{"class":758,"style":759},[756,2456,1276],{"style":766},[756,2458,2425],{"style":772},[756,2460,2220],{"style":766},[756,2462,2463],{"class":758,"style":759},[756,2464,1993],{"style":766},[985,2466,445],{"id":2467},"customoptionsimportpath",[11,2469,2470],{},"Module of the function, resolved from the generated hooks folder. If the path is inside the plugin's output folder and the file is missing, Kubb writes a starter file.",[31,2472,2473,2481],{},[34,2474,2475],{},[37,2476,2477,2479],{},[40,2478],{},[40,2480],{},[50,2482,2483,2491],{},[37,2484,2485,2487],{},[55,2486,617],{},[55,2488,2489],{},[15,2490,1066],{},[37,2492,2493,2495],{},[55,2494,627],{},[55,2496,2497,2228,2499,2501],{},[15,2498,880],{},[15,2500,429],{}," is set",[985,2503,461],{"id":2504},"customoptionsname",[11,2506,2507],{},"Exported name of the function.",[31,2509,2510,2518],{},[34,2511,2512],{},[37,2513,2514,2516],{},[40,2515],{},[40,2517],{},[50,2519,2520,2528,2536],{},[37,2521,2522,2524],{},[55,2523,617],{},[55,2525,2526],{},[15,2527,1066],{},[37,2529,2530,2532],{},[55,2531,627],{},[55,2533,2534],{},[15,2535,108],{},[37,2537,2538,2540],{},[55,2539,48],{},[55,2541,2542],{},[15,2543,469],{},[593,2545,562],{"id":562},[11,2547,2548,2549,2551,2552,2557,2558,2560],{},"Overrides generated names. Members you leave out keep ",[15,2550,570],{},". See ",[20,2553,2555],{"href":2554},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#resolver",[15,2556,562],{}," for the shared members. Pass an array to merge several patches over ",[15,2559,570],{},", left to right.",[31,2562,2563,2571],{},[34,2564,2565],{},[37,2566,2567,2569],{},[40,2568],{},[40,2570],{},[50,2572,2573,2582],{},[37,2574,2575,2577],{},[55,2576,617],{},[55,2578,2579],{},[15,2580,2581],{},"ResolverInput\u003CResolverReactQuery>",[37,2583,2584,2586],{},[55,2585,627],{},[55,2587,2588],{},[15,2589,108],{},[2591,2592,2594],"code-collapse",{"name":2593},"ResolverReactQuery patch members",[747,2595,2598],{"language":749,"filename":2596,"code":2597,"class":751},"Partial override","type ResolverReactQueryPatch = {\n \u002F\u002F plus the shared name, file, and imports members\n query?: {\n name?(node: OperationNode): string \u002F\u002F 'useGetPetById'\n optionsName?(node: OperationNode): string \u002F\u002F 'getPetByIdQueryOptions'\n keyName?(node: OperationNode): string \u002F\u002F 'getPetByIdQueryKey'\n keyTypeName?(node: OperationNode): string \u002F\u002F 'GetPetByIdQueryKey'\n }\n \u002F\u002F same members, with a Suspense, Infinite, or SuspenseInfinite suffix\n suspenseQuery?: ResolverReactQueryPatch['query']\n infiniteQuery?: ResolverReactQueryPatch['query']\n suspenseInfiniteQuery?: ResolverReactQueryPatch['query']\n mutation?: {\n name?(node: OperationNode): string \u002F\u002F 'useUpdatePet'\n optionsName?(node: OperationNode): string \u002F\u002F 'updatePetMutationOptions'\n keyName?(node: OperationNode): string \u002F\u002F 'updatePetMutationKey'\n }\n hook?: {\n optionsName?(): string \u002F\u002F 'HookOptions'\n customOptionsName?(): string \u002F\u002F 'getCustomHookOptions'\n }\n}",[15,2599,2600,781,2611,781,2618,781,2631,781,2658,781,2684,781,2710,781,2736,781,2742,781,2749,781,2768,781,2785,781,2802,781,2814,781,2839,781,2864,781,2889,781,2895,781,2908,781,2926,781,2944,781,2950],{"class":754},[756,2601,2602,2604,2607,2609],{"class":758,"style":759},[756,2603,1965],{"style":772},[756,2605,2606],{"style":762},"ResolverReactQueryPatch ",[756,2608,812],{"style":772},[756,2610,2025],{"style":766},[756,2612,2613,2615],{"class":758,"style":759},[756,2614,1276],{"style":766},[756,2616,2617],{"style":788},"\u002F\u002F plus the shared name, file, and imports members",[756,2619,2620,2622,2624,2627,2629],{"class":758,"style":759},[756,2621,1276],{"style":788},[756,2623,118],{"style":766},[756,2625,2626],{"style":805},"?",[756,2628,773],{"style":772},[756,2630,2025],{"style":766},[756,2632,2633,2635,2638,2640,2642,2644,2646,2649,2651,2653,2655],{"class":758,"style":759},[756,2634,2030],{"style":766},[756,2636,2637],{"style":805},"name",[756,2639,2626],{"style":772},[756,2641,866],{"style":766},[756,2643,1094],{"style":805},[756,2645,773],{"style":805},[756,2647,2648],{"style":762},"OperationNode",[756,2650,872],{"style":766},[756,2652,773],{"style":805},[756,2654,2396],{"style":762},[756,2656,2657],{"style":788},"\u002F\u002F 'useGetPetById'",[756,2659,2660,2662,2665,2667,2669,2671,2673,2675,2677,2679,2681],{"class":758,"style":759},[756,2661,2030],{"style":788},[756,2663,2664],{"style":805},"optionsName",[756,2666,2626],{"style":772},[756,2668,866],{"style":766},[756,2670,1094],{"style":805},[756,2672,773],{"style":805},[756,2674,2648],{"style":762},[756,2676,872],{"style":766},[756,2678,773],{"style":805},[756,2680,2396],{"style":762},[756,2682,2683],{"style":788},"\u002F\u002F 'getPetByIdQueryOptions'",[756,2685,2686,2688,2691,2693,2695,2697,2699,2701,2703,2705,2707],{"class":758,"style":759},[756,2687,2030],{"style":788},[756,2689,2690],{"style":805},"keyName",[756,2692,2626],{"style":772},[756,2694,866],{"style":766},[756,2696,1094],{"style":805},[756,2698,773],{"style":805},[756,2700,2648],{"style":762},[756,2702,872],{"style":766},[756,2704,773],{"style":805},[756,2706,2396],{"style":762},[756,2708,2709],{"style":788},"\u002F\u002F 'getPetByIdQueryKey'",[756,2711,2712,2714,2717,2719,2721,2723,2725,2727,2729,2731,2733],{"class":758,"style":759},[756,2713,2030],{"style":788},[756,2715,2716],{"style":805},"keyTypeName",[756,2718,2626],{"style":772},[756,2720,866],{"style":766},[756,2722,1094],{"style":805},[756,2724,773],{"style":805},[756,2726,2648],{"style":762},[756,2728,872],{"style":766},[756,2730,773],{"style":805},[756,2732,2396],{"style":762},[756,2734,2735],{"style":788},"\u002F\u002F 'GetPetByIdQueryKey'",[756,2737,2738,2740],{"class":758,"style":759},[756,2739,1276],{"style":788},[756,2741,1993],{"style":766},[756,2743,2744,2746],{"class":758,"style":759},[756,2745,1276],{"style":766},[756,2747,2748],{"style":788},"\u002F\u002F same members, with a Suspense, Infinite, or SuspenseInfinite suffix",[756,2750,2751,2753,2756,2759,2762,2764,2766],{"class":758,"style":759},[756,2752,1276],{"style":788},[756,2754,2755],{"style":805},"suspenseQuery",[756,2757,2758],{"style":805},"?: ",[756,2760,2761],{"style":762},"ResolverReactQueryPatch",[756,2763,1212],{"style":766},[756,2765,1101],{"style":776},[756,2767,1361],{"style":766},[756,2769,2770,2772,2775,2777,2779,2781,2783],{"class":758,"style":759},[756,2771,1276],{"style":766},[756,2773,2774],{"style":805},"infiniteQuery",[756,2776,2758],{"style":805},[756,2778,2761],{"style":762},[756,2780,1212],{"style":766},[756,2782,1101],{"style":776},[756,2784,1361],{"style":766},[756,2786,2787,2789,2792,2794,2796,2798,2800],{"class":758,"style":759},[756,2788,1276],{"style":766},[756,2790,2791],{"style":805},"suspenseInfiniteQuery",[756,2793,2758],{"style":805},[756,2795,2761],{"style":762},[756,2797,1212],{"style":766},[756,2799,1101],{"style":776},[756,2801,1361],{"style":766},[756,2803,2804,2806,2808,2810,2812],{"class":758,"style":759},[756,2805,1276],{"style":766},[756,2807,193],{"style":805},[756,2809,2626],{"style":805},[756,2811,773],{"style":772},[756,2813,2025],{"style":766},[756,2815,2816,2818,2820,2822,2824,2826,2828,2830,2832,2834,2836],{"class":758,"style":759},[756,2817,2030],{"style":766},[756,2819,2637],{"style":805},[756,2821,2626],{"style":772},[756,2823,866],{"style":766},[756,2825,1094],{"style":805},[756,2827,773],{"style":805},[756,2829,2648],{"style":762},[756,2831,872],{"style":766},[756,2833,773],{"style":805},[756,2835,2396],{"style":762},[756,2837,2838],{"style":788},"\u002F\u002F 'useUpdatePet'",[756,2840,2841,2843,2845,2847,2849,2851,2853,2855,2857,2859,2861],{"class":758,"style":759},[756,2842,2030],{"style":788},[756,2844,2664],{"style":805},[756,2846,2626],{"style":772},[756,2848,866],{"style":766},[756,2850,1094],{"style":805},[756,2852,773],{"style":805},[756,2854,2648],{"style":762},[756,2856,872],{"style":766},[756,2858,773],{"style":805},[756,2860,2396],{"style":762},[756,2862,2863],{"style":788},"\u002F\u002F 'updatePetMutationOptions'",[756,2865,2866,2868,2870,2872,2874,2876,2878,2880,2882,2884,2886],{"class":758,"style":759},[756,2867,2030],{"style":788},[756,2869,2690],{"style":805},[756,2871,2626],{"style":772},[756,2873,866],{"style":766},[756,2875,1094],{"style":805},[756,2877,773],{"style":805},[756,2879,2648],{"style":762},[756,2881,872],{"style":766},[756,2883,773],{"style":805},[756,2885,2396],{"style":762},[756,2887,2888],{"style":788},"\u002F\u002F 'updatePetMutationKey'",[756,2890,2891,2893],{"class":758,"style":759},[756,2892,1276],{"style":788},[756,2894,1993],{"style":766},[756,2896,2897,2899,2902,2904,2906],{"class":758,"style":759},[756,2898,1276],{"style":766},[756,2900,2901],{"style":805},"hook",[756,2903,2626],{"style":805},[756,2905,773],{"style":772},[756,2907,2025],{"style":766},[756,2909,2910,2912,2914,2916,2919,2921,2923],{"class":758,"style":759},[756,2911,2030],{"style":766},[756,2913,2664],{"style":805},[756,2915,2626],{"style":772},[756,2917,2918],{"style":766},"()",[756,2920,773],{"style":805},[756,2922,2396],{"style":762},[756,2924,2925],{"style":788},"\u002F\u002F 'HookOptions'",[756,2927,2928,2930,2933,2935,2937,2939,2941],{"class":758,"style":759},[756,2929,2030],{"style":788},[756,2931,2932],{"style":805},"customOptionsName",[756,2934,2626],{"style":772},[756,2936,2918],{"style":766},[756,2938,773],{"style":805},[756,2940,2396],{"style":762},[756,2942,2943],{"style":788},"\u002F\u002F 'getCustomHookOptions'",[756,2945,2946,2948],{"class":758,"style":759},[756,2947,1276],{"style":788},[756,2949,1993],{"style":766},[756,2951,2952],{"class":758,"style":759},[756,2953,1993],{"style":766},{"title":2955,"searchDepth":2956,"depth":2956,"links":2957},"",5,[2958,2960],{"id":28,"depth":2959,"text":29},2,{"id":590,"depth":2959,"text":591,"children":2961},[2962,2964,2965,2966,2971,2972,2976,2977,2986,2987,2991],{"id":62,"depth":2963,"text":62},3,{"id":683,"depth":2963,"text":78},{"id":96,"depth":2963,"text":96},{"id":118,"depth":2963,"text":118,"children":2967},[2968,2970],{"id":987,"depth":2969,"text":136},4,{"id":1034,"depth":2969,"text":154},{"id":1085,"depth":2963,"text":172},{"id":193,"depth":2963,"text":193,"children":2973},[2974,2975],{"id":1412,"depth":2969,"text":211},{"id":1457,"depth":2969,"text":229},{"id":1502,"depth":2963,"text":246},{"id":266,"depth":2963,"text":266,"children":2978},[2979,2980,2981,2982,2983,2984,2985],{"id":1700,"depth":2969,"text":283},{"id":1742,"depth":2969,"text":301},{"id":1787,"depth":2969,"text":322},{"id":1838,"depth":2969,"text":340},{"id":1882,"depth":2969,"text":357},{"id":2119,"depth":2969,"text":374},{"id":2166,"depth":2969,"text":391},{"id":408,"depth":2963,"text":408},{"id":2277,"depth":2963,"text":429,"children":2988},[2989,2990],{"id":2467,"depth":2969,"text":445},{"id":2504,"depth":2969,"text":461},{"id":562,"depth":2963,"text":562},"\u002Fextensions\u002Fkubb-labs\u002Fplugin-react-query\u002Foptions",1795727682115,"1b64b1eb-29b7-4f90-ad41-6f24721e1669"]