2020-04-10 04:40:22 +02:00
|
|
|
// Code generated by sqlc. DO NOT EDIT.
|
|
|
|
|
2020-07-05 01:02:57 +02:00
|
|
|
package db
|
2020-04-10 04:40:22 +02:00
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"github.com/google/uuid"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Querier interface {
|
2020-05-27 23:18:50 +02:00
|
|
|
CreateLabelColor(ctx context.Context, arg CreateLabelColorParams) (LabelColor, error)
|
2020-08-13 03:54:14 +02:00
|
|
|
CreateNotification(ctx context.Context, arg CreateNotificationParams) (Notification, error)
|
|
|
|
CreateNotificationObject(ctx context.Context, arg CreateNotificationObjectParams) (NotificationObject, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
CreateOrganization(ctx context.Context, arg CreateOrganizationParams) (Organization, error)
|
2020-09-20 03:20:36 +02:00
|
|
|
CreatePersonalProject(ctx context.Context, arg CreatePersonalProjectParams) (Project, error)
|
|
|
|
CreatePersonalProjectLink(ctx context.Context, arg CreatePersonalProjectLinkParams) (PersonalProject, error)
|
2020-04-21 01:04:27 +02:00
|
|
|
CreateProjectLabel(ctx context.Context, arg CreateProjectLabelParams) (ProjectLabel, error)
|
2020-07-05 01:02:57 +02:00
|
|
|
CreateProjectMember(ctx context.Context, arg CreateProjectMemberParams) (ProjectMember, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
CreateRefreshToken(ctx context.Context, arg CreateRefreshTokenParams) (RefreshToken, error)
|
2020-07-17 02:40:23 +02:00
|
|
|
CreateSystemOption(ctx context.Context, arg CreateSystemOptionParams) (SystemOption, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
CreateTask(ctx context.Context, arg CreateTaskParams) (Task, error)
|
2020-09-11 01:15:06 +02:00
|
|
|
CreateTaskAll(ctx context.Context, arg CreateTaskAllParams) (Task, error)
|
2020-04-20 05:02:55 +02:00
|
|
|
CreateTaskAssigned(ctx context.Context, arg CreateTaskAssignedParams) (TaskAssigned, error)
|
2020-06-19 01:12:15 +02:00
|
|
|
CreateTaskChecklist(ctx context.Context, arg CreateTaskChecklistParams) (TaskChecklist, error)
|
|
|
|
CreateTaskChecklistItem(ctx context.Context, arg CreateTaskChecklistItemParams) (TaskChecklistItem, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
CreateTaskGroup(ctx context.Context, arg CreateTaskGroupParams) (TaskGroup, error)
|
2020-04-20 05:02:55 +02:00
|
|
|
CreateTaskLabelForTask(ctx context.Context, arg CreateTaskLabelForTaskParams) (TaskLabel, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
CreateTeam(ctx context.Context, arg CreateTeamParams) (Team, error)
|
2020-06-21 00:49:11 +02:00
|
|
|
CreateTeamMember(ctx context.Context, arg CreateTeamMemberParams) (TeamMember, error)
|
2020-09-20 03:20:36 +02:00
|
|
|
CreateTeamProject(ctx context.Context, arg CreateTeamProjectParams) (Project, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
CreateUserAccount(ctx context.Context, arg CreateUserAccountParams) (UserAccount, error)
|
|
|
|
DeleteExpiredTokens(ctx context.Context) error
|
2020-06-21 00:49:11 +02:00
|
|
|
DeleteProjectByID(ctx context.Context, projectID uuid.UUID) error
|
2020-05-28 03:12:50 +02:00
|
|
|
DeleteProjectLabelByID(ctx context.Context, projectLabelID uuid.UUID) error
|
2020-07-05 01:02:57 +02:00
|
|
|
DeleteProjectMember(ctx context.Context, arg DeleteProjectMemberParams) error
|
2020-04-10 04:40:22 +02:00
|
|
|
DeleteRefreshTokenByID(ctx context.Context, tokenID uuid.UUID) error
|
|
|
|
DeleteRefreshTokenByUserID(ctx context.Context, userID uuid.UUID) error
|
2020-04-21 01:04:27 +02:00
|
|
|
DeleteTaskAssignedByID(ctx context.Context, arg DeleteTaskAssignedByIDParams) (TaskAssigned, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
DeleteTaskByID(ctx context.Context, taskID uuid.UUID) error
|
2020-06-23 22:20:53 +02:00
|
|
|
DeleteTaskChecklistByID(ctx context.Context, taskChecklistID uuid.UUID) error
|
2020-06-19 01:12:15 +02:00
|
|
|
DeleteTaskChecklistItem(ctx context.Context, taskChecklistItemID uuid.UUID) error
|
2020-04-11 21:24:45 +02:00
|
|
|
DeleteTaskGroupByID(ctx context.Context, taskGroupID uuid.UUID) (int64, error)
|
2020-05-31 06:11:19 +02:00
|
|
|
DeleteTaskLabelByID(ctx context.Context, taskLabelID uuid.UUID) error
|
|
|
|
DeleteTaskLabelForTaskByProjectLabelID(ctx context.Context, arg DeleteTaskLabelForTaskByProjectLabelIDParams) error
|
2020-04-11 21:24:45 +02:00
|
|
|
DeleteTasksByTaskGroupID(ctx context.Context, taskGroupID uuid.UUID) (int64, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
DeleteTeamByID(ctx context.Context, teamID uuid.UUID) error
|
2020-07-05 01:02:57 +02:00
|
|
|
DeleteTeamMember(ctx context.Context, arg DeleteTeamMemberParams) error
|
2020-06-23 22:20:53 +02:00
|
|
|
DeleteUserAccountByID(ctx context.Context, userID uuid.UUID) error
|
2020-08-13 03:54:14 +02:00
|
|
|
GetAllNotificationsForUserID(ctx context.Context, notifierID uuid.UUID) ([]Notification, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
GetAllOrganizations(ctx context.Context) ([]Organization, error)
|
|
|
|
GetAllProjects(ctx context.Context) ([]Project, error)
|
|
|
|
GetAllProjectsForTeam(ctx context.Context, teamID uuid.UUID) ([]Project, error)
|
|
|
|
GetAllTaskGroups(ctx context.Context) ([]TaskGroup, error)
|
|
|
|
GetAllTasks(ctx context.Context) ([]Task, error)
|
|
|
|
GetAllTeams(ctx context.Context) ([]Team, error)
|
|
|
|
GetAllUserAccounts(ctx context.Context) ([]UserAccount, error)
|
2020-08-01 03:01:14 +02:00
|
|
|
GetAllVisibleProjectsForUserID(ctx context.Context, userID uuid.UUID) ([]Project, error)
|
2020-04-20 05:02:55 +02:00
|
|
|
GetAssignedMembersForTask(ctx context.Context, taskID uuid.UUID) ([]TaskAssigned, error)
|
2020-08-13 03:54:14 +02:00
|
|
|
GetEntityForNotificationID(ctx context.Context, notificationID uuid.UUID) (GetEntityForNotificationIDRow, error)
|
|
|
|
GetEntityIDForNotificationID(ctx context.Context, notificationID uuid.UUID) (uuid.UUID, error)
|
2020-04-20 05:02:55 +02:00
|
|
|
GetLabelColorByID(ctx context.Context, labelColorID uuid.UUID) (LabelColor, error)
|
2020-05-27 23:18:50 +02:00
|
|
|
GetLabelColors(ctx context.Context) ([]LabelColor, error)
|
2020-07-18 02:40:05 +02:00
|
|
|
GetMemberProjectIDsForUserID(ctx context.Context, userID uuid.UUID) ([]uuid.UUID, error)
|
|
|
|
GetMemberTeamIDsForUserID(ctx context.Context, userID uuid.UUID) ([]uuid.UUID, error)
|
2020-08-13 03:54:14 +02:00
|
|
|
GetNotificationForNotificationID(ctx context.Context, notificationID uuid.UUID) (GetNotificationForNotificationIDRow, error)
|
2020-09-20 03:20:36 +02:00
|
|
|
GetPersonalProjectsForUserID(ctx context.Context, userID uuid.UUID) ([]Project, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
GetProjectByID(ctx context.Context, projectID uuid.UUID) (Project, error)
|
2020-07-05 01:02:57 +02:00
|
|
|
GetProjectIDForTask(ctx context.Context, taskID uuid.UUID) (uuid.UUID, error)
|
2020-09-20 00:26:02 +02:00
|
|
|
GetProjectIDForTaskChecklist(ctx context.Context, taskChecklistID uuid.UUID) (uuid.UUID, error)
|
|
|
|
GetProjectIDForTaskChecklistItem(ctx context.Context, taskChecklistItemID uuid.UUID) (uuid.UUID, error)
|
|
|
|
GetProjectIDForTaskGroup(ctx context.Context, taskGroupID uuid.UUID) (uuid.UUID, error)
|
2020-04-21 01:04:27 +02:00
|
|
|
GetProjectLabelByID(ctx context.Context, projectLabelID uuid.UUID) (ProjectLabel, error)
|
|
|
|
GetProjectLabelsForProject(ctx context.Context, projectID uuid.UUID) ([]ProjectLabel, error)
|
2020-07-05 01:02:57 +02:00
|
|
|
GetProjectMembersForProjectID(ctx context.Context, projectID uuid.UUID) ([]ProjectMember, error)
|
2020-08-01 03:01:14 +02:00
|
|
|
GetProjectRolesForUserID(ctx context.Context, userID uuid.UUID) ([]GetProjectRolesForUserIDRow, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
GetRefreshTokenByID(ctx context.Context, tokenID uuid.UUID) (RefreshToken, error)
|
2020-07-05 01:02:57 +02:00
|
|
|
GetRoleForProjectMemberByUserID(ctx context.Context, arg GetRoleForProjectMemberByUserIDParams) (Role, error)
|
|
|
|
GetRoleForTeamMember(ctx context.Context, arg GetRoleForTeamMemberParams) (Role, error)
|
|
|
|
GetRoleForUserID(ctx context.Context, userID uuid.UUID) (GetRoleForUserIDRow, error)
|
2020-07-17 02:40:23 +02:00
|
|
|
GetSystemOptionByKey(ctx context.Context, key string) (GetSystemOptionByKeyRow, error)
|
2020-04-20 05:02:55 +02:00
|
|
|
GetTaskByID(ctx context.Context, taskID uuid.UUID) (Task, error)
|
2020-06-23 22:20:53 +02:00
|
|
|
GetTaskChecklistByID(ctx context.Context, taskChecklistID uuid.UUID) (TaskChecklist, error)
|
2020-06-19 01:12:15 +02:00
|
|
|
GetTaskChecklistItemByID(ctx context.Context, taskChecklistItemID uuid.UUID) (TaskChecklistItem, error)
|
|
|
|
GetTaskChecklistItemsForTaskChecklist(ctx context.Context, taskChecklistID uuid.UUID) ([]TaskChecklistItem, error)
|
|
|
|
GetTaskChecklistsForTask(ctx context.Context, taskID uuid.UUID) ([]TaskChecklist, error)
|
2020-04-11 04:22:22 +02:00
|
|
|
GetTaskGroupByID(ctx context.Context, taskGroupID uuid.UUID) (TaskGroup, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
GetTaskGroupsForProject(ctx context.Context, projectID uuid.UUID) ([]TaskGroup, error)
|
2020-05-31 06:11:19 +02:00
|
|
|
GetTaskLabelByID(ctx context.Context, taskLabelID uuid.UUID) (TaskLabel, error)
|
|
|
|
GetTaskLabelForTaskByProjectLabelID(ctx context.Context, arg GetTaskLabelForTaskByProjectLabelIDParams) (TaskLabel, error)
|
2020-04-20 05:02:55 +02:00
|
|
|
GetTaskLabelsForTaskID(ctx context.Context, taskID uuid.UUID) ([]TaskLabel, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
GetTasksForTaskGroupID(ctx context.Context, taskGroupID uuid.UUID) ([]Task, error)
|
|
|
|
GetTeamByID(ctx context.Context, teamID uuid.UUID) (Team, error)
|
2020-07-05 01:02:57 +02:00
|
|
|
GetTeamMemberByID(ctx context.Context, arg GetTeamMemberByIDParams) (TeamMember, error)
|
2020-06-21 00:49:11 +02:00
|
|
|
GetTeamMembersForTeamID(ctx context.Context, teamID uuid.UUID) ([]TeamMember, error)
|
2020-08-01 03:01:14 +02:00
|
|
|
GetTeamRoleForUserID(ctx context.Context, arg GetTeamRoleForUserIDParams) (GetTeamRoleForUserIDRow, error)
|
|
|
|
GetTeamRolesForUserID(ctx context.Context, userID uuid.UUID) ([]GetTeamRolesForUserIDRow, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
GetTeamsForOrganization(ctx context.Context, organizationID uuid.UUID) ([]Team, error)
|
2020-08-01 03:01:14 +02:00
|
|
|
GetTeamsForUserIDWhereAdmin(ctx context.Context, userID uuid.UUID) ([]Team, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
GetUserAccountByID(ctx context.Context, userID uuid.UUID) (UserAccount, error)
|
|
|
|
GetUserAccountByUsername(ctx context.Context, username string) (UserAccount, error)
|
2020-08-01 03:01:14 +02:00
|
|
|
GetUserRolesForProject(ctx context.Context, arg GetUserRolesForProjectParams) (GetUserRolesForProjectRow, error)
|
2020-06-19 01:12:15 +02:00
|
|
|
SetTaskChecklistItemComplete(ctx context.Context, arg SetTaskChecklistItemCompleteParams) (TaskChecklistItem, error)
|
|
|
|
SetTaskComplete(ctx context.Context, arg SetTaskCompleteParams) (Task, error)
|
2020-06-16 00:36:59 +02:00
|
|
|
SetTaskGroupName(ctx context.Context, arg SetTaskGroupNameParams) (TaskGroup, error)
|
2020-07-16 01:20:08 +02:00
|
|
|
SetUserPassword(ctx context.Context, arg SetUserPasswordParams) (UserAccount, error)
|
2020-05-28 03:12:50 +02:00
|
|
|
UpdateProjectLabel(ctx context.Context, arg UpdateProjectLabelParams) (ProjectLabel, error)
|
|
|
|
UpdateProjectLabelColor(ctx context.Context, arg UpdateProjectLabelColorParams) (ProjectLabel, error)
|
|
|
|
UpdateProjectLabelName(ctx context.Context, arg UpdateProjectLabelNameParams) (ProjectLabel, error)
|
2020-07-05 01:02:57 +02:00
|
|
|
UpdateProjectMemberRole(ctx context.Context, arg UpdateProjectMemberRoleParams) (ProjectMember, error)
|
2020-05-31 06:11:19 +02:00
|
|
|
UpdateProjectNameByID(ctx context.Context, arg UpdateProjectNameByIDParams) (Project, error)
|
2020-07-12 09:06:11 +02:00
|
|
|
UpdateTaskChecklistItemLocation(ctx context.Context, arg UpdateTaskChecklistItemLocationParams) (TaskChecklistItem, error)
|
2020-06-19 01:12:15 +02:00
|
|
|
UpdateTaskChecklistItemName(ctx context.Context, arg UpdateTaskChecklistItemNameParams) (TaskChecklistItem, error)
|
2020-06-23 22:20:53 +02:00
|
|
|
UpdateTaskChecklistName(ctx context.Context, arg UpdateTaskChecklistNameParams) (TaskChecklist, error)
|
2020-07-12 09:06:11 +02:00
|
|
|
UpdateTaskChecklistPosition(ctx context.Context, arg UpdateTaskChecklistPositionParams) (TaskChecklist, error)
|
2020-04-20 05:02:55 +02:00
|
|
|
UpdateTaskDescription(ctx context.Context, arg UpdateTaskDescriptionParams) (Task, error)
|
2020-06-16 00:36:59 +02:00
|
|
|
UpdateTaskDueDate(ctx context.Context, arg UpdateTaskDueDateParams) (Task, error)
|
2020-04-11 04:47:43 +02:00
|
|
|
UpdateTaskGroupLocation(ctx context.Context, arg UpdateTaskGroupLocationParams) (TaskGroup, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
UpdateTaskLocation(ctx context.Context, arg UpdateTaskLocationParams) (Task, error)
|
|
|
|
UpdateTaskName(ctx context.Context, arg UpdateTaskNameParams) (Task, error)
|
2020-09-11 01:15:06 +02:00
|
|
|
UpdateTaskPosition(ctx context.Context, arg UpdateTaskPositionParams) (Task, error)
|
2020-07-05 01:02:57 +02:00
|
|
|
UpdateTeamMemberRole(ctx context.Context, arg UpdateTeamMemberRoleParams) (TeamMember, error)
|
2020-09-11 20:54:43 +02:00
|
|
|
UpdateUserAccountInfo(ctx context.Context, arg UpdateUserAccountInfoParams) (UserAccount, error)
|
2020-06-13 00:21:58 +02:00
|
|
|
UpdateUserAccountProfileAvatarURL(ctx context.Context, arg UpdateUserAccountProfileAvatarURLParams) (UserAccount, error)
|
2020-07-12 09:06:11 +02:00
|
|
|
UpdateUserRole(ctx context.Context, arg UpdateUserRoleParams) (UserAccount, error)
|
2020-04-10 04:40:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
var _ Querier = (*Queries)(nil)
|