The data root's install identity, public (auth: none): the web app compares it against localStorage before React mounts, before anyone is signed in. Mounted in the PLATFORM because a push carries platform + web dist together, so the route and its caller move as one.
API
@Component({
contributes: {
"HttpModule.routes": [
{
id: "InstallRoutes.routes",
prefix: "/api/install",
auth: "none",
order: 5,
},
],
},
})
export class InstallRoutes {
@Use() private readonly config!: Config;
@Bind("InstallRoutes.routes") routes!: Hono<AppEnv>;
setup();
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (1)
routes → InstallRoutes.routes: Hono<AppEnv>Contributes
{
"HttpModule.routes": [
{
"id": "InstallRoutes.routes",
"prefix": "/api/install",
"auth": "none",
"order": 5
}
]
}Target slots: HttpModule.routes · View HTTP endpoints (1) →
Methods (1)
setup
setup()