(id: string)
| 63 | } |
| 64 | |
| 65 | export function getPrompt(id: string): Prompt | undefined { |
| 66 | return loadPrompts().find((p) => p.id === id); |
| 67 | } |
| 68 | |
| 69 | export function upsertPrompt(prompt: Prompt): void { |
| 70 | const prompts = loadPrompts(); |
no test coverage detected