| 1 | import { |
| 2 | AtSymbolIcon, |
| 3 | CodeBracketIcon, |
| 4 | GlobeAltIcon, |
| 5 | SparklesIcon, |
| 6 | } from "@heroicons/react/24/outline"; |
| 7 | |
| 8 | export interface RuleTemplate { |
| 9 | icon: React.ComponentType<{ className?: string }>; |
| 10 | title: string; |
| 11 | template: string; |
| 12 | } |
| 13 | |
| 14 | export const ruleTemplates: RuleTemplate[] = [ |
| 15 | { |
| 16 | icon: GlobeAltIcon, |
| 17 | title: "Always Applied", |
| 18 | template: "Create an always applied rule where for all files...", |
| 19 | }, |
| 20 | { |
| 21 | icon: CodeBracketIcon, |
| 22 | title: "Auto attached", |
| 23 | template: |
| 24 | "Create an auto-attached rule where for all {FILE_EXTENSIONS} files...", |
| 25 | }, |
| 26 | { |
| 27 | icon: SparklesIcon, |
| 28 | title: "Agent Requested", |
| 29 | template: "Create an agent requested rule where...", |
| 30 | }, |
| 31 | { |
| 32 | icon: AtSymbolIcon, |
| 33 | title: "Manual", |
| 34 | template: "Create a manually requested rule where...", |
| 35 | }, |
| 36 | ]; |