( store: CliServerConnectionStore, name: string, )
| 230 | }); |
| 231 | |
| 232 | export const findCliServerConnectionProfile = ( |
| 233 | store: CliServerConnectionStore, |
| 234 | name: string, |
| 235 | ): CliServerConnectionProfile | null => { |
| 236 | const profileName = validateCliServerConnectionProfileName(name); |
| 237 | return store.profiles.find((profile) => profile.name === profileName) ?? null; |
| 238 | }; |
| 239 | |
| 240 | export const defaultCliServerConnectionProfile = ( |
| 241 | store: CliServerConnectionStore, |
no test coverage detected