UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

17 lines (16 loc) 555 B
import GirafeSingleton from '../../base/GirafeSingleton.js'; export declare enum FeedbackResult { POSITIVE = "positive", NEGATIVE = "negative", NEUTRAL = "neutral" } declare class FeedbackManager extends GirafeSingleton { private get config(); private readonly STORAGE_PATH; private gaveFeedbackFor; initializeSingleton(): void; resetGivenFeedback(): void; giveFeedback(componentName: string, feedbackResult: FeedbackResult): Promise<void>; private initializeFeedbackOnComponents; } export default FeedbackManager;