dashboard-mock.js 533 B

12345678910111213141516171819202122232425
  1. define([], function () {
  2. 'use strict';
  3. return {
  4. create: function () {
  5. return {
  6. title: '',
  7. tags: [],
  8. style: 'dark',
  9. timezone: 'browser',
  10. editable: true,
  11. failover: false,
  12. panel_hints: true,
  13. rows: [],
  14. pulldowns: [{ type: 'templating' }, { type: 'annotations' }],
  15. nav: [{ type: 'timepicker' }],
  16. time: { from: 'now-6h', to: 'now' },
  17. templating: {
  18. list: [],
  19. },
  20. refresh: '10s',
  21. };
  22. },
  23. };
  24. });