interface ISearchForm {
    dataset: string;
    getUri: (entries: Record<string, string>) => string;
    mappings: Record<string, string>;
    template: string;
}

Properties

dataset: string

The dataset in which the search form is defined.

getUri: (entries: Record<string, string>) => string

Instantiate a uri based on the given Hydra variable values.

Type declaration

    • (entries: Record<string, string>): string
    • Parameters

      • entries: Record<string, string>

        Entries with as keys Hydra properties, and as values Hydra variable values.

      Returns string

      The instantiated URI

mappings: Record<string, string>

The mappings. With as keys the Hydra properties, and as values the Hydra variables

template: string

The URI template containing Hydra variables.