Files

16 lines
475 B
TypeScript

import type { PluginClientContext } from "@getpaseo/plugin/client";
import { HostGroupedSidebarView } from "./client/host-sidebar-view";
export default function contribute(client: PluginClientContext) {
const disposeSidebarView = client.addSidebarView({
id: "hosts",
title: "Group by host",
description: "Group workspaces, agents, and projects by connected host",
Component: HostGroupedSidebarView,
});
return () => {
disposeSidebarView();
};
}