(type: string)
| 123 | } |
| 124 | |
| 125 | getCredentialsByType(type: string): APICredential[] { |
| 126 | return Object.keys(this.#credentials) |
| 127 | .filter(k => this.#credentials[k].type == type) |
| 128 | .map(k => this.#credentials[k]); |
| 129 | } |
| 130 | |
| 131 | getCredentialSelections(): Selection[] { |
| 132 | return Object.values(this.#credentials).map(v => ({name: v.name, value: v})); |
no outgoing calls
no test coverage detected