n8n/packages/nodes-base/nodes/Kitemaker/mutations.ts

70 lines
876 B
TypeScript
Raw Normal View History

// ----------------------------------
// mutations
// ----------------------------------
export const createWorkItem = `
mutation($input: CreateWorkItemInput!) {
createWorkItem(input: $input) {
workItem {
id
number
title
description
status {
id
name
}
members {
id
username
}
watchers {
id
username
}
labels {
id
name
}
effort
impact
updatedAt
createdAt
}
}
}
`;
export const editWorkItem = `
mutation ($input: EditWorkItemInput!) {
editWorkItem(input: $input) {
workItem {
id
number
title
description
status {
id
name
}
members {
id
username
}
watchers {
id
username
}
labels {
id
name
}
effort
impact
updatedAt
createdAt
}
}
}
`;