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.

483 B
Raw Blame
import { hidePromotion } from '@app/features/sidebar-promotion/primitives/promotion';
import type { ImportCategory } from '../core/providers';

export function importPromotionId(category: ImportCategory): string {
  return `import:${category}`;
}

/** Used by a confirmed import; dismissal goes through the card itself. */
export function hideImportPromotion(
  userId: string | undefined,
  category: ImportCategory
): void {
  hidePromotion(userId, importPromotionId(category));
}