Typeplugin-linked-rolesv0.1.0
LinkedRolesResult
How a visit to the callback route ended. It's a ConnectionResult, or one of these:
denied: the visitor pressed cancel on Discord's consent screen, or Discord refused the request.erroris Discord's reason, likeaccess_denied.invalid: the link expired, the page was reloaded, or the visit didn't come from a link that this browser opened.failed: something threw, like the token exchange, yourvalues, or the write to Discord.erroris what was thrown.
type LinkedRolesResult =
ConnectionResult | ExcludeStrict<FailedLogin, { kind: "unlisted" }>;