kibana/docs/development/core/public/kibana-plugin-public.savedobjectsfindoptions.md
Rudolf Meijering e137477b5a
[Core] Public saved objects client (#39891)
* Move SavedObjectClient files to core/public

* Initial SavedObjectsService in public Core

* Public SavedObjectsClient tests

* Import SimpleSavedObject from src/core/public

* Use types from source files for kibana.d.ts

* Add html raw loader to x-pack/jest

* Cleanup

* Drop case utilities and improve test coverage

* Update types and documentation

* Fix build breaking when importing directly from /server in /public

* Ensure that all option paramaters are picked and renamed

* Fix option mapping and introduce stronger types

* Eslint: allow imports from src/core/*/types

* Add compatibility layer for kfetch vs http.fetch error responses

* Improve documentation

* Expose SavedObjectsMigrationLogger

* Documentation and type tweaks

* Revert type changes from 73e601f and update api docs

* Refactor request into savedObjectFetch + test

* Make legacy SavedObject compatible with http.fetch exceptions

* Fix types and tests

* simple_saved_object import from src/core/server

* server imports from root instead of server/types

* Make SavedObjectsService a class

* Don't pick unkown keys from server response

* Rename SavedObjectsFindResponse to SavedObjectsFindResponsePublic

* Remove err.response from SavedObjects fetch errors

* Revert "Remove err.response from SavedObjects fetch errors"

This reverts commit 61705ca361.

* Don't introduce err.response until we deprecate err.res
2019-08-06 20:53:05 +02:00

1.9 KiB

Home > kibana-plugin-public > SavedObjectsFindOptions

SavedObjectsFindOptions interface

Signature:

export interface SavedObjectsFindOptions extends SavedObjectsBaseOptions 

Properties

Property Type Description
defaultSearchOperator 'AND' | 'OR'
fields string[] An array of fields to include in the results
hasReference {
type: string;
id: string;
}
page number
perPage number
search string Search documents using the Elasticsearch Simple Query String syntax. See Elasticsearch Simple Query String query argument for more information
searchFields string[] The fields to perform the parsed query against. See Elasticsearch Simple Query String fields argument for more information
sortField string
sortOrder string
type string | string[]