feat(web,api): клиент/хуки расписания/каналов/истории + lastCheckStatus в domainResponse

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BwxdSt4reTm7Dj1oxRvpP3
This commit is contained in:
2026-07-04 14:24:02 +07:00
parent b31f886ae2
commit 45259b9720
5 changed files with 162 additions and 2 deletions
+2 -1
View File
@@ -59,12 +59,13 @@ type domainResponse struct {
ZoneName string `json:"zoneName"`
ZoneID string `json:"zoneId"`
TemplateID *string `json:"templateId,omitempty"`
LastCheckStatus string `json:"lastCheckStatus"`
}
func toDomainResponse(d store.Domain) domainResponse {
resp := domainResponse{
ID: d.ID.String(), ProviderAccountID: d.ProviderAccountID.String(),
ZoneName: d.ZoneName, ZoneID: d.ZoneID,
ZoneName: d.ZoneName, ZoneID: d.ZoneID, LastCheckStatus: d.LastCheckStatus,
}
if d.TemplateID != nil {
s := d.TemplateID.String()