cleanup
This commit is contained in:
@@ -23,13 +23,6 @@ import { getConfigFromDataTransformer, ConfigFromQueryTransformOptions } from '.
|
||||
|
||||
export interface Props extends TransformerUIProps<ConfigFromQueryTransformOptions> {}
|
||||
|
||||
/*const fieldNamePickerSettings = {
|
||||
editor: FieldNamePicker,
|
||||
id: '',
|
||||
name: '',
|
||||
settings: { width: 24, isClearable: false },
|
||||
}; */
|
||||
|
||||
export function ConfigFromQueryTransformerEditor({ input, onChange, options }: Props) {
|
||||
const styles = useStyles2(getStyles);
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable @typescript-eslint/consistent-type-assertions */
|
||||
import { css } from '@emotion/css';
|
||||
import { capitalize } from 'lodash';
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ export interface FieldToConfigMapping {
|
||||
reducerId?: ReducerID;
|
||||
handlerKey: string | null;
|
||||
handlerArguments?: HandlerArguments;
|
||||
sourceFieldName?: string; // for mapping
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -88,7 +87,7 @@ interface FieldToConfigContext {
|
||||
mappingTexts?: string[];
|
||||
}
|
||||
|
||||
export type FieldToConfigMapHandlerProcessor = (
|
||||
type FieldToConfigMapHandlerProcessor = (
|
||||
value: any,
|
||||
config: FieldConfig,
|
||||
context: FieldToConfigContext,
|
||||
|
||||
Reference in New Issue
Block a user