-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Maps] move MapSavedObject type out of telemetry #60127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d569213
8e3b639
f3c7722
57818a2
4fea376
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,6 @@ | |
|
|
||
| ## SavedObject interface | ||
|
|
||
|
|
||
| <b>Signature:</b> | ||
|
|
||
| ```typescript | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,6 @@ | |
|
|
||
| ## SavedObject interface | ||
|
|
||
|
|
||
| <b>Signature:</b> | ||
|
|
||
| ```typescript | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| /* | ||
| * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
| * or more contributor license agreements. Licensed under the Elastic License; | ||
| * you may not use this file except in compliance with the Elastic License. | ||
| */ | ||
| /* eslint-disable @typescript-eslint/consistent-type-definitions */ | ||
|
|
||
| import { SavedObject } from '../../../../src/core/types/saved_objects'; | ||
|
|
||
| export type MapSavedObjectAttributes = { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we changing from
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have started the precedent in https://github.com/elastic/kibana/blob/master/x-pack/legacy/plugins/maps/common/descriptor_types.d.ts to use |
||
| title?: string; | ||
| description?: string; | ||
| mapStateJSON?: string; | ||
| layerListJSON?: string; | ||
| uiStateJSON?: string; | ||
| bounds?: { | ||
| type?: string; | ||
| coordinates?: []; | ||
| }; | ||
| }; | ||
|
|
||
| export type MapSavedObject = SavedObject<MapSavedObjectAttributes>; | ||
Uh oh!
There was an error while loading. Please reload this page.