import { Fabric } from '@fbrc/sdk'; if (!process.env.FABRIC_API_KEY) { throw new Error('FABRIC_API_KEY is not set'); } if (!process.env.FABRIC_DEV_WORKSPACE_ID) { throw new Error('FABRIC_DEV_WORKSPACE_ID is not set'); } export const api = new Fabric({ apiKey: process.env.FABRIC_API_KEY, basePath: process.env.FABRIC_BASE_PATH ?? undefined, workspaceId: process.env.FABRIC_DEV_WORKSPACE_ID, });