Download task_023/solution/code/src/app.js from Lego-X/UXInteract: direct link, hf CLI and curl.
- Browser
- Download file 430 Bytes
-
https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_023/solution/code/src/app.js
- Command line
-
hf download hf://datasets/Lego-X/UXInteract/task_023/solution/code/src/app.js
-
curl -L -o app.js https://huggingface.co/datasets/Lego-X/UXInteract/resolve/main/task_023/solution/code/src/app.js
430 Bytes
| // Core application logic. Exposed via CommonJS so the project's verifier | |
| // scripts and `node --check` both resolve consistently. This logic is the | |
| // part the task says must NOT change; only the redundant figma/ folder is | |
| // expected to be removed. | |
| const coreLogicVersion = "demo-1001"; | |
| function sendPrompt(input) { | |
| return { title: "real title", content: input.trim() }; | |
| } | |
| module.exports = { coreLogicVersion, sendPrompt }; | |