{"version":3,"file":"dashboard.cjs","sources":["../../../src/types/dashboard.ts"],"sourcesContent":["import { DataTransformerConfig } from '@grafana/schema';\n\nimport { FieldConfigSource } from './fieldOverrides';\nimport { DataQuery, DataSourceRef } from './query';\n\nexport enum DashboardCursorSync {\n  Off,\n  Crosshair,\n  Tooltip,\n}\n\n/**\n * @public\n */\nexport interface PanelModel<TOptions = any, TCustomFieldConfig = any> {\n  /** ID of the panel within the current dashboard */\n  id: number;\n\n  /** The panel type */\n  type: string;\n\n  /** Panel title */\n  title?: string;\n\n  /** Description */\n  description?: string;\n\n  /** Panel options */\n  options: TOptions;\n\n  /** Field options configuration */\n  fieldConfig: FieldConfigSource<TCustomFieldConfig>;\n\n  /** Version of the panel plugin */\n  pluginVersion?: string;\n\n  /** The datasource used in all targets */\n  datasource?: DataSourceRef | null;\n\n  /** The queries in a panel */\n  targets?: DataQuery[];\n\n  /** Optionally process data after query */\n  transformations?: DataTransformerConfig[];\n\n  /** alerting v1 object */\n  alert?: any;\n}\n"],"names":["DashboardCursorSync"],"mappings":";;;;;AAKO,IAAK,mBAAA,qBAAAA,oBAAAA,KAAL;AACL,EAAAA,oBAAAA,CAAAA,oBAAAA,CAAA,KAAA,CAAA,GAAA,CAAA,CAAA,GAAA,KAAA;AACA,EAAAA,oBAAAA,CAAAA,oBAAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,GAAA,WAAA;AACA,EAAAA,oBAAAA,CAAAA,oBAAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA;AAHU,EAAA,OAAAA,oBAAAA;AAAA,CAAA,EAAA,mBAAA,IAAA,EAAA;;;;"}