Skip to content
13 linesCodeBlameRaw
1/**
2 * What the Marketplace's pages read besides the layout's: what the
3 * workspace has connected, and what this g1t can't connect, with why
4 * (lib/connected.server.ts).
5 */
6import type { User } from "@g1t/contracts";
7
8import type { ConnectedState } from "./connectors";
9import { workspaceConnections } from "./connected.server";
10
11export async function loadConnected(slug: string, viewer: User): Promise<{ connected: Record<string, ConnectedState>; unavailable: Record<string, string> }> {
12 return workspaceConnections(slug, viewer);
13}