Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
where.go12.9 kB
// Code generated by ent, DO NOT EDIT. package role import ( "time" "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/Southclaws/storyden/internal/ent/predicate" "github.com/rs/xid" ) // ID filters vertices based on their ID field. func ID(id xid.ID) predicate.Role { return predicate.Role(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id xid.ID) predicate.Role { return predicate.Role(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id xid.ID) predicate.Role { return predicate.Role(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...xid.ID) predicate.Role { return predicate.Role(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...xid.ID) predicate.Role { return predicate.Role(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id xid.ID) predicate.Role { return predicate.Role(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id xid.ID) predicate.Role { return predicate.Role(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id xid.ID) predicate.Role { return predicate.Role(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id xid.ID) predicate.Role { return predicate.Role(sql.FieldLTE(FieldID, id)) } // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. func CreatedAt(v time.Time) predicate.Role { return predicate.Role(sql.FieldEQ(FieldCreatedAt, v)) } // UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ. func UpdatedAt(v time.Time) predicate.Role { return predicate.Role(sql.FieldEQ(FieldUpdatedAt, v)) } // Name applies equality check predicate on the "name" field. It's identical to NameEQ. func Name(v string) predicate.Role { return predicate.Role(sql.FieldEQ(FieldName, v)) } // Colour applies equality check predicate on the "colour" field. It's identical to ColourEQ. func Colour(v string) predicate.Role { return predicate.Role(sql.FieldEQ(FieldColour, v)) } // SortKey applies equality check predicate on the "sort_key" field. It's identical to SortKeyEQ. func SortKey(v float64) predicate.Role { return predicate.Role(sql.FieldEQ(FieldSortKey, v)) } // CreatedAtEQ applies the EQ predicate on the "created_at" field. func CreatedAtEQ(v time.Time) predicate.Role { return predicate.Role(sql.FieldEQ(FieldCreatedAt, v)) } // CreatedAtNEQ applies the NEQ predicate on the "created_at" field. func CreatedAtNEQ(v time.Time) predicate.Role { return predicate.Role(sql.FieldNEQ(FieldCreatedAt, v)) } // CreatedAtIn applies the In predicate on the "created_at" field. func CreatedAtIn(vs ...time.Time) predicate.Role { return predicate.Role(sql.FieldIn(FieldCreatedAt, vs...)) } // CreatedAtNotIn applies the NotIn predicate on the "created_at" field. func CreatedAtNotIn(vs ...time.Time) predicate.Role { return predicate.Role(sql.FieldNotIn(FieldCreatedAt, vs...)) } // CreatedAtGT applies the GT predicate on the "created_at" field. func CreatedAtGT(v time.Time) predicate.Role { return predicate.Role(sql.FieldGT(FieldCreatedAt, v)) } // CreatedAtGTE applies the GTE predicate on the "created_at" field. func CreatedAtGTE(v time.Time) predicate.Role { return predicate.Role(sql.FieldGTE(FieldCreatedAt, v)) } // CreatedAtLT applies the LT predicate on the "created_at" field. func CreatedAtLT(v time.Time) predicate.Role { return predicate.Role(sql.FieldLT(FieldCreatedAt, v)) } // CreatedAtLTE applies the LTE predicate on the "created_at" field. func CreatedAtLTE(v time.Time) predicate.Role { return predicate.Role(sql.FieldLTE(FieldCreatedAt, v)) } // UpdatedAtEQ applies the EQ predicate on the "updated_at" field. func UpdatedAtEQ(v time.Time) predicate.Role { return predicate.Role(sql.FieldEQ(FieldUpdatedAt, v)) } // UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field. func UpdatedAtNEQ(v time.Time) predicate.Role { return predicate.Role(sql.FieldNEQ(FieldUpdatedAt, v)) } // UpdatedAtIn applies the In predicate on the "updated_at" field. func UpdatedAtIn(vs ...time.Time) predicate.Role { return predicate.Role(sql.FieldIn(FieldUpdatedAt, vs...)) } // UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field. func UpdatedAtNotIn(vs ...time.Time) predicate.Role { return predicate.Role(sql.FieldNotIn(FieldUpdatedAt, vs...)) } // UpdatedAtGT applies the GT predicate on the "updated_at" field. func UpdatedAtGT(v time.Time) predicate.Role { return predicate.Role(sql.FieldGT(FieldUpdatedAt, v)) } // UpdatedAtGTE applies the GTE predicate on the "updated_at" field. func UpdatedAtGTE(v time.Time) predicate.Role { return predicate.Role(sql.FieldGTE(FieldUpdatedAt, v)) } // UpdatedAtLT applies the LT predicate on the "updated_at" field. func UpdatedAtLT(v time.Time) predicate.Role { return predicate.Role(sql.FieldLT(FieldUpdatedAt, v)) } // UpdatedAtLTE applies the LTE predicate on the "updated_at" field. func UpdatedAtLTE(v time.Time) predicate.Role { return predicate.Role(sql.FieldLTE(FieldUpdatedAt, v)) } // NameEQ applies the EQ predicate on the "name" field. func NameEQ(v string) predicate.Role { return predicate.Role(sql.FieldEQ(FieldName, v)) } // NameNEQ applies the NEQ predicate on the "name" field. func NameNEQ(v string) predicate.Role { return predicate.Role(sql.FieldNEQ(FieldName, v)) } // NameIn applies the In predicate on the "name" field. func NameIn(vs ...string) predicate.Role { return predicate.Role(sql.FieldIn(FieldName, vs...)) } // NameNotIn applies the NotIn predicate on the "name" field. func NameNotIn(vs ...string) predicate.Role { return predicate.Role(sql.FieldNotIn(FieldName, vs...)) } // NameGT applies the GT predicate on the "name" field. func NameGT(v string) predicate.Role { return predicate.Role(sql.FieldGT(FieldName, v)) } // NameGTE applies the GTE predicate on the "name" field. func NameGTE(v string) predicate.Role { return predicate.Role(sql.FieldGTE(FieldName, v)) } // NameLT applies the LT predicate on the "name" field. func NameLT(v string) predicate.Role { return predicate.Role(sql.FieldLT(FieldName, v)) } // NameLTE applies the LTE predicate on the "name" field. func NameLTE(v string) predicate.Role { return predicate.Role(sql.FieldLTE(FieldName, v)) } // NameContains applies the Contains predicate on the "name" field. func NameContains(v string) predicate.Role { return predicate.Role(sql.FieldContains(FieldName, v)) } // NameHasPrefix applies the HasPrefix predicate on the "name" field. func NameHasPrefix(v string) predicate.Role { return predicate.Role(sql.FieldHasPrefix(FieldName, v)) } // NameHasSuffix applies the HasSuffix predicate on the "name" field. func NameHasSuffix(v string) predicate.Role { return predicate.Role(sql.FieldHasSuffix(FieldName, v)) } // NameEqualFold applies the EqualFold predicate on the "name" field. func NameEqualFold(v string) predicate.Role { return predicate.Role(sql.FieldEqualFold(FieldName, v)) } // NameContainsFold applies the ContainsFold predicate on the "name" field. func NameContainsFold(v string) predicate.Role { return predicate.Role(sql.FieldContainsFold(FieldName, v)) } // ColourEQ applies the EQ predicate on the "colour" field. func ColourEQ(v string) predicate.Role { return predicate.Role(sql.FieldEQ(FieldColour, v)) } // ColourNEQ applies the NEQ predicate on the "colour" field. func ColourNEQ(v string) predicate.Role { return predicate.Role(sql.FieldNEQ(FieldColour, v)) } // ColourIn applies the In predicate on the "colour" field. func ColourIn(vs ...string) predicate.Role { return predicate.Role(sql.FieldIn(FieldColour, vs...)) } // ColourNotIn applies the NotIn predicate on the "colour" field. func ColourNotIn(vs ...string) predicate.Role { return predicate.Role(sql.FieldNotIn(FieldColour, vs...)) } // ColourGT applies the GT predicate on the "colour" field. func ColourGT(v string) predicate.Role { return predicate.Role(sql.FieldGT(FieldColour, v)) } // ColourGTE applies the GTE predicate on the "colour" field. func ColourGTE(v string) predicate.Role { return predicate.Role(sql.FieldGTE(FieldColour, v)) } // ColourLT applies the LT predicate on the "colour" field. func ColourLT(v string) predicate.Role { return predicate.Role(sql.FieldLT(FieldColour, v)) } // ColourLTE applies the LTE predicate on the "colour" field. func ColourLTE(v string) predicate.Role { return predicate.Role(sql.FieldLTE(FieldColour, v)) } // ColourContains applies the Contains predicate on the "colour" field. func ColourContains(v string) predicate.Role { return predicate.Role(sql.FieldContains(FieldColour, v)) } // ColourHasPrefix applies the HasPrefix predicate on the "colour" field. func ColourHasPrefix(v string) predicate.Role { return predicate.Role(sql.FieldHasPrefix(FieldColour, v)) } // ColourHasSuffix applies the HasSuffix predicate on the "colour" field. func ColourHasSuffix(v string) predicate.Role { return predicate.Role(sql.FieldHasSuffix(FieldColour, v)) } // ColourEqualFold applies the EqualFold predicate on the "colour" field. func ColourEqualFold(v string) predicate.Role { return predicate.Role(sql.FieldEqualFold(FieldColour, v)) } // ColourContainsFold applies the ContainsFold predicate on the "colour" field. func ColourContainsFold(v string) predicate.Role { return predicate.Role(sql.FieldContainsFold(FieldColour, v)) } // SortKeyEQ applies the EQ predicate on the "sort_key" field. func SortKeyEQ(v float64) predicate.Role { return predicate.Role(sql.FieldEQ(FieldSortKey, v)) } // SortKeyNEQ applies the NEQ predicate on the "sort_key" field. func SortKeyNEQ(v float64) predicate.Role { return predicate.Role(sql.FieldNEQ(FieldSortKey, v)) } // SortKeyIn applies the In predicate on the "sort_key" field. func SortKeyIn(vs ...float64) predicate.Role { return predicate.Role(sql.FieldIn(FieldSortKey, vs...)) } // SortKeyNotIn applies the NotIn predicate on the "sort_key" field. func SortKeyNotIn(vs ...float64) predicate.Role { return predicate.Role(sql.FieldNotIn(FieldSortKey, vs...)) } // SortKeyGT applies the GT predicate on the "sort_key" field. func SortKeyGT(v float64) predicate.Role { return predicate.Role(sql.FieldGT(FieldSortKey, v)) } // SortKeyGTE applies the GTE predicate on the "sort_key" field. func SortKeyGTE(v float64) predicate.Role { return predicate.Role(sql.FieldGTE(FieldSortKey, v)) } // SortKeyLT applies the LT predicate on the "sort_key" field. func SortKeyLT(v float64) predicate.Role { return predicate.Role(sql.FieldLT(FieldSortKey, v)) } // SortKeyLTE applies the LTE predicate on the "sort_key" field. func SortKeyLTE(v float64) predicate.Role { return predicate.Role(sql.FieldLTE(FieldSortKey, v)) } // HasAccounts applies the HasEdge predicate on the "accounts" edge. func HasAccounts() predicate.Role { return predicate.Role(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2M, false, AccountsTable, AccountsPrimaryKey...), ) sqlgraph.HasNeighbors(s, step) }) } // HasAccountsWith applies the HasEdge predicate on the "accounts" edge with a given conditions (other predicates). func HasAccountsWith(preds ...predicate.Account) predicate.Role { return predicate.Role(func(s *sql.Selector) { step := newAccountsStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // HasAccountRoles applies the HasEdge predicate on the "account_roles" edge. func HasAccountRoles() predicate.Role { return predicate.Role(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.O2M, true, AccountRolesTable, AccountRolesColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasAccountRolesWith applies the HasEdge predicate on the "account_roles" edge with a given conditions (other predicates). func HasAccountRolesWith(preds ...predicate.AccountRoles) predicate.Role { return predicate.Role(func(s *sql.Selector) { step := newAccountRolesStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // And groups predicates with the AND operator between them. func And(predicates ...predicate.Role) predicate.Role { return predicate.Role(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.Role) predicate.Role { return predicate.Role(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.Role) predicate.Role { return predicate.Role(sql.NotPredicates(p)) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'

If you have feedback or need assistance with the MCP directory API, please join our Discord server