[{"data":1,"prerenderedAt":1354},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"wiki":116,"doc-\u002Fpackages\u002Fi18n\u002Freadme":429},{"value":4,"alert":5},"18%",false,[],[8,11,14,17,20],{"label":9,"to":10},"0041 The visitor view becomes its own app, and the portal reads only as a developer platform","\u002Fdecisions\u002F0041-personal-site-splits-from-developer-portal",{"label":12,"to":13},"0040 Visitors land on the front page and toggle to the developer view","\u002Fdecisions\u002F0040-developer-portal-visitor-structure",{"label":15,"to":16},"0039 The developer portal is redesigned for visitors, from a twelve-site benchmark","\u002Fdecisions\u002F0039-developer-portal-benchmark",{"label":18,"to":19},"0038 Marina Roustan's discovery","\u002Fdecisions\u002F0038-marina-roustan-discovery",{"label":21,"to":22},"0013 New linters: the robustness gap is tsconfig and enforcement, not plugins","\u002Fdecisions\u002F0013-linter-coverage",[24,29,60,83],{"labelKey":25,"icon":26,"to":27,"badge":28},"app.menu.allProjects","i-lucide-layers","\u002Fprojects","11",{"labelKey":30,"icon":31,"to":32,"badge":33,"children":34},"app.menu.kinds.apps","i-lucide-app-window","\u002Fprojects?kind=apps","5",[35,40,45,50,55],{"label":36,"icon":31,"to":37,"badge":38,"coverage":39},"developer-portal","\u002Fprojects\u002Fdeveloper-portal","94%",94.37,{"label":41,"icon":31,"to":42,"badge":43,"coverage":44},"huella-legal","\u002Fprojects\u002Fhuella-legal","97%",97.48,{"label":46,"icon":31,"to":47,"badge":48,"coverage":49},"marina-roustan","\u002Fprojects\u002Fmarina-roustan","100%",100,{"label":51,"icon":31,"to":52,"badge":53,"coverage":54},"portfolio","\u002Fprojects\u002Fportfolio","91%",91.31,{"label":56,"icon":31,"to":57,"badge":58,"coverage":59},"wp-editor","\u002Fprojects\u002Fwp-editor","50%",49.89,{"labelKey":61,"icon":62,"to":63,"badge":64,"children":65},"app.menu.kinds.packages","i-lucide-package","\u002Fprojects?kind=packages","4",[66,71,75,80],{"label":67,"icon":62,"to":68,"badge":69,"coverage":70},"configs","\u002Fprojects\u002Fconfigs","76%",75.7,{"label":72,"icon":62,"to":73,"badge":48,"coverage":74},"content","\u002Fprojects\u002Fcontent",99.58,{"label":76,"icon":62,"to":77,"badge":78,"coverage":79},"i18n","\u002Fprojects\u002Fi18n","99%",99.08,{"label":81,"icon":62,"to":82,"badge":48,"coverage":49},"observability","\u002Fprojects\u002Fobservability",{"labelKey":84,"icon":85,"to":86,"badge":87,"children":88},"app.menu.kinds.infrastructure","i-lucide-server","\u002Fprojects?kind=infrastructure","2",[89,94],{"label":90,"icon":85,"to":91,"badge":92,"coverage":93},"scripts","\u002Fprojects\u002Fscripts","79%",78.6,{"label":95,"icon":85,"to":96,"badge":97,"coverage":98},"translations","\u002Fprojects\u002Ftranslations","93%",93.33,[100,103,106,109,112],{"label":101,"to":102},"Huella Legal","\u002Fworkflows\u002Fhuella-legal",{"label":104,"to":105},"Marina Roustan","\u002Fworkflows\u002Fmarina-roustan",{"label":107,"to":108},"Developer portal front door","\u002Fworkflows\u002Fdeveloper-portal-front-door",{"label":110,"to":111},"Huella Legal editorial","\u002Fworkflows\u002Fhuella-legal-editorial",{"labelKey":113,"icon":114,"to":115},"app.menu.newProject","i-lucide-plus","\u002Fworkflows\u002Fnew",[117,134,210,255,291,352],{"id":118,"label":119,"icon":120,"blurb":121,"groups":122},"workspace","Workspace","i-lucide-home","The two files at the root, and the generated index of everything the repo can do.",[123],{"key":124,"label":125,"entries":126},"root","The root",[127,131],{"path":128,"label":129,"kind":130},"\u002Freadme","Joinery","readme",{"path":132,"label":133,"kind":130},"\u002Fsecurity","Security policy",{"id":135,"label":136,"icon":137,"blurb":138,"groups":139},"docs","Docs","i-lucide-library","Subjects no single project owns — the models, the procedures, the answered decisions.",[140,150,168,186,192,198,204],{"key":135,"label":141,"entries":142},"Start here",[143,147],{"path":144,"label":145,"kind":146},"\u002Fdocs\u002Freadme","Overview","doc",{"path":148,"label":149,"kind":146},"\u002Fdocs\u002Ffeatures","Features",{"key":151,"label":152,"entries":153},"concepts","Concepts",[154,156,159,162,165],{"path":155,"label":145,"kind":146},"\u002Fdocs\u002Fconcepts\u002Freadme",{"path":157,"label":158,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fversioning","How a version gets derived from a commit",{"path":160,"label":161,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fconventions","Naming and folder conventions",{"path":163,"label":164,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fagent-setup","The agent setup as one inspectable system",{"path":166,"label":167,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fboundaries","Why the boundary system exists",{"key":169,"label":170,"entries":171},"guides","Guides",[172,174,177,180,183],{"path":173,"label":145,"kind":146},"\u002Fdocs\u002Fguides\u002Freadme",{"path":175,"label":176,"kind":146},"\u002Fdocs\u002Fguides\u002Fchange-lifecycle","A change, end to end",{"path":178,"label":179,"kind":146},"\u002Fdocs\u002Fguides\u002Fadding-a-locale","Adding a locale",{"path":181,"label":182,"kind":146},"\u002Fdocs\u002Fguides\u002Ffirst-hour","First hour in this repo",{"path":184,"label":185,"kind":146},"\u002Fdocs\u002Fguides\u002Frepo-secrets","Provisioning the repo secrets",{"key":187,"label":188,"entries":189},"decisions","Decisions",[190],{"path":191,"label":145,"kind":146},"\u002Fdocs\u002Fdecisions\u002Freadme",{"key":193,"label":194,"entries":195},"audits","Audits",[196],{"path":197,"label":145,"kind":146},"\u002Fdocs\u002Faudits\u002Freadme",{"key":199,"label":200,"entries":201},"workflows","Workflows",[202],{"path":203,"label":145,"kind":146},"\u002Fdocs\u002Fworkflows\u002Freadme",{"key":205,"label":206,"entries":207},"benchmarks","Benchmarks",[208],{"path":209,"label":145,"kind":146},"\u002Fdocs\u002Fbenchmarks\u002Freadme",{"id":211,"label":212,"icon":31,"blurb":213,"groups":214},"apps","Apps","Each app's own reference, colocated with its code so it changes in the same diff.",[215,220,233,240,245,250],{"key":36,"label":216,"entries":217},"Developer Portal",[218],{"path":219,"label":145,"kind":130},"\u002Fapps\u002Fdeveloper-portal\u002Freadme",{"key":41,"label":101,"entries":221},[222,224,227,230],{"path":223,"label":145,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Freadme",{"path":225,"label":226,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Fdesign","Huella Legal design",{"path":228,"label":229,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Flayers\u002Finterest\u002Freadme","layers\u002Finterest",{"path":231,"label":232,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Flayers\u002Flegacy\u002Freadme","layers\u002Flegacy",{"key":46,"label":104,"entries":234},[235,237],{"path":236,"label":145,"kind":130},"\u002Fapps\u002Fmarina-roustan\u002Freadme",{"path":238,"label":239,"kind":130},"\u002Fapps\u002Fmarina-roustan\u002Fdesign","Marina Roustan design",{"key":51,"label":241,"entries":242},"Portfolio",[243],{"path":244,"label":145,"kind":130},"\u002Fapps\u002Fportfolio\u002Freadme",{"key":130,"label":246,"entries":247},"Readme",[248],{"path":249,"label":212,"kind":130},"\u002Fapps\u002Freadme",{"key":56,"label":251,"entries":252},"Wp Editor",[253],{"path":254,"label":145,"kind":130},"\u002Fapps\u002Fwp-editor\u002Freadme",{"id":256,"label":257,"icon":62,"blurb":258,"groups":259},"packages","Packages","Each package's own reference, colocated with its code so it changes in the same diff.",[260,268,276,282,287],{"key":67,"label":261,"entries":262},"Configs",[263,265],{"path":264,"label":145,"kind":130},"\u002Fpackages\u002Fconfigs\u002Freadme",{"path":266,"label":267,"kind":130},"\u002Fpackages\u002Fconfigs\u002Fsrc\u002Feslint\u002Flib\u002Freadme","eslint\u002Flib",{"key":72,"label":269,"entries":270},"Content",[271,273],{"path":272,"label":145,"kind":130},"\u002Fpackages\u002Fcontent\u002Freadme",{"path":274,"label":275,"kind":130},"\u002Fpackages\u002Fcontent\u002Fsrc\u002Fnuxt\u002Freadme","nuxt",{"key":76,"label":76,"entries":277},[278,280],{"path":279,"label":145,"kind":130},"\u002Fpackages\u002Fi18n\u002Freadme",{"path":281,"label":275,"kind":130},"\u002Fpackages\u002Fi18n\u002Fsrc\u002Fnuxt\u002Freadme",{"key":81,"label":283,"entries":284},"Observability",[285],{"path":286,"label":145,"kind":130},"\u002Fpackages\u002Fobservability\u002Freadme",{"key":130,"label":246,"entries":288},[289],{"path":290,"label":257,"kind":130},"\u002Fpackages\u002Freadme",{"id":292,"label":293,"icon":85,"blurb":294,"groups":295},"infrastructure","Infrastructure","Each service's own reference, colocated with its code so it changes in the same diff.",[296,300,347],{"key":130,"label":246,"entries":297},[298],{"path":299,"label":293,"kind":130},"\u002Finfrastructure\u002Freadme",{"key":90,"label":301,"entries":302},"Scripts",[303,305,308,311,314,317,320,323,326,329,332,335,338,341,344],{"path":304,"label":145,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Freadme",{"path":306,"label":307,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fbrand\u002Freadme","brand",{"path":309,"label":310,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fci-failures\u002Freadme","ci-failures",{"path":312,"label":313,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fcoverage-report\u002Freadme","coverage-report",{"path":315,"label":316,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdev\u002Freadme","dev",{"path":318,"label":319,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdrift\u002Freadme","drift",{"path":321,"label":322,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fenv-sync\u002Freadme","env-sync",{"path":324,"label":325,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Finvariants\u002Freadme","invariants",{"path":327,"label":328,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fissue\u002Freadme","issue",{"path":330,"label":331,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fmap\u002Freadme","map",{"path":333,"label":334,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fshared\u002Freadme","shared",{"path":336,"label":337,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fship\u002Freadme","ship",{"path":339,"label":340,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fusage\u002Freadme","usage",{"path":342,"label":343,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworkflow\u002Freadme","workflow",{"path":345,"label":346,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworktree\u002Freadme","worktree",{"key":95,"label":348,"entries":349},"Translations",[350],{"path":351,"label":145,"kind":130},"\u002Finfrastructure\u002Ftranslations\u002Freadme",{"id":353,"label":354,"icon":355,"blurb":356,"groups":357},"agents","Agent setup","i-lucide-bot","The skills and subagents an agent working in this repo loads.",[358,373],{"key":353,"label":359,"entries":360},"Subagents",[361,364,367,370],{"path":362,"label":363,"kind":130},"\u002F.claude\u002Fagents\u002Freview-architecture","Review Architecture",{"path":365,"label":366,"kind":130},"\u002F.claude\u002Fagents\u002Freview-correctness","Review Correctness",{"path":368,"label":369,"kind":130},"\u002F.claude\u002Fagents\u002Freview-tests","Review Tests",{"path":371,"label":372,"kind":130},"\u002F.claude\u002Fagents\u002Fticket-planner","Ticket Planner",{"key":374,"label":375,"entries":376},"skills","Skills",[377,381,384,387,390,393,396,399,402,405,408,411,414,417,420,423,426],{"path":378,"label":379,"kind":380},"\u002F.claude\u002Fskills\u002Fcontent-new-vendor\u002Fskill","Adding a content vendor","skill",{"path":382,"label":383,"kind":380},"\u002F.claude\u002Fskills\u002Fconfigs-new-rule\u002Fskill","Adding a lint rule",{"path":385,"label":386,"kind":380},"\u002F.claude\u002Fskills\u002Fscripts-new-script\u002Fskill","Adding a script",{"path":388,"label":389,"kind":380},"\u002F.claude\u002Fskills\u002Fi18n-new-vendor\u002Fskill","Adding a translations vendor",{"path":391,"label":392,"kind":380},"\u002F.claude\u002Fskills\u002Fnuxt-module-route\u002Fskill","Adding to a package's Nuxt module",{"path":394,"label":395,"kind":380},"\u002F.claude\u002Fskills\u002Fbenchmark\u002Fskill","Benchmarking a design",{"path":397,"label":398,"kind":380},"\u002F.claude\u002Fskills\u002Fwp-bulk-edit\u002Fskill","Bulk-editing WordPress through the editor",{"path":400,"label":401,"kind":380},"\u002F.claude\u002Fskills\u002Fdoc-drift-check\u002Fskill","Checking docs against code",{"path":403,"label":404,"kind":380},"\u002F.claude\u002Fskills\u002Fcomment-cleanup\u002Fskill","Comment cleanup",{"path":406,"label":407,"kind":380},"\u002F.claude\u002Fskills\u002Fgithub-issue\u002Fskill","Creating a GitHub issue",{"path":409,"label":410,"kind":380},"\u002F.claude\u002Fskills\u002Fproject-workflow\u002Fskill","Running a project through a workflow",{"path":412,"label":413,"kind":380},"\u002F.claude\u002Fskills\u002Fnew-package\u002Fskill","Scaffolding a workspace project",{"path":415,"label":416,"kind":380},"\u002F.claude\u002Fskills\u002Fstart-issue\u002Fskill","Starting work on a GitHub issue",{"path":418,"label":419,"kind":380},"\u002F.claude\u002Fskills\u002Fdecision-report\u002Fskill","Writing a decision report",{"path":421,"label":422,"kind":380},"\u002F.claude\u002Fskills\u002Faudit-report\u002Fskill","Writing an audit",{"path":424,"label":425,"kind":380},"\u002F.claude\u002Fskills\u002Fhouse-docs\u002Fskill","Writing docs here",{"path":427,"label":428,"kind":380},"\u002F.claude\u002Fskills\u002Fwriting-tests\u002Fskill","Writing specs here",{"id":430,"title":431,"body":432,"description":1347,"extension":1348,"kind":1349,"meta":1350,"navigation":836,"path":279,"seo":1351,"stem":1352,"url":1349,"verdict":1349,"__hash__":1353},"docs\u002Fpackages\u002Fi18n\u002FREADME.md","📦 @joinery\u002Fi18n",{"type":433,"value":434,"toc":1337},"minimark",[435,439,462,551,561,566,576,580,594,706,713,752,756,924,937,940,968,972,1105,1119,1123,1173,1187,1191,1201,1293,1297,1333],[436,437,431],"h1",{"id":438},"joineryi18n",[440,441,442,443,447,448,451,452,457,458,461],"p",{},"A vendor-neutral client for locale messages: a framework-agnostic core plus an optional Nuxt module\nthat wires a TMS into ",[444,445,446],"code",{},"@nuxtjs\u002Fi18n"," behind a cached server route. Vendors: ",[444,449,450],{},"internal"," (our own\n",[453,454,456],"a",{"href":455},"repo:infrastructure\u002Ftranslations","translations server",") and ",[444,459,460],{},"tolgee",".",[463,464,465,481],"table",{},[466,467,468],"thead",{},[469,470,471,475,478],"tr",{},[472,473,474],"th",{},"Import",[472,476,477],{},"Contains",[472,479,480],{},"Depends on",[482,483,484,504,533],"tbody",{},[469,485,486,492,495],{},[487,488,489],"td",{},[444,490,491],{},"@joinery\u002Fi18n",[487,493,494],{},"Domain, ports, adapters, vendor registry, cache key",[487,496,497,500,501],{},[444,498,499],{},"ofetch",", ",[444,502,503],{},"ohash",[469,505,506,511,520],{},[487,507,508],{},[444,509,510],{},"@joinery\u002Fi18n\u002Fnuxt",[487,512,513,514],{},"The Nuxt module — see ",[453,515,517],{"href":516},"\u002Fwiki\u002Fpackages\u002Fi18n\u002Fsrc\u002Fnuxt\u002Freadme",[444,518,519],{},"src\u002Fnuxt\u002FREADME.md",[487,521,522,500,525,500,527,500,530],{},[444,523,524],{},"@nuxt\u002Fkit",[444,526,446],{},[444,528,529],{},"h3",[444,531,532],{},"nitropack",[469,534,535,540,546],{},[487,536,537],{},[444,538,539],{},"@joinery\u002Fi18n\u002Ftesting",[487,541,542,545],{},[444,543,544],{},"tolgeeHandlers(baseURL, translations)",", MSW handlers faking Tolgee",[487,547,548],{},[444,549,550],{},"msw",[440,552,553,554,560],{},"The second and third entries' dependencies are optional peers. The structure and the vendor\ncontract mirror ",[453,555,557],{"href":556},"\u002Fwiki\u002Fpackages\u002Fcontent\u002Freadme",[444,558,559],{},"@joinery\u002Fcontent","; keep the two matching.",[562,563,565],"h2",{"id":564},"structure","Structure",[567,568,573],"pre",{"className":569,"code":571,"language":572},[570],"language-text","src\u002Fcore\u002Fdomain\u002F        Locale, TranslationMap, errors, vendor config — imports nothing\nsrc\u002Fcore\u002Fports\u002F         HttpClient and TranslationProvider\nsrc\u002Fcore\u002Fadapters\u002F      OfetchHttpClient, InternalProvider, TolgeeProvider\nsrc\u002Fcore\u002Fregistry.ts    vendor name → provider, and the config type\nsrc\u002Fcore\u002FtranslationsKey.ts  the cache key\nsrc\u002Fnuxt\u002F               the Nuxt module\nsrc\u002Ftesting\u002F            fake vendors for consumers' e2e\n","text",[444,574,571],{"__ignoreMap":575},"",[562,577,579],{"id":578},"vendors","Vendors",[440,581,582,583,589,590,593],{},"A vendor is one entry in ",[453,584,586],{"href":585},"repo:packages\u002Fi18n\u002Fsrc\u002Fcore\u002Fregistry.ts",[444,587,588],{},"core\u002Fregistry.ts",", which drives both the runtime\nlookup and the config type. ",[444,591,592],{},"options"," holds credentials only, and is required when the provider\ndeclares it, forbidden when it doesn't:",[567,595,599],{"className":596,"code":597,"language":598,"meta":575,"style":575},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{ name: \"internal\", project: \"external\", baseURL }               \u002F\u002F options not allowed\n{ name: \"tolgee\", project: \"1234\", baseURL, options: { token } } \u002F\u002F options required\n","ts",[444,600,601,654],{"__ignoreMap":575},[602,603,606,610,614,617,620,623,626,629,632,634,636,639,641,643,647,650],"span",{"class":604,"line":605},"line",1,[602,607,609],{"class":608},"sMK4o","{",[602,611,613],{"class":612},"sBMFI"," name",[602,615,616],{"class":608},":",[602,618,619],{"class":608}," \"",[602,621,450],{"class":622},"sfazB",[602,624,625],{"class":608},"\"",[602,627,628],{"class":608},",",[602,630,631],{"class":612}," project",[602,633,616],{"class":608},[602,635,619],{"class":608},[602,637,638],{"class":622},"external",[602,640,625],{"class":608},[602,642,628],{"class":608},[602,644,646],{"class":645},"sTEyZ"," baseURL",[602,648,649],{"class":608}," }",[602,651,653],{"class":652},"sHwdD","               \u002F\u002F options not allowed\n",[602,655,657,659,661,663,665,667,669,671,673,675,677,680,682,684,686,688,691,693,696,699,701,703],{"class":604,"line":656},2,[602,658,609],{"class":608},[602,660,613],{"class":612},[602,662,616],{"class":608},[602,664,619],{"class":608},[602,666,460],{"class":622},[602,668,625],{"class":608},[602,670,628],{"class":608},[602,672,631],{"class":612},[602,674,616],{"class":608},[602,676,619],{"class":608},[602,678,679],{"class":622},"1234",[602,681,625],{"class":608},[602,683,628],{"class":608},[602,685,646],{"class":645},[602,687,628],{"class":608},[602,689,690],{"class":612}," options",[602,692,616],{"class":608},[602,694,695],{"class":608}," {",[602,697,698],{"class":645}," token",[602,700,649],{"class":608},[602,702,649],{"class":608},[602,704,705],{"class":652}," \u002F\u002F options required\n",[440,707,708,709,712],{},"Adding a vendor (the ",[444,710,711],{},"i18n-new-vendor"," skill walks it):",[714,715,716,732,746],"ol",{},[717,718,719,720,723,724,727,728,731],"li",{},"Write ",[444,721,722],{},"core\u002Fadapters\u002Fproviders\u002F\u003CName>Provider.ts"," extending ",[444,725,726],{},"TranslationProvider",", overriding\n",[444,729,730],{},"getTranslations",". File, class and registry key share the name.",[717,733,734,735,737,738,741,742,461],{},"If it takes ",[444,736,592],{},", override ",[444,739,740],{},"configProblems()"," — see ",[453,743,745],{"href":744},"#validation","validation",[717,747,748,749,461],{},"Add one line to ",[444,750,751],{},"providers",[562,753,755],{"id":754},"the-ports","The ports",[567,757,759],{"className":596,"code":758,"language":598,"meta":575,"style":575},"interface HttpClient {\n    get\u003CT>(url: string, options?: RequestOptions): Promise\u003CHttpResponse\u003CT>>\n}\n\nabstract class TranslationProvider\u003CT extends object = object> {\n    abstract getTranslations(locale: Locale): Promise\u003CTranslationMap>\n    protected configProblems(): string[]\n}\n",[444,760,761,773,825,831,838,870,902,919],{"__ignoreMap":575},[602,762,763,767,770],{"class":604,"line":605},[602,764,766],{"class":765},"spNyl","interface",[602,768,769],{"class":612}," HttpClient",[602,771,772],{"class":608}," {\n",[602,774,775,779,782,785,788,792,794,797,799,801,804,807,810,813,815,818,820,822],{"class":604,"line":656},[602,776,778],{"class":777},"swJcz","    get",[602,780,781],{"class":608},"\u003C",[602,783,784],{"class":612},"T",[602,786,787],{"class":608},">(",[602,789,791],{"class":790},"sHdIc","url",[602,793,616],{"class":608},[602,795,796],{"class":612}," string",[602,798,628],{"class":608},[602,800,690],{"class":790},[602,802,803],{"class":608},"?:",[602,805,806],{"class":612}," RequestOptions",[602,808,809],{"class":608},"):",[602,811,812],{"class":612}," Promise",[602,814,781],{"class":608},[602,816,817],{"class":612},"HttpResponse",[602,819,781],{"class":608},[602,821,784],{"class":612},[602,823,824],{"class":608},">>\n",[602,826,828],{"class":604,"line":827},3,[602,829,830],{"class":608},"}\n",[602,832,834],{"class":604,"line":833},4,[602,835,837],{"emptyLinePlaceholder":836},true,"\n",[602,839,841,844,847,850,852,854,857,860,863,865,868],{"class":604,"line":840},5,[602,842,843],{"class":765},"abstract",[602,845,846],{"class":765}," class",[602,848,849],{"class":612}," TranslationProvider",[602,851,781],{"class":608},[602,853,784],{"class":612},[602,855,856],{"class":765}," extends",[602,858,859],{"class":612}," object",[602,861,862],{"class":608}," =",[602,864,859],{"class":612},[602,866,867],{"class":608},">",[602,869,772],{"class":608},[602,871,873,876,879,882,885,887,890,892,894,896,899],{"class":604,"line":872},6,[602,874,875],{"class":765},"    abstract",[602,877,878],{"class":777}," getTranslations",[602,880,881],{"class":608},"(",[602,883,884],{"class":790},"locale",[602,886,616],{"class":608},[602,888,889],{"class":612}," Locale",[602,891,809],{"class":608},[602,893,812],{"class":612},[602,895,781],{"class":608},[602,897,898],{"class":612},"TranslationMap",[602,900,901],{"class":608},">\n",[602,903,905,908,911,914,916],{"class":604,"line":904},7,[602,906,907],{"class":765},"    protected",[602,909,910],{"class":777}," configProblems",[602,912,913],{"class":608},"():",[602,915,796],{"class":612},[602,917,918],{"class":645},"[]\n",[602,920,922],{"class":604,"line":921},8,[602,923,830],{"class":608},[440,925,926,927,929,930,933,934,461],{},"The generic is what the registry reads to make ",[444,928,592],{}," required or forbidden. Every failed\nrequest, including a ",[444,931,932],{},"200"," that isn't JSON, becomes an ",[444,935,936],{},"UpstreamError",[562,938,939],{"id":745},"Validation",[440,941,942,943,946,947,950,951,953,954,956,957,959,960,963,964,967],{},"A provider validates in its constructor: ",[444,944,945],{},"project"," non-empty, ",[444,948,949],{},"baseURL"," absolute, and the vendor's\n",[444,952,592],{}," through ",[444,955,740],{}," (",[444,958,460],{}," needs a token). Every problem is reported at once in\none ",[444,961,962],{},"MisconfiguredVendorError"," (a ",[444,965,966],{},"500","). It's hand-written rather than a schema library, since it\nonly checks a few strings whose shape the types already guarantee.",[562,969,971],{"id":970},"framework-agnostic-use","Framework-agnostic use",[567,973,975],{"className":596,"code":974,"language":598,"meta":575,"style":575},"const http = new OfetchHttpClient(ofetch.create({ baseURL }));\nconst provider = await createProvider({ name: \"internal\", project: \"external\", baseURL }, http);\nconst messages = await provider.getTranslations(\"en-GB\");\n",[444,976,977,1019,1073],{"__ignoreMap":575},[602,978,979,982,985,988,991,995,998,1000,1003,1005,1007,1010,1013,1016],{"class":604,"line":605},[602,980,981],{"class":765},"const",[602,983,984],{"class":645}," http ",[602,986,987],{"class":608},"=",[602,989,990],{"class":608}," new",[602,992,994],{"class":993},"s2Zo4"," OfetchHttpClient",[602,996,997],{"class":645},"(ofetch",[602,999,461],{"class":608},[602,1001,1002],{"class":993},"create",[602,1004,881],{"class":645},[602,1006,609],{"class":608},[602,1008,1009],{"class":645}," baseURL ",[602,1011,1012],{"class":608},"}",[602,1014,1015],{"class":645},"))",[602,1017,1018],{"class":608},";\n",[602,1020,1021,1023,1026,1028,1032,1035,1037,1039,1041,1043,1045,1047,1049,1051,1053,1055,1057,1059,1061,1063,1065,1068,1071],{"class":604,"line":656},[602,1022,981],{"class":765},[602,1024,1025],{"class":645}," provider ",[602,1027,987],{"class":608},[602,1029,1031],{"class":1030},"s7zQu"," await",[602,1033,1034],{"class":993}," createProvider",[602,1036,881],{"class":645},[602,1038,609],{"class":608},[602,1040,613],{"class":777},[602,1042,616],{"class":608},[602,1044,619],{"class":608},[602,1046,450],{"class":622},[602,1048,625],{"class":608},[602,1050,628],{"class":608},[602,1052,631],{"class":777},[602,1054,616],{"class":608},[602,1056,619],{"class":608},[602,1058,638],{"class":622},[602,1060,625],{"class":608},[602,1062,628],{"class":608},[602,1064,1009],{"class":645},[602,1066,1067],{"class":608},"},",[602,1069,1070],{"class":645}," http)",[602,1072,1018],{"class":608},[602,1074,1075,1077,1080,1082,1084,1087,1089,1091,1093,1095,1098,1100,1103],{"class":604,"line":827},[602,1076,981],{"class":765},[602,1078,1079],{"class":645}," messages ",[602,1081,987],{"class":608},[602,1083,1031],{"class":1030},[602,1085,1086],{"class":645}," provider",[602,1088,461],{"class":608},[602,1090,730],{"class":993},[602,1092,881],{"class":645},[602,1094,625],{"class":608},[602,1096,1097],{"class":622},"en-GB",[602,1099,625],{"class":608},[602,1101,1102],{"class":645},")",[602,1104,1018],{"class":608},[440,1106,1107,1108,1111,1112,1114,1115,1118],{},"The core doesn't cache. ",[444,1109,1110],{},"translationsKey(vendor, locale)"," is the identity to cache under: the vendor\nconfig minus ",[444,1113,592],{}," (credentials aren't identity), hashed to word characters behind a readable\n",[444,1116,1117],{},"vendor_locale_"," prefix, because Nitro strips everything else from a key.",[562,1120,1122],{"id":1121},"fake-vendors","Fake vendors",[567,1124,1126],{"className":596,"code":1125,"language":598,"meta":575,"style":575},"setupServer(...tolgeeHandlers(baseURL, { \"es-ES\": messages })).listen();\n",[444,1127,1128],{"__ignoreMap":575},[602,1129,1130,1133,1135,1138,1141,1144,1146,1148,1150,1153,1155,1157,1159,1161,1163,1165,1168,1171],{"class":604,"line":605},[602,1131,1132],{"class":993},"setupServer",[602,1134,881],{"class":645},[602,1136,1137],{"class":608},"...",[602,1139,1140],{"class":993},"tolgeeHandlers",[602,1142,1143],{"class":645},"(baseURL",[602,1145,628],{"class":608},[602,1147,695],{"class":608},[602,1149,619],{"class":608},[602,1151,1152],{"class":777},"es-ES",[602,1154,625],{"class":608},[602,1156,616],{"class":608},[602,1158,1079],{"class":645},[602,1160,1012],{"class":608},[602,1162,1015],{"class":645},[602,1164,461],{"class":608},[602,1166,1167],{"class":993},"listen",[602,1169,1170],{"class":645},"()",[602,1172,1018],{"class":608},[440,1174,1175,1176,1179,1180,1183,1184,1186],{},"Serves ",[444,1177,1178],{},"GET \u003CbaseURL>\u002Fv2\u002Fprojects\u002F:project\u002Ftranslations\u002F:locale",", and a ",[444,1181,1182],{},"404"," for a locale it wasn't\ngiven. There's no fake for ",[444,1185,450],{},"; run the real server instead.",[562,1188,1190],{"id":1189},"errors","Errors",[440,1192,1193,1194,1197,1198,461],{},"All extend ",[444,1195,1196],{},"TranslationsError"," and carry their own ",[444,1199,1200],{},"statusCode",[463,1202,1203,1216],{},[466,1204,1205],{},[469,1206,1207,1210,1213],{},[472,1208,1209],{},"Error",[472,1211,1212],{},"Status",[472,1214,1215],{},"Raised when",[482,1217,1218,1230,1242,1257,1269,1281],{},[469,1219,1220,1225,1227],{},[487,1221,1222],{},[444,1223,1224],{},"UndefinedLocaleError",[487,1226,1182],{},[487,1228,1229],{},"No locale, or one the consumer never declared",[469,1231,1232,1237,1239],{},[487,1233,1234],{},[444,1235,1236],{},"UndefinedVendorError",[487,1238,966],{},[487,1240,1241],{},"Config names an unregistered vendor",[469,1243,1244,1248,1250],{},[487,1245,1246],{},[444,1247,962],{},[487,1249,966],{},[487,1251,1252,1253,1256],{},"The vendor's config can't work; ",[444,1254,1255],{},"problems"," lists why",[469,1258,1259,1264,1266],{},[487,1260,1261],{},[444,1262,1263],{},"UndefinedLocaleProviderError",[487,1265,966],{},[487,1267,1268],{},"The vendor doesn't hold a locale the config claims",[469,1270,1271,1275,1278],{},[487,1272,1273],{},[444,1274,936],{},[487,1276,1277],{},"502",[487,1279,1280],{},"The vendor failed. Always 502: the locale is checked first, so no upstream answer is the caller's fault",[469,1282,1283,1288,1290],{},[487,1284,1285],{},[444,1286,1287],{},"TranslationsUnavailableError",[487,1289,1277],{},[487,1291,1292],{},"Any other read failure, such as a mapping bug",[562,1294,1296],{"id":1295},"known-gaps","Known gaps",[463,1298,1299,1309],{},[466,1300,1301],{},[469,1302,1303,1306],{},[472,1304,1305],{},"Gap",[472,1307,1308],{},"Note",[482,1310,1311,1319],{},[469,1312,1313,1316],{},[487,1314,1315],{},"No locale fallback or local overrides",[487,1317,1318],{},"Add a service over the port when there's behaviour to put in it",[469,1320,1321,1326],{},[487,1322,1323,1324],{},"Vendor plumbing duplicated with ",[444,1325,559],{},[487,1327,1328,1329,1102],{},"Deliberate until a third consumer (",[453,1330,1332],{"href":1331},"\u002Fwiki\u002Fdocs\u002Faudits\u002F2026-10-21-monorepo","D2",[1334,1335,1336],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}",{"title":575,"searchDepth":656,"depth":656,"links":1338},[1339,1340,1341,1342,1343,1344,1345,1346],{"id":564,"depth":656,"text":565},{"id":578,"depth":656,"text":579},{"id":754,"depth":656,"text":755},{"id":745,"depth":656,"text":939},{"id":970,"depth":656,"text":971},{"id":1121,"depth":656,"text":1122},{"id":1189,"depth":656,"text":1190},{"id":1295,"depth":656,"text":1296},"A vendor-neutral client for locale messages: a framework-agnostic core plus an optional Nuxt module\nthat wires a TMS into @nuxtjs\u002Fi18n behind a cached server route. Vendors: internal (our own\ntranslations server) and tolgee.","md",null,{},{"title":431,"description":1347},"packages\u002Fi18n\u002FREADME","tCCsoAylrJpviQiyigL-cg_NHEQhR1K5TUAxsh_mBuI",1795478400190]