feat(types)!: add two_way_link to DiscordConnection (#2481)

When the connection has a corresponding thrid party OAuth2 token
`two_way_link` will be set to `true`.

Reference: https://github.com/discordeno/discordeno/issues/2479

Closes: #2479
This commit is contained in:
ITOH
2022-09-17 17:06:45 -04:00
committed by GitHub
parent c8275fcadc
commit 23771ea949
+2
View File
@@ -99,6 +99,8 @@ export interface DiscordConnection {
/** An array of partial server integrations */
integrations?: DiscordIntegration[];
/** Whether this connection has a corresponding third party OAuth2 token. */
two_way_link: boolean;
}
/** https://discord.com/developers/docs/resources/user#connection-object-services */