Versions in this module Expand all Collapse all v0 v0.2.7 Nov 28, 2026 v0.2.6 Nov 27, 2026 Changes in this version + type Service struct + Alerts core.AlertStore + Bookmarks core.BookmarkStore + Collections core.CollectionStore + Dashboards core.DashboardStore + Fields core.FieldStore + Glossary core.GlossaryStore + Metrics core.MetricStore + Models core.ModelStore + Notifications core.NotificationStore + Questions core.QuestionStore + Revisions core.RevisionStore + SearchStore core.SearchStore + Segments core.SegmentStore + func (s Service) AddBookmark(userID, targetType, targetID string) (core.Bookmark, error) + func (s Service) ArchiveDashboard(id string) error + func (s Service) ArchiveQuestion(id string) error + func (s Service) CreateAlert(a core.Alert, userID string) (core.Alert, error) + func (s Service) CreateCollection(name, parentID, ownerID, ownerGroupID string) (core.Collection, error) + func (s Service) CreateDashboard(d core.Dashboard, userID string) (core.Dashboard, error) + func (s Service) CreateGlossary(term core.GlossaryTerm) (core.GlossaryTerm, error) + func (s Service) CreateMetric(m core.Metric) (core.Metric, error) + func (s Service) CreateModel(m core.Model, userID string) (core.Model, error) + func (s Service) CreateQuestion(q core.Question, userID string) (core.Question, error) + func (s Service) CreateSegment(seg core.Segment) (core.Segment, error) + func (s Service) DeleteAlert(id string) error + func (s Service) DeleteBookmark(id, userID string) error + func (s Service) DeleteCollection(id string) error + func (s Service) DisableDashboardPublicLink(id, userID string) (core.Dashboard, error) + func (s Service) DuplicateDashboard(id, userID string) (core.Dashboard, error) + func (s Service) EnableDashboardPublicLink(id, userID string) (core.Dashboard, error) + func (s Service) EnsurePersonalCollection(user core.User) (core.Collection, error) + func (s Service) GetAlert(id string) (core.Alert, error) + func (s Service) GetDashboard(id string) (core.Dashboard, error) + func (s Service) GetDashboardByPublicUUID(uuid string) (core.Dashboard, error) + func (s Service) GetModel(id string) (core.Model, error) + func (s Service) GetQuestion(id string) (core.Question, error) + func (s Service) ImplicitJoin(databaseID, schema, table, targetTable string) (ok bool, join any) + func (s Service) ListAlerts() ([]core.Alert, error) + func (s Service) ListBookmarks(userID string) ([]core.Bookmark, error) + func (s Service) ListCollections() ([]core.Collection, error) + func (s Service) ListDashboards() ([]core.Dashboard, error) + func (s Service) ListFields(databaseID, schema, table string) ([]core.FieldMeta, error) + func (s Service) ListGlossary() ([]core.GlossaryTerm, error) + func (s Service) ListMetrics() ([]core.Metric, error) + func (s Service) ListModels() ([]core.Model, error) + func (s Service) ListNotifications(userID string) ([]core.Notification, error) + func (s Service) ListQuestions() ([]core.Question, error) + func (s Service) ListRevisions(targetType, targetID string) ([]core.Revision, error) + func (s Service) ListSegments() ([]core.Segment, error) + func (s Service) PublishDashboard(id, userID string, update core.DashboardPublicLinkUpdate) (core.Dashboard, error) + func (s Service) RecordNotification(n core.Notification) error + func (s Service) Restore(targetType, id string) error + func (s Service) RestoreDashboard(id string) error + func (s Service) RestoreQuestion(id string) error + func (s Service) SaveField(field core.FieldMeta) (core.FieldMeta, error) + func (s Service) Search(query string) ([]core.SearchHit, error) + func (s Service) SetDashboardEmbedding(id string, enabled bool, userID string) (core.Dashboard, error) + func (s Service) Trash() ([]core.TrashItem, error) + func (s Service) UpdateCollection(id, name, parentID string) (core.Collection, error) + func (s Service) UpdateDashboard(d core.Dashboard, userID string) (core.Dashboard, error) + func (s Service) UpdateDashboardPublicLink(id, userID string, update core.DashboardPublicLinkUpdate) (core.Dashboard, error) + func (s Service) UpdateQuestion(patch core.Question) (core.Question, error)