feat: implement entity and wiki management services, repositories, and routes with associated controllers
Build and Release / release (push) Successful in 1m34s
Build and Release / release (push) Successful in 1m34s
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package request
|
||||
|
||||
type GetWikisByEntityIDsDto struct {
|
||||
EntityIDs []string `json:"entity_ids" query:"entity_ids" validate:"required,min=1,dive,uuid"`
|
||||
}
|
||||
|
||||
type GetEntitiesByGeometryIDsDto struct {
|
||||
GeometryIDs []string `json:"geometry_ids" query:"geometry_ids" validate:"required,min=1,dive,uuid"`
|
||||
}
|
||||
|
||||
type GetWikiContentsPreviewDto struct {
|
||||
IDs []string `json:"ids" query:"ids" validate:"required,min=1,dive,uuid"`
|
||||
}
|
||||
@@ -29,3 +29,9 @@ type WikiContentResponse struct {
|
||||
Preview string `json:"preview"`
|
||||
CreatedAt *time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
type WikiContentPreviewResponse struct {
|
||||
ID string `json:"id"`
|
||||
Preview string `json:"preview"`
|
||||
CreatedAt *time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user