{
  "repo": "pingcap/ossinsight-next",
  "binary": "ossinsight-web",
  "binary_path": "web/package.json",
  "dependencies": {
    "HTTP GET /": {
      "infrastructure": {
        "tidbcloud_serverless": {
          "conditions": [
            "The web frontend reads live data from the configured serverless database."
          ],
          "operations": [
            {
              "operation": "Query live data",
              "trigger": "Render or refresh web pages.",
              "implementation": "web/package.json workspace runtime"
            }
          ]
        }
      },
      "services": [
        {
          "name": "@ossinsight/widgets-core",
          "target_repo": "pingcap/ossinsight-next",
          "target_interface": "workspace widget packages",
          "operation_type": "library",
          "conditions": [
            "The web frontend renders workspace widgets."
          ],
          "operations": [
            {
              "operation": "Consume workspace widget packages",
              "trigger": "Render the frontend.",
              "implementation": "web/package.json"
            }
          ]
        }
      ]
    }
  }
}
