search: discourage use of IndexableDocument in the frontend
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
@@ -88,7 +88,10 @@ export interface SearchDocument {
|
||||
}
|
||||
|
||||
/**
|
||||
* Properties related to indexing of documents.
|
||||
* Properties related to indexing of documents. This type is only useful for
|
||||
* backends working directly with documents being inserted or retrieved from
|
||||
* search indexes. When dealing with documents in the frontend, use
|
||||
* {@link SearchDocument}.
|
||||
* @beta
|
||||
*/
|
||||
export type IndexableDocument = SearchDocument & {
|
||||
|
||||
Reference in New Issue
Block a user