Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

655 B
Raw Blame
import { storageServiceClient } from '@service-storage/client';
import {
  fetchCrmContactPreviews as fetchContacts,
  fetchCrmPipelinePreviews as fetchPipelines,
  fetchCrmCompanyPreviews as fetchPreviews,
} from './queries/previews';
export function fetchCrmCompanyPreviews(ids: string[]) {
  return fetchPreviews((input) => storageServiceClient.getCompany(input), ids);
}

export function fetchCrmContactPreviews(ids: string[]) {
  return fetchContacts((input) => storageServiceClient.getContact(input), ids);
}

export function fetchCrmPipelinePreviews(ids: string[]) {
  return fetchPipelines((id) => storageServiceClient.getCrmPipeline(id), ids);
}