From 06b487a14c0f63fa88315f150a83f12c9bc8a3fa Mon Sep 17 00:00:00 2001 From: Huy Hoang Date: Thu, 9 Mar 2023 17:15:31 +0700 Subject: [PATCH] feat: update storage provider --- manifest.json | 2 +- package.json | 4 ++-- src/providers/StorageService.ts | 3 ++- yarn.lock | 14 +++++++------- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/manifest.json b/manifest.json index a518826..4477585 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "altair-graphql-plugin-github-sync", - "version": "1.0.6", + "version": "1.0.7", "display_name": "Altair Github Sync", "description": "Save altair collections to github gist", "author_email": "boydaihungst@gmail.com", diff --git a/package.json b/package.json index cb842cf..ad7811c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "altair-graphql-plugin-github-sync", - "version": "1.0.6", + "version": "1.0.7", "private": false, "description": "Altair Sync Gist plugin", "scripts": { @@ -20,7 +20,7 @@ "@emotion/core": "^10.0.35", "@types/uuid": "^8.3.3", "axios": "^0.21.1", - "dexie": "^3.2.0", + "dexie": "^3.2.2", "lodash": "^4.17.21", "uuid": "^8.3.2", "vue": "3.2.26" diff --git a/src/providers/StorageService.ts b/src/providers/StorageService.ts index f683c1b..4dd0792 100644 --- a/src/providers/StorageService.ts +++ b/src/providers/StorageService.ts @@ -28,7 +28,7 @@ export class StorageService extends Dexie { * * @param databaseVersion https://github.com/altair-graphql/altair/blob/master/packages/altair-app/src/app/modules/altair/services/storage/storage.service.ts */ - dexieSchemaVersion = 4; + dexieSchemaVersion = 5; constructor() { super('AltairDB'); @@ -40,6 +40,7 @@ export class StorageService extends Dexie { queryCollections: '++id, title, parentPath', appState: 'key', selectedFiles: 'id, windowId', + localActionLogs: '++id', }); } diff --git a/yarn.lock b/yarn.lock index a9f6943..c3d1570 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1229,9 +1229,9 @@ camelcase@^5.3.1: integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== caniuse-lite@^1.0.30001272, caniuse-lite@^1.0.30001280: - version "1.0.30001286" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001286.tgz#3e9debad420419618cfdf52dc9b6572b28a8fff6" - integrity sha512-zaEMRH6xg8ESMi2eQ3R4eZ5qw/hJiVsO/HlLwniIwErij0JDr9P+8V4dtx1l+kLq6j3yy8l8W4fst1lBnat5wQ== + version "1.0.30001464" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001464.tgz" + integrity sha512-oww27MtUmusatpRpCGSOneQk2/l5czXANDSFvsc7VuOQ86s3ANhZetpwXNf1zY/zdfP63Xvjz325DAdAoES13g== chalk@^2.0.0, chalk@^2.0.1, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" @@ -1717,10 +1717,10 @@ detective@^5.2.0: defined "^1.0.0" minimist "^1.1.1" -dexie@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/dexie/-/dexie-3.2.0.tgz#a1b0267b111f9422c4126da90d6b121b1deabeab" - integrity sha512-OpS8ss1CLHYAhxRu6hT+/Gt1uLhKCf0O18xHBdRGlemOWXXRiiOZ0ty1/bACIJzGt1DGmvarzrPwYYt9EkRZfw== +dexie@^3.2.2: + version "3.2.3" + resolved "https://registry.yarnpkg.com/dexie/-/dexie-3.2.3.tgz#f35c91ca797599df8e771b998e9ae9669c877f8c" + integrity sha512-iHayBd4UYryDCVUNa3PMsJMEnd8yjyh5p7a+RFeC8i8n476BC9wMhVvqiImq5zJZJf5Tuer+s4SSj+AA3x+ZbQ== didyoumean@^1.2.2: version "1.2.2"