Skip to content
Snippets Groups Projects
Commit ba6ead1a authored by Pavel Antonov's avatar Pavel Antonov :asterisk:
Browse files

Merge branch 'feature/PRXS-2057-2199-CollectionEventName' into 'master'

Изменено значение констант событий в logging_middleware для collections и items

See merge request perxis/perxis-go!201
parents d017315e 130d354e
No related branches found
No related tags found
No related merge requests found
package collections package collections
const ( const (
EventCreate = "collection.create" EventCreate = "collections.create"
EventUpdate = "collection.update" EventUpdate = "collections.update"
EventDelete = "collection.delete" EventDelete = "collections.delete"
EventSetSchema = "collection.set_schema" EventSetSchema = "collections.set_schema"
) )
...@@ -7,14 +7,14 @@ import ( ...@@ -7,14 +7,14 @@ import (
) )
const ( const (
EventCreate = "item.create" EventCreate = "items.create"
EventUpdate = "item.update" EventUpdate = "items.update"
EventPublish = "item.publish" EventPublish = "items.publish"
EventUnpublish = "item.unpublish" EventUnpublish = "items.unpublish"
EventDelete = "item.delete" EventDelete = "items.delete"
EventUndelete = "item.undelete" EventUndelete = "items.undelete"
EventArchive = "item.archive" EventArchive = "items.archive"
EventUnarchive = "item.unarchive" EventUnarchive = "items.unarchive"
DefaultEventSubject = "content.{{.EventType}}.{{.SpaceID}}.{{.EnvID}}.{{.CollectionID}}.{{.ItemID}}" DefaultEventSubject = "content.{{.EventType}}.{{.SpaceID}}.{{.EnvID}}.{{.CollectionID}}.{{.ItemID}}"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment