model

package
v0.0.0-...-2f3620b Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Audit

type Audit struct {
	ID        string `json:"id"`
	ObjectID  string `json:"object_id"`
	TableName string `json:"table_name"`
	Diff      string `json:"diff"`
	Before    string `json:"before"`
	After     string `json:"after"`
	Comments  string `json:"comments"`
	CreatedBy string `json:"created_by"`
	Created   string `json:"created"`
}

type Fixit

type Fixit struct {
	ID        string `json:"id"`
	VocabID   string `json:"vocab_id"`
	Status    Status `json:"status"`
	FieldName string `json:"field_name"`
	Comments  string `json:"comments"`
	CreatedBy string `json:"created_by"`
	Created   string `json:"created"`
}

type Mutation

type Mutation struct {
}

type NewFixit

type NewFixit struct {
	VocabID   string `json:"vocab_id"`
	Status    Status `json:"status"`
	FieldName string `json:"field_name"`
	Comments  string `json:"comments"`
}

type NewVocab

type NewVocab struct {
	LearningLang     string `json:"learning_lang"`
	FirstLang        string `json:"first_lang"`
	Alternatives     string `json:"alternatives"`
	Skill            string `json:"skill"`
	Infinitive       string `json:"infinitive"`
	Pos              string `json:"pos"`
	Hint             string `json:"hint"`
	NumLearningWords int    `json:"num_learning_words"`
	KnownLangCode    string `json:"known_lang_code"`
	LearningLangCode string `json:"learning_lang_code"`
}

type Query

type Query struct {
}

type Status

type Status string
const (
	StatusPending    Status = "PENDING"
	StatusInProgress Status = "IN_PROGRESS"
	StatusCompleted  Status = "COMPLETED"
)

func (Status) IsValid

func (e Status) IsValid() bool

func (Status) MarshalGQL

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

func (Status) String

func (e Status) String() string

func (*Status) UnmarshalGQL

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

type UpdateFixit

type UpdateFixit struct {
	ID        string `json:"id"`
	Status    Status `json:"status"`
	FieldName string `json:"field_name"`
	Comments  string `json:"comments"`
}

type UpdateVocab

type UpdateVocab struct {
	ID               string `json:"id"`
	FirstLang        string `json:"first_lang"`
	Alternatives     string `json:"alternatives"`
	Skill            string `json:"skill"`
	Infinitive       string `json:"infinitive"`
	Pos              string `json:"pos"`
	Hint             string `json:"hint"`
	NumLearningWords int    `json:"num_learning_words"`
}

type Vocab

type Vocab struct {
	ID               string `json:"id"`
	LearningLang     string `json:"learning_lang"`
	FirstLang        string `json:"first_lang"`
	Alternatives     string `json:"alternatives"`
	Skill            string `json:"skill"`
	Infinitive       string `json:"infinitive"`
	Pos              string `json:"pos"`
	Hint             string `json:"hint"`
	NumLearningWords int    `json:"num_learning_words"`
	KnownLangCode    string `json:"known_lang_code"`
	LearningLangCode string `json:"learning_lang_code"`
}

Jump to

Keyboard shortcuts

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