Initial QSfera import

This commit is contained in:
Курнат Андрей
2026-06-07 10:20:04 +03:00
commit 2315f25754
16485 changed files with 4826827 additions and 0 deletions
@@ -0,0 +1,21 @@
package event
import (
"encoding/json"
"time"
apiUser "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
)
// PurgeTrashBin wraps all needed information to purge a trash-bin
type PurgeTrashBin struct {
ExecutantID *apiUser.UserId
ExecutionTime time.Time
}
// Unmarshal to fulfill umarshaller interface
func (PurgeTrashBin) Unmarshal(v []byte) (any, error) {
e := PurgeTrashBin{}
err := json.Unmarshal(v, &e)
return e, err
}