* perf: don't fetch all the hosts #18319 followup * undo for user events * undo for regular user events * fix: limitHostsToThree -> hostsLimit * accepting hostLimit prop in <Booker /> * Update booking.tsx * hostLimit -> hostsLimit
This commit is contained in:
1 parent
8d2dc0bbe5
commit
56cd9cef8b
10 files changed
+138
-66
No files matched your search
@@ -1251,6 +1251,15 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "hostsLimit",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"description": "Specifies the maximum number of hosts to include in the response. This limit helps optimize performance. If not provided, all Hosts will be fetched.",
|
||||
"schema": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@@ -5889,6 +5898,15 @@
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "hostsLimit",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"description": "Specifies the maximum number of hosts to include in the response. This limit helps optimize performance. If not provided, all Hosts will be fetched.",
|
||||
"schema": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
||||
Reference in new issue
Block a user