| 1 | /** |
| 2 | * What the Marketplace's pages read besides the layout's: what the |
| 3 | * workspace has connected (lib/connected.server.ts). |
| 4 | */ |
| 5 | import type { User } from "@g1t/contracts"; |
| 6 | |
| 7 | import type { ConnectedState } from "./connectors"; |
| 8 | import { connectedStates } from "./connected.server"; |
| 9 | |
| 10 | export async function loadConnected(slug: string, viewer: User): Promise<Record<string, ConnectedState>> { |
| 11 | return connectedStates(slug, viewer); |
| 12 | } |