mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
✨ Add Kitemaker node (#1676)
* ⚡ Add Kitemaker node * ⚡ Require status ID for workItem:create * ✏️ Reword button text * ⚡ Add credentials file * ⚡ Implement pagination * ⚡ Improvements * ⚡ Remove not needed parameter Co-authored-by: ricardo <ricardoespinoza105@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
69
packages/nodes-base/nodes/Kitemaker/mutations.ts
Normal file
69
packages/nodes-base/nodes/Kitemaker/mutations.ts
Normal file
@@ -0,0 +1,69 @@
|
||||
// ----------------------------------
|
||||
// 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
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user