[{"data":1,"prerenderedAt":1412,"buildId":1413},["ShallowReactive",2],{"page:\u002Fextensions\u002Fkubb-labs\u002Fplugin-barrel\u002Foptions":3},{"id":4,"frontmatter":5,"title":6,"heading":6,"body":7,"path":1411,"source":4},"extensions\u002Fkubb-labs\u002Fplugin-barrel\u002Foptions.md",{},"Options",{"type":8,"value":9,"toc":1398},"minimark",[10,26,39,44,161,165,169,190,274,313,341,362,369,371,374,407,423,437,569,572,578,615,660,777,780,787,823,853,860,1366,1392],[11,12,13,17,18,21,22,25],"p",{},[14,15,16],"code",{},"pluginBarrel()"," takes no arguments. Configure it with ",[14,19,20],{},"output.barrel"," on ",[14,23,24],{},"defineConfig"," or on one plugin.",[11,27,28,21,30,32,33,38],{},[14,29,20],{},[14,31,24],{}," sets the root barrel and the default every plugin inherits. On a plugin, it overrides that plugin's barrels. ",[34,35,37],"a",{"href":36},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#output-barrel","Shared plugin options"," summarize the plugin-level setting.",[40,41,43],"h2",{"id":42},"options-overview","Options overview",[45,46,47,63],"table",{},[48,49,50],"thead",{},[51,52,53,57,60],"tr",{},[54,55,56],"th",{},"Option",[54,58,59],{},"Purpose",[54,61,62],{},"Default",[64,65,66,86,107,127,144],"tbody",{},[51,67,68,78,81],{},[69,70,71,21,76],"td",{},[34,72,74],{"href":73},"#outputbarrel",[14,75,20],{},[14,77,24],{},[69,79,80],{},"Root barrel, and the value plugins inherit.",[69,82,83],{},[14,84,85],{},"false",[51,87,88,95,98],{},[69,89,90,94],{},[34,91,92],{"href":73},[14,93,20],{}," on a plugin",[69,96,97],{},"That plugin's barrels.",[69,99,100,103,104],{},[14,101,102],{},"{ type: 'named' }"," in each generator plugin's default ",[14,105,106],{},"output",[51,108,109,118,121],{},[69,110,111,112],{},"↳ ",[34,113,115],{"href":114},"#type",[14,116,117],{},"output.barrel.type",[69,119,120],{},"Named exports or a wildcard export.",[69,122,123,124,126],{},"Required when ",[14,125,20],{}," is an object",[51,128,129,137,140],{},[69,130,111,131],{},[34,132,134],{"href":133},"#nested",[14,135,136],{},"output.barrel.nested",[69,138,139],{},"Re-export subfolder barrels instead of leaf files. Plugin only.",[69,141,142],{},[14,143,85],{},[51,145,146,154,157],{},[69,147,111,148],{},[34,149,151],{"href":150},"#namespace",[14,152,153],{},"output.barrel.namespace",[69,155,156],{},"Add a named namespace per subfolder. Plugin only.",[69,158,159],{},[14,160,85],{},[40,162,164],{"id":163},"option-details","Option details",[166,167,20],"h3",{"id":168},"outputbarrel",[11,170,171,172,175,176,178,179,181,182,185,186,189],{},"Kubb writes an ",[14,173,174],{},"index.ts"," in every folder of a plugin's output, and a root barrel when ",[14,177,20],{}," is set on ",[14,180,24],{},". For two plugins that write to ",[14,183,184],{},"models"," and ",[14,187,188],{},"clients",":",[191,192,196],"pre",{"language":193,"code":194,"class":195},"text","src\u002Fgen\n├── index.ts root barrel\n├── models\n│ ├── index.ts plugin barrel\n│ ├── Pet.ts\n│ └── User.ts\n└── clients\n ├── index.ts plugin barrel\n ├── pet\n │ ├── index.ts\n │ └── getPetById.ts\n └── store\n ├── index.ts\n └── getInventory.ts","highlights",[14,197,199,208,209,208,214,208,219,208,224,208,229,208,234,208,239,208,244,208,249,208,254,208,259,208,264,208,269],{"class":198},"language-text",[200,201,204],"span",{"class":202,"style":203},"line","display: inline",[200,205,207],{"style":206},"color:#24292e;--hls-dark:#e1e4e8","src\u002Fgen","\n",[200,210,211],{"class":202,"style":203},[200,212,213],{"style":206},"├── index.ts root barrel",[200,215,216],{"class":202,"style":203},[200,217,218],{"style":206},"├── models",[200,220,221],{"class":202,"style":203},[200,222,223],{"style":206},"│ ├── index.ts plugin barrel",[200,225,226],{"class":202,"style":203},[200,227,228],{"style":206},"│ ├── Pet.ts",[200,230,231],{"class":202,"style":203},[200,232,233],{"style":206},"│ └── User.ts",[200,235,236],{"class":202,"style":203},[200,237,238],{"style":206},"└── clients",[200,240,241],{"class":202,"style":203},[200,242,243],{"style":206}," ├── index.ts plugin barrel",[200,245,246],{"class":202,"style":203},[200,247,248],{"style":206}," ├── pet",[200,250,251],{"class":202,"style":203},[200,252,253],{"style":206}," │ ├── index.ts",[200,255,256],{"class":202,"style":203},[200,257,258],{"style":206}," │ └── getPetById.ts",[200,260,261],{"class":202,"style":203},[200,262,263],{"style":206}," └── store",[200,265,266],{"class":202,"style":203},[200,267,268],{"style":206}," ├── index.ts",[200,270,271],{"class":202,"style":203},[200,272,273],{"style":206}," └── getInventory.ts",[45,275,276,284],{},[48,277,278],{},[51,279,280,282],{},[54,281],{},[54,283],{},[64,285,286,296,305],{},[51,287,288,291],{},[69,289,290],{},"Type",[69,292,293],{},[14,294,295],{},"{ type: 'all' | 'named', nested?: boolean, namespace?: boolean } | false",[51,297,298,301],{},[69,299,300],{},"Required",[69,302,303],{},[14,304,85],{},[51,306,307,309],{},[69,308,62],{},[69,310,311],{},[14,312,85],{},[314,315,316,327,336],"ul",{},[317,318,319,320,322,323,326],"li",{},"The root ",[14,321,20],{}," accepts only ",[14,324,325],{},"type"," and is always flat.",[317,328,329,330,332,333,335],{},"A plugin without its own ",[14,331,20],{}," uses the root ",[14,334,325],{},".",[317,337,338,340],{},[14,339,85],{}," on a plugin writes no barrel for it and leaves its files out of the root barrel.",[342,343,345,346,348,349,352,353,355,356,358,359,361],"blockquote",{"as":344},"warning","Passing your own ",[14,347,106],{}," to a plugin, as in ",[14,350,351],{},"pluginTs({ output: { path: 'types' } })",", replaces its default ",[14,354,102],{},". With the root ",[14,357,20],{}," at ",[14,360,85],{},", that plugin then gets no barrels.",[11,363,364,365,335],{},"See ",[34,366,368],{"href":367},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-barrel\u002Fguides\u002Fbarrel-rules#which-barrel-setting-applies","Barrel rules",[166,370,325],{"id":325},[11,372,373],{},"Export style of the barrel files.",[45,375,376,384],{},[48,377,378],{},[51,379,380,382],{},[54,381],{},[54,383],{},[64,385,386,395],{},[51,387,388,390],{},[69,389,290],{},[69,391,392],{},[14,393,394],{},"'all' | 'named'",[51,396,397,399],{},[69,398,300],{},[69,400,401,404,405,126],{},[14,402,403],{},"true"," when ",[14,406,20],{},[408,409,410,415],"field-group",{},[411,412,414],"field",{"name":413},"'named'","Re-exports each symbol by name, with values and types in separate statements. It suits tree-shaking and explicit imports.",[411,416,418,419,422],{"name":417},"'all'","Writes ",[14,420,421],{},"export *"," per file, a smaller barrel.",[11,424,425,426,429,430,433,434,189],{},"For a plugin output with ",[14,427,428],{},"post.ts",", ",[14,431,432],{},"types\u002FUser.ts",", and ",[14,435,436],{},"user.ts",[438,439,440,529],"code-group",{},[191,441,444],{"language":442,"filename":413,"code":443,"class":195},"typescript","\u002F\u002F src\u002Fgen\u002Fapi\u002Findex.ts\nexport { getPost } from '.\u002Fpost'\nexport type { Post } from '.\u002Fpost'\nexport type { User } from '.\u002Ftypes\u002FUser'\nexport { getUser } from '.\u002Fuser'",[14,445,447,208,453,208,476,208,495,208,513],{"class":446},"language-typescript",[200,448,449],{"class":202,"style":203},[200,450,452],{"style":451},"color:#6a737d;--hls-dark:#6a737d","\u002F\u002F src\u002Fgen\u002Fapi\u002Findex.ts",[200,454,455,459,463,466,469,472],{"class":202,"style":203},[200,456,458],{"style":457},"color:#d73a49;--hls-dark:#f97583","export ",[200,460,462],{"style":461},"color:#005cc5;--hls-dark:#79b8ff","{ ",[200,464,465],{"style":206},"getPost ",[200,467,468],{"style":461},"} ",[200,470,471],{"style":457},"from ",[200,473,475],{"style":474},"color:#032f62;--hls-dark:#9ecbff","'.\u002Fpost'",[200,477,478,480,483,485,489,491,493],{"class":202,"style":203},[200,479,458],{"style":457},[200,481,482],{"style":206},"type ",[200,484,462],{"style":461},[200,486,488],{"style":487},"color:#6f42c1;--hls-dark:#b392f0","Post ",[200,490,468],{"style":461},[200,492,471],{"style":457},[200,494,475],{"style":474},[200,496,497,499,501,503,506,508,510],{"class":202,"style":203},[200,498,458],{"style":457},[200,500,482],{"style":206},[200,502,462],{"style":461},[200,504,505],{"style":487},"User ",[200,507,468],{"style":461},[200,509,471],{"style":457},[200,511,512],{"style":474},"'.\u002Ftypes\u002FUser'",[200,514,515,517,519,522,524,526],{"class":202,"style":203},[200,516,458],{"style":457},[200,518,462],{"style":461},[200,520,521],{"style":206},"getUser ",[200,523,468],{"style":461},[200,525,471],{"style":457},[200,527,528],{"style":474},"'.\u002Fuser'",[191,530,532],{"language":442,"filename":417,"code":531,"class":195},"\u002F\u002F src\u002Fgen\u002Fapi\u002Findex.ts\nexport * from '.\u002Fpost'\nexport * from '.\u002Ftypes\u002FUser'\nexport * from '.\u002Fuser'",[14,533,534,208,538,208,549,208,559],{"class":446},[200,535,536],{"class":202,"style":203},[200,537,452],{"style":451},[200,539,540,542,545,547],{"class":202,"style":203},[200,541,458],{"style":457},[200,543,544],{"style":457},"* ",[200,546,471],{"style":457},[200,548,475],{"style":474},[200,550,551,553,555,557],{"class":202,"style":203},[200,552,458],{"style":457},[200,554,544],{"style":457},[200,556,471],{"style":457},[200,558,512],{"style":474},[200,560,561,563,565,567],{"class":202,"style":203},[200,562,458],{"style":457},[200,564,544],{"style":457},[200,566,471],{"style":457},[200,568,528],{"style":474},[166,570,571],{"id":571},"nested",[11,573,574,575,577],{},"Changes what each barrel references. Kubb writes a barrel in every folder either way. This field works on a plugin's ",[14,576,20],{}," only.",[45,579,580,588],{},[48,581,582],{},[51,583,584,586],{},[54,585],{},[54,587],{},[64,589,590,599,607],{},[51,591,592,594],{},[69,593,290],{},[69,595,596],{},[14,597,598],{},"boolean",[51,600,601,603],{},[69,602,300],{},[69,604,605],{},[14,606,85],{},[51,608,609,611],{},[69,610,62],{},[69,612,613],{},[14,614,85],{},[45,616,617,630],{},[48,618,619],{},[51,620,621,624,627],{},[54,622,623],{},"Value",[54,625,626],{},"The plugin's top barrel re-exports",[54,628,629],{},"Import from",[64,631,632,645],{},[51,633,634,639,642],{},[69,635,636,638],{},[14,637,85],{}," (default)",[69,640,641],{},"Every leaf file below it",[69,643,644],{},"The top folder",[51,646,647,651,657],{},[69,648,649],{},[14,650,403],{},[69,652,653,654,656],{},"Its own files and the ",[14,655,174],{}," of each subfolder",[69,658,659],{},"Any depth",[438,661,662,720],{},[191,663,666],{"language":442,"filename":664,"code":665,"class":195},"nested: false","\u002F\u002F src\u002Fgen\u002Fapi\u002Findex.ts\nexport * from '.\u002Fpost'\nexport * from '.\u002Ftypes\u002FUser'\nexport * from '.\u002Fuser'\n\n\u002F\u002F src\u002Fgen\u002Fapi\u002Ftypes\u002Findex.ts\nexport * from '.\u002FUser'",[14,667,668,208,672,208,682,208,692,208,702,208,704,208,709],{"class":446},[200,669,670],{"class":202,"style":203},[200,671,452],{"style":451},[200,673,674,676,678,680],{"class":202,"style":203},[200,675,458],{"style":457},[200,677,544],{"style":457},[200,679,471],{"style":457},[200,681,475],{"style":474},[200,683,684,686,688,690],{"class":202,"style":203},[200,685,458],{"style":457},[200,687,544],{"style":457},[200,689,471],{"style":457},[200,691,512],{"style":474},[200,693,694,696,698,700],{"class":202,"style":203},[200,695,458],{"style":457},[200,697,544],{"style":457},[200,699,471],{"style":457},[200,701,528],{"style":474},[200,703],{"class":202,"style":203},[200,705,706],{"class":202,"style":203},[200,707,708],{"style":451},"\u002F\u002F src\u002Fgen\u002Fapi\u002Ftypes\u002Findex.ts",[200,710,711,713,715,717],{"class":202,"style":203},[200,712,458],{"style":457},[200,714,544],{"style":457},[200,716,471],{"style":457},[200,718,719],{"style":474},"'.\u002FUser'",[191,721,724],{"language":442,"filename":722,"code":723,"class":195},"nested: true","\u002F\u002F src\u002Fgen\u002Fapi\u002Findex.ts\nexport * from '.\u002Fpost'\nexport * from '.\u002Ftypes\u002Findex'\nexport * from '.\u002Fuser'\n\n\u002F\u002F src\u002Fgen\u002Fapi\u002Ftypes\u002Findex.ts\nexport * from '.\u002FUser'",[14,725,726,208,730,208,740,208,751,208,761,208,763,208,767],{"class":446},[200,727,728],{"class":202,"style":203},[200,729,452],{"style":451},[200,731,732,734,736,738],{"class":202,"style":203},[200,733,458],{"style":457},[200,735,544],{"style":457},[200,737,471],{"style":457},[200,739,475],{"style":474},[200,741,742,744,746,748],{"class":202,"style":203},[200,743,458],{"style":457},[200,745,544],{"style":457},[200,747,471],{"style":457},[200,749,750],{"style":474},"'.\u002Ftypes\u002Findex'",[200,752,753,755,757,759],{"class":202,"style":203},[200,754,458],{"style":457},[200,756,544],{"style":457},[200,758,471],{"style":457},[200,760,528],{"style":474},[200,762],{"class":202,"style":203},[200,764,765],{"class":202,"style":203},[200,766,708],{"style":451},[200,768,769,771,773,775],{"class":202,"style":203},[200,770,458],{"style":457},[200,772,544],{"style":457},[200,774,471],{"style":457},[200,776,719],{"style":474},[166,778,779],{"id":779},"namespace",[11,781,782,783,786],{},"Exposes each immediate subfolder as a named namespace, such as ",[14,784,785],{},"PetService",", next to its standalone exports.",[45,788,789,797],{},[48,790,791],{},[51,792,793,795],{},[54,794],{},[54,796],{},[64,798,799,807,815],{},[51,800,801,803],{},[69,802,290],{},[69,804,805],{},[14,806,598],{},[51,808,809,811],{},[69,810,300],{},[69,812,813],{},[14,814,85],{},[51,816,817,819],{},[69,818,62],{},[69,820,821],{},[14,822,85],{},[314,824,825,836,847],{},[317,826,827,828,830,831,833,834,335],{},"Works on a plugin's ",[14,829,20],{}," only, and turns on nested barrels even when ",[14,832,571],{}," is unset or ",[14,835,85],{},[317,837,838,839,842,843,846],{},"Needs the plugin's own ",[14,840,841],{},"output.path",". A plugin that writes to the output root gets a ",[14,844,845],{},"KUBB_PLUGIN_WARNING"," and no namespaces.",[317,848,849,850,335],{},"A namespace takes the PascalCase folder name. Name the folders with ",[14,851,852],{},"group.name",[11,854,855,856,859],{},"For tag-grouped fetch clients, leave the fetch ",[14,857,858],{},"sdk"," option unset so React Query can import the standalone operation functions:",[438,861,862,1253,1286],{},[191,863,866],{"language":442,"filename":864,"code":865,"class":195},"kubb.config.ts","import { defineConfig } from 'kubb\u002Fconfig'\nimport { adapterOas } from '@kubb\u002Fadapter-oas'\nimport { pluginFetch } from '@kubb\u002Fplugin-fetch'\nimport { pluginReactQuery } from '@kubb\u002Fplugin-react-query'\nimport { pluginTs } from '@kubb\u002Fplugin-ts'\n\nexport default defineConfig({\n input: '.\u002FpetStore.yaml',\n output: { path: '.\u002Fsrc\u002Fgen', barrel: { type: 'named' } },\n adapter: adapterOas({ integerType: 'number' }),\n plugins: [\n pluginTs({ output: { path: 'types' } }),\n pluginFetch({\n output: { path: 'client', barrel: { type: 'named', namespace: true } },\n group: { type: 'tag', name: ({ group }) => `${group}Service` },\n }),\n pluginReactQuery({ output: { path: 'hooks' }, hooks: true }),\n ],\n})",[14,867,868,208,885,208,901,208,917,208,933,208,949,208,951,208,963,208,980,208,1019,208,1047,208,1059,208,1087,208,1096,208,1141,208,1195,208,1203,208,1240,208,1249],{"class":446},[200,869,870,873,875,878,880,882],{"class":202,"style":203},[200,871,872],{"style":457},"import ",[200,874,462],{"style":461},[200,876,877],{"style":206},"defineConfig ",[200,879,468],{"style":461},[200,881,471],{"style":457},[200,883,884],{"style":474},"'kubb\u002Fconfig'",[200,886,887,889,891,894,896,898],{"class":202,"style":203},[200,888,872],{"style":457},[200,890,462],{"style":461},[200,892,893],{"style":206},"adapterOas ",[200,895,468],{"style":461},[200,897,471],{"style":457},[200,899,900],{"style":474},"'@kubb\u002Fadapter-oas'",[200,902,903,905,907,910,912,914],{"class":202,"style":203},[200,904,872],{"style":457},[200,906,462],{"style":461},[200,908,909],{"style":206},"pluginFetch ",[200,911,468],{"style":461},[200,913,471],{"style":457},[200,915,916],{"style":474},"'@kubb\u002Fplugin-fetch'",[200,918,919,921,923,926,928,930],{"class":202,"style":203},[200,920,872],{"style":457},[200,922,462],{"style":461},[200,924,925],{"style":206},"pluginReactQuery ",[200,927,468],{"style":461},[200,929,471],{"style":457},[200,931,932],{"style":474},"'@kubb\u002Fplugin-react-query'",[200,934,935,937,939,942,944,946],{"class":202,"style":203},[200,936,872],{"style":457},[200,938,462],{"style":461},[200,940,941],{"style":206},"pluginTs ",[200,943,468],{"style":461},[200,945,471],{"style":457},[200,947,948],{"style":474},"'@kubb\u002Fplugin-ts'",[200,950],{"class":202,"style":203},[200,952,953,955,958,960],{"class":202,"style":203},[200,954,458],{"style":457},[200,956,957],{"style":457},"default ",[200,959,24],{"style":487},[200,961,962],{"style":461},"({",[200,964,965,968,971,974,977],{"class":202,"style":203},[200,966,967],{"style":461}," ",[200,969,970],{"style":461},"input",[200,972,973],{"style":457},": ",[200,975,976],{"style":474},"'.\u002FpetStore.yaml'",[200,978,979],{"style":457},",",[200,981,982,984,986,988,990,993,995,998,1000,1003,1005,1007,1009,1011,1014,1017],{"class":202,"style":203},[200,983,967],{"style":457},[200,985,106],{"style":461},[200,987,973],{"style":457},[200,989,462],{"style":461},[200,991,992],{"style":461},"path",[200,994,973],{"style":457},[200,996,997],{"style":474},"'.\u002Fsrc\u002Fgen'",[200,999,429],{"style":457},[200,1001,1002],{"style":461},"barrel",[200,1004,973],{"style":457},[200,1006,462],{"style":461},[200,1008,325],{"style":461},[200,1010,973],{"style":457},[200,1012,1013],{"style":474},"'named' ",[200,1015,1016],{"style":461},"} }",[200,1018,979],{"style":457},[200,1020,1021,1023,1026,1028,1031,1034,1037,1039,1042,1045],{"class":202,"style":203},[200,1022,967],{"style":457},[200,1024,1025],{"style":461},"adapter",[200,1027,973],{"style":457},[200,1029,1030],{"style":487},"adapterOas",[200,1032,1033],{"style":461},"({ ",[200,1035,1036],{"style":461},"integerType",[200,1038,973],{"style":457},[200,1040,1041],{"style":474},"'number' ",[200,1043,1044],{"style":461},"})",[200,1046,979],{"style":457},[200,1048,1049,1051,1054,1056],{"class":202,"style":203},[200,1050,967],{"style":457},[200,1052,1053],{"style":461},"plugins",[200,1055,973],{"style":457},[200,1057,1058],{"style":461},"[",[200,1060,1061,1064,1067,1069,1071,1073,1075,1077,1079,1082,1085],{"class":202,"style":203},[200,1062,1063],{"style":461}," ",[200,1065,1066],{"style":487},"pluginTs",[200,1068,1033],{"style":461},[200,1070,106],{"style":461},[200,1072,973],{"style":457},[200,1074,462],{"style":461},[200,1076,992],{"style":461},[200,1078,973],{"style":457},[200,1080,1081],{"style":474},"'types' ",[200,1083,1084],{"style":461},"} })",[200,1086,979],{"style":457},[200,1088,1089,1091,1094],{"class":202,"style":203},[200,1090,1063],{"style":457},[200,1092,1093],{"style":487},"pluginFetch",[200,1095,962],{"style":461},[200,1097,1098,1101,1103,1105,1107,1109,1111,1114,1116,1118,1120,1122,1124,1126,1128,1130,1132,1134,1137,1139],{"class":202,"style":203},[200,1099,1100],{"style":461}," ",[200,1102,106],{"style":461},[200,1104,973],{"style":457},[200,1106,462],{"style":461},[200,1108,992],{"style":461},[200,1110,973],{"style":457},[200,1112,1113],{"style":474},"'client'",[200,1115,429],{"style":457},[200,1117,1002],{"style":461},[200,1119,973],{"style":457},[200,1121,462],{"style":461},[200,1123,325],{"style":461},[200,1125,973],{"style":457},[200,1127,413],{"style":474},[200,1129,429],{"style":457},[200,1131,779],{"style":461},[200,1133,973],{"style":457},[200,1135,1136],{"style":461},"true ",[200,1138,1016],{"style":461},[200,1140,979],{"style":457},[200,1142,1143,1145,1148,1150,1152,1154,1156,1159,1161,1164,1166,1168,1171,1174,1177,1180,1183,1185,1188,1191,1193],{"class":202,"style":203},[200,1144,1100],{"style":457},[200,1146,1147],{"style":461},"group",[200,1149,973],{"style":457},[200,1151,462],{"style":461},[200,1153,325],{"style":461},[200,1155,973],{"style":457},[200,1157,1158],{"style":474},"'tag'",[200,1160,429],{"style":457},[200,1162,1163],{"style":461},"name",[200,1165,973],{"style":457},[200,1167,1033],{"style":461},[200,1169,1170],{"style":206},"group ",[200,1172,1173],{"style":461},"}) ",[200,1175,1176],{"style":457},"=> ",[200,1178,1179],{"style":474},"`",[200,1181,1182],{"style":206},"${",[200,1184,1147],{"style":206},[200,1186,1187],{"style":206},"}",[200,1189,1190],{"style":474},"Service` ",[200,1192,1187],{"style":461},[200,1194,979],{"style":457},[200,1196,1197,1199,1201],{"class":202,"style":203},[200,1198,1063],{"style":457},[200,1200,1044],{"style":461},[200,1202,979],{"style":457},[200,1204,1205,1207,1210,1212,1214,1216,1218,1220,1222,1225,1227,1229,1232,1234,1236,1238],{"class":202,"style":203},[200,1206,1063],{"style":457},[200,1208,1209],{"style":487},"pluginReactQuery",[200,1211,1033],{"style":461},[200,1213,106],{"style":461},[200,1215,973],{"style":457},[200,1217,462],{"style":461},[200,1219,992],{"style":461},[200,1221,973],{"style":457},[200,1223,1224],{"style":474},"'hooks' ",[200,1226,1187],{"style":461},[200,1228,429],{"style":457},[200,1230,1231],{"style":461},"hooks",[200,1233,973],{"style":457},[200,1235,1136],{"style":461},[200,1237,1044],{"style":461},[200,1239,979],{"style":457},[200,1241,1242,1244,1247],{"class":202,"style":203},[200,1243,967],{"style":457},[200,1245,1246],{"style":461},"]",[200,1248,979],{"style":457},[200,1250,1251],{"class":202,"style":203},[200,1252,1044],{"style":461},[191,1254,1257],{"language":442,"filename":1255,"code":1256,"class":195},"src\u002Fgen\u002Fclient\u002Findex.ts","export * from '.\u002FpetService\u002Findex'\nexport * as PetService from '.\u002FpetService\u002Findex'",[14,1258,1259,208,1270],{"class":446},[200,1260,1261,1263,1265,1267],{"class":202,"style":203},[200,1262,458],{"style":457},[200,1264,544],{"style":457},[200,1266,471],{"style":457},[200,1268,1269],{"style":474},"'.\u002FpetService\u002Findex'",[200,1271,1272,1274,1276,1279,1282,1284],{"class":202,"style":203},[200,1273,458],{"style":457},[200,1275,544],{"style":457},[200,1277,1278],{"style":457},"as ",[200,1280,1281],{"style":487},"PetService ",[200,1283,471],{"style":457},[200,1285,1269],{"style":474},[191,1287,1290],{"language":442,"filename":1288,"code":1289,"class":195},"src\u002Fexample.ts","import { PetService, getPetById } from '.\u002Fgen\u002Fclient'\n\nawait PetService.getPetById({ path: { petId: 123 } })\nawait getPetById({ path: { petId: 123 } })",[14,1291,1292,208,1312,208,1314,208,1344],{"class":446},[200,1293,1294,1296,1298,1300,1302,1305,1307,1309],{"class":202,"style":203},[200,1295,872],{"style":457},[200,1297,462],{"style":461},[200,1299,785],{"style":487},[200,1301,429],{"style":457},[200,1303,1304],{"style":206},"getPetById ",[200,1306,468],{"style":461},[200,1308,471],{"style":457},[200,1310,1311],{"style":474},"'.\u002Fgen\u002Fclient'",[200,1313],{"class":202,"style":203},[200,1315,1316,1319,1321,1323,1326,1328,1330,1332,1334,1337,1339,1342],{"class":202,"style":203},[200,1317,1318],{"style":457},"await ",[200,1320,785],{"style":487},[200,1322,335],{"style":457},[200,1324,1325],{"style":487},"getPetById",[200,1327,1033],{"style":461},[200,1329,992],{"style":461},[200,1331,973],{"style":457},[200,1333,462],{"style":461},[200,1335,1336],{"style":461},"petId",[200,1338,973],{"style":457},[200,1340,1341],{"style":461},"123 ",[200,1343,1084],{"style":461},[200,1345,1346,1348,1350,1352,1354,1356,1358,1360,1362,1364],{"class":202,"style":203},[200,1347,1318],{"style":457},[200,1349,1325],{"style":487},[200,1351,1033],{"style":461},[200,1353,992],{"style":461},[200,1355,973],{"style":457},[200,1357,462],{"style":461},[200,1359,1336],{"style":461},[200,1361,973],{"style":457},[200,1363,1341],{"style":461},[200,1365,1084],{"style":461},[11,1367,1368,1369,1372,1373,1376,1377,1383,1384,1387,1388,1391],{},"For a ",[14,1370,1371],{},"pet"," tag, the operations land in ",[14,1374,1375],{},"src\u002Fgen\u002Fclient\u002FpetService\u002F",". The example sets ",[34,1378,1380],{"href":1379},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fadapter-oas\u002Foptions#integertype",[14,1381,1382],{},"integerType: 'number'",", so it can pass ",[14,1385,1386],{},"123"," as an ",[14,1389,1390],{},"int64"," id.",[11,1393,364,1394,335],{},[34,1395,1397],{"href":1396},"https:\u002F\u002Fkubb.dev\u002Fextensions\u002Fkubb-labs\u002Fplugin-barrel\u002Fguides\u002Fbarrel-rules#namespaces-for-tag-groups","Namespaces for tag groups",{"title":1399,"searchDepth":1400,"depth":1400,"links":1401},"",5,[1402,1404],{"id":42,"depth":1403,"text":43},2,{"id":163,"depth":1403,"text":164,"children":1405},[1406,1408,1409,1410],{"id":168,"depth":1407,"text":20},3,{"id":325,"depth":1407,"text":325},{"id":571,"depth":1407,"text":571},{"id":779,"depth":1407,"text":779},"\u002Fextensions\u002Fkubb-labs\u002Fplugin-barrel\u002Foptions",1795727680296,"1b64b1eb-29b7-4f90-ad41-6f24721e1669"]