/usr/share/grafana/public/app/plugins/datasource/loki/components/monaco-query-field
import { HistoryItem, TimeRange } from '@grafana/data'; import { LokiDatasource } from '../../datasource'; import { LokiQuery } from '../../types'; // we need to store this in a separate file, // because we have an async-wrapper around, // the react-component, and it needs the same // props as the sync-component. export type Props = { initialValue: string; history: Array<HistoryItem<LokiQuery>>; onRunQuery: (value: string) => void; onBlur: (value: string) => void; placeholder: string; datasource: LokiDatasource; onChange: (query: string) => void; timeRange?: TimeRange; };
.
Edit
..
Edit
MonacoFieldWrapper.test.tsx
Edit
MonacoQueryField.test.tsx
Edit
MonacoQueryField.tsx
Edit
MonacoQueryFieldLazy.tsx
Edit
MonacoQueryFieldProps.ts
Edit
MonacoQueryFieldWrapper.tsx
Edit
getOverrideServices.ts
Edit
monaco-completion-provider
Edit