Skip to content

Commit

Permalink
Add AuthenticatedUserData type
Browse files Browse the repository at this point in the history
  • Loading branch information
Regalijan committed Jun 8, 2024
1 parent 9e7d304 commit 7b58c02
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,12 @@ declare module "noblox.js" {
IsPremium: boolean
}

interface AuthenticatedUserData {
id: number;
name: string;
displayName: string;
}

interface UserLoginApiData {
userId: number;
}
Expand Down
9 changes: 9 additions & 0 deletions typings/jsDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1380,6 +1380,15 @@ type LoggedInUserData = {
IsPremium: boolean
}

/**
* @typedef
*/
type AuthenticatedUserData = {
id: number;
name: string;
displayName: string;
}

/**
* @typedef
*/
Expand Down

0 comments on commit 7b58c02

Please sign in to comment.