(input: {
readonly fileValues: Record<string, string>;
readonly keychainValues: ReadonlyArray<{ readonly id: string; readonly value: string }>;
})
| 1341 | }; |
| 1342 | |
| 1343 | const writeMigratedSecrets = async (input: { |
| 1344 | readonly fileValues: Record<string, string>; |
| 1345 | readonly keychainValues: ReadonlyArray<{ readonly id: string; readonly value: string }>; |
| 1346 | }): Promise<void> => { |
| 1347 | const newKeychain = makeKeychainProvider(keychainBaseServiceName()); |
| 1348 | for (const entry of input.keychainValues) { |
| 1349 | await Effect.runPromise(newKeychain.set!(entry.id as never, entry.value)); |
| 1350 | } |
| 1351 | writeFlatAuthFile(resolveFileAuthPath(), input.fileValues); |
| 1352 | }; |
| 1353 | |
| 1354 | interface MigrationExpectedCounts { |
| 1355 | readonly integrations: number; |
no test coverage detected