@grafana/plugin-ui 0.14.0-dev.1 → 0.14.1-dsconfig.4bdebf6
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/cjs/index.cjs +3097 -388
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +604 -39
- package/dist/cjs/schemas.cjs +13396 -0
- package/dist/cjs/schemas.cjs.map +1 -0
- package/dist/cjs/schemas.d.cts +338 -0
- package/dist/esm/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js +2 -2
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/AuthorizationHeaderField.js +53 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/AuthorizationHeaderField.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/ComplexFieldNote.js +24 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/ComplexFieldNote.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceConfigWizard.js +229 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceConfigWizard.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceErrorBoundary.js +27 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceErrorBoundary.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/IndexedPairEditor.js +124 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/IndexedPairEditor.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/PdcFieldNote.js +34 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/PdcFieldNote.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SchemaField.js +60 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SchemaField.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SecureFieldInput.js +61 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SecureFieldInput.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SidebarNav.js +54 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SidebarNav.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/StringArrayInput.js +84 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/StringArrayInput.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/TabLayout.js +176 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/TabLayout.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/fieldUtils.js +88 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/fieldUtils.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/renderFieldInput.js +106 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/renderFieldInput.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/resolvePluginName.js +30 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/resolvePluginName.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/tabStyles.js +241 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/tabStyles.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/useDatasourceConfigForm.js +284 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/useDatasourceConfigForm.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/useHealthChecks.js +106 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/useHealthChecks.js.map +1 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/wizardStyles.js +124 -0
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/wizardStyles.js.map +1 -0
- package/dist/esm/components/DataLinks/DataLink.js +2 -2
- package/dist/esm/components/DataLinks/DataLinks.js +2 -2
- package/dist/esm/components/DataSourcePicker/DataSourcePicker.js +7 -7
- package/dist/esm/components/DatePicker/styles.js +2 -2
- package/dist/esm/components/DatePickerWithInput/styles.js +2 -2
- package/dist/esm/components/QueryEditor/EditorField.js +2 -2
- package/dist/esm/components/QueryEditor/EditorHeader.js +2 -2
- package/dist/esm/components/QueryEditor/EditorRow.js +2 -2
- package/dist/esm/components/QueryEditor/EditorSwitch.js +2 -2
- package/dist/esm/components/QueryEditor/InlineSelect.js +1 -1
- package/dist/esm/components/QueryEditor/InlineSelect.js.map +1 -1
- package/dist/esm/components/QueryEditor/InputGroup.js +2 -2
- package/dist/esm/components/QueryEditor/QueryEditor.js +3 -1
- package/dist/esm/components/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/esm/components/QueryEditor/QueryHeader.js +2 -2
- package/dist/esm/components/QueryEditor/QueryHeader.js.map +1 -1
- package/dist/esm/components/QueryEditor/Space.js +2 -2
- package/dist/esm/components/QueryEditor/TableSelector.js +0 -1
- package/dist/esm/components/QueryEditor/TableSelector.js.map +1 -1
- package/dist/esm/components/QueryEditor/defaults.js.map +1 -1
- package/dist/esm/components/QueryEditor/query-editor-raw/QueryEditorRaw.js +10 -2
- package/dist/esm/components/QueryEditor/query-editor-raw/QueryEditorRaw.js.map +1 -1
- package/dist/esm/components/QueryEditor/query-editor-raw/QueryToolbox.js +6 -1
- package/dist/esm/components/QueryEditor/query-editor-raw/QueryToolbox.js.map +1 -1
- package/dist/esm/components/QueryEditor/query-editor-raw/RawEditor.js +13 -3
- package/dist/esm/components/QueryEditor/query-editor-raw/RawEditor.js.map +1 -1
- package/dist/esm/components/QueryEditor/types.js +0 -1
- package/dist/esm/components/QueryEditor/types.js.map +1 -1
- package/dist/esm/components/QueryEditor/utils/formatSQL.js +15 -4
- package/dist/esm/components/QueryEditor/utils/formatSQL.js.map +1 -1
- package/dist/esm/components/QueryEditor/visual-query-builder/EditorField.js +2 -2
- package/dist/esm/components/QueryEditor/visual-query-builder/EditorRow.js +2 -2
- package/dist/esm/components/QueryEditor/visual-query-builder/Preview.js +4 -4
- package/dist/esm/components/QueryEditor/visual-query-builder/Preview.js.map +1 -1
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLGroupByRow.js +0 -1
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLGroupByRow.js.map +1 -1
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLOrderByRow.js +0 -1
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLOrderByRow.js.map +1 -1
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLSelectRow.js +0 -1
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLSelectRow.js.map +1 -1
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLWhereRow.js +0 -1
- package/dist/esm/components/QueryEditor/visual-query-builder/SQLWhereRow.js.map +1 -1
- package/dist/esm/components/QueryEditor/visual-query-builder/SelectRow.js +2 -2
- package/dist/esm/components/QueryEditor/visual-query-builder/VisualEditor.js +10 -2
- package/dist/esm/components/QueryEditor/visual-query-builder/VisualEditor.js.map +1 -1
- package/dist/esm/components/SQLEditor/components/SQLEditor.js.map +1 -1
- package/dist/esm/components/SQLEditor/standardSql/definition.js +0 -6
- package/dist/esm/components/SQLEditor/standardSql/definition.js.map +1 -1
- package/dist/esm/components/SQLEditor/standardSql/getStatementPosition.js +2 -1
- package/dist/esm/components/SQLEditor/standardSql/getStatementPosition.js.map +1 -1
- package/dist/esm/components/SQLEditor/standardSql/statementPositionResolversRegistry.js +2 -1
- package/dist/esm/components/SQLEditor/standardSql/statementPositionResolversRegistry.js.map +1 -1
- package/dist/esm/components/SQLEditor/types.js +1 -17
- package/dist/esm/components/SQLEditor/types.js.map +1 -1
- package/dist/esm/components/SQLEditor/utils/LinkedToken.js +1 -1
- package/dist/esm/components/SQLEditor/utils/LinkedToken.js.map +1 -1
- package/dist/esm/components/SQLEditor/utils/linkedTokenBuilder.js +2 -2
- package/dist/esm/components/SQLEditor/utils/tokenType.js +18 -0
- package/dist/esm/components/SQLEditor/utils/tokenType.js.map +1 -0
- package/dist/esm/components/SQLEditor/utils/tokenUtils.js +1 -1
- package/dist/esm/components/VisualQueryBuilder/components/OperationEditorBody.js +1 -1
- package/dist/esm/components/VisualQueryBuilder/components/OperationList.js +1 -1
- package/dist/esm/components/VisualQueryBuilder/components/OperationParamEditor.js +1 -1
- package/dist/esm/components/VisualQueryBuilder/components/OperationsEditorRow.js +1 -1
- package/dist/esm/components/VisualQueryBuilder/components/QueryHeaderSwitch.js +1 -1
- package/dist/esm/components/VisualQueryBuilder/components/QueryOptionGroup.js +1 -1
- package/dist/esm/datasource/SqlDatasource.js +10 -10
- package/dist/esm/datasource/schema/config.js +235 -0
- package/dist/esm/datasource/schema/config.js.map +1 -0
- package/dist/esm/datasource/schema/datasource.js +228 -0
- package/dist/esm/datasource/schema/datasource.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/alertmanager.schema.json.js +77 -0
- package/dist/esm/datasource/schema/datasources/alertmanager.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/cloudwatch.schema.json.js +384 -0
- package/dist/esm/datasource/schema/datasources/cloudwatch.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/elasticsearch.schema.json.js +287 -0
- package/dist/esm/datasource/schema/datasources/elasticsearch.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-amazonprometheus-datasource.schema.json.js +166 -0
- package/dist/esm/datasource/schema/datasources/grafana-amazonprometheus-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-appdynamics-datasource.schema.json.js +145 -0
- package/dist/esm/datasource/schema/datasources/grafana-appdynamics-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-astradb-datasource.schema.json.js +123 -0
- package/dist/esm/datasource/schema/datasources/grafana-astradb-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-athena-datasource.schema.json.js +158 -0
- package/dist/esm/datasource/schema/datasources/grafana-athena-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-azure-data-explorer-datasource.schema.json.js +204 -0
- package/dist/esm/datasource/schema/datasources/grafana-azure-data-explorer-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-azure-monitor-datasource.schema.json.js +294 -0
- package/dist/esm/datasource/schema/datasources/grafana-azure-monitor-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-azuredevops-datasource.schema.json.js +101 -0
- package/dist/esm/datasource/schema/datasources/grafana-azuredevops-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-azureprometheus-datasource.schema.json.js +125 -0
- package/dist/esm/datasource/schema/datasources/grafana-azureprometheus-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-bigquery-datasource.schema.json.js +159 -0
- package/dist/esm/datasource/schema/datasources/grafana-bigquery-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-clickhouse-datasource.schema.json.js +1238 -0
- package/dist/esm/datasource/schema/datasources/grafana-clickhouse-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-cockroachdb-datasource.schema.json.js +302 -0
- package/dist/esm/datasource/schema/datasources/grafana-cockroachdb-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-databricks-datasource.schema.json.js +291 -0
- package/dist/esm/datasource/schema/datasources/grafana-databricks-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-datadog-datasource.schema.json.js +155 -0
- package/dist/esm/datasource/schema/datasources/grafana-datadog-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-dynatrace-datasource.schema.json.js +179 -0
- package/dist/esm/datasource/schema/datasources/grafana-dynatrace-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-falconlogscale-datasource.schema.json.js +134 -0
- package/dist/esm/datasource/schema/datasources/grafana-falconlogscale-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-github-datasource.schema.json.js +156 -0
- package/dist/esm/datasource/schema/datasources/grafana-github-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-gitlab-datasource.schema.json.js +84 -0
- package/dist/esm/datasource/schema/datasources/grafana-gitlab-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-googlesheets-datasource.schema.json.js +235 -0
- package/dist/esm/datasource/schema/datasources/grafana-googlesheets-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-honeycomb-datasource.schema.json.js +87 -0
- package/dist/esm/datasource/schema/datasources/grafana-honeycomb-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-iot-sitewise-datasource.schema.json.js +159 -0
- package/dist/esm/datasource/schema/datasources/grafana-iot-sitewise-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-jira-datasource.schema.json.js +188 -0
- package/dist/esm/datasource/schema/datasources/grafana-jira-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-looker-datasource.schema.json.js +82 -0
- package/dist/esm/datasource/schema/datasources/grafana-looker-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-mongodb-datasource.schema.json.js +278 -0
- package/dist/esm/datasource/schema/datasources/grafana-mongodb-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-mqtt-datasource.schema.json.js +168 -0
- package/dist/esm/datasource/schema/datasources/grafana-mqtt-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-newrelic-datasource.schema.json.js +129 -0
- package/dist/esm/datasource/schema/datasources/grafana-newrelic-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-odbc-datasource.schema.json.js +56 -0
- package/dist/esm/datasource/schema/datasources/grafana-odbc-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-opensearch-datasource.schema.json.js +212 -0
- package/dist/esm/datasource/schema/datasources/grafana-opensearch-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-oracle-datasource.schema.json.js +186 -0
- package/dist/esm/datasource/schema/datasources/grafana-oracle-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-pagerduty-datasource.schema.json.js +85 -0
- package/dist/esm/datasource/schema/datasources/grafana-pagerduty-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-postgresql-datasource.schema.json.js +464 -0
- package/dist/esm/datasource/schema/datasources/grafana-postgresql-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-pyroscope-datasource.schema.json.js +41 -0
- package/dist/esm/datasource/schema/datasources/grafana-pyroscope-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-redshift-datasource.schema.json.js +201 -0
- package/dist/esm/datasource/schema/datasources/grafana-redshift-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-salesforce-datasource.schema.json.js +201 -0
- package/dist/esm/datasource/schema/datasources/grafana-salesforce-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-saphana-datasource.schema.json.js +208 -0
- package/dist/esm/datasource/schema/datasources/grafana-saphana-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-sentry-datasource.schema.json.js +94 -0
- package/dist/esm/datasource/schema/datasources/grafana-sentry-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-servicenow-datasource.schema.json.js +179 -0
- package/dist/esm/datasource/schema/datasources/grafana-servicenow-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-snowflake-datasource.schema.json.js +304 -0
- package/dist/esm/datasource/schema/datasources/grafana-snowflake-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-splunk-datasource.schema.json.js +319 -0
- package/dist/esm/datasource/schema/datasources/grafana-splunk-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-splunkobservability-datasource.schema.json.js +90 -0
- package/dist/esm/datasource/schema/datasources/grafana-splunkobservability-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-strava-datasource.schema.json.js +74 -0
- package/dist/esm/datasource/schema/datasources/grafana-strava-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-sumologic-datasource.schema.json.js +102 -0
- package/dist/esm/datasource/schema/datasources/grafana-sumologic-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-surrealdb-datasource.schema.json.js +92 -0
- package/dist/esm/datasource/schema/datasources/grafana-surrealdb-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-timestream-datasource.schema.json.js +145 -0
- package/dist/esm/datasource/schema/datasources/grafana-timestream-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-wavefront-datasource.schema.json.js +80 -0
- package/dist/esm/datasource/schema/datasources/grafana-wavefront-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-x-ray-datasource.schema.json.js +112 -0
- package/dist/esm/datasource/schema/datasources/grafana-x-ray-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/grafana-yugabyte-datasource.schema.json.js +114 -0
- package/dist/esm/datasource/schema/datasources/grafana-yugabyte-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/graphite.schema.json.js +104 -0
- package/dist/esm/datasource/schema/datasources/graphite.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/influxdb.schema.json.js +703 -0
- package/dist/esm/datasource/schema/datasources/influxdb.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/jaeger.schema.json.js +59 -0
- package/dist/esm/datasource/schema/datasources/jaeger.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/loki.schema.json.js +545 -0
- package/dist/esm/datasource/schema/datasources/loki.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/marcusolsson-csv-datasource.schema.json.js +45 -0
- package/dist/esm/datasource/schema/datasources/marcusolsson-csv-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/marcusolsson-json-datasource.schema.json.js +36 -0
- package/dist/esm/datasource/schema/datasources/marcusolsson-json-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/mssql.schema.json.js +292 -0
- package/dist/esm/datasource/schema/datasources/mssql.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/mysql.schema.json.js +137 -0
- package/dist/esm/datasource/schema/datasources/mysql.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/opentsdb.schema.json.js +113 -0
- package/dist/esm/datasource/schema/datasources/opentsdb.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/prometheus.schema.json.js +783 -0
- package/dist/esm/datasource/schema/datasources/prometheus.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/stackdriver.schema.json.js +135 -0
- package/dist/esm/datasource/schema/datasources/stackdriver.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/tempo.schema.json.js +618 -0
- package/dist/esm/datasource/schema/datasources/tempo.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/yesoreyeram-infinity-datasource.schema.json.js +386 -0
- package/dist/esm/datasource/schema/datasources/yesoreyeram-infinity-datasource.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/datasources/zipkin.schema.json.js +40 -0
- package/dist/esm/datasource/schema/datasources/zipkin.schema.json.js.map +1 -0
- package/dist/esm/datasource/schema/llmHints.js +54 -0
- package/dist/esm/datasource/schema/llmHints.js.map +1 -0
- package/dist/esm/datasource/schema/provisioningYaml.js +358 -0
- package/dist/esm/datasource/schema/provisioningYaml.js.map +1 -0
- package/dist/esm/datasource/schema/schemaRegistry.js +139 -0
- package/dist/esm/datasource/schema/schemaRegistry.js.map +1 -0
- package/dist/esm/index.d.ts +604 -39
- package/dist/esm/index.js +11 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/schemas.d.ts +338 -0
- package/dist/esm/schemas.js +2 -0
- package/dist/esm/schemas.js.map +1 -0
- package/package.json +44 -11
package/dist/esm/index.js
CHANGED
|
@@ -37,6 +37,10 @@ export { convertLegacyAuthProps } from './components/ConfigEditor/Auth/utils.js'
|
|
|
37
37
|
export { TLSSettings } from './components/ConfigEditor/Auth/tls/TLSSettings.js';
|
|
38
38
|
export { ConnectionSettings } from './components/ConfigEditor/Connection/ConnectionSettings.js';
|
|
39
39
|
export { AdvancedHttpSettings } from './components/ConfigEditor/AdvancedSettings/AdvancedHttpSettings.js';
|
|
40
|
+
export { DatasourceConfigWizard } from './components/ConfigEditor/DatasourceConfigWizard/DatasourceConfigWizard.js';
|
|
41
|
+
export { DatasourceErrorBoundary } from './components/ConfigEditor/DatasourceConfigWizard/DatasourceErrorBoundary.js';
|
|
42
|
+
export { useHealthChecks } from './components/ConfigEditor/DatasourceConfigWizard/useHealthChecks.js';
|
|
43
|
+
export { resolvePluginName } from './components/ConfigEditor/DatasourceConfigWizard/resolvePluginName.js';
|
|
40
44
|
export { CustomHeadersSettings } from './components/CustomHeadersSettings/CustomHeadersSettings.js';
|
|
41
45
|
export { QueryModellerBase } from './components/VisualQueryBuilder/QueryModellerBase.js';
|
|
42
46
|
export { LabelFilters } from './components/VisualQueryBuilder/components/LabelFilters.js';
|
|
@@ -55,6 +59,12 @@ export { SQLEditorTestUtils } from './components/SQLEditor/test-utils/index.js';
|
|
|
55
59
|
export { LinkedToken } from './components/SQLEditor/utils/LinkedToken.js';
|
|
56
60
|
export { language as grafanaStandardSQLLanguage, conf as grafanaStandardSQLLanguageConf } from './components/SQLEditor/standardSql/language.js';
|
|
57
61
|
export { getStandardSQLCompletionProvider } from './components/SQLEditor/standardSql/standardSQLCompletionItemProvider.js';
|
|
58
|
-
export { CompletionItemInsertTextRule, CompletionItemKind, CompletionItemPriority, MacroType, OperatorType, SQLEditorMode, StatementPosition, SuggestionKind
|
|
62
|
+
export { CompletionItemInsertTextRule, CompletionItemKind, CompletionItemPriority, MacroType, OperatorType, SQLEditorMode, StatementPosition, SuggestionKind } from './components/SQLEditor/types.js';
|
|
59
63
|
export { SqlDatasource } from './datasource/SqlDatasource.js';
|
|
64
|
+
export { computeVirtualFieldValues, evaluateComputedRead, formKey, parseDependsOn, resolveActiveOverride, resolveGroups, resolveRequiredFieldsGroup } from './datasource/schema/config.js';
|
|
65
|
+
export { SECURE_FIELD_CONFIGURED, buildDatasourceConfigPayload, expandIndexedPair, fetchExistingValues, flattenIndexedPair, submitDatasourceConfig } from './datasource/schema/datasource.js';
|
|
66
|
+
export { generateLLMHint, generateTroubleshootingFields } from './datasource/schema/llmHints.js';
|
|
67
|
+
export { datasourceToProvisioningYaml, toProvisioningYaml } from './datasource/schema/provisioningYaml.js';
|
|
68
|
+
export { getConfigSchema } from './datasource/schema/schemaRegistry.js';
|
|
69
|
+
export { TokenType } from './components/SQLEditor/utils/tokenType.js';
|
|
60
70
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
interface DatasourceConfigSchema {
|
|
2
|
+
/**
|
|
3
|
+
* Schema version (required)
|
|
4
|
+
* Used for compatibility and migrations
|
|
5
|
+
*
|
|
6
|
+
* Example: "v2"
|
|
7
|
+
*/
|
|
8
|
+
schemaVersion: string;
|
|
9
|
+
/**
|
|
10
|
+
* Unique datasource plugin identifier
|
|
11
|
+
* Example: "prometheus"
|
|
12
|
+
*/
|
|
13
|
+
pluginType: string;
|
|
14
|
+
/**
|
|
15
|
+
* Human-readable name
|
|
16
|
+
*/
|
|
17
|
+
pluginName: string;
|
|
18
|
+
/**
|
|
19
|
+
* Optional documentation URL
|
|
20
|
+
*/
|
|
21
|
+
docURL?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Source of truth for configuration
|
|
24
|
+
*/
|
|
25
|
+
fields: ConfigField[];
|
|
26
|
+
/**
|
|
27
|
+
* Optional UI grouping
|
|
28
|
+
*/
|
|
29
|
+
groups?: ConfigGroup[];
|
|
30
|
+
/**
|
|
31
|
+
* Relationships between fields
|
|
32
|
+
*/
|
|
33
|
+
relationships?: FieldRelationship[];
|
|
34
|
+
}
|
|
35
|
+
interface ConfigField {
|
|
36
|
+
/**
|
|
37
|
+
* Globally unique identifier
|
|
38
|
+
* Recommended format: dot-separated path
|
|
39
|
+
* Example: "auth.method", "httpHeaders.item.key"
|
|
40
|
+
*/
|
|
41
|
+
id: string;
|
|
42
|
+
/**
|
|
43
|
+
* Local key used in storage or object
|
|
44
|
+
*/
|
|
45
|
+
key: string;
|
|
46
|
+
/**
|
|
47
|
+
* UI metadata
|
|
48
|
+
*/
|
|
49
|
+
label?: string;
|
|
50
|
+
description?: string;
|
|
51
|
+
docURL?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Core type of the field
|
|
54
|
+
*/
|
|
55
|
+
valueType: ValueType;
|
|
56
|
+
/**
|
|
57
|
+
* Semantic meaning (optional)
|
|
58
|
+
*/
|
|
59
|
+
semanticType?: SemanticType;
|
|
60
|
+
/**
|
|
61
|
+
* Storage location (required for storage fields)
|
|
62
|
+
*/
|
|
63
|
+
target?: TargetLocation;
|
|
64
|
+
/**
|
|
65
|
+
* Dotted path prefix within the target for nested objects.
|
|
66
|
+
* Example: for jsonData.tracesToLogs.datasourceUid,
|
|
67
|
+
* target="jsonData", section="tracesToLogs", key="datasourceUid".
|
|
68
|
+
*/
|
|
69
|
+
section?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Field kind.
|
|
72
|
+
* @default "storage"
|
|
73
|
+
*/
|
|
74
|
+
kind?: FieldKind;
|
|
75
|
+
/**
|
|
76
|
+
* True if field belongs to array item schema
|
|
77
|
+
*/
|
|
78
|
+
isItemField?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Lifecycle state
|
|
81
|
+
*/
|
|
82
|
+
lifecycle?: Lifecycle;
|
|
83
|
+
/**
|
|
84
|
+
* UI rendering hints
|
|
85
|
+
*/
|
|
86
|
+
ui?: FieldUI;
|
|
87
|
+
/**
|
|
88
|
+
* Validations rules
|
|
89
|
+
*/
|
|
90
|
+
validations?: FieldValidationRule[];
|
|
91
|
+
/**
|
|
92
|
+
* Visibility condition (CEL expression)
|
|
93
|
+
*/
|
|
94
|
+
dependsOn?: Expression;
|
|
95
|
+
/**
|
|
96
|
+
* Always required
|
|
97
|
+
*/
|
|
98
|
+
required?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Conditionally required
|
|
101
|
+
*/
|
|
102
|
+
requiredWhen?: Expression;
|
|
103
|
+
/**
|
|
104
|
+
* Disabled condition
|
|
105
|
+
*/
|
|
106
|
+
disabledWhen?: Expression;
|
|
107
|
+
/**
|
|
108
|
+
* Dynamic overrides
|
|
109
|
+
*/
|
|
110
|
+
overrides?: FieldOverride[];
|
|
111
|
+
/**
|
|
112
|
+
* Declarative multi-field write side-effects.
|
|
113
|
+
* When this field's value matches a condition, the listed target
|
|
114
|
+
* fields are set to specified values. Typically used on virtual
|
|
115
|
+
* selector fields (e.g. auth method dropdown).
|
|
116
|
+
*/
|
|
117
|
+
effects?: FieldEffect[];
|
|
118
|
+
/**
|
|
119
|
+
* Item schema for array elements or map values.
|
|
120
|
+
* Required if valueType === "array" or "map".
|
|
121
|
+
*/
|
|
122
|
+
item?: FieldItemSchema;
|
|
123
|
+
/**
|
|
124
|
+
* Legacy indexed fields (deprecated)
|
|
125
|
+
*/
|
|
126
|
+
repeatable?: boolean;
|
|
127
|
+
pattern?: string;
|
|
128
|
+
/**
|
|
129
|
+
* Storage mapping
|
|
130
|
+
*/
|
|
131
|
+
storage?: StorageMapping;
|
|
132
|
+
/**
|
|
133
|
+
* Metadata
|
|
134
|
+
*/
|
|
135
|
+
tags?: string[];
|
|
136
|
+
examples?: unknown[];
|
|
137
|
+
defaultValue?: unknown;
|
|
138
|
+
}
|
|
139
|
+
interface FieldItemSchema {
|
|
140
|
+
/**
|
|
141
|
+
* Type of array items or map values.
|
|
142
|
+
* For arrays, describes each element.
|
|
143
|
+
* For maps, describes each value (keys are always strings).
|
|
144
|
+
*/
|
|
145
|
+
valueType: ValueType;
|
|
146
|
+
/**
|
|
147
|
+
* Sub-fields for object items. Optional even when valueType = "object"
|
|
148
|
+
* (omitting allows an unconstrained object).
|
|
149
|
+
*/
|
|
150
|
+
fields?: ConfigField[];
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* CEL expression string
|
|
154
|
+
*/
|
|
155
|
+
type Expression = string;
|
|
156
|
+
type ValueType = 'string' | 'number' | 'boolean' | 'array' | 'object' | 'map' | 'any';
|
|
157
|
+
type SemanticType = 'url' | 'password' | 'token' | 'hostname' | 'duration' | 'datasourceUid' | 'query';
|
|
158
|
+
type FieldKind = 'storage' | 'virtual';
|
|
159
|
+
type Lifecycle = 'stable' | 'deprecated' | 'experimental';
|
|
160
|
+
type TargetLocation = 'root' | 'jsonData' | 'secureJsonData';
|
|
161
|
+
type UIComponent = 'input' | 'textarea' | 'select' | 'multiselect' | 'radio' | 'checkbox' | 'switch' | 'code' | 'keyvalue' | 'list';
|
|
162
|
+
type UIWidth = 'full' | 'half';
|
|
163
|
+
/**
|
|
164
|
+
* UI configuration
|
|
165
|
+
*/
|
|
166
|
+
interface FieldUI {
|
|
167
|
+
component: UIComponent;
|
|
168
|
+
multiline?: boolean;
|
|
169
|
+
rows?: number;
|
|
170
|
+
options?: FieldOption[];
|
|
171
|
+
allowCustom?: boolean;
|
|
172
|
+
width?: UIWidth;
|
|
173
|
+
placeholder?: string;
|
|
174
|
+
/**
|
|
175
|
+
* Language hint for code editor components.
|
|
176
|
+
* Example: "promql", "logql", "traceql", "sql", "json"
|
|
177
|
+
*/
|
|
178
|
+
language?: string;
|
|
179
|
+
}
|
|
180
|
+
type FieldValidationRule = PatternValidationRule | RangeValidationRule | LengthValidationRule | ItemCountValidationRule | AllowedValuesValidationRule | CustomValidationRule;
|
|
181
|
+
interface BaseValidationRule {
|
|
182
|
+
/**
|
|
183
|
+
* Optional stable ID for the validation rule.
|
|
184
|
+
* Useful for docs, localization, and test snapshots.
|
|
185
|
+
*/
|
|
186
|
+
id?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Human-readable validation error message.
|
|
189
|
+
*/
|
|
190
|
+
message?: string;
|
|
191
|
+
}
|
|
192
|
+
interface PatternValidationRule extends BaseValidationRule {
|
|
193
|
+
type: 'pattern';
|
|
194
|
+
pattern: string;
|
|
195
|
+
}
|
|
196
|
+
interface RangeValidationRule extends BaseValidationRule {
|
|
197
|
+
type: 'range';
|
|
198
|
+
min?: number;
|
|
199
|
+
max?: number;
|
|
200
|
+
}
|
|
201
|
+
interface LengthValidationRule extends BaseValidationRule {
|
|
202
|
+
type: 'length';
|
|
203
|
+
min?: number;
|
|
204
|
+
max?: number;
|
|
205
|
+
}
|
|
206
|
+
interface ItemCountValidationRule extends BaseValidationRule {
|
|
207
|
+
type: 'itemCount';
|
|
208
|
+
min?: number;
|
|
209
|
+
max?: number;
|
|
210
|
+
}
|
|
211
|
+
interface AllowedValuesValidationRule extends BaseValidationRule {
|
|
212
|
+
type: 'allowedValues';
|
|
213
|
+
values: unknown[];
|
|
214
|
+
}
|
|
215
|
+
interface CustomValidationRule extends BaseValidationRule {
|
|
216
|
+
type: 'custom';
|
|
217
|
+
/**
|
|
218
|
+
* CEL expression.
|
|
219
|
+
*
|
|
220
|
+
* Should evaluate to true when the field value is valid.
|
|
221
|
+
*/
|
|
222
|
+
expression: Expression;
|
|
223
|
+
}
|
|
224
|
+
interface FieldOverride {
|
|
225
|
+
/**
|
|
226
|
+
* CEL condition
|
|
227
|
+
*/
|
|
228
|
+
when: Expression;
|
|
229
|
+
defaultValue?: unknown;
|
|
230
|
+
/**
|
|
231
|
+
* When true, the field is disabled/read-only while this override is active.
|
|
232
|
+
*/
|
|
233
|
+
readOnly?: boolean;
|
|
234
|
+
description?: string;
|
|
235
|
+
placeholder?: string;
|
|
236
|
+
tooltip?: string;
|
|
237
|
+
validations?: FieldValidationRule[];
|
|
238
|
+
options?: FieldOption[];
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Declares that when a field's value matches a condition,
|
|
242
|
+
* listed target fields should be set to specified values.
|
|
243
|
+
*
|
|
244
|
+
* Use "value" in the `when` expression to refer to the field's value.
|
|
245
|
+
*/
|
|
246
|
+
interface FieldEffect {
|
|
247
|
+
/**
|
|
248
|
+
* CEL expression. Example: "value == 'basic-auth'"
|
|
249
|
+
*/
|
|
250
|
+
when: Expression;
|
|
251
|
+
/**
|
|
252
|
+
* Maps field IDs to the values they should be set to.
|
|
253
|
+
* Must contain at least one entry.
|
|
254
|
+
*/
|
|
255
|
+
set: Record<string, unknown> & {
|
|
256
|
+
[k: string]: unknown;
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
type StorageMapping = DirectMapping | IndexedPairMapping | ComputedMapping;
|
|
260
|
+
/**
|
|
261
|
+
* Direct mapping
|
|
262
|
+
*/
|
|
263
|
+
interface DirectMapping {
|
|
264
|
+
type: 'direct';
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Indexed pair mapping (headers)
|
|
268
|
+
*/
|
|
269
|
+
interface IndexedPairMapping {
|
|
270
|
+
type: 'indexedPair';
|
|
271
|
+
key: MappingField;
|
|
272
|
+
value: MappingField;
|
|
273
|
+
startIndex?: number;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Computed mapping (virtual fields).
|
|
277
|
+
* At least one of `read` or `write` must be provided.
|
|
278
|
+
*/
|
|
279
|
+
type ComputedMapping = {
|
|
280
|
+
type: 'computed';
|
|
281
|
+
read: Expression;
|
|
282
|
+
write?: Expression;
|
|
283
|
+
} | {
|
|
284
|
+
type: 'computed';
|
|
285
|
+
read?: Expression;
|
|
286
|
+
write: Expression;
|
|
287
|
+
};
|
|
288
|
+
/**
|
|
289
|
+
* Mapping field
|
|
290
|
+
*/
|
|
291
|
+
interface MappingField {
|
|
292
|
+
target: TargetLocation;
|
|
293
|
+
pattern: string;
|
|
294
|
+
}
|
|
295
|
+
interface FieldOption {
|
|
296
|
+
label: string;
|
|
297
|
+
/**
|
|
298
|
+
* Must match parent field valueType.
|
|
299
|
+
* Must not be null.
|
|
300
|
+
*/
|
|
301
|
+
value: NonNullable<unknown>;
|
|
302
|
+
/**
|
|
303
|
+
* Optional human-readable description of the option.
|
|
304
|
+
*/
|
|
305
|
+
description?: string;
|
|
306
|
+
}
|
|
307
|
+
interface ConfigGroup {
|
|
308
|
+
id: string;
|
|
309
|
+
title: string;
|
|
310
|
+
description?: string;
|
|
311
|
+
order?: number;
|
|
312
|
+
/**
|
|
313
|
+
* When true, the group is optional and can be collapsed/hidden by default.
|
|
314
|
+
*/
|
|
315
|
+
optional?: boolean;
|
|
316
|
+
/**
|
|
317
|
+
* References field IDs (not keys)
|
|
318
|
+
*/
|
|
319
|
+
fieldRefs: string[];
|
|
320
|
+
}
|
|
321
|
+
type RelationshipType = 'pair' | 'group' | 'datasourceReference';
|
|
322
|
+
interface FieldRelationship {
|
|
323
|
+
type: RelationshipType;
|
|
324
|
+
/**
|
|
325
|
+
* References field IDs
|
|
326
|
+
*/
|
|
327
|
+
fields: string[];
|
|
328
|
+
description?: string;
|
|
329
|
+
/**
|
|
330
|
+
* Constrains the datasource UID to a specific plugin type.
|
|
331
|
+
* Only applicable when type is "datasourceReference".
|
|
332
|
+
*/
|
|
333
|
+
targetPluginType?: string;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
declare function getConfigSchema(pluginType: string): DatasourceConfigSchema | null;
|
|
337
|
+
|
|
338
|
+
export { type DatasourceConfigSchema, getConfigSchema };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/plugin-ui",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1-dsconfig.4bdebf6",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/grafana/plugin-ui.git"
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
"*": {
|
|
15
15
|
"test": [
|
|
16
16
|
"dist/cjs/test-utils.d.cts"
|
|
17
|
+
],
|
|
18
|
+
"schemas": [
|
|
19
|
+
"dist/cjs/schemas.d.cts"
|
|
17
20
|
]
|
|
18
21
|
}
|
|
19
22
|
},
|
|
@@ -38,6 +41,16 @@
|
|
|
38
41
|
"types": "./dist/cjs/test-utils.d.cts",
|
|
39
42
|
"default": "./dist/cjs/test-utils.cjs"
|
|
40
43
|
}
|
|
44
|
+
},
|
|
45
|
+
"./schemas": {
|
|
46
|
+
"import": {
|
|
47
|
+
"types": "./dist/esm/schemas.d.ts",
|
|
48
|
+
"default": "./dist/esm/schemas.js"
|
|
49
|
+
},
|
|
50
|
+
"require": {
|
|
51
|
+
"types": "./dist/cjs/schemas.d.cts",
|
|
52
|
+
"default": "./dist/cjs/schemas.cjs"
|
|
53
|
+
}
|
|
41
54
|
}
|
|
42
55
|
},
|
|
43
56
|
"sideEffects": false,
|
|
@@ -50,7 +63,7 @@
|
|
|
50
63
|
"spellcheck": "cspell -c cspell.config.json \"**/*.{ts,tsx,js,md,mdx,yml,yaml,json,scss,css}\"",
|
|
51
64
|
"storybook": "storybook dev",
|
|
52
65
|
"storybook:build": "storybook build",
|
|
53
|
-
"lint": "eslint --cache --ignore-path ./.
|
|
66
|
+
"lint": "eslint --cache --ignore-path ./.gitignore --ext .js,.jsx,.ts,.tsx .",
|
|
54
67
|
"lint:fix": "yarn run lint --fix",
|
|
55
68
|
"typecheck": "tsc",
|
|
56
69
|
"verify-types": "attw --pack .",
|
|
@@ -62,13 +75,15 @@
|
|
|
62
75
|
"@react-awesome-query-builder/ui": "^6.6.4",
|
|
63
76
|
"@types/prismjs": "^1.26.4",
|
|
64
77
|
"chance": "^1.1.7",
|
|
65
|
-
"
|
|
78
|
+
"js-yaml": "^4.1.0",
|
|
79
|
+
"lodash": "^4.18.1",
|
|
66
80
|
"prismjs": "^1.30.0",
|
|
67
81
|
"react-calendar": "^4.8.0",
|
|
82
|
+
"react-hook-form": "^7.52.0",
|
|
68
83
|
"react-popper-tooltip": "^4.4.2",
|
|
69
84
|
"react-use": "^17.3.1",
|
|
70
85
|
"react-virtualized-auto-sizer": "^1.0.6",
|
|
71
|
-
"sql-formatter
|
|
86
|
+
"sql-formatter": "^15.7.0",
|
|
72
87
|
"uuid": "^11.0.0"
|
|
73
88
|
},
|
|
74
89
|
"devDependencies": {
|
|
@@ -77,9 +92,10 @@
|
|
|
77
92
|
"@grafana/e2e-selectors": "^10.4.0",
|
|
78
93
|
"@grafana/eslint-config": "^8.0.0",
|
|
79
94
|
"@grafana/runtime": "^10.4.0",
|
|
80
|
-
"@grafana/tsconfig": "^
|
|
95
|
+
"@grafana/tsconfig": "^2.0.0",
|
|
81
96
|
"@grafana/ui": "^10.4.0",
|
|
82
|
-
"@rollup/plugin-commonjs": "^
|
|
97
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
98
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
83
99
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
84
100
|
"@storybook/addon-docs": "10.2.5",
|
|
85
101
|
"@storybook/addon-links": "10.2.5",
|
|
@@ -112,6 +128,7 @@
|
|
|
112
128
|
"jest": "^29.7.0",
|
|
113
129
|
"jest-environment-jsdom": "^29.7.0",
|
|
114
130
|
"jest-fetch-mock": "^3.0.3",
|
|
131
|
+
"lefthook": "^1.7.18",
|
|
115
132
|
"mockdate": "^3.0.2",
|
|
116
133
|
"prettier": "^3.3.3",
|
|
117
134
|
"publint": "^0.3.12",
|
|
@@ -128,10 +145,10 @@
|
|
|
128
145
|
"typescript": "^5.7.3"
|
|
129
146
|
},
|
|
130
147
|
"peerDependencies": {
|
|
131
|
-
"@grafana/data": ">=10.4.0",
|
|
132
|
-
"@grafana/e2e-selectors": ">=10.4.0",
|
|
133
|
-
"@grafana/runtime": ">=10.4.0",
|
|
134
|
-
"@grafana/ui": ">=10.4.0",
|
|
148
|
+
"@grafana/data": ">=10.4.0-0",
|
|
149
|
+
"@grafana/e2e-selectors": ">=10.4.0-0",
|
|
150
|
+
"@grafana/runtime": ">=10.4.0-0",
|
|
151
|
+
"@grafana/ui": ">=10.4.0-0",
|
|
135
152
|
"@testing-library/jest-dom": ">=5.16.5",
|
|
136
153
|
"@testing-library/react": ">=15.0.2",
|
|
137
154
|
"@testing-library/user-event": ">=14.5.2",
|
|
@@ -141,5 +158,21 @@
|
|
|
141
158
|
},
|
|
142
159
|
"files": [
|
|
143
160
|
"dist"
|
|
144
|
-
]
|
|
161
|
+
],
|
|
162
|
+
"resolutions": {
|
|
163
|
+
"prismjs": "^1.30.0",
|
|
164
|
+
"uplot": "^1.6.31",
|
|
165
|
+
"glob": "10.5.0",
|
|
166
|
+
"tar": "^7.5.7",
|
|
167
|
+
"@babel/helpers": "^7.26.10",
|
|
168
|
+
"brace-expansion": "^2.0.2",
|
|
169
|
+
"diff": "^4.0.4",
|
|
170
|
+
"js-yaml": "^4.1.1",
|
|
171
|
+
"immutable": "^4.3.8",
|
|
172
|
+
"minimatch@^3.0.0": "^3.1.3",
|
|
173
|
+
"lodash": "^4.18.1",
|
|
174
|
+
"dompurify": "^3.3.2",
|
|
175
|
+
"@tootallnate/once": "^3.0.1"
|
|
176
|
+
},
|
|
177
|
+
"packageManager": "yarn@4.6.0"
|
|
145
178
|
}
|