@vendure/core
Version:
A modern, headless ecommerce framework
19 lines (18 loc) • 864 B
TypeScript
import { CreateFacetValueInput, CreateFacetValueWithFacetInput, UpdateFacetValueInput } from '@vendure/common/lib/generated-types';
import { ID } from '@vendure/common/lib/shared-types';
import { RequestContext } from '../../api';
import { FacetValue } from '../../entity';
import { VendureEntityEvent } from '../vendure-entity-event';
type FacetValueInputTypes = CreateFacetValueInput | CreateFacetValueWithFacetInput | UpdateFacetValueInput | ID;
/**
* @description
* This event is fired whenever a {@link FacetValue} is added, updated or deleted.
*
* @docsCategory events
* @docsPage Event Types
* @since 1.4
*/
export declare class FacetValueEvent extends VendureEntityEvent<FacetValue, FacetValueInputTypes> {
constructor(ctx: RequestContext, entity: FacetValue, type: 'created' | 'updated' | 'deleted', input?: FacetValueInputTypes);
}
export {};