// Copyright (c) 2026 Storm Dragon // Authors: Storm Dragon, Angus Kola // SPDX-License-Identifier: GPL-3.0-or-later package notificationui type Action struct { Key string `json:"key"` Label string `json:"label"` } type Entry struct { ID string `json:"id,omitempty"` Message string `json:"message"` Received string `json:"received"` CanControl bool `json:"canControl"` Actions []Action `json:"actions"` } type Response struct { Present bool `json:"present,omitempty"` Close bool `json:"close,omitempty"` Title string `json:"title,omitempty"` Entries []Entry `json:"entries"` Selected string `json:"selected"` } type Request struct { Selection string `json:"selection,omitempty"` Row *int `json:"row,omitempty"` Copy bool `json:"copy,omitempty"` Dismiss bool `json:"dismiss,omitempty"` Clear bool `json:"clear,omitempty"` Action string `json:"action,omitempty"` }