Подготовить HY2XS к production-сборке

This commit is contained in:
2026-04-25 23:13:12 +05:00
commit 84a4e94567
277 changed files with 26513 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
package dto
type ConfigDto struct {
Key *string `json:"key" form:"key" validate:"required,min=1,max=128"`
}
type ConfigsDto struct {
Keys []string `json:"keys" form:"keys" validate:"required"`
}
type ConfigUpdateDto struct {
Key *string `json:"key" form:"key" validate:"required,min=1,max=128"`
Value *string `json:"value" form:"value" validate:"required,min=0,max=128"`
}
type ConfigsUpdateDto struct {
ConfigUpdateDtos []ConfigUpdateDto `json:"configUpdateDtos" form:"configUpdateDtos" validate:"required"`
}