influxdb/ui/global.d.ts

31 lines
531 B
TypeScript
Raw Normal View History

import {MonacoType} from 'src/types'
//
// got some globals here that only exist during compilation
//
declare let monaco: MonacoType
declare global {
interface Window {
monaco: MonacoType
}
declare module '*.png' {
const value: any
export = value
}
feat(ui): redesign load data page (#19246) * refactor: rename client libraries from overlay to page * refactor: remove client libraries from load data nav * refactor: remove client libraries from main nav * refactor: convert client library overlays to pages * feat: create Write Data and related sub-pages * fix: assing proper component to route * refactor: separate sections of write data page into own files * refactor: implement telegraf plugins pages * refactor: rename components to match filenames * refactor: organize client libraries within writeData folder * fix: cleanup loose ends from moving files around * refactor: move client lib graphics into write data section * fix: correct import path * fix: import path * feat: enable importing of markdown files * feat: use markdown source for example telegraf plugin * feat: convert Arduino page to use markdown * fix: properly type svg and markdown imports * feat: replace react component images with regular images * feat: add placeholder image for items without images * fix: cleanup * feat: start standardizing pages for write data views * refactor: use params instead making a component for each page * refactor: make client libraries pages all markdown and use template * refactor: cleanup * refactor: move templates out of folder * refactor: style details view * feat(ui): add activemq, aerospike, and bcache * feat(writeData): load up all the telegraf inputs * feat: add telegraf explainer to telegraf plugins pages * refactor: make card grid more compact * refactor: polish * feat(write): adding logos * fix(writeData): more logos * refactor: make CopyButton more customizable * refactor: add real content to telegraf plugin explainer * refactor: polish thumbnail appearance * refactor: make index views scrollable * feat(write): alphabetize & more logos * refactor: increase width of token overlay * refactor: add description to telegraf section * feat: wrap each section in feature flags * refactor: WIP helper widgets for details pages * feat(writeData): add more logos * feat(writeData): update Plugin names, readmes, add logos * feat(write): final batch of logos * feat(write): readme updates * feat(write): adding proxmox * refactor: add tabbed navigation back to browse page * refactor: make code snippets templatized * fix: replace untemplatized URL key in arduino markdown * refactor: cleanup * refactor: rename "browse" to "sources" * refactor: rename feature flags to match page names * refactor: make sort case insensitive * refactor: make code sample helper only appear in client libraries pages * fix: remove image padding from client library logos * fix: select first user bucket instead of first any bucket * fix: make less legible logos more legible * refactor: make search field autofocus * fix: linter error * fix: case sensitive file import * fix: remove empty prop definitions * fix: more case sensitive imports * refactor: remove use of lodash * fix(writeData): update kapa & tele logos; rename internal plugin * fix: repair broken explorer test * fix: rework client libs e2e tests to match new design * refactor: rename e2e test appropriately * refactor: rewrite data sources e2e to assert proper rendering of the details views * feat: add GA tracking of code snippet copy event * chore: changelog update Co-authored-by: Russ Savage <russ@influxdata.com>
2020-08-14 21:00:01 +00:00
declare module '*.md' {
const value: string
export default value
}
declare module '*.svg' {
export const ReactComponent: SFC<SVGProps<SVGSVGElement>>
const src: string
export default src
}
2020-02-20 17:58:56 +00:00
}
window.monaco = window.monaco || {}