mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-27 15:40:36 +08:00
So far we only supported issue operations on the `activity_by_id` command. With this commit we separate the commands into a `activity_by_issue` and `activity_by_patch` command that calls a generic `activity_by_id` trait implementation. `Operation` now takes as a generic either `cob/issue/Action.ts` or `cob/patch/Action.ts`. Also `Operation` now stores the array of all `Action` that happened on said operation. I'm not entirely sure if this will help us in the future, but it represents more closely the state of the relation between an `Operation` and the cob `Actions`.