Insights: add insight dashboards API query
Created by: coury-clark
Closes #25648 (closed)
- Adds some API / DB scaffolding to the new insight dashboards API
- Adds the
dashboards
query with pagination - Has a stub resolver for insight views under dashboard that only returns the ID. This will get replaced soon in a future PR.
- User permissions are not actually restricted at the moment so we can easily testing using the API. https://github.com/sourcegraph/sourcegraph/issues/25708
Currently, any views that get associated with dashboards will get unlinked as soon as the next settings migration occurs. This is acceptable for the moment since this is largely just an infrastructure PR.