mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 11:51:16 -06:00
20 lines
642 B
Go
20 lines
642 B
Go
package service
|
|
|
|
// FileEvent is emitted when a file is uploaded/renamed/deleted/...
|
|
type FileEvent struct {
|
|
ParentItemID string `json:"parentitemid"`
|
|
ItemID string `json:"itemid"`
|
|
SpaceID string `json:"spaceid"`
|
|
InitiatorID string `json:"initiatorid"`
|
|
Etag string `json:"etag"`
|
|
|
|
// Only in case of sharing (refactor this into separate struct when more fields are needed)
|
|
AffectedUserIDs []string `json:"affecteduserids"`
|
|
}
|
|
|
|
// BackchannelLogout is emitted when the callback revived from the identity provider
|
|
type BackchannelLogout struct {
|
|
UserID string `json:"userid"`
|
|
Timestamp string `json:"timestamp"`
|
|
}
|