( store: CliServerConnectionStore, name: string, )
| 218 | }); |
| 219 | |
| 220 | export const findCliServerConnectionProfile = ( |
| 221 | store: CliServerConnectionStore, |
| 222 | name: string, |
| 223 | ): CliServerConnectionProfile | null => { |
| 224 | const profileName = validateCliServerConnectionProfileName(name); |
| 225 | return store.profiles.find((profile) => profile.name === profileName) ?? null; |
| 226 | }; |
| 227 | |
| 228 | export const defaultCliServerConnectionProfile = ( |
| 229 | store: CliServerConnectionStore, |
no test coverage detected