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
212bf7a4
Unverified
Commit
212bf7a4
authored
Nov 03, 2020
by
Marcus Andersson
Committed by
GitHub
Nov 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: added code comments to frontend packages. (#28784)
* fixed docs linting errors. * decreased the limit.
parent
8954130f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
packages/grafana-data/src/types/data.ts
+8
-0
scripts/ci-reference-docs-lint.sh
+1
-1
No files found.
packages/grafana-data/src/types/data.ts
View file @
212bf7a4
...
@@ -6,6 +6,7 @@ export type KeyValue<T = any> = Record<string, T>;
...
@@ -6,6 +6,7 @@ export type KeyValue<T = any> = Record<string, T>;
/**
/**
* Represent panel data loading state.
* Represent panel data loading state.
* @public
*/
*/
export
enum
LoadingState
{
export
enum
LoadingState
{
NotStarted
=
'NotStarted'
,
NotStarted
=
'NotStarted'
,
...
@@ -21,6 +22,9 @@ export enum DataTopic {
...
@@ -21,6 +22,9 @@ export enum DataTopic {
export
type
PreferredVisualisationType
=
'graph'
|
'table'
|
'logs'
|
'trace'
;
export
type
PreferredVisualisationType
=
'graph'
|
'table'
|
'logs'
|
'trace'
;
/**
* @public
*/
export
interface
QueryResultMeta
{
export
interface
QueryResultMeta
{
/** DatasSource Specific Values */
/** DatasSource Specific Values */
custom
?:
Record
<
string
,
any
>
;
custom
?:
Record
<
string
,
any
>
;
...
@@ -67,6 +71,7 @@ export interface QueryResultMetaStat extends FieldConfig {
...
@@ -67,6 +71,7 @@ export interface QueryResultMetaStat extends FieldConfig {
/**
/**
* QueryResultMetaNotice is a structure that provides user notices for query result data
* QueryResultMetaNotice is a structure that provides user notices for query result data
* @public
*/
*/
export
interface
QueryResultMetaNotice
{
export
interface
QueryResultMetaNotice
{
/**
/**
...
@@ -91,6 +96,9 @@ export interface QueryResultMetaNotice {
...
@@ -91,6 +96,9 @@ export interface QueryResultMetaNotice {
inspect
?:
'meta'
|
'error'
|
'data'
|
'stats'
;
inspect
?:
'meta'
|
'error'
|
'data'
|
'stats'
;
}
}
/**
* @public
*/
export
interface
QueryResultBase
{
export
interface
QueryResultBase
{
/**
/**
* Matches the query target refId
* Matches the query target refId
...
...
scripts/ci-reference-docs-lint.sh
View file @
212bf7a4
...
@@ -29,7 +29,7 @@ if [ ! -d "$REPORT_PATH" ]; then
...
@@ -29,7 +29,7 @@ if [ ! -d "$REPORT_PATH" ]; then
fi
fi
WARNINGS_COUNT
=
"
$(
find
"
$REPORT_PATH
"
-type
f
-name
\*
.log
-print0
| xargs
-0
grep
-o
"Warning: "
| wc
-l
| xargs
)
"
WARNINGS_COUNT
=
"
$(
find
"
$REPORT_PATH
"
-type
f
-name
\*
.log
-print0
| xargs
-0
grep
-o
"Warning: "
| wc
-l
| xargs
)
"
WARNINGS_COUNT_LIMIT
=
107
7
WARNINGS_COUNT_LIMIT
=
107
5
if
[
"
$WARNINGS_COUNT
"
-gt
$WARNINGS_COUNT_LIMIT
]
;
then
if
[
"
$WARNINGS_COUNT
"
-gt
$WARNINGS_COUNT_LIMIT
]
;
then
echo
-e
"API Extractor warnings/errors
$WARNINGS_COUNT
exceeded
$WARNINGS_COUNT_LIMIT
so failing build.
\n
"
echo
-e
"API Extractor warnings/errors
$WARNINGS_COUNT
exceeded
$WARNINGS_COUNT_LIMIT
so failing build.
\n
"
...
...
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