Skip to content

Interface TeamMember

🏷️ Properties

accept

ts
accept: boolean

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

permissions

ts
permissions: number

The user's permissions in bitfield format (requires authorization to view)

In order from first to eighth bit, the bits are:

  • UPLOAD_VERSION
  • DELETE_VERSION
  • EDIT_DETAILS
  • EDIT_BODY
  • MANAGE_INVITES
  • REMOVE_MEMBER
  • EDIT_MEMBER
  • DELETE_PROJECT

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

role

ts
role: string

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

team_id

ts
team_id: string

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

user

ts
user: { avatar_url: string; bio: string; created: string; email?: string; github_id?: number; id: string; name?: string; role: "admin" | "moderator" | "developer"; username: string }

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