@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.
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/items/Annotation.d.ts +6 -0
- package/dist/items/Color.d.ts +1 -0
- package/dist/items/Dashboard.d.ts +11 -0
- package/dist/items/Datasource.d.ts +2 -0
- package/dist/items/FieldConfigCustomBarChart.d.ts +12 -0
- package/dist/items/FieldConfigCustomTable.d.ts +2 -0
- package/dist/items/FieldConfigCustomTableCellOptions.d.ts +1 -0
- package/dist/items/FieldConfigCustomTimeSerie.d.ts +26 -0
- package/dist/items/FieldConfigDefault.d.ts +5 -0
- package/dist/items/FieldConfigOverride.d.ts +1 -0
- package/dist/items/GridPos.d.ts +4 -0
- package/dist/items/HideFrom.d.ts +4 -0
- package/dist/items/LineStyle.d.ts +1 -0
- package/dist/items/Link.d.ts +9 -0
- package/dist/items/OverrideMatcher.d.ts +1 -0
- package/dist/items/OverrideMatcherOptionsByNames.d.ts +3 -0
- package/dist/items/OverrideProperty.d.ts +2 -0
- package/dist/items/Panel.d.ts +15 -0
- package/dist/items/PanelOptionsBarChart.d.ts +12 -0
- package/dist/items/PanelOptionsGauge.d.ts +14 -0
- package/dist/items/PanelOptionsGaugeEffect.d.ts +3 -0
- package/dist/items/PanelOptionsGaugeReduceOptions.d.ts +3 -0
- package/dist/items/PanelOptionsGeomapBasemap.d.ts +3 -0
- package/dist/items/PanelOptionsGeomapControls.d.ts +6 -0
- package/dist/items/PanelOptionsGeomapLayer.d.ts +3 -0
- package/dist/items/PanelOptionsGeomapLayerConfig.d.ts +1 -0
- package/dist/items/PanelOptionsGeomapLayerConfigStyle.d.ts +1 -0
- package/dist/items/PanelOptionsGeomapLayerLocation.d.ts +1 -0
- package/dist/items/PanelOptionsGeomapTooltip.d.ts +1 -0
- package/dist/items/PanelOptionsGeomapView.d.ts +7 -0
- package/dist/items/PanelOptionsPieChart.d.ts +2 -0
- package/dist/items/PanelOptionsTable.d.ts +2 -0
- package/dist/items/PanelOptionsTableSortBy.d.ts +2 -0
- package/dist/items/PanelOptionsText.d.ts +2 -0
- package/dist/items/PanelOptionsTextCode.d.ts +3 -0
- package/dist/items/PanelOptionsTimeSeries.d.ts +2 -0
- package/dist/items/ScaleDistribution.d.ts +1 -0
- package/dist/items/Stacking.d.ts +2 -0
- package/dist/items/StyleColor.d.ts +1 -0
- package/dist/items/StyleRotation.d.ts +4 -0
- package/dist/items/StyleSize.d.ts +3 -0
- package/dist/items/StyleSymbol.d.ts +3 -0
- package/dist/items/StyleSymbolAlign.d.ts +2 -0
- package/dist/items/StyleTextConfig.d.ts +5 -0
- package/dist/items/Target.d.ts +6 -0
- package/dist/items/TargetInfinity.d.ts +7 -0
- package/dist/items/Template.d.ts +12 -0
- package/dist/items/TemplateCurrent.d.ts +2 -0
- package/dist/items/TemplateOption.d.ts +3 -0
- package/dist/items/ThresholdStyle.d.ts +1 -0
- package/dist/items/Thresholds.d.ts +1 -0
- package/dist/items/ThresholdsStep.d.ts +2 -0
- package/dist/items/TimeRange.d.ts +2 -0
- package/dist/items/VizLegendOptions.d.ts +10 -0
- package/dist/items/VizTextDisplayOptions.d.ts +3 -0
- package/dist/items/VizTooltipOptions.d.ts +5 -0
- 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}`,
|