/usr/share/grafana/public/app/features/annotations
import { AnnotationEvent, PanelData, TimeRange } from '@grafana/data'; import { DashboardModel } from '../dashboard/state/DashboardModel'; import { PanelModel } from '../dashboard/state/PanelModel'; export interface AnnotationQueryOptions { dashboard: DashboardModel; panel: PanelModel; range: TimeRange; } export interface AnnotationQueryResponse { /** * The processed annotation events */ events?: AnnotationEvent[]; /** * The original panel response */ panelData?: PanelData; } export interface AnnotationTag { /** * The tag name */ tag: string; /** * The number of occurrences of that tag */ count: number; } export interface AnnotationTagsResponse { result: { tags: AnnotationTag[]; }; }
.
Edit
..
Edit
api.ts
Edit
components
Edit
events_processing.test.ts
Edit
events_processing.ts
Edit
executeAnnotationQuery.test.ts
Edit
executeAnnotationQuery.ts
Edit
standardAnnotationSupport.test.ts
Edit
standardAnnotationSupport.ts
Edit
types.ts
Edit
utils
Edit