Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
0fb7ee05
Unverified
Commit
0fb7ee05
authored
Aug 20, 2020
by
Ryan McKinley
Committed by
GitHub
Aug 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chore: Minor cleanup (#27112)
parent
a2a6b944
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
docs/sources/developers/plugins/plugin.schema.json
+2
-2
packages/grafana-data/src/types/datasource.ts
+3
-0
packages/grafana-e2e/src/flows/addDashboard.ts
+2
-2
No files found.
docs/sources/developers/plugins/plugin.schema.json
View file @
0fb7ee05
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
"additionalProperties"
:
false
,
"additionalProperties"
:
false
,
"properties"
:
{
"properties"
:
{
"$schema"
:
{
"$schema"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"description"
:
"Schema definition for the plugin.json file"
"description"
:
"Schema definition for the plugin.json file"
},
},
"id"
:
{
"id"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
...
...
packages/grafana-data/src/types/datasource.ts
View file @
0fb7ee05
...
@@ -538,8 +538,11 @@ export interface DataSourceSelectItem {
...
@@ -538,8 +538,11 @@ export interface DataSourceSelectItem {
export
interface
AnnotationQueryRequest
<
MoreOptions
=
{}
>
{
export
interface
AnnotationQueryRequest
<
MoreOptions
=
{}
>
{
range
:
TimeRange
;
range
:
TimeRange
;
rangeRaw
:
RawTimeRange
;
rangeRaw
:
RawTimeRange
;
// Should be DataModel but cannot import that here from the main app. Needs to be moved to package first.
// Should be DataModel but cannot import that here from the main app. Needs to be moved to package first.
dashboard
:
any
;
dashboard
:
any
;
// The annotation query, typically extends DataQuery
annotation
:
{
annotation
:
{
datasource
:
string
;
datasource
:
string
;
enable
:
boolean
;
enable
:
boolean
;
...
...
packages/grafana-e2e/src/flows/addDashboard.ts
View file @
0fb7ee05
...
@@ -8,7 +8,7 @@ export interface AddDashboardConfig {
...
@@ -8,7 +8,7 @@ export interface AddDashboardConfig {
timeRange
:
DashboardTimeRangeConfig
;
timeRange
:
DashboardTimeRangeConfig
;
timezone
:
string
;
timezone
:
string
;
title
:
string
;
title
:
string
;
variables
:
Partial
<
AddVariableConfig
>
[]
;
variables
:
Array
<
Partial
<
AddVariableConfig
>>
;
}
}
export
interface
AddVariableConfig
{
export
interface
AddVariableConfig
{
...
@@ -145,7 +145,7 @@ const addVariable = (config: Partial<AddVariableConfig>, isFirst: boolean): any
...
@@ -145,7 +145,7 @@ const addVariable = (config: Partial<AddVariableConfig>, isFirst: boolean): any
return
fullConfig
;
return
fullConfig
;
};
};
const
addVariables
=
(
configs
:
Partial
<
AddVariableConfig
>
[]
):
any
=>
{
const
addVariables
=
(
configs
:
Array
<
Partial
<
AddVariableConfig
>>
):
any
=>
{
if
(
configs
.
length
>
0
)
{
if
(
configs
.
length
>
0
)
{
e2e
.
pages
.
Dashboard
.
Settings
.
General
.
sectionItems
(
'Variables'
).
click
();
e2e
.
pages
.
Dashboard
.
Settings
.
General
.
sectionItems
(
'Variables'
).
click
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment