Skip to main content

ActivityObjectEventType

type ActivityObjectEventType = 
| `${ModernActivityObjectType}:${ActivityEventType}`
| `${ModernActivityObjectType}:`
| `:${ActivityEventType}`
| string & Record<string, never>;

Combined object:event filter string for the objectEventTypes parameter of getActivityLogs.

Uses modern object type names (task, comment) rather than legacy API names (item, note). Either part may be omitted:

  • 'task:added' — task additions only
  • 'task:' — all events for tasks
  • ':deleted' — all deleted events across all object types

The final string & Record<string, never> member allows any arbitrary string to be passed for forward compatibility, while still providing autocomplete for the known combinations above.