Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "ui/context"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrentReportContext ¶ added in v0.1.17
type CurrentReportContext struct {
WindowID string `json:"windowId,omitempty"`
WindowKey string `json:"windowKey,omitempty"`
ReportName string `json:"reportName,omitempty"`
ReportID string `json:"reportId,omitempty"`
ArtifactRef string `json:"artifactRef,omitempty"`
SourceKind string `json:"sourceKind,omitempty"`
Format string `json:"format,omitempty"`
Filters map[string]interface{} `json:"filters,omitempty"`
ContextEvent *uireg.UIEvent `json:"contextEvent,omitempty"`
LatestRun *uireg.UIEvent `json:"latestRun,omitempty"`
LatestExport *uireg.UIEvent `json:"latestExport,omitempty"`
}
type GetOutput ¶
type GetOutput struct {
ConversationID string `json:"conversationId,omitempty"`
ClientID string `json:"clientId,omitempty"`
FocusedWindowID string `json:"focusedWindowId,omitempty"`
Selected *uireg.SnapshotSelected `json:"selected,omitempty"`
Windows []WindowContext `json:"windows,omitempty"`
RecentEvents []uireg.UIEvent `json:"recentEvents,omitempty"`
CurrentReports []CurrentReportContext `json:"currentReports,omitempty"`
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(bridge *forgeuisvc.Service) *Service
func (*Service) Methods ¶
func (s *Service) Methods() svc.Signatures
type WindowContext ¶
type WindowContext struct {
Window *uireg.WindowSnapshot `json:"window,omitempty"`
DataSourceRefs []string `json:"dataSourceRefs,omitempty"`
Surface *uireg.WindowSurface `json:"surface,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.