* 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 from73e601f
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 commit61705ca361
. * Don't introduce err.response until we deprecate err.res
1.4 KiB
1.4 KiB
Home > kibana-plugin-public > SavedObjectsCreateOptions
SavedObjectsCreateOptions interface
Signature:
export interface SavedObjectsCreateOptions
Properties
Property | Type | Description |
---|---|---|
id | string |
(Not recommended) Specify an id instead of having the saved objects service generate one for you. |
migrationVersion | SavedObjectsMigrationVersion |
Information about the migrations that have been applied to this SavedObject. When Kibana starts up, KibanaMigrator detects outdated documents and migrates them based on this value. For each migration that has been applied, the plugin's name is used as a key and the latest migration version as the value. |
overwrite | boolean |
If a document with the given id already exists, overwrite it's contents (default=false). |
references | SavedObjectReference[] |