2020-07-05 01:02:57 +02:00
|
|
|
scalar Time
|
|
|
|
scalar UUID
|
|
|
|
scalar Upload
|
|
|
|
|
|
|
|
enum RoleCode {
|
|
|
|
owner
|
|
|
|
admin
|
|
|
|
member
|
|
|
|
observer
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProjectLabel {
|
|
|
|
id: ID!
|
|
|
|
createdDate: Time!
|
|
|
|
labelColor: LabelColor!
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
|
|
|
|
type LabelColor {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
position: Float!
|
|
|
|
colorHex: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type TaskLabel {
|
|
|
|
id: ID!
|
|
|
|
projectLabel: ProjectLabel!
|
|
|
|
assignedDate: Time!
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProfileIcon {
|
|
|
|
url: String
|
|
|
|
initials: String
|
|
|
|
bgColor: String
|
|
|
|
}
|
|
|
|
|
2020-07-12 09:06:11 +02:00
|
|
|
type OwnersList {
|
|
|
|
projects: [UUID!]!
|
|
|
|
teams: [UUID!]!
|
|
|
|
}
|
|
|
|
|
2020-07-05 01:02:57 +02:00
|
|
|
type Member {
|
|
|
|
id: ID!
|
|
|
|
role: Role!
|
|
|
|
fullName: String!
|
|
|
|
username: String!
|
|
|
|
profileIcon: ProfileIcon!
|
2020-07-18 02:40:05 +02:00
|
|
|
owned: OwnedList!
|
|
|
|
member: MemberList!
|
2020-07-05 01:02:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type Role {
|
|
|
|
code: String!
|
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
2020-07-18 02:40:05 +02:00
|
|
|
type OwnedList {
|
|
|
|
teams: [Team!]!
|
|
|
|
projects: [Project!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
type MemberList {
|
|
|
|
teams: [Team!]!
|
|
|
|
projects: [Project!]!
|
|
|
|
}
|
|
|
|
|
2020-07-05 01:02:57 +02:00
|
|
|
type UserAccount {
|
|
|
|
id: ID!
|
|
|
|
email: String!
|
|
|
|
createdAt: Time!
|
|
|
|
fullName: String!
|
|
|
|
initials: String!
|
2020-09-11 20:54:43 +02:00
|
|
|
bio: String!
|
2020-07-05 01:02:57 +02:00
|
|
|
role: Role!
|
|
|
|
username: String!
|
|
|
|
profileIcon: ProfileIcon!
|
2020-07-18 02:40:05 +02:00
|
|
|
owned: OwnedList!
|
|
|
|
member: MemberList!
|
2020-07-05 01:02:57 +02:00
|
|
|
}
|
|
|
|
|
2020-10-21 01:52:09 +02:00
|
|
|
type InvitedUserAccount {
|
|
|
|
id: ID!
|
|
|
|
email: String!
|
|
|
|
invitedOn: Time!
|
|
|
|
member: MemberList!
|
|
|
|
}
|
|
|
|
|
2020-07-05 01:02:57 +02:00
|
|
|
type Team {
|
|
|
|
id: ID!
|
|
|
|
createdAt: Time!
|
|
|
|
name: String!
|
2021-04-29 04:32:19 +02:00
|
|
|
permission: TeamPermission!
|
2020-07-05 01:02:57 +02:00
|
|
|
members: [Member!]!
|
|
|
|
}
|
|
|
|
|
2020-10-21 01:52:09 +02:00
|
|
|
|
|
|
|
type InvitedMember {
|
|
|
|
email: String!
|
|
|
|
invitedOn: Time!
|
|
|
|
}
|
|
|
|
|
2021-04-29 04:32:19 +02:00
|
|
|
type TeamPermission {
|
|
|
|
team: RoleCode!
|
|
|
|
org: RoleCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
type ProjectPermission {
|
|
|
|
team: RoleCode!
|
|
|
|
project: RoleCode!
|
|
|
|
org: RoleCode!
|
|
|
|
}
|
|
|
|
|
2020-07-05 01:02:57 +02:00
|
|
|
type Project {
|
|
|
|
id: ID!
|
|
|
|
createdAt: Time!
|
|
|
|
name: String!
|
2020-09-20 03:20:36 +02:00
|
|
|
team: Team
|
2020-07-05 01:02:57 +02:00
|
|
|
taskGroups: [TaskGroup!]!
|
|
|
|
members: [Member!]!
|
2020-10-21 01:52:09 +02:00
|
|
|
invitedMembers: [InvitedMember!]!
|
2021-04-29 04:32:19 +02:00
|
|
|
permission: ProjectPermission!
|
2020-07-05 01:02:57 +02:00
|
|
|
labels: [ProjectLabel!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
type TaskGroup {
|
|
|
|
id: ID!
|
|
|
|
projectID: String!
|
|
|
|
createdAt: Time!
|
|
|
|
name: String!
|
|
|
|
position: Float!
|
|
|
|
tasks: [Task!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
type ChecklistBadge {
|
|
|
|
complete: Int!
|
|
|
|
total: Int!
|
|
|
|
}
|
|
|
|
|
|
|
|
type TaskBadges {
|
|
|
|
checklist: ChecklistBadge
|
|
|
|
}
|
|
|
|
|
2020-12-19 03:34:35 +01:00
|
|
|
type CausedBy {
|
|
|
|
id: ID!
|
|
|
|
fullName: String!
|
|
|
|
profileIcon: ProfileIcon
|
|
|
|
}
|
|
|
|
|
|
|
|
type TaskActivityData {
|
|
|
|
name: String!
|
|
|
|
value: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
enum ActivityType {
|
|
|
|
TASK_ADDED
|
|
|
|
TASK_MOVED
|
|
|
|
TASK_MARKED_COMPLETE
|
|
|
|
TASK_MARKED_INCOMPLETE
|
|
|
|
TASK_DUE_DATE_CHANGED
|
|
|
|
TASK_DUE_DATE_ADDED
|
|
|
|
TASK_DUE_DATE_REMOVED
|
|
|
|
TASK_CHECKLIST_CHANGED
|
|
|
|
TASK_CHECKLIST_ADDED
|
|
|
|
TASK_CHECKLIST_REMOVED
|
|
|
|
}
|
|
|
|
|
|
|
|
type TaskActivity {
|
|
|
|
id: ID!
|
|
|
|
type: ActivityType!
|
|
|
|
data: [TaskActivityData!]!
|
|
|
|
causedBy: CausedBy!
|
|
|
|
createdAt: Time!
|
|
|
|
}
|
|
|
|
|
2020-07-05 01:02:57 +02:00
|
|
|
type Task {
|
|
|
|
id: ID!
|
|
|
|
taskGroup: TaskGroup!
|
|
|
|
createdAt: Time!
|
|
|
|
name: String!
|
|
|
|
position: Float!
|
|
|
|
description: String
|
|
|
|
dueDate: Time
|
2021-01-01 21:51:40 +01:00
|
|
|
hasTime: Boolean!
|
2020-07-05 01:02:57 +02:00
|
|
|
complete: Boolean!
|
2020-08-28 01:57:23 +02:00
|
|
|
completedAt: Time
|
2020-07-05 01:02:57 +02:00
|
|
|
assigned: [Member!]!
|
|
|
|
labels: [TaskLabel!]!
|
|
|
|
checklists: [TaskChecklist!]!
|
|
|
|
badges: TaskBadges!
|
2020-12-19 03:34:35 +01:00
|
|
|
activity: [TaskActivity!]!
|
|
|
|
comments: [TaskComment!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
type CreatedBy {
|
|
|
|
id: ID!
|
|
|
|
fullName: String!
|
|
|
|
profileIcon: ProfileIcon!
|
|
|
|
}
|
|
|
|
|
|
|
|
type TaskComment {
|
|
|
|
id: ID!
|
|
|
|
createdAt: Time!
|
|
|
|
updatedAt: Time
|
|
|
|
message: String!
|
|
|
|
createdBy: CreatedBy!
|
|
|
|
pinned: Boolean!
|
2020-07-05 01:02:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
type Organization {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type TaskChecklistItem {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
taskChecklistID: UUID!
|
|
|
|
complete: Boolean!
|
|
|
|
position: Float!
|
|
|
|
dueDate: Time!
|
|
|
|
}
|
|
|
|
|
|
|
|
type TaskChecklist {
|
|
|
|
id: ID!
|
|
|
|
name: String!
|
|
|
|
position: Float!
|
|
|
|
items: [TaskChecklistItem!]!
|
|
|
|
}
|