convergencelabs / convergence-project

The project used for Convergence Project Management and Issue Reporting
https://convergence.io
42 stars 5 forks source link

Add "types" to activities to categorize them #228

Closed mmacfadden closed 3 years ago

mmacfadden commented 3 years ago

Versions

Description We will add types to activities so that activities can be categorized. The type will just be a simple user defined string. This will make is such that activity id's only have to be unique within their type. This will set the stage for controlling who can create activities by type and other type specific configurations.

Breaking Change

This is a breaking change to the Client API. Specially the join method now two multiple parameters. For example:

domain.activities()
  .join("my-type", "my-id")
  .then(activity => console.log("Activity Joined", activity.type(), activity.id()));