(auth: OnePasswordAuth)
| 195 | // --------------------------------------------------------------------------- |
| 196 | |
| 197 | const resolveAuth = (auth: OnePasswordAuth): ResolvedAuth => |
| 198 | auth.kind === "desktop-app" |
| 199 | ? { kind: "desktop-app", accountName: auth.accountName } |
| 200 | : { kind: "service-account", token: auth.token }; |
| 201 | |
| 202 | /** Cache keys with structural equality (`Data.Class`), one per auth shape so |
| 203 | * the two kinds can never collide. Every account row carrying the same |
no outgoing calls
no test coverage detected