query

package
v0.0.0-...-fb57439 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListingAdminFilterQuery

type ListingAdminFilterQuery struct {
	*utils.Pagination
	listing.FilterEntity
}

type ListingAdminFilterRes

type ListingAdminFilterRes struct {
	*list.Result[*listing.ListDto]
}

type ListingAdminViewQuery

type ListingAdminViewQuery struct {
	ListingUUID string `json:"uuid" params:"uuid" validate:"required,object_id"`
}

type ListingAdminViewRes

type ListingAdminViewRes struct {
	*listing.AdminDetailDto
}

type ListingBusinessViewQuery

type ListingBusinessViewQuery struct {
	ListingUUID string `json:"uuid" params:"uuid" validate:"required,object_id"`
}

type ListingBusinessViewRes

type ListingBusinessViewRes struct {
	*listing.BusinessDetailDto
}

type ListingFilterByBusinessQuery

type ListingFilterByBusinessQuery struct {
	*utils.Pagination
	listing.FilterEntity
	NickName string `json:"-" params:"nickName" validate:"required"`
}

type ListingFilterByBusinessRes

type ListingFilterByBusinessRes struct {
	*list.Result[*listing.ListDto]
}

type ListingFilterQuery

type ListingFilterQuery struct {
	*utils.Pagination
	listing.FilterEntity
}

type ListingFilterRes

type ListingFilterRes struct {
	*list.Result[*listing.ListDto]
}

type ListingListMyQuery

type ListingListMyQuery struct {
	*utils.Pagination
	BusinessUUID string
}

type ListingListMyRes

type ListingListMyRes struct {
	*list.Result[*listing.BusinessListDto]
}

type ListingViewHandler

type ListingViewHandler cqrs.HandlerFunc[ListingViewQuery, *ListingViewRes]

func NewListingViewHandler

func NewListingViewHandler(repo listing.Repository, cacheSrv cache.Service) ListingViewHandler

type ListingViewQuery

type ListingViewQuery struct {
	Locale string `json:"-"`
	Slug   string `json:"slug" params:"slug" validate:"required,slug"`
}

type ListingViewRes

type ListingViewRes struct {
	*listing.DetailDto
}

Jump to

Keyboard shortcuts

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