From 00cd012878703681e466f865f89c5f07cc95f35c Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Thu, 22 Sep 2022 12:49:26 +0200 Subject: [PATCH] 8.5.0 -> 8.6.0 --- .../search/saved_objects/search_session_migration.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/data/server/search/saved_objects/search_session_migration.ts b/src/plugins/data/server/search/saved_objects/search_session_migration.ts index af27a9c8825b6..fec4e3c33a93b 100644 --- a/src/plugins/data/server/search/saved_objects/search_session_migration.ts +++ b/src/plugins/data/server/search/saved_objects/search_session_migration.ts @@ -39,21 +39,21 @@ export type SearchSessionSavedObjectAttributesPre$7$14$0 = Omit< * from using `urlGeneratorId` to `locatorId`. */ export type SearchSessionSavedObjectAttributesPre$8$0$0 = Omit< - SearchSessionSavedObjectAttributesPre$8$5$0, + SearchSessionSavedObjectAttributesPre$8$6$0, 'locatorId' > & { urlGeneratorId?: string; }; /** - * In 8.5.0 with search session refactoring and moving away from using task manager we are no longer track of: + * In 8.6.0 with search session refactoring and moving away from using task manager we are no longer track of: * - `completed` - when session was completed * - `persisted` - if session was saved * - `touched` - when session was last updated (touched by the user) * - `status` - status is no longer persisted. Except 'canceled' which was moved to `isCanceled` * - `status` and `error` in idMapping (search info) */ -export type SearchSessionSavedObjectAttributesPre$8$5$0 = Omit< +export type SearchSessionSavedObjectAttributesPre$8$6$0 = Omit< SearchSessionSavedObjectAttributesLatest, 'idMapping' | 'isCanceled' > & { @@ -116,8 +116,8 @@ export const searchSessionSavedObjectMigrations: SavedObjectMigrationMap = { const attributes = { ...otherAttrs, locatorId }; return { ...doc, attributes }; }, - '8.5.0': ( - doc: SavedObjectUnsanitizedDoc + '8.6.0': ( + doc: SavedObjectUnsanitizedDoc ): SavedObjectUnsanitizedDoc => { const { attributes: { touched, completed, persisted, idMapping, status, ...otherAttrs },