Created
August 27, 2021 23:34
-
-
Save dfee/9c335d6c97d7dab0acd9bfb941225030 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface TaskToTaskLink { | |
id: ID! | |
left: Task! | |
right: Task! | |
} | |
enum TaskToTaskDependencyLinkKind { | |
DEPENDENCY | |
DEPENDENT | |
} | |
enum TaskToTaskDependencyLinkSynchronizationKind { | |
START_TO_START | |
FINISH_TO_START | |
START_TO_FINISH | |
FINISH_TO_FINISH | |
} | |
type TaskToTaskDependencyLink implements TaskToTaskLink { | |
id: ID! | |
left: Task! | |
right: Task! | |
kind: TaskToTaskDependencyLinkKind! | |
synchronizationKind: TaskToTaskDependencyLinkSynchronizationKind! | |
synchronizationLag: Duration! | |
} | |
enum TaskToTaskAncestorLinkKind { | |
CHILD | |
PARENT | |
} | |
type TaskToTaskAncestorLink implements TaskToTaskLink { | |
id: ID! | |
left: Task! | |
right: Task! | |
kind: TaskToTaskAncestorLinkKind! | |
} | |
type CreateTaskToTaskDependencyLinkInput { | |
left: ID! | |
right: ID! | |
kind: TaskToTaskDependencyLinkKind | |
synchronizationKind: TaskToTaskDependencyLinkSynchronizationKind! | |
synchronizationLag: Duration! | |
} | |
type CreateTaskToTaskAncestorLinkInput { | |
left: ID! | |
right: ID! | |
kind: TaskToTaskAncestorLinkKind | |
} | |
union CreateTaskToTaskLinkInput = | |
CreateTaskToTaskDependencyLinkInput | |
| CreateTaskToTaskAncestorLinkInput | |
extend type Mutation { | |
createTaskToTaskLink(input: CreateTaskToTaskLinkInput!): TaskToTaskLink! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment