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.

536 B
Raw Blame
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'],
});