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.

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

export const accessRequestKeys = createQueryKeys('accessRequests', {
  entity: (entityType: string, entityId: string) => ({
    queryKey: [entityType, entityId],
    contextQueries: {
      state: (offset: number) => ({ queryKey: ['state', offset] }),
      grants: null,
    },
  }),
});