{"id":"frontend.yui--RenderYuiQaArtifactContract","name":"RenderYuiQaArtifactContract","owner":"yeho","package":"frontend.yui","kind":"function","signature":"external RenderYuiQaArtifactContract(uiSurfaceState surface) returns text","description":"Format yui qa artifact contract as readable text.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[{"name":"surface","type":"uiSurfaceState","description":"Supply surface as uiSurfaceState."}],"returns":"text","members":[],"tags":["cpu","frontend","frontend.yui","function","source-example","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/yui.yh","line":127,"sha256":"73c59176336aea1fab23870dadef347e6f9e601b511e1ac8bfd2fc5919023bf5"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use RenderYuiQaArtifactContract","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using frontend.yui\n\n// Turn YUI models into a working frontend and its rendering/input adapters.\nuiSurfaceState surface = uiSurfaceState(\"id\", 1, 1, 1, 1, 1, \"root\")\ntext result = RenderYuiQaArtifactContract(surface)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__renderyuiqaartifactcontract\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"2be5f6449c78b72e4a14e3b9b1d2a30e3c234f6d5b0227c78d1b4135014635bc","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--RenderYuiQaArtifactContract","json":"https://demonhunterlabs.com/reference/items/frontend.yui--RenderYuiQaArtifactContract.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--RenderYuiQaArtifactContract.md"}
