| 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. The publisher reads who may read a project through |
| 5 | // readaccess, and the host declaration with exactjson. Package export |
| 6 | // reads export.json with exactjson too. |
| 7 | module the-valley/web |
| 8 | |
| 9 | go 1.24 |
| 10 | |
| 11 | require ( |
| 12 | the-valley/exactjson v0.0.0 |
| 13 | the-valley/knot v0.0.0 |
| 14 | the-valley/note v0.0.0 |
| 15 | the-valley/readaccess v0.0.0 |
| 16 | ) |
| 17 | |
| 18 | // The plan graph's names and IDs are read by the rules the graph is |
| 19 | // written by (../knot), the manifest is a signed note read the way every |
| 20 | // verifier reads one (../note), and the two consents to read access are |
| 21 | // read and evaluated by ../readaccess. readaccess reads cue's exports with |
| 22 | // exactjson (../exactjson), the publisher the host declaration, and |
| 23 | // package export export.json. All four live in this repository and are never fetched. |
| 24 | replace ( |
| 25 | the-valley/exactjson => ../exactjson |
| 26 | the-valley/knot => ../knot |
| 27 | the-valley/note => ../note |
| 28 | the-valley/readaccess => ../readaccess |
| 29 | ) |