Skip to content

Commit

Permalink
Add comments to onyx types
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Oct 20, 2023
1 parent cdb976d commit e2f5dc7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/types/onyx/Credentials.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
type Credentials = {
/** The email/phone the user logged in with */
login?: string;

/** The password the user logged in with */
password?: string;

/** The two factor auth code */
twoFactorAuthCode?: string;

/** The validate code */
validateCode?: string;

/** The auto-generated login. */
autoGeneratedLogin?: string;

/** The auto-generated password. */
autoGeneratedPassword?: string;

/** The user's ID */
accountID?: number;

/** The user's ID for external integration */
partnerUserID?: string;

/** The user's secret for external integration */
partnerUserSecret?: string;
};

Expand Down
2 changes: 2 additions & 0 deletions src/types/onyx/Session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ type Session = {
/** Currently logged in user authToken */
authToken?: string;

/** Currently logged in user authToken type */
authTokenType?: string;

/** Currently logged in user support authToken */
supportAuthToken?: string;

/** Currently logged in user encrypted authToken */
Expand Down

0 comments on commit e2f5dc7

Please sign in to comment.