[{"data":1,"prerenderedAt":2054},["ShallowReactive",2],{"page:\u002Fextensions\u002Fkubb-labs\u002Fplugin-vue-query\u002Foptions":3},{"id":4,"frontmatter":5,"title":6,"heading":6,"body":7,"path":2053,"source":4},"extensions\u002Fkubb-labs\u002Fplugin-vue-query\u002Foptions.md",{},"Options",{"type":8,"value":9,"toc":2021},"minimark",[10,25,30,332,336,339,345,376,417,419,437,474,591,595,598,636,640,647,685,689,700,738,742,745,781,785,802,839,843,858,894,908,912,921,957,959,977,1014,1018,1024,1062,1076,1080,1086,1123,1126,1159,1196,1311,1317,1397,1399,1414,1451,1454,1457,1494,1498,1509,1545,1548,1562,1598,1604,1674,1676,1703,1740,1742,1766,1795],[11,12,13,14,18,19,24],"p",{},"Pass these options to ",[15,16,17],"code",{},"pluginVueQuery()",". Shared options link to ",[20,21,23],"a",{"href":22},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options","Shared plugin options"," for details.",[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,88,110,126,148,166,188,206,226,247,262,280,297,315],"tbody",{},[37,53,54,63,83],{},[55,56,57],"td",{},[20,58,60],{"href":59},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#output",[15,61,62],{},"output",[55,64,65,66,69,70,69,73,69,76,69,79,82],{},"Where files are written: ",[15,67,68],{},"path",", ",[15,71,72],{},"mode",[15,74,75],{},"barrel",[15,77,78],{},"banner",[15,80,81],{},"footer",".",[55,84,85],{},[15,86,87],{},"{ path: 'hooks', barrel: { type: 'named' } }",[37,89,90,98,107],{},[55,91,92],{},[20,93,95],{"href":94},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#group",[15,96,97],{},"group",[55,99,100,101,69,104,82],{},"Split output by tag or path: ",[15,102,103],{},"type",[15,105,106],{},"name",[55,108,109],{},"None",[37,111,112,120,123],{},[55,113,114],{},[20,115,117],{"href":116},"#client",[15,118,119],{},"client",[55,121,122],{},"Which registered client plugin the composables call.",[55,124,125],{},"Auto-detected",[37,127,128,136,143],{},[55,129,130],{},[20,131,133],{"href":132},"#infinite",[15,134,135],{},"infinite",[55,137,138,139,142],{},"Add ",[15,140,141],{},"useInfiniteQuery"," composables for paginated reads.",[55,144,145],{},[15,146,147],{},"false",[37,149,150,158,161],{},[55,151,152],{},[20,153,155],{"href":154},"#query",[15,156,157],{},"query",[55,159,160],{},"Configure or disable query composables.",[55,162,163],{},[15,164,165],{},"{ methods: ['GET', 'QUERY'], importPath: '@tanstack\u002Fvue-query' }",[37,167,168,176,182],{},[55,169,170],{},[20,171,173],{"href":172},"#querykey",[15,174,175],{},"queryKey",[55,177,178,179,181],{},"Build the ",[15,180,175],{}," for each query composable.",[55,183,184,185],{},"Exported ",[15,186,187],{},"queryKeyTransformer",[37,189,190,198,201],{},[55,191,192],{},[20,193,195],{"href":194},"#mutation",[15,196,197],{},"mutation",[55,199,200],{},"Configure or disable mutation composables.",[55,202,203],{},[15,204,205],{},"{ methods: ['POST', 'PUT', 'PATCH', 'DELETE'], importPath: '@tanstack\u002Fvue-query' }",[37,207,208,216,221],{},[55,209,210],{},[20,211,213],{"href":212},"#mutationkey",[15,214,215],{},"mutationKey",[55,217,178,218,220],{},[15,219,215],{}," for each mutation composable.",[55,222,184,223],{},[15,224,225],{},"mutationKeyTransformer",[37,227,228,236,243],{},[55,229,230],{},[20,231,233],{"href":232},"#hooks",[15,234,235],{},"hooks",[55,237,238,239,242],{},"Emit ",[15,240,241],{},"use*"," composables on top of the factory helpers.",[55,244,245],{},[15,246,147],{},[37,248,249,257,260],{},[55,250,251],{},[20,252,254],{"href":253},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#include",[15,255,256],{},"include",[55,258,259],{},"Keep only operations that match.",[55,261,109],{},[37,263,264,272,275],{},[55,265,266],{},[20,267,269],{"href":268},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#exclude",[15,270,271],{},"exclude",[55,273,274],{},"Skip operations that match.",[55,276,277],{},[15,278,279],{},"[]",[37,281,282,290,293],{},[55,283,284],{},[20,285,287],{"href":286},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#override",[15,288,289],{},"override",[55,291,292],{},"Apply different options per pattern.",[55,294,295],{},[15,296,279],{},[37,298,299,307,310],{},[55,300,301],{},[20,302,304],{"href":303},"#resolver",[15,305,306],{},"resolver",[55,308,309],{},"Customize generated names and file paths.",[55,311,312],{},[15,313,314],{},"resolverVueQuery",[37,316,317,325,328],{},[55,318,319],{},[20,320,322],{"href":321},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#macros",[15,323,324],{},"macros",[55,326,327],{},"Rewrite AST nodes before printing.",[55,329,330],{},[15,331,279],{},[26,333,335],{"id":334},"option-details","Option details",[337,338,119],"h3",{"id":119},[11,340,341,342,344],{},"Selects which registered client plugin the composables call. A single registered client is auto-detected. Set ",[15,343,119],{}," when several are registered.",[31,346,347,355],{},[34,348,349],{},[37,350,351,353],{},[40,352],{},[40,354],{},[50,356,357,367],{},[37,358,359,362],{},[55,360,361],{},"Type",[55,363,364],{},[15,365,366],{},"'fetch' | 'axios' | 'client'",[37,368,369,372],{},[55,370,371],{},"Required",[55,373,374],{},[15,375,147],{},[377,378,379,390,399],"field-group",{},[380,381,383,384,82],"field",{"name":382},"'fetch'","Calls the operations generated by ",[20,385,387],{"href":386},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-fetch",[15,388,389],{},"@kubb\u002Fplugin-fetch",[380,391,383,393,82],{"name":392},"'axios'",[20,394,396],{"href":395},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-axios",[15,397,398],{},"@kubb\u002Fplugin-axios",[380,400,383,402,408,409,412,413,416],{"name":401},"'client'",[20,403,405],{"href":404},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-client",[15,406,407],{},"@kubb\u002Fplugin-client",". Your client module must also export the ",[15,410,411],{},"RequestConfig"," and ",[15,414,415],{},"ResponseErrorConfig"," types.",[337,418,135],{"id":135},[11,420,421,422,412,425,427,428,431,432,82],{},"Adds ",[15,423,424],{},"infiniteQueryOptions",[15,426,141],{}," for operations that declare the query parameter named in ",[15,429,430],{},"infinite.queryParam",". Needs ",[20,433,434],{"href":232},[15,435,436],{},"hooks: true",[31,438,439,447],{},[34,440,441],{},[37,442,443,445],{},[40,444],{},[40,446],{},[50,448,449,458,466],{},[37,450,451,453],{},[55,452,361],{},[55,454,455],{},[15,456,457],{},"Partial\u003CInfinite> | false",[37,459,460,462],{},[55,461,371],{},[55,463,464],{},[15,465,147],{},[37,467,468,470],{},[55,469,48],{},[55,471,472],{},[15,473,147],{},[475,476,481],"pre",{"language":477,"filename":478,"code":479,"class":480},"typescript","infinite: {}, hooks: true","export function getPetsInfiniteQueryOptions(\u002F* ... *\u002F) {\n  return infiniteQueryOptions({ queryKey, queryFn, initialPageParam, getNextPageParam })\n}\n\nexport function useGetPetsInfiniteQuery(\u002F* ... *\u002F) {\n  return useInfiniteQuery(getPetsInfiniteQueryOptions(\u002F* ... *\u002F))\n}","highlights",[15,482,484,511,512,511,546,511,551,511,553,511,568,511,587],{"class":483},"language-typescript",[485,486,489,493,496,500,504,508],"span",{"class":487,"style":488},"line","display: inline",[485,490,492],{"style":491},"color:#d73a49;--hls-dark:#f97583","export ",[485,494,495],{"style":491},"function ",[485,497,499],{"style":498},"color:#6f42c1;--hls-dark:#b392f0","getPetsInfiniteQueryOptions",[485,501,503],{"style":502},"color:#005cc5;--hls-dark:#79b8ff","(",[485,505,507],{"style":506},"color:#6a737d;--hls-dark:#6a737d","\u002F* ... *\u002F",[485,509,510],{"style":502},") {","\n",[485,513,514,517,520,522,525,528,530,533,535,538,540,543],{"class":487,"style":488},[485,515,516],{"style":502},"  ",[485,518,519],{"style":491},"return ",[485,521,424],{"style":498},[485,523,524],{"style":502},"({ ",[485,526,175],{"style":527},"color:#24292e;--hls-dark:#e1e4e8",[485,529,69],{"style":491},[485,531,532],{"style":527},"queryFn",[485,534,69],{"style":491},[485,536,537],{"style":527},"initialPageParam",[485,539,69],{"style":491},[485,541,542],{"style":527},"getNextPageParam ",[485,544,545],{"style":502},"})",[485,547,548],{"class":487,"style":488},[485,549,550],{"style":502},"}",[485,552],{"class":487,"style":488},[485,554,555,557,559,562,564,566],{"class":487,"style":488},[485,556,492],{"style":491},[485,558,495],{"style":491},[485,560,561],{"style":498},"useGetPetsInfiniteQuery",[485,563,503],{"style":502},[485,565,507],{"style":506},[485,567,510],{"style":502},[485,569,570,572,574,576,578,580,582,584],{"class":487,"style":488},[485,571,516],{"style":502},[485,573,519],{"style":491},[485,575,141],{"style":498},[485,577,503],{"style":502},[485,579,499],{"style":498},[485,581,503],{"style":502},[485,583,507],{"style":506},[485,585,586],{"style":502},"))",[485,588,589],{"class":487,"style":488},[485,590,550],{"style":502},[592,593,430],"h4",{"id":594},"infinitequeryparam",[11,596,597],{},"Name of the query parameter that holds the page cursor.",[31,599,600,608],{},[34,601,602],{},[37,603,604,606],{},[40,605],{},[40,607],{},[50,609,610,619,627],{},[37,611,612,614],{},[55,613,361],{},[55,615,616],{},[15,617,618],{},"string",[37,620,621,623],{},[55,622,371],{},[55,624,625],{},[15,626,147],{},[37,628,629,631],{},[55,630,48],{},[55,632,633],{},[15,634,635],{},"'id'",[592,637,639],{"id":638},"infiniteinitialpageparam","infinite.initialPageParam",[11,641,642,643,646],{},"Initial value for ",[15,644,645],{},"pageParam"," on the first fetch.",[31,648,649,657],{},[34,650,651],{},[37,652,653,655],{},[40,654],{},[40,656],{},[50,658,659,668,676],{},[37,660,661,663],{},[55,662,361],{},[55,664,665],{},[15,666,667],{},"unknown",[37,669,670,672],{},[55,671,371],{},[55,673,674],{},[15,675,147],{},[37,677,678,680],{},[55,679,48],{},[55,681,682],{},[15,683,684],{},"0",[592,686,688],{"id":687},"infinitenextparam","infinite.nextParam",[11,690,691,692,695,696,699],{},"Path to the next-page cursor on the response, as dot notation (",[15,693,694],{},"'pagination.next.id'",") or array form (",[15,697,698],{},"['pagination', 'next', 'id']",").",[31,701,702,710],{},[34,703,704],{},[37,705,706,708],{},[40,707],{},[40,709],{},[50,711,712,721,729],{},[37,713,714,716],{},[55,715,361],{},[55,717,718],{},[15,719,720],{},"string | Array\u003Cstring> | null",[37,722,723,725],{},[55,724,371],{},[55,726,727],{},[15,728,147],{},[37,730,731,733],{},[55,732,48],{},[55,734,735],{},[15,736,737],{},"null",[592,739,741],{"id":740},"infinitepreviousparam","infinite.previousParam",[11,743,744],{},"Path to the previous-page cursor on the response, in the same dot or array form.",[31,746,747,755],{},[34,748,749],{},[37,750,751,753],{},[40,752],{},[40,754],{},[50,756,757,765,773],{},[37,758,759,761],{},[55,760,361],{},[55,762,763],{},[15,764,720],{},[37,766,767,769],{},[55,768,371],{},[55,770,771],{},[15,772,147],{},[37,774,775,777],{},[55,776,48],{},[55,778,779],{},[15,780,737],{},[592,782,784],{"id":783},"infinitecursorparam","infinite.cursorParam",[11,786,787,788,412,791,794,795,412,798,801],{},"Deprecated path to the cursor field, read for both ",[15,789,790],{},"getNextPageParam",[15,792,793],{},"getPreviousPageParam"," when set. Use ",[15,796,797],{},"nextParam",[15,799,800],{},"previousParam"," instead.",[31,803,804,812],{},[34,805,806],{},[37,807,808,810],{},[40,809],{},[40,811],{},[50,813,814,823,831],{},[37,815,816,818],{},[55,817,361],{},[55,819,820],{},[15,821,822],{},"string | null",[37,824,825,827],{},[55,826,371],{},[55,828,829],{},[15,830,147],{},[37,832,833,835],{},[55,834,48],{},[55,836,837],{},[15,838,737],{},[592,840,842],{"id":841},"infinitegetnextpageparam","infinite.getNextPageParam",[11,844,845,846,848,849,852,853,412,855,82],{},"Source code for TanStack Query's ",[15,847,790],{},", copied into the generated code as written, such as ",[15,850,851],{},"'(lastPage) => (lastPage.hasNext ? lastPage.number + 1 : undefined)'",". Use it when the next page must be computed instead of read from a field. Takes precedence over ",[15,854,797],{},[15,856,857],{},"cursorParam",[31,859,860,868],{},[34,861,862],{},[37,863,864,866],{},[40,865],{},[40,867],{},[50,869,870,878,886],{},[37,871,872,874],{},[55,873,361],{},[55,875,876],{},[15,877,822],{},[37,879,880,882],{},[55,881,371],{},[55,883,884],{},[15,885,147],{},[37,887,888,890],{},[55,889,48],{},[55,891,892],{},[15,893,737],{},[11,895,896,897,69,899,901,902,904,905,907],{},"Without ",[15,898,790],{},[15,900,797],{}," or ",[15,903,857],{},", the composable counts pages up from ",[15,906,537],{}," until a page is an empty array. This works only for array responses, so generation warns when the response is an object.",[592,909,911],{"id":910},"infinitegetpreviouspageparam","infinite.getPreviousPageParam",[11,913,845,914,916,917,412,919,82],{},[15,915,793],{},", copied into the generated code as written. Takes precedence over ",[15,918,800],{},[15,920,857],{},[31,922,923,931],{},[34,924,925],{},[37,926,927,929],{},[40,928],{},[40,930],{},[50,932,933,941,949],{},[37,934,935,937],{},[55,936,361],{},[55,938,939],{},[15,940,822],{},[37,942,943,945],{},[55,944,371],{},[55,946,947],{},[15,948,147],{},[37,950,951,953],{},[55,952,48],{},[55,954,955],{},[15,956,737],{},[337,958,157],{"id":157},[11,960,961,962,965,966,968,969,973,974,82],{},"Decides which operations are treated as queries. The plugin generates a ",[15,963,964],{},"queryOptions"," factory for each match by default. Pass ",[15,967,147],{}," to skip, or set ",[20,970,971],{"href":232},[15,972,235],{}," to also emit ",[15,975,976],{},"useQuery",[31,978,979,987],{},[34,980,981],{},[37,982,983,985],{},[40,984],{},[40,986],{},[50,988,989,998,1006],{},[37,990,991,993],{},[55,992,361],{},[55,994,995],{},[15,996,997],{},"Partial\u003CQuery> | false",[37,999,1000,1002],{},[55,1001,371],{},[55,1003,1004],{},[15,1005,147],{},[37,1007,1008,1010],{},[55,1009,48],{},[55,1011,1012],{},[15,1013,165],{},[592,1015,1017],{"id":1016},"querymethods","query.methods",[11,1019,1020,1021,1023],{},"HTTP methods treated as queries. A matching operation generates a ",[15,1022,964],{}," factory instead of a mutation.",[31,1025,1026,1034],{},[34,1027,1028],{},[37,1029,1030,1032],{},[40,1031],{},[40,1033],{},[50,1035,1036,1045,1053],{},[37,1037,1038,1040],{},[55,1039,361],{},[55,1041,1042],{},[15,1043,1044],{},"Array\u003Cstring>",[37,1046,1047,1049],{},[55,1048,371],{},[55,1050,1051],{},[15,1052,147],{},[37,1054,1055,1057],{},[55,1056,48],{},[55,1058,1059],{},[15,1060,1061],{},"['GET', 'QUERY']",[11,1063,1064,1065,1067,1068,1071,1072,1075],{},"Operations whose method is in neither ",[15,1066,1017],{}," nor ",[15,1069,1070],{},"mutation.methods"," get no hook. Keep ",[15,1073,1074],{},"'QUERY'"," here when overriding the list, or QUERY operations are skipped.",[592,1077,1079],{"id":1078},"queryimportpath","query.importPath",[11,1081,1082,1083,82],{},"Module specifier for the generated ",[15,1084,1085],{},"import { queryOptions } from '...'",[31,1087,1088,1096],{},[34,1089,1090],{},[37,1091,1092,1094],{},[40,1093],{},[40,1095],{},[50,1097,1098,1106,1114],{},[37,1099,1100,1102],{},[55,1101,361],{},[55,1103,1104],{},[15,1105,618],{},[37,1107,1108,1110],{},[55,1109,371],{},[55,1111,1112],{},[15,1113,147],{},[37,1115,1116,1118],{},[55,1117,48],{},[55,1119,1120],{},[15,1121,1122],{},"'@tanstack\u002Fvue-query'",[337,1124,175],{"id":1125},"querykey",[11,1127,1128,1129,1131,1132,1135,1136,1139,1140,1143,1144,901,1147,1150,1151,1154,1155,1158],{},"Builds the ",[15,1130,175],{}," for each query composable. The callback receives the operation ",[15,1133,1134],{},"node",", the active ",[15,1137,1138],{},"casing"," and the ",[15,1141,1142],{},"variant"," (",[15,1145,1146],{},"'query'",[15,1148,1149],{},"'infiniteQuery'",") and returns the key array. Strings are copied into the generated code as written, so wrap a string literal in ",[15,1152,1153],{},"JSON.stringify(...)",". The default adds ",[15,1156,1157],{},"infinite: true"," to infinite keys so they never share a cache entry with the plain query.",[31,1160,1161,1169],{},[34,1162,1163],{},[37,1164,1165,1167],{},[40,1166],{},[40,1168],{},[50,1170,1171,1180,1188],{},[37,1172,1173,1175],{},[55,1174,361],{},[55,1176,1177],{},[15,1178,1179],{},"(props: { node, casing, variant }) => Array\u003Cunknown>",[37,1181,1182,1184],{},[55,1183,371],{},[55,1185,1186],{},[15,1187,147],{},[37,1189,1190,1192],{},[55,1191,48],{},[55,1193,184,1194],{},[15,1195,187],{},[1197,1198,1199,1259],"code-group",{},[475,1200,1203],{"language":477,"filename":1201,"code":1202,"class":480},"queryKey builder","queryKey: ({ node, variant }) => [JSON.stringify({ variant, operationId: node.operationId })]",[15,1204,1205],{"class":483},[485,1206,1207,1209,1212,1214,1216,1218,1221,1224,1227,1230,1233,1235,1238,1240,1242,1244,1247,1249,1251,1253,1256],{"class":487,"style":488},[485,1208,175],{"style":527},[485,1210,1211],{"style":491},": ",[485,1213,524],{"style":502},[485,1215,1134],{"style":527},[485,1217,69],{"style":491},[485,1219,1220],{"style":527},"variant ",[485,1222,1223],{"style":502},"}) ",[485,1225,1226],{"style":491},"=> ",[485,1228,1229],{"style":502},"[",[485,1231,1232],{"style":502},"JSON",[485,1234,82],{"style":491},[485,1236,1237],{"style":498},"stringify",[485,1239,524],{"style":502},[485,1241,1142],{"style":527},[485,1243,69],{"style":491},[485,1245,1246],{"style":502},"operationId",[485,1248,1211],{"style":491},[485,1250,1134],{"style":527},[485,1252,82],{"style":491},[485,1254,1255],{"style":502},"operationId ",[485,1257,1258],{"style":502},"})]",[475,1260,1263],{"language":477,"filename":1261,"code":1262,"class":480},"Generated output","export const getUserByNameQueryKey = () => [{ variant: 'query', operationId: 'getUserByName' }] as const",[15,1264,1265],{"class":483},[485,1266,1267,1269,1272,1275,1278,1281,1283,1286,1288,1290,1293,1295,1297,1299,1302,1305,1308],{"class":487,"style":488},[485,1268,492],{"style":491},[485,1270,1271],{"style":491},"const ",[485,1273,1274],{"style":527},"getUserByNameQueryKey ",[485,1276,1277],{"style":491},"= ",[485,1279,1280],{"style":502},"() ",[485,1282,1226],{"style":491},[485,1284,1285],{"style":502},"[{ ",[485,1287,1142],{"style":502},[485,1289,1211],{"style":491},[485,1291,1146],{"style":1292},"color:#032f62;--hls-dark:#9ecbff",[485,1294,69],{"style":491},[485,1296,1246],{"style":502},[485,1298,1211],{"style":491},[485,1300,1301],{"style":1292},"'getUserByName' ",[485,1303,1304],{"style":502},"}] ",[485,1306,1307],{"style":491},"as ",[485,1309,1310],{"style":491},"const",[11,1312,1313,1314,1316],{},"To extend the default key instead of replacing it, import ",[15,1315,187],{}," and spread its result. The default segments can change between releases, so spread them instead of reading single entries.",[475,1318,1320],{"language":477,"code":1319,"class":480},"import { queryKeyTransformer } from '@kubb\u002Fplugin-vue-query'\n\nqueryKey: (props) => [JSON.stringify(props.node.operationId), ...queryKeyTransformer(props)]",[15,1321,1322,511,1342,511,1344],{"class":483},[485,1323,1324,1327,1330,1333,1336,1339],{"class":487,"style":488},[485,1325,1326],{"style":491},"import ",[485,1328,1329],{"style":502},"{ ",[485,1331,1332],{"style":527},"queryKeyTransformer ",[485,1334,1335],{"style":502},"} ",[485,1337,1338],{"style":491},"from ",[485,1340,1341],{"style":1292},"'@kubb\u002Fplugin-vue-query'",[485,1343],{"class":487,"style":488},[485,1345,1346,1348,1350,1352,1355,1358,1360,1362,1364,1366,1368,1370,1372,1374,1376,1378,1380,1383,1385,1388,1390,1392,1394],{"class":487,"style":488},[485,1347,175],{"style":527},[485,1349,1211],{"style":491},[485,1351,503],{"style":502},[485,1353,1354],{"style":527},"props",[485,1356,1357],{"style":502},") ",[485,1359,1226],{"style":491},[485,1361,1229],{"style":502},[485,1363,1232],{"style":502},[485,1365,82],{"style":491},[485,1367,1237],{"style":498},[485,1369,503],{"style":502},[485,1371,1354],{"style":527},[485,1373,82],{"style":491},[485,1375,1134],{"style":502},[485,1377,82],{"style":491},[485,1379,1246],{"style":502},[485,1381,1382],{"style":502},")",[485,1384,69],{"style":491},[485,1386,1387],{"style":491},"...",[485,1389,187],{"style":498},[485,1391,503],{"style":502},[485,1393,1354],{"style":527},[485,1395,1396],{"style":502},")]",[337,1398,197],{"id":197},[11,1400,1401,1402,1404,1405,968,1407,973,1411,82],{},"Decides which operations are treated as mutations. The plugin generates a ",[15,1403,215],{}," helper for each match by default. Pass ",[15,1406,147],{},[20,1408,1409],{"href":232},[15,1410,235],{},[15,1412,1413],{},"useMutation",[31,1415,1416,1424],{},[34,1417,1418],{},[37,1419,1420,1422],{},[40,1421],{},[40,1423],{},[50,1425,1426,1435,1443],{},[37,1427,1428,1430],{},[55,1429,361],{},[55,1431,1432],{},[15,1433,1434],{},"Partial\u003CMutation> | false",[37,1436,1437,1439],{},[55,1438,371],{},[55,1440,1441],{},[15,1442,147],{},[37,1444,1445,1447],{},[55,1446,48],{},[55,1448,1449],{},[15,1450,205],{},[592,1452,1070],{"id":1453},"mutationmethods",[11,1455,1456],{},"HTTP methods treated as mutations. A matching operation generates mutation output instead of a query.",[31,1458,1459,1467],{},[34,1460,1461],{},[37,1462,1463,1465],{},[40,1464],{},[40,1466],{},[50,1468,1469,1477,1485],{},[37,1470,1471,1473],{},[55,1472,361],{},[55,1474,1475],{},[15,1476,1044],{},[37,1478,1479,1481],{},[55,1480,371],{},[55,1482,1483],{},[15,1484,147],{},[37,1486,1487,1489],{},[55,1488,48],{},[55,1490,1491],{},[15,1492,1493],{},"['POST', 'PUT', 'PATCH', 'DELETE']",[592,1495,1497],{"id":1496},"mutationimportpath","mutation.importPath",[11,1499,1082,1500,1503,1504,1508],{},[15,1501,1502],{},"import { useMutation } from '...'",", emitted when ",[20,1505,1506],{"href":232},[15,1507,235],{}," is set.",[31,1510,1511,1519],{},[34,1512,1513],{},[37,1514,1515,1517],{},[40,1516],{},[40,1518],{},[50,1520,1521,1529,1537],{},[37,1522,1523,1525],{},[55,1524,361],{},[55,1526,1527],{},[15,1528,618],{},[37,1530,1531,1533],{},[55,1532,371],{},[55,1534,1535],{},[15,1536,147],{},[37,1538,1539,1541],{},[55,1540,48],{},[55,1542,1543],{},[15,1544,1122],{},[337,1546,215],{"id":1547},"mutationkey",[11,1549,1128,1550,1552,1553,1555,1556,1559,1560,82],{},[15,1551,215],{}," for each mutation composable, useful for batching invalidations. It takes the same props as ",[15,1554,175],{}," with ",[15,1557,1558],{},"variant: 'mutation'"," and inlines strings the same way, so wrap literals in ",[15,1561,1153],{},[31,1563,1564,1572],{},[34,1565,1566],{},[37,1567,1568,1570],{},[40,1569],{},[40,1571],{},[50,1573,1574,1582,1590],{},[37,1575,1576,1578],{},[55,1577,361],{},[55,1579,1580],{},[15,1581,1179],{},[37,1583,1584,1586],{},[55,1585,371],{},[55,1587,1588],{},[15,1589,147],{},[37,1591,1592,1594],{},[55,1593,48],{},[55,1595,184,1596],{},[15,1597,225],{},[11,1599,1600,1601,1603],{},"Extend the default the same way with ",[15,1602,225],{},":",[475,1605,1607],{"language":477,"code":1606,"class":480},"import { mutationKeyTransformer } from '@kubb\u002Fplugin-vue-query'\n\nmutationKey: (props) => [JSON.stringify(props.node.operationId), ...mutationKeyTransformer(props)]",[15,1608,1609,511,1624,511,1626],{"class":483},[485,1610,1611,1613,1615,1618,1620,1622],{"class":487,"style":488},[485,1612,1326],{"style":491},[485,1614,1329],{"style":502},[485,1616,1617],{"style":527},"mutationKeyTransformer ",[485,1619,1335],{"style":502},[485,1621,1338],{"style":491},[485,1623,1341],{"style":1292},[485,1625],{"class":487,"style":488},[485,1627,1628,1630,1632,1634,1636,1638,1640,1642,1644,1646,1648,1650,1652,1654,1656,1658,1660,1662,1664,1666,1668,1670,1672],{"class":487,"style":488},[485,1629,215],{"style":527},[485,1631,1211],{"style":491},[485,1633,503],{"style":502},[485,1635,1354],{"style":527},[485,1637,1357],{"style":502},[485,1639,1226],{"style":491},[485,1641,1229],{"style":502},[485,1643,1232],{"style":502},[485,1645,82],{"style":491},[485,1647,1237],{"style":498},[485,1649,503],{"style":502},[485,1651,1354],{"style":527},[485,1653,82],{"style":491},[485,1655,1134],{"style":502},[485,1657,82],{"style":491},[485,1659,1246],{"style":502},[485,1661,1382],{"style":502},[485,1663,69],{"style":491},[485,1665,1387],{"style":491},[485,1667,225],{"style":498},[485,1669,503],{"style":502},[485,1671,1354],{"style":527},[485,1673,1396],{"style":502},[337,1675,235],{"id":235},[11,1677,1678,1679,1681,1682,1684,1685,69,1687,1689,1690,1692,1693,1696,1697,69,1699,1689,1701,82],{},"Controls whether ",[15,1680,241],{}," composables are emitted. The default ",[15,1683,147],{}," writes only the ",[15,1686,964],{},[15,1688,175],{},", and ",[15,1691,215],{}," factory helpers. Set ",[15,1694,1695],{},"true"," to also generate ",[15,1698,976],{},[15,1700,141],{},[15,1702,1413],{},[31,1704,1705,1713],{},[34,1706,1707],{},[37,1708,1709,1711],{},[40,1710],{},[40,1712],{},[50,1714,1715,1724,1732],{},[37,1716,1717,1719],{},[55,1718,361],{},[55,1720,1721],{},[15,1722,1723],{},"boolean",[37,1725,1726,1728],{},[55,1727,371],{},[55,1729,1730],{},[15,1731,147],{},[37,1733,1734,1736],{},[55,1735,48],{},[55,1737,1738],{},[15,1739,147],{},[337,1741,306],{"id":306},[11,1743,1744,1745,1747,1748,69,1750,69,1753,1756,1757,1760,1761,82],{},"Overrides generated file and symbol names. Omitted members keep ",[15,1746,314],{},". The shared members (",[15,1749,106],{},[15,1751,1752],{},"file",[15,1754,1755],{},"imports",") and the ",[15,1758,1759],{},"this"," context are described under ",[20,1762,1764],{"href":1763},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#resolver",[15,1765,306],{},[31,1767,1768,1776],{},[34,1769,1770],{},[37,1771,1772,1774],{},[40,1773],{},[40,1775],{},[50,1777,1778,1787],{},[37,1779,1780,1782],{},[55,1781,361],{},[55,1783,1784],{},[15,1785,1786],{},"ResolverPatch\u003CResolverVueQuery>",[37,1788,1789,1791],{},[55,1790,371],{},[55,1792,1793],{},[15,1794,147],{},[1796,1797,1799],"code-collapse",{"name":1798},"ResolverVueQuery patch members",[475,1800,1803],{"language":477,"filename":1801,"code":1802,"class":480},"Partial override","type ResolverVueQueryPatch = {\n  \u002F\u002F plus the shared name, file, and imports members\n  query?: {\n    name?(node: OperationNode): string\n    optionsName?(node: OperationNode): string\n    keyName?(node: OperationNode): string\n    keyTypeName?(node: OperationNode): string\n  }\n  infiniteQuery?: { \u002F* same members as query *\u002F }\n  mutation?: {\n    name?(node: OperationNode): string\n    keyName?(node: OperationNode): string\n  }\n}",[15,1804,1805,511,1818,511,1825,511,1838,511,1862,511,1885,511,1908,511,1931,511,1937,511,1955,511,1967,511,1989,511,2011,511,2017],{"class":483},[485,1806,1807,1810,1813,1815],{"class":487,"style":488},[485,1808,1809],{"style":491},"type ",[485,1811,1812],{"style":498},"ResolverVueQueryPatch ",[485,1814,1277],{"style":491},[485,1816,1817],{"style":502},"{",[485,1819,1820,1822],{"class":487,"style":488},[485,1821,516],{"style":502},[485,1823,1824],{"style":506},"\u002F\u002F plus the shared name, file, and imports members",[485,1826,1827,1829,1831,1834,1836],{"class":487,"style":488},[485,1828,516],{"style":506},[485,1830,157],{"style":502},[485,1832,1833],{"style":527},"?",[485,1835,1211],{"style":491},[485,1837,1817],{"style":502},[485,1839,1840,1843,1845,1847,1849,1851,1853,1856,1858,1860],{"class":487,"style":488},[485,1841,1842],{"style":502},"    ",[485,1844,106],{"style":527},[485,1846,1833],{"style":491},[485,1848,503],{"style":502},[485,1850,1134],{"style":527},[485,1852,1211],{"style":527},[485,1854,1855],{"style":498},"OperationNode",[485,1857,1382],{"style":502},[485,1859,1211],{"style":527},[485,1861,618],{"style":498},[485,1863,1864,1866,1869,1871,1873,1875,1877,1879,1881,1883],{"class":487,"style":488},[485,1865,1842],{"style":498},[485,1867,1868],{"style":527},"optionsName",[485,1870,1833],{"style":491},[485,1872,503],{"style":502},[485,1874,1134],{"style":527},[485,1876,1211],{"style":527},[485,1878,1855],{"style":498},[485,1880,1382],{"style":502},[485,1882,1211],{"style":527},[485,1884,618],{"style":498},[485,1886,1887,1889,1892,1894,1896,1898,1900,1902,1904,1906],{"class":487,"style":488},[485,1888,1842],{"style":498},[485,1890,1891],{"style":527},"keyName",[485,1893,1833],{"style":491},[485,1895,503],{"style":502},[485,1897,1134],{"style":527},[485,1899,1211],{"style":527},[485,1901,1855],{"style":498},[485,1903,1382],{"style":502},[485,1905,1211],{"style":527},[485,1907,618],{"style":498},[485,1909,1910,1912,1915,1917,1919,1921,1923,1925,1927,1929],{"class":487,"style":488},[485,1911,1842],{"style":498},[485,1913,1914],{"style":527},"keyTypeName",[485,1916,1833],{"style":491},[485,1918,503],{"style":502},[485,1920,1134],{"style":527},[485,1922,1211],{"style":527},[485,1924,1855],{"style":498},[485,1926,1382],{"style":502},[485,1928,1211],{"style":527},[485,1930,618],{"style":498},[485,1932,1933,1935],{"class":487,"style":488},[485,1934,516],{"style":498},[485,1936,550],{"style":502},[485,1938,1939,1941,1944,1946,1948,1950,1953],{"class":487,"style":488},[485,1940,516],{"style":502},[485,1942,1943],{"style":527},"infiniteQuery",[485,1945,1833],{"style":527},[485,1947,1211],{"style":491},[485,1949,1329],{"style":502},[485,1951,1952],{"style":506},"\u002F* same members as query *\u002F ",[485,1954,550],{"style":502},[485,1956,1957,1959,1961,1963,1965],{"class":487,"style":488},[485,1958,516],{"style":502},[485,1960,197],{"style":527},[485,1962,1833],{"style":527},[485,1964,1211],{"style":491},[485,1966,1817],{"style":502},[485,1968,1969,1971,1973,1975,1977,1979,1981,1983,1985,1987],{"class":487,"style":488},[485,1970,1842],{"style":502},[485,1972,106],{"style":527},[485,1974,1833],{"style":491},[485,1976,503],{"style":502},[485,1978,1134],{"style":527},[485,1980,1211],{"style":527},[485,1982,1855],{"style":498},[485,1984,1382],{"style":502},[485,1986,1211],{"style":527},[485,1988,618],{"style":498},[485,1990,1991,1993,1995,1997,1999,2001,2003,2005,2007,2009],{"class":487,"style":488},[485,1992,1842],{"style":498},[485,1994,1891],{"style":527},[485,1996,1833],{"style":491},[485,1998,503],{"style":502},[485,2000,1134],{"style":527},[485,2002,1211],{"style":527},[485,2004,1855],{"style":498},[485,2006,1382],{"style":502},[485,2008,1211],{"style":527},[485,2010,618],{"style":498},[485,2012,2013,2015],{"class":487,"style":488},[485,2014,516],{"style":498},[485,2016,550],{"style":502},[485,2018,2019],{"class":487,"style":488},[485,2020,550],{"style":502},{"title":2022,"searchDepth":2023,"depth":2023,"links":2024},"",5,[2025,2027],{"id":28,"depth":2026,"text":29},2,{"id":334,"depth":2026,"text":335,"children":2028},[2029,2031,2041,2045,2046,2050,2051,2052],{"id":119,"depth":2030,"text":119},3,{"id":135,"depth":2030,"text":135,"children":2032},[2033,2035,2036,2037,2038,2039,2040],{"id":594,"depth":2034,"text":430},4,{"id":638,"depth":2034,"text":639},{"id":687,"depth":2034,"text":688},{"id":740,"depth":2034,"text":741},{"id":783,"depth":2034,"text":784},{"id":841,"depth":2034,"text":842},{"id":910,"depth":2034,"text":911},{"id":157,"depth":2030,"text":157,"children":2042},[2043,2044],{"id":1016,"depth":2034,"text":1017},{"id":1078,"depth":2034,"text":1079},{"id":1125,"depth":2030,"text":175},{"id":197,"depth":2030,"text":197,"children":2047},[2048,2049],{"id":1453,"depth":2034,"text":1070},{"id":1496,"depth":2034,"text":1497},{"id":1547,"depth":2030,"text":215},{"id":235,"depth":2030,"text":235},{"id":306,"depth":2030,"text":306},"\u002Fextensions\u002Fkubb-labs\u002Fplugin-vue-query\u002Foptions",1793639046024]