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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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
}
}
}
`;