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.

460 B
Raw Blame
import { createQueryKeys } from '@lukemorales/query-key-factory';

export const documentLoadKeys = createQueryKeys('documentLoad', {
  bundle: (documentId: string) => ({
    queryKey: [documentId],
  }),
  offlineContext: (userId: string, epoch: string, documentId: string) => ({
    queryKey: [userId, epoch, documentId],
  }),
  authorizedBundle: (userId: string, epoch: string, documentId: string) => ({
    queryKey: [userId, epoch, documentId],
  }),
});