code insights: add new user/org/global settings schema
Created by: slimsag
This adds a schema definition for code insights to be stored in user/org/global settings.
I drew inspiration from the current schema the frontend uses, and also ensured this aligns closely with the GraphQL schema #17842
Example which describes an insight with two series from search results:
"insights": [
{
"title": "fmt usage",
"description": "fmt.Errorf/fmt.Printf usage",
"series": [
{
"label": "fmt.Errorf",
"search": "errorf",
},
{
"label": "printf",
"search": "fmt.Printf",
}
]
}
]
Signed-off-by: Stephen Gutekanst [email protected]