Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
poffdeluxe committed Sep 14, 2021
1 parent d0d36ee commit 2d7e581
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
20 changes: 0 additions & 20 deletions src/plugins/dashboard/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,26 +271,6 @@ export class DashboardPlugin
dashboardContainerFactory
);

/*
interface ValueSuggestionsGetFnArgs {
indexPattern: IIndexPattern;
field: IFieldType;
query: string;
useTimeRange?: boolean;
boolFilter?: any[];
signal?: AbortSignal;
method?: ValueSuggestionsMethod;
}
export interface OptionsListDataFetchProps {
field: string;
search?: string;
indexPattern: string;
query?: InputControlInput['query'];
filters?: InputControlInput['filters'];
timeRange?: InputControlInput['timeRange'];
}
*/

const fetchControlOptions = (args: OptionsListDataFetchProps) => {
const { indexPattern, field, search } = args;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,6 @@ import { OptionsListComponent, OptionsListComponentState } from './options_list_
import { Embeddable } from '../../../../../../embeddable/public';
import { InputControlInput, InputControlOutput } from '../../embeddable/types';

// TEMPORARY CONSTANT VALUES
const TEMP_FIELD = {
name: 'data_stream.dataset',
type: 'string',
aggregatable: true,
};

const TEMP_INDEX_PATTERN = {
title: 'ecomm',
fields: [TEMP_FIELD],
};

const toggleAvailableOptions = (
indices: number[],
availableOptions: EuiSelectableOption[],
Expand Down

0 comments on commit 2d7e581

Please sign in to comment.