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

Properties

dataset: string

The dataset in which the search form is defined.

getUri: ((entries) => string)

Instantiate a uri based on the given Hydra variable values.

Type declaration

    • (entries): string
    • Parameters

      • entries: Record<string, string>

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

      Returns string

Returns

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.