feat: support batch adding accounts via JSON token files#111
feat: support batch adding accounts via JSON token files#111JPClaw12 wants to merge 1 commit intoicebear0828:masterfrom
Conversation
|
Thanks for the contribution! 🙏 We already have JSON import/export built into the account list section ( The field normalization part ( Closing this as duplicate, but appreciate the effort! |
|
Update: reopened — sorry about the premature close. The duplicate header button we'll skip, but the field normalization ( Could you update the PR to:
That way we get the format compatibility improvement without duplicating the import UI. Let us know if you'd like us to handle this instead! |
Summary
This PR adds a batch account import flow from JSON token files in the web dashboard.
Changes
{ accounts: [...] }token/access_tokenandrefreshToken/refresh_token/auth/accounts/importendpoint for batch importValidation
npm run buildpassednpm teststill has unrelated existing failures:src/tls/__tests__/setup-curl-arch.test.ts(spawnSync npx ENOENT)packages/electron/__tests__/build.test.ts(missingpackages/electron/dist-electron/server.mjsoutput path)Attribution
Request
@icebear0828 Please help review and merge if the implementation looks good.