UNPKG

@medusajs/product

Version:
195 lines 5.36 kB
export declare const eventBuilders: { createdProduct: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; updatedProduct: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; deletedProduct: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; createdProductVariant: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; updatedProductVariant: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; deletedProductVariant: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; createdProductOption: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; updatedProductOption: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; deletedProductOption: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; createdProductType: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; updatedProductType: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; deletedProductType: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; createdProductTag: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; updatedProductTag: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; deletedProductTag: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; createdProductCategory: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; updatedProductCategory: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; deletedProductCategory: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; createdProductCollection: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; updatedProductCollection: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; deletedProductCollection: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; createdProductOptionValue: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; updatedProductOptionValue: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; deletedProductOptionValue: ({ data, sharedContext, }: { data: { id: string; } | { id: string; }[]; sharedContext: import("@medusajs/types").Context; }) => void; }; //# sourceMappingURL=events.d.ts.map