Skip to content

Commit 8d95c49

Browse files
committed
Exported decorators for state to a separate package
1 parent d1d0156 commit 8d95c49

File tree

5 files changed

+9
-45
lines changed

5 files changed

+9
-45
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@
128128
"vue-router": "3.4.5",
129129
"vuetify": "2.3.10",
130130
"vuex": "3.5.1",
131-
"vuex-module-decorators": "1.0.1"
131+
"vuex-module-decorators": "1.0.1",
132+
"vuex-module-decorators-state": "1.0.0"
132133
},
133134
"_moduleAliases": {
134135
"@/": "./src/"

src/store/modules/alerts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {AlertModel, AlertType} from "@/types/model";
33
import {getUniqueId, sleep} from "@/utils/helpers";
44
import {ApiConsts} from "@/utils/consts";
55
import {IAlertsState} from "@/types/store";
6-
import {stateDecoratorFactory} from "@/store/stateDecoratorFactory";
6+
import {stateDecoratorFactory} from "vuex-module-decorators-state";
77
import {store} from "@/store/store";
88

99
/**

src/store/modules/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {Module, Mutation, VuexModule, getModule} from "vuex-module-decorators";
22
import {Branch} from "@/types/model";
33
import {IGithubState} from "@/types/store";
4-
import {stateDecoratorFactory} from "@/store/stateDecoratorFactory";
4+
import {stateDecoratorFactory} from "vuex-module-decorators-state";
55
import {store} from "@/store/store";
66

77
/**

src/store/stateDecoratorFactory.ts

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

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13162,6 +13162,11 @@ vuetify@^2.2.28:
1316213162
resolved "https://registry.yarnpkg.com/vuetify/-/vuetify-2.3.12.tgz#799410de0878d8aae10cfae14e40549b9a88ca87"
1316313163
integrity sha512-FSt1pzpf0/Lh0xuctAPB7RiLbUl7bzVc7ejbXLLhfmgm7zD7yabuhVYuyVda/SzokjZMGS3j1lNu2lLfdrz0oQ==
1316413164

13165+
vuex-module-decorators-state@^1.0.0:
13166+
version "1.0.0"
13167+
resolved "https://registry.yarnpkg.com/vuex-module-decorators-state/-/vuex-module-decorators-state-1.0.0.tgz#d2cd6579ae348a54543011e0ccc7c43d8d4b8020"
13168+
integrity sha512-ZH76Y/TqrFfwJtGfEjuCm/0aTwcBUINdTo6PRLm3k+p9RbiNArpsM78THzKs6dcuvOmHqa+HsDqGg97smSXjCQ==
13169+
1316513170
vuex-module-decorators@1.0.1:
1316613171
version "1.0.1"
1316713172
resolved "https://registry.yarnpkg.com/vuex-module-decorators/-/vuex-module-decorators-1.0.1.tgz#d34dafb5428a3636f1c26d3d014c15fc9659ccd0"

0 commit comments

Comments
 (0)