[{"data":1,"prerenderedAt":1648},["ShallowReactive",2],{"page:\u002Fextensions\u002Fkubb-labs\u002Fplugin-faker\u002Foptions":3},{"id":4,"frontmatter":5,"title":6,"heading":6,"body":7,"path":1647,"source":4},"extensions\u002Fkubb-labs\u002Fplugin-faker\u002Foptions.md",{},"Options",{"type":8,"value":9,"toc":1631},"minimark",[10,25,30,303,307,311,314,354,374,561,577,645,648,678,715,743,746,752,789,824,826,861,898,900,909,938,940,964,993,1470,1472,1498,1527],[11,12,13,14,18,19,24],"p",{},"Pass these options to ",[15,16,17],"code",{},"pluginFaker()",", all of them optional. 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,87,109,127,145,166,184,203,218,236,253,271,288],"tbody",{},[37,53,54,63,82],{},[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,24],{},"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,83,84],{},[15,85,86],{},"{ path: 'mocks', barrel: { type: 'named' } }",[37,88,89,97,106],{},[55,90,91],{},[20,92,94],{"href":93},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#group",[15,95,96],{},"group",[55,98,99,100,69,103,24],{},"Split output by tag or path: ",[15,101,102],{},"type",[15,104,105],{},"name",[55,107,108],{},"None",[37,110,111,119,122],{},[55,112,113],{},[20,114,116],{"href":115},"#typemode",[15,117,118],{},"typeMode",[55,120,121],{},"Whether factory types come from the generated values or the declared model.",[55,123,124],{},[15,125,126],{},"'inferred'",[37,128,129,137,140],{},[55,130,131],{},[20,132,134],{"href":133},"#dateparser",[15,135,136],{},"dateParser",[55,138,139],{},"Library that formats string date and time fields.",[55,141,142],{},[15,143,144],{},"'faker'",[37,146,147,155,162],{},[55,148,149],{},[20,150,152],{"href":151},"#regexgenerator",[15,153,154],{},"regexGenerator",[55,156,157,158,161],{},"Library that turns a regex ",[15,159,160],{},"pattern"," into a string.",[55,163,164],{},[15,165,144],{},[37,167,168,176,179],{},[55,169,170],{},[20,171,173],{"href":172},"#locale",[15,174,175],{},"locale",[55,177,178],{},"Faker locale code for the generated values.",[55,180,181],{},[15,182,183],{},"'en'",[37,185,186,194,201],{},[55,187,188],{},[20,189,191],{"href":190},"#seed",[15,192,193],{},"seed",[55,195,196,197,200],{},"Value passed to ",[15,198,199],{},"faker.seed(...)"," for deterministic output.",[55,202,108],{},[37,204,205,213,216],{},[55,206,207],{},[20,208,210],{"href":209},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#include",[15,211,212],{},"include",[55,214,215],{},"Keep only operations and schemas that match.",[55,217,108],{},[37,219,220,228,231],{},[55,221,222],{},[20,223,225],{"href":224},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#exclude",[15,226,227],{},"exclude",[55,229,230],{},"Skip operations and schemas that match.",[55,232,233],{},[15,234,235],{},"[]",[37,237,238,246,249],{},[55,239,240],{},[20,241,243],{"href":242},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#override",[15,244,245],{},"override",[55,247,248],{},"Apply different options per pattern.",[55,250,251],{},[15,252,235],{},[37,254,255,263,266],{},[55,256,257],{},[20,258,260],{"href":259},"#resolver",[15,261,262],{},"resolver",[55,264,265],{},"Customize generated names and file paths.",[55,267,268],{},[15,269,270],{},"resolverFaker",[37,272,273,281,284],{},[55,274,275],{},[20,276,278],{"href":277},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#macros",[15,279,280],{},"macros",[55,282,283],{},"Rewrite AST nodes before printing.",[55,285,286],{},[15,287,235],{},[37,289,290,298,301],{},[55,291,292],{},[20,293,295],{"href":294},"#printer",[15,296,297],{},"printer",[55,299,300],{},"Replace the handler for a schema type.",[55,302,108],{},[26,304,306],{"id":305},"option-details","Option details",[308,309,118],"h3",{"id":310},"typemode",[11,312,313],{},"Controls the input and return types of object and intersection factories. Both modes generate the same values and apply overrides with a shallow merge.",[31,315,316,324],{},[34,317,318],{},[37,319,320,322],{},[40,321],{},[40,323],{},[50,325,326,336,346],{},[37,327,328,331],{},[55,329,330],{},"Type",[55,332,333],{},[15,334,335],{},"'inferred' | 'schema'",[37,337,338,341],{},[55,339,340],{},"Required",[55,342,343],{},[15,344,345],{},"false",[37,347,348,350],{},[55,349,48],{},[55,351,352],{},[15,353,126],{},[355,356,357,366],"field-group",{},[358,359,360,363],"field",{"name":126},[11,361,362],{},"Default value. Derives return types from generated values and supplied overrides. Optional and nullable fields retain their concrete value types, and overrides preserve literal types.",[11,364,365],{},"Factories in a schema cycle use the declared model as their base return type to avoid circular TypeScript inference. Supplied overrides still preserve their types.",[358,367,369,370,373],{"name":368},"'schema'","Accepts ",[15,371,372],{},"Partial\u003CModel>"," and returns the declared model type, including optional and nullable fields. Use it for fixtures you modify after creation.",[375,376,377,479],"code-group",{},[378,379,384],"pre",{"language":380,"filename":381,"code":382,"class":383},"typescript","'inferred' (default)","\u002F\u002F export function createOrder\u003CTData extends Partial\u003COrder> = object>(data?: TData)\nconst order = createOrder({ quantity: 2, complete: true })\nconst complete: true = order.complete\n\n\u002F\u002F TypeScript error: false is not assignable to true.\norder.complete = false","highlights",[15,385,387,396,397,396,440,396,459,396,461,396,466],{"class":386},"language-typescript",[388,389,392],"span",{"class":390,"style":391},"line","display: inline",[388,393,395],{"style":394},"color:#6a737d;--hls-dark:#6a737d","\u002F\u002F export function createOrder\u003CTData extends Partial\u003COrder> = object>(data?: TData)","\n",[388,398,399,403,407,410,414,418,421,424,427,429,432,434,437],{"class":390,"style":391},[388,400,402],{"style":401},"color:#d73a49;--hls-dark:#f97583","const ",[388,404,406],{"style":405},"color:#24292e;--hls-dark:#e1e4e8","order ",[388,408,409],{"style":401},"= ",[388,411,413],{"style":412},"color:#6f42c1;--hls-dark:#b392f0","createOrder",[388,415,417],{"style":416},"color:#005cc5;--hls-dark:#79b8ff","({ ",[388,419,420],{"style":416},"quantity",[388,422,423],{"style":401},": ",[388,425,426],{"style":416},"2",[388,428,69],{"style":401},[388,430,431],{"style":416},"complete",[388,433,423],{"style":401},[388,435,436],{"style":416},"true ",[388,438,439],{"style":416},"})",[388,441,442,444,446,448,450,452,455,457],{"class":390,"style":391},[388,443,402],{"style":401},[388,445,431],{"style":405},[388,447,423],{"style":401},[388,449,436],{"style":416},[388,451,409],{"style":401},[388,453,454],{"style":405},"order",[388,456,24],{"style":401},[388,458,431],{"style":416},[388,460],{"class":390,"style":391},[388,462,463],{"class":390,"style":391},[388,464,465],{"style":394},"\u002F\u002F TypeScript error: false is not assignable to true.",[388,467,468,470,472,475,477],{"class":390,"style":391},[388,469,454],{"style":405},[388,471,24],{"style":401},[388,473,474],{"style":416},"complete ",[388,476,409],{"style":401},[388,478,345],{"style":416},[378,480,482],{"language":380,"filename":368,"code":481,"class":383},"\u002F\u002F export function createOrder(data?: Partial\u003COrder>): Order\nconst order = createOrder({ quantity: 2, complete: true })\norder.complete = false\n\n\u002F\u002F TypeScript error: foo does not exist in Partial\u003COrder>.\ncreateOrder({ quantity: 2, foo: '' })",[15,483,484,396,489,396,517,396,529,396,531,396,536],{"class":386},[388,485,486],{"class":390,"style":391},[388,487,488],{"style":394},"\u002F\u002F export function createOrder(data?: Partial\u003COrder>): Order",[388,490,491,493,495,497,499,501,503,505,507,509,511,513,515],{"class":390,"style":391},[388,492,402],{"style":401},[388,494,406],{"style":405},[388,496,409],{"style":401},[388,498,413],{"style":412},[388,500,417],{"style":416},[388,502,420],{"style":416},[388,504,423],{"style":401},[388,506,426],{"style":416},[388,508,69],{"style":401},[388,510,431],{"style":416},[388,512,423],{"style":401},[388,514,436],{"style":416},[388,516,439],{"style":416},[388,518,519,521,523,525,527],{"class":390,"style":391},[388,520,454],{"style":405},[388,522,24],{"style":401},[388,524,474],{"style":416},[388,526,409],{"style":401},[388,528,345],{"style":416},[388,530],{"class":390,"style":391},[388,532,533],{"class":390,"style":391},[388,534,535],{"style":394},"\u002F\u002F TypeScript error: foo does not exist in Partial\u003COrder>.",[388,537,538,540,542,544,546,548,550,553,555,559],{"class":390,"style":391},[388,539,413],{"style":412},[388,541,417],{"style":416},[388,543,420],{"style":416},[388,545,423],{"style":401},[388,547,426],{"style":416},[388,549,69],{"style":401},[388,551,552],{"style":416},"foo",[388,554,423],{"style":401},[388,556,558],{"style":557},"color:#032f62;--hls-dark:#9ecbff","'' ",[388,560,439],{"style":416},[11,562,563,564,568,569,572,573,576],{},"Use ",[20,565,566],{"href":242},[15,567,245],{}," to select a mode for matching schemas. String patterns are regular expressions, so ",[15,570,571],{},"'^Order$'"," matches only the ",[15,574,575],{},"Order"," schema:",[378,578,581],{"language":380,"filename":579,"code":580,"class":383},"kubb.config.ts","pluginFaker({\n  override: [{ type: 'schemaName', pattern: '^Order$', options: { typeMode: 'schema' } }],\n})",[15,582,583,396,591,396,641],{"class":386},[388,584,585,588],{"class":390,"style":391},[388,586,587],{"style":412},"pluginFaker",[388,589,590],{"style":416},"({",[388,592,593,596,598,600,603,605,607,610,612,614,616,618,620,623,625,628,630,632,635,638],{"class":390,"style":391},[388,594,595],{"style":416},"  ",[388,597,245],{"style":416},[388,599,423],{"style":401},[388,601,602],{"style":416},"[{ ",[388,604,102],{"style":416},[388,606,423],{"style":401},[388,608,609],{"style":557},"'schemaName'",[388,611,69],{"style":401},[388,613,160],{"style":416},[388,615,423],{"style":401},[388,617,571],{"style":557},[388,619,69],{"style":401},[388,621,622],{"style":416},"options",[388,624,423],{"style":401},[388,626,627],{"style":416},"{ ",[388,629,118],{"style":416},[388,631,423],{"style":401},[388,633,634],{"style":557},"'schema' ",[388,636,637],{"style":416},"} }]",[388,639,640],{"style":401},",",[388,642,643],{"class":390,"style":391},[388,644,439],{"style":416},[308,646,136],{"id":647},"dateparser",[11,649,650,651,654,655,658,659,661,662,654,664,666,667,654,670,673,674,677],{},"Library used to format ",[15,652,653],{},"date"," and ",[15,656,657],{},"time"," fields represented as strings. Pick a value other than ",[15,660,144],{}," when your project already uses a date library, and install that library in the consuming app. Generated ",[15,663,653],{},[15,665,657],{}," strings use ",[15,668,669],{},"YYYY-MM-DD",[15,671,672],{},"HH:mm:ss",", and ",[15,675,676],{},"date-time"," values keep the ISO string.",[31,679,680,688],{},[34,681,682],{},[37,683,684,686],{},[40,685],{},[40,687],{},[50,689,690,699,707],{},[37,691,692,694],{},[55,693,330],{},[55,695,696],{},[15,697,698],{},"'faker' | 'dayjs' | 'moment' | string",[37,700,701,703],{},[55,702,340],{},[55,704,705],{},[15,706,345],{},[37,708,709,711],{},[55,710,48],{},[55,712,713],{},[15,714,144],{},[355,716,717,726,733,739],{},[358,718,719,720,722,723,24],{"name":144},"Default value. Renders a ",[15,721,653],{}," field as ",[15,724,725],{},"faker.date.anytime().toISOString().substring(0, 10)",[358,727,729,730,24],{"name":728},"'dayjs'","Renders it as ",[15,731,732],{},"dayjs(faker.date.anytime()).format('YYYY-MM-DD')",[358,734,729,736,24],{"name":735},"'moment'",[15,737,738],{},"moment(faker.date.anytime()).format('YYYY-MM-DD')",[358,740,742],{"name":741},"Custom module","Pass a module name that exports a default formatting function. Kubb adds the import to generated files.",[308,744,154],{"id":745},"regexgenerator",[11,747,748,749,751],{},"Library used to generate strings that satisfy a regex ",[15,750,160],{}," in the spec.",[31,753,754,762],{},[34,755,756],{},[37,757,758,760],{},[40,759],{},[40,761],{},[50,763,764,773,781],{},[37,765,766,768],{},[55,767,330],{},[55,769,770],{},[15,771,772],{},"'faker' | 'randexp'",[37,774,775,777],{},[55,776,340],{},[55,778,779],{},[15,780,345],{},[37,782,783,785],{},[55,784,48],{},[55,786,787],{},[15,788,144],{},[355,790,791,813],{},[358,792,793,794,797,798,69,801,804,805,808,809,812],{"name":144},"Default value. Generates ",[15,795,796],{},"faker.helpers.fromRegExp(\u002Fpattern\u002F)"," without an extra dependency. Faker does not support shorthand classes such as ",[15,799,800],{},"\\d",[15,802,803],{},"\\w",", or ",[15,806,807],{},"\\s",", so use ",[15,810,811],{},"'randexp'"," for patterns that contain them.",[358,814,815,816,819,820,823],{"name":811},"Generates ",[15,817,818],{},"new RandExp(pattern).gen()",". Supports a wider regex grammar and requires the ",[15,821,822],{},"randexp"," runtime dependency.",[308,825,175],{"id":175},[11,827,828,829,832,833,836,837,839,840,69,843,839,846,673,849,839,852,855,856,860],{},"Faker locale code. It switches the named import to ",[15,830,831],{},"fakerXX"," from ",[15,834,835],{},"@faker-js\u002Ffaker",", so generated values reflect the target region. The default ",[15,838,183],{}," imports ",[15,841,842],{},"fakerEN",[15,844,845],{},"'de'",[15,847,848],{},"fakerDE",[15,850,851],{},"'de_AT'",[15,853,854],{},"fakerDE_AT",". See ",[20,857,859],{"href":858},"https:\u002F\u002Ffakerjs.dev\u002Fapi\u002Flocalization.html","Faker.js localization"," for all locale codes.",[31,862,863,871],{},[34,864,865],{},[37,866,867,869],{},[40,868],{},[40,870],{},[50,872,873,882,890],{},[37,874,875,877],{},[55,876,330],{},[55,878,879],{},[15,880,881],{},"string",[37,883,884,886],{},[55,885,340],{},[55,887,888],{},[15,889,345],{},[37,891,892,894],{},[55,893,48],{},[55,895,896],{},[15,897,183],{},[308,899,193],{"id":193},[11,901,902,903,905,906,24],{},"Kubb passes this value to ",[15,904,199],{}," at the top of each factory, so every run returns the same data. Use it for snapshot tests. Pass a single number or an array of numbers. Factories still accept overrides, such as ",[15,907,908],{},"createPet({ name: 'Rex' })",[31,910,911,919],{},[34,912,913],{},[37,914,915,917],{},[40,916],{},[40,918],{},[50,920,921,930],{},[37,922,923,925],{},[55,924,330],{},[55,926,927],{},[15,928,929],{},"number | number[]",[37,931,932,934],{},[55,933,340],{},[55,935,936],{},[15,937,345],{},[308,939,262],{"id":262},[11,941,942,943,945,946,69,948,69,951,954,955,958,959,24],{},"Overrides generated file and symbol names. Omitted members keep ",[15,944,270],{},". The shared members (",[15,947,105],{},[15,949,950],{},"file",[15,952,953],{},"imports",") and the ",[15,956,957],{},"this"," context are described under ",[20,960,962],{"href":961},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Freference\u002Fplugin-options#resolver",[15,963,262],{},[31,965,966,974],{},[34,967,968],{},[37,969,970,972],{},[40,971],{},[40,973],{},[50,975,976,985],{},[37,977,978,980],{},[55,979,330],{},[55,981,982],{},[15,983,984],{},"ResolverPatch\u003CResolverFaker>",[37,986,987,989],{},[55,988,340],{},[55,990,991],{},[15,992,345],{},[994,995,997],"code-collapse",{"name":996},"ResolverFaker patch members",[378,998,1001],{"language":380,"filename":999,"code":1000,"class":383},"Partial override","type ResolverFakerPatch = {\n  name?(name: string): string\n  file?: {\n    baseName?(params: { name: string; extname: string }): string\n    path?(params: { baseName: string; output: Output }): string\n  }\n  imports?(options: ResolveImportsOptions): Array\u003CImportNode>\n  param?: {\n    name?(node: OperationNode, param: ParameterNode): string    \u002F\u002F → 'showPetByIdPathPetId'\n    path?(node: OperationNode, param: ParameterNode): string     \u002F\u002F → 'createShowPetByIdPath'\n    query?(node: OperationNode, param: ParameterNode): string    \u002F\u002F → 'createListPetsQuery'\n    headers?(node: OperationNode, param: ParameterNode): string  \u002F\u002F → 'createDeletePetHeaders'\n  }\n  response?: {\n    status?(node: OperationNode, statusCode: StatusCode): string \u002F\u002F → 'listPetsStatus200'\n    body?(node: OperationNode): string                           \u002F\u002F → 'createPetsBody'\n    response?(node: OperationNode): string                       \u002F\u002F → 'listPetsResponse'\n    responses?(node: OperationNode): string                      \u002F\u002F → 'listPetsResponses'\n  }\n}",[15,1002,1003,396,1016,396,1041,396,1053,396,1095,396,1132,396,1139,396,1172,396,1185,396,1222,396,1256,396,1290,396,1325,396,1331,396,1344,396,1380,396,1407,396,1433,396,1460,396,1466],{"class":386},[388,1004,1005,1008,1011,1013],{"class":390,"style":391},[388,1006,1007],{"style":401},"type ",[388,1009,1010],{"style":412},"ResolverFakerPatch ",[388,1012,409],{"style":401},[388,1014,1015],{"style":416},"{",[388,1017,1018,1020,1022,1025,1028,1030,1032,1034,1037,1039],{"class":390,"style":391},[388,1019,595],{"style":416},[388,1021,105],{"style":405},[388,1023,1024],{"style":401},"?",[388,1026,1027],{"style":416},"(",[388,1029,105],{"style":405},[388,1031,423],{"style":405},[388,1033,881],{"style":412},[388,1035,1036],{"style":416},")",[388,1038,423],{"style":405},[388,1040,881],{"style":412},[388,1042,1043,1045,1047,1049,1051],{"class":390,"style":391},[388,1044,595],{"style":412},[388,1046,950],{"style":405},[388,1048,1024],{"style":405},[388,1050,423],{"style":401},[388,1052,1015],{"style":416},[388,1054,1055,1058,1061,1063,1065,1068,1070,1072,1074,1076,1078,1081,1084,1086,1089,1091,1093],{"class":390,"style":391},[388,1056,1057],{"style":416},"    ",[388,1059,1060],{"style":405},"baseName",[388,1062,1024],{"style":401},[388,1064,1027],{"style":416},[388,1066,1067],{"style":405},"params",[388,1069,423],{"style":401},[388,1071,627],{"style":416},[388,1073,105],{"style":416},[388,1075,423],{"style":405},[388,1077,881],{"style":412},[388,1079,1080],{"style":401},"; ",[388,1082,1083],{"style":416},"extname",[388,1085,423],{"style":405},[388,1087,1088],{"style":412},"string ",[388,1090,439],{"style":416},[388,1092,423],{"style":405},[388,1094,881],{"style":412},[388,1096,1097,1099,1101,1103,1105,1107,1109,1111,1113,1115,1117,1119,1121,1123,1126,1128,1130],{"class":390,"style":391},[388,1098,1057],{"style":412},[388,1100,68],{"style":405},[388,1102,1024],{"style":401},[388,1104,1027],{"style":416},[388,1106,1067],{"style":405},[388,1108,423],{"style":401},[388,1110,627],{"style":416},[388,1112,1060],{"style":416},[388,1114,423],{"style":405},[388,1116,881],{"style":412},[388,1118,1080],{"style":401},[388,1120,62],{"style":416},[388,1122,423],{"style":405},[388,1124,1125],{"style":412},"Output ",[388,1127,439],{"style":416},[388,1129,423],{"style":405},[388,1131,881],{"style":412},[388,1133,1134,1136],{"class":390,"style":391},[388,1135,595],{"style":412},[388,1137,1138],{"style":416},"}",[388,1140,1141,1143,1145,1147,1149,1151,1153,1156,1158,1160,1163,1166,1169],{"class":390,"style":391},[388,1142,595],{"style":416},[388,1144,953],{"style":405},[388,1146,1024],{"style":401},[388,1148,1027],{"style":416},[388,1150,622],{"style":405},[388,1152,423],{"style":405},[388,1154,1155],{"style":412},"ResolveImportsOptions",[388,1157,1036],{"style":416},[388,1159,423],{"style":405},[388,1161,1162],{"style":412},"Array",[388,1164,1165],{"style":401},"\u003C",[388,1167,1168],{"style":412},"ImportNode",[388,1170,1171],{"style":401},">",[388,1173,1174,1176,1179,1181,1183],{"class":390,"style":391},[388,1175,595],{"style":401},[388,1177,1178],{"style":405},"param",[388,1180,1024],{"style":405},[388,1182,423],{"style":401},[388,1184,1015],{"style":416},[388,1186,1187,1189,1191,1193,1195,1198,1200,1203,1205,1207,1209,1212,1214,1216,1219],{"class":390,"style":391},[388,1188,1057],{"style":416},[388,1190,105],{"style":405},[388,1192,1024],{"style":401},[388,1194,1027],{"style":416},[388,1196,1197],{"style":405},"node",[388,1199,423],{"style":405},[388,1201,1202],{"style":412},"OperationNode",[388,1204,69],{"style":401},[388,1206,1178],{"style":405},[388,1208,423],{"style":405},[388,1210,1211],{"style":412},"ParameterNode",[388,1213,1036],{"style":416},[388,1215,423],{"style":405},[388,1217,1218],{"style":412},"string    ",[388,1220,1221],{"style":394},"\u002F\u002F → 'showPetByIdPathPetId'",[388,1223,1224,1226,1228,1230,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1253],{"class":390,"style":391},[388,1225,1057],{"style":394},[388,1227,68],{"style":405},[388,1229,1024],{"style":401},[388,1231,1027],{"style":416},[388,1233,1197],{"style":405},[388,1235,423],{"style":405},[388,1237,1202],{"style":412},[388,1239,69],{"style":401},[388,1241,1178],{"style":405},[388,1243,423],{"style":405},[388,1245,1211],{"style":412},[388,1247,1036],{"style":416},[388,1249,423],{"style":405},[388,1251,1252],{"style":412},"string     ",[388,1254,1255],{"style":394},"\u002F\u002F → 'createShowPetByIdPath'",[388,1257,1258,1260,1263,1265,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287],{"class":390,"style":391},[388,1259,1057],{"style":394},[388,1261,1262],{"style":405},"query",[388,1264,1024],{"style":401},[388,1266,1027],{"style":416},[388,1268,1197],{"style":405},[388,1270,423],{"style":405},[388,1272,1202],{"style":412},[388,1274,69],{"style":401},[388,1276,1178],{"style":405},[388,1278,423],{"style":405},[388,1280,1211],{"style":412},[388,1282,1036],{"style":416},[388,1284,423],{"style":405},[388,1286,1218],{"style":412},[388,1288,1289],{"style":394},"\u002F\u002F → 'createListPetsQuery'",[388,1291,1292,1294,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1319,1322],{"class":390,"style":391},[388,1293,1057],{"style":394},[388,1295,1296],{"style":405},"headers",[388,1298,1024],{"style":401},[388,1300,1027],{"style":416},[388,1302,1197],{"style":405},[388,1304,423],{"style":405},[388,1306,1202],{"style":412},[388,1308,69],{"style":401},[388,1310,1178],{"style":405},[388,1312,423],{"style":405},[388,1314,1211],{"style":412},[388,1316,1036],{"style":416},[388,1318,423],{"style":405},[388,1320,1321],{"style":412},"string  ",[388,1323,1324],{"style":394},"\u002F\u002F → 'createDeletePetHeaders'",[388,1326,1327,1329],{"class":390,"style":391},[388,1328,595],{"style":394},[388,1330,1138],{"style":416},[388,1332,1333,1335,1338,1340,1342],{"class":390,"style":391},[388,1334,595],{"style":416},[388,1336,1337],{"style":405},"response",[388,1339,1024],{"style":405},[388,1341,423],{"style":401},[388,1343,1015],{"style":416},[388,1345,1346,1348,1351,1353,1355,1357,1359,1361,1363,1366,1368,1371,1373,1375,1377],{"class":390,"style":391},[388,1347,1057],{"style":416},[388,1349,1350],{"style":405},"status",[388,1352,1024],{"style":401},[388,1354,1027],{"style":416},[388,1356,1197],{"style":405},[388,1358,423],{"style":405},[388,1360,1202],{"style":412},[388,1362,69],{"style":401},[388,1364,1365],{"style":405},"statusCode",[388,1367,423],{"style":405},[388,1369,1370],{"style":412},"StatusCode",[388,1372,1036],{"style":416},[388,1374,423],{"style":405},[388,1376,1088],{"style":412},[388,1378,1379],{"style":394},"\u002F\u002F → 'listPetsStatus200'",[388,1381,1382,1384,1387,1389,1391,1393,1395,1397,1399,1401,1404],{"class":390,"style":391},[388,1383,1057],{"style":394},[388,1385,1386],{"style":405},"body",[388,1388,1024],{"style":401},[388,1390,1027],{"style":416},[388,1392,1197],{"style":405},[388,1394,423],{"style":405},[388,1396,1202],{"style":412},[388,1398,1036],{"style":416},[388,1400,423],{"style":405},[388,1402,1403],{"style":412},"string                           ",[388,1405,1406],{"style":394},"\u002F\u002F → 'createPetsBody'",[388,1408,1409,1411,1413,1415,1417,1419,1421,1423,1425,1427,1430],{"class":390,"style":391},[388,1410,1057],{"style":394},[388,1412,1337],{"style":405},[388,1414,1024],{"style":401},[388,1416,1027],{"style":416},[388,1418,1197],{"style":405},[388,1420,423],{"style":405},[388,1422,1202],{"style":412},[388,1424,1036],{"style":416},[388,1426,423],{"style":405},[388,1428,1429],{"style":412},"string                       ",[388,1431,1432],{"style":394},"\u002F\u002F → 'listPetsResponse'",[388,1434,1435,1437,1440,1442,1444,1446,1448,1450,1452,1454,1457],{"class":390,"style":391},[388,1436,1057],{"style":394},[388,1438,1439],{"style":405},"responses",[388,1441,1024],{"style":401},[388,1443,1027],{"style":416},[388,1445,1197],{"style":405},[388,1447,423],{"style":405},[388,1449,1202],{"style":412},[388,1451,1036],{"style":416},[388,1453,423],{"style":405},[388,1455,1456],{"style":412},"string                      ",[388,1458,1459],{"style":394},"\u002F\u002F → 'listPetsResponses'",[388,1461,1462,1464],{"class":390,"style":391},[388,1463,595],{"style":394},[388,1465,1138],{"style":416},[388,1467,1468],{"class":390,"style":391},[388,1469,1138],{"style":416},[308,1471,297],{"id":297},[11,1473,1474,1475,69,1478,804,1481,1484,1485,1488,1489,1492,1493,1497],{},"Replaces the Faker node handler for a specific schema type, such as ",[15,1476,1477],{},"'integer'",[15,1479,1480],{},"'date'",[15,1482,1483],{},"'string'",". Each handler returns the Faker expression as a string. Use ",[15,1486,1487],{},"this.transform"," to recurse into nested nodes and ",[15,1490,1491],{},"this.options"," to read printer options. The ",[20,1494,1496],{"href":1495},"https:\u002F\u002Fkubb.dev\u002Fdocs\u002F5.x\u002Fhow-to\u002Fprinters","printer guide"," covers how overrides compose with macros.",[31,1499,1500,1508],{},[34,1501,1502],{},[37,1503,1504,1506],{},[40,1505],{},[40,1507],{},[50,1509,1510,1519],{},[37,1511,1512,1514],{},[55,1513,330],{},[55,1515,1516],{},[15,1517,1518],{},"{ nodes?: PrinterFakerNodes }",[37,1520,1521,1523],{},[55,1522,340],{},[55,1524,1525],{},[15,1526,345],{},[378,1528,1531],{"language":380,"filename":1529,"code":1530,"class":383},"Map integer schemas to a float","import { pluginFaker } from '@kubb\u002Fplugin-faker'\n\npluginFaker({\n  printer: {\n    nodes: {\n      integer() {\n        return 'faker.number.float()'\n      },\n    },\n  },\n})",[15,1532,1533,396,1552,396,1554,396,1560,396,1570,396,1581,396,1592,396,1603,396,1611,396,1619,396,1627],{"class":386},[388,1534,1535,1538,1540,1543,1546,1549],{"class":390,"style":391},[388,1536,1537],{"style":401},"import ",[388,1539,627],{"style":416},[388,1541,1542],{"style":405},"pluginFaker ",[388,1544,1545],{"style":416},"} ",[388,1547,1548],{"style":401},"from ",[388,1550,1551],{"style":557},"'@kubb\u002Fplugin-faker'",[388,1553],{"class":390,"style":391},[388,1555,1556,1558],{"class":390,"style":391},[388,1557,587],{"style":412},[388,1559,590],{"style":416},[388,1561,1562,1564,1566,1568],{"class":390,"style":391},[388,1563,595],{"style":416},[388,1565,297],{"style":416},[388,1567,423],{"style":401},[388,1569,1015],{"style":416},[388,1571,1572,1574,1577,1579],{"class":390,"style":391},[388,1573,1057],{"style":416},[388,1575,1576],{"style":416},"nodes",[388,1578,423],{"style":401},[388,1580,1015],{"style":416},[388,1582,1583,1586,1589],{"class":390,"style":391},[388,1584,1585],{"style":416},"      ",[388,1587,1588],{"style":412},"integer",[388,1590,1591],{"style":416},"() {",[388,1593,1594,1597,1600],{"class":390,"style":391},[388,1595,1596],{"style":416},"        ",[388,1598,1599],{"style":401},"return ",[388,1601,1602],{"style":557},"'faker.number.float()'",[388,1604,1605,1607,1609],{"class":390,"style":391},[388,1606,1585],{"style":557},[388,1608,1138],{"style":416},[388,1610,640],{"style":401},[388,1612,1613,1615,1617],{"class":390,"style":391},[388,1614,1057],{"style":401},[388,1616,1138],{"style":416},[388,1618,640],{"style":401},[388,1620,1621,1623,1625],{"class":390,"style":391},[388,1622,595],{"style":401},[388,1624,1138],{"style":416},[388,1626,640],{"style":401},[388,1628,1629],{"class":390,"style":391},[388,1630,439],{"style":416},{"title":1632,"searchDepth":1633,"depth":1633,"links":1634},"",5,[1635,1637],{"id":28,"depth":1636,"text":29},2,{"id":305,"depth":1636,"text":306,"children":1638},[1639,1641,1642,1643,1644,1645,1646],{"id":310,"depth":1640,"text":118},3,{"id":647,"depth":1640,"text":136},{"id":745,"depth":1640,"text":154},{"id":175,"depth":1640,"text":175},{"id":193,"depth":1640,"text":193},{"id":262,"depth":1640,"text":262},{"id":297,"depth":1640,"text":297},"\u002Fextensions\u002Fkubb-labs\u002Fplugin-faker\u002Foptions",1793647023075]