schema

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Schemas = []carrier.Schema{
		&carrier.EntSchema{
			To: &ent.RecipeCreate{},
			Posts: []carrier.PostField{
				{Name: "stepsCount", Input: 1},
				{Name: "ingredientsCount", Input: 1},
			},
			Traits: []string{"vegan", "keto"},
		},
		&carrier.EntSchema{
			To:    &ent.UserCreate{},
			Posts: []carrier.PostField{{Name: "recipes", Input: 1}},
		},
		&carrier.EntSchema{To: &ent.IngredientCreate{}},
		&carrier.EntSchema{To: &ent.CategoryCreate{}},
		&carrier.EntSchema{To: &ent.RecipeIngredientCreate{}},
		&carrier.EntSchema{To: &ent.StepCreate{}},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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