发布

  • [OPIK-5206] [FE] feat: enable workspace version endpoint integration (#5970)

    frostbyte_neo 发布于 2026-03-30 15:36:28 +00:00

    Enable the previously scaffolded workspace version API call by:

    • Removing the early return with TODO placeholder (OPIK-5171 is now implemented)
    • Fixing endpoint path from "version" to "versions" to match BE
    • Fixing response type to match BE snake_case contract:
      { opik_version: "version_1" | "version_2" }

    The WorkspaceVersionGate and WorkspaceVersionResolver already consume
    this via fetchWorkspaceVersion/useWorkspaceVersionQuery — enabling the
    fetch is all that's needed.

    下载附件