// Shared fixtures

const TRANSCRIPTIONS = [
  {
    id: 1,
    time: "Just now",
    duration: "0:18",
    app: "Messages",
    text: "Hey Léa — just landed. Can we push the call to 4pm? I want to walk you through the new onboarding flow before we show Marco.",
    words: 29,
  },
  {
    id: 2,
    time: "12 min ago",
    duration: "1:42",
    app: "Notion",
    text: "Weekly review. The thing I keep coming back to is that our activation rate hinges on the first dictation feeling instant. If there's any perceived latency in the first 200ms, users drop off. We should ship the pre-warmed model path this sprint.",
    words: 48,
  },
  {
    id: 3,
    time: "48 min ago",
    duration: "0:34",
    app: "Mail",
    text: "Thanks for the detailed brief. I've read through it twice and I think we're aligned on the scope. Let me loop in Aarav so we can get the engineering estimate by Friday.",
    words: 33,
  },
  {
    id: 4,
    time: "Today, 09:12",
    duration: "2:11",
    app: "Linear",
    text: "Bug: when the notch overlay is active on external displays, the Alt key press state gets stuck if you switch spaces mid-dictation. Repro: start dictating on display 1, Ctrl+right to display 2, release Alt.",
    words: 41,
  },
  {
    id: 5,
    time: "Yesterday",
    duration: "0:08",
    app: "Slack",
    text: "Ship it 🚀",
    words: 2,
  },
  {
    id: 6,
    time: "Yesterday",
    duration: "0:52",
    app: "Obsidian",
    text: "Idea — what if we treated the Alt keycap itself as the primary metaphor for the whole product? Hold Alt, speak, release. No pill, no modal, just the key.",
    words: 31,
  },
];

const STYLE_PRESETS = [
  { id: "natural", name: "Natural", desc: "Light cleanup, preserve voice" },
  { id: "crisp", name: "Crisp", desc: "Tight, professional, no filler" },
  { id: "casual", name: "Casual", desc: "Friendly, contractions, warm" },
  { id: "bullets", name: "Bullets", desc: "Turn speech into a list" },
  { id: "email", name: "Email", desc: "Greeting, body, sign-off" },
  { id: "raw", name: "Raw", desc: "Verbatim, no edits" },
];

const DICTIONARY = [
  "globefn",
  "Léa Moreau",
  "Whisper.cpp",
  "Parakeet",
  "Electron",
  "Marcelin",
  "Obsidian",
  "sherpa-onnx",
  "TanStack",
  "oklch",
  "Railway",
];

const TRANSFORMS = [
  { id: "tr1", name: "Meeting recap", desc: "Turn dictation into a summary with action items", shortcut: "⌘1" },
  { id: "tr2", name: "Commit message", desc: "Conventional commit format", shortcut: "⌘2" },
  { id: "tr3", name: "Bug report", desc: "Repro · Expected · Actual", shortcut: "⌘3" },
  { id: "tr4", name: "Translate → FR", desc: "Translate to French, match register", shortcut: "⌘4" },
];

Object.assign(window, { TRANSCRIPTIONS, STYLE_PRESETS, DICTIONARY, TRANSFORMS });
