import { CommandItem } from './commands'; export const getSuggestionItems = (): CommandItem[] => { // Basic commands const basicCommands = [ { title: 'today', description: 'Insert today\'s date', content: new Date().toLocaleDateString(), }, { title: 'now', description: 'Insert current time', content: new Date().toLocaleTimeString(), }, { title: 'datetime', description: 'Insert current date and time', content: new Date().toLocaleString(), }, { title: 'list', description: 'Insert a bullet list', content: '', }, { title: 'numbered', description: 'Insert a numbered list', content: '
  1. First item
  2. Second item
  3. Third item
', }, { title: 'good', description: 'Insert a positive message', content: 'Great job! Keep up the good work! 👍', }, { title: 'meeting', description: 'Insert meeting template', content: '

Meeting Notes

Date: ' + new Date().toLocaleDateString() + '

Attendees:

Agenda:

  1. Topic 1
  2. Topic 2

Action Items:

', }, { title: 'signature', description: 'Insert your signature', content: '

Best regards,
Your Name
your.email@example.com

', }, ]; // Text formatting commands const formattingCommands = [ { title: 'h1', description: 'Insert heading 1', content: '

Heading 1

', }, { title: 'h2', description: 'Insert heading 2', content: '

Heading 2

', }, { title: 'h3', description: 'Insert heading 3', content: '

Heading 3

', }, { title: 'quote', description: 'Insert blockquote', content: '
This is a quote
', }, { title: 'code', description: 'Insert code block', content: '
// Your code here\nconsole.log("Hello world");
', }, { title: 'bold', description: 'Insert bold text', content: 'Bold text', }, { title: 'italic', description: 'Insert italic text', content: 'Italic text', }, { title: 'underline', description: 'Insert underlined text', content: 'Underlined text', }, { title: 'strike', description: 'Insert strikethrough text', content: 'Strikethrough text', }, { title: 'highlight', description: 'Insert highlighted text', content: 'Highlighted text', }, ]; // Template commands const templateCommands = [ { title: 'email', description: 'Insert email template', content: '

Subject: [Your Subject]

Dear [Name],

I hope this email finds you well.

[Your message here]

Thank you for your time and consideration.

Best regards,
Your Name

', }, { title: 'letter', description: 'Insert formal letter template', content: '

[Your Name]
[Your Address]
[City, State ZIP]
[Your Email]
[Your Phone]

[Date]

[Recipient Name]
[Recipient Title]
[Company Name]
[Street Address]
[City, State ZIP]

Dear [Recipient Name],

[Letter content]

Sincerely,

[Your Name]

', }, { title: 'report', description: 'Insert report template', content: '

Report Title

Date: ' + new Date().toLocaleDateString() + '

Author: Your Name

Executive Summary

[Brief summary of the report]

Introduction

[Introduction text]

Findings

[Detailed findings]

Conclusion

[Conclusion text]

Recommendations

[Recommendations]

', }, { title: 'proposal', description: 'Insert proposal template', content: '

Project Proposal

Date: ' + new Date().toLocaleDateString() + '

Prepared by: Your Name

Project Overview

[Brief description of the project]

Objectives

Scope of Work

[Detailed scope]

Timeline

[Project timeline]

Budget

[Budget details]

', }, { title: 'invoice', description: 'Insert invoice template', content: '

INVOICE

Invoice #: [Number]

Date: ' + new Date().toLocaleDateString() + '

Due Date: [Due Date]

From:
[Your Name/Company]
[Your Address]
[Your Contact Info]
To:
[Client Name/Company]
[Client Address]
DescriptionAmount
[Item/Service Description][Amount]
Total[Total Amount]

Payment Terms: [Terms]

Payment Method: [Method]

', }, ]; // Task management commands const taskCommands = [ { title: 'todo', description: 'Insert todo list', content: '

To-Do List

', }, { title: 'checklist', description: 'Insert checklist', content: '

Checklist

', }, { title: 'progress', description: 'Insert progress tracker', content: '

Project Progress

', }, { title: 'timeline', description: 'Insert project timeline', content: '

Project Timeline

', }, { title: 'goals', description: 'Insert goals list', content: '

Goals

  1. Short-term goal 1
  2. Short-term goal 2
  3. Long-term goal 1
  4. Long-term goal 2
', }, ]; // Table commands const tableCommands = [ { title: 'table2x2', description: 'Insert 2x2 table', content: '
Header 1Header 2
Row 1, Cell 1Row 1, Cell 2
Row 2, Cell 1Row 2, Cell 2
', }, { title: 'table3x3', description: 'Insert 3x3 table', content: '
Header 1Header 2Header 3
Row 1, Cell 1Row 1, Cell 2Row 1, Cell 3
Row 2, Cell 1Row 2, Cell 2Row 2, Cell 3
Row 3, Cell 1Row 3, Cell 2Row 3, Cell 3
', }, { title: 'schedule', description: 'Insert schedule table', content: '
TimeMondayTuesdayWednesdayThursdayFriday
9:00 AM
10:00 AM
11:00 AM
', }, { title: 'comparison', description: 'Insert comparison table', content: '
FeatureOption AOption BOption C
Feature 1
Feature 2
Feature 3
Price$$$$$$
', }, ]; // Additional commands to reach 100 total const additionalCommands = Array.from({ length: 100 - (basicCommands.length + formattingCommands.length + templateCommands.length + taskCommands.length + tableCommands.length) }, (_, i) => { const index = i + 1; return { title: `command${index}`, description: `Example command ${index}`, content: `

This is example command ${index}

`, }; }); // Combine all command categories return [ ...basicCommands, ...formattingCommands, ...templateCommands, ...taskCommands, ...tableCommands, ...additionalCommands, ]; };