Skip to content

Commit 0e1e7ec

Browse files
jesuswrkibanamachine
authored andcommitted
Clean code related to savedObjectClientContrat that wasn't being used (elastic#200629)
## Summary Resolves: elastic#197216 Removed all code that wasn't being used in https://github.com/elastic/kibana/tree/main/src/plugins/saved_objects/public. Didn't remove the actual client since it's still being used here: https://github.com/elastic/kibana/blob/dbab2214e9451d3a262007660cc0b7cdcea5307c/src/plugins/home/public/application/kibana_services.ts#L46-L48 Checked everything with `node scripts/type_check` ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [ ] The PR description includes the appropriate Release Notes section, and the correct `release_node:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <[email protected]>
1 parent 0b10c21 commit 0e1e7ec

24 files changed

+7
-1010
lines changed

src/plugins/saved_objects/public/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { SavedObjectsPublicPlugin } from './plugin';
1111

1212
export type { OnSaveProps, OriginSaveModalProps, SaveModalState, SaveResult } from './save_modal';
1313
export { SavedObjectSaveModal, SavedObjectSaveModalOrigin, showSaveModal } from './save_modal';
14-
export { checkForDuplicateTitle, saveWithConfirmation, isErrorNonFatal } from './saved_object';
14+
export { isErrorNonFatal } from './saved_object';
1515
export type { SavedObjectSaveOpts, SavedObject, SavedObjectConfig } from './types';
1616

1717
export const plugin = () => new SavedObjectsPublicPlugin();

src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts

Lines changed: 0 additions & 101 deletions
This file was deleted.

src/plugins/saved_objects/public/saved_object/helpers/check_for_duplicate_title.ts

Lines changed: 0 additions & 65 deletions
This file was deleted.

src/plugins/saved_objects/public/saved_object/helpers/confirm_modal_promise.tsx

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/plugins/saved_objects/public/saved_object/helpers/create_source.ts

Lines changed: 0 additions & 74 deletions
This file was deleted.

src/plugins/saved_objects/public/saved_object/helpers/display_duplicate_title_confirm_modal.ts

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/plugins/saved_objects/public/saved_object/helpers/field_mapping/index.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)