( store: CliServerConnectionStore, name: string, )
| 212 | }); |
| 213 | |
| 214 | export const findCliServerConnectionProfile = ( |
| 215 | store: CliServerConnectionStore, |
| 216 | name: string, |
| 217 | ): CliServerConnectionProfile | null => { |
| 218 | const profileName = validateCliServerConnectionProfileName(name); |
| 219 | return store.profiles.find((profile) => profile.name === profileName) ?? null; |
| 220 | }; |
| 221 | |
| 222 | export const defaultCliServerConnectionProfile = ( |
| 223 | store: CliServerConnectionStore, |
no test coverage detected