Skip to content

Commit

Permalink
jwt: Deprecate the profile fields in favor of the user_profile
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
thgreasi committed Oct 9, 2023
1 parent a9a082a commit 59fd116
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/types/jwt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,23 @@ export interface JWTUser {
/** @deprecated */
features?: string[];

/** @deprecated Use the user_profile resource */
first_name?: string;
/** @deprecated Use the user_profile resource */
last_name?: string;
/** @deprecated Use the user_profile resource */
email?: string;
/** @deprecated Use the user_profile resource */
account_type?: string;
/** @deprecated Use the user_profile resource */
company?: string;
/** @deprecated Use the user_profile resource */
has_disabled_newsletter?: boolean;
/** @deprecated Use the user_profile resource */
hasPasswordSet?: boolean;
/** @deprecated Use the user_profile resource */
must_be_verified?: boolean;
/** @deprecated Use the user_profile resource */
is_verified?: boolean;

/** @deprecated */
Expand Down

0 comments on commit 59fd116

Please sign in to comment.