Skip to content

Commit

Permalink
Dony allow creation of passthorugh, only editing
Browse files Browse the repository at this point in the history
  • Loading branch information
sabarasaba committed Sep 18, 2024
1 parent 5c122c5 commit ea8010a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { AliasTypeRequiredParameters } from './alias_type';
import { TokenCountTypeRequiredParameters } from './token_count_type';
import { ScaledFloatTypeRequiredParameters } from './scaled_float_type';
import { DenseVectorRequiredParameters } from './dense_vector_type';
import { PassthroughRequiredParameters } from './passthrough_type';

export interface ComponentProps {
allFields: NormalizedFields['byId'];
Expand All @@ -23,7 +22,6 @@ const typeToParametersFormMap: { [key in DataType]?: ComponentType<any> } = {
token_count: TokenCountTypeRequiredParameters,
scaled_float: ScaledFloatTypeRequiredParameters,
dense_vector: DenseVectorRequiredParameters,
passthrough: PassthroughRequiredParameters,
};

export const getRequiredParametersFormForType = (
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,6 @@ export const MAIN_TYPES: MainType[] = [
'numeric',
'object',
'other',
'passthrough',
'percolator',
'point',
'range',
Expand Down

0 comments on commit ea8010a

Please sign in to comment.