Skip to content

Interface User

🏷️ Properties

avatar_url optional

ts
avatar_url: string

The user's avatar url; uses github's icons

Defined in: packages/modrinth/types.ts:25

bio

ts
bio: string

A description of the user

Defined in: packages/modrinth/types.ts:29

created

ts
created: Date

The time at which the user was created

Defined in: packages/modrinth/types.ts:33

email optional

ts
email: string

The user's email; only visible to the user themself

Defined in: packages/modrinth/types.ts:21

github_id

ts
github_id: number

The user's github id; only visible to the user themself

Defined in: packages/modrinth/types.ts:9

id

ts
id: string

The user's id

Defined in: packages/modrinth/types.ts:5

name

ts
name: string

The user's display name

Defined in: packages/modrinth/types.ts:17

role

ts
role: string

The user's role developer, moderator, or admin

Defined in: packages/modrinth/types.ts:37

username

ts
username: string

The user's username

Defined in: packages/modrinth/types.ts:13