Skip to content

Commit

Permalink
add changelog
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <jkoberg@owncloud.com>
  • Loading branch information
kobergj committed Mar 10, 2022
1 parent c1fcd25 commit 7d38443
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions changelog/unreleased/sharing-events.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: Add events for sharing action

Includes lifecycle events for shares and public links doesn't include federated sharing events for now
see full list of events in `pkg/events/types.go`

https://github.com/cs3org/reva/pull/2627
2 changes: 1 addition & 1 deletion internal/grpc/interceptors/eventsmiddleware/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func NewStream() grpc.StreamServerInterceptor {
return interceptor
}

// common interface to all respones
// common interface to all responses
type su interface {
GetStatus() *v1beta12.Status
}
Expand Down
1 change: 1 addition & 0 deletions pkg/events/example/consumer/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func Example(c events.Consumer) {
events.LinkUpdated{},
events.LinkRemoved{},
events.LinkAccessed{},
events.LinkAccessFailed{},
}

// Step 3 - create event channel
Expand Down

0 comments on commit 7d38443

Please sign in to comment.