Type Alias EntityFinderProps<FindResultType, FullEntityType, SourceType>

EntityFinderProps: {
    additionalKnowledgeSources?: SourceType[];
    allKnowledgeBases?: FinderKnowledgeBaseDescription<
        FindResultType,
        FullEntityType,
        SourceType,
    >[];
    classIRI: string;
    data?: any;
    enableResultDetailPopper?: boolean;
    finderId: string;
    hideFooter?: boolean;
    jsonSchema: JSONSchema7;
    knowledgeSources?: SourceType[];
    onEntityIRIChange?: (entityIRI: string | undefined) => void;
    onExistingEntityAccepted?: (entityIRI: string, data: any) => void;
    onMappedDataAccepted?: (data: any) => void;
    onSearchChange?: (search: string) => void;
    onSelectedEntityChange?: (id: string, authorityIRI: string) => void;
    prepareNewEntityData?: (data: any) => Promise<any>;
    search?: string;
}

Type Parameters

  • FindResultType = any
  • FullEntityType = any
  • SourceType extends string = string

Type declaration

  • OptionaladditionalKnowledgeSources?: SourceType[]
  • OptionalallKnowledgeBases?: FinderKnowledgeBaseDescription<FindResultType, FullEntityType, SourceType>[]
  • classIRI: string
  • Optionaldata?: any
  • OptionalenableResultDetailPopper?: boolean

    When false, selected search results do not open the side detail Popper. Default true.

  • finderId: string
  • OptionalhideFooter?: boolean
  • jsonSchema: JSONSchema7
  • OptionalknowledgeSources?: SourceType[]
  • OptionalonEntityIRIChange?: (entityIRI: string | undefined) => void
  • OptionalonExistingEntityAccepted?: (entityIRI: string, data: any) => void
  • OptionalonMappedDataAccepted?: (data: any) => void
  • OptionalonSearchChange?: (search: string) => void
  • OptionalonSelectedEntityChange?: (id: string, authorityIRI: string) => void
  • OptionalprepareNewEntityData?: (data: any) => Promise<any>
  • Optionalsearch?: string