mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
f48169633c
* Alphabetized tslint and tsconfig files * Optimized tsconfig files * Optimized editorconfig & prettier config files … to reduce redundancy * Switched to @grafana/tsconfig … and: * de-duped options * removed options with default values * Fixed nasty issue with types for nested slate-react * Replaced TSLint with ESLint * TSLint disables → ESLint disables … also JSHint removals, which haven’t had an affect since it was replaced with TSLint. * Compliances for ESLint, Prettier and TypeScript * Updated lockfile
26 lines
531 B
JavaScript
26 lines
531 B
JavaScript
define([], function() {
|
|
'use strict';
|
|
|
|
return {
|
|
create: function() {
|
|
return {
|
|
title: '',
|
|
tags: [],
|
|
style: 'dark',
|
|
timezone: 'browser',
|
|
editable: true,
|
|
failover: false,
|
|
panel_hints: true,
|
|
rows: [],
|
|
pulldowns: [{ type: 'templating' }, { type: 'annotations' }],
|
|
nav: [{ type: 'timepicker' }],
|
|
time: { from: 'now-6h', to: 'now' },
|
|
templating: {
|
|
list: [],
|
|
},
|
|
refresh: '10s',
|
|
};
|
|
},
|
|
};
|
|
});
|