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 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 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 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 Response ¶
type Response interface { PlaceView(res *query.PlaceViewResult) *PlaceViewResponse FeatureList(res *query.FeatureListAllResult) []*FeatureListResponse PlaceList(res *query.PlaceFilterResult) *PlaceFilterResponse AdminFeatureList(res *query.AdminFeatureListAllResult) []*AdminFeatureListResponse AdminFeatureDetail(res *query.AdminFeatureDetailResult) *AdminFeatureDetailResponse PlaceAdminList(res *query.PlaceAdminFilterResult) *PlaceAdminFilterResponse PlaceAdminView(res *query.AdminPlaceViewResult) *PlaceAdminViewResponse PlaceCreate(res *command.PlaceCreateResult) *PlaceCreateResponse }
type Translations ¶
Click to show internal directories.
Click to hide internal directories.