@gdacm/grafana-items 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/index.js +1 -0
  2. package/dist/index.js.map +1 -1
  3. package/dist/items/Annotation.d.ts +6 -0
  4. package/dist/items/Color.d.ts +1 -0
  5. package/dist/items/Dashboard.d.ts +11 -0
  6. package/dist/items/Datasource.d.ts +2 -0
  7. package/dist/items/FieldConfigCustomBarChart.d.ts +12 -0
  8. package/dist/items/FieldConfigCustomTable.d.ts +2 -0
  9. package/dist/items/FieldConfigCustomTableCellOptions.d.ts +1 -0
  10. package/dist/items/FieldConfigCustomTimeSerie.d.ts +26 -0
  11. package/dist/items/FieldConfigDefault.d.ts +5 -0
  12. package/dist/items/FieldConfigOverride.d.ts +1 -0
  13. package/dist/items/GridPos.d.ts +4 -0
  14. package/dist/items/HideFrom.d.ts +4 -0
  15. package/dist/items/LineStyle.d.ts +1 -0
  16. package/dist/items/Link.d.ts +9 -0
  17. package/dist/items/OverrideMatcher.d.ts +1 -0
  18. package/dist/items/OverrideMatcherOptionsByNames.d.ts +3 -0
  19. package/dist/items/OverrideProperty.d.ts +2 -0
  20. package/dist/items/Panel.d.ts +15 -0
  21. package/dist/items/PanelOptionsBarChart.d.ts +12 -0
  22. package/dist/items/PanelOptionsGauge.d.ts +14 -0
  23. package/dist/items/PanelOptionsGaugeEffect.d.ts +3 -0
  24. package/dist/items/PanelOptionsGaugeReduceOptions.d.ts +3 -0
  25. package/dist/items/PanelOptionsGeomapBasemap.d.ts +3 -0
  26. package/dist/items/PanelOptionsGeomapControls.d.ts +6 -0
  27. package/dist/items/PanelOptionsGeomapLayer.d.ts +3 -0
  28. package/dist/items/PanelOptionsGeomapLayerConfig.d.ts +1 -0
  29. package/dist/items/PanelOptionsGeomapLayerConfigStyle.d.ts +1 -0
  30. package/dist/items/PanelOptionsGeomapLayerLocation.d.ts +1 -0
  31. package/dist/items/PanelOptionsGeomapTooltip.d.ts +1 -0
  32. package/dist/items/PanelOptionsGeomapView.d.ts +7 -0
  33. package/dist/items/PanelOptionsPieChart.d.ts +2 -0
  34. package/dist/items/PanelOptionsTable.d.ts +2 -0
  35. package/dist/items/PanelOptionsTableSortBy.d.ts +2 -0
  36. package/dist/items/PanelOptionsText.d.ts +2 -0
  37. package/dist/items/PanelOptionsTextCode.d.ts +3 -0
  38. package/dist/items/PanelOptionsTimeSeries.d.ts +2 -0
  39. package/dist/items/ScaleDistribution.d.ts +1 -0
  40. package/dist/items/Stacking.d.ts +2 -0
  41. package/dist/items/StyleColor.d.ts +1 -0
  42. package/dist/items/StyleRotation.d.ts +4 -0
  43. package/dist/items/StyleSize.d.ts +3 -0
  44. package/dist/items/StyleSymbol.d.ts +3 -0
  45. package/dist/items/StyleSymbolAlign.d.ts +2 -0
  46. package/dist/items/StyleTextConfig.d.ts +5 -0
  47. package/dist/items/Target.d.ts +6 -0
  48. package/dist/items/TargetInfinity.d.ts +7 -0
  49. package/dist/items/Template.d.ts +12 -0
  50. package/dist/items/TemplateCurrent.d.ts +2 -0
  51. package/dist/items/TemplateOption.d.ts +3 -0
  52. package/dist/items/ThresholdStyle.d.ts +1 -0
  53. package/dist/items/Thresholds.d.ts +1 -0
  54. package/dist/items/ThresholdsStep.d.ts +2 -0
  55. package/dist/items/TimeRange.d.ts +2 -0
  56. package/dist/items/VizLegendOptions.d.ts +10 -0
  57. package/dist/items/VizTextDisplayOptions.d.ts +3 -0
  58. package/dist/items/VizTooltipOptions.d.ts +5 -0
  59. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -303,6 +303,7 @@ function defineValue(cls, key, type, option) {
303
303
  const caseName = name.charAt(0).toUpperCase() + name.slice(1);
304
304
  const typeName = option?.typeName ? option.typeName : type.name;
305
305
  addTypeNameToInclude(cls, type.name);
306
+ setGetterWithSignature(cls, name, (self) => self._getValue(key), typeName);
306
307
  setPrototypeWithSignature(
307
308
  cls,
308
309
  `set${caseName}`,