Packages@robojs/xp
AddXPOptions
Interface: AddXPOptions
Options for adding XP to a user
Examples
{ reason: 'admin_bonus' }// Custom store with reason
{ reason: 'quest', storeId: 'reputation' }Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
reason? | string | Optional audit trail reason for XP change | - |
storeId? | string | Store identifier (defaults to 'default') | StoreOptions.storeId |
