Commit c2d86ec8 authored by Robert Knight's avatar Robert Knight

Document unofficial `_separate_replies` search query param that we use

parent d95b36f3
...@@ -152,6 +152,8 @@ ...@@ -152,6 +152,8 @@
* @prop {number} [limit] * @prop {number} [limit]
* @prop {string} [order] * @prop {string} [order]
* @prop {string} [sort] * @prop {string} [sort]
* @prop {boolean} [_separate_replies] - Unofficial param that causes replies
* to be returned in a separate `replies` field
*/ */
/** /**
...@@ -162,7 +164,8 @@ ...@@ -162,7 +164,8 @@
* @typedef SearchResult * @typedef SearchResult
* @prop {number} total * @prop {number} total
* @prop {Annotation[]} rows * @prop {Annotation[]} rows
* @prop {Annotation[]} [replies] * @prop {Annotation[]} [replies] - Unofficial property that is populated if
* `_separate_replies` query param was specified
*/ */
// Make TypeScript treat this file as a module. // Make TypeScript treat this file as a module.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment