Commit 2e408a33 authored by Alexander Turinske's avatar Alexander Turinske

Add instance dashboard graphql queries/mutations

- get projects for instance security dashboard
- get projects by search term
- add project
- remove projects
parent a127ae98
mutation addProjectToSecurityDashboard($id: ID!) {
addProjectToSecurityDashboard(input: {id: $id}) {
errors
}
}
mutation deleteProjectFromSecurityDashboard($id: ID!) {
removeProjectFromSecurityDashboard(input: {id: $id}) {
errors
}
}
query getInstanceSecurityDashboardProjects {
instanceSecurityDashboard {
projects {
nodes {
id
name
}
}
}
}
query getProjects($search: String!) {
projects(search: $search, membership: true) {
nodes {
id
name
}
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment