Files
sendico/api/edge/bff/interface/api/srequest/reorder.go
2026-02-28 00:39:20 +01:00

20 lines
420 B
Go

package srequest
import "go.mongodb.org/mongo-driver/v2/bson"
type Reorder struct {
ParentRef bson.ObjectID `json:"parentRef"`
From int `json:"from"`
To int `json:"to"`
}
type ReorderX struct {
ObjectRef bson.ObjectID `json:"objectRef"`
To int `json:"to"`
}
type ReorderXDefault struct {
ReorderX `json:",inline"`
ParentRef bson.ObjectID `json:"parentRef"`
}