saleor-dashboard/src/custom-apps/fixtures.ts
Bartłomiej Wiaduch ab2ce01c8a
Add WebhookHeaders component (#3107)
* Add custom request headers to webhook form
2023-02-22 14:14:51 +01:00

20 lines
517 B
TypeScript

import { WebhookDetailsFragment } from "@dashboard/graphql";
export const webhook: WebhookDetailsFragment = {
__typename: "Webhook",
app: {
__typename: "App",
id: "Jzx1ss23sEt==",
name: "Test App 2",
},
syncEvents: [],
asyncEvents: [],
id: "Jzx123sEt==",
isActive: true,
name: "Webhook Test 2",
secretKey: "zxczx_asdas",
subscriptionQuery:
"subscription { event { ... on ProductUpdated { product { name } } } }",
targetUrl: "http://www.getsaleor.com",
customHeaders: "{}",
};