feat(explorer): save user's view setting to server / optionally share view setting via share link (#2232)
This commit is contained in:
@@ -480,6 +480,16 @@ func RemainDownloadsNotNil() predicate.Share {
|
||||
return predicate.Share(sql.FieldNotNull(FieldRemainDownloads))
|
||||
}
|
||||
|
||||
// PropsIsNil applies the IsNil predicate on the "props" field.
|
||||
func PropsIsNil() predicate.Share {
|
||||
return predicate.Share(sql.FieldIsNull(FieldProps))
|
||||
}
|
||||
|
||||
// PropsNotNil applies the NotNil predicate on the "props" field.
|
||||
func PropsNotNil() predicate.Share {
|
||||
return predicate.Share(sql.FieldNotNull(FieldProps))
|
||||
}
|
||||
|
||||
// HasUser applies the HasEdge predicate on the "user" edge.
|
||||
func HasUser() predicate.Share {
|
||||
return predicate.Share(func(s *sql.Selector) {
|
||||
|
||||
Reference in New Issue
Block a user