From e639dd7202efc5edf92ccb6587c8484fe769ef0c Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 30 Oct 2022 22:50:07 -0700 Subject: [PATCH] Add missing global variable --- packages/mindplot/src/indexLoader.ts | 1 - packages/webapp/src/@types/index.d.ts | 1 + yarn.lock | 48 +++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) diff --git a/packages/mindplot/src/indexLoader.ts b/packages/mindplot/src/indexLoader.ts index 8129a361..ba9789cf 100644 --- a/packages/mindplot/src/indexLoader.ts +++ b/packages/mindplot/src/indexLoader.ts @@ -16,7 +16,6 @@ * limitations under the License. */ import jquery from 'jquery'; -import {} from './components/widget/ToolbarNotifier'; import PersistenceManager from './components/PersistenceManager'; import LocalStorageManager from './components/LocalStorageManager'; import MindplotWebComponent from './components/MindplotWebComponent'; diff --git a/packages/webapp/src/@types/index.d.ts b/packages/webapp/src/@types/index.d.ts index 66e57605..3b94e2bf 100644 --- a/packages/webapp/src/@types/index.d.ts +++ b/packages/webapp/src/@types/index.d.ts @@ -4,6 +4,7 @@ declare module '*.wxml'; declare global { const isAuth: boolean; const mapId: number; + const historyId: number; const userOptions: { zoom: string | number } | null; const mindmapLocked: boolean; const mindmapLockedMsg: string; diff --git a/yarn.lock b/yarn.lock index c2937d25..b69e5e9e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5684,6 +5684,54 @@ cypress@*: untildify "^4.0.0" yauzl "^2.10.0" +cypress@^10.11.0: + version "10.11.0" + resolved "https://registry.yarnpkg.com/cypress/-/cypress-10.11.0.tgz#e9fbdd7638bae3d8fb7619fd75a6330d11ebb4e8" + integrity sha512-lsaE7dprw5DoXM00skni6W5ElVVLGAdRUUdZjX2dYsGjbY/QnpzWZ95Zom1mkGg0hAaO/QVTZoFVS7Jgr/GUPA== + dependencies: + "@cypress/request" "^2.88.10" + "@cypress/xvfb" "^1.2.4" + "@types/node" "^14.14.31" + "@types/sinonjs__fake-timers" "8.1.1" + "@types/sizzle" "^2.3.2" + arch "^2.2.0" + blob-util "^2.0.2" + bluebird "^3.7.2" + buffer "^5.6.0" + cachedir "^2.3.0" + chalk "^4.1.0" + check-more-types "^2.24.0" + cli-cursor "^3.1.0" + cli-table3 "~0.6.1" + commander "^5.1.0" + common-tags "^1.8.0" + dayjs "^1.10.4" + debug "^4.3.2" + enquirer "^2.3.6" + eventemitter2 "6.4.7" + execa "4.1.0" + executable "^4.1.1" + extract-zip "2.0.1" + figures "^3.2.0" + fs-extra "^9.1.0" + getos "^3.2.1" + is-ci "^3.0.0" + is-installed-globally "~0.4.0" + lazy-ass "^1.6.0" + listr2 "^3.8.3" + lodash "^4.17.21" + log-symbols "^4.0.0" + minimist "^1.2.6" + ospath "^1.2.2" + pretty-bytes "^5.6.0" + proxy-from-env "1.0.0" + request-progress "^3.0.0" + semver "^7.3.2" + supports-color "^8.1.1" + tmp "~0.2.1" + untildify "^4.0.0" + yauzl "^2.10.0" + cypress@^8.4.1: version "8.7.0" resolved "https://registry.yarnpkg.com/cypress/-/cypress-8.7.0.tgz#2ee371f383d8f233d3425b6cc26ddeec2668b6da"