Query
query GlobalSearch($query: String!) {
globalSearch(query: $query) {
items {
key
kind
group
title
subtitle
href
}
}
}Variables
{
"query": "string"
}Response
{
"data": {
"globalSearch": {
"items": [
{
"key": "id",
"kind": "WORKTREE",
"group": "WORKTREES",
"title": "string",
"subtitle": "string",
"href": "string"
}
]
}
}
}Queries
globalSearch
Returns a global search payload.
QUERY
globalSearch(query: String!, firstPerGroup: Int, relatedFirst: Int): GlobalSearchPayload!Arguments
query
String!
required
Text used to filter matching records.
firstPerGroup
Int
default:5
The first per group used to filter or perform the operation. Defaults to 5.
relatedFirst
Int
default:3
The related first used to filter or perform the operation. Defaults to 3.
Returns
items
[GlobalSearchItem!]!
Items associated with this global search payload.
Query
query GlobalSearch($query: String!) {
globalSearch(query: $query) {
items {
key
kind
group
title
subtitle
href
}
}
}Variables
{
"query": "string"
}Response
{
"data": {
"globalSearch": {
"items": [
{
"key": "id",
"kind": "WORKTREE",
"group": "WORKTREES",
"title": "string",
"subtitle": "string",
"href": "string"
}
]
}
}
}