1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-10 00:54:16 +00:00
Files
pocket-id/backend/internal/dto/app_config_dto.go
2024-08-23 17:04:19 +02:00

18 lines
416 B
Go

package dto
type PublicAppConfigVariableDto struct {
Key string `json:"key"`
Type string `json:"type"`
Value string `json:"value"`
}
type AppConfigVariableDto struct {
PublicAppConfigVariableDto
IsPublic bool `json:"isPublic"`
}
type AppConfigUpdateDto struct {
AppName string `json:"appName" binding:"required,min=1,max=30"`
SessionDuration string `json:"sessionDuration" binding:"required"`
}