res

package
v0.0.0-...-5789598 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminFeatureDetailResponse

type AdminFeatureDetailResponse struct {
	UUID         string                                  `json:"uuid"`
	Icon         string                                  `json:"icon"`
	Translations map[feature.Locale]feature.Translations `json:"translations"`
	IsActive     bool                                    `json:"isActive"`
	IsDeleted    bool                                    `json:"isDeleted"`
	UpdatedAt    time.Time                               `json:"updatedAt"`
	CreatedAt    time.Time                               `json:"createdAt"`
}

type AdminFeatureListResponse

type AdminFeatureListResponse struct {
	UUID         string                                  `json:"uuid"`
	Icon         string                                  `json:"icon"`
	Translations map[feature.Locale]feature.Translations `json:"translations"`
	IsActive     bool                                    `json:"isActive"`
	IsDeleted    bool                                    `json:"isDeleted"`
	UpdatedAt    time.Time                               `json:"updatedAt"`
	CreatedAt    time.Time                               `json:"createdAt"`
}

type FeatureListResponse

type FeatureListResponse struct {
	UUID         string                                  `json:"uuid"`
	Icon         string                                  `json:"icon"`
	Translations map[feature.Locale]feature.Translations `json:"translations"`
}

type PlaceAdminFilterChild

type PlaceAdminFilterChild struct {
	UUID             string                        `json:"uuid"`
	FeatureUUIDs     []string                      `json:"featureUUIDs"`
	Images           []place.Image                 `json:"images"`
	Translations     map[place.Locale]Translations `json:"translations"`
	AverageTimeSpent place.TimeSpent               `json:"averageTimeSpent"`
	Review           place.Review                  `json:"review"`
	Coordinates      []float64                     `json:"coordinates"`
	IsActive         bool                          `json:"isActive"`
	IsDeleted        bool                          `json:"isDeleted"`
	IsPayed          bool                          `json:"isPayed"`
	Type             place.Type                    `json:"type"`
	UpdatedAt        time.Time                     `json:"updatedAt"`
	CreatedAt        time.Time                     `json:"createdAt"`
}

type PlaceAdminFilterResponse

type PlaceAdminFilterResponse struct {
	List          []PlaceAdminFilterChild `json:"list"`
	Total         int64                   `json:"total"`
	FilteredTotal int64                   `json:"filteredTotal"`
	IsNext        bool                    `json:"isNext"`
	IsPrev        bool                    `json:"isPrev"`
	Page          int64                   `json:"page"`
}

type PlaceAdminViewResponse

type PlaceAdminViewResponse struct {
	UUID             string                               `json:"uuid"`
	Features         []query.AdminPlaceViewFeatureItem    `json:"features"`
	Images           []place.Image                        `json:"images"`
	Translations     map[place.Locale]*place.Translations `json:"translations"`
	Restorations     []place.Restoration                  `json:"restorations"`
	AverageTimeSpent place.TimeSpent                      `json:"averageTimeSpent"`
	Review           place.Review                         `json:"review"`
	Coordinates      []float64                            `json:"coordinates"`
	IsActive         bool                                 `json:"isActive"`
	IsDeleted        bool                                 `json:"isDeleted"`
	IsPayed          bool                                 `json:"isPayed"`
	Type             place.Type                           `json:"type"`
	UpdatedAt        time.Time                            `json:"updatedAt"`
	CreatedAt        time.Time                            `json:"createdAt"`
}

type PlaceCreateResponse

type PlaceCreateResponse struct {
	UUID string `json:"uuid"`
}

type PlaceFilterChild

type PlaceFilterChild struct {
	Images           []place.Image                 `json:"images"`
	Translations     map[place.Locale]Translations `json:"translations"`
	AverageTimeSpent place.TimeSpent               `json:"averageTimeSpent"`
	Review           place.Review                  `json:"review"`
	Coordinates      []float64                     `json:"coordinates"`
	IsPayed          bool                          `json:"isPayed"`
	Type             place.Type                    `json:"type"`
}

type PlaceFilterResponse

type PlaceFilterResponse struct {
	List          []PlaceFilterChild `json:"list"`
	Total         int64              `json:"total"`
	FilteredTotal int64              `json:"filteredTotal"`
	IsNext        bool               `json:"isNext"`
	IsPrev        bool               `json:"isPrev"`
	Page          int64              `json:"page"`
}

type PlaceViewResponse

type PlaceViewResponse struct {
	Features         []query.PlaceViewFeatureItem         `json:"features"`
	Images           []place.Image                        `json:"images"`
	Translations     map[place.Locale]*place.Translations `json:"translations"`
	Restorations     []place.Restoration                  `json:"restorations"`
	AverageTimeSpent place.TimeSpent                      `json:"averageTimeSpent"`
	Review           place.Review                         `json:"review"`
	Coordinates      []float64                            `json:"coordinates"`
	IsPayed          bool                                 `json:"isPayed"`
	Type             place.Type                           `json:"type"`
	UpdatedAt        time.Time                            `json:"updatedAt"`
}

type Translations

type Translations struct {
	Title       string `json:"title"`
	Description string `json:"description"`
	Slug        string `json:"slug"`
}

Jump to

Keyboard shortcuts

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