Documentation ¶
Index ¶
- func GetMigrations(db *gen.DB) []*gormigrate.Migration
- func LoadItem(ctx context.Context, r *gen.GeneratedResolver, ID string, ...) (*gen.ConfiguratorAssemblyItem, error)
- type AssemblyHelper
- type AssemblyInputHelper
- type ConfiguratorAttributeDefinitionResolver
- type ConfiguratorAttributeDefinitionResultTypeResolver
- type ConfiguratorAttributeResolver
- type ConfiguratorAttributeResultTypeResolver
- type ConfiguratorItemDefinitionCategoryResolver
- type ConfiguratorItemDefinitionCategoryResultTypeResolver
- type ConfiguratorItemDefinitionResolver
- type ConfiguratorItemDefinitionResultTypeResolver
- type ConfiguratorItemResolver
- type ConfiguratorItemResultTypeResolver
- type ConfiguratorSlotDefinitionResolver
- type ConfiguratorSlotDefinitionResultTypeResolver
- type ConfiguratorSlotResolver
- type ConfiguratorSlotResultTypeResolver
- type MutationResolver
- func (r *MutationResolver) BeginTransaction(ctx context.Context, fn func(context.Context) error) error
- func (r *MutationResolver) CreateConfiguratorAssembly(ctx context.Context, input gen.ConfiguratorAssemblyCreateInput) (item *gen.ConfiguratorAssembly, err error)
- func (r *MutationResolver) UpdateConfiguratorAssembly(ctx context.Context, id string, input gen.ConfiguratorAssemblyUpdateInput) (item *gen.ConfiguratorAssembly, err error)
- type QueryResolver
- type Resolver
- func (r *Resolver) ConfiguratorAttribute() gen.ConfiguratorAttributeResolver
- func (r *Resolver) ConfiguratorAttributeDefinition() gen.ConfiguratorAttributeDefinitionResolver
- func (r *Resolver) ConfiguratorAttributeDefinitionResultType() gen.ConfiguratorAttributeDefinitionResultTypeResolver
- func (r *Resolver) ConfiguratorAttributeResultType() gen.ConfiguratorAttributeResultTypeResolver
- func (r *Resolver) ConfiguratorItem() gen.ConfiguratorItemResolver
- func (r *Resolver) ConfiguratorItemDefinition() gen.ConfiguratorItemDefinitionResolver
- func (r *Resolver) ConfiguratorItemDefinitionCategory() gen.ConfiguratorItemDefinitionCategoryResolver
- func (r *Resolver) ConfiguratorItemDefinitionCategoryResultType() gen.ConfiguratorItemDefinitionCategoryResultTypeResolver
- func (r *Resolver) ConfiguratorItemDefinitionResultType() gen.ConfiguratorItemDefinitionResultTypeResolver
- func (r *Resolver) ConfiguratorItemResultType() gen.ConfiguratorItemResultTypeResolver
- func (r *Resolver) ConfiguratorSlot() gen.ConfiguratorSlotResolver
- func (r *Resolver) ConfiguratorSlotDefinition() gen.ConfiguratorSlotDefinitionResolver
- func (r *Resolver) ConfiguratorSlotDefinitionResultType() gen.ConfiguratorSlotDefinitionResultTypeResolver
- func (r *Resolver) ConfiguratorSlotResultType() gen.ConfiguratorSlotResultTypeResolver
- func (r *Resolver) Mutation() gen.MutationResolver
- func (r *Resolver) Query() gen.QueryResolver
- type StockItemResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMigrations ¶
func LoadItem ¶
func LoadItem(ctx context.Context, r *gen.GeneratedResolver, ID string, itemCache map[string]*gen.ConfiguratorAssemblyItem) (*gen.ConfiguratorAssemblyItem, error)
Types ¶
type AssemblyHelper ¶
type AssemblyHelper struct {
// contains filtered or unexported fields
}
func (*AssemblyHelper) Load ¶
func (as *AssemblyHelper) Load(ctx context.Context, ID string) (*gen.ConfiguratorAssembly, error)
type AssemblyInputHelper ¶
type AssemblyInputHelper struct { }
func (*AssemblyInputHelper) CreateItem ¶
func (h *AssemblyInputHelper) CreateItem(ctx context.Context, r *gen.GeneratedResolver, inputItem *gen.ConfiguratorAssemblyItemInput) (id string, err error)
func (*AssemblyInputHelper) UpdateItem ¶
func (h *AssemblyInputHelper) UpdateItem(ctx context.Context, r *gen.GeneratedResolver, inputItem *gen.ConfiguratorAssemblyItemInput) (id string, err error)
type ConfiguratorAttributeDefinitionResolver ¶
type ConfiguratorAttributeDefinitionResolver struct {
*gen.GeneratedConfiguratorAttributeDefinitionResolver
}
type ConfiguratorAttributeDefinitionResultTypeResolver ¶
type ConfiguratorAttributeDefinitionResultTypeResolver struct {
*gen.GeneratedConfiguratorAttributeDefinitionResultTypeResolver
}
type ConfiguratorAttributeResolver ¶
type ConfiguratorAttributeResolver struct {
*gen.GeneratedConfiguratorAttributeResolver
}
type ConfiguratorAttributeResultTypeResolver ¶
type ConfiguratorAttributeResultTypeResolver struct {
*gen.GeneratedConfiguratorAttributeResultTypeResolver
}
type ConfiguratorItemDefinitionCategoryResolver ¶
type ConfiguratorItemDefinitionCategoryResolver struct {
*gen.GeneratedConfiguratorItemDefinitionCategoryResolver
}
type ConfiguratorItemDefinitionCategoryResultTypeResolver ¶
type ConfiguratorItemDefinitionCategoryResultTypeResolver struct {
*gen.GeneratedConfiguratorItemDefinitionCategoryResultTypeResolver
}
type ConfiguratorItemDefinitionResolver ¶
type ConfiguratorItemDefinitionResolver struct {
*gen.GeneratedConfiguratorItemDefinitionResolver
}
type ConfiguratorItemDefinitionResultTypeResolver ¶
type ConfiguratorItemDefinitionResultTypeResolver struct {
*gen.GeneratedConfiguratorItemDefinitionResultTypeResolver
}
type ConfiguratorItemResolver ¶
type ConfiguratorItemResolver struct {
*gen.GeneratedConfiguratorItemResolver
}
type ConfiguratorItemResultTypeResolver ¶
type ConfiguratorItemResultTypeResolver struct {
*gen.GeneratedConfiguratorItemResultTypeResolver
}
type ConfiguratorSlotDefinitionResolver ¶
type ConfiguratorSlotDefinitionResolver struct {
*gen.GeneratedConfiguratorSlotDefinitionResolver
}
type ConfiguratorSlotDefinitionResultTypeResolver ¶
type ConfiguratorSlotDefinitionResultTypeResolver struct {
*gen.GeneratedConfiguratorSlotDefinitionResultTypeResolver
}
type ConfiguratorSlotResolver ¶
type ConfiguratorSlotResolver struct {
*gen.GeneratedConfiguratorSlotResolver
}
type ConfiguratorSlotResultTypeResolver ¶
type ConfiguratorSlotResultTypeResolver struct {
*gen.GeneratedConfiguratorSlotResultTypeResolver
}
type MutationResolver ¶
type MutationResolver struct {
*gen.GeneratedMutationResolver
}
func (*MutationResolver) BeginTransaction ¶
func (*MutationResolver) CreateConfiguratorAssembly ¶
func (r *MutationResolver) CreateConfiguratorAssembly(ctx context.Context, input gen.ConfiguratorAssemblyCreateInput) (item *gen.ConfiguratorAssembly, err error)
func (*MutationResolver) UpdateConfiguratorAssembly ¶
func (r *MutationResolver) UpdateConfiguratorAssembly(ctx context.Context, id string, input gen.ConfiguratorAssemblyUpdateInput) (item *gen.ConfiguratorAssembly, err error)
type QueryResolver ¶
type QueryResolver struct {
*gen.GeneratedQueryResolver
}
func (*QueryResolver) ConfiguratorAssembly ¶
func (r *QueryResolver) ConfiguratorAssembly(ctx context.Context, id string) (item *gen.ConfiguratorAssembly, err error)
type Resolver ¶
type Resolver struct {
*gen.GeneratedResolver
}
func NewResolver ¶
func NewResolver(db *gen.DB, ec *gen.EventController) *Resolver
func (*Resolver) ConfiguratorAttribute ¶
func (r *Resolver) ConfiguratorAttribute() gen.ConfiguratorAttributeResolver
func (*Resolver) ConfiguratorAttributeDefinition ¶
func (r *Resolver) ConfiguratorAttributeDefinition() gen.ConfiguratorAttributeDefinitionResolver
func (*Resolver) ConfiguratorAttributeDefinitionResultType ¶
func (r *Resolver) ConfiguratorAttributeDefinitionResultType() gen.ConfiguratorAttributeDefinitionResultTypeResolver
func (*Resolver) ConfiguratorAttributeResultType ¶
func (r *Resolver) ConfiguratorAttributeResultType() gen.ConfiguratorAttributeResultTypeResolver
func (*Resolver) ConfiguratorItem ¶
func (r *Resolver) ConfiguratorItem() gen.ConfiguratorItemResolver
func (*Resolver) ConfiguratorItemDefinition ¶
func (r *Resolver) ConfiguratorItemDefinition() gen.ConfiguratorItemDefinitionResolver
func (*Resolver) ConfiguratorItemDefinitionCategory ¶
func (r *Resolver) ConfiguratorItemDefinitionCategory() gen.ConfiguratorItemDefinitionCategoryResolver
func (*Resolver) ConfiguratorItemDefinitionCategoryResultType ¶
func (r *Resolver) ConfiguratorItemDefinitionCategoryResultType() gen.ConfiguratorItemDefinitionCategoryResultTypeResolver
func (*Resolver) ConfiguratorItemDefinitionResultType ¶
func (r *Resolver) ConfiguratorItemDefinitionResultType() gen.ConfiguratorItemDefinitionResultTypeResolver
func (*Resolver) ConfiguratorItemResultType ¶
func (r *Resolver) ConfiguratorItemResultType() gen.ConfiguratorItemResultTypeResolver
func (*Resolver) ConfiguratorSlot ¶
func (r *Resolver) ConfiguratorSlot() gen.ConfiguratorSlotResolver
func (*Resolver) ConfiguratorSlotDefinition ¶
func (r *Resolver) ConfiguratorSlotDefinition() gen.ConfiguratorSlotDefinitionResolver
func (*Resolver) ConfiguratorSlotDefinitionResultType ¶
func (r *Resolver) ConfiguratorSlotDefinitionResultType() gen.ConfiguratorSlotDefinitionResultTypeResolver
func (*Resolver) ConfiguratorSlotResultType ¶
func (r *Resolver) ConfiguratorSlotResultType() gen.ConfiguratorSlotResultTypeResolver
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() gen.MutationResolver
func (*Resolver) Query ¶
func (r *Resolver) Query() gen.QueryResolver
type StockItemResolver ¶
type StockItemResolver struct {
*gen.GeneratedStockItemResolver
}
Click to show internal directories.
Click to hide internal directories.