Skip to content

Interface TeamMember

🏷️ Properties

accept

ts
accept: boolean

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

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:330

role

ts
role: string

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

team_id

ts
team_id: string

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

user

ts
user: Object

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