gen

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2020 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyPrincipalID         key    = iota
	KeyLoaders             key    = iota
	KeyExecutableSchema    key    = iota
	KeyJWTClaims           key    = iota
	KeyMutationTransaction key    = iota
	KeyMutationEvents      key    = iota
	SchemaSDL              string = `` /* 62829-byte string literal not displayed */

)
View Source
const (
	ORMChangeEvent = "com.graphql.orm.change"
)

Variables

Functions

func AddMutationEvent

func AddMutationEvent(ctx context.Context, e events.Event)

func ApplyChanges

func ApplyChanges(changes map[string]interface{}, to interface{}) error

used to convert map[string]interface{} to EntityChanges struct

func AutoMigrate

func AutoMigrate(db *gorm.DB) (err error)

func DeleteAllConfiguratorAttributeDefinitionsHandler

func DeleteAllConfiguratorAttributeDefinitionsHandler(ctx context.Context, r *GeneratedResolver) (bool, error)

func DeleteAllConfiguratorAttributesHandler

func DeleteAllConfiguratorAttributesHandler(ctx context.Context, r *GeneratedResolver) (bool, error)

func DeleteAllConfiguratorItemDefinitionCategoriesHandler

func DeleteAllConfiguratorItemDefinitionCategoriesHandler(ctx context.Context, r *GeneratedResolver) (bool, error)

func DeleteAllConfiguratorItemDefinitionsHandler

func DeleteAllConfiguratorItemDefinitionsHandler(ctx context.Context, r *GeneratedResolver) (bool, error)

func DeleteAllConfiguratorItemsHandler

func DeleteAllConfiguratorItemsHandler(ctx context.Context, r *GeneratedResolver) (bool, error)

func DeleteAllConfiguratorSlotDefinitionsHandler

func DeleteAllConfiguratorSlotDefinitionsHandler(ctx context.Context, r *GeneratedResolver) (bool, error)

func DeleteAllConfiguratorSlotsHandler

func DeleteAllConfiguratorSlotsHandler(ctx context.Context, r *GeneratedResolver) (bool, error)

func EnrichContextWithMutations

func EnrichContextWithMutations(ctx context.Context, r *GeneratedResolver) context.Context

func FinishMutationContext

func FinishMutationContext(ctx context.Context, r *GeneratedResolver) (err error)

func GetHTTPServeMux

func GetHTTPServeMux(r ResolverRoot, db *DB, migrations []*gormigrate.Migration) *http.ServeMux

func GetItem

func GetItem(ctx context.Context, db *gorm.DB, out interface{}, id *string) error

func GetItemForRelation

func GetItemForRelation(ctx context.Context, db *gorm.DB, obj interface{}, relation string, out interface{}) error

func GetLoaders

func GetLoaders(db *DB) map[string]*dataloader.Loader

func GetPrincipalIDFromContext

func GetPrincipalIDFromContext(ctx context.Context) *string

func Marshal_Any

func Marshal_Any(v interface{}) graphql.Marshaler

func Migrate

func Migrate(db *gorm.DB, options *gormigrate.Options, migrations []*gormigrate.Migration) error

func NewExecutableSchema

func NewExecutableSchema(cfg Config) graphql.ExecutableSchema

NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.

func RollbackMutationContext

func RollbackMutationContext(ctx context.Context, r *GeneratedResolver) error

func TableName

func TableName(name string) string

func Unmarshal_Any

func Unmarshal_Any(v interface{}) (interface{}, error)

Types

type ComplexityRoot

type ComplexityRoot struct {
	ConfiguratorAssembly struct {
		ID   func(childComplexity int) int
		Item func(childComplexity int) int
	}

	ConfiguratorAssemblyAttribute struct {
		DefinitionID func(childComplexity int) int
		FloatValue   func(childComplexity int) int
		ID           func(childComplexity int) int
		IntValue     func(childComplexity int) int
		StringValue  func(childComplexity int) int
	}

	ConfiguratorAssemblyItem struct {
		Attributes   func(childComplexity int) int
		Code         func(childComplexity int) int
		DefinitionID func(childComplexity int) int
		ID           func(childComplexity int) int
		Name         func(childComplexity int) int
		Slots        func(childComplexity int) int
		StockItemID  func(childComplexity int) int
	}

	ConfiguratorAssemblySlot struct {
		Count        func(childComplexity int) int
		DefinitionID func(childComplexity int) int
		ID           func(childComplexity int) int
		Item         func(childComplexity int) int
	}

	ConfiguratorAttribute struct {
		CreatedAt    func(childComplexity int) int
		CreatedBy    func(childComplexity int) int
		Definition   func(childComplexity int) int
		DefinitionID func(childComplexity int) int
		FloatValue   func(childComplexity int) int
		ID           func(childComplexity int) int
		IntValue     func(childComplexity int) int
		Item         func(childComplexity int) int
		ItemID       func(childComplexity int) int
		StringValue  func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
		UpdatedBy    func(childComplexity int) int
	}

	ConfiguratorAttributeDefinition struct {
		Attributes            func(childComplexity int) int
		AttributesConnection  func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorAttributeSortType, filter *ConfiguratorAttributeFilterType) int
		AttributesIds         func(childComplexity int) int
		CreatedAt             func(childComplexity int) int
		CreatedBy             func(childComplexity int) int
		Definitions           func(childComplexity int) int
		DefinitionsConnection func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorItemDefinitionSortType, filter *ConfiguratorItemDefinitionFilterType) int
		DefinitionsIds        func(childComplexity int) int
		ID                    func(childComplexity int) int
		Name                  func(childComplexity int) int
		Type                  func(childComplexity int) int
		UpdatedAt             func(childComplexity int) int
		UpdatedBy             func(childComplexity int) int
	}

	ConfiguratorAttributeDefinitionResultType struct {
		Count func(childComplexity int) int
		Items func(childComplexity int) int
	}

	ConfiguratorAttributeResultType struct {
		Count func(childComplexity int) int
		Items func(childComplexity int) int
	}

	ConfiguratorItem struct {
		Attributes            func(childComplexity int) int
		AttributesConnection  func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorAttributeSortType, filter *ConfiguratorAttributeFilterType) int
		AttributesIds         func(childComplexity int) int
		Code                  func(childComplexity int) int
		CreatedAt             func(childComplexity int) int
		CreatedBy             func(childComplexity int) int
		Definition            func(childComplexity int) int
		DefinitionID          func(childComplexity int) int
		ID                    func(childComplexity int) int
		Name                  func(childComplexity int) int
		ParentSlots           func(childComplexity int) int
		ParentSlotsConnection func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorSlotSortType, filter *ConfiguratorSlotFilterType) int
		ParentSlotsIds        func(childComplexity int) int
		RawData               func(childComplexity int) int
		Slots                 func(childComplexity int) int
		SlotsConnection       func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorSlotSortType, filter *ConfiguratorSlotFilterType) int
		SlotsIds              func(childComplexity int) int
		StockItem             func(childComplexity int) int
		StockItemID           func(childComplexity int) int
		UpdatedAt             func(childComplexity int) int
		UpdatedBy             func(childComplexity int) int
	}

	ConfiguratorItemDefinition struct {
		AllowedInSlots           func(childComplexity int) int
		AllowedInSlotsConnection func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorSlotDefinitionSortType, filter *ConfiguratorSlotDefinitionFilterType) int
		AllowedInSlotsIds        func(childComplexity int) int
		Attributes               func(childComplexity int) int
		AttributesConnection     func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorAttributeDefinitionSortType, filter *ConfiguratorAttributeDefinitionFilterType) int
		AttributesIds            func(childComplexity int) int
		Category                 func(childComplexity int) int
		CategoryID               func(childComplexity int) int
		Code                     func(childComplexity int) int
		CreatedAt                func(childComplexity int) int
		CreatedBy                func(childComplexity int) int
		ID                       func(childComplexity int) int
		Items                    func(childComplexity int) int
		ItemsConnection          func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorItemSortType, filter *ConfiguratorItemFilterType) int
		ItemsIds                 func(childComplexity int) int
		Name                     func(childComplexity int) int
		Slots                    func(childComplexity int) int
		SlotsConnection          func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorSlotDefinitionSortType, filter *ConfiguratorSlotDefinitionFilterType) int
		SlotsIds                 func(childComplexity int) int
		UpdatedAt                func(childComplexity int) int
		UpdatedBy                func(childComplexity int) int
	}

	ConfiguratorItemDefinitionCategory struct {
		Code                  func(childComplexity int) int
		CreatedAt             func(childComplexity int) int
		CreatedBy             func(childComplexity int) int
		Definitions           func(childComplexity int) int
		DefinitionsConnection func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorItemDefinitionSortType, filter *ConfiguratorItemDefinitionFilterType) int
		DefinitionsIds        func(childComplexity int) int
		ID                    func(childComplexity int) int
		Name                  func(childComplexity int) int
		Primary               func(childComplexity int) int
		Type                  func(childComplexity int) int
		UpdatedAt             func(childComplexity int) int
		UpdatedBy             func(childComplexity int) int
	}

	ConfiguratorItemDefinitionCategoryResultType struct {
		Count func(childComplexity int) int
		Items func(childComplexity int) int
	}

	ConfiguratorItemDefinitionResultType struct {
		Count func(childComplexity int) int
		Items func(childComplexity int) int
	}

	ConfiguratorItemResultType struct {
		Count func(childComplexity int) int
		Items func(childComplexity int) int
	}

	ConfiguratorSlot struct {
		Count        func(childComplexity int) int
		CreatedAt    func(childComplexity int) int
		CreatedBy    func(childComplexity int) int
		Definition   func(childComplexity int) int
		DefinitionID func(childComplexity int) int
		ID           func(childComplexity int) int
		Item         func(childComplexity int) int
		ItemID       func(childComplexity int) int
		ParentItem   func(childComplexity int) int
		ParentItemID func(childComplexity int) int
		UpdatedAt    func(childComplexity int) int
		UpdatedBy    func(childComplexity int) int
	}

	ConfiguratorSlotDefinition struct {
		AllowedItemDefinitions           func(childComplexity int) int
		AllowedItemDefinitionsConnection func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorItemDefinitionSortType, filter *ConfiguratorItemDefinitionFilterType) int
		AllowedItemDefinitionsIds        func(childComplexity int) int
		CreatedAt                        func(childComplexity int) int
		CreatedBy                        func(childComplexity int) int
		DefaultCount                     func(childComplexity int) int
		Definition                       func(childComplexity int) int
		DefinitionID                     func(childComplexity int) int
		ID                               func(childComplexity int) int
		MaxCount                         func(childComplexity int) int
		MinCount                         func(childComplexity int) int
		Name                             func(childComplexity int) int
		Slots                            func(childComplexity int) int
		SlotsConnection                  func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorSlotSortType, filter *ConfiguratorSlotFilterType) int
		SlotsIds                         func(childComplexity int) int
		UpdatedAt                        func(childComplexity int) int
		UpdatedBy                        func(childComplexity int) int
	}

	ConfiguratorSlotDefinitionResultType struct {
		Count func(childComplexity int) int
		Items func(childComplexity int) int
	}

	ConfiguratorSlotResultType struct {
		Count func(childComplexity int) int
		Items func(childComplexity int) int
	}

	Mutation struct {
		CreateConfiguratorAssembly                    func(childComplexity int, input ConfiguratorAssemblyCreateInput) int
		CreateConfiguratorAttribute                   func(childComplexity int, input map[string]interface{}) int
		CreateConfiguratorAttributeDefinition         func(childComplexity int, input map[string]interface{}) int
		CreateConfiguratorItem                        func(childComplexity int, input map[string]interface{}) int
		CreateConfiguratorItemDefinition              func(childComplexity int, input map[string]interface{}) int
		CreateConfiguratorItemDefinitionCategory      func(childComplexity int, input map[string]interface{}) int
		CreateConfiguratorSlot                        func(childComplexity int, input map[string]interface{}) int
		CreateConfiguratorSlotDefinition              func(childComplexity int, input map[string]interface{}) int
		DeleteAllConfiguratorAttributeDefinitions     func(childComplexity int) int
		DeleteAllConfiguratorAttributes               func(childComplexity int) int
		DeleteAllConfiguratorItemDefinitionCategories func(childComplexity int) int
		DeleteAllConfiguratorItemDefinitions          func(childComplexity int) int
		DeleteAllConfiguratorItems                    func(childComplexity int) int
		DeleteAllConfiguratorSlotDefinitions          func(childComplexity int) int
		DeleteAllConfiguratorSlots                    func(childComplexity int) int
		DeleteConfiguratorAttribute                   func(childComplexity int, id string) int
		DeleteConfiguratorAttributeDefinition         func(childComplexity int, id string) int
		DeleteConfiguratorItem                        func(childComplexity int, id string) int
		DeleteConfiguratorItemDefinition              func(childComplexity int, id string) int
		DeleteConfiguratorItemDefinitionCategory      func(childComplexity int, id string) int
		DeleteConfiguratorSlot                        func(childComplexity int, id string) int
		DeleteConfiguratorSlotDefinition              func(childComplexity int, id string) int
		UpdateConfiguratorAssembly                    func(childComplexity int, id string, input ConfiguratorAssemblyUpdateInput) int
		UpdateConfiguratorAttribute                   func(childComplexity int, id string, input map[string]interface{}) int
		UpdateConfiguratorAttributeDefinition         func(childComplexity int, id string, input map[string]interface{}) int
		UpdateConfiguratorItem                        func(childComplexity int, id string, input map[string]interface{}) int
		UpdateConfiguratorItemDefinition              func(childComplexity int, id string, input map[string]interface{}) int
		UpdateConfiguratorItemDefinitionCategory      func(childComplexity int, id string, input map[string]interface{}) int
		UpdateConfiguratorSlot                        func(childComplexity int, id string, input map[string]interface{}) int
		UpdateConfiguratorSlotDefinition              func(childComplexity int, id string, input map[string]interface{}) int
	}

	Query struct {
		ConfiguratorAssembly                 func(childComplexity int, id string) int
		ConfiguratorAttribute                func(childComplexity int, id *string, q *string, filter *ConfiguratorAttributeFilterType) int
		ConfiguratorAttributeDefinition      func(childComplexity int, id *string, q *string, filter *ConfiguratorAttributeDefinitionFilterType) int
		ConfiguratorAttributeDefinitions     func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorAttributeDefinitionSortType, filter *ConfiguratorAttributeDefinitionFilterType) int
		ConfiguratorAttributes               func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorAttributeSortType, filter *ConfiguratorAttributeFilterType) int
		ConfiguratorItem                     func(childComplexity int, id *string, q *string, filter *ConfiguratorItemFilterType) int
		ConfiguratorItemDefinition           func(childComplexity int, id *string, q *string, filter *ConfiguratorItemDefinitionFilterType) int
		ConfiguratorItemDefinitionCategories func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorItemDefinitionCategorySortType, filter *ConfiguratorItemDefinitionCategoryFilterType) int
		ConfiguratorItemDefinitionCategory   func(childComplexity int, id *string, q *string, filter *ConfiguratorItemDefinitionCategoryFilterType) int
		ConfiguratorItemDefinitions          func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorItemDefinitionSortType, filter *ConfiguratorItemDefinitionFilterType) int
		ConfiguratorItems                    func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorItemSortType, filter *ConfiguratorItemFilterType) int
		ConfiguratorSlot                     func(childComplexity int, id *string, q *string, filter *ConfiguratorSlotFilterType) int
		ConfiguratorSlotDefinition           func(childComplexity int, id *string, q *string, filter *ConfiguratorSlotDefinitionFilterType) int
		ConfiguratorSlotDefinitions          func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorSlotDefinitionSortType, filter *ConfiguratorSlotDefinitionFilterType) int
		ConfiguratorSlots                    func(childComplexity int, offset *int, limit *int, q *string, sort []*ConfiguratorSlotSortType, filter *ConfiguratorSlotFilterType) int
		// contains filtered or unexported fields
	}

	StockItem struct {
		ID func(childComplexity int) int
	}
	// contains filtered or unexported fields
}

type Config

type Config struct {
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type ConfiguratorAssembly

type ConfiguratorAssembly struct {
	ID   string                    `json:"id"`
	Item *ConfiguratorAssemblyItem `json:"item"`
}

type ConfiguratorAssemblyAttribute

type ConfiguratorAssemblyAttribute struct {
	ID           *string  `json:"id"`
	DefinitionID string   `json:"definitionId"`
	StringValue  *string  `json:"stringValue"`
	IntValue     *int     `json:"intValue"`
	FloatValue   *float64 `json:"floatValue"`
}

type ConfiguratorAssemblyAttributeInput

type ConfiguratorAssemblyAttributeInput struct {
	ID           *string  `json:"id"`
	DefinitionID string   `json:"definitionId"`
	StringValue  *string  `json:"stringValue"`
	IntValue     *int     `json:"intValue"`
	FloatValue   *float64 `json:"floatValue"`
}

type ConfiguratorAssemblyCreateInput

type ConfiguratorAssemblyCreateInput struct {
	Item *ConfiguratorAssemblyItemInput `json:"item"`
}

type ConfiguratorAssemblyItem

type ConfiguratorAssemblyItem struct {
	ID           *string                          `json:"id"`
	DefinitionID *string                          `json:"definitionId"`
	StockItemID  *string                          `json:"stockItemId"`
	Code         *string                          `json:"code"`
	Name         *string                          `json:"name"`
	Slots        []*ConfiguratorAssemblySlot      `json:"slots"`
	Attributes   []*ConfiguratorAssemblyAttribute `json:"attributes"`
}

type ConfiguratorAssemblyItemInput

type ConfiguratorAssemblyItemInput struct {
	ID           *string                               `json:"id"`
	DefinitionID *string                               `json:"definitionId"`
	StockItemID  *string                               `json:"stockItemId"`
	Code         *string                               `json:"code"`
	Name         *string                               `json:"name"`
	Slots        []*ConfiguratorAssemblySlotInput      `json:"slots"`
	Attributes   []*ConfiguratorAssemblyAttributeInput `json:"attributes"`
}

type ConfiguratorAssemblySlot

type ConfiguratorAssemblySlot struct {
	ID           *string                   `json:"id"`
	DefinitionID string                    `json:"definitionId"`
	Count        *float64                  `json:"count"`
	Item         *ConfiguratorAssemblyItem `json:"item"`
}

type ConfiguratorAssemblySlotInput

type ConfiguratorAssemblySlotInput struct {
	ID           *string                        `json:"id"`
	DefinitionID string                         `json:"definitionId"`
	Count        *float64                       `json:"count"`
	Item         *ConfiguratorAssemblyItemInput `json:"item"`
}

type ConfiguratorAssemblyUpdateInput

type ConfiguratorAssemblyUpdateInput struct {
	Item *ConfiguratorAssemblyItemInput `json:"item"`
}

type ConfiguratorAttribute

type ConfiguratorAttribute struct {
	ID           string     `json:"id" gorm:"column:id;primary_key"`
	StringValue  *string    `json:"stringValue" gorm:"column:stringValue"`
	FloatValue   *float64   `json:"floatValue" gorm:"column:floatValue"`
	IntValue     *int       `json:"intValue" gorm:"column:intValue"`
	DefinitionID *string    `json:"definitionId" gorm:"column:definitionId"`
	ItemID       *string    `json:"itemId" gorm:"column:itemId"`
	UpdatedAt    *time.Time `json:"updatedAt" gorm:"column:updatedAt"`
	CreatedAt    time.Time  `json:"createdAt" gorm:"column:createdAt"`
	UpdatedBy    *string    `json:"updatedBy" gorm:"column:updatedBy"`
	CreatedBy    *string    `json:"createdBy" gorm:"column:createdBy"`

	Definition *ConfiguratorAttributeDefinition `json:"definition"`

	Item *ConfiguratorItem `json:"item"`
}

func ConfiguratorAttributeDefinitionAttributesHandler

func ConfiguratorAttributeDefinitionAttributesHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorAttributeDefinition) (res []*ConfiguratorAttribute, err error)

func ConfiguratorItemAttributesHandler

func ConfiguratorItemAttributesHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItem) (res []*ConfiguratorAttribute, err error)

func CreateConfiguratorAttributeHandler

func CreateConfiguratorAttributeHandler(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorAttribute, err error)

func DeleteConfiguratorAttributeHandler

func DeleteConfiguratorAttributeHandler(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorAttribute, err error)

func UpdateConfiguratorAttributeHandler

func UpdateConfiguratorAttributeHandler(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorAttribute, err error)

func (*ConfiguratorAttribute) Is_Entity

func (m *ConfiguratorAttribute) Is_Entity()

type ConfiguratorAttributeChanges

type ConfiguratorAttributeChanges struct {
	ID           string
	StringValue  *string
	FloatValue   *float64
	IntValue     *int
	DefinitionID *string
	ItemID       *string
	UpdatedAt    *time.Time
	CreatedAt    time.Time
	UpdatedBy    *string
	CreatedBy    *string
}

type ConfiguratorAttributeDefinition

type ConfiguratorAttributeDefinition struct {
	ID        string                     `json:"id" gorm:"column:id;primary_key"`
	Name      *string                    `json:"name" gorm:"column:name"`
	Type      *ConfiguratorAttributeType `json:"type" gorm:"column:type"`
	UpdatedAt *time.Time                 `json:"updatedAt" gorm:"column:updatedAt"`
	CreatedAt time.Time                  `json:"createdAt" gorm:"column:createdAt"`
	UpdatedBy *string                    `json:"updatedBy" gorm:"column:updatedBy"`
	CreatedBy *string                    `json:"createdBy" gorm:"column:createdBy"`

	Definitions []*ConfiguratorItemDefinition `` /* 160-byte string literal not displayed */

	Attributes []*ConfiguratorAttribute `json:"attributes" gorm:"foreignkey:DefinitionID"`
}

func ConfiguratorItemDefinitionAttributesHandler

func ConfiguratorItemDefinitionAttributesHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItemDefinition) (res []*ConfiguratorAttributeDefinition, err error)

func CreateConfiguratorAttributeDefinitionHandler

func CreateConfiguratorAttributeDefinitionHandler(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorAttributeDefinition, err error)

func DeleteConfiguratorAttributeDefinitionHandler

func DeleteConfiguratorAttributeDefinitionHandler(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorAttributeDefinition, err error)

func UpdateConfiguratorAttributeDefinitionHandler

func UpdateConfiguratorAttributeDefinitionHandler(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorAttributeDefinition, err error)

func (*ConfiguratorAttributeDefinition) Is_Entity

func (m *ConfiguratorAttributeDefinition) Is_Entity()

type ConfiguratorAttributeDefinitionChanges

type ConfiguratorAttributeDefinitionChanges struct {
	ID        string
	Name      *string
	Type      *ConfiguratorAttributeType
	UpdatedAt *time.Time
	CreatedAt time.Time
	UpdatedBy *string
	CreatedBy *string

	DefinitionsIDs []*string
	AttributesIDs  []*string
}

type ConfiguratorAttributeDefinitionFilterType

type ConfiguratorAttributeDefinitionFilterType struct {
	And               []*ConfiguratorAttributeDefinitionFilterType `json:"AND"`
	Or                []*ConfiguratorAttributeDefinitionFilterType `json:"OR"`
	ID                *string                                      `json:"id"`
	IDMin             *string                                      `json:"idMin"`
	IDMax             *string                                      `json:"idMax"`
	IDNe              *string                                      `json:"id_ne"`
	IDMinNe           *string                                      `json:"idMin_ne"`
	IDMaxNe           *string                                      `json:"idMax_ne"`
	IDGt              *string                                      `json:"id_gt"`
	IDMinGt           *string                                      `json:"idMin_gt"`
	IDMaxGt           *string                                      `json:"idMax_gt"`
	IDLt              *string                                      `json:"id_lt"`
	IDMinLt           *string                                      `json:"idMin_lt"`
	IDMaxLt           *string                                      `json:"idMax_lt"`
	IDGte             *string                                      `json:"id_gte"`
	IDMinGte          *string                                      `json:"idMin_gte"`
	IDMaxGte          *string                                      `json:"idMax_gte"`
	IDLte             *string                                      `json:"id_lte"`
	IDMinLte          *string                                      `json:"idMin_lte"`
	IDMaxLte          *string                                      `json:"idMax_lte"`
	IDIn              []string                                     `json:"id_in"`
	IDMinIn           []string                                     `json:"idMin_in"`
	IDMaxIn           []string                                     `json:"idMax_in"`
	IDNotIn           []string                                     `json:"id_not_in"`
	IDMinNotIn        []string                                     `json:"idMin_not_in"`
	IDMaxNotIn        []string                                     `json:"idMax_not_in"`
	IDNull            *bool                                        `json:"id_null"`
	Name              *string                                      `json:"name"`
	NameMin           *string                                      `json:"nameMin"`
	NameMax           *string                                      `json:"nameMax"`
	NameNe            *string                                      `json:"name_ne"`
	NameMinNe         *string                                      `json:"nameMin_ne"`
	NameMaxNe         *string                                      `json:"nameMax_ne"`
	NameGt            *string                                      `json:"name_gt"`
	NameMinGt         *string                                      `json:"nameMin_gt"`
	NameMaxGt         *string                                      `json:"nameMax_gt"`
	NameLt            *string                                      `json:"name_lt"`
	NameMinLt         *string                                      `json:"nameMin_lt"`
	NameMaxLt         *string                                      `json:"nameMax_lt"`
	NameGte           *string                                      `json:"name_gte"`
	NameMinGte        *string                                      `json:"nameMin_gte"`
	NameMaxGte        *string                                      `json:"nameMax_gte"`
	NameLte           *string                                      `json:"name_lte"`
	NameMinLte        *string                                      `json:"nameMin_lte"`
	NameMaxLte        *string                                      `json:"nameMax_lte"`
	NameIn            []string                                     `json:"name_in"`
	NameMinIn         []string                                     `json:"nameMin_in"`
	NameMaxIn         []string                                     `json:"nameMax_in"`
	NameNotIn         []string                                     `json:"name_not_in"`
	NameMinNotIn      []string                                     `json:"nameMin_not_in"`
	NameMaxNotIn      []string                                     `json:"nameMax_not_in"`
	NameLike          *string                                      `json:"name_like"`
	NameMinLike       *string                                      `json:"nameMin_like"`
	NameMaxLike       *string                                      `json:"nameMax_like"`
	NamePrefix        *string                                      `json:"name_prefix"`
	NameMinPrefix     *string                                      `json:"nameMin_prefix"`
	NameMaxPrefix     *string                                      `json:"nameMax_prefix"`
	NameSuffix        *string                                      `json:"name_suffix"`
	NameMinSuffix     *string                                      `json:"nameMin_suffix"`
	NameMaxSuffix     *string                                      `json:"nameMax_suffix"`
	NameNull          *bool                                        `json:"name_null"`
	Type              *ConfiguratorAttributeType                   `json:"type"`
	TypeMin           *ConfiguratorAttributeType                   `json:"typeMin"`
	TypeMax           *ConfiguratorAttributeType                   `json:"typeMax"`
	TypeNe            *ConfiguratorAttributeType                   `json:"type_ne"`
	TypeMinNe         *ConfiguratorAttributeType                   `json:"typeMin_ne"`
	TypeMaxNe         *ConfiguratorAttributeType                   `json:"typeMax_ne"`
	TypeGt            *ConfiguratorAttributeType                   `json:"type_gt"`
	TypeMinGt         *ConfiguratorAttributeType                   `json:"typeMin_gt"`
	TypeMaxGt         *ConfiguratorAttributeType                   `json:"typeMax_gt"`
	TypeLt            *ConfiguratorAttributeType                   `json:"type_lt"`
	TypeMinLt         *ConfiguratorAttributeType                   `json:"typeMin_lt"`
	TypeMaxLt         *ConfiguratorAttributeType                   `json:"typeMax_lt"`
	TypeGte           *ConfiguratorAttributeType                   `json:"type_gte"`
	TypeMinGte        *ConfiguratorAttributeType                   `json:"typeMin_gte"`
	TypeMaxGte        *ConfiguratorAttributeType                   `json:"typeMax_gte"`
	TypeLte           *ConfiguratorAttributeType                   `json:"type_lte"`
	TypeMinLte        *ConfiguratorAttributeType                   `json:"typeMin_lte"`
	TypeMaxLte        *ConfiguratorAttributeType                   `json:"typeMax_lte"`
	TypeIn            []ConfiguratorAttributeType                  `json:"type_in"`
	TypeMinIn         []ConfiguratorAttributeType                  `json:"typeMin_in"`
	TypeMaxIn         []ConfiguratorAttributeType                  `json:"typeMax_in"`
	TypeNotIn         []ConfiguratorAttributeType                  `json:"type_not_in"`
	TypeMinNotIn      []ConfiguratorAttributeType                  `json:"typeMin_not_in"`
	TypeMaxNotIn      []ConfiguratorAttributeType                  `json:"typeMax_not_in"`
	TypeNull          *bool                                        `json:"type_null"`
	UpdatedAt         *time.Time                                   `json:"updatedAt"`
	UpdatedAtMin      *time.Time                                   `json:"updatedAtMin"`
	UpdatedAtMax      *time.Time                                   `json:"updatedAtMax"`
	UpdatedAtNe       *time.Time                                   `json:"updatedAt_ne"`
	UpdatedAtMinNe    *time.Time                                   `json:"updatedAtMin_ne"`
	UpdatedAtMaxNe    *time.Time                                   `json:"updatedAtMax_ne"`
	UpdatedAtGt       *time.Time                                   `json:"updatedAt_gt"`
	UpdatedAtMinGt    *time.Time                                   `json:"updatedAtMin_gt"`
	UpdatedAtMaxGt    *time.Time                                   `json:"updatedAtMax_gt"`
	UpdatedAtLt       *time.Time                                   `json:"updatedAt_lt"`
	UpdatedAtMinLt    *time.Time                                   `json:"updatedAtMin_lt"`
	UpdatedAtMaxLt    *time.Time                                   `json:"updatedAtMax_lt"`
	UpdatedAtGte      *time.Time                                   `json:"updatedAt_gte"`
	UpdatedAtMinGte   *time.Time                                   `json:"updatedAtMin_gte"`
	UpdatedAtMaxGte   *time.Time                                   `json:"updatedAtMax_gte"`
	UpdatedAtLte      *time.Time                                   `json:"updatedAt_lte"`
	UpdatedAtMinLte   *time.Time                                   `json:"updatedAtMin_lte"`
	UpdatedAtMaxLte   *time.Time                                   `json:"updatedAtMax_lte"`
	UpdatedAtIn       []*time.Time                                 `json:"updatedAt_in"`
	UpdatedAtMinIn    []*time.Time                                 `json:"updatedAtMin_in"`
	UpdatedAtMaxIn    []*time.Time                                 `json:"updatedAtMax_in"`
	UpdatedAtNotIn    []*time.Time                                 `json:"updatedAt_not_in"`
	UpdatedAtMinNotIn []*time.Time                                 `json:"updatedAtMin_not_in"`
	UpdatedAtMaxNotIn []*time.Time                                 `json:"updatedAtMax_not_in"`
	UpdatedAtNull     *bool                                        `json:"updatedAt_null"`
	CreatedAt         *time.Time                                   `json:"createdAt"`
	CreatedAtMin      *time.Time                                   `json:"createdAtMin"`
	CreatedAtMax      *time.Time                                   `json:"createdAtMax"`
	CreatedAtNe       *time.Time                                   `json:"createdAt_ne"`
	CreatedAtMinNe    *time.Time                                   `json:"createdAtMin_ne"`
	CreatedAtMaxNe    *time.Time                                   `json:"createdAtMax_ne"`
	CreatedAtGt       *time.Time                                   `json:"createdAt_gt"`
	CreatedAtMinGt    *time.Time                                   `json:"createdAtMin_gt"`
	CreatedAtMaxGt    *time.Time                                   `json:"createdAtMax_gt"`
	CreatedAtLt       *time.Time                                   `json:"createdAt_lt"`
	CreatedAtMinLt    *time.Time                                   `json:"createdAtMin_lt"`
	CreatedAtMaxLt    *time.Time                                   `json:"createdAtMax_lt"`
	CreatedAtGte      *time.Time                                   `json:"createdAt_gte"`
	CreatedAtMinGte   *time.Time                                   `json:"createdAtMin_gte"`
	CreatedAtMaxGte   *time.Time                                   `json:"createdAtMax_gte"`
	CreatedAtLte      *time.Time                                   `json:"createdAt_lte"`
	CreatedAtMinLte   *time.Time                                   `json:"createdAtMin_lte"`
	CreatedAtMaxLte   *time.Time                                   `json:"createdAtMax_lte"`
	CreatedAtIn       []*time.Time                                 `json:"createdAt_in"`
	CreatedAtMinIn    []*time.Time                                 `json:"createdAtMin_in"`
	CreatedAtMaxIn    []*time.Time                                 `json:"createdAtMax_in"`
	CreatedAtNotIn    []*time.Time                                 `json:"createdAt_not_in"`
	CreatedAtMinNotIn []*time.Time                                 `json:"createdAtMin_not_in"`
	CreatedAtMaxNotIn []*time.Time                                 `json:"createdAtMax_not_in"`
	CreatedAtNull     *bool                                        `json:"createdAt_null"`
	UpdatedBy         *string                                      `json:"updatedBy"`
	UpdatedByMin      *string                                      `json:"updatedByMin"`
	UpdatedByMax      *string                                      `json:"updatedByMax"`
	UpdatedByNe       *string                                      `json:"updatedBy_ne"`
	UpdatedByMinNe    *string                                      `json:"updatedByMin_ne"`
	UpdatedByMaxNe    *string                                      `json:"updatedByMax_ne"`
	UpdatedByGt       *string                                      `json:"updatedBy_gt"`
	UpdatedByMinGt    *string                                      `json:"updatedByMin_gt"`
	UpdatedByMaxGt    *string                                      `json:"updatedByMax_gt"`
	UpdatedByLt       *string                                      `json:"updatedBy_lt"`
	UpdatedByMinLt    *string                                      `json:"updatedByMin_lt"`
	UpdatedByMaxLt    *string                                      `json:"updatedByMax_lt"`
	UpdatedByGte      *string                                      `json:"updatedBy_gte"`
	UpdatedByMinGte   *string                                      `json:"updatedByMin_gte"`
	UpdatedByMaxGte   *string                                      `json:"updatedByMax_gte"`
	UpdatedByLte      *string                                      `json:"updatedBy_lte"`
	UpdatedByMinLte   *string                                      `json:"updatedByMin_lte"`
	UpdatedByMaxLte   *string                                      `json:"updatedByMax_lte"`
	UpdatedByIn       []string                                     `json:"updatedBy_in"`
	UpdatedByMinIn    []string                                     `json:"updatedByMin_in"`
	UpdatedByMaxIn    []string                                     `json:"updatedByMax_in"`
	UpdatedByNotIn    []string                                     `json:"updatedBy_not_in"`
	UpdatedByMinNotIn []string                                     `json:"updatedByMin_not_in"`
	UpdatedByMaxNotIn []string                                     `json:"updatedByMax_not_in"`
	UpdatedByNull     *bool                                        `json:"updatedBy_null"`
	CreatedBy         *string                                      `json:"createdBy"`
	CreatedByMin      *string                                      `json:"createdByMin"`
	CreatedByMax      *string                                      `json:"createdByMax"`
	CreatedByNe       *string                                      `json:"createdBy_ne"`
	CreatedByMinNe    *string                                      `json:"createdByMin_ne"`
	CreatedByMaxNe    *string                                      `json:"createdByMax_ne"`
	CreatedByGt       *string                                      `json:"createdBy_gt"`
	CreatedByMinGt    *string                                      `json:"createdByMin_gt"`
	CreatedByMaxGt    *string                                      `json:"createdByMax_gt"`
	CreatedByLt       *string                                      `json:"createdBy_lt"`
	CreatedByMinLt    *string                                      `json:"createdByMin_lt"`
	CreatedByMaxLt    *string                                      `json:"createdByMax_lt"`
	CreatedByGte      *string                                      `json:"createdBy_gte"`
	CreatedByMinGte   *string                                      `json:"createdByMin_gte"`
	CreatedByMaxGte   *string                                      `json:"createdByMax_gte"`
	CreatedByLte      *string                                      `json:"createdBy_lte"`
	CreatedByMinLte   *string                                      `json:"createdByMin_lte"`
	CreatedByMaxLte   *string                                      `json:"createdByMax_lte"`
	CreatedByIn       []string                                     `json:"createdBy_in"`
	CreatedByMinIn    []string                                     `json:"createdByMin_in"`
	CreatedByMaxIn    []string                                     `json:"createdByMax_in"`
	CreatedByNotIn    []string                                     `json:"createdBy_not_in"`
	CreatedByMinNotIn []string                                     `json:"createdByMin_not_in"`
	CreatedByMaxNotIn []string                                     `json:"createdByMax_not_in"`
	CreatedByNull     *bool                                        `json:"createdBy_null"`
	Definitions       *ConfiguratorItemDefinitionFilterType        `json:"definitions"`
	Attributes        *ConfiguratorAttributeFilterType             `json:"attributes"`
}

func (*ConfiguratorAttributeDefinitionFilterType) AndWith

AndWith convenience method for combining two or more filters with AND statement

func (*ConfiguratorAttributeDefinitionFilterType) Apply

func (f *ConfiguratorAttributeDefinitionFilterType) Apply(ctx context.Context, dialect gorm.Dialect, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorAttributeDefinitionFilterType) ApplyWithAlias

func (f *ConfiguratorAttributeDefinitionFilterType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorAttributeDefinitionFilterType) HavingContent

func (f *ConfiguratorAttributeDefinitionFilterType) HavingContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

func (*ConfiguratorAttributeDefinitionFilterType) IsEmpty

func (*ConfiguratorAttributeDefinitionFilterType) OrWith

OrWith convenience method for combining two or more filters with OR statement

func (*ConfiguratorAttributeDefinitionFilterType) WhereContent

func (f *ConfiguratorAttributeDefinitionFilterType) WhereContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

type ConfiguratorAttributeDefinitionQueryFilter

type ConfiguratorAttributeDefinitionQueryFilter struct {
	Query *string
}

func (*ConfiguratorAttributeDefinitionQueryFilter) Apply

func (qf *ConfiguratorAttributeDefinitionQueryFilter) Apply(ctx context.Context, dialect gorm.Dialect, selectionSet *ast.SelectionSet, wheres *[]string, values *[]interface{}, joins *[]string) error

type ConfiguratorAttributeDefinitionSortType

type ConfiguratorAttributeDefinitionSortType struct {
	ID                *ObjectSortType                     `json:"id"`
	IDMin             *ObjectSortType                     `json:"idMin"`
	IDMax             *ObjectSortType                     `json:"idMax"`
	Name              *ObjectSortType                     `json:"name"`
	NameMin           *ObjectSortType                     `json:"nameMin"`
	NameMax           *ObjectSortType                     `json:"nameMax"`
	Type              *ObjectSortType                     `json:"type"`
	TypeMin           *ObjectSortType                     `json:"typeMin"`
	TypeMax           *ObjectSortType                     `json:"typeMax"`
	UpdatedAt         *ObjectSortType                     `json:"updatedAt"`
	UpdatedAtMin      *ObjectSortType                     `json:"updatedAtMin"`
	UpdatedAtMax      *ObjectSortType                     `json:"updatedAtMax"`
	CreatedAt         *ObjectSortType                     `json:"createdAt"`
	CreatedAtMin      *ObjectSortType                     `json:"createdAtMin"`
	CreatedAtMax      *ObjectSortType                     `json:"createdAtMax"`
	UpdatedBy         *ObjectSortType                     `json:"updatedBy"`
	UpdatedByMin      *ObjectSortType                     `json:"updatedByMin"`
	UpdatedByMax      *ObjectSortType                     `json:"updatedByMax"`
	CreatedBy         *ObjectSortType                     `json:"createdBy"`
	CreatedByMin      *ObjectSortType                     `json:"createdByMin"`
	CreatedByMax      *ObjectSortType                     `json:"createdByMax"`
	DefinitionsIds    *ObjectSortType                     `json:"definitionsIds"`
	DefinitionsIdsMin *ObjectSortType                     `json:"definitionsIdsMin"`
	DefinitionsIdsMax *ObjectSortType                     `json:"definitionsIdsMax"`
	AttributesIds     *ObjectSortType                     `json:"attributesIds"`
	AttributesIdsMin  *ObjectSortType                     `json:"attributesIdsMin"`
	AttributesIdsMax  *ObjectSortType                     `json:"attributesIdsMax"`
	Definitions       *ConfiguratorItemDefinitionSortType `json:"definitions"`
	Attributes        *ConfiguratorAttributeSortType      `json:"attributes"`
}

func (ConfiguratorAttributeDefinitionSortType) Apply

func (s ConfiguratorAttributeDefinitionSortType) Apply(ctx context.Context, dialect gorm.Dialect, sorts *[]SortInfo, joins *[]string) error

func (ConfiguratorAttributeDefinitionSortType) ApplyWithAlias

func (s ConfiguratorAttributeDefinitionSortType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, sorts *[]SortInfo, joins *[]string) error

type ConfiguratorAttributeDefinition_definitions

type ConfiguratorAttributeDefinition_definitions struct {
	// contains filtered or unexported fields
}

func (ConfiguratorAttributeDefinition_definitions) TableName

type ConfiguratorAttributeFilterType

type ConfiguratorAttributeFilterType struct {
	And                  []*ConfiguratorAttributeFilterType         `json:"AND"`
	Or                   []*ConfiguratorAttributeFilterType         `json:"OR"`
	ID                   *string                                    `json:"id"`
	IDMin                *string                                    `json:"idMin"`
	IDMax                *string                                    `json:"idMax"`
	IDNe                 *string                                    `json:"id_ne"`
	IDMinNe              *string                                    `json:"idMin_ne"`
	IDMaxNe              *string                                    `json:"idMax_ne"`
	IDGt                 *string                                    `json:"id_gt"`
	IDMinGt              *string                                    `json:"idMin_gt"`
	IDMaxGt              *string                                    `json:"idMax_gt"`
	IDLt                 *string                                    `json:"id_lt"`
	IDMinLt              *string                                    `json:"idMin_lt"`
	IDMaxLt              *string                                    `json:"idMax_lt"`
	IDGte                *string                                    `json:"id_gte"`
	IDMinGte             *string                                    `json:"idMin_gte"`
	IDMaxGte             *string                                    `json:"idMax_gte"`
	IDLte                *string                                    `json:"id_lte"`
	IDMinLte             *string                                    `json:"idMin_lte"`
	IDMaxLte             *string                                    `json:"idMax_lte"`
	IDIn                 []string                                   `json:"id_in"`
	IDMinIn              []string                                   `json:"idMin_in"`
	IDMaxIn              []string                                   `json:"idMax_in"`
	IDNotIn              []string                                   `json:"id_not_in"`
	IDMinNotIn           []string                                   `json:"idMin_not_in"`
	IDMaxNotIn           []string                                   `json:"idMax_not_in"`
	IDNull               *bool                                      `json:"id_null"`
	StringValue          *string                                    `json:"stringValue"`
	StringValueMin       *string                                    `json:"stringValueMin"`
	StringValueMax       *string                                    `json:"stringValueMax"`
	StringValueNe        *string                                    `json:"stringValue_ne"`
	StringValueMinNe     *string                                    `json:"stringValueMin_ne"`
	StringValueMaxNe     *string                                    `json:"stringValueMax_ne"`
	StringValueGt        *string                                    `json:"stringValue_gt"`
	StringValueMinGt     *string                                    `json:"stringValueMin_gt"`
	StringValueMaxGt     *string                                    `json:"stringValueMax_gt"`
	StringValueLt        *string                                    `json:"stringValue_lt"`
	StringValueMinLt     *string                                    `json:"stringValueMin_lt"`
	StringValueMaxLt     *string                                    `json:"stringValueMax_lt"`
	StringValueGte       *string                                    `json:"stringValue_gte"`
	StringValueMinGte    *string                                    `json:"stringValueMin_gte"`
	StringValueMaxGte    *string                                    `json:"stringValueMax_gte"`
	StringValueLte       *string                                    `json:"stringValue_lte"`
	StringValueMinLte    *string                                    `json:"stringValueMin_lte"`
	StringValueMaxLte    *string                                    `json:"stringValueMax_lte"`
	StringValueIn        []string                                   `json:"stringValue_in"`
	StringValueMinIn     []string                                   `json:"stringValueMin_in"`
	StringValueMaxIn     []string                                   `json:"stringValueMax_in"`
	StringValueNotIn     []string                                   `json:"stringValue_not_in"`
	StringValueMinNotIn  []string                                   `json:"stringValueMin_not_in"`
	StringValueMaxNotIn  []string                                   `json:"stringValueMax_not_in"`
	StringValueLike      *string                                    `json:"stringValue_like"`
	StringValueMinLike   *string                                    `json:"stringValueMin_like"`
	StringValueMaxLike   *string                                    `json:"stringValueMax_like"`
	StringValuePrefix    *string                                    `json:"stringValue_prefix"`
	StringValueMinPrefix *string                                    `json:"stringValueMin_prefix"`
	StringValueMaxPrefix *string                                    `json:"stringValueMax_prefix"`
	StringValueSuffix    *string                                    `json:"stringValue_suffix"`
	StringValueMinSuffix *string                                    `json:"stringValueMin_suffix"`
	StringValueMaxSuffix *string                                    `json:"stringValueMax_suffix"`
	StringValueNull      *bool                                      `json:"stringValue_null"`
	FloatValue           *float64                                   `json:"floatValue"`
	FloatValueMin        *float64                                   `json:"floatValueMin"`
	FloatValueMax        *float64                                   `json:"floatValueMax"`
	FloatValueAvg        *float64                                   `json:"floatValueAvg"`
	FloatValueNe         *float64                                   `json:"floatValue_ne"`
	FloatValueMinNe      *float64                                   `json:"floatValueMin_ne"`
	FloatValueMaxNe      *float64                                   `json:"floatValueMax_ne"`
	FloatValueAvgNe      *float64                                   `json:"floatValueAvg_ne"`
	FloatValueGt         *float64                                   `json:"floatValue_gt"`
	FloatValueMinGt      *float64                                   `json:"floatValueMin_gt"`
	FloatValueMaxGt      *float64                                   `json:"floatValueMax_gt"`
	FloatValueAvgGt      *float64                                   `json:"floatValueAvg_gt"`
	FloatValueLt         *float64                                   `json:"floatValue_lt"`
	FloatValueMinLt      *float64                                   `json:"floatValueMin_lt"`
	FloatValueMaxLt      *float64                                   `json:"floatValueMax_lt"`
	FloatValueAvgLt      *float64                                   `json:"floatValueAvg_lt"`
	FloatValueGte        *float64                                   `json:"floatValue_gte"`
	FloatValueMinGte     *float64                                   `json:"floatValueMin_gte"`
	FloatValueMaxGte     *float64                                   `json:"floatValueMax_gte"`
	FloatValueAvgGte     *float64                                   `json:"floatValueAvg_gte"`
	FloatValueLte        *float64                                   `json:"floatValue_lte"`
	FloatValueMinLte     *float64                                   `json:"floatValueMin_lte"`
	FloatValueMaxLte     *float64                                   `json:"floatValueMax_lte"`
	FloatValueAvgLte     *float64                                   `json:"floatValueAvg_lte"`
	FloatValueIn         []float64                                  `json:"floatValue_in"`
	FloatValueMinIn      []float64                                  `json:"floatValueMin_in"`
	FloatValueMaxIn      []float64                                  `json:"floatValueMax_in"`
	FloatValueAvgIn      []float64                                  `json:"floatValueAvg_in"`
	FloatValueNotIn      []float64                                  `json:"floatValue_not_in"`
	FloatValueMinNotIn   []float64                                  `json:"floatValueMin_not_in"`
	FloatValueMaxNotIn   []float64                                  `json:"floatValueMax_not_in"`
	FloatValueAvgNotIn   []float64                                  `json:"floatValueAvg_not_in"`
	FloatValueNull       *bool                                      `json:"floatValue_null"`
	IntValue             *int                                       `json:"intValue"`
	IntValueMin          *int                                       `json:"intValueMin"`
	IntValueMax          *int                                       `json:"intValueMax"`
	IntValueAvg          *int                                       `json:"intValueAvg"`
	IntValueNe           *int                                       `json:"intValue_ne"`
	IntValueMinNe        *int                                       `json:"intValueMin_ne"`
	IntValueMaxNe        *int                                       `json:"intValueMax_ne"`
	IntValueAvgNe        *int                                       `json:"intValueAvg_ne"`
	IntValueGt           *int                                       `json:"intValue_gt"`
	IntValueMinGt        *int                                       `json:"intValueMin_gt"`
	IntValueMaxGt        *int                                       `json:"intValueMax_gt"`
	IntValueAvgGt        *int                                       `json:"intValueAvg_gt"`
	IntValueLt           *int                                       `json:"intValue_lt"`
	IntValueMinLt        *int                                       `json:"intValueMin_lt"`
	IntValueMaxLt        *int                                       `json:"intValueMax_lt"`
	IntValueAvgLt        *int                                       `json:"intValueAvg_lt"`
	IntValueGte          *int                                       `json:"intValue_gte"`
	IntValueMinGte       *int                                       `json:"intValueMin_gte"`
	IntValueMaxGte       *int                                       `json:"intValueMax_gte"`
	IntValueAvgGte       *int                                       `json:"intValueAvg_gte"`
	IntValueLte          *int                                       `json:"intValue_lte"`
	IntValueMinLte       *int                                       `json:"intValueMin_lte"`
	IntValueMaxLte       *int                                       `json:"intValueMax_lte"`
	IntValueAvgLte       *int                                       `json:"intValueAvg_lte"`
	IntValueIn           []int                                      `json:"intValue_in"`
	IntValueMinIn        []int                                      `json:"intValueMin_in"`
	IntValueMaxIn        []int                                      `json:"intValueMax_in"`
	IntValueAvgIn        []int                                      `json:"intValueAvg_in"`
	IntValueNotIn        []int                                      `json:"intValue_not_in"`
	IntValueMinNotIn     []int                                      `json:"intValueMin_not_in"`
	IntValueMaxNotIn     []int                                      `json:"intValueMax_not_in"`
	IntValueAvgNotIn     []int                                      `json:"intValueAvg_not_in"`
	IntValueNull         *bool                                      `json:"intValue_null"`
	DefinitionID         *string                                    `json:"definitionId"`
	DefinitionIDMin      *string                                    `json:"definitionIdMin"`
	DefinitionIDMax      *string                                    `json:"definitionIdMax"`
	DefinitionIDNe       *string                                    `json:"definitionId_ne"`
	DefinitionIDMinNe    *string                                    `json:"definitionIdMin_ne"`
	DefinitionIDMaxNe    *string                                    `json:"definitionIdMax_ne"`
	DefinitionIDGt       *string                                    `json:"definitionId_gt"`
	DefinitionIDMinGt    *string                                    `json:"definitionIdMin_gt"`
	DefinitionIDMaxGt    *string                                    `json:"definitionIdMax_gt"`
	DefinitionIDLt       *string                                    `json:"definitionId_lt"`
	DefinitionIDMinLt    *string                                    `json:"definitionIdMin_lt"`
	DefinitionIDMaxLt    *string                                    `json:"definitionIdMax_lt"`
	DefinitionIDGte      *string                                    `json:"definitionId_gte"`
	DefinitionIDMinGte   *string                                    `json:"definitionIdMin_gte"`
	DefinitionIDMaxGte   *string                                    `json:"definitionIdMax_gte"`
	DefinitionIDLte      *string                                    `json:"definitionId_lte"`
	DefinitionIDMinLte   *string                                    `json:"definitionIdMin_lte"`
	DefinitionIDMaxLte   *string                                    `json:"definitionIdMax_lte"`
	DefinitionIDIn       []string                                   `json:"definitionId_in"`
	DefinitionIDMinIn    []string                                   `json:"definitionIdMin_in"`
	DefinitionIDMaxIn    []string                                   `json:"definitionIdMax_in"`
	DefinitionIDNotIn    []string                                   `json:"definitionId_not_in"`
	DefinitionIDMinNotIn []string                                   `json:"definitionIdMin_not_in"`
	DefinitionIDMaxNotIn []string                                   `json:"definitionIdMax_not_in"`
	DefinitionIDNull     *bool                                      `json:"definitionId_null"`
	ItemID               *string                                    `json:"itemId"`
	ItemIDMin            *string                                    `json:"itemIdMin"`
	ItemIDMax            *string                                    `json:"itemIdMax"`
	ItemIDNe             *string                                    `json:"itemId_ne"`
	ItemIDMinNe          *string                                    `json:"itemIdMin_ne"`
	ItemIDMaxNe          *string                                    `json:"itemIdMax_ne"`
	ItemIDGt             *string                                    `json:"itemId_gt"`
	ItemIDMinGt          *string                                    `json:"itemIdMin_gt"`
	ItemIDMaxGt          *string                                    `json:"itemIdMax_gt"`
	ItemIDLt             *string                                    `json:"itemId_lt"`
	ItemIDMinLt          *string                                    `json:"itemIdMin_lt"`
	ItemIDMaxLt          *string                                    `json:"itemIdMax_lt"`
	ItemIDGte            *string                                    `json:"itemId_gte"`
	ItemIDMinGte         *string                                    `json:"itemIdMin_gte"`
	ItemIDMaxGte         *string                                    `json:"itemIdMax_gte"`
	ItemIDLte            *string                                    `json:"itemId_lte"`
	ItemIDMinLte         *string                                    `json:"itemIdMin_lte"`
	ItemIDMaxLte         *string                                    `json:"itemIdMax_lte"`
	ItemIDIn             []string                                   `json:"itemId_in"`
	ItemIDMinIn          []string                                   `json:"itemIdMin_in"`
	ItemIDMaxIn          []string                                   `json:"itemIdMax_in"`
	ItemIDNotIn          []string                                   `json:"itemId_not_in"`
	ItemIDMinNotIn       []string                                   `json:"itemIdMin_not_in"`
	ItemIDMaxNotIn       []string                                   `json:"itemIdMax_not_in"`
	ItemIDNull           *bool                                      `json:"itemId_null"`
	UpdatedAt            *time.Time                                 `json:"updatedAt"`
	UpdatedAtMin         *time.Time                                 `json:"updatedAtMin"`
	UpdatedAtMax         *time.Time                                 `json:"updatedAtMax"`
	UpdatedAtNe          *time.Time                                 `json:"updatedAt_ne"`
	UpdatedAtMinNe       *time.Time                                 `json:"updatedAtMin_ne"`
	UpdatedAtMaxNe       *time.Time                                 `json:"updatedAtMax_ne"`
	UpdatedAtGt          *time.Time                                 `json:"updatedAt_gt"`
	UpdatedAtMinGt       *time.Time                                 `json:"updatedAtMin_gt"`
	UpdatedAtMaxGt       *time.Time                                 `json:"updatedAtMax_gt"`
	UpdatedAtLt          *time.Time                                 `json:"updatedAt_lt"`
	UpdatedAtMinLt       *time.Time                                 `json:"updatedAtMin_lt"`
	UpdatedAtMaxLt       *time.Time                                 `json:"updatedAtMax_lt"`
	UpdatedAtGte         *time.Time                                 `json:"updatedAt_gte"`
	UpdatedAtMinGte      *time.Time                                 `json:"updatedAtMin_gte"`
	UpdatedAtMaxGte      *time.Time                                 `json:"updatedAtMax_gte"`
	UpdatedAtLte         *time.Time                                 `json:"updatedAt_lte"`
	UpdatedAtMinLte      *time.Time                                 `json:"updatedAtMin_lte"`
	UpdatedAtMaxLte      *time.Time                                 `json:"updatedAtMax_lte"`
	UpdatedAtIn          []*time.Time                               `json:"updatedAt_in"`
	UpdatedAtMinIn       []*time.Time                               `json:"updatedAtMin_in"`
	UpdatedAtMaxIn       []*time.Time                               `json:"updatedAtMax_in"`
	UpdatedAtNotIn       []*time.Time                               `json:"updatedAt_not_in"`
	UpdatedAtMinNotIn    []*time.Time                               `json:"updatedAtMin_not_in"`
	UpdatedAtMaxNotIn    []*time.Time                               `json:"updatedAtMax_not_in"`
	UpdatedAtNull        *bool                                      `json:"updatedAt_null"`
	CreatedAt            *time.Time                                 `json:"createdAt"`
	CreatedAtMin         *time.Time                                 `json:"createdAtMin"`
	CreatedAtMax         *time.Time                                 `json:"createdAtMax"`
	CreatedAtNe          *time.Time                                 `json:"createdAt_ne"`
	CreatedAtMinNe       *time.Time                                 `json:"createdAtMin_ne"`
	CreatedAtMaxNe       *time.Time                                 `json:"createdAtMax_ne"`
	CreatedAtGt          *time.Time                                 `json:"createdAt_gt"`
	CreatedAtMinGt       *time.Time                                 `json:"createdAtMin_gt"`
	CreatedAtMaxGt       *time.Time                                 `json:"createdAtMax_gt"`
	CreatedAtLt          *time.Time                                 `json:"createdAt_lt"`
	CreatedAtMinLt       *time.Time                                 `json:"createdAtMin_lt"`
	CreatedAtMaxLt       *time.Time                                 `json:"createdAtMax_lt"`
	CreatedAtGte         *time.Time                                 `json:"createdAt_gte"`
	CreatedAtMinGte      *time.Time                                 `json:"createdAtMin_gte"`
	CreatedAtMaxGte      *time.Time                                 `json:"createdAtMax_gte"`
	CreatedAtLte         *time.Time                                 `json:"createdAt_lte"`
	CreatedAtMinLte      *time.Time                                 `json:"createdAtMin_lte"`
	CreatedAtMaxLte      *time.Time                                 `json:"createdAtMax_lte"`
	CreatedAtIn          []*time.Time                               `json:"createdAt_in"`
	CreatedAtMinIn       []*time.Time                               `json:"createdAtMin_in"`
	CreatedAtMaxIn       []*time.Time                               `json:"createdAtMax_in"`
	CreatedAtNotIn       []*time.Time                               `json:"createdAt_not_in"`
	CreatedAtMinNotIn    []*time.Time                               `json:"createdAtMin_not_in"`
	CreatedAtMaxNotIn    []*time.Time                               `json:"createdAtMax_not_in"`
	CreatedAtNull        *bool                                      `json:"createdAt_null"`
	UpdatedBy            *string                                    `json:"updatedBy"`
	UpdatedByMin         *string                                    `json:"updatedByMin"`
	UpdatedByMax         *string                                    `json:"updatedByMax"`
	UpdatedByNe          *string                                    `json:"updatedBy_ne"`
	UpdatedByMinNe       *string                                    `json:"updatedByMin_ne"`
	UpdatedByMaxNe       *string                                    `json:"updatedByMax_ne"`
	UpdatedByGt          *string                                    `json:"updatedBy_gt"`
	UpdatedByMinGt       *string                                    `json:"updatedByMin_gt"`
	UpdatedByMaxGt       *string                                    `json:"updatedByMax_gt"`
	UpdatedByLt          *string                                    `json:"updatedBy_lt"`
	UpdatedByMinLt       *string                                    `json:"updatedByMin_lt"`
	UpdatedByMaxLt       *string                                    `json:"updatedByMax_lt"`
	UpdatedByGte         *string                                    `json:"updatedBy_gte"`
	UpdatedByMinGte      *string                                    `json:"updatedByMin_gte"`
	UpdatedByMaxGte      *string                                    `json:"updatedByMax_gte"`
	UpdatedByLte         *string                                    `json:"updatedBy_lte"`
	UpdatedByMinLte      *string                                    `json:"updatedByMin_lte"`
	UpdatedByMaxLte      *string                                    `json:"updatedByMax_lte"`
	UpdatedByIn          []string                                   `json:"updatedBy_in"`
	UpdatedByMinIn       []string                                   `json:"updatedByMin_in"`
	UpdatedByMaxIn       []string                                   `json:"updatedByMax_in"`
	UpdatedByNotIn       []string                                   `json:"updatedBy_not_in"`
	UpdatedByMinNotIn    []string                                   `json:"updatedByMin_not_in"`
	UpdatedByMaxNotIn    []string                                   `json:"updatedByMax_not_in"`
	UpdatedByNull        *bool                                      `json:"updatedBy_null"`
	CreatedBy            *string                                    `json:"createdBy"`
	CreatedByMin         *string                                    `json:"createdByMin"`
	CreatedByMax         *string                                    `json:"createdByMax"`
	CreatedByNe          *string                                    `json:"createdBy_ne"`
	CreatedByMinNe       *string                                    `json:"createdByMin_ne"`
	CreatedByMaxNe       *string                                    `json:"createdByMax_ne"`
	CreatedByGt          *string                                    `json:"createdBy_gt"`
	CreatedByMinGt       *string                                    `json:"createdByMin_gt"`
	CreatedByMaxGt       *string                                    `json:"createdByMax_gt"`
	CreatedByLt          *string                                    `json:"createdBy_lt"`
	CreatedByMinLt       *string                                    `json:"createdByMin_lt"`
	CreatedByMaxLt       *string                                    `json:"createdByMax_lt"`
	CreatedByGte         *string                                    `json:"createdBy_gte"`
	CreatedByMinGte      *string                                    `json:"createdByMin_gte"`
	CreatedByMaxGte      *string                                    `json:"createdByMax_gte"`
	CreatedByLte         *string                                    `json:"createdBy_lte"`
	CreatedByMinLte      *string                                    `json:"createdByMin_lte"`
	CreatedByMaxLte      *string                                    `json:"createdByMax_lte"`
	CreatedByIn          []string                                   `json:"createdBy_in"`
	CreatedByMinIn       []string                                   `json:"createdByMin_in"`
	CreatedByMaxIn       []string                                   `json:"createdByMax_in"`
	CreatedByNotIn       []string                                   `json:"createdBy_not_in"`
	CreatedByMinNotIn    []string                                   `json:"createdByMin_not_in"`
	CreatedByMaxNotIn    []string                                   `json:"createdByMax_not_in"`
	CreatedByNull        *bool                                      `json:"createdBy_null"`
	Definition           *ConfiguratorAttributeDefinitionFilterType `json:"definition"`
	Item                 *ConfiguratorItemFilterType                `json:"item"`
}

func (*ConfiguratorAttributeFilterType) AndWith

AndWith convenience method for combining two or more filters with AND statement

func (*ConfiguratorAttributeFilterType) Apply

func (f *ConfiguratorAttributeFilterType) Apply(ctx context.Context, dialect gorm.Dialect, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorAttributeFilterType) ApplyWithAlias

func (f *ConfiguratorAttributeFilterType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorAttributeFilterType) HavingContent

func (f *ConfiguratorAttributeFilterType) HavingContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

func (*ConfiguratorAttributeFilterType) IsEmpty

func (*ConfiguratorAttributeFilterType) OrWith

OrWith convenience method for combining two or more filters with OR statement

func (*ConfiguratorAttributeFilterType) WhereContent

func (f *ConfiguratorAttributeFilterType) WhereContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

type ConfiguratorAttributeQueryFilter

type ConfiguratorAttributeQueryFilter struct {
	Query *string
}

func (*ConfiguratorAttributeQueryFilter) Apply

func (qf *ConfiguratorAttributeQueryFilter) Apply(ctx context.Context, dialect gorm.Dialect, selectionSet *ast.SelectionSet, wheres *[]string, values *[]interface{}, joins *[]string) error

type ConfiguratorAttributeResolver

type ConfiguratorAttributeResolver interface {
	Definition(ctx context.Context, obj *ConfiguratorAttribute) (*ConfiguratorAttributeDefinition, error)
	Item(ctx context.Context, obj *ConfiguratorAttribute) (*ConfiguratorItem, error)
}

type ConfiguratorAttributeResultType

type ConfiguratorAttributeResultType struct {
	EntityResultType
}

type ConfiguratorAttributeResultTypeResolver

type ConfiguratorAttributeResultTypeResolver interface {
	Items(ctx context.Context, obj *ConfiguratorAttributeResultType) ([]*ConfiguratorAttribute, error)
	Count(ctx context.Context, obj *ConfiguratorAttributeResultType) (int, error)
}

type ConfiguratorAttributeSortType

type ConfiguratorAttributeSortType struct {
	ID              *ObjectSortType                          `json:"id"`
	IDMin           *ObjectSortType                          `json:"idMin"`
	IDMax           *ObjectSortType                          `json:"idMax"`
	StringValue     *ObjectSortType                          `json:"stringValue"`
	StringValueMin  *ObjectSortType                          `json:"stringValueMin"`
	StringValueMax  *ObjectSortType                          `json:"stringValueMax"`
	FloatValue      *ObjectSortType                          `json:"floatValue"`
	FloatValueMin   *ObjectSortType                          `json:"floatValueMin"`
	FloatValueMax   *ObjectSortType                          `json:"floatValueMax"`
	FloatValueAvg   *ObjectSortType                          `json:"floatValueAvg"`
	IntValue        *ObjectSortType                          `json:"intValue"`
	IntValueMin     *ObjectSortType                          `json:"intValueMin"`
	IntValueMax     *ObjectSortType                          `json:"intValueMax"`
	IntValueAvg     *ObjectSortType                          `json:"intValueAvg"`
	DefinitionID    *ObjectSortType                          `json:"definitionId"`
	DefinitionIDMin *ObjectSortType                          `json:"definitionIdMin"`
	DefinitionIDMax *ObjectSortType                          `json:"definitionIdMax"`
	ItemID          *ObjectSortType                          `json:"itemId"`
	ItemIDMin       *ObjectSortType                          `json:"itemIdMin"`
	ItemIDMax       *ObjectSortType                          `json:"itemIdMax"`
	UpdatedAt       *ObjectSortType                          `json:"updatedAt"`
	UpdatedAtMin    *ObjectSortType                          `json:"updatedAtMin"`
	UpdatedAtMax    *ObjectSortType                          `json:"updatedAtMax"`
	CreatedAt       *ObjectSortType                          `json:"createdAt"`
	CreatedAtMin    *ObjectSortType                          `json:"createdAtMin"`
	CreatedAtMax    *ObjectSortType                          `json:"createdAtMax"`
	UpdatedBy       *ObjectSortType                          `json:"updatedBy"`
	UpdatedByMin    *ObjectSortType                          `json:"updatedByMin"`
	UpdatedByMax    *ObjectSortType                          `json:"updatedByMax"`
	CreatedBy       *ObjectSortType                          `json:"createdBy"`
	CreatedByMin    *ObjectSortType                          `json:"createdByMin"`
	CreatedByMax    *ObjectSortType                          `json:"createdByMax"`
	Definition      *ConfiguratorAttributeDefinitionSortType `json:"definition"`
	Item            *ConfiguratorItemSortType                `json:"item"`
}

func (ConfiguratorAttributeSortType) Apply

func (s ConfiguratorAttributeSortType) Apply(ctx context.Context, dialect gorm.Dialect, sorts *[]SortInfo, joins *[]string) error

func (ConfiguratorAttributeSortType) ApplyWithAlias

func (s ConfiguratorAttributeSortType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, sorts *[]SortInfo, joins *[]string) error

type ConfiguratorAttributeType

type ConfiguratorAttributeType string
const (
	ConfiguratorAttributeTypeString ConfiguratorAttributeType = "STRING"
	ConfiguratorAttributeTypeFloat  ConfiguratorAttributeType = "FLOAT"
	ConfiguratorAttributeTypeInt    ConfiguratorAttributeType = "INT"
)

func (ConfiguratorAttributeType) IsValid

func (e ConfiguratorAttributeType) IsValid() bool

func (ConfiguratorAttributeType) MarshalGQL

func (e ConfiguratorAttributeType) MarshalGQL(w io.Writer)

func (ConfiguratorAttributeType) String

func (e ConfiguratorAttributeType) String() string

func (*ConfiguratorAttributeType) UnmarshalGQL

func (e *ConfiguratorAttributeType) UnmarshalGQL(v interface{}) error

type ConfiguratorItem

type ConfiguratorItem struct {
	ID           string     `json:"id" gorm:"column:id;primary_key"`
	Code         *string    `json:"code" gorm:"column:code"`
	Name         *string    `json:"name" gorm:"column:name"`
	StockItemID  *string    `json:"stockItemId" gorm:"column:stockItemId"`
	RawData      *string    `json:"rawData" gorm:"column:rawData;type:text"`
	DefinitionID *string    `json:"definitionId" gorm:"column:definitionId"`
	UpdatedAt    *time.Time `json:"updatedAt" gorm:"column:updatedAt"`
	CreatedAt    time.Time  `json:"createdAt" gorm:"column:createdAt"`
	UpdatedBy    *string    `json:"updatedBy" gorm:"column:updatedBy"`
	CreatedBy    *string    `json:"createdBy" gorm:"column:createdBy"`

	Definition *ConfiguratorItemDefinition `json:"definition"`

	Attributes []*ConfiguratorAttribute `json:"attributes" gorm:"foreignkey:ItemID"`

	Slots []*ConfiguratorSlot `json:"slots" gorm:"foreignkey:ParentItemID"`

	ParentSlots []*ConfiguratorSlot `json:"parentSlots" gorm:"foreignkey:ItemID"`
}

func ConfiguratorAttributeItemHandler

func ConfiguratorAttributeItemHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorAttribute) (res *ConfiguratorItem, err error)

func ConfiguratorItemDefinitionItemsHandler

func ConfiguratorItemDefinitionItemsHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItemDefinition) (res []*ConfiguratorItem, err error)

func ConfiguratorSlotItemHandler

func ConfiguratorSlotItemHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlot) (res *ConfiguratorItem, err error)

func ConfiguratorSlotParentItemHandler

func ConfiguratorSlotParentItemHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlot) (res *ConfiguratorItem, err error)

func CreateConfiguratorItemHandler

func CreateConfiguratorItemHandler(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorItem, err error)

func DeleteConfiguratorItemHandler

func DeleteConfiguratorItemHandler(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorItem, err error)

func UpdateConfiguratorItemHandler

func UpdateConfiguratorItemHandler(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorItem, err error)

func (*ConfiguratorItem) Is_Entity

func (m *ConfiguratorItem) Is_Entity()

type ConfiguratorItemChanges

type ConfiguratorItemChanges struct {
	ID           string
	Code         *string
	Name         *string
	StockItemID  *string
	RawData      *string
	DefinitionID *string
	UpdatedAt    *time.Time
	CreatedAt    time.Time
	UpdatedBy    *string
	CreatedBy    *string

	AttributesIDs  []*string
	SlotsIDs       []*string
	ParentSlotsIDs []*string
}

type ConfiguratorItemDefinition

type ConfiguratorItemDefinition struct {
	ID         string     `json:"id" gorm:"column:id;primary_key"`
	Code       *string    `json:"code" gorm:"column:code;unique"`
	Name       *string    `json:"name" gorm:"column:name"`
	CategoryID *string    `json:"categoryId" gorm:"column:categoryId"`
	UpdatedAt  *time.Time `json:"updatedAt" gorm:"column:updatedAt"`
	CreatedAt  time.Time  `json:"createdAt" gorm:"column:createdAt"`
	UpdatedBy  *string    `json:"updatedBy" gorm:"column:updatedBy"`
	CreatedBy  *string    `json:"createdBy" gorm:"column:createdBy"`

	Attributes []*ConfiguratorAttributeDefinition `` /* 159-byte string literal not displayed */

	Slots []*ConfiguratorSlotDefinition `json:"slots" gorm:"foreignkey:DefinitionID"`

	Items []*ConfiguratorItem `json:"items" gorm:"foreignkey:DefinitionID"`

	AllowedInSlots []*ConfiguratorSlotDefinition `` /* 184-byte string literal not displayed */

	Category *ConfiguratorItemDefinitionCategory `json:"category"`
}

func ConfiguratorAttributeDefinitionDefinitionsHandler

func ConfiguratorAttributeDefinitionDefinitionsHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorAttributeDefinition) (res []*ConfiguratorItemDefinition, err error)

func ConfiguratorItemDefinitionCategoryDefinitionsHandler

func ConfiguratorItemDefinitionCategoryDefinitionsHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItemDefinitionCategory) (res []*ConfiguratorItemDefinition, err error)

func ConfiguratorItemDefinitionHandler

func ConfiguratorItemDefinitionHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItem) (res *ConfiguratorItemDefinition, err error)

func ConfiguratorSlotDefinitionAllowedItemDefinitionsHandler

func ConfiguratorSlotDefinitionAllowedItemDefinitionsHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlotDefinition) (res []*ConfiguratorItemDefinition, err error)

func ConfiguratorSlotDefinitionDefinitionHandler

func ConfiguratorSlotDefinitionDefinitionHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlotDefinition) (res *ConfiguratorItemDefinition, err error)

func CreateConfiguratorItemDefinitionHandler

func CreateConfiguratorItemDefinitionHandler(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorItemDefinition, err error)

func DeleteConfiguratorItemDefinitionHandler

func DeleteConfiguratorItemDefinitionHandler(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorItemDefinition, err error)

func UpdateConfiguratorItemDefinitionHandler

func UpdateConfiguratorItemDefinitionHandler(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorItemDefinition, err error)

func (*ConfiguratorItemDefinition) Is_Entity

func (m *ConfiguratorItemDefinition) Is_Entity()

type ConfiguratorItemDefinitionCategory

type ConfiguratorItemDefinitionCategory struct {
	ID        string     `json:"id" gorm:"column:id;primary_key"`
	Code      *string    `json:"code" gorm:"column:code;unique"`
	Name      *string    `json:"name" gorm:"column:name"`
	Type      *string    `json:"type" gorm:"column:type"`
	Primary   *bool      `json:"primary" gorm:"column:primary"`
	UpdatedAt *time.Time `json:"updatedAt" gorm:"column:updatedAt"`
	CreatedAt time.Time  `json:"createdAt" gorm:"column:createdAt"`
	UpdatedBy *string    `json:"updatedBy" gorm:"column:updatedBy"`
	CreatedBy *string    `json:"createdBy" gorm:"column:createdBy"`

	Definitions []*ConfiguratorItemDefinition `json:"definitions" gorm:"foreignkey:CategoryID"`
}

func CreateConfiguratorItemDefinitionCategoryHandler

func CreateConfiguratorItemDefinitionCategoryHandler(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorItemDefinitionCategory, err error)

func DeleteConfiguratorItemDefinitionCategoryHandler

func DeleteConfiguratorItemDefinitionCategoryHandler(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorItemDefinitionCategory, err error)

func UpdateConfiguratorItemDefinitionCategoryHandler

func UpdateConfiguratorItemDefinitionCategoryHandler(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorItemDefinitionCategory, err error)

func (*ConfiguratorItemDefinitionCategory) Is_Entity

func (m *ConfiguratorItemDefinitionCategory) Is_Entity()

type ConfiguratorItemDefinitionCategoryChanges

type ConfiguratorItemDefinitionCategoryChanges struct {
	ID        string
	Code      *string
	Name      *string
	Type      *string
	Primary   *bool
	UpdatedAt *time.Time
	CreatedAt time.Time
	UpdatedBy *string
	CreatedBy *string

	DefinitionsIDs []*string
}

type ConfiguratorItemDefinitionCategoryFilterType

type ConfiguratorItemDefinitionCategoryFilterType struct {
	And               []*ConfiguratorItemDefinitionCategoryFilterType `json:"AND"`
	Or                []*ConfiguratorItemDefinitionCategoryFilterType `json:"OR"`
	ID                *string                                         `json:"id"`
	IDMin             *string                                         `json:"idMin"`
	IDMax             *string                                         `json:"idMax"`
	IDNe              *string                                         `json:"id_ne"`
	IDMinNe           *string                                         `json:"idMin_ne"`
	IDMaxNe           *string                                         `json:"idMax_ne"`
	IDGt              *string                                         `json:"id_gt"`
	IDMinGt           *string                                         `json:"idMin_gt"`
	IDMaxGt           *string                                         `json:"idMax_gt"`
	IDLt              *string                                         `json:"id_lt"`
	IDMinLt           *string                                         `json:"idMin_lt"`
	IDMaxLt           *string                                         `json:"idMax_lt"`
	IDGte             *string                                         `json:"id_gte"`
	IDMinGte          *string                                         `json:"idMin_gte"`
	IDMaxGte          *string                                         `json:"idMax_gte"`
	IDLte             *string                                         `json:"id_lte"`
	IDMinLte          *string                                         `json:"idMin_lte"`
	IDMaxLte          *string                                         `json:"idMax_lte"`
	IDIn              []string                                        `json:"id_in"`
	IDMinIn           []string                                        `json:"idMin_in"`
	IDMaxIn           []string                                        `json:"idMax_in"`
	IDNotIn           []string                                        `json:"id_not_in"`
	IDMinNotIn        []string                                        `json:"idMin_not_in"`
	IDMaxNotIn        []string                                        `json:"idMax_not_in"`
	IDNull            *bool                                           `json:"id_null"`
	Code              *string                                         `json:"code"`
	CodeMin           *string                                         `json:"codeMin"`
	CodeMax           *string                                         `json:"codeMax"`
	CodeNe            *string                                         `json:"code_ne"`
	CodeMinNe         *string                                         `json:"codeMin_ne"`
	CodeMaxNe         *string                                         `json:"codeMax_ne"`
	CodeGt            *string                                         `json:"code_gt"`
	CodeMinGt         *string                                         `json:"codeMin_gt"`
	CodeMaxGt         *string                                         `json:"codeMax_gt"`
	CodeLt            *string                                         `json:"code_lt"`
	CodeMinLt         *string                                         `json:"codeMin_lt"`
	CodeMaxLt         *string                                         `json:"codeMax_lt"`
	CodeGte           *string                                         `json:"code_gte"`
	CodeMinGte        *string                                         `json:"codeMin_gte"`
	CodeMaxGte        *string                                         `json:"codeMax_gte"`
	CodeLte           *string                                         `json:"code_lte"`
	CodeMinLte        *string                                         `json:"codeMin_lte"`
	CodeMaxLte        *string                                         `json:"codeMax_lte"`
	CodeIn            []string                                        `json:"code_in"`
	CodeMinIn         []string                                        `json:"codeMin_in"`
	CodeMaxIn         []string                                        `json:"codeMax_in"`
	CodeNotIn         []string                                        `json:"code_not_in"`
	CodeMinNotIn      []string                                        `json:"codeMin_not_in"`
	CodeMaxNotIn      []string                                        `json:"codeMax_not_in"`
	CodeLike          *string                                         `json:"code_like"`
	CodeMinLike       *string                                         `json:"codeMin_like"`
	CodeMaxLike       *string                                         `json:"codeMax_like"`
	CodePrefix        *string                                         `json:"code_prefix"`
	CodeMinPrefix     *string                                         `json:"codeMin_prefix"`
	CodeMaxPrefix     *string                                         `json:"codeMax_prefix"`
	CodeSuffix        *string                                         `json:"code_suffix"`
	CodeMinSuffix     *string                                         `json:"codeMin_suffix"`
	CodeMaxSuffix     *string                                         `json:"codeMax_suffix"`
	CodeNull          *bool                                           `json:"code_null"`
	Name              *string                                         `json:"name"`
	NameMin           *string                                         `json:"nameMin"`
	NameMax           *string                                         `json:"nameMax"`
	NameNe            *string                                         `json:"name_ne"`
	NameMinNe         *string                                         `json:"nameMin_ne"`
	NameMaxNe         *string                                         `json:"nameMax_ne"`
	NameGt            *string                                         `json:"name_gt"`
	NameMinGt         *string                                         `json:"nameMin_gt"`
	NameMaxGt         *string                                         `json:"nameMax_gt"`
	NameLt            *string                                         `json:"name_lt"`
	NameMinLt         *string                                         `json:"nameMin_lt"`
	NameMaxLt         *string                                         `json:"nameMax_lt"`
	NameGte           *string                                         `json:"name_gte"`
	NameMinGte        *string                                         `json:"nameMin_gte"`
	NameMaxGte        *string                                         `json:"nameMax_gte"`
	NameLte           *string                                         `json:"name_lte"`
	NameMinLte        *string                                         `json:"nameMin_lte"`
	NameMaxLte        *string                                         `json:"nameMax_lte"`
	NameIn            []string                                        `json:"name_in"`
	NameMinIn         []string                                        `json:"nameMin_in"`
	NameMaxIn         []string                                        `json:"nameMax_in"`
	NameNotIn         []string                                        `json:"name_not_in"`
	NameMinNotIn      []string                                        `json:"nameMin_not_in"`
	NameMaxNotIn      []string                                        `json:"nameMax_not_in"`
	NameLike          *string                                         `json:"name_like"`
	NameMinLike       *string                                         `json:"nameMin_like"`
	NameMaxLike       *string                                         `json:"nameMax_like"`
	NamePrefix        *string                                         `json:"name_prefix"`
	NameMinPrefix     *string                                         `json:"nameMin_prefix"`
	NameMaxPrefix     *string                                         `json:"nameMax_prefix"`
	NameSuffix        *string                                         `json:"name_suffix"`
	NameMinSuffix     *string                                         `json:"nameMin_suffix"`
	NameMaxSuffix     *string                                         `json:"nameMax_suffix"`
	NameNull          *bool                                           `json:"name_null"`
	Type              *string                                         `json:"type"`
	TypeMin           *string                                         `json:"typeMin"`
	TypeMax           *string                                         `json:"typeMax"`
	TypeNe            *string                                         `json:"type_ne"`
	TypeMinNe         *string                                         `json:"typeMin_ne"`
	TypeMaxNe         *string                                         `json:"typeMax_ne"`
	TypeGt            *string                                         `json:"type_gt"`
	TypeMinGt         *string                                         `json:"typeMin_gt"`
	TypeMaxGt         *string                                         `json:"typeMax_gt"`
	TypeLt            *string                                         `json:"type_lt"`
	TypeMinLt         *string                                         `json:"typeMin_lt"`
	TypeMaxLt         *string                                         `json:"typeMax_lt"`
	TypeGte           *string                                         `json:"type_gte"`
	TypeMinGte        *string                                         `json:"typeMin_gte"`
	TypeMaxGte        *string                                         `json:"typeMax_gte"`
	TypeLte           *string                                         `json:"type_lte"`
	TypeMinLte        *string                                         `json:"typeMin_lte"`
	TypeMaxLte        *string                                         `json:"typeMax_lte"`
	TypeIn            []string                                        `json:"type_in"`
	TypeMinIn         []string                                        `json:"typeMin_in"`
	TypeMaxIn         []string                                        `json:"typeMax_in"`
	TypeNotIn         []string                                        `json:"type_not_in"`
	TypeMinNotIn      []string                                        `json:"typeMin_not_in"`
	TypeMaxNotIn      []string                                        `json:"typeMax_not_in"`
	TypeLike          *string                                         `json:"type_like"`
	TypeMinLike       *string                                         `json:"typeMin_like"`
	TypeMaxLike       *string                                         `json:"typeMax_like"`
	TypePrefix        *string                                         `json:"type_prefix"`
	TypeMinPrefix     *string                                         `json:"typeMin_prefix"`
	TypeMaxPrefix     *string                                         `json:"typeMax_prefix"`
	TypeSuffix        *string                                         `json:"type_suffix"`
	TypeMinSuffix     *string                                         `json:"typeMin_suffix"`
	TypeMaxSuffix     *string                                         `json:"typeMax_suffix"`
	TypeNull          *bool                                           `json:"type_null"`
	Primary           *bool                                           `json:"primary"`
	PrimaryMin        *bool                                           `json:"primaryMin"`
	PrimaryMax        *bool                                           `json:"primaryMax"`
	PrimaryNe         *bool                                           `json:"primary_ne"`
	PrimaryMinNe      *bool                                           `json:"primaryMin_ne"`
	PrimaryMaxNe      *bool                                           `json:"primaryMax_ne"`
	PrimaryGt         *bool                                           `json:"primary_gt"`
	PrimaryMinGt      *bool                                           `json:"primaryMin_gt"`
	PrimaryMaxGt      *bool                                           `json:"primaryMax_gt"`
	PrimaryLt         *bool                                           `json:"primary_lt"`
	PrimaryMinLt      *bool                                           `json:"primaryMin_lt"`
	PrimaryMaxLt      *bool                                           `json:"primaryMax_lt"`
	PrimaryGte        *bool                                           `json:"primary_gte"`
	PrimaryMinGte     *bool                                           `json:"primaryMin_gte"`
	PrimaryMaxGte     *bool                                           `json:"primaryMax_gte"`
	PrimaryLte        *bool                                           `json:"primary_lte"`
	PrimaryMinLte     *bool                                           `json:"primaryMin_lte"`
	PrimaryMaxLte     *bool                                           `json:"primaryMax_lte"`
	PrimaryIn         []bool                                          `json:"primary_in"`
	PrimaryMinIn      []bool                                          `json:"primaryMin_in"`
	PrimaryMaxIn      []bool                                          `json:"primaryMax_in"`
	PrimaryNotIn      []bool                                          `json:"primary_not_in"`
	PrimaryMinNotIn   []bool                                          `json:"primaryMin_not_in"`
	PrimaryMaxNotIn   []bool                                          `json:"primaryMax_not_in"`
	PrimaryNull       *bool                                           `json:"primary_null"`
	UpdatedAt         *time.Time                                      `json:"updatedAt"`
	UpdatedAtMin      *time.Time                                      `json:"updatedAtMin"`
	UpdatedAtMax      *time.Time                                      `json:"updatedAtMax"`
	UpdatedAtNe       *time.Time                                      `json:"updatedAt_ne"`
	UpdatedAtMinNe    *time.Time                                      `json:"updatedAtMin_ne"`
	UpdatedAtMaxNe    *time.Time                                      `json:"updatedAtMax_ne"`
	UpdatedAtGt       *time.Time                                      `json:"updatedAt_gt"`
	UpdatedAtMinGt    *time.Time                                      `json:"updatedAtMin_gt"`
	UpdatedAtMaxGt    *time.Time                                      `json:"updatedAtMax_gt"`
	UpdatedAtLt       *time.Time                                      `json:"updatedAt_lt"`
	UpdatedAtMinLt    *time.Time                                      `json:"updatedAtMin_lt"`
	UpdatedAtMaxLt    *time.Time                                      `json:"updatedAtMax_lt"`
	UpdatedAtGte      *time.Time                                      `json:"updatedAt_gte"`
	UpdatedAtMinGte   *time.Time                                      `json:"updatedAtMin_gte"`
	UpdatedAtMaxGte   *time.Time                                      `json:"updatedAtMax_gte"`
	UpdatedAtLte      *time.Time                                      `json:"updatedAt_lte"`
	UpdatedAtMinLte   *time.Time                                      `json:"updatedAtMin_lte"`
	UpdatedAtMaxLte   *time.Time                                      `json:"updatedAtMax_lte"`
	UpdatedAtIn       []*time.Time                                    `json:"updatedAt_in"`
	UpdatedAtMinIn    []*time.Time                                    `json:"updatedAtMin_in"`
	UpdatedAtMaxIn    []*time.Time                                    `json:"updatedAtMax_in"`
	UpdatedAtNotIn    []*time.Time                                    `json:"updatedAt_not_in"`
	UpdatedAtMinNotIn []*time.Time                                    `json:"updatedAtMin_not_in"`
	UpdatedAtMaxNotIn []*time.Time                                    `json:"updatedAtMax_not_in"`
	UpdatedAtNull     *bool                                           `json:"updatedAt_null"`
	CreatedAt         *time.Time                                      `json:"createdAt"`
	CreatedAtMin      *time.Time                                      `json:"createdAtMin"`
	CreatedAtMax      *time.Time                                      `json:"createdAtMax"`
	CreatedAtNe       *time.Time                                      `json:"createdAt_ne"`
	CreatedAtMinNe    *time.Time                                      `json:"createdAtMin_ne"`
	CreatedAtMaxNe    *time.Time                                      `json:"createdAtMax_ne"`
	CreatedAtGt       *time.Time                                      `json:"createdAt_gt"`
	CreatedAtMinGt    *time.Time                                      `json:"createdAtMin_gt"`
	CreatedAtMaxGt    *time.Time                                      `json:"createdAtMax_gt"`
	CreatedAtLt       *time.Time                                      `json:"createdAt_lt"`
	CreatedAtMinLt    *time.Time                                      `json:"createdAtMin_lt"`
	CreatedAtMaxLt    *time.Time                                      `json:"createdAtMax_lt"`
	CreatedAtGte      *time.Time                                      `json:"createdAt_gte"`
	CreatedAtMinGte   *time.Time                                      `json:"createdAtMin_gte"`
	CreatedAtMaxGte   *time.Time                                      `json:"createdAtMax_gte"`
	CreatedAtLte      *time.Time                                      `json:"createdAt_lte"`
	CreatedAtMinLte   *time.Time                                      `json:"createdAtMin_lte"`
	CreatedAtMaxLte   *time.Time                                      `json:"createdAtMax_lte"`
	CreatedAtIn       []*time.Time                                    `json:"createdAt_in"`
	CreatedAtMinIn    []*time.Time                                    `json:"createdAtMin_in"`
	CreatedAtMaxIn    []*time.Time                                    `json:"createdAtMax_in"`
	CreatedAtNotIn    []*time.Time                                    `json:"createdAt_not_in"`
	CreatedAtMinNotIn []*time.Time                                    `json:"createdAtMin_not_in"`
	CreatedAtMaxNotIn []*time.Time                                    `json:"createdAtMax_not_in"`
	CreatedAtNull     *bool                                           `json:"createdAt_null"`
	UpdatedBy         *string                                         `json:"updatedBy"`
	UpdatedByMin      *string                                         `json:"updatedByMin"`
	UpdatedByMax      *string                                         `json:"updatedByMax"`
	UpdatedByNe       *string                                         `json:"updatedBy_ne"`
	UpdatedByMinNe    *string                                         `json:"updatedByMin_ne"`
	UpdatedByMaxNe    *string                                         `json:"updatedByMax_ne"`
	UpdatedByGt       *string                                         `json:"updatedBy_gt"`
	UpdatedByMinGt    *string                                         `json:"updatedByMin_gt"`
	UpdatedByMaxGt    *string                                         `json:"updatedByMax_gt"`
	UpdatedByLt       *string                                         `json:"updatedBy_lt"`
	UpdatedByMinLt    *string                                         `json:"updatedByMin_lt"`
	UpdatedByMaxLt    *string                                         `json:"updatedByMax_lt"`
	UpdatedByGte      *string                                         `json:"updatedBy_gte"`
	UpdatedByMinGte   *string                                         `json:"updatedByMin_gte"`
	UpdatedByMaxGte   *string                                         `json:"updatedByMax_gte"`
	UpdatedByLte      *string                                         `json:"updatedBy_lte"`
	UpdatedByMinLte   *string                                         `json:"updatedByMin_lte"`
	UpdatedByMaxLte   *string                                         `json:"updatedByMax_lte"`
	UpdatedByIn       []string                                        `json:"updatedBy_in"`
	UpdatedByMinIn    []string                                        `json:"updatedByMin_in"`
	UpdatedByMaxIn    []string                                        `json:"updatedByMax_in"`
	UpdatedByNotIn    []string                                        `json:"updatedBy_not_in"`
	UpdatedByMinNotIn []string                                        `json:"updatedByMin_not_in"`
	UpdatedByMaxNotIn []string                                        `json:"updatedByMax_not_in"`
	UpdatedByNull     *bool                                           `json:"updatedBy_null"`
	CreatedBy         *string                                         `json:"createdBy"`
	CreatedByMin      *string                                         `json:"createdByMin"`
	CreatedByMax      *string                                         `json:"createdByMax"`
	CreatedByNe       *string                                         `json:"createdBy_ne"`
	CreatedByMinNe    *string                                         `json:"createdByMin_ne"`
	CreatedByMaxNe    *string                                         `json:"createdByMax_ne"`
	CreatedByGt       *string                                         `json:"createdBy_gt"`
	CreatedByMinGt    *string                                         `json:"createdByMin_gt"`
	CreatedByMaxGt    *string                                         `json:"createdByMax_gt"`
	CreatedByLt       *string                                         `json:"createdBy_lt"`
	CreatedByMinLt    *string                                         `json:"createdByMin_lt"`
	CreatedByMaxLt    *string                                         `json:"createdByMax_lt"`
	CreatedByGte      *string                                         `json:"createdBy_gte"`
	CreatedByMinGte   *string                                         `json:"createdByMin_gte"`
	CreatedByMaxGte   *string                                         `json:"createdByMax_gte"`
	CreatedByLte      *string                                         `json:"createdBy_lte"`
	CreatedByMinLte   *string                                         `json:"createdByMin_lte"`
	CreatedByMaxLte   *string                                         `json:"createdByMax_lte"`
	CreatedByIn       []string                                        `json:"createdBy_in"`
	CreatedByMinIn    []string                                        `json:"createdByMin_in"`
	CreatedByMaxIn    []string                                        `json:"createdByMax_in"`
	CreatedByNotIn    []string                                        `json:"createdBy_not_in"`
	CreatedByMinNotIn []string                                        `json:"createdByMin_not_in"`
	CreatedByMaxNotIn []string                                        `json:"createdByMax_not_in"`
	CreatedByNull     *bool                                           `json:"createdBy_null"`
	Definitions       *ConfiguratorItemDefinitionFilterType           `json:"definitions"`
}

func (*ConfiguratorItemDefinitionCategoryFilterType) AndWith

AndWith convenience method for combining two or more filters with AND statement

func (*ConfiguratorItemDefinitionCategoryFilterType) Apply

func (f *ConfiguratorItemDefinitionCategoryFilterType) Apply(ctx context.Context, dialect gorm.Dialect, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorItemDefinitionCategoryFilterType) ApplyWithAlias

func (f *ConfiguratorItemDefinitionCategoryFilterType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorItemDefinitionCategoryFilterType) HavingContent

func (f *ConfiguratorItemDefinitionCategoryFilterType) HavingContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

func (*ConfiguratorItemDefinitionCategoryFilterType) IsEmpty

func (*ConfiguratorItemDefinitionCategoryFilterType) OrWith

OrWith convenience method for combining two or more filters with OR statement

func (*ConfiguratorItemDefinitionCategoryFilterType) WhereContent

func (f *ConfiguratorItemDefinitionCategoryFilterType) WhereContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

type ConfiguratorItemDefinitionCategoryQueryFilter

type ConfiguratorItemDefinitionCategoryQueryFilter struct {
	Query *string
}

func (*ConfiguratorItemDefinitionCategoryQueryFilter) Apply

func (qf *ConfiguratorItemDefinitionCategoryQueryFilter) Apply(ctx context.Context, dialect gorm.Dialect, selectionSet *ast.SelectionSet, wheres *[]string, values *[]interface{}, joins *[]string) error

type ConfiguratorItemDefinitionCategorySortType

type ConfiguratorItemDefinitionCategorySortType struct {
	ID                *ObjectSortType                     `json:"id"`
	IDMin             *ObjectSortType                     `json:"idMin"`
	IDMax             *ObjectSortType                     `json:"idMax"`
	Code              *ObjectSortType                     `json:"code"`
	CodeMin           *ObjectSortType                     `json:"codeMin"`
	CodeMax           *ObjectSortType                     `json:"codeMax"`
	Name              *ObjectSortType                     `json:"name"`
	NameMin           *ObjectSortType                     `json:"nameMin"`
	NameMax           *ObjectSortType                     `json:"nameMax"`
	Type              *ObjectSortType                     `json:"type"`
	TypeMin           *ObjectSortType                     `json:"typeMin"`
	TypeMax           *ObjectSortType                     `json:"typeMax"`
	Primary           *ObjectSortType                     `json:"primary"`
	PrimaryMin        *ObjectSortType                     `json:"primaryMin"`
	PrimaryMax        *ObjectSortType                     `json:"primaryMax"`
	UpdatedAt         *ObjectSortType                     `json:"updatedAt"`
	UpdatedAtMin      *ObjectSortType                     `json:"updatedAtMin"`
	UpdatedAtMax      *ObjectSortType                     `json:"updatedAtMax"`
	CreatedAt         *ObjectSortType                     `json:"createdAt"`
	CreatedAtMin      *ObjectSortType                     `json:"createdAtMin"`
	CreatedAtMax      *ObjectSortType                     `json:"createdAtMax"`
	UpdatedBy         *ObjectSortType                     `json:"updatedBy"`
	UpdatedByMin      *ObjectSortType                     `json:"updatedByMin"`
	UpdatedByMax      *ObjectSortType                     `json:"updatedByMax"`
	CreatedBy         *ObjectSortType                     `json:"createdBy"`
	CreatedByMin      *ObjectSortType                     `json:"createdByMin"`
	CreatedByMax      *ObjectSortType                     `json:"createdByMax"`
	DefinitionsIds    *ObjectSortType                     `json:"definitionsIds"`
	DefinitionsIdsMin *ObjectSortType                     `json:"definitionsIdsMin"`
	DefinitionsIdsMax *ObjectSortType                     `json:"definitionsIdsMax"`
	Definitions       *ConfiguratorItemDefinitionSortType `json:"definitions"`
}

func (ConfiguratorItemDefinitionCategorySortType) Apply

func (s ConfiguratorItemDefinitionCategorySortType) Apply(ctx context.Context, dialect gorm.Dialect, sorts *[]SortInfo, joins *[]string) error

func (ConfiguratorItemDefinitionCategorySortType) ApplyWithAlias

func (s ConfiguratorItemDefinitionCategorySortType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, sorts *[]SortInfo, joins *[]string) error

type ConfiguratorItemDefinitionChanges

type ConfiguratorItemDefinitionChanges struct {
	ID         string
	Code       *string
	Name       *string
	CategoryID *string
	UpdatedAt  *time.Time
	CreatedAt  time.Time
	UpdatedBy  *string
	CreatedBy  *string

	AttributesIDs     []*string
	SlotsIDs          []*string
	ItemsIDs          []*string
	AllowedInSlotsIDs []*string
}

type ConfiguratorItemDefinitionFilterType

type ConfiguratorItemDefinitionFilterType struct {
	And                []*ConfiguratorItemDefinitionFilterType       `json:"AND"`
	Or                 []*ConfiguratorItemDefinitionFilterType       `json:"OR"`
	ID                 *string                                       `json:"id"`
	IDMin              *string                                       `json:"idMin"`
	IDMax              *string                                       `json:"idMax"`
	IDNe               *string                                       `json:"id_ne"`
	IDMinNe            *string                                       `json:"idMin_ne"`
	IDMaxNe            *string                                       `json:"idMax_ne"`
	IDGt               *string                                       `json:"id_gt"`
	IDMinGt            *string                                       `json:"idMin_gt"`
	IDMaxGt            *string                                       `json:"idMax_gt"`
	IDLt               *string                                       `json:"id_lt"`
	IDMinLt            *string                                       `json:"idMin_lt"`
	IDMaxLt            *string                                       `json:"idMax_lt"`
	IDGte              *string                                       `json:"id_gte"`
	IDMinGte           *string                                       `json:"idMin_gte"`
	IDMaxGte           *string                                       `json:"idMax_gte"`
	IDLte              *string                                       `json:"id_lte"`
	IDMinLte           *string                                       `json:"idMin_lte"`
	IDMaxLte           *string                                       `json:"idMax_lte"`
	IDIn               []string                                      `json:"id_in"`
	IDMinIn            []string                                      `json:"idMin_in"`
	IDMaxIn            []string                                      `json:"idMax_in"`
	IDNotIn            []string                                      `json:"id_not_in"`
	IDMinNotIn         []string                                      `json:"idMin_not_in"`
	IDMaxNotIn         []string                                      `json:"idMax_not_in"`
	IDNull             *bool                                         `json:"id_null"`
	Code               *string                                       `json:"code"`
	CodeMin            *string                                       `json:"codeMin"`
	CodeMax            *string                                       `json:"codeMax"`
	CodeNe             *string                                       `json:"code_ne"`
	CodeMinNe          *string                                       `json:"codeMin_ne"`
	CodeMaxNe          *string                                       `json:"codeMax_ne"`
	CodeGt             *string                                       `json:"code_gt"`
	CodeMinGt          *string                                       `json:"codeMin_gt"`
	CodeMaxGt          *string                                       `json:"codeMax_gt"`
	CodeLt             *string                                       `json:"code_lt"`
	CodeMinLt          *string                                       `json:"codeMin_lt"`
	CodeMaxLt          *string                                       `json:"codeMax_lt"`
	CodeGte            *string                                       `json:"code_gte"`
	CodeMinGte         *string                                       `json:"codeMin_gte"`
	CodeMaxGte         *string                                       `json:"codeMax_gte"`
	CodeLte            *string                                       `json:"code_lte"`
	CodeMinLte         *string                                       `json:"codeMin_lte"`
	CodeMaxLte         *string                                       `json:"codeMax_lte"`
	CodeIn             []string                                      `json:"code_in"`
	CodeMinIn          []string                                      `json:"codeMin_in"`
	CodeMaxIn          []string                                      `json:"codeMax_in"`
	CodeNotIn          []string                                      `json:"code_not_in"`
	CodeMinNotIn       []string                                      `json:"codeMin_not_in"`
	CodeMaxNotIn       []string                                      `json:"codeMax_not_in"`
	CodeLike           *string                                       `json:"code_like"`
	CodeMinLike        *string                                       `json:"codeMin_like"`
	CodeMaxLike        *string                                       `json:"codeMax_like"`
	CodePrefix         *string                                       `json:"code_prefix"`
	CodeMinPrefix      *string                                       `json:"codeMin_prefix"`
	CodeMaxPrefix      *string                                       `json:"codeMax_prefix"`
	CodeSuffix         *string                                       `json:"code_suffix"`
	CodeMinSuffix      *string                                       `json:"codeMin_suffix"`
	CodeMaxSuffix      *string                                       `json:"codeMax_suffix"`
	CodeNull           *bool                                         `json:"code_null"`
	Name               *string                                       `json:"name"`
	NameMin            *string                                       `json:"nameMin"`
	NameMax            *string                                       `json:"nameMax"`
	NameNe             *string                                       `json:"name_ne"`
	NameMinNe          *string                                       `json:"nameMin_ne"`
	NameMaxNe          *string                                       `json:"nameMax_ne"`
	NameGt             *string                                       `json:"name_gt"`
	NameMinGt          *string                                       `json:"nameMin_gt"`
	NameMaxGt          *string                                       `json:"nameMax_gt"`
	NameLt             *string                                       `json:"name_lt"`
	NameMinLt          *string                                       `json:"nameMin_lt"`
	NameMaxLt          *string                                       `json:"nameMax_lt"`
	NameGte            *string                                       `json:"name_gte"`
	NameMinGte         *string                                       `json:"nameMin_gte"`
	NameMaxGte         *string                                       `json:"nameMax_gte"`
	NameLte            *string                                       `json:"name_lte"`
	NameMinLte         *string                                       `json:"nameMin_lte"`
	NameMaxLte         *string                                       `json:"nameMax_lte"`
	NameIn             []string                                      `json:"name_in"`
	NameMinIn          []string                                      `json:"nameMin_in"`
	NameMaxIn          []string                                      `json:"nameMax_in"`
	NameNotIn          []string                                      `json:"name_not_in"`
	NameMinNotIn       []string                                      `json:"nameMin_not_in"`
	NameMaxNotIn       []string                                      `json:"nameMax_not_in"`
	NameLike           *string                                       `json:"name_like"`
	NameMinLike        *string                                       `json:"nameMin_like"`
	NameMaxLike        *string                                       `json:"nameMax_like"`
	NamePrefix         *string                                       `json:"name_prefix"`
	NameMinPrefix      *string                                       `json:"nameMin_prefix"`
	NameMaxPrefix      *string                                       `json:"nameMax_prefix"`
	NameSuffix         *string                                       `json:"name_suffix"`
	NameMinSuffix      *string                                       `json:"nameMin_suffix"`
	NameMaxSuffix      *string                                       `json:"nameMax_suffix"`
	NameNull           *bool                                         `json:"name_null"`
	CategoryID         *string                                       `json:"categoryId"`
	CategoryIDMin      *string                                       `json:"categoryIdMin"`
	CategoryIDMax      *string                                       `json:"categoryIdMax"`
	CategoryIDNe       *string                                       `json:"categoryId_ne"`
	CategoryIDMinNe    *string                                       `json:"categoryIdMin_ne"`
	CategoryIDMaxNe    *string                                       `json:"categoryIdMax_ne"`
	CategoryIDGt       *string                                       `json:"categoryId_gt"`
	CategoryIDMinGt    *string                                       `json:"categoryIdMin_gt"`
	CategoryIDMaxGt    *string                                       `json:"categoryIdMax_gt"`
	CategoryIDLt       *string                                       `json:"categoryId_lt"`
	CategoryIDMinLt    *string                                       `json:"categoryIdMin_lt"`
	CategoryIDMaxLt    *string                                       `json:"categoryIdMax_lt"`
	CategoryIDGte      *string                                       `json:"categoryId_gte"`
	CategoryIDMinGte   *string                                       `json:"categoryIdMin_gte"`
	CategoryIDMaxGte   *string                                       `json:"categoryIdMax_gte"`
	CategoryIDLte      *string                                       `json:"categoryId_lte"`
	CategoryIDMinLte   *string                                       `json:"categoryIdMin_lte"`
	CategoryIDMaxLte   *string                                       `json:"categoryIdMax_lte"`
	CategoryIDIn       []string                                      `json:"categoryId_in"`
	CategoryIDMinIn    []string                                      `json:"categoryIdMin_in"`
	CategoryIDMaxIn    []string                                      `json:"categoryIdMax_in"`
	CategoryIDNotIn    []string                                      `json:"categoryId_not_in"`
	CategoryIDMinNotIn []string                                      `json:"categoryIdMin_not_in"`
	CategoryIDMaxNotIn []string                                      `json:"categoryIdMax_not_in"`
	CategoryIDNull     *bool                                         `json:"categoryId_null"`
	UpdatedAt          *time.Time                                    `json:"updatedAt"`
	UpdatedAtMin       *time.Time                                    `json:"updatedAtMin"`
	UpdatedAtMax       *time.Time                                    `json:"updatedAtMax"`
	UpdatedAtNe        *time.Time                                    `json:"updatedAt_ne"`
	UpdatedAtMinNe     *time.Time                                    `json:"updatedAtMin_ne"`
	UpdatedAtMaxNe     *time.Time                                    `json:"updatedAtMax_ne"`
	UpdatedAtGt        *time.Time                                    `json:"updatedAt_gt"`
	UpdatedAtMinGt     *time.Time                                    `json:"updatedAtMin_gt"`
	UpdatedAtMaxGt     *time.Time                                    `json:"updatedAtMax_gt"`
	UpdatedAtLt        *time.Time                                    `json:"updatedAt_lt"`
	UpdatedAtMinLt     *time.Time                                    `json:"updatedAtMin_lt"`
	UpdatedAtMaxLt     *time.Time                                    `json:"updatedAtMax_lt"`
	UpdatedAtGte       *time.Time                                    `json:"updatedAt_gte"`
	UpdatedAtMinGte    *time.Time                                    `json:"updatedAtMin_gte"`
	UpdatedAtMaxGte    *time.Time                                    `json:"updatedAtMax_gte"`
	UpdatedAtLte       *time.Time                                    `json:"updatedAt_lte"`
	UpdatedAtMinLte    *time.Time                                    `json:"updatedAtMin_lte"`
	UpdatedAtMaxLte    *time.Time                                    `json:"updatedAtMax_lte"`
	UpdatedAtIn        []*time.Time                                  `json:"updatedAt_in"`
	UpdatedAtMinIn     []*time.Time                                  `json:"updatedAtMin_in"`
	UpdatedAtMaxIn     []*time.Time                                  `json:"updatedAtMax_in"`
	UpdatedAtNotIn     []*time.Time                                  `json:"updatedAt_not_in"`
	UpdatedAtMinNotIn  []*time.Time                                  `json:"updatedAtMin_not_in"`
	UpdatedAtMaxNotIn  []*time.Time                                  `json:"updatedAtMax_not_in"`
	UpdatedAtNull      *bool                                         `json:"updatedAt_null"`
	CreatedAt          *time.Time                                    `json:"createdAt"`
	CreatedAtMin       *time.Time                                    `json:"createdAtMin"`
	CreatedAtMax       *time.Time                                    `json:"createdAtMax"`
	CreatedAtNe        *time.Time                                    `json:"createdAt_ne"`
	CreatedAtMinNe     *time.Time                                    `json:"createdAtMin_ne"`
	CreatedAtMaxNe     *time.Time                                    `json:"createdAtMax_ne"`
	CreatedAtGt        *time.Time                                    `json:"createdAt_gt"`
	CreatedAtMinGt     *time.Time                                    `json:"createdAtMin_gt"`
	CreatedAtMaxGt     *time.Time                                    `json:"createdAtMax_gt"`
	CreatedAtLt        *time.Time                                    `json:"createdAt_lt"`
	CreatedAtMinLt     *time.Time                                    `json:"createdAtMin_lt"`
	CreatedAtMaxLt     *time.Time                                    `json:"createdAtMax_lt"`
	CreatedAtGte       *time.Time                                    `json:"createdAt_gte"`
	CreatedAtMinGte    *time.Time                                    `json:"createdAtMin_gte"`
	CreatedAtMaxGte    *time.Time                                    `json:"createdAtMax_gte"`
	CreatedAtLte       *time.Time                                    `json:"createdAt_lte"`
	CreatedAtMinLte    *time.Time                                    `json:"createdAtMin_lte"`
	CreatedAtMaxLte    *time.Time                                    `json:"createdAtMax_lte"`
	CreatedAtIn        []*time.Time                                  `json:"createdAt_in"`
	CreatedAtMinIn     []*time.Time                                  `json:"createdAtMin_in"`
	CreatedAtMaxIn     []*time.Time                                  `json:"createdAtMax_in"`
	CreatedAtNotIn     []*time.Time                                  `json:"createdAt_not_in"`
	CreatedAtMinNotIn  []*time.Time                                  `json:"createdAtMin_not_in"`
	CreatedAtMaxNotIn  []*time.Time                                  `json:"createdAtMax_not_in"`
	CreatedAtNull      *bool                                         `json:"createdAt_null"`
	UpdatedBy          *string                                       `json:"updatedBy"`
	UpdatedByMin       *string                                       `json:"updatedByMin"`
	UpdatedByMax       *string                                       `json:"updatedByMax"`
	UpdatedByNe        *string                                       `json:"updatedBy_ne"`
	UpdatedByMinNe     *string                                       `json:"updatedByMin_ne"`
	UpdatedByMaxNe     *string                                       `json:"updatedByMax_ne"`
	UpdatedByGt        *string                                       `json:"updatedBy_gt"`
	UpdatedByMinGt     *string                                       `json:"updatedByMin_gt"`
	UpdatedByMaxGt     *string                                       `json:"updatedByMax_gt"`
	UpdatedByLt        *string                                       `json:"updatedBy_lt"`
	UpdatedByMinLt     *string                                       `json:"updatedByMin_lt"`
	UpdatedByMaxLt     *string                                       `json:"updatedByMax_lt"`
	UpdatedByGte       *string                                       `json:"updatedBy_gte"`
	UpdatedByMinGte    *string                                       `json:"updatedByMin_gte"`
	UpdatedByMaxGte    *string                                       `json:"updatedByMax_gte"`
	UpdatedByLte       *string                                       `json:"updatedBy_lte"`
	UpdatedByMinLte    *string                                       `json:"updatedByMin_lte"`
	UpdatedByMaxLte    *string                                       `json:"updatedByMax_lte"`
	UpdatedByIn        []string                                      `json:"updatedBy_in"`
	UpdatedByMinIn     []string                                      `json:"updatedByMin_in"`
	UpdatedByMaxIn     []string                                      `json:"updatedByMax_in"`
	UpdatedByNotIn     []string                                      `json:"updatedBy_not_in"`
	UpdatedByMinNotIn  []string                                      `json:"updatedByMin_not_in"`
	UpdatedByMaxNotIn  []string                                      `json:"updatedByMax_not_in"`
	UpdatedByNull      *bool                                         `json:"updatedBy_null"`
	CreatedBy          *string                                       `json:"createdBy"`
	CreatedByMin       *string                                       `json:"createdByMin"`
	CreatedByMax       *string                                       `json:"createdByMax"`
	CreatedByNe        *string                                       `json:"createdBy_ne"`
	CreatedByMinNe     *string                                       `json:"createdByMin_ne"`
	CreatedByMaxNe     *string                                       `json:"createdByMax_ne"`
	CreatedByGt        *string                                       `json:"createdBy_gt"`
	CreatedByMinGt     *string                                       `json:"createdByMin_gt"`
	CreatedByMaxGt     *string                                       `json:"createdByMax_gt"`
	CreatedByLt        *string                                       `json:"createdBy_lt"`
	CreatedByMinLt     *string                                       `json:"createdByMin_lt"`
	CreatedByMaxLt     *string                                       `json:"createdByMax_lt"`
	CreatedByGte       *string                                       `json:"createdBy_gte"`
	CreatedByMinGte    *string                                       `json:"createdByMin_gte"`
	CreatedByMaxGte    *string                                       `json:"createdByMax_gte"`
	CreatedByLte       *string                                       `json:"createdBy_lte"`
	CreatedByMinLte    *string                                       `json:"createdByMin_lte"`
	CreatedByMaxLte    *string                                       `json:"createdByMax_lte"`
	CreatedByIn        []string                                      `json:"createdBy_in"`
	CreatedByMinIn     []string                                      `json:"createdByMin_in"`
	CreatedByMaxIn     []string                                      `json:"createdByMax_in"`
	CreatedByNotIn     []string                                      `json:"createdBy_not_in"`
	CreatedByMinNotIn  []string                                      `json:"createdByMin_not_in"`
	CreatedByMaxNotIn  []string                                      `json:"createdByMax_not_in"`
	CreatedByNull      *bool                                         `json:"createdBy_null"`
	Attributes         *ConfiguratorAttributeDefinitionFilterType    `json:"attributes"`
	Slots              *ConfiguratorSlotDefinitionFilterType         `json:"slots"`
	Items              *ConfiguratorItemFilterType                   `json:"items"`
	AllowedInSlots     *ConfiguratorSlotDefinitionFilterType         `json:"allowedInSlots"`
	Category           *ConfiguratorItemDefinitionCategoryFilterType `json:"category"`
}

func (*ConfiguratorItemDefinitionFilterType) AndWith

AndWith convenience method for combining two or more filters with AND statement

func (*ConfiguratorItemDefinitionFilterType) Apply

func (f *ConfiguratorItemDefinitionFilterType) Apply(ctx context.Context, dialect gorm.Dialect, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorItemDefinitionFilterType) ApplyWithAlias

func (f *ConfiguratorItemDefinitionFilterType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorItemDefinitionFilterType) HavingContent

func (f *ConfiguratorItemDefinitionFilterType) HavingContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

func (*ConfiguratorItemDefinitionFilterType) IsEmpty

func (*ConfiguratorItemDefinitionFilterType) OrWith

OrWith convenience method for combining two or more filters with OR statement

func (*ConfiguratorItemDefinitionFilterType) WhereContent

func (f *ConfiguratorItemDefinitionFilterType) WhereContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

type ConfiguratorItemDefinitionQueryFilter

type ConfiguratorItemDefinitionQueryFilter struct {
	Query *string
}

func (*ConfiguratorItemDefinitionQueryFilter) Apply

func (qf *ConfiguratorItemDefinitionQueryFilter) Apply(ctx context.Context, dialect gorm.Dialect, selectionSet *ast.SelectionSet, wheres *[]string, values *[]interface{}, joins *[]string) error

type ConfiguratorItemDefinitionResolver

type ConfiguratorItemDefinitionResolver interface {
	Attributes(ctx context.Context, obj *ConfiguratorItemDefinition) ([]*ConfiguratorAttributeDefinition, error)
	Slots(ctx context.Context, obj *ConfiguratorItemDefinition) ([]*ConfiguratorSlotDefinition, error)
	Items(ctx context.Context, obj *ConfiguratorItemDefinition) ([]*ConfiguratorItem, error)
	AllowedInSlots(ctx context.Context, obj *ConfiguratorItemDefinition) ([]*ConfiguratorSlotDefinition, error)
	Category(ctx context.Context, obj *ConfiguratorItemDefinition) (*ConfiguratorItemDefinitionCategory, error)

	AttributesIds(ctx context.Context, obj *ConfiguratorItemDefinition) ([]string, error)
	AttributesConnection(ctx context.Context, obj *ConfiguratorItemDefinition, offset *int, limit *int, q *string, sort []*ConfiguratorAttributeDefinitionSortType, filter *ConfiguratorAttributeDefinitionFilterType) (*ConfiguratorAttributeDefinitionResultType, error)
	SlotsIds(ctx context.Context, obj *ConfiguratorItemDefinition) ([]string, error)
	SlotsConnection(ctx context.Context, obj *ConfiguratorItemDefinition, offset *int, limit *int, q *string, sort []*ConfiguratorSlotDefinitionSortType, filter *ConfiguratorSlotDefinitionFilterType) (*ConfiguratorSlotDefinitionResultType, error)
	ItemsIds(ctx context.Context, obj *ConfiguratorItemDefinition) ([]string, error)
	ItemsConnection(ctx context.Context, obj *ConfiguratorItemDefinition, offset *int, limit *int, q *string, sort []*ConfiguratorItemSortType, filter *ConfiguratorItemFilterType) (*ConfiguratorItemResultType, error)
	AllowedInSlotsIds(ctx context.Context, obj *ConfiguratorItemDefinition) ([]string, error)
	AllowedInSlotsConnection(ctx context.Context, obj *ConfiguratorItemDefinition, offset *int, limit *int, q *string, sort []*ConfiguratorSlotDefinitionSortType, filter *ConfiguratorSlotDefinitionFilterType) (*ConfiguratorSlotDefinitionResultType, error)
}

type ConfiguratorItemDefinitionResultTypeResolver

type ConfiguratorItemDefinitionResultTypeResolver interface {
	Items(ctx context.Context, obj *ConfiguratorItemDefinitionResultType) ([]*ConfiguratorItemDefinition, error)
	Count(ctx context.Context, obj *ConfiguratorItemDefinitionResultType) (int, error)
}

type ConfiguratorItemDefinitionSortType

type ConfiguratorItemDefinitionSortType struct {
	ID                   *ObjectSortType                             `json:"id"`
	IDMin                *ObjectSortType                             `json:"idMin"`
	IDMax                *ObjectSortType                             `json:"idMax"`
	Code                 *ObjectSortType                             `json:"code"`
	CodeMin              *ObjectSortType                             `json:"codeMin"`
	CodeMax              *ObjectSortType                             `json:"codeMax"`
	Name                 *ObjectSortType                             `json:"name"`
	NameMin              *ObjectSortType                             `json:"nameMin"`
	NameMax              *ObjectSortType                             `json:"nameMax"`
	CategoryID           *ObjectSortType                             `json:"categoryId"`
	CategoryIDMin        *ObjectSortType                             `json:"categoryIdMin"`
	CategoryIDMax        *ObjectSortType                             `json:"categoryIdMax"`
	UpdatedAt            *ObjectSortType                             `json:"updatedAt"`
	UpdatedAtMin         *ObjectSortType                             `json:"updatedAtMin"`
	UpdatedAtMax         *ObjectSortType                             `json:"updatedAtMax"`
	CreatedAt            *ObjectSortType                             `json:"createdAt"`
	CreatedAtMin         *ObjectSortType                             `json:"createdAtMin"`
	CreatedAtMax         *ObjectSortType                             `json:"createdAtMax"`
	UpdatedBy            *ObjectSortType                             `json:"updatedBy"`
	UpdatedByMin         *ObjectSortType                             `json:"updatedByMin"`
	UpdatedByMax         *ObjectSortType                             `json:"updatedByMax"`
	CreatedBy            *ObjectSortType                             `json:"createdBy"`
	CreatedByMin         *ObjectSortType                             `json:"createdByMin"`
	CreatedByMax         *ObjectSortType                             `json:"createdByMax"`
	AttributesIds        *ObjectSortType                             `json:"attributesIds"`
	AttributesIdsMin     *ObjectSortType                             `json:"attributesIdsMin"`
	AttributesIdsMax     *ObjectSortType                             `json:"attributesIdsMax"`
	SlotsIds             *ObjectSortType                             `json:"slotsIds"`
	SlotsIdsMin          *ObjectSortType                             `json:"slotsIdsMin"`
	SlotsIdsMax          *ObjectSortType                             `json:"slotsIdsMax"`
	ItemsIds             *ObjectSortType                             `json:"itemsIds"`
	ItemsIdsMin          *ObjectSortType                             `json:"itemsIdsMin"`
	ItemsIdsMax          *ObjectSortType                             `json:"itemsIdsMax"`
	AllowedInSlotsIds    *ObjectSortType                             `json:"allowedInSlotsIds"`
	AllowedInSlotsIdsMin *ObjectSortType                             `json:"allowedInSlotsIdsMin"`
	AllowedInSlotsIdsMax *ObjectSortType                             `json:"allowedInSlotsIdsMax"`
	Attributes           *ConfiguratorAttributeDefinitionSortType    `json:"attributes"`
	Slots                *ConfiguratorSlotDefinitionSortType         `json:"slots"`
	Items                *ConfiguratorItemSortType                   `json:"items"`
	AllowedInSlots       *ConfiguratorSlotDefinitionSortType         `json:"allowedInSlots"`
	Category             *ConfiguratorItemDefinitionCategorySortType `json:"category"`
}

func (ConfiguratorItemDefinitionSortType) Apply

func (s ConfiguratorItemDefinitionSortType) Apply(ctx context.Context, dialect gorm.Dialect, sorts *[]SortInfo, joins *[]string) error

func (ConfiguratorItemDefinitionSortType) ApplyWithAlias

func (s ConfiguratorItemDefinitionSortType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, sorts *[]SortInfo, joins *[]string) error

type ConfiguratorItemFilterType

type ConfiguratorItemFilterType struct {
	And                  []*ConfiguratorItemFilterType         `json:"AND"`
	Or                   []*ConfiguratorItemFilterType         `json:"OR"`
	ID                   *string                               `json:"id"`
	IDMin                *string                               `json:"idMin"`
	IDMax                *string                               `json:"idMax"`
	IDNe                 *string                               `json:"id_ne"`
	IDMinNe              *string                               `json:"idMin_ne"`
	IDMaxNe              *string                               `json:"idMax_ne"`
	IDGt                 *string                               `json:"id_gt"`
	IDMinGt              *string                               `json:"idMin_gt"`
	IDMaxGt              *string                               `json:"idMax_gt"`
	IDLt                 *string                               `json:"id_lt"`
	IDMinLt              *string                               `json:"idMin_lt"`
	IDMaxLt              *string                               `json:"idMax_lt"`
	IDGte                *string                               `json:"id_gte"`
	IDMinGte             *string                               `json:"idMin_gte"`
	IDMaxGte             *string                               `json:"idMax_gte"`
	IDLte                *string                               `json:"id_lte"`
	IDMinLte             *string                               `json:"idMin_lte"`
	IDMaxLte             *string                               `json:"idMax_lte"`
	IDIn                 []string                              `json:"id_in"`
	IDMinIn              []string                              `json:"idMin_in"`
	IDMaxIn              []string                              `json:"idMax_in"`
	IDNotIn              []string                              `json:"id_not_in"`
	IDMinNotIn           []string                              `json:"idMin_not_in"`
	IDMaxNotIn           []string                              `json:"idMax_not_in"`
	IDNull               *bool                                 `json:"id_null"`
	Code                 *string                               `json:"code"`
	CodeMin              *string                               `json:"codeMin"`
	CodeMax              *string                               `json:"codeMax"`
	CodeNe               *string                               `json:"code_ne"`
	CodeMinNe            *string                               `json:"codeMin_ne"`
	CodeMaxNe            *string                               `json:"codeMax_ne"`
	CodeGt               *string                               `json:"code_gt"`
	CodeMinGt            *string                               `json:"codeMin_gt"`
	CodeMaxGt            *string                               `json:"codeMax_gt"`
	CodeLt               *string                               `json:"code_lt"`
	CodeMinLt            *string                               `json:"codeMin_lt"`
	CodeMaxLt            *string                               `json:"codeMax_lt"`
	CodeGte              *string                               `json:"code_gte"`
	CodeMinGte           *string                               `json:"codeMin_gte"`
	CodeMaxGte           *string                               `json:"codeMax_gte"`
	CodeLte              *string                               `json:"code_lte"`
	CodeMinLte           *string                               `json:"codeMin_lte"`
	CodeMaxLte           *string                               `json:"codeMax_lte"`
	CodeIn               []string                              `json:"code_in"`
	CodeMinIn            []string                              `json:"codeMin_in"`
	CodeMaxIn            []string                              `json:"codeMax_in"`
	CodeNotIn            []string                              `json:"code_not_in"`
	CodeMinNotIn         []string                              `json:"codeMin_not_in"`
	CodeMaxNotIn         []string                              `json:"codeMax_not_in"`
	CodeLike             *string                               `json:"code_like"`
	CodeMinLike          *string                               `json:"codeMin_like"`
	CodeMaxLike          *string                               `json:"codeMax_like"`
	CodePrefix           *string                               `json:"code_prefix"`
	CodeMinPrefix        *string                               `json:"codeMin_prefix"`
	CodeMaxPrefix        *string                               `json:"codeMax_prefix"`
	CodeSuffix           *string                               `json:"code_suffix"`
	CodeMinSuffix        *string                               `json:"codeMin_suffix"`
	CodeMaxSuffix        *string                               `json:"codeMax_suffix"`
	CodeNull             *bool                                 `json:"code_null"`
	Name                 *string                               `json:"name"`
	NameMin              *string                               `json:"nameMin"`
	NameMax              *string                               `json:"nameMax"`
	NameNe               *string                               `json:"name_ne"`
	NameMinNe            *string                               `json:"nameMin_ne"`
	NameMaxNe            *string                               `json:"nameMax_ne"`
	NameGt               *string                               `json:"name_gt"`
	NameMinGt            *string                               `json:"nameMin_gt"`
	NameMaxGt            *string                               `json:"nameMax_gt"`
	NameLt               *string                               `json:"name_lt"`
	NameMinLt            *string                               `json:"nameMin_lt"`
	NameMaxLt            *string                               `json:"nameMax_lt"`
	NameGte              *string                               `json:"name_gte"`
	NameMinGte           *string                               `json:"nameMin_gte"`
	NameMaxGte           *string                               `json:"nameMax_gte"`
	NameLte              *string                               `json:"name_lte"`
	NameMinLte           *string                               `json:"nameMin_lte"`
	NameMaxLte           *string                               `json:"nameMax_lte"`
	NameIn               []string                              `json:"name_in"`
	NameMinIn            []string                              `json:"nameMin_in"`
	NameMaxIn            []string                              `json:"nameMax_in"`
	NameNotIn            []string                              `json:"name_not_in"`
	NameMinNotIn         []string                              `json:"nameMin_not_in"`
	NameMaxNotIn         []string                              `json:"nameMax_not_in"`
	NameLike             *string                               `json:"name_like"`
	NameMinLike          *string                               `json:"nameMin_like"`
	NameMaxLike          *string                               `json:"nameMax_like"`
	NamePrefix           *string                               `json:"name_prefix"`
	NameMinPrefix        *string                               `json:"nameMin_prefix"`
	NameMaxPrefix        *string                               `json:"nameMax_prefix"`
	NameSuffix           *string                               `json:"name_suffix"`
	NameMinSuffix        *string                               `json:"nameMin_suffix"`
	NameMaxSuffix        *string                               `json:"nameMax_suffix"`
	NameNull             *bool                                 `json:"name_null"`
	StockItemID          *string                               `json:"stockItemId"`
	StockItemIDMin       *string                               `json:"stockItemIdMin"`
	StockItemIDMax       *string                               `json:"stockItemIdMax"`
	StockItemIDNe        *string                               `json:"stockItemId_ne"`
	StockItemIDMinNe     *string                               `json:"stockItemIdMin_ne"`
	StockItemIDMaxNe     *string                               `json:"stockItemIdMax_ne"`
	StockItemIDGt        *string                               `json:"stockItemId_gt"`
	StockItemIDMinGt     *string                               `json:"stockItemIdMin_gt"`
	StockItemIDMaxGt     *string                               `json:"stockItemIdMax_gt"`
	StockItemIDLt        *string                               `json:"stockItemId_lt"`
	StockItemIDMinLt     *string                               `json:"stockItemIdMin_lt"`
	StockItemIDMaxLt     *string                               `json:"stockItemIdMax_lt"`
	StockItemIDGte       *string                               `json:"stockItemId_gte"`
	StockItemIDMinGte    *string                               `json:"stockItemIdMin_gte"`
	StockItemIDMaxGte    *string                               `json:"stockItemIdMax_gte"`
	StockItemIDLte       *string                               `json:"stockItemId_lte"`
	StockItemIDMinLte    *string                               `json:"stockItemIdMin_lte"`
	StockItemIDMaxLte    *string                               `json:"stockItemIdMax_lte"`
	StockItemIDIn        []string                              `json:"stockItemId_in"`
	StockItemIDMinIn     []string                              `json:"stockItemIdMin_in"`
	StockItemIDMaxIn     []string                              `json:"stockItemIdMax_in"`
	StockItemIDNotIn     []string                              `json:"stockItemId_not_in"`
	StockItemIDMinNotIn  []string                              `json:"stockItemIdMin_not_in"`
	StockItemIDMaxNotIn  []string                              `json:"stockItemIdMax_not_in"`
	StockItemIDNull      *bool                                 `json:"stockItemId_null"`
	RawData              *string                               `json:"rawData"`
	RawDataMin           *string                               `json:"rawDataMin"`
	RawDataMax           *string                               `json:"rawDataMax"`
	RawDataNe            *string                               `json:"rawData_ne"`
	RawDataMinNe         *string                               `json:"rawDataMin_ne"`
	RawDataMaxNe         *string                               `json:"rawDataMax_ne"`
	RawDataGt            *string                               `json:"rawData_gt"`
	RawDataMinGt         *string                               `json:"rawDataMin_gt"`
	RawDataMaxGt         *string                               `json:"rawDataMax_gt"`
	RawDataLt            *string                               `json:"rawData_lt"`
	RawDataMinLt         *string                               `json:"rawDataMin_lt"`
	RawDataMaxLt         *string                               `json:"rawDataMax_lt"`
	RawDataGte           *string                               `json:"rawData_gte"`
	RawDataMinGte        *string                               `json:"rawDataMin_gte"`
	RawDataMaxGte        *string                               `json:"rawDataMax_gte"`
	RawDataLte           *string                               `json:"rawData_lte"`
	RawDataMinLte        *string                               `json:"rawDataMin_lte"`
	RawDataMaxLte        *string                               `json:"rawDataMax_lte"`
	RawDataIn            []string                              `json:"rawData_in"`
	RawDataMinIn         []string                              `json:"rawDataMin_in"`
	RawDataMaxIn         []string                              `json:"rawDataMax_in"`
	RawDataNotIn         []string                              `json:"rawData_not_in"`
	RawDataMinNotIn      []string                              `json:"rawDataMin_not_in"`
	RawDataMaxNotIn      []string                              `json:"rawDataMax_not_in"`
	RawDataLike          *string                               `json:"rawData_like"`
	RawDataMinLike       *string                               `json:"rawDataMin_like"`
	RawDataMaxLike       *string                               `json:"rawDataMax_like"`
	RawDataPrefix        *string                               `json:"rawData_prefix"`
	RawDataMinPrefix     *string                               `json:"rawDataMin_prefix"`
	RawDataMaxPrefix     *string                               `json:"rawDataMax_prefix"`
	RawDataSuffix        *string                               `json:"rawData_suffix"`
	RawDataMinSuffix     *string                               `json:"rawDataMin_suffix"`
	RawDataMaxSuffix     *string                               `json:"rawDataMax_suffix"`
	RawDataNull          *bool                                 `json:"rawData_null"`
	DefinitionID         *string                               `json:"definitionId"`
	DefinitionIDMin      *string                               `json:"definitionIdMin"`
	DefinitionIDMax      *string                               `json:"definitionIdMax"`
	DefinitionIDNe       *string                               `json:"definitionId_ne"`
	DefinitionIDMinNe    *string                               `json:"definitionIdMin_ne"`
	DefinitionIDMaxNe    *string                               `json:"definitionIdMax_ne"`
	DefinitionIDGt       *string                               `json:"definitionId_gt"`
	DefinitionIDMinGt    *string                               `json:"definitionIdMin_gt"`
	DefinitionIDMaxGt    *string                               `json:"definitionIdMax_gt"`
	DefinitionIDLt       *string                               `json:"definitionId_lt"`
	DefinitionIDMinLt    *string                               `json:"definitionIdMin_lt"`
	DefinitionIDMaxLt    *string                               `json:"definitionIdMax_lt"`
	DefinitionIDGte      *string                               `json:"definitionId_gte"`
	DefinitionIDMinGte   *string                               `json:"definitionIdMin_gte"`
	DefinitionIDMaxGte   *string                               `json:"definitionIdMax_gte"`
	DefinitionIDLte      *string                               `json:"definitionId_lte"`
	DefinitionIDMinLte   *string                               `json:"definitionIdMin_lte"`
	DefinitionIDMaxLte   *string                               `json:"definitionIdMax_lte"`
	DefinitionIDIn       []string                              `json:"definitionId_in"`
	DefinitionIDMinIn    []string                              `json:"definitionIdMin_in"`
	DefinitionIDMaxIn    []string                              `json:"definitionIdMax_in"`
	DefinitionIDNotIn    []string                              `json:"definitionId_not_in"`
	DefinitionIDMinNotIn []string                              `json:"definitionIdMin_not_in"`
	DefinitionIDMaxNotIn []string                              `json:"definitionIdMax_not_in"`
	DefinitionIDNull     *bool                                 `json:"definitionId_null"`
	UpdatedAt            *time.Time                            `json:"updatedAt"`
	UpdatedAtMin         *time.Time                            `json:"updatedAtMin"`
	UpdatedAtMax         *time.Time                            `json:"updatedAtMax"`
	UpdatedAtNe          *time.Time                            `json:"updatedAt_ne"`
	UpdatedAtMinNe       *time.Time                            `json:"updatedAtMin_ne"`
	UpdatedAtMaxNe       *time.Time                            `json:"updatedAtMax_ne"`
	UpdatedAtGt          *time.Time                            `json:"updatedAt_gt"`
	UpdatedAtMinGt       *time.Time                            `json:"updatedAtMin_gt"`
	UpdatedAtMaxGt       *time.Time                            `json:"updatedAtMax_gt"`
	UpdatedAtLt          *time.Time                            `json:"updatedAt_lt"`
	UpdatedAtMinLt       *time.Time                            `json:"updatedAtMin_lt"`
	UpdatedAtMaxLt       *time.Time                            `json:"updatedAtMax_lt"`
	UpdatedAtGte         *time.Time                            `json:"updatedAt_gte"`
	UpdatedAtMinGte      *time.Time                            `json:"updatedAtMin_gte"`
	UpdatedAtMaxGte      *time.Time                            `json:"updatedAtMax_gte"`
	UpdatedAtLte         *time.Time                            `json:"updatedAt_lte"`
	UpdatedAtMinLte      *time.Time                            `json:"updatedAtMin_lte"`
	UpdatedAtMaxLte      *time.Time                            `json:"updatedAtMax_lte"`
	UpdatedAtIn          []*time.Time                          `json:"updatedAt_in"`
	UpdatedAtMinIn       []*time.Time                          `json:"updatedAtMin_in"`
	UpdatedAtMaxIn       []*time.Time                          `json:"updatedAtMax_in"`
	UpdatedAtNotIn       []*time.Time                          `json:"updatedAt_not_in"`
	UpdatedAtMinNotIn    []*time.Time                          `json:"updatedAtMin_not_in"`
	UpdatedAtMaxNotIn    []*time.Time                          `json:"updatedAtMax_not_in"`
	UpdatedAtNull        *bool                                 `json:"updatedAt_null"`
	CreatedAt            *time.Time                            `json:"createdAt"`
	CreatedAtMin         *time.Time                            `json:"createdAtMin"`
	CreatedAtMax         *time.Time                            `json:"createdAtMax"`
	CreatedAtNe          *time.Time                            `json:"createdAt_ne"`
	CreatedAtMinNe       *time.Time                            `json:"createdAtMin_ne"`
	CreatedAtMaxNe       *time.Time                            `json:"createdAtMax_ne"`
	CreatedAtGt          *time.Time                            `json:"createdAt_gt"`
	CreatedAtMinGt       *time.Time                            `json:"createdAtMin_gt"`
	CreatedAtMaxGt       *time.Time                            `json:"createdAtMax_gt"`
	CreatedAtLt          *time.Time                            `json:"createdAt_lt"`
	CreatedAtMinLt       *time.Time                            `json:"createdAtMin_lt"`
	CreatedAtMaxLt       *time.Time                            `json:"createdAtMax_lt"`
	CreatedAtGte         *time.Time                            `json:"createdAt_gte"`
	CreatedAtMinGte      *time.Time                            `json:"createdAtMin_gte"`
	CreatedAtMaxGte      *time.Time                            `json:"createdAtMax_gte"`
	CreatedAtLte         *time.Time                            `json:"createdAt_lte"`
	CreatedAtMinLte      *time.Time                            `json:"createdAtMin_lte"`
	CreatedAtMaxLte      *time.Time                            `json:"createdAtMax_lte"`
	CreatedAtIn          []*time.Time                          `json:"createdAt_in"`
	CreatedAtMinIn       []*time.Time                          `json:"createdAtMin_in"`
	CreatedAtMaxIn       []*time.Time                          `json:"createdAtMax_in"`
	CreatedAtNotIn       []*time.Time                          `json:"createdAt_not_in"`
	CreatedAtMinNotIn    []*time.Time                          `json:"createdAtMin_not_in"`
	CreatedAtMaxNotIn    []*time.Time                          `json:"createdAtMax_not_in"`
	CreatedAtNull        *bool                                 `json:"createdAt_null"`
	UpdatedBy            *string                               `json:"updatedBy"`
	UpdatedByMin         *string                               `json:"updatedByMin"`
	UpdatedByMax         *string                               `json:"updatedByMax"`
	UpdatedByNe          *string                               `json:"updatedBy_ne"`
	UpdatedByMinNe       *string                               `json:"updatedByMin_ne"`
	UpdatedByMaxNe       *string                               `json:"updatedByMax_ne"`
	UpdatedByGt          *string                               `json:"updatedBy_gt"`
	UpdatedByMinGt       *string                               `json:"updatedByMin_gt"`
	UpdatedByMaxGt       *string                               `json:"updatedByMax_gt"`
	UpdatedByLt          *string                               `json:"updatedBy_lt"`
	UpdatedByMinLt       *string                               `json:"updatedByMin_lt"`
	UpdatedByMaxLt       *string                               `json:"updatedByMax_lt"`
	UpdatedByGte         *string                               `json:"updatedBy_gte"`
	UpdatedByMinGte      *string                               `json:"updatedByMin_gte"`
	UpdatedByMaxGte      *string                               `json:"updatedByMax_gte"`
	UpdatedByLte         *string                               `json:"updatedBy_lte"`
	UpdatedByMinLte      *string                               `json:"updatedByMin_lte"`
	UpdatedByMaxLte      *string                               `json:"updatedByMax_lte"`
	UpdatedByIn          []string                              `json:"updatedBy_in"`
	UpdatedByMinIn       []string                              `json:"updatedByMin_in"`
	UpdatedByMaxIn       []string                              `json:"updatedByMax_in"`
	UpdatedByNotIn       []string                              `json:"updatedBy_not_in"`
	UpdatedByMinNotIn    []string                              `json:"updatedByMin_not_in"`
	UpdatedByMaxNotIn    []string                              `json:"updatedByMax_not_in"`
	UpdatedByNull        *bool                                 `json:"updatedBy_null"`
	CreatedBy            *string                               `json:"createdBy"`
	CreatedByMin         *string                               `json:"createdByMin"`
	CreatedByMax         *string                               `json:"createdByMax"`
	CreatedByNe          *string                               `json:"createdBy_ne"`
	CreatedByMinNe       *string                               `json:"createdByMin_ne"`
	CreatedByMaxNe       *string                               `json:"createdByMax_ne"`
	CreatedByGt          *string                               `json:"createdBy_gt"`
	CreatedByMinGt       *string                               `json:"createdByMin_gt"`
	CreatedByMaxGt       *string                               `json:"createdByMax_gt"`
	CreatedByLt          *string                               `json:"createdBy_lt"`
	CreatedByMinLt       *string                               `json:"createdByMin_lt"`
	CreatedByMaxLt       *string                               `json:"createdByMax_lt"`
	CreatedByGte         *string                               `json:"createdBy_gte"`
	CreatedByMinGte      *string                               `json:"createdByMin_gte"`
	CreatedByMaxGte      *string                               `json:"createdByMax_gte"`
	CreatedByLte         *string                               `json:"createdBy_lte"`
	CreatedByMinLte      *string                               `json:"createdByMin_lte"`
	CreatedByMaxLte      *string                               `json:"createdByMax_lte"`
	CreatedByIn          []string                              `json:"createdBy_in"`
	CreatedByMinIn       []string                              `json:"createdByMin_in"`
	CreatedByMaxIn       []string                              `json:"createdByMax_in"`
	CreatedByNotIn       []string                              `json:"createdBy_not_in"`
	CreatedByMinNotIn    []string                              `json:"createdByMin_not_in"`
	CreatedByMaxNotIn    []string                              `json:"createdByMax_not_in"`
	CreatedByNull        *bool                                 `json:"createdBy_null"`
	Definition           *ConfiguratorItemDefinitionFilterType `json:"definition"`
	Attributes           *ConfiguratorAttributeFilterType      `json:"attributes"`
	Slots                *ConfiguratorSlotFilterType           `json:"slots"`
	ParentSlots          *ConfiguratorSlotFilterType           `json:"parentSlots"`
}

func (*ConfiguratorItemFilterType) AndWith

AndWith convenience method for combining two or more filters with AND statement

func (*ConfiguratorItemFilterType) Apply

func (f *ConfiguratorItemFilterType) Apply(ctx context.Context, dialect gorm.Dialect, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorItemFilterType) ApplyWithAlias

func (f *ConfiguratorItemFilterType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorItemFilterType) HavingContent

func (f *ConfiguratorItemFilterType) HavingContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

func (*ConfiguratorItemFilterType) IsEmpty

func (f *ConfiguratorItemFilterType) IsEmpty(ctx context.Context, dialect gorm.Dialect) bool

func (*ConfiguratorItemFilterType) OrWith

OrWith convenience method for combining two or more filters with OR statement

func (*ConfiguratorItemFilterType) WhereContent

func (f *ConfiguratorItemFilterType) WhereContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

type ConfiguratorItemQueryFilter

type ConfiguratorItemQueryFilter struct {
	Query *string
}

func (*ConfiguratorItemQueryFilter) Apply

func (qf *ConfiguratorItemQueryFilter) Apply(ctx context.Context, dialect gorm.Dialect, selectionSet *ast.SelectionSet, wheres *[]string, values *[]interface{}, joins *[]string) error

type ConfiguratorItemResolver

type ConfiguratorItemResolver interface {
	StockItem(ctx context.Context, obj *ConfiguratorItem) (*StockItem, error)

	Definition(ctx context.Context, obj *ConfiguratorItem) (*ConfiguratorItemDefinition, error)
	Attributes(ctx context.Context, obj *ConfiguratorItem) ([]*ConfiguratorAttribute, error)
	Slots(ctx context.Context, obj *ConfiguratorItem) ([]*ConfiguratorSlot, error)
	ParentSlots(ctx context.Context, obj *ConfiguratorItem) ([]*ConfiguratorSlot, error)

	AttributesIds(ctx context.Context, obj *ConfiguratorItem) ([]string, error)
	AttributesConnection(ctx context.Context, obj *ConfiguratorItem, offset *int, limit *int, q *string, sort []*ConfiguratorAttributeSortType, filter *ConfiguratorAttributeFilterType) (*ConfiguratorAttributeResultType, error)
	SlotsIds(ctx context.Context, obj *ConfiguratorItem) ([]string, error)
	SlotsConnection(ctx context.Context, obj *ConfiguratorItem, offset *int, limit *int, q *string, sort []*ConfiguratorSlotSortType, filter *ConfiguratorSlotFilterType) (*ConfiguratorSlotResultType, error)
	ParentSlotsIds(ctx context.Context, obj *ConfiguratorItem) ([]string, error)
	ParentSlotsConnection(ctx context.Context, obj *ConfiguratorItem, offset *int, limit *int, q *string, sort []*ConfiguratorSlotSortType, filter *ConfiguratorSlotFilterType) (*ConfiguratorSlotResultType, error)
}

type ConfiguratorItemResultType

type ConfiguratorItemResultType struct {
	EntityResultType
}

type ConfiguratorItemResultTypeResolver

type ConfiguratorItemResultTypeResolver interface {
	Items(ctx context.Context, obj *ConfiguratorItemResultType) ([]*ConfiguratorItem, error)
	Count(ctx context.Context, obj *ConfiguratorItemResultType) (int, error)
}

type ConfiguratorItemSortType

type ConfiguratorItemSortType struct {
	ID                *ObjectSortType                     `json:"id"`
	IDMin             *ObjectSortType                     `json:"idMin"`
	IDMax             *ObjectSortType                     `json:"idMax"`
	Code              *ObjectSortType                     `json:"code"`
	CodeMin           *ObjectSortType                     `json:"codeMin"`
	CodeMax           *ObjectSortType                     `json:"codeMax"`
	Name              *ObjectSortType                     `json:"name"`
	NameMin           *ObjectSortType                     `json:"nameMin"`
	NameMax           *ObjectSortType                     `json:"nameMax"`
	StockItemID       *ObjectSortType                     `json:"stockItemId"`
	StockItemIDMin    *ObjectSortType                     `json:"stockItemIdMin"`
	StockItemIDMax    *ObjectSortType                     `json:"stockItemIdMax"`
	RawData           *ObjectSortType                     `json:"rawData"`
	RawDataMin        *ObjectSortType                     `json:"rawDataMin"`
	RawDataMax        *ObjectSortType                     `json:"rawDataMax"`
	DefinitionID      *ObjectSortType                     `json:"definitionId"`
	DefinitionIDMin   *ObjectSortType                     `json:"definitionIdMin"`
	DefinitionIDMax   *ObjectSortType                     `json:"definitionIdMax"`
	UpdatedAt         *ObjectSortType                     `json:"updatedAt"`
	UpdatedAtMin      *ObjectSortType                     `json:"updatedAtMin"`
	UpdatedAtMax      *ObjectSortType                     `json:"updatedAtMax"`
	CreatedAt         *ObjectSortType                     `json:"createdAt"`
	CreatedAtMin      *ObjectSortType                     `json:"createdAtMin"`
	CreatedAtMax      *ObjectSortType                     `json:"createdAtMax"`
	UpdatedBy         *ObjectSortType                     `json:"updatedBy"`
	UpdatedByMin      *ObjectSortType                     `json:"updatedByMin"`
	UpdatedByMax      *ObjectSortType                     `json:"updatedByMax"`
	CreatedBy         *ObjectSortType                     `json:"createdBy"`
	CreatedByMin      *ObjectSortType                     `json:"createdByMin"`
	CreatedByMax      *ObjectSortType                     `json:"createdByMax"`
	AttributesIds     *ObjectSortType                     `json:"attributesIds"`
	AttributesIdsMin  *ObjectSortType                     `json:"attributesIdsMin"`
	AttributesIdsMax  *ObjectSortType                     `json:"attributesIdsMax"`
	SlotsIds          *ObjectSortType                     `json:"slotsIds"`
	SlotsIdsMin       *ObjectSortType                     `json:"slotsIdsMin"`
	SlotsIdsMax       *ObjectSortType                     `json:"slotsIdsMax"`
	ParentSlotsIds    *ObjectSortType                     `json:"parentSlotsIds"`
	ParentSlotsIdsMin *ObjectSortType                     `json:"parentSlotsIdsMin"`
	ParentSlotsIdsMax *ObjectSortType                     `json:"parentSlotsIdsMax"`
	Definition        *ConfiguratorItemDefinitionSortType `json:"definition"`
	Attributes        *ConfiguratorAttributeSortType      `json:"attributes"`
	Slots             *ConfiguratorSlotSortType           `json:"slots"`
	ParentSlots       *ConfiguratorSlotSortType           `json:"parentSlots"`
}

func (ConfiguratorItemSortType) Apply

func (s ConfiguratorItemSortType) Apply(ctx context.Context, dialect gorm.Dialect, sorts *[]SortInfo, joins *[]string) error

func (ConfiguratorItemSortType) ApplyWithAlias

func (s ConfiguratorItemSortType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, sorts *[]SortInfo, joins *[]string) error

type ConfiguratorSlot

type ConfiguratorSlot struct {
	ID           string     `json:"id" gorm:"column:id;primary_key"`
	Count        *float64   `json:"count" gorm:"column:count"`
	ItemID       *string    `json:"itemId" gorm:"column:itemId"`
	DefinitionID *string    `json:"definitionId" gorm:"column:definitionId"`
	ParentItemID *string    `json:"parentItemId" gorm:"column:parentItemId"`
	UpdatedAt    *time.Time `json:"updatedAt" gorm:"column:updatedAt"`
	CreatedAt    time.Time  `json:"createdAt" gorm:"column:createdAt"`
	UpdatedBy    *string    `json:"updatedBy" gorm:"column:updatedBy"`
	CreatedBy    *string    `json:"createdBy" gorm:"column:createdBy"`

	Item *ConfiguratorItem `json:"item"`

	Definition *ConfiguratorSlotDefinition `json:"definition"`

	ParentItem *ConfiguratorItem `json:"parentItem"`
}

func ConfiguratorItemParentSlotsHandler

func ConfiguratorItemParentSlotsHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItem) (res []*ConfiguratorSlot, err error)

func ConfiguratorItemSlotsHandler

func ConfiguratorItemSlotsHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItem) (res []*ConfiguratorSlot, err error)

func ConfiguratorSlotDefinitionSlotsHandler

func ConfiguratorSlotDefinitionSlotsHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlotDefinition) (res []*ConfiguratorSlot, err error)

func CreateConfiguratorSlotHandler

func CreateConfiguratorSlotHandler(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorSlot, err error)

func DeleteConfiguratorSlotHandler

func DeleteConfiguratorSlotHandler(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorSlot, err error)

func UpdateConfiguratorSlotHandler

func UpdateConfiguratorSlotHandler(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorSlot, err error)

func (*ConfiguratorSlot) Is_Entity

func (m *ConfiguratorSlot) Is_Entity()

type ConfiguratorSlotChanges

type ConfiguratorSlotChanges struct {
	ID           string
	Count        *float64
	ItemID       *string
	DefinitionID *string
	ParentItemID *string
	UpdatedAt    *time.Time
	CreatedAt    time.Time
	UpdatedBy    *string
	CreatedBy    *string
}

type ConfiguratorSlotDefinition

type ConfiguratorSlotDefinition struct {
	ID           string     `json:"id" gorm:"column:id;primary_key"`
	Name         *string    `json:"name" gorm:"column:name"`
	MinCount     *float64   `json:"minCount" gorm:"column:minCount"`
	MaxCount     *float64   `json:"maxCount" gorm:"column:maxCount"`
	DefaultCount *float64   `json:"defaultCount" gorm:"column:defaultCount"`
	DefinitionID *string    `json:"definitionId" gorm:"column:definitionId"`
	UpdatedAt    *time.Time `json:"updatedAt" gorm:"column:updatedAt"`
	CreatedAt    time.Time  `json:"createdAt" gorm:"column:createdAt"`
	UpdatedBy    *string    `json:"updatedBy" gorm:"column:updatedBy"`
	CreatedBy    *string    `json:"createdBy" gorm:"column:createdBy"`

	Definition *ConfiguratorItemDefinition `json:"definition"`

	Slots []*ConfiguratorSlot `json:"slots" gorm:"foreignkey:DefinitionID"`

	AllowedItemDefinitions []*ConfiguratorItemDefinition `` /* 192-byte string literal not displayed */
}

func ConfiguratorItemDefinitionAllowedInSlotsHandler

func ConfiguratorItemDefinitionAllowedInSlotsHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItemDefinition) (res []*ConfiguratorSlotDefinition, err error)

func ConfiguratorItemDefinitionSlotsHandler

func ConfiguratorItemDefinitionSlotsHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItemDefinition) (res []*ConfiguratorSlotDefinition, err error)

func ConfiguratorSlotDefinitionHandler

func ConfiguratorSlotDefinitionHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlot) (res *ConfiguratorSlotDefinition, err error)

func CreateConfiguratorSlotDefinitionHandler

func CreateConfiguratorSlotDefinitionHandler(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorSlotDefinition, err error)

func DeleteConfiguratorSlotDefinitionHandler

func DeleteConfiguratorSlotDefinitionHandler(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorSlotDefinition, err error)

func UpdateConfiguratorSlotDefinitionHandler

func UpdateConfiguratorSlotDefinitionHandler(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorSlotDefinition, err error)

func (*ConfiguratorSlotDefinition) Is_Entity

func (m *ConfiguratorSlotDefinition) Is_Entity()

type ConfiguratorSlotDefinitionChanges

type ConfiguratorSlotDefinitionChanges struct {
	ID           string
	Name         *string
	MinCount     *float64
	MaxCount     *float64
	DefaultCount *float64
	DefinitionID *string
	UpdatedAt    *time.Time
	CreatedAt    time.Time
	UpdatedBy    *string
	CreatedBy    *string

	SlotsIDs                  []*string
	AllowedItemDefinitionsIDs []*string
}

type ConfiguratorSlotDefinitionFilterType

type ConfiguratorSlotDefinitionFilterType struct {
	And                    []*ConfiguratorSlotDefinitionFilterType `json:"AND"`
	Or                     []*ConfiguratorSlotDefinitionFilterType `json:"OR"`
	ID                     *string                                 `json:"id"`
	IDMin                  *string                                 `json:"idMin"`
	IDMax                  *string                                 `json:"idMax"`
	IDNe                   *string                                 `json:"id_ne"`
	IDMinNe                *string                                 `json:"idMin_ne"`
	IDMaxNe                *string                                 `json:"idMax_ne"`
	IDGt                   *string                                 `json:"id_gt"`
	IDMinGt                *string                                 `json:"idMin_gt"`
	IDMaxGt                *string                                 `json:"idMax_gt"`
	IDLt                   *string                                 `json:"id_lt"`
	IDMinLt                *string                                 `json:"idMin_lt"`
	IDMaxLt                *string                                 `json:"idMax_lt"`
	IDGte                  *string                                 `json:"id_gte"`
	IDMinGte               *string                                 `json:"idMin_gte"`
	IDMaxGte               *string                                 `json:"idMax_gte"`
	IDLte                  *string                                 `json:"id_lte"`
	IDMinLte               *string                                 `json:"idMin_lte"`
	IDMaxLte               *string                                 `json:"idMax_lte"`
	IDIn                   []string                                `json:"id_in"`
	IDMinIn                []string                                `json:"idMin_in"`
	IDMaxIn                []string                                `json:"idMax_in"`
	IDNotIn                []string                                `json:"id_not_in"`
	IDMinNotIn             []string                                `json:"idMin_not_in"`
	IDMaxNotIn             []string                                `json:"idMax_not_in"`
	IDNull                 *bool                                   `json:"id_null"`
	Name                   *string                                 `json:"name"`
	NameMin                *string                                 `json:"nameMin"`
	NameMax                *string                                 `json:"nameMax"`
	NameNe                 *string                                 `json:"name_ne"`
	NameMinNe              *string                                 `json:"nameMin_ne"`
	NameMaxNe              *string                                 `json:"nameMax_ne"`
	NameGt                 *string                                 `json:"name_gt"`
	NameMinGt              *string                                 `json:"nameMin_gt"`
	NameMaxGt              *string                                 `json:"nameMax_gt"`
	NameLt                 *string                                 `json:"name_lt"`
	NameMinLt              *string                                 `json:"nameMin_lt"`
	NameMaxLt              *string                                 `json:"nameMax_lt"`
	NameGte                *string                                 `json:"name_gte"`
	NameMinGte             *string                                 `json:"nameMin_gte"`
	NameMaxGte             *string                                 `json:"nameMax_gte"`
	NameLte                *string                                 `json:"name_lte"`
	NameMinLte             *string                                 `json:"nameMin_lte"`
	NameMaxLte             *string                                 `json:"nameMax_lte"`
	NameIn                 []string                                `json:"name_in"`
	NameMinIn              []string                                `json:"nameMin_in"`
	NameMaxIn              []string                                `json:"nameMax_in"`
	NameNotIn              []string                                `json:"name_not_in"`
	NameMinNotIn           []string                                `json:"nameMin_not_in"`
	NameMaxNotIn           []string                                `json:"nameMax_not_in"`
	NameLike               *string                                 `json:"name_like"`
	NameMinLike            *string                                 `json:"nameMin_like"`
	NameMaxLike            *string                                 `json:"nameMax_like"`
	NamePrefix             *string                                 `json:"name_prefix"`
	NameMinPrefix          *string                                 `json:"nameMin_prefix"`
	NameMaxPrefix          *string                                 `json:"nameMax_prefix"`
	NameSuffix             *string                                 `json:"name_suffix"`
	NameMinSuffix          *string                                 `json:"nameMin_suffix"`
	NameMaxSuffix          *string                                 `json:"nameMax_suffix"`
	NameNull               *bool                                   `json:"name_null"`
	MinCount               *float64                                `json:"minCount"`
	MinCountMin            *float64                                `json:"minCountMin"`
	MinCountMax            *float64                                `json:"minCountMax"`
	MinCountAvg            *float64                                `json:"minCountAvg"`
	MinCountNe             *float64                                `json:"minCount_ne"`
	MinCountMinNe          *float64                                `json:"minCountMin_ne"`
	MinCountMaxNe          *float64                                `json:"minCountMax_ne"`
	MinCountAvgNe          *float64                                `json:"minCountAvg_ne"`
	MinCountGt             *float64                                `json:"minCount_gt"`
	MinCountMinGt          *float64                                `json:"minCountMin_gt"`
	MinCountMaxGt          *float64                                `json:"minCountMax_gt"`
	MinCountAvgGt          *float64                                `json:"minCountAvg_gt"`
	MinCountLt             *float64                                `json:"minCount_lt"`
	MinCountMinLt          *float64                                `json:"minCountMin_lt"`
	MinCountMaxLt          *float64                                `json:"minCountMax_lt"`
	MinCountAvgLt          *float64                                `json:"minCountAvg_lt"`
	MinCountGte            *float64                                `json:"minCount_gte"`
	MinCountMinGte         *float64                                `json:"minCountMin_gte"`
	MinCountMaxGte         *float64                                `json:"minCountMax_gte"`
	MinCountAvgGte         *float64                                `json:"minCountAvg_gte"`
	MinCountLte            *float64                                `json:"minCount_lte"`
	MinCountMinLte         *float64                                `json:"minCountMin_lte"`
	MinCountMaxLte         *float64                                `json:"minCountMax_lte"`
	MinCountAvgLte         *float64                                `json:"minCountAvg_lte"`
	MinCountIn             []float64                               `json:"minCount_in"`
	MinCountMinIn          []float64                               `json:"minCountMin_in"`
	MinCountMaxIn          []float64                               `json:"minCountMax_in"`
	MinCountAvgIn          []float64                               `json:"minCountAvg_in"`
	MinCountNotIn          []float64                               `json:"minCount_not_in"`
	MinCountMinNotIn       []float64                               `json:"minCountMin_not_in"`
	MinCountMaxNotIn       []float64                               `json:"minCountMax_not_in"`
	MinCountAvgNotIn       []float64                               `json:"minCountAvg_not_in"`
	MinCountNull           *bool                                   `json:"minCount_null"`
	MaxCount               *float64                                `json:"maxCount"`
	MaxCountMin            *float64                                `json:"maxCountMin"`
	MaxCountMax            *float64                                `json:"maxCountMax"`
	MaxCountAvg            *float64                                `json:"maxCountAvg"`
	MaxCountNe             *float64                                `json:"maxCount_ne"`
	MaxCountMinNe          *float64                                `json:"maxCountMin_ne"`
	MaxCountMaxNe          *float64                                `json:"maxCountMax_ne"`
	MaxCountAvgNe          *float64                                `json:"maxCountAvg_ne"`
	MaxCountGt             *float64                                `json:"maxCount_gt"`
	MaxCountMinGt          *float64                                `json:"maxCountMin_gt"`
	MaxCountMaxGt          *float64                                `json:"maxCountMax_gt"`
	MaxCountAvgGt          *float64                                `json:"maxCountAvg_gt"`
	MaxCountLt             *float64                                `json:"maxCount_lt"`
	MaxCountMinLt          *float64                                `json:"maxCountMin_lt"`
	MaxCountMaxLt          *float64                                `json:"maxCountMax_lt"`
	MaxCountAvgLt          *float64                                `json:"maxCountAvg_lt"`
	MaxCountGte            *float64                                `json:"maxCount_gte"`
	MaxCountMinGte         *float64                                `json:"maxCountMin_gte"`
	MaxCountMaxGte         *float64                                `json:"maxCountMax_gte"`
	MaxCountAvgGte         *float64                                `json:"maxCountAvg_gte"`
	MaxCountLte            *float64                                `json:"maxCount_lte"`
	MaxCountMinLte         *float64                                `json:"maxCountMin_lte"`
	MaxCountMaxLte         *float64                                `json:"maxCountMax_lte"`
	MaxCountAvgLte         *float64                                `json:"maxCountAvg_lte"`
	MaxCountIn             []float64                               `json:"maxCount_in"`
	MaxCountMinIn          []float64                               `json:"maxCountMin_in"`
	MaxCountMaxIn          []float64                               `json:"maxCountMax_in"`
	MaxCountAvgIn          []float64                               `json:"maxCountAvg_in"`
	MaxCountNotIn          []float64                               `json:"maxCount_not_in"`
	MaxCountMinNotIn       []float64                               `json:"maxCountMin_not_in"`
	MaxCountMaxNotIn       []float64                               `json:"maxCountMax_not_in"`
	MaxCountAvgNotIn       []float64                               `json:"maxCountAvg_not_in"`
	MaxCountNull           *bool                                   `json:"maxCount_null"`
	DefaultCount           *float64                                `json:"defaultCount"`
	DefaultCountMin        *float64                                `json:"defaultCountMin"`
	DefaultCountMax        *float64                                `json:"defaultCountMax"`
	DefaultCountAvg        *float64                                `json:"defaultCountAvg"`
	DefaultCountNe         *float64                                `json:"defaultCount_ne"`
	DefaultCountMinNe      *float64                                `json:"defaultCountMin_ne"`
	DefaultCountMaxNe      *float64                                `json:"defaultCountMax_ne"`
	DefaultCountAvgNe      *float64                                `json:"defaultCountAvg_ne"`
	DefaultCountGt         *float64                                `json:"defaultCount_gt"`
	DefaultCountMinGt      *float64                                `json:"defaultCountMin_gt"`
	DefaultCountMaxGt      *float64                                `json:"defaultCountMax_gt"`
	DefaultCountAvgGt      *float64                                `json:"defaultCountAvg_gt"`
	DefaultCountLt         *float64                                `json:"defaultCount_lt"`
	DefaultCountMinLt      *float64                                `json:"defaultCountMin_lt"`
	DefaultCountMaxLt      *float64                                `json:"defaultCountMax_lt"`
	DefaultCountAvgLt      *float64                                `json:"defaultCountAvg_lt"`
	DefaultCountGte        *float64                                `json:"defaultCount_gte"`
	DefaultCountMinGte     *float64                                `json:"defaultCountMin_gte"`
	DefaultCountMaxGte     *float64                                `json:"defaultCountMax_gte"`
	DefaultCountAvgGte     *float64                                `json:"defaultCountAvg_gte"`
	DefaultCountLte        *float64                                `json:"defaultCount_lte"`
	DefaultCountMinLte     *float64                                `json:"defaultCountMin_lte"`
	DefaultCountMaxLte     *float64                                `json:"defaultCountMax_lte"`
	DefaultCountAvgLte     *float64                                `json:"defaultCountAvg_lte"`
	DefaultCountIn         []float64                               `json:"defaultCount_in"`
	DefaultCountMinIn      []float64                               `json:"defaultCountMin_in"`
	DefaultCountMaxIn      []float64                               `json:"defaultCountMax_in"`
	DefaultCountAvgIn      []float64                               `json:"defaultCountAvg_in"`
	DefaultCountNotIn      []float64                               `json:"defaultCount_not_in"`
	DefaultCountMinNotIn   []float64                               `json:"defaultCountMin_not_in"`
	DefaultCountMaxNotIn   []float64                               `json:"defaultCountMax_not_in"`
	DefaultCountAvgNotIn   []float64                               `json:"defaultCountAvg_not_in"`
	DefaultCountNull       *bool                                   `json:"defaultCount_null"`
	DefinitionID           *string                                 `json:"definitionId"`
	DefinitionIDMin        *string                                 `json:"definitionIdMin"`
	DefinitionIDMax        *string                                 `json:"definitionIdMax"`
	DefinitionIDNe         *string                                 `json:"definitionId_ne"`
	DefinitionIDMinNe      *string                                 `json:"definitionIdMin_ne"`
	DefinitionIDMaxNe      *string                                 `json:"definitionIdMax_ne"`
	DefinitionIDGt         *string                                 `json:"definitionId_gt"`
	DefinitionIDMinGt      *string                                 `json:"definitionIdMin_gt"`
	DefinitionIDMaxGt      *string                                 `json:"definitionIdMax_gt"`
	DefinitionIDLt         *string                                 `json:"definitionId_lt"`
	DefinitionIDMinLt      *string                                 `json:"definitionIdMin_lt"`
	DefinitionIDMaxLt      *string                                 `json:"definitionIdMax_lt"`
	DefinitionIDGte        *string                                 `json:"definitionId_gte"`
	DefinitionIDMinGte     *string                                 `json:"definitionIdMin_gte"`
	DefinitionIDMaxGte     *string                                 `json:"definitionIdMax_gte"`
	DefinitionIDLte        *string                                 `json:"definitionId_lte"`
	DefinitionIDMinLte     *string                                 `json:"definitionIdMin_lte"`
	DefinitionIDMaxLte     *string                                 `json:"definitionIdMax_lte"`
	DefinitionIDIn         []string                                `json:"definitionId_in"`
	DefinitionIDMinIn      []string                                `json:"definitionIdMin_in"`
	DefinitionIDMaxIn      []string                                `json:"definitionIdMax_in"`
	DefinitionIDNotIn      []string                                `json:"definitionId_not_in"`
	DefinitionIDMinNotIn   []string                                `json:"definitionIdMin_not_in"`
	DefinitionIDMaxNotIn   []string                                `json:"definitionIdMax_not_in"`
	DefinitionIDNull       *bool                                   `json:"definitionId_null"`
	UpdatedAt              *time.Time                              `json:"updatedAt"`
	UpdatedAtMin           *time.Time                              `json:"updatedAtMin"`
	UpdatedAtMax           *time.Time                              `json:"updatedAtMax"`
	UpdatedAtNe            *time.Time                              `json:"updatedAt_ne"`
	UpdatedAtMinNe         *time.Time                              `json:"updatedAtMin_ne"`
	UpdatedAtMaxNe         *time.Time                              `json:"updatedAtMax_ne"`
	UpdatedAtGt            *time.Time                              `json:"updatedAt_gt"`
	UpdatedAtMinGt         *time.Time                              `json:"updatedAtMin_gt"`
	UpdatedAtMaxGt         *time.Time                              `json:"updatedAtMax_gt"`
	UpdatedAtLt            *time.Time                              `json:"updatedAt_lt"`
	UpdatedAtMinLt         *time.Time                              `json:"updatedAtMin_lt"`
	UpdatedAtMaxLt         *time.Time                              `json:"updatedAtMax_lt"`
	UpdatedAtGte           *time.Time                              `json:"updatedAt_gte"`
	UpdatedAtMinGte        *time.Time                              `json:"updatedAtMin_gte"`
	UpdatedAtMaxGte        *time.Time                              `json:"updatedAtMax_gte"`
	UpdatedAtLte           *time.Time                              `json:"updatedAt_lte"`
	UpdatedAtMinLte        *time.Time                              `json:"updatedAtMin_lte"`
	UpdatedAtMaxLte        *time.Time                              `json:"updatedAtMax_lte"`
	UpdatedAtIn            []*time.Time                            `json:"updatedAt_in"`
	UpdatedAtMinIn         []*time.Time                            `json:"updatedAtMin_in"`
	UpdatedAtMaxIn         []*time.Time                            `json:"updatedAtMax_in"`
	UpdatedAtNotIn         []*time.Time                            `json:"updatedAt_not_in"`
	UpdatedAtMinNotIn      []*time.Time                            `json:"updatedAtMin_not_in"`
	UpdatedAtMaxNotIn      []*time.Time                            `json:"updatedAtMax_not_in"`
	UpdatedAtNull          *bool                                   `json:"updatedAt_null"`
	CreatedAt              *time.Time                              `json:"createdAt"`
	CreatedAtMin           *time.Time                              `json:"createdAtMin"`
	CreatedAtMax           *time.Time                              `json:"createdAtMax"`
	CreatedAtNe            *time.Time                              `json:"createdAt_ne"`
	CreatedAtMinNe         *time.Time                              `json:"createdAtMin_ne"`
	CreatedAtMaxNe         *time.Time                              `json:"createdAtMax_ne"`
	CreatedAtGt            *time.Time                              `json:"createdAt_gt"`
	CreatedAtMinGt         *time.Time                              `json:"createdAtMin_gt"`
	CreatedAtMaxGt         *time.Time                              `json:"createdAtMax_gt"`
	CreatedAtLt            *time.Time                              `json:"createdAt_lt"`
	CreatedAtMinLt         *time.Time                              `json:"createdAtMin_lt"`
	CreatedAtMaxLt         *time.Time                              `json:"createdAtMax_lt"`
	CreatedAtGte           *time.Time                              `json:"createdAt_gte"`
	CreatedAtMinGte        *time.Time                              `json:"createdAtMin_gte"`
	CreatedAtMaxGte        *time.Time                              `json:"createdAtMax_gte"`
	CreatedAtLte           *time.Time                              `json:"createdAt_lte"`
	CreatedAtMinLte        *time.Time                              `json:"createdAtMin_lte"`
	CreatedAtMaxLte        *time.Time                              `json:"createdAtMax_lte"`
	CreatedAtIn            []*time.Time                            `json:"createdAt_in"`
	CreatedAtMinIn         []*time.Time                            `json:"createdAtMin_in"`
	CreatedAtMaxIn         []*time.Time                            `json:"createdAtMax_in"`
	CreatedAtNotIn         []*time.Time                            `json:"createdAt_not_in"`
	CreatedAtMinNotIn      []*time.Time                            `json:"createdAtMin_not_in"`
	CreatedAtMaxNotIn      []*time.Time                            `json:"createdAtMax_not_in"`
	CreatedAtNull          *bool                                   `json:"createdAt_null"`
	UpdatedBy              *string                                 `json:"updatedBy"`
	UpdatedByMin           *string                                 `json:"updatedByMin"`
	UpdatedByMax           *string                                 `json:"updatedByMax"`
	UpdatedByNe            *string                                 `json:"updatedBy_ne"`
	UpdatedByMinNe         *string                                 `json:"updatedByMin_ne"`
	UpdatedByMaxNe         *string                                 `json:"updatedByMax_ne"`
	UpdatedByGt            *string                                 `json:"updatedBy_gt"`
	UpdatedByMinGt         *string                                 `json:"updatedByMin_gt"`
	UpdatedByMaxGt         *string                                 `json:"updatedByMax_gt"`
	UpdatedByLt            *string                                 `json:"updatedBy_lt"`
	UpdatedByMinLt         *string                                 `json:"updatedByMin_lt"`
	UpdatedByMaxLt         *string                                 `json:"updatedByMax_lt"`
	UpdatedByGte           *string                                 `json:"updatedBy_gte"`
	UpdatedByMinGte        *string                                 `json:"updatedByMin_gte"`
	UpdatedByMaxGte        *string                                 `json:"updatedByMax_gte"`
	UpdatedByLte           *string                                 `json:"updatedBy_lte"`
	UpdatedByMinLte        *string                                 `json:"updatedByMin_lte"`
	UpdatedByMaxLte        *string                                 `json:"updatedByMax_lte"`
	UpdatedByIn            []string                                `json:"updatedBy_in"`
	UpdatedByMinIn         []string                                `json:"updatedByMin_in"`
	UpdatedByMaxIn         []string                                `json:"updatedByMax_in"`
	UpdatedByNotIn         []string                                `json:"updatedBy_not_in"`
	UpdatedByMinNotIn      []string                                `json:"updatedByMin_not_in"`
	UpdatedByMaxNotIn      []string                                `json:"updatedByMax_not_in"`
	UpdatedByNull          *bool                                   `json:"updatedBy_null"`
	CreatedBy              *string                                 `json:"createdBy"`
	CreatedByMin           *string                                 `json:"createdByMin"`
	CreatedByMax           *string                                 `json:"createdByMax"`
	CreatedByNe            *string                                 `json:"createdBy_ne"`
	CreatedByMinNe         *string                                 `json:"createdByMin_ne"`
	CreatedByMaxNe         *string                                 `json:"createdByMax_ne"`
	CreatedByGt            *string                                 `json:"createdBy_gt"`
	CreatedByMinGt         *string                                 `json:"createdByMin_gt"`
	CreatedByMaxGt         *string                                 `json:"createdByMax_gt"`
	CreatedByLt            *string                                 `json:"createdBy_lt"`
	CreatedByMinLt         *string                                 `json:"createdByMin_lt"`
	CreatedByMaxLt         *string                                 `json:"createdByMax_lt"`
	CreatedByGte           *string                                 `json:"createdBy_gte"`
	CreatedByMinGte        *string                                 `json:"createdByMin_gte"`
	CreatedByMaxGte        *string                                 `json:"createdByMax_gte"`
	CreatedByLte           *string                                 `json:"createdBy_lte"`
	CreatedByMinLte        *string                                 `json:"createdByMin_lte"`
	CreatedByMaxLte        *string                                 `json:"createdByMax_lte"`
	CreatedByIn            []string                                `json:"createdBy_in"`
	CreatedByMinIn         []string                                `json:"createdByMin_in"`
	CreatedByMaxIn         []string                                `json:"createdByMax_in"`
	CreatedByNotIn         []string                                `json:"createdBy_not_in"`
	CreatedByMinNotIn      []string                                `json:"createdByMin_not_in"`
	CreatedByMaxNotIn      []string                                `json:"createdByMax_not_in"`
	CreatedByNull          *bool                                   `json:"createdBy_null"`
	Definition             *ConfiguratorItemDefinitionFilterType   `json:"definition"`
	Slots                  *ConfiguratorSlotFilterType             `json:"slots"`
	AllowedItemDefinitions *ConfiguratorItemDefinitionFilterType   `json:"allowedItemDefinitions"`
}

func (*ConfiguratorSlotDefinitionFilterType) AndWith

AndWith convenience method for combining two or more filters with AND statement

func (*ConfiguratorSlotDefinitionFilterType) Apply

func (f *ConfiguratorSlotDefinitionFilterType) Apply(ctx context.Context, dialect gorm.Dialect, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorSlotDefinitionFilterType) ApplyWithAlias

func (f *ConfiguratorSlotDefinitionFilterType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorSlotDefinitionFilterType) HavingContent

func (f *ConfiguratorSlotDefinitionFilterType) HavingContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

func (*ConfiguratorSlotDefinitionFilterType) IsEmpty

func (*ConfiguratorSlotDefinitionFilterType) OrWith

OrWith convenience method for combining two or more filters with OR statement

func (*ConfiguratorSlotDefinitionFilterType) WhereContent

func (f *ConfiguratorSlotDefinitionFilterType) WhereContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

type ConfiguratorSlotDefinitionQueryFilter

type ConfiguratorSlotDefinitionQueryFilter struct {
	Query *string
}

func (*ConfiguratorSlotDefinitionQueryFilter) Apply

func (qf *ConfiguratorSlotDefinitionQueryFilter) Apply(ctx context.Context, dialect gorm.Dialect, selectionSet *ast.SelectionSet, wheres *[]string, values *[]interface{}, joins *[]string) error

type ConfiguratorSlotDefinitionResultTypeResolver

type ConfiguratorSlotDefinitionResultTypeResolver interface {
	Items(ctx context.Context, obj *ConfiguratorSlotDefinitionResultType) ([]*ConfiguratorSlotDefinition, error)
	Count(ctx context.Context, obj *ConfiguratorSlotDefinitionResultType) (int, error)
}

type ConfiguratorSlotDefinitionSortType

type ConfiguratorSlotDefinitionSortType struct {
	ID                           *ObjectSortType                     `json:"id"`
	IDMin                        *ObjectSortType                     `json:"idMin"`
	IDMax                        *ObjectSortType                     `json:"idMax"`
	Name                         *ObjectSortType                     `json:"name"`
	NameMin                      *ObjectSortType                     `json:"nameMin"`
	NameMax                      *ObjectSortType                     `json:"nameMax"`
	MinCount                     *ObjectSortType                     `json:"minCount"`
	MinCountMin                  *ObjectSortType                     `json:"minCountMin"`
	MinCountMax                  *ObjectSortType                     `json:"minCountMax"`
	MinCountAvg                  *ObjectSortType                     `json:"minCountAvg"`
	MaxCount                     *ObjectSortType                     `json:"maxCount"`
	MaxCountMin                  *ObjectSortType                     `json:"maxCountMin"`
	MaxCountMax                  *ObjectSortType                     `json:"maxCountMax"`
	MaxCountAvg                  *ObjectSortType                     `json:"maxCountAvg"`
	DefaultCount                 *ObjectSortType                     `json:"defaultCount"`
	DefaultCountMin              *ObjectSortType                     `json:"defaultCountMin"`
	DefaultCountMax              *ObjectSortType                     `json:"defaultCountMax"`
	DefaultCountAvg              *ObjectSortType                     `json:"defaultCountAvg"`
	DefinitionID                 *ObjectSortType                     `json:"definitionId"`
	DefinitionIDMin              *ObjectSortType                     `json:"definitionIdMin"`
	DefinitionIDMax              *ObjectSortType                     `json:"definitionIdMax"`
	UpdatedAt                    *ObjectSortType                     `json:"updatedAt"`
	UpdatedAtMin                 *ObjectSortType                     `json:"updatedAtMin"`
	UpdatedAtMax                 *ObjectSortType                     `json:"updatedAtMax"`
	CreatedAt                    *ObjectSortType                     `json:"createdAt"`
	CreatedAtMin                 *ObjectSortType                     `json:"createdAtMin"`
	CreatedAtMax                 *ObjectSortType                     `json:"createdAtMax"`
	UpdatedBy                    *ObjectSortType                     `json:"updatedBy"`
	UpdatedByMin                 *ObjectSortType                     `json:"updatedByMin"`
	UpdatedByMax                 *ObjectSortType                     `json:"updatedByMax"`
	CreatedBy                    *ObjectSortType                     `json:"createdBy"`
	CreatedByMin                 *ObjectSortType                     `json:"createdByMin"`
	CreatedByMax                 *ObjectSortType                     `json:"createdByMax"`
	SlotsIds                     *ObjectSortType                     `json:"slotsIds"`
	SlotsIdsMin                  *ObjectSortType                     `json:"slotsIdsMin"`
	SlotsIdsMax                  *ObjectSortType                     `json:"slotsIdsMax"`
	AllowedItemDefinitionsIds    *ObjectSortType                     `json:"allowedItemDefinitionsIds"`
	AllowedItemDefinitionsIdsMin *ObjectSortType                     `json:"allowedItemDefinitionsIdsMin"`
	AllowedItemDefinitionsIdsMax *ObjectSortType                     `json:"allowedItemDefinitionsIdsMax"`
	Definition                   *ConfiguratorItemDefinitionSortType `json:"definition"`
	Slots                        *ConfiguratorSlotSortType           `json:"slots"`
	AllowedItemDefinitions       *ConfiguratorItemDefinitionSortType `json:"allowedItemDefinitions"`
}

func (ConfiguratorSlotDefinitionSortType) Apply

func (s ConfiguratorSlotDefinitionSortType) Apply(ctx context.Context, dialect gorm.Dialect, sorts *[]SortInfo, joins *[]string) error

func (ConfiguratorSlotDefinitionSortType) ApplyWithAlias

func (s ConfiguratorSlotDefinitionSortType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, sorts *[]SortInfo, joins *[]string) error

type ConfiguratorSlotDefinition_allowedItemDefinitions

type ConfiguratorSlotDefinition_allowedItemDefinitions struct {
	// contains filtered or unexported fields
}

func (ConfiguratorSlotDefinition_allowedItemDefinitions) TableName

type ConfiguratorSlotFilterType

type ConfiguratorSlotFilterType struct {
	And                  []*ConfiguratorSlotFilterType         `json:"AND"`
	Or                   []*ConfiguratorSlotFilterType         `json:"OR"`
	ID                   *string                               `json:"id"`
	IDMin                *string                               `json:"idMin"`
	IDMax                *string                               `json:"idMax"`
	IDNe                 *string                               `json:"id_ne"`
	IDMinNe              *string                               `json:"idMin_ne"`
	IDMaxNe              *string                               `json:"idMax_ne"`
	IDGt                 *string                               `json:"id_gt"`
	IDMinGt              *string                               `json:"idMin_gt"`
	IDMaxGt              *string                               `json:"idMax_gt"`
	IDLt                 *string                               `json:"id_lt"`
	IDMinLt              *string                               `json:"idMin_lt"`
	IDMaxLt              *string                               `json:"idMax_lt"`
	IDGte                *string                               `json:"id_gte"`
	IDMinGte             *string                               `json:"idMin_gte"`
	IDMaxGte             *string                               `json:"idMax_gte"`
	IDLte                *string                               `json:"id_lte"`
	IDMinLte             *string                               `json:"idMin_lte"`
	IDMaxLte             *string                               `json:"idMax_lte"`
	IDIn                 []string                              `json:"id_in"`
	IDMinIn              []string                              `json:"idMin_in"`
	IDMaxIn              []string                              `json:"idMax_in"`
	IDNotIn              []string                              `json:"id_not_in"`
	IDMinNotIn           []string                              `json:"idMin_not_in"`
	IDMaxNotIn           []string                              `json:"idMax_not_in"`
	IDNull               *bool                                 `json:"id_null"`
	Count                *float64                              `json:"count"`
	CountMin             *float64                              `json:"countMin"`
	CountMax             *float64                              `json:"countMax"`
	CountAvg             *float64                              `json:"countAvg"`
	CountNe              *float64                              `json:"count_ne"`
	CountMinNe           *float64                              `json:"countMin_ne"`
	CountMaxNe           *float64                              `json:"countMax_ne"`
	CountAvgNe           *float64                              `json:"countAvg_ne"`
	CountGt              *float64                              `json:"count_gt"`
	CountMinGt           *float64                              `json:"countMin_gt"`
	CountMaxGt           *float64                              `json:"countMax_gt"`
	CountAvgGt           *float64                              `json:"countAvg_gt"`
	CountLt              *float64                              `json:"count_lt"`
	CountMinLt           *float64                              `json:"countMin_lt"`
	CountMaxLt           *float64                              `json:"countMax_lt"`
	CountAvgLt           *float64                              `json:"countAvg_lt"`
	CountGte             *float64                              `json:"count_gte"`
	CountMinGte          *float64                              `json:"countMin_gte"`
	CountMaxGte          *float64                              `json:"countMax_gte"`
	CountAvgGte          *float64                              `json:"countAvg_gte"`
	CountLte             *float64                              `json:"count_lte"`
	CountMinLte          *float64                              `json:"countMin_lte"`
	CountMaxLte          *float64                              `json:"countMax_lte"`
	CountAvgLte          *float64                              `json:"countAvg_lte"`
	CountIn              []float64                             `json:"count_in"`
	CountMinIn           []float64                             `json:"countMin_in"`
	CountMaxIn           []float64                             `json:"countMax_in"`
	CountAvgIn           []float64                             `json:"countAvg_in"`
	CountNotIn           []float64                             `json:"count_not_in"`
	CountMinNotIn        []float64                             `json:"countMin_not_in"`
	CountMaxNotIn        []float64                             `json:"countMax_not_in"`
	CountAvgNotIn        []float64                             `json:"countAvg_not_in"`
	CountNull            *bool                                 `json:"count_null"`
	ItemID               *string                               `json:"itemId"`
	ItemIDMin            *string                               `json:"itemIdMin"`
	ItemIDMax            *string                               `json:"itemIdMax"`
	ItemIDNe             *string                               `json:"itemId_ne"`
	ItemIDMinNe          *string                               `json:"itemIdMin_ne"`
	ItemIDMaxNe          *string                               `json:"itemIdMax_ne"`
	ItemIDGt             *string                               `json:"itemId_gt"`
	ItemIDMinGt          *string                               `json:"itemIdMin_gt"`
	ItemIDMaxGt          *string                               `json:"itemIdMax_gt"`
	ItemIDLt             *string                               `json:"itemId_lt"`
	ItemIDMinLt          *string                               `json:"itemIdMin_lt"`
	ItemIDMaxLt          *string                               `json:"itemIdMax_lt"`
	ItemIDGte            *string                               `json:"itemId_gte"`
	ItemIDMinGte         *string                               `json:"itemIdMin_gte"`
	ItemIDMaxGte         *string                               `json:"itemIdMax_gte"`
	ItemIDLte            *string                               `json:"itemId_lte"`
	ItemIDMinLte         *string                               `json:"itemIdMin_lte"`
	ItemIDMaxLte         *string                               `json:"itemIdMax_lte"`
	ItemIDIn             []string                              `json:"itemId_in"`
	ItemIDMinIn          []string                              `json:"itemIdMin_in"`
	ItemIDMaxIn          []string                              `json:"itemIdMax_in"`
	ItemIDNotIn          []string                              `json:"itemId_not_in"`
	ItemIDMinNotIn       []string                              `json:"itemIdMin_not_in"`
	ItemIDMaxNotIn       []string                              `json:"itemIdMax_not_in"`
	ItemIDNull           *bool                                 `json:"itemId_null"`
	DefinitionID         *string                               `json:"definitionId"`
	DefinitionIDMin      *string                               `json:"definitionIdMin"`
	DefinitionIDMax      *string                               `json:"definitionIdMax"`
	DefinitionIDNe       *string                               `json:"definitionId_ne"`
	DefinitionIDMinNe    *string                               `json:"definitionIdMin_ne"`
	DefinitionIDMaxNe    *string                               `json:"definitionIdMax_ne"`
	DefinitionIDGt       *string                               `json:"definitionId_gt"`
	DefinitionIDMinGt    *string                               `json:"definitionIdMin_gt"`
	DefinitionIDMaxGt    *string                               `json:"definitionIdMax_gt"`
	DefinitionIDLt       *string                               `json:"definitionId_lt"`
	DefinitionIDMinLt    *string                               `json:"definitionIdMin_lt"`
	DefinitionIDMaxLt    *string                               `json:"definitionIdMax_lt"`
	DefinitionIDGte      *string                               `json:"definitionId_gte"`
	DefinitionIDMinGte   *string                               `json:"definitionIdMin_gte"`
	DefinitionIDMaxGte   *string                               `json:"definitionIdMax_gte"`
	DefinitionIDLte      *string                               `json:"definitionId_lte"`
	DefinitionIDMinLte   *string                               `json:"definitionIdMin_lte"`
	DefinitionIDMaxLte   *string                               `json:"definitionIdMax_lte"`
	DefinitionIDIn       []string                              `json:"definitionId_in"`
	DefinitionIDMinIn    []string                              `json:"definitionIdMin_in"`
	DefinitionIDMaxIn    []string                              `json:"definitionIdMax_in"`
	DefinitionIDNotIn    []string                              `json:"definitionId_not_in"`
	DefinitionIDMinNotIn []string                              `json:"definitionIdMin_not_in"`
	DefinitionIDMaxNotIn []string                              `json:"definitionIdMax_not_in"`
	DefinitionIDNull     *bool                                 `json:"definitionId_null"`
	ParentItemID         *string                               `json:"parentItemId"`
	ParentItemIDMin      *string                               `json:"parentItemIdMin"`
	ParentItemIDMax      *string                               `json:"parentItemIdMax"`
	ParentItemIDNe       *string                               `json:"parentItemId_ne"`
	ParentItemIDMinNe    *string                               `json:"parentItemIdMin_ne"`
	ParentItemIDMaxNe    *string                               `json:"parentItemIdMax_ne"`
	ParentItemIDGt       *string                               `json:"parentItemId_gt"`
	ParentItemIDMinGt    *string                               `json:"parentItemIdMin_gt"`
	ParentItemIDMaxGt    *string                               `json:"parentItemIdMax_gt"`
	ParentItemIDLt       *string                               `json:"parentItemId_lt"`
	ParentItemIDMinLt    *string                               `json:"parentItemIdMin_lt"`
	ParentItemIDMaxLt    *string                               `json:"parentItemIdMax_lt"`
	ParentItemIDGte      *string                               `json:"parentItemId_gte"`
	ParentItemIDMinGte   *string                               `json:"parentItemIdMin_gte"`
	ParentItemIDMaxGte   *string                               `json:"parentItemIdMax_gte"`
	ParentItemIDLte      *string                               `json:"parentItemId_lte"`
	ParentItemIDMinLte   *string                               `json:"parentItemIdMin_lte"`
	ParentItemIDMaxLte   *string                               `json:"parentItemIdMax_lte"`
	ParentItemIDIn       []string                              `json:"parentItemId_in"`
	ParentItemIDMinIn    []string                              `json:"parentItemIdMin_in"`
	ParentItemIDMaxIn    []string                              `json:"parentItemIdMax_in"`
	ParentItemIDNotIn    []string                              `json:"parentItemId_not_in"`
	ParentItemIDMinNotIn []string                              `json:"parentItemIdMin_not_in"`
	ParentItemIDMaxNotIn []string                              `json:"parentItemIdMax_not_in"`
	ParentItemIDNull     *bool                                 `json:"parentItemId_null"`
	UpdatedAt            *time.Time                            `json:"updatedAt"`
	UpdatedAtMin         *time.Time                            `json:"updatedAtMin"`
	UpdatedAtMax         *time.Time                            `json:"updatedAtMax"`
	UpdatedAtNe          *time.Time                            `json:"updatedAt_ne"`
	UpdatedAtMinNe       *time.Time                            `json:"updatedAtMin_ne"`
	UpdatedAtMaxNe       *time.Time                            `json:"updatedAtMax_ne"`
	UpdatedAtGt          *time.Time                            `json:"updatedAt_gt"`
	UpdatedAtMinGt       *time.Time                            `json:"updatedAtMin_gt"`
	UpdatedAtMaxGt       *time.Time                            `json:"updatedAtMax_gt"`
	UpdatedAtLt          *time.Time                            `json:"updatedAt_lt"`
	UpdatedAtMinLt       *time.Time                            `json:"updatedAtMin_lt"`
	UpdatedAtMaxLt       *time.Time                            `json:"updatedAtMax_lt"`
	UpdatedAtGte         *time.Time                            `json:"updatedAt_gte"`
	UpdatedAtMinGte      *time.Time                            `json:"updatedAtMin_gte"`
	UpdatedAtMaxGte      *time.Time                            `json:"updatedAtMax_gte"`
	UpdatedAtLte         *time.Time                            `json:"updatedAt_lte"`
	UpdatedAtMinLte      *time.Time                            `json:"updatedAtMin_lte"`
	UpdatedAtMaxLte      *time.Time                            `json:"updatedAtMax_lte"`
	UpdatedAtIn          []*time.Time                          `json:"updatedAt_in"`
	UpdatedAtMinIn       []*time.Time                          `json:"updatedAtMin_in"`
	UpdatedAtMaxIn       []*time.Time                          `json:"updatedAtMax_in"`
	UpdatedAtNotIn       []*time.Time                          `json:"updatedAt_not_in"`
	UpdatedAtMinNotIn    []*time.Time                          `json:"updatedAtMin_not_in"`
	UpdatedAtMaxNotIn    []*time.Time                          `json:"updatedAtMax_not_in"`
	UpdatedAtNull        *bool                                 `json:"updatedAt_null"`
	CreatedAt            *time.Time                            `json:"createdAt"`
	CreatedAtMin         *time.Time                            `json:"createdAtMin"`
	CreatedAtMax         *time.Time                            `json:"createdAtMax"`
	CreatedAtNe          *time.Time                            `json:"createdAt_ne"`
	CreatedAtMinNe       *time.Time                            `json:"createdAtMin_ne"`
	CreatedAtMaxNe       *time.Time                            `json:"createdAtMax_ne"`
	CreatedAtGt          *time.Time                            `json:"createdAt_gt"`
	CreatedAtMinGt       *time.Time                            `json:"createdAtMin_gt"`
	CreatedAtMaxGt       *time.Time                            `json:"createdAtMax_gt"`
	CreatedAtLt          *time.Time                            `json:"createdAt_lt"`
	CreatedAtMinLt       *time.Time                            `json:"createdAtMin_lt"`
	CreatedAtMaxLt       *time.Time                            `json:"createdAtMax_lt"`
	CreatedAtGte         *time.Time                            `json:"createdAt_gte"`
	CreatedAtMinGte      *time.Time                            `json:"createdAtMin_gte"`
	CreatedAtMaxGte      *time.Time                            `json:"createdAtMax_gte"`
	CreatedAtLte         *time.Time                            `json:"createdAt_lte"`
	CreatedAtMinLte      *time.Time                            `json:"createdAtMin_lte"`
	CreatedAtMaxLte      *time.Time                            `json:"createdAtMax_lte"`
	CreatedAtIn          []*time.Time                          `json:"createdAt_in"`
	CreatedAtMinIn       []*time.Time                          `json:"createdAtMin_in"`
	CreatedAtMaxIn       []*time.Time                          `json:"createdAtMax_in"`
	CreatedAtNotIn       []*time.Time                          `json:"createdAt_not_in"`
	CreatedAtMinNotIn    []*time.Time                          `json:"createdAtMin_not_in"`
	CreatedAtMaxNotIn    []*time.Time                          `json:"createdAtMax_not_in"`
	CreatedAtNull        *bool                                 `json:"createdAt_null"`
	UpdatedBy            *string                               `json:"updatedBy"`
	UpdatedByMin         *string                               `json:"updatedByMin"`
	UpdatedByMax         *string                               `json:"updatedByMax"`
	UpdatedByNe          *string                               `json:"updatedBy_ne"`
	UpdatedByMinNe       *string                               `json:"updatedByMin_ne"`
	UpdatedByMaxNe       *string                               `json:"updatedByMax_ne"`
	UpdatedByGt          *string                               `json:"updatedBy_gt"`
	UpdatedByMinGt       *string                               `json:"updatedByMin_gt"`
	UpdatedByMaxGt       *string                               `json:"updatedByMax_gt"`
	UpdatedByLt          *string                               `json:"updatedBy_lt"`
	UpdatedByMinLt       *string                               `json:"updatedByMin_lt"`
	UpdatedByMaxLt       *string                               `json:"updatedByMax_lt"`
	UpdatedByGte         *string                               `json:"updatedBy_gte"`
	UpdatedByMinGte      *string                               `json:"updatedByMin_gte"`
	UpdatedByMaxGte      *string                               `json:"updatedByMax_gte"`
	UpdatedByLte         *string                               `json:"updatedBy_lte"`
	UpdatedByMinLte      *string                               `json:"updatedByMin_lte"`
	UpdatedByMaxLte      *string                               `json:"updatedByMax_lte"`
	UpdatedByIn          []string                              `json:"updatedBy_in"`
	UpdatedByMinIn       []string                              `json:"updatedByMin_in"`
	UpdatedByMaxIn       []string                              `json:"updatedByMax_in"`
	UpdatedByNotIn       []string                              `json:"updatedBy_not_in"`
	UpdatedByMinNotIn    []string                              `json:"updatedByMin_not_in"`
	UpdatedByMaxNotIn    []string                              `json:"updatedByMax_not_in"`
	UpdatedByNull        *bool                                 `json:"updatedBy_null"`
	CreatedBy            *string                               `json:"createdBy"`
	CreatedByMin         *string                               `json:"createdByMin"`
	CreatedByMax         *string                               `json:"createdByMax"`
	CreatedByNe          *string                               `json:"createdBy_ne"`
	CreatedByMinNe       *string                               `json:"createdByMin_ne"`
	CreatedByMaxNe       *string                               `json:"createdByMax_ne"`
	CreatedByGt          *string                               `json:"createdBy_gt"`
	CreatedByMinGt       *string                               `json:"createdByMin_gt"`
	CreatedByMaxGt       *string                               `json:"createdByMax_gt"`
	CreatedByLt          *string                               `json:"createdBy_lt"`
	CreatedByMinLt       *string                               `json:"createdByMin_lt"`
	CreatedByMaxLt       *string                               `json:"createdByMax_lt"`
	CreatedByGte         *string                               `json:"createdBy_gte"`
	CreatedByMinGte      *string                               `json:"createdByMin_gte"`
	CreatedByMaxGte      *string                               `json:"createdByMax_gte"`
	CreatedByLte         *string                               `json:"createdBy_lte"`
	CreatedByMinLte      *string                               `json:"createdByMin_lte"`
	CreatedByMaxLte      *string                               `json:"createdByMax_lte"`
	CreatedByIn          []string                              `json:"createdBy_in"`
	CreatedByMinIn       []string                              `json:"createdByMin_in"`
	CreatedByMaxIn       []string                              `json:"createdByMax_in"`
	CreatedByNotIn       []string                              `json:"createdBy_not_in"`
	CreatedByMinNotIn    []string                              `json:"createdByMin_not_in"`
	CreatedByMaxNotIn    []string                              `json:"createdByMax_not_in"`
	CreatedByNull        *bool                                 `json:"createdBy_null"`
	Item                 *ConfiguratorItemFilterType           `json:"item"`
	Definition           *ConfiguratorSlotDefinitionFilterType `json:"definition"`
	ParentItem           *ConfiguratorItemFilterType           `json:"parentItem"`
}

func (*ConfiguratorSlotFilterType) AndWith

AndWith convenience method for combining two or more filters with AND statement

func (*ConfiguratorSlotFilterType) Apply

func (f *ConfiguratorSlotFilterType) Apply(ctx context.Context, dialect gorm.Dialect, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorSlotFilterType) ApplyWithAlias

func (f *ConfiguratorSlotFilterType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error

func (*ConfiguratorSlotFilterType) HavingContent

func (f *ConfiguratorSlotFilterType) HavingContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

func (*ConfiguratorSlotFilterType) IsEmpty

func (f *ConfiguratorSlotFilterType) IsEmpty(ctx context.Context, dialect gorm.Dialect) bool

func (*ConfiguratorSlotFilterType) OrWith

OrWith convenience method for combining two or more filters with OR statement

func (*ConfiguratorSlotFilterType) WhereContent

func (f *ConfiguratorSlotFilterType) WhereContent(dialect gorm.Dialect, aliasPrefix string) (conditions []string, values []interface{})

type ConfiguratorSlotQueryFilter

type ConfiguratorSlotQueryFilter struct {
	Query *string
}

func (*ConfiguratorSlotQueryFilter) Apply

func (qf *ConfiguratorSlotQueryFilter) Apply(ctx context.Context, dialect gorm.Dialect, selectionSet *ast.SelectionSet, wheres *[]string, values *[]interface{}, joins *[]string) error

type ConfiguratorSlotResolver

type ConfiguratorSlotResolver interface {
	Item(ctx context.Context, obj *ConfiguratorSlot) (*ConfiguratorItem, error)
	Definition(ctx context.Context, obj *ConfiguratorSlot) (*ConfiguratorSlotDefinition, error)
	ParentItem(ctx context.Context, obj *ConfiguratorSlot) (*ConfiguratorItem, error)
}

type ConfiguratorSlotResultType

type ConfiguratorSlotResultType struct {
	EntityResultType
}

type ConfiguratorSlotResultTypeResolver

type ConfiguratorSlotResultTypeResolver interface {
	Items(ctx context.Context, obj *ConfiguratorSlotResultType) ([]*ConfiguratorSlot, error)
	Count(ctx context.Context, obj *ConfiguratorSlotResultType) (int, error)
}

type ConfiguratorSlotSortType

type ConfiguratorSlotSortType struct {
	ID              *ObjectSortType                     `json:"id"`
	IDMin           *ObjectSortType                     `json:"idMin"`
	IDMax           *ObjectSortType                     `json:"idMax"`
	Count           *ObjectSortType                     `json:"count"`
	CountMin        *ObjectSortType                     `json:"countMin"`
	CountMax        *ObjectSortType                     `json:"countMax"`
	CountAvg        *ObjectSortType                     `json:"countAvg"`
	ItemID          *ObjectSortType                     `json:"itemId"`
	ItemIDMin       *ObjectSortType                     `json:"itemIdMin"`
	ItemIDMax       *ObjectSortType                     `json:"itemIdMax"`
	DefinitionID    *ObjectSortType                     `json:"definitionId"`
	DefinitionIDMin *ObjectSortType                     `json:"definitionIdMin"`
	DefinitionIDMax *ObjectSortType                     `json:"definitionIdMax"`
	ParentItemID    *ObjectSortType                     `json:"parentItemId"`
	ParentItemIDMin *ObjectSortType                     `json:"parentItemIdMin"`
	ParentItemIDMax *ObjectSortType                     `json:"parentItemIdMax"`
	UpdatedAt       *ObjectSortType                     `json:"updatedAt"`
	UpdatedAtMin    *ObjectSortType                     `json:"updatedAtMin"`
	UpdatedAtMax    *ObjectSortType                     `json:"updatedAtMax"`
	CreatedAt       *ObjectSortType                     `json:"createdAt"`
	CreatedAtMin    *ObjectSortType                     `json:"createdAtMin"`
	CreatedAtMax    *ObjectSortType                     `json:"createdAtMax"`
	UpdatedBy       *ObjectSortType                     `json:"updatedBy"`
	UpdatedByMin    *ObjectSortType                     `json:"updatedByMin"`
	UpdatedByMax    *ObjectSortType                     `json:"updatedByMax"`
	CreatedBy       *ObjectSortType                     `json:"createdBy"`
	CreatedByMin    *ObjectSortType                     `json:"createdByMin"`
	CreatedByMax    *ObjectSortType                     `json:"createdByMax"`
	Item            *ConfiguratorItemSortType           `json:"item"`
	Definition      *ConfiguratorSlotDefinitionSortType `json:"definition"`
	ParentItem      *ConfiguratorItemSortType           `json:"parentItem"`
}

func (ConfiguratorSlotSortType) Apply

func (s ConfiguratorSlotSortType) Apply(ctx context.Context, dialect gorm.Dialect, sorts *[]SortInfo, joins *[]string) error

func (ConfiguratorSlotSortType) ApplyWithAlias

func (s ConfiguratorSlotSortType) ApplyWithAlias(ctx context.Context, dialect gorm.Dialect, alias string, sorts *[]SortInfo, joins *[]string) error

type DB

type DB struct {
	// contains filtered or unexported fields
}

DB ...

func NewDB

func NewDB(db *gorm.DB) *DB

NewDB ...

func NewDBFromEnvVars

func NewDBFromEnvVars() *DB

NewDBFromEnvVars Create database client using DATABASE_URL environment variable

func NewDBWithString

func NewDBWithString(urlString string) *DB

NewDBWithString creates database instance with database URL string

func (*DB) AutoMigrate

func (db *DB) AutoMigrate() error

AutoMigrate run basic gorm automigration

func (*DB) Close

func (db *DB) Close() error

Close ...

func (*DB) Migrate

func (db *DB) Migrate(migrations []*gormigrate.Migration) error

Migrate run migrations using automigrate

func (*DB) Ping

func (db *DB) Ping() error

func (*DB) Query

func (db *DB) Query() *gorm.DB

Query ...

type DirectiveRoot

type DirectiveRoot struct {
}

type EntityFilter

type EntityFilter interface {
	Apply(ctx context.Context, dialect gorm.Dialect, wheres *[]string, whereValues *[]interface{}, havings *[]string, havingValues *[]interface{}, joins *[]string) error
}

type EntityFilterQuery

type EntityFilterQuery interface {
	Apply(ctx context.Context, dialect gorm.Dialect, selectionSet *ast.SelectionSet, wheres *[]string, values *[]interface{}, joins *[]string) error
}

type EntityResultType

type EntityResultType struct {
	Offset       *int
	Limit        *int
	Query        EntityFilterQuery
	Sort         []EntitySort
	Filter       EntityFilter
	Fields       []*ast.Field
	SelectionSet *ast.SelectionSet
}

func (*EntityResultType) GetCount

func (r *EntityResultType) GetCount(ctx context.Context, db *gorm.DB, opts GetItemsOptions, out interface{}) (count int, err error)

GetCount ...

func (*EntityResultType) GetItems

func (r *EntityResultType) GetItems(ctx context.Context, db *gorm.DB, opts GetItemsOptions, out interface{}) error

GetResultTypeItems ...

func (*EntityResultType) GetSortStrings

func (r *EntityResultType) GetSortStrings() []string

type EntitySort

type EntitySort interface {
	Apply(ctx context.Context, dialect gorm.Dialect, sorts *[]SortInfo, joins *[]string) error
}

type EventController

type EventController struct {
	// contains filtered or unexported fields
}

func NewEventController

func NewEventController() (ec EventController, err error)

func (*EventController) SendEvent

func (c *EventController) SendEvent(ctx context.Context, e *events.Event) (err error)

SendEvent ...

type GeneratedConfiguratorAttributeDefinitionResolver

type GeneratedConfiguratorAttributeDefinitionResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorAttributeDefinitionResolver) Attributes

func (*GeneratedConfiguratorAttributeDefinitionResolver) AttributesConnection

func (*GeneratedConfiguratorAttributeDefinitionResolver) AttributesIds

func (*GeneratedConfiguratorAttributeDefinitionResolver) Definitions

func (*GeneratedConfiguratorAttributeDefinitionResolver) DefinitionsConnection

func (*GeneratedConfiguratorAttributeDefinitionResolver) DefinitionsIds

type GeneratedConfiguratorAttributeDefinitionResultTypeResolver

type GeneratedConfiguratorAttributeDefinitionResultTypeResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorAttributeDefinitionResultTypeResolver) Count

func (*GeneratedConfiguratorAttributeDefinitionResultTypeResolver) Items

type GeneratedConfiguratorAttributeResolver

type GeneratedConfiguratorAttributeResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorAttributeResolver) Definition

func (*GeneratedConfiguratorAttributeResolver) Item

type GeneratedConfiguratorAttributeResultTypeResolver

type GeneratedConfiguratorAttributeResultTypeResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorAttributeResultTypeResolver) Count

func (*GeneratedConfiguratorAttributeResultTypeResolver) Items

type GeneratedConfiguratorItemDefinitionCategoryResolver

type GeneratedConfiguratorItemDefinitionCategoryResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorItemDefinitionCategoryResolver) Definitions

func (*GeneratedConfiguratorItemDefinitionCategoryResolver) DefinitionsConnection

func (*GeneratedConfiguratorItemDefinitionCategoryResolver) DefinitionsIds

type GeneratedConfiguratorItemDefinitionCategoryResultTypeResolver

type GeneratedConfiguratorItemDefinitionCategoryResultTypeResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorItemDefinitionCategoryResultTypeResolver) Count

func (*GeneratedConfiguratorItemDefinitionCategoryResultTypeResolver) Items

type GeneratedConfiguratorItemDefinitionResolver

type GeneratedConfiguratorItemDefinitionResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorItemDefinitionResolver) AllowedInSlots

func (*GeneratedConfiguratorItemDefinitionResolver) AllowedInSlotsConnection

func (*GeneratedConfiguratorItemDefinitionResolver) AllowedInSlotsIds

func (*GeneratedConfiguratorItemDefinitionResolver) Attributes

func (*GeneratedConfiguratorItemDefinitionResolver) AttributesIds

func (*GeneratedConfiguratorItemDefinitionResolver) Category

func (*GeneratedConfiguratorItemDefinitionResolver) Items

func (*GeneratedConfiguratorItemDefinitionResolver) ItemsConnection

func (*GeneratedConfiguratorItemDefinitionResolver) ItemsIds

func (*GeneratedConfiguratorItemDefinitionResolver) Slots

func (*GeneratedConfiguratorItemDefinitionResolver) SlotsConnection

func (*GeneratedConfiguratorItemDefinitionResolver) SlotsIds

type GeneratedConfiguratorItemDefinitionResultTypeResolver

type GeneratedConfiguratorItemDefinitionResultTypeResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorItemDefinitionResultTypeResolver) Count

func (*GeneratedConfiguratorItemDefinitionResultTypeResolver) Items

type GeneratedConfiguratorItemResolver

type GeneratedConfiguratorItemResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorItemResolver) Attributes

func (*GeneratedConfiguratorItemResolver) AttributesConnection

func (*GeneratedConfiguratorItemResolver) AttributesIds

func (r *GeneratedConfiguratorItemResolver) AttributesIds(ctx context.Context, obj *ConfiguratorItem) (ids []string, err error)

func (*GeneratedConfiguratorItemResolver) Definition

func (*GeneratedConfiguratorItemResolver) ParentSlots

func (*GeneratedConfiguratorItemResolver) ParentSlotsConnection

func (r *GeneratedConfiguratorItemResolver) ParentSlotsConnection(ctx context.Context, obj *ConfiguratorItem, offset *int, limit *int, q *string, sort []*ConfiguratorSlotSortType, filter *ConfiguratorSlotFilterType) (res *ConfiguratorSlotResultType, err error)

func (*GeneratedConfiguratorItemResolver) ParentSlotsIds

func (r *GeneratedConfiguratorItemResolver) ParentSlotsIds(ctx context.Context, obj *ConfiguratorItem) (ids []string, err error)

func (*GeneratedConfiguratorItemResolver) Slots

func (*GeneratedConfiguratorItemResolver) SlotsConnection

func (*GeneratedConfiguratorItemResolver) SlotsIds

func (r *GeneratedConfiguratorItemResolver) SlotsIds(ctx context.Context, obj *ConfiguratorItem) (ids []string, err error)

func (*GeneratedConfiguratorItemResolver) StockItem

type GeneratedConfiguratorItemResultTypeResolver

type GeneratedConfiguratorItemResultTypeResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorItemResultTypeResolver) Count

func (*GeneratedConfiguratorItemResultTypeResolver) Items

type GeneratedConfiguratorSlotDefinitionResolver

type GeneratedConfiguratorSlotDefinitionResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorSlotDefinitionResolver) AllowedItemDefinitions

func (*GeneratedConfiguratorSlotDefinitionResolver) AllowedItemDefinitionsConnection

func (*GeneratedConfiguratorSlotDefinitionResolver) AllowedItemDefinitionsIds

func (r *GeneratedConfiguratorSlotDefinitionResolver) AllowedItemDefinitionsIds(ctx context.Context, obj *ConfiguratorSlotDefinition) (ids []string, err error)

func (*GeneratedConfiguratorSlotDefinitionResolver) Definition

func (*GeneratedConfiguratorSlotDefinitionResolver) Slots

func (*GeneratedConfiguratorSlotDefinitionResolver) SlotsConnection

func (*GeneratedConfiguratorSlotDefinitionResolver) SlotsIds

type GeneratedConfiguratorSlotDefinitionResultTypeResolver

type GeneratedConfiguratorSlotDefinitionResultTypeResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorSlotDefinitionResultTypeResolver) Count

func (*GeneratedConfiguratorSlotDefinitionResultTypeResolver) Items

type GeneratedConfiguratorSlotResolver

type GeneratedConfiguratorSlotResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorSlotResolver) Definition

func (*GeneratedConfiguratorSlotResolver) Item

func (*GeneratedConfiguratorSlotResolver) ParentItem

type GeneratedConfiguratorSlotResultTypeResolver

type GeneratedConfiguratorSlotResultTypeResolver struct{ *GeneratedResolver }

func (*GeneratedConfiguratorSlotResultTypeResolver) Count

func (*GeneratedConfiguratorSlotResultTypeResolver) Items

type GeneratedMutationResolver

type GeneratedMutationResolver struct{ *GeneratedResolver }

func (*GeneratedMutationResolver) CreateConfiguratorAttribute

func (r *GeneratedMutationResolver) CreateConfiguratorAttribute(ctx context.Context, input map[string]interface{}) (item *ConfiguratorAttribute, err error)

func (*GeneratedMutationResolver) CreateConfiguratorAttributeDefinition

func (r *GeneratedMutationResolver) CreateConfiguratorAttributeDefinition(ctx context.Context, input map[string]interface{}) (item *ConfiguratorAttributeDefinition, err error)

func (*GeneratedMutationResolver) CreateConfiguratorItem

func (r *GeneratedMutationResolver) CreateConfiguratorItem(ctx context.Context, input map[string]interface{}) (item *ConfiguratorItem, err error)

func (*GeneratedMutationResolver) CreateConfiguratorItemDefinition

func (r *GeneratedMutationResolver) CreateConfiguratorItemDefinition(ctx context.Context, input map[string]interface{}) (item *ConfiguratorItemDefinition, err error)

func (*GeneratedMutationResolver) CreateConfiguratorItemDefinitionCategory

func (r *GeneratedMutationResolver) CreateConfiguratorItemDefinitionCategory(ctx context.Context, input map[string]interface{}) (item *ConfiguratorItemDefinitionCategory, err error)

func (*GeneratedMutationResolver) CreateConfiguratorSlot

func (r *GeneratedMutationResolver) CreateConfiguratorSlot(ctx context.Context, input map[string]interface{}) (item *ConfiguratorSlot, err error)

func (*GeneratedMutationResolver) CreateConfiguratorSlotDefinition

func (r *GeneratedMutationResolver) CreateConfiguratorSlotDefinition(ctx context.Context, input map[string]interface{}) (item *ConfiguratorSlotDefinition, err error)

func (*GeneratedMutationResolver) DeleteAllConfiguratorAttributeDefinitions

func (r *GeneratedMutationResolver) DeleteAllConfiguratorAttributeDefinitions(ctx context.Context) (bool, error)

func (*GeneratedMutationResolver) DeleteAllConfiguratorAttributes

func (r *GeneratedMutationResolver) DeleteAllConfiguratorAttributes(ctx context.Context) (bool, error)

func (*GeneratedMutationResolver) DeleteAllConfiguratorItemDefinitionCategories

func (r *GeneratedMutationResolver) DeleteAllConfiguratorItemDefinitionCategories(ctx context.Context) (bool, error)

func (*GeneratedMutationResolver) DeleteAllConfiguratorItemDefinitions

func (r *GeneratedMutationResolver) DeleteAllConfiguratorItemDefinitions(ctx context.Context) (bool, error)

func (*GeneratedMutationResolver) DeleteAllConfiguratorItems

func (r *GeneratedMutationResolver) DeleteAllConfiguratorItems(ctx context.Context) (bool, error)

func (*GeneratedMutationResolver) DeleteAllConfiguratorSlotDefinitions

func (r *GeneratedMutationResolver) DeleteAllConfiguratorSlotDefinitions(ctx context.Context) (bool, error)

func (*GeneratedMutationResolver) DeleteAllConfiguratorSlots

func (r *GeneratedMutationResolver) DeleteAllConfiguratorSlots(ctx context.Context) (bool, error)

func (*GeneratedMutationResolver) DeleteConfiguratorAttribute

func (r *GeneratedMutationResolver) DeleteConfiguratorAttribute(ctx context.Context, id string) (item *ConfiguratorAttribute, err error)

func (*GeneratedMutationResolver) DeleteConfiguratorAttributeDefinition

func (r *GeneratedMutationResolver) DeleteConfiguratorAttributeDefinition(ctx context.Context, id string) (item *ConfiguratorAttributeDefinition, err error)

func (*GeneratedMutationResolver) DeleteConfiguratorItem

func (r *GeneratedMutationResolver) DeleteConfiguratorItem(ctx context.Context, id string) (item *ConfiguratorItem, err error)

func (*GeneratedMutationResolver) DeleteConfiguratorItemDefinition

func (r *GeneratedMutationResolver) DeleteConfiguratorItemDefinition(ctx context.Context, id string) (item *ConfiguratorItemDefinition, err error)

func (*GeneratedMutationResolver) DeleteConfiguratorItemDefinitionCategory

func (r *GeneratedMutationResolver) DeleteConfiguratorItemDefinitionCategory(ctx context.Context, id string) (item *ConfiguratorItemDefinitionCategory, err error)

func (*GeneratedMutationResolver) DeleteConfiguratorSlot

func (r *GeneratedMutationResolver) DeleteConfiguratorSlot(ctx context.Context, id string) (item *ConfiguratorSlot, err error)

func (*GeneratedMutationResolver) DeleteConfiguratorSlotDefinition

func (r *GeneratedMutationResolver) DeleteConfiguratorSlotDefinition(ctx context.Context, id string) (item *ConfiguratorSlotDefinition, err error)

func (*GeneratedMutationResolver) UpdateConfiguratorAttribute

func (r *GeneratedMutationResolver) UpdateConfiguratorAttribute(ctx context.Context, id string, input map[string]interface{}) (item *ConfiguratorAttribute, err error)

func (*GeneratedMutationResolver) UpdateConfiguratorAttributeDefinition

func (r *GeneratedMutationResolver) UpdateConfiguratorAttributeDefinition(ctx context.Context, id string, input map[string]interface{}) (item *ConfiguratorAttributeDefinition, err error)

func (*GeneratedMutationResolver) UpdateConfiguratorItem

func (r *GeneratedMutationResolver) UpdateConfiguratorItem(ctx context.Context, id string, input map[string]interface{}) (item *ConfiguratorItem, err error)

func (*GeneratedMutationResolver) UpdateConfiguratorItemDefinition

func (r *GeneratedMutationResolver) UpdateConfiguratorItemDefinition(ctx context.Context, id string, input map[string]interface{}) (item *ConfiguratorItemDefinition, err error)

func (*GeneratedMutationResolver) UpdateConfiguratorItemDefinitionCategory

func (r *GeneratedMutationResolver) UpdateConfiguratorItemDefinitionCategory(ctx context.Context, id string, input map[string]interface{}) (item *ConfiguratorItemDefinitionCategory, err error)

func (*GeneratedMutationResolver) UpdateConfiguratorSlot

func (r *GeneratedMutationResolver) UpdateConfiguratorSlot(ctx context.Context, id string, input map[string]interface{}) (item *ConfiguratorSlot, err error)

func (*GeneratedMutationResolver) UpdateConfiguratorSlotDefinition

func (r *GeneratedMutationResolver) UpdateConfiguratorSlotDefinition(ctx context.Context, id string, input map[string]interface{}) (item *ConfiguratorSlotDefinition, err error)

type GeneratedQueryResolver

type GeneratedQueryResolver struct{ *GeneratedResolver }

func (*GeneratedQueryResolver) ConfiguratorAttribute

func (*GeneratedQueryResolver) ConfiguratorAttributeDefinition

func (*GeneratedQueryResolver) ConfiguratorAttributes

func (*GeneratedQueryResolver) ConfiguratorItem

func (*GeneratedQueryResolver) ConfiguratorItemDefinition

func (*GeneratedQueryResolver) ConfiguratorItemDefinitionCategory

func (*GeneratedQueryResolver) ConfiguratorItemDefinitions

func (*GeneratedQueryResolver) ConfiguratorItems

func (r *GeneratedQueryResolver) ConfiguratorItems(ctx context.Context, offset *int, limit *int, q *string, sort []*ConfiguratorItemSortType, filter *ConfiguratorItemFilterType) (*ConfiguratorItemResultType, error)

func (*GeneratedQueryResolver) ConfiguratorSlot

func (*GeneratedQueryResolver) ConfiguratorSlotDefinition

func (*GeneratedQueryResolver) ConfiguratorSlotDefinitions

func (*GeneratedQueryResolver) ConfiguratorSlots

func (r *GeneratedQueryResolver) ConfiguratorSlots(ctx context.Context, offset *int, limit *int, q *string, sort []*ConfiguratorSlotSortType, filter *ConfiguratorSlotFilterType) (*ConfiguratorSlotResultType, error)

type GeneratedResolver

type GeneratedResolver struct {
	Handlers        ResolutionHandlers
	DB              *DB
	EventController *EventController
}

func (*GeneratedResolver) GetDB

func (r *GeneratedResolver) GetDB(ctx context.Context) *gorm.DB

GetDB returns database connection or transaction for given context (if exists)

type GeneratedStockItemResolver

type GeneratedStockItemResolver struct{ *GeneratedResolver }

type GetItemsOptions

type GetItemsOptions struct {
	Alias      string
	Preloaders []string
}

type JWTClaims

type JWTClaims struct {
	jwtgo.StandardClaims
	Scope *string
}

func GetJWTClaimsFromContext

func GetJWTClaimsFromContext(ctx context.Context) *JWTClaims

func (*JWTClaims) HasScope

func (c *JWTClaims) HasScope(scope string) bool

func (*JWTClaims) Scopes

func (c *JWTClaims) Scopes() []string

type MutationEvents

type MutationEvents struct {
	Events []events.Event
}

func GetMutationEventStore

func GetMutationEventStore(ctx context.Context) *MutationEvents

type MutationResolver

type MutationResolver interface {
	CreateConfiguratorItemDefinitionCategory(ctx context.Context, input map[string]interface{}) (*ConfiguratorItemDefinitionCategory, error)
	UpdateConfiguratorItemDefinitionCategory(ctx context.Context, id string, input map[string]interface{}) (*ConfiguratorItemDefinitionCategory, error)
	DeleteConfiguratorItemDefinitionCategory(ctx context.Context, id string) (*ConfiguratorItemDefinitionCategory, error)
	DeleteAllConfiguratorItemDefinitionCategories(ctx context.Context) (bool, error)
	CreateConfiguratorItemDefinition(ctx context.Context, input map[string]interface{}) (*ConfiguratorItemDefinition, error)
	UpdateConfiguratorItemDefinition(ctx context.Context, id string, input map[string]interface{}) (*ConfiguratorItemDefinition, error)
	DeleteConfiguratorItemDefinition(ctx context.Context, id string) (*ConfiguratorItemDefinition, error)
	DeleteAllConfiguratorItemDefinitions(ctx context.Context) (bool, error)
	CreateConfiguratorAttributeDefinition(ctx context.Context, input map[string]interface{}) (*ConfiguratorAttributeDefinition, error)
	UpdateConfiguratorAttributeDefinition(ctx context.Context, id string, input map[string]interface{}) (*ConfiguratorAttributeDefinition, error)
	DeleteConfiguratorAttributeDefinition(ctx context.Context, id string) (*ConfiguratorAttributeDefinition, error)
	DeleteAllConfiguratorAttributeDefinitions(ctx context.Context) (bool, error)
	CreateConfiguratorSlotDefinition(ctx context.Context, input map[string]interface{}) (*ConfiguratorSlotDefinition, error)
	UpdateConfiguratorSlotDefinition(ctx context.Context, id string, input map[string]interface{}) (*ConfiguratorSlotDefinition, error)
	DeleteConfiguratorSlotDefinition(ctx context.Context, id string) (*ConfiguratorSlotDefinition, error)
	DeleteAllConfiguratorSlotDefinitions(ctx context.Context) (bool, error)
	CreateConfiguratorItem(ctx context.Context, input map[string]interface{}) (*ConfiguratorItem, error)
	UpdateConfiguratorItem(ctx context.Context, id string, input map[string]interface{}) (*ConfiguratorItem, error)
	DeleteConfiguratorItem(ctx context.Context, id string) (*ConfiguratorItem, error)
	DeleteAllConfiguratorItems(ctx context.Context) (bool, error)
	CreateConfiguratorAttribute(ctx context.Context, input map[string]interface{}) (*ConfiguratorAttribute, error)
	UpdateConfiguratorAttribute(ctx context.Context, id string, input map[string]interface{}) (*ConfiguratorAttribute, error)
	DeleteConfiguratorAttribute(ctx context.Context, id string) (*ConfiguratorAttribute, error)
	DeleteAllConfiguratorAttributes(ctx context.Context) (bool, error)
	CreateConfiguratorSlot(ctx context.Context, input map[string]interface{}) (*ConfiguratorSlot, error)
	UpdateConfiguratorSlot(ctx context.Context, id string, input map[string]interface{}) (*ConfiguratorSlot, error)
	DeleteConfiguratorSlot(ctx context.Context, id string) (*ConfiguratorSlot, error)
	DeleteAllConfiguratorSlots(ctx context.Context) (bool, error)
	CreateConfiguratorAssembly(ctx context.Context, input ConfiguratorAssemblyCreateInput) (*ConfiguratorAssembly, error)
	UpdateConfiguratorAssembly(ctx context.Context, id string, input ConfiguratorAssemblyUpdateInput) (*ConfiguratorAssembly, error)
}

type ObjectSortType

type ObjectSortType string
const (
	ObjectSortTypeAsc  ObjectSortType = "ASC"
	ObjectSortTypeDesc ObjectSortType = "DESC"
)

func (ObjectSortType) IsValid

func (e ObjectSortType) IsValid() bool

func (ObjectSortType) MarshalGQL

func (e ObjectSortType) MarshalGQL(w io.Writer)

func (ObjectSortType) String

func (e ObjectSortType) String() string

func (*ObjectSortType) UnmarshalGQL

func (e *ObjectSortType) UnmarshalGQL(v interface{}) error

type QueryConfiguratorAttributeDefinitionHandlerOptions

type QueryConfiguratorAttributeDefinitionHandlerOptions struct {
	ID     *string
	Q      *string
	Filter *ConfiguratorAttributeDefinitionFilterType
}

type QueryConfiguratorAttributeDefinitionsHandlerOptions

type QueryConfiguratorAttributeDefinitionsHandlerOptions struct {
	Offset *int
	Limit  *int
	Q      *string
	Sort   []*ConfiguratorAttributeDefinitionSortType
	Filter *ConfiguratorAttributeDefinitionFilterType
}

type QueryConfiguratorAttributeHandlerOptions

type QueryConfiguratorAttributeHandlerOptions struct {
	ID     *string
	Q      *string
	Filter *ConfiguratorAttributeFilterType
}

type QueryConfiguratorAttributesHandlerOptions

type QueryConfiguratorAttributesHandlerOptions struct {
	Offset *int
	Limit  *int
	Q      *string
	Sort   []*ConfiguratorAttributeSortType
	Filter *ConfiguratorAttributeFilterType
}

type QueryConfiguratorItemDefinitionCategoriesHandlerOptions

type QueryConfiguratorItemDefinitionCategoriesHandlerOptions struct {
	Offset *int
	Limit  *int
	Q      *string
	Sort   []*ConfiguratorItemDefinitionCategorySortType
	Filter *ConfiguratorItemDefinitionCategoryFilterType
}

type QueryConfiguratorItemDefinitionCategoryHandlerOptions

type QueryConfiguratorItemDefinitionCategoryHandlerOptions struct {
	ID     *string
	Q      *string
	Filter *ConfiguratorItemDefinitionCategoryFilterType
}

type QueryConfiguratorItemDefinitionHandlerOptions

type QueryConfiguratorItemDefinitionHandlerOptions struct {
	ID     *string
	Q      *string
	Filter *ConfiguratorItemDefinitionFilterType
}

type QueryConfiguratorItemDefinitionsHandlerOptions

type QueryConfiguratorItemDefinitionsHandlerOptions struct {
	Offset *int
	Limit  *int
	Q      *string
	Sort   []*ConfiguratorItemDefinitionSortType
	Filter *ConfiguratorItemDefinitionFilterType
}

type QueryConfiguratorItemHandlerOptions

type QueryConfiguratorItemHandlerOptions struct {
	ID     *string
	Q      *string
	Filter *ConfiguratorItemFilterType
}

type QueryConfiguratorItemsHandlerOptions

type QueryConfiguratorItemsHandlerOptions struct {
	Offset *int
	Limit  *int
	Q      *string
	Sort   []*ConfiguratorItemSortType
	Filter *ConfiguratorItemFilterType
}

type QueryConfiguratorSlotDefinitionHandlerOptions

type QueryConfiguratorSlotDefinitionHandlerOptions struct {
	ID     *string
	Q      *string
	Filter *ConfiguratorSlotDefinitionFilterType
}

type QueryConfiguratorSlotDefinitionsHandlerOptions

type QueryConfiguratorSlotDefinitionsHandlerOptions struct {
	Offset *int
	Limit  *int
	Q      *string
	Sort   []*ConfiguratorSlotDefinitionSortType
	Filter *ConfiguratorSlotDefinitionFilterType
}

type QueryConfiguratorSlotHandlerOptions

type QueryConfiguratorSlotHandlerOptions struct {
	ID     *string
	Q      *string
	Filter *ConfiguratorSlotFilterType
}

type QueryConfiguratorSlotsHandlerOptions

type QueryConfiguratorSlotsHandlerOptions struct {
	Offset *int
	Limit  *int
	Q      *string
	Sort   []*ConfiguratorSlotSortType
	Filter *ConfiguratorSlotFilterType
}

type QueryResolver

type QueryResolver interface {
	ConfiguratorItemDefinitionCategory(ctx context.Context, id *string, q *string, filter *ConfiguratorItemDefinitionCategoryFilterType) (*ConfiguratorItemDefinitionCategory, error)
	ConfiguratorItemDefinitionCategories(ctx context.Context, offset *int, limit *int, q *string, sort []*ConfiguratorItemDefinitionCategorySortType, filter *ConfiguratorItemDefinitionCategoryFilterType) (*ConfiguratorItemDefinitionCategoryResultType, error)
	ConfiguratorItemDefinition(ctx context.Context, id *string, q *string, filter *ConfiguratorItemDefinitionFilterType) (*ConfiguratorItemDefinition, error)
	ConfiguratorItemDefinitions(ctx context.Context, offset *int, limit *int, q *string, sort []*ConfiguratorItemDefinitionSortType, filter *ConfiguratorItemDefinitionFilterType) (*ConfiguratorItemDefinitionResultType, error)
	ConfiguratorAttributeDefinition(ctx context.Context, id *string, q *string, filter *ConfiguratorAttributeDefinitionFilterType) (*ConfiguratorAttributeDefinition, error)
	ConfiguratorAttributeDefinitions(ctx context.Context, offset *int, limit *int, q *string, sort []*ConfiguratorAttributeDefinitionSortType, filter *ConfiguratorAttributeDefinitionFilterType) (*ConfiguratorAttributeDefinitionResultType, error)
	ConfiguratorSlotDefinition(ctx context.Context, id *string, q *string, filter *ConfiguratorSlotDefinitionFilterType) (*ConfiguratorSlotDefinition, error)
	ConfiguratorSlotDefinitions(ctx context.Context, offset *int, limit *int, q *string, sort []*ConfiguratorSlotDefinitionSortType, filter *ConfiguratorSlotDefinitionFilterType) (*ConfiguratorSlotDefinitionResultType, error)
	ConfiguratorItem(ctx context.Context, id *string, q *string, filter *ConfiguratorItemFilterType) (*ConfiguratorItem, error)
	ConfiguratorItems(ctx context.Context, offset *int, limit *int, q *string, sort []*ConfiguratorItemSortType, filter *ConfiguratorItemFilterType) (*ConfiguratorItemResultType, error)
	ConfiguratorAttribute(ctx context.Context, id *string, q *string, filter *ConfiguratorAttributeFilterType) (*ConfiguratorAttribute, error)
	ConfiguratorAttributes(ctx context.Context, offset *int, limit *int, q *string, sort []*ConfiguratorAttributeSortType, filter *ConfiguratorAttributeFilterType) (*ConfiguratorAttributeResultType, error)
	ConfiguratorSlot(ctx context.Context, id *string, q *string, filter *ConfiguratorSlotFilterType) (*ConfiguratorSlot, error)
	ConfiguratorSlots(ctx context.Context, offset *int, limit *int, q *string, sort []*ConfiguratorSlotSortType, filter *ConfiguratorSlotFilterType) (*ConfiguratorSlotResultType, error)
	ConfiguratorAssembly(ctx context.Context, id string) (*ConfiguratorAssembly, error)
	// contains filtered or unexported methods
}

type ResolutionHandlers

type ResolutionHandlers struct {
	OnEvent func(ctx context.Context, r *GeneratedResolver, e *events.Event) error

	CreateConfiguratorItemDefinitionCategory      func(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorItemDefinitionCategory, err error)
	UpdateConfiguratorItemDefinitionCategory      func(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorItemDefinitionCategory, err error)
	DeleteConfiguratorItemDefinitionCategory      func(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorItemDefinitionCategory, err error)
	DeleteAllConfiguratorItemDefinitionCategories func(ctx context.Context, r *GeneratedResolver) (bool, error)
	QueryConfiguratorItemDefinitionCategory       func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorItemDefinitionCategoryHandlerOptions) (*ConfiguratorItemDefinitionCategory, error)
	QueryConfiguratorItemDefinitionCategories     func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorItemDefinitionCategoriesHandlerOptions) (*ConfiguratorItemDefinitionCategoryResultType, error)

	ConfiguratorItemDefinitionCategoryDefinitions func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItemDefinitionCategory) (res []*ConfiguratorItemDefinition, err error)

	CreateConfiguratorItemDefinition     func(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorItemDefinition, err error)
	UpdateConfiguratorItemDefinition     func(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorItemDefinition, err error)
	DeleteConfiguratorItemDefinition     func(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorItemDefinition, err error)
	DeleteAllConfiguratorItemDefinitions func(ctx context.Context, r *GeneratedResolver) (bool, error)
	QueryConfiguratorItemDefinition      func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorItemDefinitionHandlerOptions) (*ConfiguratorItemDefinition, error)
	QueryConfiguratorItemDefinitions     func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorItemDefinitionsHandlerOptions) (*ConfiguratorItemDefinitionResultType, error)

	ConfiguratorItemDefinitionAttributes func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItemDefinition) (res []*ConfiguratorAttributeDefinition, err error)

	ConfiguratorItemDefinitionSlots func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItemDefinition) (res []*ConfiguratorSlotDefinition, err error)

	ConfiguratorItemDefinitionItems func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItemDefinition) (res []*ConfiguratorItem, err error)

	ConfiguratorItemDefinitionAllowedInSlots func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItemDefinition) (res []*ConfiguratorSlotDefinition, err error)

	ConfiguratorItemDefinitionCategory func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItemDefinition) (res *ConfiguratorItemDefinitionCategory, err error)

	CreateConfiguratorAttributeDefinition     func(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorAttributeDefinition, err error)
	UpdateConfiguratorAttributeDefinition     func(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorAttributeDefinition, err error)
	DeleteConfiguratorAttributeDefinition     func(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorAttributeDefinition, err error)
	DeleteAllConfiguratorAttributeDefinitions func(ctx context.Context, r *GeneratedResolver) (bool, error)
	QueryConfiguratorAttributeDefinition      func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorAttributeDefinitionHandlerOptions) (*ConfiguratorAttributeDefinition, error)
	QueryConfiguratorAttributeDefinitions     func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorAttributeDefinitionsHandlerOptions) (*ConfiguratorAttributeDefinitionResultType, error)

	ConfiguratorAttributeDefinitionDefinitions func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorAttributeDefinition) (res []*ConfiguratorItemDefinition, err error)

	ConfiguratorAttributeDefinitionAttributes func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorAttributeDefinition) (res []*ConfiguratorAttribute, err error)

	CreateConfiguratorSlotDefinition     func(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorSlotDefinition, err error)
	UpdateConfiguratorSlotDefinition     func(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorSlotDefinition, err error)
	DeleteConfiguratorSlotDefinition     func(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorSlotDefinition, err error)
	DeleteAllConfiguratorSlotDefinitions func(ctx context.Context, r *GeneratedResolver) (bool, error)
	QueryConfiguratorSlotDefinition      func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorSlotDefinitionHandlerOptions) (*ConfiguratorSlotDefinition, error)
	QueryConfiguratorSlotDefinitions     func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorSlotDefinitionsHandlerOptions) (*ConfiguratorSlotDefinitionResultType, error)

	ConfiguratorSlotDefinitionDefinition func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlotDefinition) (res *ConfiguratorItemDefinition, err error)

	ConfiguratorSlotDefinitionSlots func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlotDefinition) (res []*ConfiguratorSlot, err error)

	ConfiguratorSlotDefinitionAllowedItemDefinitions func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlotDefinition) (res []*ConfiguratorItemDefinition, err error)

	CreateConfiguratorItem     func(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorItem, err error)
	UpdateConfiguratorItem     func(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorItem, err error)
	DeleteConfiguratorItem     func(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorItem, err error)
	DeleteAllConfiguratorItems func(ctx context.Context, r *GeneratedResolver) (bool, error)
	QueryConfiguratorItem      func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorItemHandlerOptions) (*ConfiguratorItem, error)
	QueryConfiguratorItems     func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorItemsHandlerOptions) (*ConfiguratorItemResultType, error)

	ConfiguratorItemStockItem func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItem) (res *StockItem, err error)

	ConfiguratorItemDefinition func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItem) (res *ConfiguratorItemDefinition, err error)

	ConfiguratorItemAttributes func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItem) (res []*ConfiguratorAttribute, err error)

	ConfiguratorItemSlots func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItem) (res []*ConfiguratorSlot, err error)

	ConfiguratorItemParentSlots func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItem) (res []*ConfiguratorSlot, err error)

	CreateConfiguratorAttribute     func(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorAttribute, err error)
	UpdateConfiguratorAttribute     func(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorAttribute, err error)
	DeleteConfiguratorAttribute     func(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorAttribute, err error)
	DeleteAllConfiguratorAttributes func(ctx context.Context, r *GeneratedResolver) (bool, error)
	QueryConfiguratorAttribute      func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorAttributeHandlerOptions) (*ConfiguratorAttribute, error)
	QueryConfiguratorAttributes     func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorAttributesHandlerOptions) (*ConfiguratorAttributeResultType, error)

	ConfiguratorAttributeDefinition func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorAttribute) (res *ConfiguratorAttributeDefinition, err error)

	ConfiguratorAttributeItem func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorAttribute) (res *ConfiguratorItem, err error)

	CreateConfiguratorSlot     func(ctx context.Context, r *GeneratedResolver, input map[string]interface{}) (item *ConfiguratorSlot, err error)
	UpdateConfiguratorSlot     func(ctx context.Context, r *GeneratedResolver, id string, input map[string]interface{}) (item *ConfiguratorSlot, err error)
	DeleteConfiguratorSlot     func(ctx context.Context, r *GeneratedResolver, id string) (item *ConfiguratorSlot, err error)
	DeleteAllConfiguratorSlots func(ctx context.Context, r *GeneratedResolver) (bool, error)
	QueryConfiguratorSlot      func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorSlotHandlerOptions) (*ConfiguratorSlot, error)
	QueryConfiguratorSlots     func(ctx context.Context, r *GeneratedResolver, opts QueryConfiguratorSlotsHandlerOptions) (*ConfiguratorSlotResultType, error)

	ConfiguratorSlotItem func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlot) (res *ConfiguratorItem, err error)

	ConfiguratorSlotDefinition func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlot) (res *ConfiguratorSlotDefinition, err error)

	ConfiguratorSlotParentItem func(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorSlot) (res *ConfiguratorItem, err error)
}

func DefaultResolutionHandlers

func DefaultResolutionHandlers() ResolutionHandlers

type ResolverRoot

type ResolverRoot interface {
	ConfiguratorAttribute() ConfiguratorAttributeResolver
	ConfiguratorAttributeDefinition() ConfiguratorAttributeDefinitionResolver
	ConfiguratorAttributeDefinitionResultType() ConfiguratorAttributeDefinitionResultTypeResolver
	ConfiguratorAttributeResultType() ConfiguratorAttributeResultTypeResolver
	ConfiguratorItem() ConfiguratorItemResolver
	ConfiguratorItemDefinition() ConfiguratorItemDefinitionResolver
	ConfiguratorItemDefinitionCategory() ConfiguratorItemDefinitionCategoryResolver
	ConfiguratorItemDefinitionCategoryResultType() ConfiguratorItemDefinitionCategoryResultTypeResolver
	ConfiguratorItemDefinitionResultType() ConfiguratorItemDefinitionResultTypeResolver
	ConfiguratorItemResultType() ConfiguratorItemResultTypeResolver
	ConfiguratorSlot() ConfiguratorSlotResolver
	ConfiguratorSlotDefinition() ConfiguratorSlotDefinitionResolver
	ConfiguratorSlotDefinitionResultType() ConfiguratorSlotDefinitionResultTypeResolver
	ConfiguratorSlotResultType() ConfiguratorSlotResultTypeResolver
	Mutation() MutationResolver
	Query() QueryResolver
}

type SortInfo

type SortInfo struct {
	Field         string
	Direction     string
	IsAggregation bool
}

func (*SortInfo) String

func (si *SortInfo) String() string

type StockItem

type StockItem struct {
	ID string `json:"id"`
}

func ConfiguratorItemStockItemHandler

func ConfiguratorItemStockItemHandler(ctx context.Context, r *GeneratedResolver, obj *ConfiguratorItem) (res *StockItem, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL