2020-04-10 04:40:22 +02:00
|
|
|
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
|
|
|
|
|
|
|
package graph
|
|
|
|
|
2020-04-11 04:47:43 +02:00
|
|
|
import (
|
|
|
|
"github.com/google/uuid"
|
2020-04-11 21:24:45 +02:00
|
|
|
"github.com/jordanknott/project-citadel/api/pg"
|
2020-04-11 04:47:43 +02:00
|
|
|
)
|
|
|
|
|
2020-04-20 05:02:55 +02:00
|
|
|
type AddTaskLabelInput struct {
|
|
|
|
TaskID uuid.UUID `json:"taskID"`
|
|
|
|
LabelColorID uuid.UUID `json:"labelColorID"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type AssignTaskInput struct {
|
|
|
|
TaskID uuid.UUID `json:"taskID"`
|
|
|
|
UserID uuid.UUID `json:"userID"`
|
|
|
|
}
|
|
|
|
|
2020-04-11 21:24:45 +02:00
|
|
|
type DeleteTaskGroupInput struct {
|
|
|
|
TaskGroupID uuid.UUID `json:"taskGroupID"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteTaskGroupPayload struct {
|
|
|
|
Ok bool `json:"ok"`
|
|
|
|
AffectedRows int `json:"affectedRows"`
|
|
|
|
TaskGroup *pg.TaskGroup `json:"taskGroup"`
|
|
|
|
}
|
|
|
|
|
2020-04-10 04:40:22 +02:00
|
|
|
type DeleteTaskInput struct {
|
|
|
|
TaskID string `json:"taskID"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteTaskPayload struct {
|
|
|
|
TaskID string `json:"taskID"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type FindProject struct {
|
|
|
|
ProjectID string `json:"projectId"`
|
|
|
|
}
|
|
|
|
|
2020-04-20 05:02:55 +02:00
|
|
|
type FindTask struct {
|
|
|
|
TaskID uuid.UUID `json:"taskID"`
|
|
|
|
}
|
|
|
|
|
2020-04-10 04:40:22 +02:00
|
|
|
type FindUser struct {
|
|
|
|
UserID string `json:"userId"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type LogoutUser struct {
|
|
|
|
UserID string `json:"userID"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type NewProject struct {
|
2020-04-20 05:02:55 +02:00
|
|
|
UserID uuid.UUID `json:"userID"`
|
|
|
|
TeamID uuid.UUID `json:"teamID"`
|
|
|
|
Name string `json:"name"`
|
2020-04-10 04:40:22 +02:00
|
|
|
}
|
|
|
|
|
2020-04-21 01:04:27 +02:00
|
|
|
type NewProjectLabel struct {
|
|
|
|
ProjectID uuid.UUID `json:"projectID"`
|
|
|
|
LabelColorID uuid.UUID `json:"labelColorID"`
|
|
|
|
Name *string `json:"name"`
|
|
|
|
}
|
|
|
|
|
2020-04-10 04:40:22 +02:00
|
|
|
type NewRefreshToken struct {
|
|
|
|
UserID string `json:"userId"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type NewTask struct {
|
|
|
|
TaskGroupID string `json:"taskGroupID"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Position float64 `json:"position"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type NewTaskGroup struct {
|
|
|
|
ProjectID string `json:"projectID"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Position float64 `json:"position"`
|
|
|
|
}
|
|
|
|
|
2020-04-11 04:47:43 +02:00
|
|
|
type NewTaskGroupLocation struct {
|
|
|
|
TaskGroupID uuid.UUID `json:"taskGroupID"`
|
|
|
|
Position float64 `json:"position"`
|
|
|
|
}
|
|
|
|
|
2020-04-10 04:40:22 +02:00
|
|
|
type NewTaskLocation struct {
|
|
|
|
TaskID string `json:"taskID"`
|
|
|
|
TaskGroupID string `json:"taskGroupID"`
|
|
|
|
Position float64 `json:"position"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type NewTeam struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
OrganizationID string `json:"organizationID"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type NewUserAccount struct {
|
2020-04-20 05:02:55 +02:00
|
|
|
Username string `json:"username"`
|
|
|
|
Email string `json:"email"`
|
|
|
|
FirstName string `json:"firstName"`
|
|
|
|
LastName string `json:"lastName"`
|
|
|
|
Password string `json:"password"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProfileIcon struct {
|
|
|
|
URL *string `json:"url"`
|
|
|
|
Initials *string `json:"initials"`
|
2020-04-21 01:04:27 +02:00
|
|
|
BgColor *string `json:"bgColor"`
|
2020-04-20 05:02:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProjectMember struct {
|
2020-05-27 02:53:31 +02:00
|
|
|
ID uuid.UUID `json:"id"`
|
2020-04-20 05:02:55 +02:00
|
|
|
FirstName string `json:"firstName"`
|
|
|
|
LastName string `json:"lastName"`
|
|
|
|
ProfileIcon *ProfileIcon `json:"profileIcon"`
|
2020-04-10 04:40:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type ProjectsFilter struct {
|
|
|
|
TeamID *string `json:"teamID"`
|
|
|
|
}
|
|
|
|
|
2020-04-20 05:02:55 +02:00
|
|
|
type RemoveTaskLabelInput struct {
|
|
|
|
TaskID uuid.UUID `json:"taskID"`
|
|
|
|
TaskLabelID uuid.UUID `json:"taskLabelID"`
|
|
|
|
}
|
|
|
|
|
2020-04-21 01:04:27 +02:00
|
|
|
type UnassignTaskInput struct {
|
|
|
|
TaskID uuid.UUID `json:"taskID"`
|
|
|
|
UserID uuid.UUID `json:"userID"`
|
|
|
|
}
|
|
|
|
|
2020-04-20 05:02:55 +02:00
|
|
|
type UpdateTaskDescriptionInput struct {
|
|
|
|
TaskID uuid.UUID `json:"taskID"`
|
|
|
|
Description string `json:"description"`
|
|
|
|
}
|
|
|
|
|
2020-04-10 04:40:22 +02:00
|
|
|
type UpdateTaskName struct {
|
|
|
|
TaskID string `json:"taskID"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
}
|