saleor-dashboard/src/webhooks/fixtures.ts
Dawid Tarasiuk 147d8c89cb
Separate sync and async app webhooks (#1635)
* Separate sync and async app webhooks

* Remove create webhook page and cleanups

* Update util

* Auto unselect events when anyEvent choice is selected

* Update test snapshots
2021-12-13 15:43:30 +01:00

17 lines
398 B
TypeScript

import { WebhookDetails_webhook } from "./types/WebhookDetails";
export const webhook: WebhookDetails_webhook = {
__typename: "Webhook",
app: {
__typename: "App",
id: "Jzx1ss23sEt==",
name: "Test App 2"
},
syncEvents: [],
asyncEvents: [],
id: "Jzx123sEt==",
isActive: true,
name: "Webhook Test 2",
secretKey: "zxczx_asdas",
targetUrl: "http://www.getsaleor.com"
};