mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-23 09:05:42 +00:00
23b5892aef
* introduce scaffold for new models * wip: shoutrrr wrapper (may remove) * update schema files * gen: ent code * gen: migrations * go mod tidy * add group_id to notifier * db migration * new mapper helpers * notifier repo * introduce experimental adapter pattern for hdlrs * refactor adapters to fit more common use cases * new routes for notifiers * update errors to fix validation panic * go tidy * reverse checkbox label display * wip: notifiers UI * use badges instead of text * improve documentation * add scaffold schema reference * remove notifier service * refactor schema folder * support group edges via scaffold * delete test file * include link to API docs * audit and update documentation + improve format * refactor schema edges * refactor * add custom validator * set validate + order fields by name * fix failing tests
46 lines
1.3 KiB
Go
46 lines
1.3 KiB
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package predicate
|
|
|
|
import (
|
|
"entgo.io/ent/dialect/sql"
|
|
)
|
|
|
|
// Attachment is the predicate function for attachment builders.
|
|
type Attachment func(*sql.Selector)
|
|
|
|
// AuthRoles is the predicate function for authroles builders.
|
|
type AuthRoles func(*sql.Selector)
|
|
|
|
// AuthTokens is the predicate function for authtokens builders.
|
|
type AuthTokens func(*sql.Selector)
|
|
|
|
// Document is the predicate function for document builders.
|
|
type Document func(*sql.Selector)
|
|
|
|
// Group is the predicate function for group builders.
|
|
type Group func(*sql.Selector)
|
|
|
|
// GroupInvitationToken is the predicate function for groupinvitationtoken builders.
|
|
type GroupInvitationToken func(*sql.Selector)
|
|
|
|
// Item is the predicate function for item builders.
|
|
type Item func(*sql.Selector)
|
|
|
|
// ItemField is the predicate function for itemfield builders.
|
|
type ItemField func(*sql.Selector)
|
|
|
|
// Label is the predicate function for label builders.
|
|
type Label func(*sql.Selector)
|
|
|
|
// Location is the predicate function for location builders.
|
|
type Location func(*sql.Selector)
|
|
|
|
// MaintenanceEntry is the predicate function for maintenanceentry builders.
|
|
type MaintenanceEntry func(*sql.Selector)
|
|
|
|
// Notifier is the predicate function for notifier builders.
|
|
type Notifier func(*sql.Selector)
|
|
|
|
// User is the predicate function for user builders.
|
|
type User func(*sql.Selector)
|