Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
import { createQueryKeys } from '@lukemorales/query-key-factory';
import type { ChannelLabelScopeSelection } from '@service-storage/generated/schemas/channelLabelScopeSelection';
export const channelLabelKeys = createQueryKeys('channel-labels', {
list: (scope?: ChannelLabelScopeSelection, actorId?: string) => [
scope ?? 'default',
actorId ?? 'signed-out',
],
preview: (
pattern: string,
scope?: ChannelLabelScopeSelection,
actorId?: string
) => [scope ?? 'default', pattern, actorId ?? 'signed-out'],
});