mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 20:35:24 +00:00
45 lines
1.3 KiB
Text
45 lines
1.3 KiB
Text
{/* THIS IS A AUTO-GENERATED FILE. DO NOT MODIFY MANUALLY! */}
|
|
```json
|
|
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"title": "SearchContext",
|
|
"description": "Search context",
|
|
"properties": {
|
|
"include": {
|
|
"type": "array",
|
|
"description": "List of repositories to include in the search context. Expected to be formatted as a URL without any leading http(s):// prefix (e.g., 'github.com/sourcebot-dev/sourcebot'). Glob patterns are supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"examples": [
|
|
[
|
|
"github.com/sourcebot-dev/**",
|
|
"gerrit.example.org/sub/path/**"
|
|
]
|
|
]
|
|
},
|
|
"exclude": {
|
|
"type": "array",
|
|
"description": "List of repositories to exclude from the search context. Expected to be formatted as a URL without any leading http(s):// prefix (e.g., 'github.com/sourcebot-dev/sourcebot'). Glob patterns are supported.",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"examples": [
|
|
[
|
|
"github.com/sourcebot-dev/sourcebot",
|
|
"gerrit.example.org/sub/path/**"
|
|
]
|
|
]
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"description": "Optional description of the search context that surfaces in the UI."
|
|
}
|
|
},
|
|
"required": [
|
|
"include"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
```
|