{
  "repo": "tidbcloud/rap3-server",
  "binary": "rap3-server",
  "binary_path": "src/dispatch.ts",
  "dependencies": {
    "Runtime RAP3Server.APIRuntime": {
      "description": "Serves RAP3 account, organization, repository, export, and mock APIs through a Koa application and clustered worker runtime.",
      "infrastructure": {
        "mysql": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Persist repository, organization, account, version, and mock data",
              "trigger": "Koa route handlers and services",
              "implementation": "src/routes/*.ts"
            }
          ]
        },
        "redis": {
          "conditions": [
            "Session storage or background tasks enabled"
          ],
          "operations": [
            {
              "operation": "Store sessions and support task queue/cache flows",
              "trigger": "koa-redis / autoImportQueue / startTask",
              "implementation": "src/scripts/app.ts"
            }
          ]
        },
        "local_filesystem": {
          "conditions": [
            "Static assets or export artifacts requested"
          ],
          "operations": [
            {
              "operation": "Serve static public/test assets and export generated documentation files",
              "trigger": "koa-static / export routes",
              "implementation": "src/scripts/app.ts"
            }
          ]
        }
      },
      "services": []
    }
  }
}
