Introduce webhook v2 (#17456)

Migrate webhook to v2 entity
This commit is contained in:
Charles Bochet
2026-01-27 16:32:33 +01:00
committed by GitHub
parent 27e5b9797b
commit bc7791871f
83 changed files with 1574 additions and 975 deletions
@@ -1,7 +1,11 @@
import gql from 'graphql-tag';
import { WEBHOOK_FRAGMENT } from '@/settings/developers/graphql/fragments/webhookFragment';
export const DELETE_WEBHOOK = gql`
mutation DeleteWebhook($input: DeleteWebhookInput!) {
deleteWebhook(input: $input)
mutation DeleteWebhook($id: UUID!) {
deleteWebhook(id: $id) {
...WebhookFragment
}
}
${WEBHOOK_FRAGMENT}
`;
@@ -2,8 +2,8 @@ import gql from 'graphql-tag';
import { WEBHOOK_FRAGMENT } from '@/settings/developers/graphql/fragments/webhookFragment';
export const GET_WEBHOOK = gql`
query GetWebhook($input: GetWebhookInput!) {
webhook(input: $input) {
query GetWebhook($id: UUID!) {
webhook(id: $id) {
...WebhookFragment
}
}