mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 08:34:07 -08:00
70 lines
876 B
TypeScript
70 lines
876 B
TypeScript
|
// ----------------------------------
|
||
|
// 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
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
`;
|