dto

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCardDTO

type CreateCardDTO struct {
	Name        string            `json:"name"`
	Description string            `json:"description"`
	Image       string            `json:"image"`
	Variables   map[string]string `json:"variables"`
	Count       int               `json:"count"`
	ImageFile   []byte            `json:"imageFile"`
}

type CreateCollectionDTO

type CreateCollectionDTO struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Image       string `json:"image"`
	ImageFile   []byte `json:"imageFile"`
}

type CreateDeckDTO

type CreateDeckDTO struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Image       string `json:"image"`
	ImageFile   []byte `json:"imageFile"`
}

type CreateGameDTO

type CreateGameDTO struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Image       string `json:"image"`
	ImageFile   []byte `json:"imageFile"`
}

type DuplicateGameDTO

type DuplicateGameDTO struct {
	Name string `json:"name"`
}

type GenerateGameDTO

type GenerateGameDTO struct {
	SortOrder string `json:"sortOrder"`
	Scale     int    `json:"scale"`
}

type UpdateCardDTO

type UpdateCardDTO struct {
	Name        string            `json:"name"`
	Description string            `json:"description"`
	Image       string            `json:"image"`
	Variables   map[string]string `json:"variables"`
	Count       int               `json:"count"`
	ImageFile   []byte            `json:"imageFile"`
}

type UpdateCollectionDTO

type UpdateCollectionDTO struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Image       string `json:"image"`
	ImageFile   []byte `json:"imageFile"`
}

type UpdateDeckDTO

type UpdateDeckDTO struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Image       string `json:"image"`
	ImageFile   []byte `json:"imageFile"`
}

type UpdateGameDTO

type UpdateGameDTO struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Image       string `json:"image"`
	ImageFile   []byte `json:"imageFile"`
}

type UpdateSettingsDTO

type UpdateSettingsDTO struct {
	Lang string `json:"lang"`
}

Jump to

Keyboard shortcuts

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