Skip to content
Snippets Groups Projects
Commit 130d354e authored by ko_oler's avatar ko_oler
Browse files

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

parent cbbc85a3
No related branches found
No related tags found
No related merge requests found
package collections
const (
EventCreate = "collection.create"
EventUpdate = "collection.update"
EventDelete = "collection.delete"
EventSetSchema = "collection.set_schema"
EventCreate = "collections.create"
EventUpdate = "collections.update"
EventDelete = "collections.delete"
EventSetSchema = "collections.set_schema"
)
......@@ -7,14 +7,14 @@ import (
)
const (
EventCreate = "item.create"
EventUpdate = "item.update"
EventPublish = "item.publish"
EventUnpublish = "item.unpublish"
EventDelete = "item.delete"
EventUndelete = "item.undelete"
EventArchive = "item.archive"
EventUnarchive = "item.unarchive"
EventCreate = "items.create"
EventUpdate = "items.update"
EventPublish = "items.publish"
EventUnpublish = "items.unpublish"
EventDelete = "items.delete"
EventUndelete = "items.undelete"
EventArchive = "items.archive"
EventUnarchive = "items.unarchive"
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