Interface FieldSuggestionsGenerator

The FieldSuggestionsGenerator controller is responsible for generating field suggestions controllers for a given commerce engine.

interface FieldSuggestionsGenerator {
    fieldSuggestions: GeneratedFieldSuggestionsControllers;
    state: FieldSuggestionsFacet[];
    subscribe(listener: () => void): Unsubscribe;
}

Hierarchy (View Summary)

Methods

Properties

Methods

Properties

The facet controllers created by the facet generator.

The state of the field suggestions generator.