@spartacus/core
Version:
Spartacus - the core framework
16 lines (15 loc) • 609 B
TypeScript
import { AnonymousConsent, ConsentTemplate } from '../../model/consent.model';
import { StateUtils } from '../../state';
export declare const ANONYMOUS_CONSENTS_STORE_FEATURE = "anonymous-consents";
export declare const ANONYMOUS_CONSENTS = "[Anonymous Consents] Anonymous Consents";
export interface StateWithAnonymousConsents {
[ANONYMOUS_CONSENTS_STORE_FEATURE]: AnonymousConsentsState;
}
export interface AnonymousConsentsState {
templates: StateUtils.LoaderState<ConsentTemplate[]>;
consents: AnonymousConsent[];
ui: {
bannerDismissed: boolean;
updated: boolean;
};
}