Published an OpportunityMarksUpdated event when an opportunity's marks change over the API
This commit is contained in:
1 parent
70d62f280e
commit
848edc73e2
7 files changed
+203
-34
No files matched your search
@@ -4,9 +4,17 @@
|
||||
// and their payloads.
|
||||
package events
|
||||
|
||||
// OpportunitiesUpdated is published when a save stores new opportunities or
|
||||
// new releases of stored ones. Its payload is an OpportunitiesUpdatedPayload.
|
||||
const OpportunitiesUpdated = "OpportunitiesUpdated"
|
||||
// Event types: an Event's Type, which says what its Payload is.
|
||||
const (
|
||||
// OpportunitiesUpdated is published when a save stores new
|
||||
// opportunities or new releases of stored ones. Its payload is an
|
||||
// OpportunitiesUpdatedPayload.
|
||||
OpportunitiesUpdated = "OpportunitiesUpdated"
|
||||
// OpportunityMarksUpdated is published when an opportunity's marks are
|
||||
// changed over the API. Its payload is the opportunity's
|
||||
// types.OpportunityMarks after the change, which include its UUID.
|
||||
OpportunityMarksUpdated = "OpportunityMarksUpdated"
|
||||
)
|
||||
|
||||
// ---------- OpportunitiesUpdated ----------
|
||||
|
||||
|
||||
Reference in new issue
Block a user