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.

626 B
Raw Blame
import { t } from '@app/lib/i18n';
import type { TimestampedItem } from '@core/util/freshSort';

export type CreateProjectCommandItem = {
  id: 'new-project';
  kind: 'new-project';
  bucket: 'command';
  searchText: string;
  sortTimestamp: number;
  timestamps: TimestampedItem;
};

export const newProjectCommand: CreateProjectCommandItem = {
  id: 'new-project',
  kind: 'new-project',
  bucket: 'command',
  // Searched in the interface language, so read at match time.
  get searchText() {
    return t('create.createNewProject');
  },
  sortTimestamp: 0,
  timestamps: { viewedAt: undefined, updatedAt: undefined },
};