Skip to content

Latest commit

 

History

History
156 lines (153 loc) · 3.48 KB

File metadata and controls

156 lines (153 loc) · 3.48 KB

Supported Linear GraphQL Operations

LINEAR_QUERIES = [
    "issue",
    "issueRelation",
    "issueRelations",
    "attachmentSources",
    "attachment",
    "attachmentIssue",
    "attachments",
    "attachmentsForURL",
    "issueFigmaFileKeySearch",
    "searchIssues",
    "issueSearch",
    "user",
    "issueVcsBranchSearch",
    "issues",
    "users",
    "viewer",
    "administrableTeams",
    "archivedTeams",
    "team",
    "teams",
    "organization",
    "organizationExists",
    "organizationInvite",
    "organizationInvites",
    "projectStatus",
    "projectStatuses",
    "projectStatusProjectCount",
    "projectLabel",
    "projectLabels",
    "projectMilestone",
    "projectMilestones",
    "projectRelation",
    "projectRelations",
    "searchProjects",
    "notification",
    "notifications",
    "initiative",
    "initiatives",
    "document",
    "cycles",
    "documents",
    "searchDocuments",
    "cycle",
    "teamMembership",
    "teamMemberships",
    "initiativeRelation",
    "initiativeRelations",
    "initiativeToProject",
    "initiativeToProjects",
    "externalUser",
    "externalUsers",
    "workflowState",
    "workflowStates",
]

LINEAR_MUTATIONS = [
    "organizationInviteCreate",
    "organizationInviteUpdate",
    "organizationInviteDelete",
    "initiativeToProjectCreate",
    "initiativeToProjectUpdate",
    "initiativeToProjectDelete",
    "commentCreate",
    "commentResolve",
    "commentUnresolve",
    "commentUpdate",
    "commentDelete",
    "attachmentCreate",
    "attachmentDelete",
    "attachmentLinkURL",
    "attachmentUpdate",
    "cycleCreate",
    "cycleArchive",
    "cycleShiftAll",
    "cycleStartUpcomingCycleToday",
    "cycleUpdate",
    "documentCreate",
    "documentUpdate",
    "documentDelete",
    "documentUnarchive",
    "initiativeCreate",
    "initiativeUpdate",
    "initiativeArchive",
    "initiativeUnarchive",
    "initiativeDelete",
    "initiativeRelationCreate",
    "initiativeRelationDelete",
    "initiativeRelationUpdate",
    "issueAddLabel",
    "issueRemoveLabel",
    "issueArchive",
    "issueUnarchive",
    "issueUnsubscribe",
    "issueDelete",
    "issueUpdate",
    "issueCreate",
    "issueBatchCreate",
    "issueBatchUpdate",
    "issueReminder",
    "issueSubscribe",
    "issueLabelCreate",
    "issueLabelUpdate",
    "issueLabelDelete",
    "issueRelationCreate",
    "issueRelationUpdate",
    "issueRelationDelete",
    "userPromoteAdmin",
    "userDemoteAdmin",
    "userDemoteMember",
    "userPromoteMember",
    "userUpdate",
    "organizationCancelDelete",
    "organizationDeleteChallenge",
    "organizationDelete",
    "organizationUpdate",
    "projectCreate",
    "projectAddLabel",
    "projectRemoveLabel",
    "projectArchive",
    "projectUnarchive",
    "projectDelete",
    "projectReassignStatus",
    "projectUpdate",
    "projectLabelCreate",
    "projectLabelDelete",
    "projectLabelUpdate",
    "projectMilestoneCreate",
    "projectMilestoneUpdate",
    "projectMilestoneDelete",
    "projectMilestoneMove",
    "projectRelationCreate",
    "projectRelationDelete",
    "projectRelationUpdate",
    "projectStatusCreate",
    "projectStatusArchive",
    "projectStatusUnarchive",
    "projectStatusUpdate",
    "teamCreate",
    "teamUpdate",
    "teamCyclesDelete",
    "teamDelete",
    "teamUnarchive",
    "teamKeyDelete",
    "teamMembershipCreate",
    "teamMembershipDelete",
    "teamMembershipUpdate",
    "workflowStateArchive",
    "workflowStateCreate",
    "workflowStateUpdate",
]