| 1 | // The web UI: what a valley host publishes to a web server, and what that |
| 2 | // server shows of it. Package export is the contract the publisher and the |
| 3 | // server share: the public export, its signed manifest, and the upload |
| 4 | // between them. |
| 5 | module the-valley/webui |
| 6 | |
| 7 | go 1.24 |
| 8 | |
| 9 | require ( |
| 10 | the-valley/exactjson v0.0.0 |
| 11 | the-valley/knot v0.0.0 |
| 12 | the-valley/note v0.0.0 |
| 13 | ) |
| 14 | |
| 15 | // The plan graph's names and IDs are read by the rules the graph is |
| 16 | // written by (../knot), and the manifest is a signed note read the way |
| 17 | // every verifier reads one (../note). The publisher reads a web visibility |
| 18 | // declaration's export with exactjson (../exactjson), which holds every |
| 19 | // key to the spelling of its field. All three live in this repository and |
| 20 | // are never fetched. |
| 21 | replace ( |
| 22 | the-valley/exactjson => ../exactjson |
| 23 | the-valley/knot => ../knot |
| 24 | the-valley/note => ../note |
| 25 | ) |