updated deps & regen ent

This commit is contained in:
2023-05-16 18:09:10 +02:00
parent e9e3e02a39
commit 3fd0a4204b
53 changed files with 1062 additions and 593 deletions

View File

@@ -19,7 +19,7 @@ import (
type WeaponQuery struct {
config
ctx *QueryContext
order []OrderFunc
order []weapon.OrderOption
inters []Interceptor
predicates []predicate.Weapon
withStat *MatchPlayerQuery
@@ -56,7 +56,7 @@ func (wq *WeaponQuery) Unique(unique bool) *WeaponQuery {
}
// Order specifies how the records should be ordered.
func (wq *WeaponQuery) Order(o ...OrderFunc) *WeaponQuery {
func (wq *WeaponQuery) Order(o ...weapon.OrderOption) *WeaponQuery {
wq.order = append(wq.order, o...)
return wq
}
@@ -272,7 +272,7 @@ func (wq *WeaponQuery) Clone() *WeaponQuery {
return &WeaponQuery{
config: wq.config,
ctx: wq.ctx.Clone(),
order: append([]OrderFunc{}, wq.order...),
order: append([]weapon.OrderOption{}, wq.order...),
inters: append([]Interceptor{}, wq.inters...),
predicates: append([]predicate.Weapon{}, wq.predicates...),
withStat: wq.withStat.Clone(),