Skip to content

Commit

Permalink
Mark 'id' as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk committed Dec 13, 2024
1 parent fcedbd9 commit c636ee6
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export type Connection = {
enabled: boolean;
external_handle: string;
external_id: string;
id: string;
profile_link: string;
profile_picture: string;
service_label: string;
Expand Down Expand Up @@ -36,6 +35,10 @@ export type Connection = {
* @deprecated Use `external_handle` instead.
*/
external_name?: string;
/**
* @deprecated Use `connection_id` instead.
*/
id?: string;
/**
* @deprecated Use `status` instead.
*/
Expand All @@ -51,11 +54,11 @@ export type Connection = {
/**
* @deprecated
*/
toggleable: boolean;
toggleable?: boolean;
/**
* @deprecated Use `external_handle` instead.
*/
username: string;
username?: string;
};

export type ConnectionData = {
Expand Down

0 comments on commit c636ee6

Please sign in to comment.