feature: add more to project pane
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
mutation assignTask($taskID: UUID!, $userID: UUID!) {
|
||||
assignTask(input: {taskID: $taskID, userID: $userID}) {
|
||||
id
|
||||
assigned {
|
||||
userID
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
}
|
||||
taskID
|
||||
}
|
||||
}
|
||||
|
8
web/src/shared/graphql/createProjectLabel.graphqls
Normal file
8
web/src/shared/graphql/createProjectLabel.graphqls
Normal file
@ -0,0 +1,8 @@
|
||||
mutation createProjectLabel($projectID: UUID!, $labelColorID: UUID!, $name: String!) {
|
||||
createProjectLabel(input:{projectID:$projectID, labelColorID: $labelColorID, name: $name}) {
|
||||
id
|
||||
createdDate
|
||||
colorHex
|
||||
name
|
||||
}
|
||||
}
|
@ -1,10 +1,21 @@
|
||||
mutation createTask($taskGroupID: String!, $name: String!, $position: Float!) {
|
||||
createTask(input: { taskGroupID: $taskGroupID, name: $name, position: $position }) {
|
||||
taskID
|
||||
taskGroup {
|
||||
taskGroupID
|
||||
}
|
||||
id
|
||||
name
|
||||
position
|
||||
description
|
||||
taskGroup {
|
||||
id
|
||||
}
|
||||
assigned {
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
profileIcon {
|
||||
url
|
||||
initials
|
||||
bgColor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ mutation createTaskGroup( $projectID: String!, $name: String!, $position: Float!
|
||||
createTaskGroup(
|
||||
input: { projectID: $projectID, name: $name, position: $position }
|
||||
) {
|
||||
taskGroupID
|
||||
id
|
||||
name
|
||||
position
|
||||
}
|
||||
|
@ -3,9 +3,9 @@ mutation deleteTaskGroup($taskGroupID: UUID!) {
|
||||
ok
|
||||
affectedRows
|
||||
taskGroup {
|
||||
taskGroupID
|
||||
id
|
||||
tasks {
|
||||
taskID
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ query findProject($projectId: String!) {
|
||||
findProject(input: { projectId: $projectId }) {
|
||||
name
|
||||
members {
|
||||
userID
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
profileIcon {
|
||||
@ -11,17 +11,23 @@ query findProject($projectId: String!) {
|
||||
bgColor
|
||||
}
|
||||
}
|
||||
labels {
|
||||
id
|
||||
createdDate
|
||||
colorHex
|
||||
name
|
||||
}
|
||||
taskGroups {
|
||||
taskGroupID
|
||||
id
|
||||
name
|
||||
position
|
||||
tasks {
|
||||
taskID
|
||||
id
|
||||
name
|
||||
position
|
||||
description
|
||||
assigned {
|
||||
userID
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
profileIcon {
|
||||
|
@ -1,14 +1,14 @@
|
||||
query findTask($taskID: UUID!) {
|
||||
findTask(input: {taskID: $taskID}) {
|
||||
taskID
|
||||
id
|
||||
name
|
||||
description
|
||||
position
|
||||
taskGroup {
|
||||
taskGroupID
|
||||
id
|
||||
}
|
||||
assigned {
|
||||
userID
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
profileIcon {
|
||||
|
@ -1,9 +1,9 @@
|
||||
query getProjects {
|
||||
projects {
|
||||
projectID
|
||||
id
|
||||
name
|
||||
team {
|
||||
teamID
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
mutation unassignTask($taskID: UUID!, $userID: UUID!) {
|
||||
unassignTask(input: {taskID: $taskID, userID: $userID}) {
|
||||
assigned {
|
||||
userID
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
}
|
||||
taskID
|
||||
id
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
mutation updateTaskDescription($taskID: UUID!, $description: String!) {
|
||||
updateTaskDescription(input: {taskID: $taskID, description: $description}) {
|
||||
taskID
|
||||
id
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
mutation updateTaskGroupLocation($taskGroupID: UUID!, $position: Float!) {
|
||||
updateTaskGroupLocation(input:{taskGroupID:$taskGroupID, position: $position}) {
|
||||
taskGroupID
|
||||
id
|
||||
position
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
mutation updateTaskLocation($taskID: String!, $taskGroupID: String!, $position: Float!) {
|
||||
updateTaskLocation(input: { taskID: $taskID, taskGroupID: $taskGroupID, position: $position }) {
|
||||
taskID
|
||||
id
|
||||
createdAt
|
||||
name
|
||||
position
|
||||
|
@ -1,6 +1,6 @@
|
||||
mutation updateTaskName($taskID: String!, $name: String!) {
|
||||
updateTaskName(input: { taskID: $taskID, name: $name }) {
|
||||
taskID
|
||||
id
|
||||
name
|
||||
position
|
||||
}
|
||||
|
Reference in New Issue
Block a user