saleor-apps-redis_apl/apps/search/webhooks.ts
Krzysztof Wolski 2a1385bab1
Search: Fix stale variants after product removal, add indices setup and product descriptions (#932)
* Move plaintext renderer to shared package and use it for Algolia documents

* Fix stale variants after product removal, add indices setup

* Search: webhooks migration script (#936)

* Add webhook recreation script

* Add changeset
2023-08-29 13:19:31 +02:00

19 lines
1 KiB
TypeScript

import { webhookProductCreated } from "./src/webhooks/definitions/product-created";
import { webhookProductDeleted } from "./src/webhooks/definitions/product-deleted";
import { webhookProductUpdated } from "./src/webhooks/definitions/product-updated";
import { webhookProductVariantBackInStock } from "./src/webhooks/definitions/product-variant-back-in-stock";
import { webhookProductVariantCreated } from "./src/webhooks/definitions/product-variant-created";
import { webhookProductVariantDeleted } from "./src/webhooks/definitions/product-variant-deleted";
import { webhookProductVariantOutOfStock } from "./src/webhooks/definitions/product-variant-out-of-stock";
import { webhookProductVariantUpdated } from "./src/webhooks/definitions/product-variant-updated";
export const appWebhooks = [
webhookProductCreated,
webhookProductDeleted,
webhookProductUpdated,
webhookProductVariantCreated,
webhookProductVariantDeleted,
webhookProductVariantUpdated,
webhookProductVariantOutOfStock,
webhookProductVariantBackInStock,
];