Skip to main content

Interface: AddXPOptions

Options for adding XP to a user

Examples​

{ reason: 'admin_bonus' }
// Custom store with reason
{ reason: 'quest', storeId: 'reputation' }

Extends​

Properties​

reason?​

optional reason: string;

Optional audit trail reason for XP change


storeId?​

optional storeId: string;

Store identifier (defaults to 'default')

Inherited from​

StoreOptions.storeId