{
  "repo": "tidbcloud/tiinsight",
  "binary": "tiinsight-web",
  "binary_path": "package.json",
  "surface_kind": "http_service",
  "type": "http_service",
  "services": [
    {
      "name": "TiInsightWebApp",
      "type": "runtime",
      "methods": [
        {
          "name": "ServeApp",
          "name_key": "Runtime TiInsightWebApp.ServeApp",
          "description": "Serve the Next.js application together with its tRPC gateway and document handlers."
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "package.json defines next dev, build, and start scripts.",
      "pages/api/gateway/[trpc].ts and pages/api/doc.ts confirm active server-side API handling."
    ]
  }
}
