(config: ImageGenConfig)
| 73 | } |
| 74 | |
| 75 | export function saveImageGenConfig(config: ImageGenConfig): void { |
| 76 | localStorage.setItem(CONFIG_KEY, JSON.stringify(config)); |
| 77 | } |
| 78 | |
| 79 | /** Parse custom headers, adding x-custom- prefix */ |
| 80 | function parseCustomHeaders(raw?: string): Record<string, string> { |
no outgoing calls
no test coverage detected