( headers: Record<string, PluginHeaderValue> | undefined, )
| 29 | }; |
| 30 | |
| 31 | export const headersToConfigValues = ( |
| 32 | headers: Record<string, PluginHeaderValue> | undefined, |
| 33 | ): Record<string, ConfigHeaderValue> | undefined => { |
| 34 | if (!headers) return undefined; |
| 35 | const out: Record<string, ConfigHeaderValue> = {}; |
| 36 | for (const [k, v] of Object.entries(headers)) out[k] = headerToConfigValue(v); |
| 37 | return out; |
| 38 | }; |
| 39 | |
| 40 | export interface ConfigFileSink { |
| 41 | readonly upsertIntegration: (integration: IntegrationConfig) => Effect.Effect<void>; |
nothing calls this directly
no test coverage detected